diff --git a/CLAUDE.md b/CLAUDE.md index 67398b5a..05ed9278 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -33,8 +33,8 @@ Key design goals: This is a Cargo workspace with several crates: - jacquard: Main library crate (public API surface) with HTTP/XRPC client(s) -- jacquard-common: Core AT Protocol types (DIDs, handles, at-URIs, NSIDs, TIDs, CIDs, etc.) and the `CowStr` type -- jacquard-lexicon: Lexicon parsing and Rust code generation from lexicon schemas +- jacquard-common: Core AT Protocol types (DIDs, handles, at-URIs, NSIDs, TIDs, CIDs, etc.), the `CowStr` type, and shared scope primitive enums +- jacquard-lexicon: Lexicon parsing, Rust code generation from lexicon schemas, and permission set types - jacquard-api: Generated API bindings from 646 lexicon schemas (ATProto, Bluesky, community lexicons) - jacquard-derive: Attribute macros (`#[lexicon]`, `#[open_union]`) and derive macros (`#[derive(IntoStatic)]`, `#[derive(XrpcRequest)]`) for lexicon structures - jacquard-oauth: OAuth/DPoP flow implementation with session management @@ -166,6 +166,12 @@ Collection types: - `Collection` trait: Marker trait for record types with `NSID` constant and `Record` associated type - `RecordError`: Generic error type for record retrieval operations (RecordNotFound, Unknown) +Scope primitives (`scope_primitives` module): +- `AccountResource`: Email, Repo, Status -- shared by OAuth scopes and permission set lexicons +- `AccountAction`: Read, Manage -- account-level permission actions +- `RepoAction`: Create, Update, Delete -- repository-level permission actions +- These enums live in jacquard-common (not jacquard-oauth) because they are used by both the OAuth scope system and lexicon permission set types + ## XRPC type design pattern XRPC traits use GATs parameterised on `S: BosStr`: @@ -202,6 +208,26 @@ Test WASM compilation: just check-wasm ``` +## OAuth scopes (jacquard-oauth) + +Scope types (`Scope` enum variants): +- `Account`, `Identity`, `Repo`, `Rpc`, `Blob`: resource-specific scopes +- `Transition(TransitionScope)`: migration scopes (Generic, Email, ChatBsky) +- `Include(IncludeScope)`: references a permission set NSID with optional `?aud=` audience +- `Atproto`, `OpenId`, `Profile`, `Email`: unit scopes (no string data) + +Container: +- `Scopes`: validated buffer+indices container for space-separated scope strings, replacing `Vec>` +- Stores a single string buffer with pre-computed byte-range indices (`u16`) +- Yields `Scope<&str>` views via `iter()` -- zero-copy reconstruction from shared buffer +- `Scopes::new(buffer)` parses and validates; `Scopes::empty()` for empty set + +Permission set resolution (feature: `scope-check`): +- `LexPermissionSet` / `LexPermission` / `LexPermissionResource`: lexicon types in jacquard-lexicon for permission set definitions +- `expand_permission_set()`: converts a `LexPermissionSet` into `Vec>` +- `resolve_permission_set()`: fetches a lexicon schema by NSID, validates namespace constraints, and expands to concrete scopes +- Requires both `OAuthResolver` and `LexiconSchemaResolver` traits + ## Client Architecture ### XRPC Request/Response Layer diff --git a/crates/jacquard-api/src/actor_rpg.rs b/crates/jacquard-api/src/actor_rpg.rs index 975606b3..20576740 100644 --- a/crates/jacquard-api/src/actor_rpg.rs +++ b/crates/jacquard-api/src/actor_rpg.rs @@ -5,4 +5,4 @@ pub mod master; pub mod sprite; -pub mod stats; \ No newline at end of file +pub mod stats; diff --git a/crates/jacquard-api/src/actor_rpg/master.rs b/crates/jacquard-api/src/actor_rpg/master.rs index cfa96dfc..3c2e616b 100644 --- a/crates/jacquard-api/src/actor_rpg/master.rs +++ b/crates/jacquard-api/src/actor_rpg/master.rs @@ -10,13 +10,13 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::collection::{Collection, RecordError}; -use jacquard_common::types::string::{Did, AtUri, Cid, Datetime}; +use jacquard_common::types::string::{AtUri, Cid, Datetime, Did}; use jacquard_common::types::uri::{RecordUri, UriError}; use jacquard_common::types::value::Data; use jacquard_common::xrpc::XrpcResp; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// A master record validating one player's stats for one system. Multiple GMs can validate the same player. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -225,7 +225,7 @@ impl LexiconSchema for Master { pub mod master_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -368,18 +368,12 @@ where impl MasterBuilder { /// Set the `snapshotScope` field (optional) - pub fn snapshot_scope( - mut self, - value: impl Into>>, - ) -> Self { + pub fn snapshot_scope(mut self, value: impl Into>>) -> Self { self._fields.3 = value.into(); self } /// Set the `snapshotScope` field to an Option value (optional) - pub fn maybe_snapshot_scope( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_snapshot_scope(mut self, value: Option>) -> Self { self._fields.3 = value; self } @@ -417,10 +411,7 @@ where St::System: master_state::IsUnset, { /// Set the `system` field (required) - pub fn system( - mut self, - value: impl Into, - ) -> MasterBuilder> { + pub fn system(mut self, value: impl Into) -> MasterBuilder> { self._fields.6 = Option::Some(value.into()); MasterBuilder { _state: PhantomData, @@ -481,10 +472,10 @@ where } fn lexicon_doc_actor_rpg_master() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("actor.rpg.master"), @@ -599,4 +590,4 @@ fn lexicon_doc_actor_rpg_master() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/actor_rpg/sprite.rs b/crates/jacquard-api/src/actor_rpg/sprite.rs index 9fe5693f..d35c3c8b 100644 --- a/crates/jacquard-api/src/actor_rpg/sprite.rs +++ b/crates/jacquard-api/src/actor_rpg/sprite.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -27,7 +27,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// A user's RPG character sprite. One record per user (rkey: self). #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -387,19 +387,16 @@ impl LexiconSchema for Sprite { { let mime = value.blob().mime_type.as_str(); let accepted: &[&str] = &["image/png"]; - let matched = accepted - .iter() - .any(|pattern| { - if *pattern == "*/*" { - true - } else if pattern.ends_with("/*") { - let prefix = &pattern[..pattern.len() - 2]; - mime.starts_with(prefix) - && mime.as_bytes().get(prefix.len()) == Some(&b'/') - } else { - mime == *pattern - } - }); + let matched = accepted.iter().any(|pattern| { + if *pattern == "*/*" { + true + } else if pattern.ends_with("/*") { + let prefix = &pattern[..pattern.len() - 2]; + mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/') + } else { + mime == *pattern + } + }); if !matched { return Err(ConstraintError::BlobMimeTypeNotAccepted { path: ValidationPath::from_field("sprite_sheet"), @@ -437,7 +434,7 @@ fn _default_sprite_animation_speed() -> Option { pub mod sprite_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -527,19 +524,7 @@ impl SpriteBuilder { SpriteBuilder { _state: PhantomData, _fields: ( - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, + None, None, None, None, None, None, None, None, None, None, None, None, None, ), _type: PhantomData, } @@ -781,10 +766,10 @@ where } fn lexicon_doc_actor_rpg_sprite() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("actor.rpg.sprite"), @@ -933,4 +918,4 @@ fn lexicon_doc_actor_rpg_sprite() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/actor_rpg/stats.rs b/crates/jacquard-api/src/actor_rpg/stats.rs index 65f8801d..5dad9bcb 100644 --- a/crates/jacquard-api/src/actor_rpg/stats.rs +++ b/crates/jacquard-api/src/actor_rpg/stats.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,14 +24,17 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::actor_rpg::stats; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::actor_rpg::stats; +use serde::{Deserialize, Serialize}; /// The six ability scores (1-30 per SRD) #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Abilities { ///Charisma #[serde(skip_serializing_if = "Option::is_none")] @@ -58,7 +61,10 @@ pub struct Abilities { /// An attack action #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Attack { ///Attack bonus (e.g., +5) #[serde(skip_serializing_if = "Option::is_none")] @@ -81,7 +87,10 @@ pub struct Attack { /// Currency #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Coinage { ///Copper pieces #[serde(skip_serializing_if = "Option::is_none")] @@ -105,7 +114,10 @@ pub struct Coinage { /// Combat and defensive stats #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Combat { ///Armor Class #[serde(skip_serializing_if = "Option::is_none")] @@ -129,7 +141,10 @@ pub struct Combat { /// Status conditions and effects #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Conditions { ///Death saving throw progress #[serde(skip_serializing_if = "Option::is_none")] @@ -147,7 +162,10 @@ pub struct Conditions { /// A custom stat #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct CustomStat { ///Category (optional) #[serde(skip_serializing_if = "Option::is_none")] @@ -169,7 +187,10 @@ pub struct CustomStat { /// User-defined custom stat system #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct CustomStats { ///Custom stat entries #[serde(skip_serializing_if = "Option::is_none")] @@ -187,7 +208,10 @@ pub struct CustomStats { /// DCC ability scores (3-18 standard, can be modified by corruption/spellburn) #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DccAbilities { ///Agility #[serde(skip_serializing_if = "Option::is_none")] @@ -223,7 +247,10 @@ pub struct DccAbilities { /// A weapon attack (includes deed die for warriors) #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DccAttack { ///Attack modifier (e.g., +2, d16+2 for deed die) #[serde(skip_serializing_if = "Option::is_none")] @@ -252,7 +279,10 @@ pub struct DccAttack { /// Cleric spellcasting features #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DccCleric { ///Deity or supernatural patron #[serde(skip_serializing_if = "Option::is_none")] @@ -291,7 +321,10 @@ pub struct DccCleric { /// A cleric spell #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DccClericSpell { ///Spell level pub level: i64, @@ -310,7 +343,10 @@ pub struct DccClericSpell { /// DCC uses cp, sp, gp (10cp = 1sp, 10sp = 1gp) #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DccCoinage { ///Copper pieces #[serde(skip_serializing_if = "Option::is_none")] @@ -328,7 +364,10 @@ pub struct DccCoinage { /// Combat statistics #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DccCombat { ///Armor Class (10 + armor + AGI mod + shield) #[serde(skip_serializing_if = "Option::is_none")] @@ -361,7 +400,10 @@ pub struct DccCombat { /// A corruption effect from failed spell checks #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DccCorruption { ///Description of the corruption #[serde(skip_serializing_if = "Option::is_none")] @@ -382,7 +424,10 @@ pub struct DccCorruption { /// Equipment and inventory #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DccEquipment { ///Armor worn (affects fumble die) #[serde(skip_serializing_if = "Option::is_none")] @@ -412,7 +457,10 @@ pub struct DccEquipment { /// Halfling class features #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DccHalfling { ///Can spend luck to aid nearby allies #[serde(skip_serializing_if = "Option::is_none")] @@ -439,7 +487,10 @@ pub struct DccHalfling { /// Hit points (0-level characters use 1d4 + STA mod) #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DccHp { ///Current HP #[serde(skip_serializing_if = "Option::is_none")] @@ -454,7 +505,10 @@ pub struct DccHp { /// DCC character identity and progression #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DccIdentity { ///Alignment (Lawful, Neutral, Chaotic) #[serde(skip_serializing_if = "Option::is_none")] @@ -481,7 +535,10 @@ pub struct DccIdentity { /// Birth augur and luck mechanics #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DccLuck { ///Birth augur name (e.g., Harsh Winter, The Bull, Fortunate Date) #[serde(skip_serializing_if = "Option::is_none")] @@ -502,7 +559,10 @@ pub struct DccLuck { /// DCC saving throws (3 saves, not 6) #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DccSaves { ///Fortitude save modifier #[serde(skip_serializing_if = "Option::is_none")] @@ -520,7 +580,10 @@ pub struct DccSaves { /// Current spellburn (temporary ability score sacrifice) #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DccSpellburn { ///Agility points currently burned #[serde(skip_serializing_if = "Option::is_none")] @@ -541,7 +604,10 @@ pub struct DccSpellburn { /// Dungeon Crawl Classics RPG character sheet. Supports 0-level funnel characters through 10th level. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DccStats { ///The six ability scores (STR, AGI, STA, INT, PER, LUK) #[serde(skip_serializing_if = "Option::is_none")] @@ -601,7 +667,10 @@ pub struct DccStats { /// Thief class features and skills #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DccThief { ///Alignment (affects some skill targets) #[serde(skip_serializing_if = "Option::is_none")] @@ -622,7 +691,10 @@ pub struct DccThief { /// Thief skill bonuses (roll d20 + skill vs target) #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DccThiefSkills { ///Backstab attack bonus #[serde(skip_serializing_if = "Option::is_none")] @@ -670,7 +742,10 @@ pub struct DccThiefSkills { /// Warrior and Dwarf class features #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DccWarrior { ///Current deed die (d3, d4, d5, d6, d7, d8, d10+d3, etc.) #[serde(skip_serializing_if = "Option::is_none")] @@ -700,7 +775,10 @@ pub struct DccWarrior { /// Wizard and Elf spellcasting features #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DccWizard { ///Corruption effects suffered (structured) #[serde(skip_serializing_if = "Option::is_none")] @@ -733,7 +811,10 @@ pub struct DccWizard { /// A wizard spell with mercurial magic effect #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DccWizardSpell { ///Spell level pub level: i64, @@ -758,7 +839,10 @@ pub struct DccWizardSpell { /// Death saving throw successes and failures #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DeathSaves { ///Failures (0-3) #[serde(skip_serializing_if = "Option::is_none")] @@ -773,7 +857,10 @@ pub struct DeathSaves { /// D&D 5e character sheet. All sub-objects are optional. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DndStats { ///The six ability scores (STR, DEX, CON, INT, WIS, CHA) #[serde(skip_serializing_if = "Option::is_none")] @@ -830,7 +917,10 @@ pub struct DndStats { /// Gear and inventory #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Equipment { ///Armor #[serde(skip_serializing_if = "Option::is_none")] @@ -851,7 +941,10 @@ pub struct Equipment { /// Hit point tracking #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Hp { ///Current HP #[serde(skip_serializing_if = "Option::is_none")] @@ -869,7 +962,10 @@ pub struct Hp { /// Character identity and progression #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Identity { ///Alignment (e.g., Lawful Good) #[serde(skip_serializing_if = "Option::is_none")] @@ -944,7 +1040,10 @@ pub struct StatsGetRecordOutput { /// Passive scores (10 + skill modifier) #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Passives { ///Passive Insight #[serde(skip_serializing_if = "Option::is_none")] @@ -962,7 +1061,10 @@ pub struct Passives { /// Personality and backstory #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Personality { ///Backstory #[serde(skip_serializing_if = "Option::is_none")] @@ -986,7 +1088,10 @@ pub struct Personality { /// Reverie House philosophical alignment #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ReverieStats { ///Authority (0-100) #[serde(skip_serializing_if = "Option::is_none")] @@ -1131,7 +1236,10 @@ where /// RPG Maker MZ character parameters #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct RmmzStats { ///Agility #[serde(skip_serializing_if = "Option::is_none")] @@ -1194,7 +1302,10 @@ pub struct RmmzStats { /// Saving throw modifiers (actual values, not proficiency flags) #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Saves { ///Charisma save modifier #[serde(skip_serializing_if = "Option::is_none")] @@ -1221,7 +1332,10 @@ pub struct Saves { /// Skill modifiers (actual values, not proficiency flags) #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Skills { ///Acrobatics (DEX) #[serde(skip_serializing_if = "Option::is_none")] @@ -1284,7 +1398,10 @@ pub struct Skills { /// Spells organized by level #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct SpellList { ///Cantrips (at-will) #[serde(skip_serializing_if = "Option::is_none")] @@ -1323,7 +1440,10 @@ pub struct SpellList { /// Spellcasting details #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Spellcasting { ///Spellcasting ability (INT, WIS, CHA) #[serde(skip_serializing_if = "Option::is_none")] @@ -1347,7 +1467,10 @@ pub struct Spellcasting { /// Spell slot entry #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Spellslot { ///Spell level pub level: i64, @@ -4045,10 +4168,10 @@ impl LexiconSchema for Spellslot { } fn lexicon_doc_actor_rpg_stats() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("actor.rpg.stats"), @@ -4057,9 +4180,7 @@ fn lexicon_doc_actor_rpg_stats() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("abilities"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("The six ability scores (1-30 per SRD)"), - ), + description: Some(CowStr::new_static("The six ability scores (1-30 per SRD)")), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -4127,9 +4248,7 @@ fn lexicon_doc_actor_rpg_stats() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("bonus"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Attack bonus (e.g., +5)"), - ), + description: Some(CowStr::new_static("Attack bonus (e.g., +5)")), max_length: Some(20usize), ..Default::default() }), @@ -4137,9 +4256,7 @@ fn lexicon_doc_actor_rpg_stats() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("damage"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Damage dice (e.g., 1d8)"), - ), + description: Some(CowStr::new_static("Damage dice (e.g., 1d8)")), max_length: Some(20usize), ..Default::default() }), @@ -4235,9 +4352,7 @@ fn lexicon_doc_actor_rpg_stats() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("hitDice"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Hit dice (e.g., 5d10)"), - ), + description: Some(CowStr::new_static("Hit dice (e.g., 5d10)")), max_length: Some(20usize), ..Default::default() }), @@ -4270,9 +4385,7 @@ fn lexicon_doc_actor_rpg_stats() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("conditions"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("Status conditions and effects"), - ), + description: Some(CowStr::new_static("Status conditions and effects")), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -4306,18 +4419,17 @@ fn lexicon_doc_actor_rpg_stats() -> LexiconDoc<'static> { SmolStr::new_static("customStat"), LexUserType::Object(LexObject { description: Some(CowStr::new_static("A custom stat")), - required: Some( - vec![SmolStr::new_static("name"), SmolStr::new_static("value")], - ), + required: Some(vec![ + SmolStr::new_static("name"), + SmolStr::new_static("value"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("category"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Category (optional)"), - ), + description: Some(CowStr::new_static("Category (optional)")), max_length: Some(50usize), ..Default::default() }), @@ -4356,18 +4468,14 @@ fn lexicon_doc_actor_rpg_stats() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("customStats"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("User-defined custom stat system"), - ), + description: Some(CowStr::new_static("User-defined custom stat system")), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("stats"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static("Custom stat entries"), - ), + description: Some(CowStr::new_static("Custom stat entries")), items: LexArrayItem::Ref(LexRef { r#ref: CowStr::new_static("#customStat"), ..Default::default() @@ -4487,11 +4595,9 @@ fn lexicon_doc_actor_rpg_stats() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("dccAttack"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "A weapon attack (includes deed die for warriors)", - ), - ), + description: Some(CowStr::new_static( + "A weapon attack (includes deed die for warriors)", + )), required: Some(vec![SmolStr::new_static("name")]), properties: { #[allow(unused_mut)] @@ -4499,11 +4605,9 @@ fn lexicon_doc_actor_rpg_stats() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("attackMod"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Attack modifier (e.g., +2, d16+2 for deed die)", - ), - ), + description: Some(CowStr::new_static( + "Attack modifier (e.g., +2, d16+2 for deed die)", + )), max_length: Some(30usize), ..Default::default() }), @@ -4511,9 +4615,9 @@ fn lexicon_doc_actor_rpg_stats() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("damage"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Damage dice (e.g., 1d8+2, 1d6+d3)"), - ), + description: Some(CowStr::new_static( + "Damage dice (e.g., 1d8+2, 1d6+d3)", + )), max_length: Some(30usize), ..Default::default() }), @@ -4521,11 +4625,9 @@ fn lexicon_doc_actor_rpg_stats() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("damageBonus"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Damage bonus (e.g., +2, +d3 for deed die)", - ), - ), + description: Some(CowStr::new_static( + "Damage bonus (e.g., +2, +d3 for deed die)", + )), max_length: Some(30usize), ..Default::default() }), @@ -4541,11 +4643,9 @@ fn lexicon_doc_actor_rpg_stats() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("notes"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Special properties (backstab, trained weapon, etc.)", - ), - ), + description: Some(CowStr::new_static( + "Special properties (backstab, trained weapon, etc.)", + )), max_length: Some(200usize), ..Default::default() }), @@ -4553,9 +4653,7 @@ fn lexicon_doc_actor_rpg_stats() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("range"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Range (melee or distance)"), - ), + description: Some(CowStr::new_static("Range (melee or distance)")), max_length: Some(30usize), ..Default::default() }), @@ -4563,9 +4661,9 @@ fn lexicon_doc_actor_rpg_stats() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("type"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Attack type (melee, ranged, etc.)"), - ), + description: Some(CowStr::new_static( + "Attack type (melee, ranged, etc.)", + )), max_length: Some(20usize), ..Default::default() }), @@ -4578,18 +4676,16 @@ fn lexicon_doc_actor_rpg_stats() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("dccCleric"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("Cleric spellcasting features"), - ), + description: Some(CowStr::new_static("Cleric spellcasting features")), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("deity"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Deity or supernatural patron"), - ), + description: Some(CowStr::new_static( + "Deity or supernatural patron", + )), max_length: Some(100usize), ..Default::default() }), @@ -4605,11 +4701,9 @@ fn lexicon_doc_actor_rpg_stats() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("disapprovalTable"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Deity-specific disapproval table if any", - ), - ), + description: Some(CowStr::new_static( + "Deity-specific disapproval table if any", + )), max_length: Some(100usize), ..Default::default() }), @@ -4617,9 +4711,7 @@ fn lexicon_doc_actor_rpg_stats() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("holySymbol"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Holy symbol description"), - ), + description: Some(CowStr::new_static("Holy symbol description")), max_length: Some(100usize), ..Default::default() }), @@ -4627,9 +4719,7 @@ fn lexicon_doc_actor_rpg_stats() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("knownSpells"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static("Known cleric spells"), - ), + description: Some(CowStr::new_static("Known cleric spells")), items: LexArrayItem::Ref(LexRef { r#ref: CowStr::new_static("#dccClericSpell"), ..Default::default() @@ -4641,9 +4731,9 @@ fn lexicon_doc_actor_rpg_stats() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("layOnHandsDie"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Lay on hands die (e.g., d14, d16)"), - ), + description: Some(CowStr::new_static( + "Lay on hands die (e.g., d14, d16)", + )), max_length: Some(10usize), ..Default::default() }), @@ -4665,9 +4755,9 @@ fn lexicon_doc_actor_rpg_stats() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("turnUnholyDie"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Turn unholy die (e.g., d14, d16)"), - ), + description: Some(CowStr::new_static( + "Turn unholy die (e.g., d14, d16)", + )), max_length: Some(10usize), ..Default::default() }), @@ -4687,9 +4777,10 @@ fn lexicon_doc_actor_rpg_stats() -> LexiconDoc<'static> { SmolStr::new_static("dccClericSpell"), LexUserType::Object(LexObject { description: Some(CowStr::new_static("A cleric spell")), - required: Some( - vec![SmolStr::new_static("name"), SmolStr::new_static("level")], - ), + required: Some(vec![ + SmolStr::new_static("name"), + SmolStr::new_static("level"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -4712,9 +4803,7 @@ fn lexicon_doc_actor_rpg_stats() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("notes"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Additional spell notes"), - ), + description: Some(CowStr::new_static("Additional spell notes")), max_length: Some(500usize), ..Default::default() }), @@ -4733,11 +4822,9 @@ fn lexicon_doc_actor_rpg_stats() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("dccCoinage"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "DCC uses cp, sp, gp (10cp = 1sp, 10sp = 1gp)", - ), - ), + description: Some(CowStr::new_static( + "DCC uses cp, sp, gp (10cp = 1sp, 10sp = 1gp)", + )), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -4784,11 +4871,9 @@ fn lexicon_doc_actor_rpg_stats() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("actionDie"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Primary action die (e.g., d20, d20+d14)", - ), - ), + description: Some(CowStr::new_static( + "Primary action die (e.g., d20, d20+d14)", + )), max_length: Some(20usize), ..Default::default() }), @@ -4802,9 +4887,9 @@ fn lexicon_doc_actor_rpg_stats() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("critDie"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Critical hit die (e.g., d8, d12, d14)"), - ), + description: Some(CowStr::new_static( + "Critical hit die (e.g., d8, d12, d14)", + )), max_length: Some(10usize), ..Default::default() }), @@ -4812,9 +4897,9 @@ fn lexicon_doc_actor_rpg_stats() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("critTable"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Critical hit table (I, II, III, IV, V)"), - ), + description: Some(CowStr::new_static( + "Critical hit table (I, II, III, IV, V)", + )), max_length: Some(20usize), ..Default::default() }), @@ -4822,11 +4907,9 @@ fn lexicon_doc_actor_rpg_stats() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("fumbleDie"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Fumble die (typically d4 for 0-level, varies by armor)", - ), - ), + description: Some(CowStr::new_static( + "Fumble die (typically d4 for 0-level, varies by armor)", + )), max_length: Some(10usize), ..Default::default() }), @@ -4852,20 +4935,18 @@ fn lexicon_doc_actor_rpg_stats() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("dccCorruption"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "A corruption effect from failed spell checks", - ), - ), + description: Some(CowStr::new_static( + "A corruption effect from failed spell checks", + )), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("effect"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Description of the corruption"), - ), + description: Some(CowStr::new_static( + "Description of the corruption", + )), max_length: Some(500usize), ..Default::default() }), @@ -4879,9 +4960,9 @@ fn lexicon_doc_actor_rpg_stats() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("source"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("What spell caused this corruption"), - ), + description: Some(CowStr::new_static( + "What spell caused this corruption", + )), max_length: Some(100usize), ..Default::default() }), @@ -4889,11 +4970,9 @@ fn lexicon_doc_actor_rpg_stats() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("type"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Corruption severity (minor, major, greater)", - ), - ), + description: Some(CowStr::new_static( + "Corruption severity (minor, major, greater)", + )), max_length: Some(20usize), ..Default::default() }), @@ -4913,9 +4992,9 @@ fn lexicon_doc_actor_rpg_stats() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("armor"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Armor worn (affects fumble die)"), - ), + description: Some(CowStr::new_static( + "Armor worn (affects fumble die)", + )), max_length: Some(200usize), ..Default::default() }), @@ -4946,9 +5025,9 @@ fn lexicon_doc_actor_rpg_stats() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("tradeGoods"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Trade goods from occupation"), - ), + description: Some(CowStr::new_static( + "Trade goods from occupation", + )), max_length: Some(500usize), ..Default::default() }), @@ -4956,9 +5035,7 @@ fn lexicon_doc_actor_rpg_stats() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("treasure"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Valuables and treasure"), - ), + description: Some(CowStr::new_static("Valuables and treasure")), max_length: Some(1000usize), ..Default::default() }), @@ -5006,9 +5083,9 @@ fn lexicon_doc_actor_rpg_stats() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("luckyWeapon"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Weapon type luck modifier applies to"), - ), + description: Some(CowStr::new_static( + "Weapon type luck modifier applies to", + )), max_length: Some(100usize), ..Default::default() }), @@ -5033,11 +5110,9 @@ fn lexicon_doc_actor_rpg_stats() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("dccHp"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "Hit points (0-level characters use 1d4 + STA mod)", - ), - ), + description: Some(CowStr::new_static( + "Hit points (0-level characters use 1d4 + STA mod)", + )), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -5063,18 +5138,16 @@ fn lexicon_doc_actor_rpg_stats() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("dccIdentity"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("DCC character identity and progression"), - ), + description: Some(CowStr::new_static("DCC character identity and progression")), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("alignment"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Alignment (Lawful, Neutral, Chaotic)"), - ), + description: Some(CowStr::new_static( + "Alignment (Lawful, Neutral, Chaotic)", + )), max_length: Some(20usize), ..Default::default() }), @@ -5082,11 +5155,9 @@ fn lexicon_doc_actor_rpg_stats() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("class"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Class (Warrior, Wizard, Cleric, Thief, Elf, Dwarf, Halfling)", - ), - ), + description: Some(CowStr::new_static( + "Class (Warrior, Wizard, Cleric, Thief, Elf, Dwarf, Halfling)", + )), max_length: Some(100usize), ..Default::default() }), @@ -5102,11 +5173,9 @@ fn lexicon_doc_actor_rpg_stats() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("occupation"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "0-level occupation (e.g., Blacksmith, Farmer)", - ), - ), + description: Some(CowStr::new_static( + "0-level occupation (e.g., Blacksmith, Farmer)", + )), max_length: Some(100usize), ..Default::default() }), @@ -5114,11 +5183,9 @@ fn lexicon_doc_actor_rpg_stats() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("title"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Level title (e.g., Squire, Cutpurse, Acolyte)", - ), - ), + description: Some(CowStr::new_static( + "Level title (e.g., Squire, Cutpurse, Acolyte)", + )), max_length: Some(100usize), ..Default::default() }), @@ -5194,9 +5261,7 @@ fn lexicon_doc_actor_rpg_stats() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("dccSaves"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("DCC saving throws (3 saves, not 6)"), - ), + description: Some(CowStr::new_static("DCC saving throws (3 saves, not 6)")), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -5226,11 +5291,9 @@ fn lexicon_doc_actor_rpg_stats() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("dccSpellburn"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "Current spellburn (temporary ability score sacrifice)", - ), - ), + description: Some(CowStr::new_static( + "Current spellburn (temporary ability score sacrifice)", + )), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -5421,18 +5484,16 @@ fn lexicon_doc_actor_rpg_stats() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("dccThief"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("Thief class features and skills"), - ), + description: Some(CowStr::new_static("Thief class features and skills")), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("alignment"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Alignment (affects some skill targets)"), - ), + description: Some(CowStr::new_static( + "Alignment (affects some skill targets)", + )), max_length: Some(20usize), ..Default::default() }), @@ -5447,11 +5508,9 @@ fn lexicon_doc_actor_rpg_stats() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("luckyWeapon"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Weapon type that luck applies to (one type only)", - ), - ), + description: Some(CowStr::new_static( + "Weapon type that luck applies to (one type only)", + )), max_length: Some(100usize), ..Default::default() }), @@ -5471,11 +5530,9 @@ fn lexicon_doc_actor_rpg_stats() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("dccThiefSkills"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "Thief skill bonuses (roll d20 + skill vs target)", - ), - ), + description: Some(CowStr::new_static( + "Thief skill bonuses (roll d20 + skill vs target)", + )), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -5565,20 +5622,16 @@ fn lexicon_doc_actor_rpg_stats() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("dccWarrior"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("Warrior and Dwarf class features"), - ), + description: Some(CowStr::new_static("Warrior and Dwarf class features")), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("deedDie"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Current deed die (d3, d4, d5, d6, d7, d8, d10+d3, etc.)", - ), - ), + description: Some(CowStr::new_static( + "Current deed die (d3, d4, d5, d6, d7, d8, d10+d3, etc.)", + )), max_length: Some(10usize), ..Default::default() }), @@ -5593,9 +5646,9 @@ fn lexicon_doc_actor_rpg_stats() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("luckyWeapon"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Weapon type luck modifier applies to"), - ), + description: Some(CowStr::new_static( + "Weapon type luck modifier applies to", + )), max_length: Some(100usize), ..Default::default() }), @@ -5603,9 +5656,9 @@ fn lexicon_doc_actor_rpg_stats() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("mightyDeeds"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static("Signature mighty deeds of arms"), - ), + description: Some(CowStr::new_static( + "Signature mighty deeds of arms", + )), items: LexArrayItem::String(LexString { max_length: Some(200usize), ..Default::default() @@ -5641,20 +5694,16 @@ fn lexicon_doc_actor_rpg_stats() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("dccWizard"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("Wizard and Elf spellcasting features"), - ), + description: Some(CowStr::new_static("Wizard and Elf spellcasting features")), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("corruption"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static( - "Corruption effects suffered (structured)", - ), - ), + description: Some(CowStr::new_static( + "Corruption effects suffered (structured)", + )), items: LexArrayItem::Ref(LexRef { r#ref: CowStr::new_static("#dccCorruption"), ..Default::default() @@ -5666,9 +5715,9 @@ fn lexicon_doc_actor_rpg_stats() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("corruptionText"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Corruption effects as free-form text"), - ), + description: Some(CowStr::new_static( + "Corruption effects as free-form text", + )), max_length: Some(2000usize), ..Default::default() }), @@ -5676,11 +5725,9 @@ fn lexicon_doc_actor_rpg_stats() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("knownSpells"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static( - "Known spells with mercurial magic effects", - ), - ), + description: Some(CowStr::new_static( + "Known spells with mercurial magic effects", + )), items: LexArrayItem::Ref(LexRef { r#ref: CowStr::new_static("#dccWizardSpell"), ..Default::default() @@ -5700,9 +5747,9 @@ fn lexicon_doc_actor_rpg_stats() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("patron"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Supernatural patron (if any)"), - ), + description: Some(CowStr::new_static( + "Supernatural patron (if any)", + )), max_length: Some(100usize), ..Default::default() }), @@ -5710,9 +5757,9 @@ fn lexicon_doc_actor_rpg_stats() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("patronBond"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Patron bond description and effects"), - ), + description: Some(CowStr::new_static( + "Patron bond description and effects", + )), max_length: Some(500usize), ..Default::default() }), @@ -5738,12 +5785,13 @@ fn lexicon_doc_actor_rpg_stats() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("dccWizardSpell"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("A wizard spell with mercurial magic effect"), - ), - required: Some( - vec![SmolStr::new_static("name"), SmolStr::new_static("level")], - ), + description: Some(CowStr::new_static( + "A wizard spell with mercurial magic effect", + )), + required: Some(vec![ + SmolStr::new_static("name"), + SmolStr::new_static("level"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -5764,11 +5812,9 @@ fn lexicon_doc_actor_rpg_stats() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("mercurialMagic"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Unique mercurial magic effect (d100 roll result)", - ), - ), + description: Some(CowStr::new_static( + "Unique mercurial magic effect (d100 roll result)", + )), max_length: Some(500usize), ..Default::default() }), @@ -5792,9 +5838,7 @@ fn lexicon_doc_actor_rpg_stats() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("notes"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Additional spell notes"), - ), + description: Some(CowStr::new_static("Additional spell notes")), max_length: Some(500usize), ..Default::default() }), @@ -5807,9 +5851,9 @@ fn lexicon_doc_actor_rpg_stats() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("deathSaves"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("Death saving throw successes and failures"), - ), + description: Some(CowStr::new_static( + "Death saving throw successes and failures", + )), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -5837,11 +5881,9 @@ fn lexicon_doc_actor_rpg_stats() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("dndStats"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "D&D 5e character sheet. All sub-objects are optional.", - ), - ), + description: Some(CowStr::new_static( + "D&D 5e character sheet. All sub-objects are optional.", + )), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -5895,11 +5937,9 @@ fn lexicon_doc_actor_rpg_stats() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("features"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Class features, racial traits, and feats", - ), - ), + description: Some(CowStr::new_static( + "Class features, racial traits, and feats", + )), max_length: Some(5000usize), ..Default::default() }), @@ -5943,9 +5983,9 @@ fn lexicon_doc_actor_rpg_stats() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("proficiencies"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Armor, weapon, and tool proficiencies"), - ), + description: Some(CowStr::new_static( + "Armor, weapon, and tool proficiencies", + )), max_length: Some(1000usize), ..Default::default() }), @@ -6002,9 +6042,7 @@ fn lexicon_doc_actor_rpg_stats() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("treasure"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Valuables and treasure"), - ), + description: Some(CowStr::new_static("Valuables and treasure")), max_length: Some(1000usize), ..Default::default() }), @@ -6058,18 +6096,16 @@ fn lexicon_doc_actor_rpg_stats() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("identity"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("Character identity and progression"), - ), + description: Some(CowStr::new_static("Character identity and progression")), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("alignment"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Alignment (e.g., Lawful Good)"), - ), + description: Some(CowStr::new_static( + "Alignment (e.g., Lawful Good)", + )), max_length: Some(50usize), ..Default::default() }), @@ -6077,9 +6113,9 @@ fn lexicon_doc_actor_rpg_stats() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("background"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Background (e.g., Soldier, Sage)"), - ), + description: Some(CowStr::new_static( + "Background (e.g., Soldier, Sage)", + )), max_length: Some(100usize), ..Default::default() }), @@ -6087,11 +6123,9 @@ fn lexicon_doc_actor_rpg_stats() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("class"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Class and subclass (e.g., Fighter (Champion))", - ), - ), + description: Some(CowStr::new_static( + "Class and subclass (e.g., Fighter (Champion))", + )), max_length: Some(100usize), ..Default::default() }), @@ -6113,9 +6147,9 @@ fn lexicon_doc_actor_rpg_stats() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("race"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Race (e.g., Human, Elf, Dwarf)"), - ), + description: Some(CowStr::new_static( + "Race (e.g., Human, Elf, Dwarf)", + )), max_length: Some(100usize), ..Default::default() }), @@ -6135,11 +6169,9 @@ fn lexicon_doc_actor_rpg_stats() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static( - "A user's RPG character statistics. One record per user (rkey: self).", - ), - ), + description: Some(CowStr::new_static( + "A user's RPG character statistics. One record per user (rkey: self).", + )), key: Some(CowStr::new_static("literal:self")), record: LexRecordRecord::Object(LexObject { required: Some(vec![SmolStr::new_static("createdAt")]), @@ -6149,9 +6181,9 @@ fn lexicon_doc_actor_rpg_stats() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("createdAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Timestamp when this record was created"), - ), + description: Some(CowStr::new_static( + "Timestamp when this record was created", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -6194,11 +6226,9 @@ fn lexicon_doc_actor_rpg_stats() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("updatedAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Timestamp when this record was last modified", - ), - ), + description: Some(CowStr::new_static( + "Timestamp when this record was last modified", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -6213,9 +6243,7 @@ fn lexicon_doc_actor_rpg_stats() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("passives"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("Passive scores (10 + skill modifier)"), - ), + description: Some(CowStr::new_static("Passive scores (10 + skill modifier)")), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -6297,9 +6325,7 @@ fn lexicon_doc_actor_rpg_stats() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("reverieStats"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("Reverie House philosophical alignment"), - ), + description: Some(CowStr::new_static("Reverie House philosophical alignment")), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -6338,9 +6364,7 @@ fn lexicon_doc_actor_rpg_stats() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("octant"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Philosophical octant"), - ), + description: Some(CowStr::new_static("Philosophical octant")), ..Default::default() }), ); @@ -6368,9 +6392,7 @@ fn lexicon_doc_actor_rpg_stats() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("rmmzStats"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("RPG Maker MZ character parameters"), - ), + description: Some(CowStr::new_static("RPG Maker MZ character parameters")), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -6512,11 +6534,9 @@ fn lexicon_doc_actor_rpg_stats() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("saves"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "Saving throw modifiers (actual values, not proficiency flags)", - ), - ), + description: Some(CowStr::new_static( + "Saving throw modifiers (actual values, not proficiency flags)", + )), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -6564,11 +6584,9 @@ fn lexicon_doc_actor_rpg_stats() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("skills"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "Skill modifiers (actual values, not proficiency flags)", - ), - ), + description: Some(CowStr::new_static( + "Skill modifiers (actual values, not proficiency flags)", + )), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -6827,9 +6845,9 @@ fn lexicon_doc_actor_rpg_stats() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("ability"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Spellcasting ability (INT, WIS, CHA)"), - ), + description: Some(CowStr::new_static( + "Spellcasting ability (INT, WIS, CHA)", + )), max_length: Some(3usize), ..Default::default() }), @@ -6850,9 +6868,7 @@ fn lexicon_doc_actor_rpg_stats() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("slots"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static("Spell slots by level"), - ), + description: Some(CowStr::new_static("Spell slots by level")), items: LexArrayItem::Ref(LexRef { r#ref: CowStr::new_static("#spellslot"), ..Default::default() @@ -6877,9 +6893,10 @@ fn lexicon_doc_actor_rpg_stats() -> LexiconDoc<'static> { SmolStr::new_static("spellslot"), LexUserType::Object(LexObject { description: Some(CowStr::new_static("Spell slot entry")), - required: Some( - vec![SmolStr::new_static("level"), SmolStr::new_static("total")], - ), + required: Some(vec![ + SmolStr::new_static("level"), + SmolStr::new_static("total"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -6918,7 +6935,7 @@ fn lexicon_doc_actor_rpg_stats() -> LexiconDoc<'static> { pub mod custom_stat_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -7080,10 +7097,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> CustomStat { + pub fn build_with_data(self, extra_data: BTreeMap>) -> CustomStat { CustomStat { category: self._fields.0, max: self._fields.1, @@ -7097,7 +7111,7 @@ where pub mod dcc_cleric_spell_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -7245,10 +7259,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> DccClericSpell { + pub fn build_with_data(self, extra_data: BTreeMap>) -> DccClericSpell { DccClericSpell { level: self._fields.0.unwrap(), name: self._fields.1.unwrap(), @@ -7261,7 +7272,7 @@ where pub mod dcc_wizard_spell_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -7306,7 +7317,14 @@ pub mod dcc_wizard_spell_state { /// Builder for constructing an instance of this type. pub struct DccWizardSpellBuilder { _state: PhantomData St>, - _fields: (Option, Option, Option, Option, Option, Option), + _fields: ( + Option, + Option, + Option, + Option, + Option, + Option, + ), _type: PhantomData S>, } @@ -7437,10 +7455,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> DccWizardSpell { + pub fn build_with_data(self, extra_data: BTreeMap>) -> DccWizardSpell { DccWizardSpell { level: self._fields.0.unwrap(), lost: self._fields.1, @@ -7455,7 +7470,7 @@ where pub mod stats_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -7650,7 +7665,7 @@ where pub mod spellslot_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -7784,10 +7799,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> Spellslot { + pub fn build_with_data(self, extra_data: BTreeMap>) -> Spellslot { Spellslot { level: self._fields.0.unwrap(), total: self._fields.1.unwrap(), @@ -7795,4 +7807,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/ai_syui.rs b/crates/jacquard-api/src/ai_syui.rs index 4e06f9f0..808ae288 100644 --- a/crates/jacquard-api/src/ai_syui.rs +++ b/crates/jacquard-api/src/ai_syui.rs @@ -4,4 +4,4 @@ // Any manual changes will be overwritten on the next regeneration. pub mod at; -pub mod log; \ No newline at end of file +pub mod log; diff --git a/crates/jacquard-api/src/ai_syui/at.rs b/crates/jacquard-api/src/ai_syui/at.rs index 9e49ee8d..a711309a 100644 --- a/crates/jacquard-api/src/ai_syui/at.rs +++ b/crates/jacquard-api/src/ai_syui/at.rs @@ -3,4 +3,4 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. -pub mod link; \ No newline at end of file +pub mod link; diff --git a/crates/jacquard-api/src/ai_syui/at/link.rs b/crates/jacquard-api/src/ai_syui/at/link.rs index 6e1a2b93..a1e8cd84 100644 --- a/crates/jacquard-api/src/ai_syui/at/link.rs +++ b/crates/jacquard-api/src/ai_syui/at/link.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,13 +24,16 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::ai_syui::at::link; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::ai_syui::at::link; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct LinkItem { ///Service identifier. pub service: LinkItemService, @@ -230,10 +233,10 @@ impl LexiconSchema for Link { } fn lexicon_doc_ai_syui_at_link() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("ai.syui.at.link"), @@ -242,30 +245,26 @@ fn lexicon_doc_ai_syui_at_link() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("linkItem"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("service"), - SmolStr::new_static("username") - ], - ), + required: Some(vec![ + SmolStr::new_static("service"), + SmolStr::new_static("username"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("service"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Service identifier."), - ), + description: Some(CowStr::new_static("Service identifier.")), ..Default::default() }), ); map.insert( SmolStr::new_static("username"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Username or ID on the service."), - ), + description: Some(CowStr::new_static( + "Username or ID on the service.", + )), max_length: Some(300usize), ..Default::default() }), @@ -346,7 +345,7 @@ fn lexicon_doc_ai_syui_at_link() -> LexiconDoc<'static> { pub mod link_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -391,7 +390,11 @@ pub mod link_state { /// Builder for constructing an instance of this type. pub struct LinkBuilder { _state: PhantomData St>, - _fields: (Option, Option>>, Option), + _fields: ( + Option, + Option>>, + Option, + ), _type: PhantomData S>, } @@ -488,4 +491,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/ai_syui/log.rs b/crates/jacquard-api/src/ai_syui/log.rs index 584017bc..c0a4fa5d 100644 --- a/crates/jacquard-api/src/ai_syui/log.rs +++ b/crates/jacquard-api/src/ai_syui/log.rs @@ -4,4 +4,4 @@ // Any manual changes will be overwritten on the next regeneration. pub mod chat; -pub mod post; \ No newline at end of file +pub mod post; diff --git a/crates/jacquard-api/src/ai_syui/log/chat.rs b/crates/jacquard-api/src/ai_syui/log/chat.rs index f6292198..83d02fcb 100644 --- a/crates/jacquard-api/src/ai_syui/log/chat.rs +++ b/crates/jacquard-api/src/ai_syui/log/chat.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -25,11 +25,11 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::ai_syui::log::chat; +use crate::com_atproto::repo::strong_ref::StrongRef; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::com_atproto::repo::strong_ref::StrongRef; -use crate::ai_syui::log::chat; +use serde::{Deserialize, Serialize}; /// Record containing a chat message. Compatible with site.standard.document. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -100,7 +100,10 @@ pub struct ChatGetRecordOutput { /// Markdown content format. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Markdown { ///Markdown text content. pub text: S, @@ -111,7 +114,10 @@ pub struct Markdown { /// A translation of a chat message. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Translation { #[serde(skip_serializing_if = "Option::is_none")] pub content: Option, @@ -124,7 +130,10 @@ pub struct Translation { /// Map of language codes to translations. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct TranslationMap { #[serde(skip_serializing_if = "Option::is_none")] pub en: Option>, @@ -194,19 +203,16 @@ impl LexiconSchema for Chat { { let mime = value.blob().mime_type.as_str(); let accepted: &[&str] = &["image/*"]; - let matched = accepted - .iter() - .any(|pattern| { - if *pattern == "*/*" { - true - } else if pattern.ends_with("/*") { - let prefix = &pattern[..pattern.len() - 2]; - mime.starts_with(prefix) - && mime.as_bytes().get(prefix.len()) == Some(&b'/') - } else { - mime == *pattern - } - }); + let matched = accepted.iter().any(|pattern| { + if *pattern == "*/*" { + true + } else if pattern.ends_with("/*") { + let prefix = &pattern[..pattern.len() - 2]; + mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/') + } else { + mime == *pattern + } + }); if !matched { return Err(ConstraintError::BlobMimeTypeNotAccepted { path: ValidationPath::from_field("cover_image"), @@ -391,7 +397,7 @@ impl LexiconSchema for TranslationMap { pub mod chat_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -483,20 +489,7 @@ impl ChatBuilder { ChatBuilder { _state: PhantomData, _fields: ( - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, ), _type: PhantomData, @@ -678,10 +671,7 @@ where St::Title: chat_state::IsUnset, { /// Set the `title` field (required) - pub fn title( - mut self, - value: impl Into, - ) -> ChatBuilder> { + pub fn title(mut self, value: impl Into) -> ChatBuilder> { self._fields.12 = Option::Some(value.into()); ChatBuilder { _state: PhantomData, @@ -693,10 +683,7 @@ where impl ChatBuilder { /// Set the `translations` field (optional) - pub fn translations( - mut self, - value: impl Into>>, - ) -> Self { + pub fn translations(mut self, value: impl Into>>) -> Self { self._fields.13 = value.into(); self } @@ -772,10 +759,10 @@ where } fn lexicon_doc_ai_syui_log_chat() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("ai.syui.log.chat"), @@ -983,9 +970,7 @@ fn lexicon_doc_ai_syui_log_chat() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("text"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Markdown text content."), - ), + description: Some(CowStr::new_static("Markdown text content.")), max_length: Some(1000000usize), max_graphemes: Some(100000usize), ..Default::default() @@ -999,9 +984,7 @@ fn lexicon_doc_ai_syui_log_chat() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("translation"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("A translation of a chat message."), - ), + description: Some(CowStr::new_static("A translation of a chat message.")), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -1029,9 +1012,7 @@ fn lexicon_doc_ai_syui_log_chat() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("translationMap"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("Map of language codes to translations."), - ), + description: Some(CowStr::new_static("Map of language codes to translations.")), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -1058,4 +1039,4 @@ fn lexicon_doc_ai_syui_log_chat() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/ai_syui/log/post.rs b/crates/jacquard-api/src/ai_syui/log/post.rs index 2a49bcca..ae57e95a 100644 --- a/crates/jacquard-api/src/ai_syui/log/post.rs +++ b/crates/jacquard-api/src/ai_syui/log/post.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -25,11 +25,11 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::ai_syui::log::post; +use crate::com_atproto::repo::strong_ref::StrongRef; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::com_atproto::repo::strong_ref::StrongRef; -use crate::ai_syui::log::post; +use serde::{Deserialize, Serialize}; /// Record containing a blog post. Compatible with site.standard.document. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -100,7 +100,10 @@ pub struct PostGetRecordOutput { /// Markdown content format. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Markdown { ///Markdown text content. pub text: S, @@ -111,7 +114,10 @@ pub struct Markdown { /// A translation of a post. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Translation { #[serde(skip_serializing_if = "Option::is_none")] pub content: Option, @@ -124,7 +130,10 @@ pub struct Translation { /// Map of language codes to translations. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct TranslationMap { #[serde(skip_serializing_if = "Option::is_none")] pub en: Option>, @@ -194,19 +203,16 @@ impl LexiconSchema for Post { { let mime = value.blob().mime_type.as_str(); let accepted: &[&str] = &["image/*"]; - let matched = accepted - .iter() - .any(|pattern| { - if *pattern == "*/*" { - true - } else if pattern.ends_with("/*") { - let prefix = &pattern[..pattern.len() - 2]; - mime.starts_with(prefix) - && mime.as_bytes().get(prefix.len()) == Some(&b'/') - } else { - mime == *pattern - } - }); + let matched = accepted.iter().any(|pattern| { + if *pattern == "*/*" { + true + } else if pattern.ends_with("/*") { + let prefix = &pattern[..pattern.len() - 2]; + mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/') + } else { + mime == *pattern + } + }); if !matched { return Err(ConstraintError::BlobMimeTypeNotAccepted { path: ValidationPath::from_field("cover_image"), @@ -391,7 +397,7 @@ impl LexiconSchema for TranslationMap { pub mod post_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -483,20 +489,7 @@ impl PostBuilder { PostBuilder { _state: PhantomData, _fields: ( - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, ), _type: PhantomData, @@ -678,10 +671,7 @@ where St::Title: post_state::IsUnset, { /// Set the `title` field (required) - pub fn title( - mut self, - value: impl Into, - ) -> PostBuilder> { + pub fn title(mut self, value: impl Into) -> PostBuilder> { self._fields.12 = Option::Some(value.into()); PostBuilder { _state: PhantomData, @@ -693,10 +683,7 @@ where impl PostBuilder { /// Set the `translations` field (optional) - pub fn translations( - mut self, - value: impl Into>>, - ) -> Self { + pub fn translations(mut self, value: impl Into>>) -> Self { self._fields.13 = value.into(); self } @@ -772,10 +759,10 @@ where } fn lexicon_doc_ai_syui_log_post() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("ai.syui.log.post"), @@ -979,9 +966,7 @@ fn lexicon_doc_ai_syui_log_post() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("text"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Markdown text content."), - ), + description: Some(CowStr::new_static("Markdown text content.")), max_length: Some(1000000usize), max_graphemes: Some(100000usize), ..Default::default() @@ -1023,9 +1008,7 @@ fn lexicon_doc_ai_syui_log_post() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("translationMap"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("Map of language codes to translations."), - ), + description: Some(CowStr::new_static("Map of language codes to translations.")), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -1052,4 +1035,4 @@ fn lexicon_doc_ai_syui_log_post() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_beaconbits.rs b/crates/jacquard-api/src/app_beaconbits.rs index 23d4b0e5..8cf006d4 100644 --- a/crates/jacquard-api/src/app_beaconbits.rs +++ b/crates/jacquard-api/src/app_beaconbits.rs @@ -9,4 +9,4 @@ pub mod favorite; pub mod favorites; pub mod profile; pub mod report; -pub mod venue; \ No newline at end of file +pub mod venue; diff --git a/crates/jacquard-api/src/app_beaconbits/beacon.rs b/crates/jacquard-api/src/app_beaconbits/beacon.rs index db74a027..492962be 100644 --- a/crates/jacquard-api/src/app_beaconbits/beacon.rs +++ b/crates/jacquard-api/src/app_beaconbits/beacon.rs @@ -7,19 +7,18 @@ pub mod like; - #[allow(unused_imports)] use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::collection::{Collection, RecordError}; -use jacquard_common::types::string::{Did, AtUri, Cid, Datetime}; +use jacquard_common::types::string::{AtUri, Cid, Datetime, Did}; use jacquard_common::types::uri::{RecordUri, UriError}; use jacquard_common::types::value::Data; use jacquard_common::xrpc::XrpcResp; @@ -27,12 +26,12 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::com_atproto::repo::strong_ref::StrongRef; use crate::community_lexicon::location::address::Address; use crate::community_lexicon::location::geo::Geo; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; /// A location-based check-in record #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -359,7 +358,7 @@ impl LexiconSchema for Beacon { pub mod beacon_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -469,23 +468,8 @@ impl BeaconBuilder { BeaconBuilder { _state: PhantomData, _fields: ( - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, ), _type: PhantomData, } @@ -794,10 +778,10 @@ where } fn lexicon_doc_app_beaconbits_beacon() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.beaconbits.beacon"), @@ -997,4 +981,4 @@ fn lexicon_doc_app_beaconbits_beacon() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_beaconbits/beacon/like.rs b/crates/jacquard-api/src/app_beaconbits/beacon/like.rs index 063f80b3..c0622cf4 100644 --- a/crates/jacquard-api/src/app_beaconbits/beacon/like.rs +++ b/crates/jacquard-api/src/app_beaconbits/beacon/like.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// A like on a beacon #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -109,7 +109,7 @@ impl LexiconSchema for Like { pub mod like_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -254,10 +254,10 @@ where } fn lexicon_doc_app_beaconbits_beacon_like() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.beaconbits.beacon.like"), @@ -269,23 +269,19 @@ fn lexicon_doc_app_beaconbits_beacon_like() -> LexiconDoc<'static> { description: Some(CowStr::new_static("A like on a beacon")), key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("subject"), - SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("subject"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("bskyLikeUri"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Associated Bluesky like URI (if beacon has a post)", - ), - ), + description: Some(CowStr::new_static( + "Associated Bluesky like URI (if beacon has a post)", + )), format: Some(LexStringFormat::AtUri), ..Default::default() }), @@ -293,9 +289,9 @@ fn lexicon_doc_app_beaconbits_beacon_like() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("createdAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Timestamp when the like was created"), - ), + description: Some(CowStr::new_static( + "Timestamp when the like was created", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -303,9 +299,9 @@ fn lexicon_doc_app_beaconbits_beacon_like() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("subject"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("AT URI of the beacon being liked"), - ), + description: Some(CowStr::new_static( + "AT URI of the beacon being liked", + )), format: Some(LexStringFormat::AtUri), ..Default::default() }), @@ -321,4 +317,4 @@ fn lexicon_doc_app_beaconbits_beacon_like() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_beaconbits/bookmark.rs b/crates/jacquard-api/src/app_beaconbits/bookmark.rs index a4f3e0b5..a468207d 100644 --- a/crates/jacquard-api/src/app_beaconbits/bookmark.rs +++ b/crates/jacquard-api/src/app_beaconbits/bookmark.rs @@ -4,4 +4,4 @@ // Any manual changes will be overwritten on the next regeneration. pub mod folder; -pub mod item; \ No newline at end of file +pub mod item; diff --git a/crates/jacquard-api/src/app_beaconbits/bookmark/folder.rs b/crates/jacquard-api/src/app_beaconbits/bookmark/folder.rs index 6ad4c56e..5d095de8 100644 --- a/crates/jacquard-api/src/app_beaconbits/bookmark/folder.rs +++ b/crates/jacquard-api/src/app_beaconbits/bookmark/folder.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// A folder for organizing bookmarks #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -262,7 +262,7 @@ impl LexiconSchema for Folder { pub mod folder_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -400,10 +400,7 @@ where St::Name: folder_state::IsUnset, { /// Set the `name` field (required) - pub fn name( - mut self, - value: impl Into, - ) -> FolderBuilder> { + pub fn name(mut self, value: impl Into) -> FolderBuilder> { self._fields.4 = Option::Some(value.into()); FolderBuilder { _state: PhantomData, @@ -459,10 +456,10 @@ where } fn lexicon_doc_app_beaconbits_bookmark_folder() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.beaconbits.bookmark.folder"), @@ -471,28 +468,22 @@ fn lexicon_doc_app_beaconbits_bookmark_folder() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static("A folder for organizing bookmarks"), - ), + description: Some(CowStr::new_static("A folder for organizing bookmarks")), key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("name"), - SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("name"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("color"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Hex color code for the folder (e.g., #ff0000)", - ), - ), + description: Some(CowStr::new_static( + "Hex color code for the folder (e.g., #ff0000)", + )), max_graphemes: Some(7usize), ..Default::default() }), @@ -500,9 +491,9 @@ fn lexicon_doc_app_beaconbits_bookmark_folder() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("createdAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Timestamp when the folder was created"), - ), + description: Some(CowStr::new_static( + "Timestamp when the folder was created", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -510,9 +501,9 @@ fn lexicon_doc_app_beaconbits_bookmark_folder() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("description"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Description of the folder"), - ), + description: Some(CowStr::new_static( + "Description of the folder", + )), max_graphemes: Some(280usize), ..Default::default() }), @@ -528,9 +519,9 @@ fn lexicon_doc_app_beaconbits_bookmark_folder() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("name"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Display name of the folder"), - ), + description: Some(CowStr::new_static( + "Display name of the folder", + )), max_graphemes: Some(64usize), ..Default::default() }), @@ -538,9 +529,9 @@ fn lexicon_doc_app_beaconbits_bookmark_folder() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("visibility"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Visibility setting for the folder"), - ), + description: Some(CowStr::new_static( + "Visibility setting for the folder", + )), max_graphemes: Some(32usize), ..Default::default() }), @@ -556,4 +547,4 @@ fn lexicon_doc_app_beaconbits_bookmark_folder() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_beaconbits/bookmark/item.rs b/crates/jacquard-api/src/app_beaconbits/bookmark/item.rs index cf841ed4..552fa945 100644 --- a/crates/jacquard-api/src/app_beaconbits/bookmark/item.rs +++ b/crates/jacquard-api/src/app_beaconbits/bookmark/item.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,11 +24,11 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::community_lexicon::location::address::Address; use crate::community_lexicon::location::geo::Geo; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; /// A saved venue bookmark #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -190,7 +190,7 @@ impl LexiconSchema for Item { pub mod item_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -403,10 +403,7 @@ where St::VenueUri: item_state::IsUnset, { /// Set the `venueUri` field (required) - pub fn venue_uri( - mut self, - value: impl Into, - ) -> ItemBuilder> { + pub fn venue_uri(mut self, value: impl Into) -> ItemBuilder> { self._fields.8 = Option::Some(value.into()); ItemBuilder { _state: PhantomData, @@ -456,10 +453,10 @@ where } fn lexicon_doc_app_beaconbits_bookmark_item() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.beaconbits.bookmark.item"), @@ -471,33 +468,27 @@ fn lexicon_doc_app_beaconbits_bookmark_item() -> LexiconDoc<'static> { description: Some(CowStr::new_static("A saved venue bookmark")), key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("venueUri"), - SmolStr::new_static("venueName"), - SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("venueUri"), + SmolStr::new_static("venueName"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("addressDetails"), LexObjectProperty::Ref(LexRef { - r#ref: CowStr::new_static( - "community.lexicon.location.address", - ), + r#ref: CowStr::new_static("community.lexicon.location.address"), ..Default::default() }), ); map.insert( SmolStr::new_static("createdAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Timestamp when the bookmark was created", - ), - ), + description: Some(CowStr::new_static( + "Timestamp when the bookmark was created", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -505,9 +496,9 @@ fn lexicon_doc_app_beaconbits_bookmark_item() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("folderUri"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Reference to a bookmark folder"), - ), + description: Some(CowStr::new_static( + "Reference to a bookmark folder", + )), format: Some(LexStringFormat::AtUri), ..Default::default() }), @@ -522,9 +513,9 @@ fn lexicon_doc_app_beaconbits_bookmark_item() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("notes"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("User notes about the bookmark"), - ), + description: Some(CowStr::new_static( + "User notes about the bookmark", + )), max_graphemes: Some(280usize), ..Default::default() }), @@ -532,9 +523,7 @@ fn lexicon_doc_app_beaconbits_bookmark_item() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("venueAddress"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Human-readable address"), - ), + description: Some(CowStr::new_static("Human-readable address")), max_graphemes: Some(256usize), ..Default::default() }), @@ -542,9 +531,9 @@ fn lexicon_doc_app_beaconbits_bookmark_item() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("venueCategory"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Category classification"), - ), + description: Some(CowStr::new_static( + "Category classification", + )), max_graphemes: Some(64usize), ..Default::default() }), @@ -552,9 +541,9 @@ fn lexicon_doc_app_beaconbits_bookmark_item() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("venueName"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Display name of the venue"), - ), + description: Some(CowStr::new_static( + "Display name of the venue", + )), max_graphemes: Some(128usize), ..Default::default() }), @@ -562,11 +551,9 @@ fn lexicon_doc_app_beaconbits_bookmark_item() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("venueUri"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "URI identifier for the venue (typically OSM URI)", - ), - ), + description: Some(CowStr::new_static( + "URI identifier for the venue (typically OSM URI)", + )), max_graphemes: Some(512usize), ..Default::default() }), @@ -582,4 +569,4 @@ fn lexicon_doc_app_beaconbits_bookmark_item() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_beaconbits/favorite.rs b/crates/jacquard-api/src/app_beaconbits/favorite.rs index cb411f66..fc85c5d6 100644 --- a/crates/jacquard-api/src/app_beaconbits/favorite.rs +++ b/crates/jacquard-api/src/app_beaconbits/favorite.rs @@ -10,13 +10,13 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::collection::{Collection, RecordError}; -use jacquard_common::types::string::{Did, AtUri, Cid, Datetime}; +use jacquard_common::types::string::{AtUri, Cid, Datetime, Did}; use jacquard_common::types::uri::{RecordUri, UriError}; use jacquard_common::types::value::Data; use jacquard_common::xrpc::XrpcResp; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// A favorite relationship to another user #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -106,7 +106,7 @@ impl LexiconSchema for Favorite { pub mod favorite_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -236,10 +236,10 @@ where } fn lexicon_doc_app_beaconbits_favorite() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.beaconbits.favorite"), @@ -248,28 +248,24 @@ fn lexicon_doc_app_beaconbits_favorite() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static("A favorite relationship to another user"), - ), + description: Some(CowStr::new_static( + "A favorite relationship to another user", + )), key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("subject"), - SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("subject"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("createdAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Timestamp when the favorite was created", - ), - ), + description: Some(CowStr::new_static( + "Timestamp when the favorite was created", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -277,9 +273,9 @@ fn lexicon_doc_app_beaconbits_favorite() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("subject"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("DID of the user being favorited"), - ), + description: Some(CowStr::new_static( + "DID of the user being favorited", + )), format: Some(LexStringFormat::Did), ..Default::default() }), @@ -295,4 +291,4 @@ fn lexicon_doc_app_beaconbits_favorite() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_beaconbits/favorites.rs b/crates/jacquard-api/src/app_beaconbits/favorites.rs index 6ae05095..a048e4ea 100644 --- a/crates/jacquard-api/src/app_beaconbits/favorites.rs +++ b/crates/jacquard-api/src/app_beaconbits/favorites.rs @@ -10,13 +10,13 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::collection::{Collection, RecordError}; -use jacquard_common::types::string::{Did, AtUri, Cid, Datetime}; +use jacquard_common::types::string::{AtUri, Cid, Datetime, Did}; use jacquard_common::types::uri::{RecordUri, UriError}; use jacquard_common::types::value::Data; use jacquard_common::xrpc::XrpcResp; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// A list of favorited user DIDs (legacy singleton record). #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -117,7 +117,7 @@ impl LexiconSchema for Favorites { pub mod favorites_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -237,10 +237,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> Favorites { + pub fn build_with_data(self, extra_data: BTreeMap>) -> Favorites { Favorites { dids: self._fields.0.unwrap(), updated_at: self._fields.1.unwrap(), @@ -250,10 +247,10 @@ where } fn lexicon_doc_app_beaconbits_favorites() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.beaconbits.favorites"), @@ -262,28 +259,24 @@ fn lexicon_doc_app_beaconbits_favorites() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static( - "A list of favorited user DIDs (legacy singleton record).", - ), - ), + description: Some(CowStr::new_static( + "A list of favorited user DIDs (legacy singleton record).", + )), key: Some(CowStr::new_static("literal:self")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("dids"), - SmolStr::new_static("updatedAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("dids"), + SmolStr::new_static("updatedAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("dids"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static("List of favorited user DIDs"), - ), + description: Some(CowStr::new_static( + "List of favorited user DIDs", + )), items: LexArrayItem::String(LexString { format: Some(LexStringFormat::Did), ..Default::default() @@ -295,11 +288,9 @@ fn lexicon_doc_app_beaconbits_favorites() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("updatedAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Timestamp when the favorites list was last updated", - ), - ), + description: Some(CowStr::new_static( + "Timestamp when the favorites list was last updated", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -315,4 +306,4 @@ fn lexicon_doc_app_beaconbits_favorites() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_beaconbits/profile.rs b/crates/jacquard-api/src/app_beaconbits/profile.rs index 918a2b92..ccc206df 100644 --- a/crates/jacquard-api/src/app_beaconbits/profile.rs +++ b/crates/jacquard-api/src/app_beaconbits/profile.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// User preferences and settings for BeaconBits #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -213,8 +213,7 @@ impl Serialize for ProfileDefaultDelayedReveal { } } -impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> -for ProfileDefaultDelayedReveal { +impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> for ProfileDefaultDelayedReveal { fn deserialize(deserializer: D) -> Result where D: serde::Deserializer<'de>, @@ -303,8 +302,7 @@ impl Serialize for ProfileDefaultVisibility { } } -impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> -for ProfileDefaultVisibility { +impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> for ProfileDefaultVisibility { fn deserialize(deserializer: D) -> Result where D: serde::Deserializer<'de>, @@ -332,9 +330,7 @@ where ProfileDefaultVisibility::Followers => ProfileDefaultVisibility::Followers, ProfileDefaultVisibility::Mutuals => ProfileDefaultVisibility::Mutuals, ProfileDefaultVisibility::Hidden => ProfileDefaultVisibility::Hidden, - ProfileDefaultVisibility::Other(v) => { - ProfileDefaultVisibility::Other(v.into_static()) - } + ProfileDefaultVisibility::Other(v) => ProfileDefaultVisibility::Other(v.into_static()), } } } @@ -666,7 +662,7 @@ fn _default_profile_post_beacon_links() -> Option { pub mod profile_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -787,10 +783,7 @@ impl ProfileBuilder { self } /// Set the `defaultVisibility` field to an Option value (optional) - pub fn maybe_default_visibility( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_default_visibility(mut self, value: Option>) -> Self { self._fields.3 = value; self } @@ -798,10 +791,7 @@ impl ProfileBuilder { impl ProfileBuilder { /// Set the `distanceUnit` field (optional) - pub fn distance_unit( - mut self, - value: impl Into>>, - ) -> Self { + pub fn distance_unit(mut self, value: impl Into>>) -> Self { self._fields.4 = value.into(); self } @@ -923,10 +913,10 @@ where } fn lexicon_doc_app_beaconbits_profile() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.beaconbits.profile"), @@ -935,11 +925,9 @@ fn lexicon_doc_app_beaconbits_profile() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static( - "User preferences and settings for BeaconBits", - ), - ), + description: Some(CowStr::new_static( + "User preferences and settings for BeaconBits", + )), key: Some(CowStr::new_static("literal:self")), record: LexRecordRecord::Object(LexObject { required: Some(vec![SmolStr::new_static("updatedAt")]), @@ -949,9 +937,9 @@ fn lexicon_doc_app_beaconbits_profile() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("allowTags"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Who can tag this user in beacons"), - ), + description: Some(CowStr::new_static( + "Who can tag this user in beacons", + )), max_graphemes: Some(32usize), ..Default::default() }), @@ -959,11 +947,9 @@ fn lexicon_doc_app_beaconbits_profile() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("createdAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Timestamp when settings were first created", - ), - ), + description: Some(CowStr::new_static( + "Timestamp when settings were first created", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -971,11 +957,9 @@ fn lexicon_doc_app_beaconbits_profile() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("defaultDelayedReveal"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Default delayed reveal setting for new beacons", - ), - ), + description: Some(CowStr::new_static( + "Default delayed reveal setting for new beacons", + )), max_graphemes: Some(16usize), ..Default::default() }), @@ -983,9 +967,9 @@ fn lexicon_doc_app_beaconbits_profile() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("defaultVisibility"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Default visibility for new beacons"), - ), + description: Some(CowStr::new_static( + "Default visibility for new beacons", + )), max_graphemes: Some(32usize), ..Default::default() }), @@ -993,9 +977,9 @@ fn lexicon_doc_app_beaconbits_profile() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("distanceUnit"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Preferred distance unit"), - ), + description: Some(CowStr::new_static( + "Preferred distance unit", + )), max_graphemes: Some(16usize), ..Default::default() }), @@ -1009,9 +993,9 @@ fn lexicon_doc_app_beaconbits_profile() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("language"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Preferred language setting"), - ), + description: Some(CowStr::new_static( + "Preferred language setting", + )), max_graphemes: Some(16usize), ..Default::default() }), @@ -1019,11 +1003,9 @@ fn lexicon_doc_app_beaconbits_profile() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("markerColor"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Hex color code for map marker (e.g., #e24630)", - ), - ), + description: Some(CowStr::new_static( + "Hex color code for map marker (e.g., #e24630)", + )), max_graphemes: Some(7usize), ..Default::default() }), @@ -1037,11 +1019,9 @@ fn lexicon_doc_app_beaconbits_profile() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("updatedAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Timestamp when settings were last updated", - ), - ), + description: Some(CowStr::new_static( + "Timestamp when settings were last updated", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -1057,4 +1037,4 @@ fn lexicon_doc_app_beaconbits_profile() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_beaconbits/report.rs b/crates/jacquard-api/src/app_beaconbits/report.rs index bdae4998..4f777115 100644 --- a/crates/jacquard-api/src/app_beaconbits/report.rs +++ b/crates/jacquard-api/src/app_beaconbits/report.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// A report of inappropriate content on a beacon #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -231,7 +231,7 @@ impl LexiconSchema for Report { pub mod report_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -290,7 +290,12 @@ pub mod report_state { /// Builder for constructing an instance of this type. pub struct ReportBuilder { _state: PhantomData St>, - _fields: (Option>, Option, Option, Option>), + _fields: ( + Option>, + Option, + Option, + Option>, + ), _type: PhantomData S>, } @@ -412,10 +417,10 @@ where } fn lexicon_doc_app_beaconbits_report() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.beaconbits.report"), @@ -424,29 +429,25 @@ fn lexicon_doc_app_beaconbits_report() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static( - "A report of inappropriate content on a beacon", - ), - ), + description: Some(CowStr::new_static( + "A report of inappropriate content on a beacon", + )), key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("beaconUri"), - SmolStr::new_static("reason"), - SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("beaconUri"), + SmolStr::new_static("reason"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("beaconUri"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("AT URI of the beacon being reported"), - ), + description: Some(CowStr::new_static( + "AT URI of the beacon being reported", + )), format: Some(LexStringFormat::AtUri), ..Default::default() }), @@ -454,9 +455,9 @@ fn lexicon_doc_app_beaconbits_report() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("createdAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Timestamp when the report was created"), - ), + description: Some(CowStr::new_static( + "Timestamp when the report was created", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -464,9 +465,9 @@ fn lexicon_doc_app_beaconbits_report() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("details"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Additional context for the report"), - ), + description: Some(CowStr::new_static( + "Additional context for the report", + )), max_graphemes: Some(500usize), ..Default::default() }), @@ -474,9 +475,7 @@ fn lexicon_doc_app_beaconbits_report() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("reason"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Reason for the report"), - ), + description: Some(CowStr::new_static("Reason for the report")), max_graphemes: Some(64usize), ..Default::default() }), @@ -492,4 +491,4 @@ fn lexicon_doc_app_beaconbits_report() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_beaconbits/venue.rs b/crates/jacquard-api/src/app_beaconbits/venue.rs index 601f9f74..0fd5bf3f 100644 --- a/crates/jacquard-api/src/app_beaconbits/venue.rs +++ b/crates/jacquard-api/src/app_beaconbits/venue.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,11 +24,11 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::community_lexicon::location::address::Address; use crate::community_lexicon::location::geo::Geo; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; /// A user-created venue definition #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -160,7 +160,7 @@ impl LexiconSchema for Venue { pub mod venue_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -312,10 +312,7 @@ where St::Name: venue_state::IsUnset, { /// Set the `name` field (required) - pub fn name( - mut self, - value: impl Into, - ) -> VenueBuilder> { + pub fn name(mut self, value: impl Into) -> VenueBuilder> { self._fields.5 = Option::Some(value.into()); VenueBuilder { _state: PhantomData, @@ -373,10 +370,10 @@ where } fn lexicon_doc_app_beaconbits_venue() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.beaconbits.venue"), @@ -385,26 +382,20 @@ fn lexicon_doc_app_beaconbits_venue() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static("A user-created venue definition"), - ), + description: Some(CowStr::new_static("A user-created venue definition")), key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("name"), - SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("name"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("address"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Human-readable address"), - ), + description: Some(CowStr::new_static("Human-readable address")), max_graphemes: Some(256usize), ..Default::default() }), @@ -412,20 +403,16 @@ fn lexicon_doc_app_beaconbits_venue() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("addressDetails"), LexObjectProperty::Ref(LexRef { - r#ref: CowStr::new_static( - "community.lexicon.location.address", - ), + r#ref: CowStr::new_static("community.lexicon.location.address"), ..Default::default() }), ); map.insert( SmolStr::new_static("category"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Venue category (bar, cafe, restaurant, etc.)", - ), - ), + description: Some(CowStr::new_static( + "Venue category (bar, cafe, restaurant, etc.)", + )), max_graphemes: Some(64usize), ..Default::default() }), @@ -433,9 +420,9 @@ fn lexicon_doc_app_beaconbits_venue() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("createdAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Timestamp when the venue was created"), - ), + description: Some(CowStr::new_static( + "Timestamp when the venue was created", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -450,9 +437,9 @@ fn lexicon_doc_app_beaconbits_venue() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("name"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Display name of the venue"), - ), + description: Some(CowStr::new_static( + "Display name of the venue", + )), max_graphemes: Some(64usize), ..Default::default() }), @@ -460,11 +447,9 @@ fn lexicon_doc_app_beaconbits_venue() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("osmUri"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Link to underlying OpenStreetMap entity (osm://node/123)", - ), - ), + description: Some(CowStr::new_static( + "Link to underlying OpenStreetMap entity (osm://node/123)", + )), format: Some(LexStringFormat::Uri), ..Default::default() }), @@ -480,4 +465,4 @@ fn lexicon_doc_app_beaconbits_venue() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_blebbit.rs b/crates/jacquard-api/src/app_blebbit.rs index 450928ba..bd6f3b78 100644 --- a/crates/jacquard-api/src/app_blebbit.rs +++ b/crates/jacquard-api/src/app_blebbit.rs @@ -3,4 +3,4 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. -pub mod authr; \ No newline at end of file +pub mod authr; diff --git a/crates/jacquard-api/src/app_blebbit/authr.rs b/crates/jacquard-api/src/app_blebbit/authr.rs index c76a0966..80f15030 100644 --- a/crates/jacquard-api/src/app_blebbit/authr.rs +++ b/crates/jacquard-api/src/app_blebbit/authr.rs @@ -5,4 +5,4 @@ pub mod folder; pub mod group; -pub mod page; \ No newline at end of file +pub mod page; diff --git a/crates/jacquard-api/src/app_blebbit/authr/folder.rs b/crates/jacquard-api/src/app_blebbit/authr/folder.rs index 36b6172a..9bb30cf6 100644 --- a/crates/jacquard-api/src/app_blebbit/authr/folder.rs +++ b/crates/jacquard-api/src/app_blebbit/authr/folder.rs @@ -15,10 +15,9 @@ pub mod record; pub mod update_folder; pub mod update_folder_relationship; - #[allow(unused_imports)] use alloc::collections::BTreeMap; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -30,10 +29,13 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct FolderForm { #[serde(skip_serializing_if = "Option::is_none")] pub name: Option, @@ -43,9 +45,11 @@ pub struct FolderForm { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct FolderView { #[serde(skip_serializing_if = "Option::is_none")] pub cuid: Option, @@ -88,10 +92,10 @@ impl LexiconSchema for FolderView { } fn lexicon_doc_app_blebbit_authr_folder_defs() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.blebbit.authr.folder.defs"), @@ -105,7 +109,9 @@ fn lexicon_doc_app_blebbit_authr_folder_defs() -> LexiconDoc<'static> { let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("name"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("public"), @@ -126,11 +132,15 @@ fn lexicon_doc_app_blebbit_authr_folder_defs() -> LexiconDoc<'static> { let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("cuid"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("name"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("public"), @@ -147,4 +157,4 @@ fn lexicon_doc_app_blebbit_authr_folder_defs() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_blebbit/authr/folder/create_folder.rs b/crates/jacquard-api/src/app_blebbit/authr/folder/create_folder.rs index 4e4ea420..392c4d93 100644 --- a/crates/jacquard-api/src/app_blebbit/authr/folder/create_folder.rs +++ b/crates/jacquard-api/src/app_blebbit/authr/folder/create_folder.rs @@ -10,14 +10,17 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct CreateFolder { #[serde(skip_serializing_if = "Option::is_none")] pub name: Option, @@ -27,9 +30,11 @@ pub struct CreateFolder { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct CreateFolderOutput { #[serde(skip_serializing_if = "Option::is_none")] pub cuid: Option, @@ -52,9 +57,8 @@ impl jacquard_common::xrpc::XrpcResp for CreateFolderResponse { impl jacquard_common::xrpc::XrpcRequest for CreateFolder { const NSID: &'static str = "app.blebbit.authr.folder.createFolder"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = CreateFolderResponse; } @@ -62,9 +66,8 @@ impl jacquard_common::xrpc::XrpcRequest for CreateFolder { pub struct CreateFolderRequest; impl jacquard_common::xrpc::XrpcEndpoint for CreateFolderRequest { const PATH: &'static str = "/xrpc/app.blebbit.authr.folder.createFolder"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = CreateFolder; type Response = CreateFolderResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_blebbit/authr/folder/create_folder_relationship.rs b/crates/jacquard-api/src/app_blebbit/authr/folder/create_folder_relationship.rs index 7f18b377..d1ac4e3a 100644 --- a/crates/jacquard-api/src/app_blebbit/authr/folder/create_folder_relationship.rs +++ b/crates/jacquard-api/src/app_blebbit/authr/folder/create_folder_relationship.rs @@ -10,14 +10,17 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct CreateFolderRelationship { pub relation: S, pub resource: S, @@ -37,9 +40,8 @@ impl jacquard_common::xrpc::XrpcResp for CreateFolderRelationshipResponse { impl jacquard_common::xrpc::XrpcRequest for CreateFolderRelationship { const NSID: &'static str = "app.blebbit.authr.folder.createFolderRelationship"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = CreateFolderRelationshipResponse; } @@ -47,9 +49,8 @@ impl jacquard_common::xrpc::XrpcRequest for CreateFolderRelationship< pub struct CreateFolderRelationshipRequest; impl jacquard_common::xrpc::XrpcEndpoint for CreateFolderRelationshipRequest { const PATH: &'static str = "/xrpc/app.blebbit.authr.folder.createFolderRelationship"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = CreateFolderRelationship; type Response = CreateFolderRelationshipResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_blebbit/authr/folder/delete_folder.rs b/crates/jacquard-api/src/app_blebbit/authr/folder/delete_folder.rs index c862c78c..0f98201b 100644 --- a/crates/jacquard-api/src/app_blebbit/authr/folder/delete_folder.rs +++ b/crates/jacquard-api/src/app_blebbit/authr/folder/delete_folder.rs @@ -10,14 +10,17 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DeleteFolderParams { #[serde(skip_serializing_if = "Option::is_none")] pub id: Option, @@ -38,9 +41,8 @@ impl jacquard_common::xrpc::XrpcResp for DeleteFolderResponse { impl jacquard_common::xrpc::XrpcRequest for DeleteFolder { const NSID: &'static str = "app.blebbit.authr.folder.deleteFolder"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = DeleteFolderResponse; } @@ -48,16 +50,15 @@ impl jacquard_common::xrpc::XrpcRequest for DeleteFolder { pub struct DeleteFolderRequest; impl jacquard_common::xrpc::XrpcEndpoint for DeleteFolderRequest { const PATH: &'static str = "/xrpc/app.blebbit.authr.folder.deleteFolder"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = DeleteFolder; type Response = DeleteFolderResponse; } pub mod delete_folder_params_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -118,8 +119,6 @@ where { /// Build the final struct. pub fn build(self) -> DeleteFolderParams { - DeleteFolderParams { - id: self._fields.0, - } + DeleteFolderParams { id: self._fields.0 } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_blebbit/authr/folder/delete_folder_relationship.rs b/crates/jacquard-api/src/app_blebbit/authr/folder/delete_folder_relationship.rs index 3bca31e2..a469371e 100644 --- a/crates/jacquard-api/src/app_blebbit/authr/folder/delete_folder_relationship.rs +++ b/crates/jacquard-api/src/app_blebbit/authr/folder/delete_folder_relationship.rs @@ -10,14 +10,17 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DeleteFolderRelationship { #[serde(skip_serializing_if = "Option::is_none")] pub relation: Option, @@ -38,9 +41,8 @@ impl jacquard_common::xrpc::XrpcResp for DeleteFolderRelationshipResponse { impl jacquard_common::xrpc::XrpcRequest for DeleteFolderRelationship { const NSID: &'static str = "app.blebbit.authr.folder.deleteFolderRelationship"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = DeleteFolderRelationshipResponse; } @@ -48,9 +50,8 @@ impl jacquard_common::xrpc::XrpcRequest for DeleteFolderRelationship< pub struct DeleteFolderRelationshipRequest; impl jacquard_common::xrpc::XrpcEndpoint for DeleteFolderRelationshipRequest { const PATH: &'static str = "/xrpc/app.blebbit.authr.folder.deleteFolderRelationship"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = DeleteFolderRelationship; type Response = DeleteFolderRelationshipResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_blebbit/authr/folder/get_folder.rs b/crates/jacquard-api/src/app_blebbit/authr/folder/get_folder.rs index 6165b692..6f5d5212 100644 --- a/crates/jacquard-api/src/app_blebbit/authr/folder/get_folder.rs +++ b/crates/jacquard-api/src/app_blebbit/authr/folder/get_folder.rs @@ -10,21 +10,26 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetFolder { pub id: S, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetFolderOutput { #[serde(skip_serializing_if = "Option::is_none")] pub cuid: Option, @@ -62,7 +67,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetFolderRequest { pub mod get_folder_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -123,10 +128,7 @@ where St::Id: get_folder_state::IsUnset, { /// Set the `id` field (required) - pub fn id( - mut self, - value: impl Into, - ) -> GetFolderBuilder> { + pub fn id(mut self, value: impl Into) -> GetFolderBuilder> { self._fields.0 = Option::Some(value.into()); GetFolderBuilder { _state: PhantomData, @@ -147,4 +149,4 @@ where id: self._fields.0.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_blebbit/authr/folder/get_folders.rs b/crates/jacquard-api/src/app_blebbit/authr/folder/get_folders.rs index 4f6c83e9..a1a5c56a 100644 --- a/crates/jacquard-api/src/app_blebbit/authr/folder/get_folders.rs +++ b/crates/jacquard-api/src/app_blebbit/authr/folder/get_folders.rs @@ -8,17 +8,20 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_blebbit::authr::folder::FolderView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_blebbit::authr::folder::FolderView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetFolders { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -26,9 +29,11 @@ pub struct GetFolders { pub limit: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetFoldersOutput { #[serde(skip_serializing_if = "Option::is_none")] pub folders: Option>>, @@ -62,7 +67,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetFoldersRequest { pub mod get_folders_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -141,4 +146,4 @@ where limit: self._fields.1, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_blebbit/authr/folder/record.rs b/crates/jacquard-api/src/app_blebbit/authr/folder/record.rs index 0f781cd5..749a1872 100644 --- a/crates/jacquard-api/src/app_blebbit/authr/folder/record.rs +++ b/crates/jacquard-api/src/app_blebbit/authr/folder/record.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde( @@ -107,7 +107,7 @@ impl LexiconSchema for Record { pub mod record_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -213,10 +213,10 @@ where } fn lexicon_doc_app_blebbit_authr_folder_record() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.blebbit.authr.folder.record"), @@ -259,4 +259,4 @@ fn lexicon_doc_app_blebbit_authr_folder_record() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_blebbit/authr/folder/update_folder.rs b/crates/jacquard-api/src/app_blebbit/authr/folder/update_folder.rs index 5c167730..2ba176e1 100644 --- a/crates/jacquard-api/src/app_blebbit/authr/folder/update_folder.rs +++ b/crates/jacquard-api/src/app_blebbit/authr/folder/update_folder.rs @@ -10,22 +10,27 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct UpdateFolderParams { #[serde(skip_serializing_if = "Option::is_none")] pub id: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct UpdateFolder { #[serde(skip_serializing_if = "Option::is_none")] pub name: Option, @@ -35,9 +40,11 @@ pub struct UpdateFolder { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct UpdateFolderOutput { #[serde(skip_serializing_if = "Option::is_none")] pub cuid: Option, @@ -60,9 +67,8 @@ impl jacquard_common::xrpc::XrpcResp for UpdateFolderResponse { impl jacquard_common::xrpc::XrpcRequest for UpdateFolder { const NSID: &'static str = "app.blebbit.authr.folder.updateFolder"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = UpdateFolderResponse; } @@ -70,16 +76,15 @@ impl jacquard_common::xrpc::XrpcRequest for UpdateFolder { pub struct UpdateFolderRequest; impl jacquard_common::xrpc::XrpcEndpoint for UpdateFolderRequest { const PATH: &'static str = "/xrpc/app.blebbit.authr.folder.updateFolder"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = UpdateFolder; type Response = UpdateFolderResponse; } pub mod update_folder_params_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -140,8 +145,6 @@ where { /// Build the final struct. pub fn build(self) -> UpdateFolderParams { - UpdateFolderParams { - id: self._fields.0, - } + UpdateFolderParams { id: self._fields.0 } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_blebbit/authr/folder/update_folder_relationship.rs b/crates/jacquard-api/src/app_blebbit/authr/folder/update_folder_relationship.rs index 2ae7b394..47c13657 100644 --- a/crates/jacquard-api/src/app_blebbit/authr/folder/update_folder_relationship.rs +++ b/crates/jacquard-api/src/app_blebbit/authr/folder/update_folder_relationship.rs @@ -10,14 +10,17 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct UpdateFolderRelationship { pub relation: S, pub resource: S, @@ -37,9 +40,8 @@ impl jacquard_common::xrpc::XrpcResp for UpdateFolderRelationshipResponse { impl jacquard_common::xrpc::XrpcRequest for UpdateFolderRelationship { const NSID: &'static str = "app.blebbit.authr.folder.updateFolderRelationship"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = UpdateFolderRelationshipResponse; } @@ -47,9 +49,8 @@ impl jacquard_common::xrpc::XrpcRequest for UpdateFolderRelationship< pub struct UpdateFolderRelationshipRequest; impl jacquard_common::xrpc::XrpcEndpoint for UpdateFolderRelationshipRequest { const PATH: &'static str = "/xrpc/app.blebbit.authr.folder.updateFolderRelationship"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = UpdateFolderRelationship; type Response = UpdateFolderRelationshipResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_blebbit/authr/group.rs b/crates/jacquard-api/src/app_blebbit/authr/group.rs index 2634d6b2..5b699d9b 100644 --- a/crates/jacquard-api/src/app_blebbit/authr/group.rs +++ b/crates/jacquard-api/src/app_blebbit/authr/group.rs @@ -15,10 +15,9 @@ pub mod record; pub mod update_group; pub mod update_group_relationship; - #[allow(unused_imports)] use alloc::collections::BTreeMap; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -30,10 +29,13 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GroupForm { #[serde(skip_serializing_if = "Option::is_none")] pub description: Option, @@ -46,9 +48,11 @@ pub struct GroupForm { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GroupView { #[serde(skip_serializing_if = "Option::is_none")] pub cuid: Option, @@ -95,10 +99,10 @@ impl LexiconSchema for GroupView { } fn lexicon_doc_app_blebbit_authr_group_defs() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.blebbit.authr.group.defs"), @@ -113,15 +117,21 @@ fn lexicon_doc_app_blebbit_authr_group_defs() -> LexiconDoc<'static> { let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("description"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("display"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("name"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("public"), @@ -142,19 +152,27 @@ fn lexicon_doc_app_blebbit_authr_group_defs() -> LexiconDoc<'static> { let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("cuid"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("description"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("display"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("name"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("public"), @@ -171,4 +189,4 @@ fn lexicon_doc_app_blebbit_authr_group_defs() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_blebbit/authr/group/create_group.rs b/crates/jacquard-api/src/app_blebbit/authr/group/create_group.rs index 9b282363..3be65a4a 100644 --- a/crates/jacquard-api/src/app_blebbit/authr/group/create_group.rs +++ b/crates/jacquard-api/src/app_blebbit/authr/group/create_group.rs @@ -10,14 +10,17 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct CreateGroup { #[serde(skip_serializing_if = "Option::is_none")] pub description: Option, @@ -30,9 +33,11 @@ pub struct CreateGroup { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct CreateGroupOutput { #[serde(skip_serializing_if = "Option::is_none")] pub cuid: Option, @@ -59,9 +64,8 @@ impl jacquard_common::xrpc::XrpcResp for CreateGroupResponse { impl jacquard_common::xrpc::XrpcRequest for CreateGroup { const NSID: &'static str = "app.blebbit.authr.group.createGroup"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = CreateGroupResponse; } @@ -69,9 +73,8 @@ impl jacquard_common::xrpc::XrpcRequest for CreateGroup { pub struct CreateGroupRequest; impl jacquard_common::xrpc::XrpcEndpoint for CreateGroupRequest { const PATH: &'static str = "/xrpc/app.blebbit.authr.group.createGroup"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = CreateGroup; type Response = CreateGroupResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_blebbit/authr/group/create_group_relationship.rs b/crates/jacquard-api/src/app_blebbit/authr/group/create_group_relationship.rs index 9a7d7b0d..20244acf 100644 --- a/crates/jacquard-api/src/app_blebbit/authr/group/create_group_relationship.rs +++ b/crates/jacquard-api/src/app_blebbit/authr/group/create_group_relationship.rs @@ -10,14 +10,17 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct CreateGroupRelationship { pub relation: S, pub resource: S, @@ -37,9 +40,8 @@ impl jacquard_common::xrpc::XrpcResp for CreateGroupRelationshipResponse { impl jacquard_common::xrpc::XrpcRequest for CreateGroupRelationship { const NSID: &'static str = "app.blebbit.authr.group.createGroupRelationship"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = CreateGroupRelationshipResponse; } @@ -47,9 +49,8 @@ impl jacquard_common::xrpc::XrpcRequest for CreateGroupRelationship = CreateGroupRelationship; type Response = CreateGroupRelationshipResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_blebbit/authr/group/delete_group.rs b/crates/jacquard-api/src/app_blebbit/authr/group/delete_group.rs index 691648e7..713e03c0 100644 --- a/crates/jacquard-api/src/app_blebbit/authr/group/delete_group.rs +++ b/crates/jacquard-api/src/app_blebbit/authr/group/delete_group.rs @@ -10,14 +10,17 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DeleteGroupParams { #[serde(skip_serializing_if = "Option::is_none")] pub id: Option, @@ -38,9 +41,8 @@ impl jacquard_common::xrpc::XrpcResp for DeleteGroupResponse { impl jacquard_common::xrpc::XrpcRequest for DeleteGroup { const NSID: &'static str = "app.blebbit.authr.group.deleteGroup"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = DeleteGroupResponse; } @@ -48,16 +50,15 @@ impl jacquard_common::xrpc::XrpcRequest for DeleteGroup { pub struct DeleteGroupRequest; impl jacquard_common::xrpc::XrpcEndpoint for DeleteGroupRequest { const PATH: &'static str = "/xrpc/app.blebbit.authr.group.deleteGroup"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = DeleteGroup; type Response = DeleteGroupResponse; } pub mod delete_group_params_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -118,8 +119,6 @@ where { /// Build the final struct. pub fn build(self) -> DeleteGroupParams { - DeleteGroupParams { - id: self._fields.0, - } + DeleteGroupParams { id: self._fields.0 } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_blebbit/authr/group/delete_group_relationship.rs b/crates/jacquard-api/src/app_blebbit/authr/group/delete_group_relationship.rs index e767ab6e..aba7d267 100644 --- a/crates/jacquard-api/src/app_blebbit/authr/group/delete_group_relationship.rs +++ b/crates/jacquard-api/src/app_blebbit/authr/group/delete_group_relationship.rs @@ -10,14 +10,17 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DeleteGroupRelationship { #[serde(skip_serializing_if = "Option::is_none")] pub relation: Option, @@ -38,9 +41,8 @@ impl jacquard_common::xrpc::XrpcResp for DeleteGroupRelationshipResponse { impl jacquard_common::xrpc::XrpcRequest for DeleteGroupRelationship { const NSID: &'static str = "app.blebbit.authr.group.deleteGroupRelationship"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = DeleteGroupRelationshipResponse; } @@ -48,9 +50,8 @@ impl jacquard_common::xrpc::XrpcRequest for DeleteGroupRelationship = DeleteGroupRelationship; type Response = DeleteGroupRelationshipResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_blebbit/authr/group/get_group.rs b/crates/jacquard-api/src/app_blebbit/authr/group/get_group.rs index f7055b75..87fe94d0 100644 --- a/crates/jacquard-api/src/app_blebbit/authr/group/get_group.rs +++ b/crates/jacquard-api/src/app_blebbit/authr/group/get_group.rs @@ -10,21 +10,26 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetGroup { pub id: S, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetGroupOutput { #[serde(skip_serializing_if = "Option::is_none")] pub cuid: Option, @@ -66,7 +71,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetGroupRequest { pub mod get_group_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -127,10 +132,7 @@ where St::Id: get_group_state::IsUnset, { /// Set the `id` field (required) - pub fn id( - mut self, - value: impl Into, - ) -> GetGroupBuilder> { + pub fn id(mut self, value: impl Into) -> GetGroupBuilder> { self._fields.0 = Option::Some(value.into()); GetGroupBuilder { _state: PhantomData, @@ -151,4 +153,4 @@ where id: self._fields.0.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_blebbit/authr/group/get_groups.rs b/crates/jacquard-api/src/app_blebbit/authr/group/get_groups.rs index e70ffa14..a029f70f 100644 --- a/crates/jacquard-api/src/app_blebbit/authr/group/get_groups.rs +++ b/crates/jacquard-api/src/app_blebbit/authr/group/get_groups.rs @@ -8,17 +8,20 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_blebbit::authr::group::GroupView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_blebbit::authr::group::GroupView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetGroups { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -26,9 +29,11 @@ pub struct GetGroups { pub limit: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetGroupsOutput { #[serde(skip_serializing_if = "Option::is_none")] pub groups: Option>>, @@ -62,7 +67,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetGroupsRequest { pub mod get_groups_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -141,4 +146,4 @@ where limit: self._fields.1, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_blebbit/authr/group/record.rs b/crates/jacquard-api/src/app_blebbit/authr/group/record.rs index 9a17a719..b2bda050 100644 --- a/crates/jacquard-api/src/app_blebbit/authr/group/record.rs +++ b/crates/jacquard-api/src/app_blebbit/authr/group/record.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde( @@ -111,7 +111,7 @@ impl LexiconSchema for Record { pub mod record_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -247,10 +247,10 @@ where } fn lexicon_doc_app_blebbit_authr_group_record() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.blebbit.authr.group.record"), @@ -305,4 +305,4 @@ fn lexicon_doc_app_blebbit_authr_group_record() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_blebbit/authr/group/update_group.rs b/crates/jacquard-api/src/app_blebbit/authr/group/update_group.rs index 38be140c..cadc0b6e 100644 --- a/crates/jacquard-api/src/app_blebbit/authr/group/update_group.rs +++ b/crates/jacquard-api/src/app_blebbit/authr/group/update_group.rs @@ -10,22 +10,27 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct UpdateGroupParams { #[serde(skip_serializing_if = "Option::is_none")] pub id: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct UpdateGroup { #[serde(skip_serializing_if = "Option::is_none")] pub description: Option, @@ -38,9 +43,11 @@ pub struct UpdateGroup { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct UpdateGroupOutput { #[serde(skip_serializing_if = "Option::is_none")] pub cuid: Option, @@ -67,9 +74,8 @@ impl jacquard_common::xrpc::XrpcResp for UpdateGroupResponse { impl jacquard_common::xrpc::XrpcRequest for UpdateGroup { const NSID: &'static str = "app.blebbit.authr.group.updateGroup"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = UpdateGroupResponse; } @@ -77,16 +83,15 @@ impl jacquard_common::xrpc::XrpcRequest for UpdateGroup { pub struct UpdateGroupRequest; impl jacquard_common::xrpc::XrpcEndpoint for UpdateGroupRequest { const PATH: &'static str = "/xrpc/app.blebbit.authr.group.updateGroup"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = UpdateGroup; type Response = UpdateGroupResponse; } pub mod update_group_params_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -147,8 +152,6 @@ where { /// Build the final struct. pub fn build(self) -> UpdateGroupParams { - UpdateGroupParams { - id: self._fields.0, - } + UpdateGroupParams { id: self._fields.0 } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_blebbit/authr/group/update_group_relationship.rs b/crates/jacquard-api/src/app_blebbit/authr/group/update_group_relationship.rs index c2a4b235..1eca032f 100644 --- a/crates/jacquard-api/src/app_blebbit/authr/group/update_group_relationship.rs +++ b/crates/jacquard-api/src/app_blebbit/authr/group/update_group_relationship.rs @@ -10,14 +10,17 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct UpdateGroupRelationship { pub relation: S, pub resource: S, @@ -37,9 +40,8 @@ impl jacquard_common::xrpc::XrpcResp for UpdateGroupRelationshipResponse { impl jacquard_common::xrpc::XrpcRequest for UpdateGroupRelationship { const NSID: &'static str = "app.blebbit.authr.group.updateGroupRelationship"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = UpdateGroupRelationshipResponse; } @@ -47,9 +49,8 @@ impl jacquard_common::xrpc::XrpcRequest for UpdateGroupRelationship = UpdateGroupRelationship; type Response = UpdateGroupRelationshipResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_blebbit/authr/page.rs b/crates/jacquard-api/src/app_blebbit/authr/page.rs index 8e9405a7..536f2891 100644 --- a/crates/jacquard-api/src/app_blebbit/authr/page.rs +++ b/crates/jacquard-api/src/app_blebbit/authr/page.rs @@ -15,10 +15,9 @@ pub mod record; pub mod update_page; pub mod update_page_relationship; - #[allow(unused_imports)] use alloc::collections::BTreeMap; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -30,10 +29,13 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct PageForm { #[serde(skip_serializing_if = "Option::is_none")] pub name: Option, @@ -43,9 +45,11 @@ pub struct PageForm { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct PageView { #[serde(skip_serializing_if = "Option::is_none")] pub content: Option, @@ -90,10 +94,10 @@ impl LexiconSchema for PageView { } fn lexicon_doc_app_blebbit_authr_page_defs() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.blebbit.authr.page.defs"), @@ -107,7 +111,9 @@ fn lexicon_doc_app_blebbit_authr_page_defs() -> LexiconDoc<'static> { let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("name"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("public"), @@ -128,15 +134,21 @@ fn lexicon_doc_app_blebbit_authr_page_defs() -> LexiconDoc<'static> { let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("content"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("cuid"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("name"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("public"), @@ -153,4 +165,4 @@ fn lexicon_doc_app_blebbit_authr_page_defs() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_blebbit/authr/page/create_page.rs b/crates/jacquard-api/src/app_blebbit/authr/page/create_page.rs index 6704057a..c0adb5a4 100644 --- a/crates/jacquard-api/src/app_blebbit/authr/page/create_page.rs +++ b/crates/jacquard-api/src/app_blebbit/authr/page/create_page.rs @@ -10,14 +10,17 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct CreatePage { #[serde(skip_serializing_if = "Option::is_none")] pub name: Option, @@ -27,9 +30,11 @@ pub struct CreatePage { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct CreatePageOutput { #[serde(skip_serializing_if = "Option::is_none")] pub content: Option, @@ -54,9 +59,8 @@ impl jacquard_common::xrpc::XrpcResp for CreatePageResponse { impl jacquard_common::xrpc::XrpcRequest for CreatePage { const NSID: &'static str = "app.blebbit.authr.page.createPage"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = CreatePageResponse; } @@ -64,9 +68,8 @@ impl jacquard_common::xrpc::XrpcRequest for CreatePage { pub struct CreatePageRequest; impl jacquard_common::xrpc::XrpcEndpoint for CreatePageRequest { const PATH: &'static str = "/xrpc/app.blebbit.authr.page.createPage"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = CreatePage; type Response = CreatePageResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_blebbit/authr/page/create_page_relationship.rs b/crates/jacquard-api/src/app_blebbit/authr/page/create_page_relationship.rs index 6b6b89eb..fa850930 100644 --- a/crates/jacquard-api/src/app_blebbit/authr/page/create_page_relationship.rs +++ b/crates/jacquard-api/src/app_blebbit/authr/page/create_page_relationship.rs @@ -10,14 +10,17 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct CreatePageRelationship { pub relation: S, pub resource: S, @@ -37,9 +40,8 @@ impl jacquard_common::xrpc::XrpcResp for CreatePageRelationshipResponse { impl jacquard_common::xrpc::XrpcRequest for CreatePageRelationship { const NSID: &'static str = "app.blebbit.authr.page.createPageRelationship"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = CreatePageRelationshipResponse; } @@ -47,9 +49,8 @@ impl jacquard_common::xrpc::XrpcRequest for CreatePageRelationship pub struct CreatePageRelationshipRequest; impl jacquard_common::xrpc::XrpcEndpoint for CreatePageRelationshipRequest { const PATH: &'static str = "/xrpc/app.blebbit.authr.page.createPageRelationship"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = CreatePageRelationship; type Response = CreatePageRelationshipResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_blebbit/authr/page/delete_page.rs b/crates/jacquard-api/src/app_blebbit/authr/page/delete_page.rs index 43fe52e0..da8ffc62 100644 --- a/crates/jacquard-api/src/app_blebbit/authr/page/delete_page.rs +++ b/crates/jacquard-api/src/app_blebbit/authr/page/delete_page.rs @@ -10,14 +10,17 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DeletePageParams { #[serde(skip_serializing_if = "Option::is_none")] pub id: Option, @@ -38,9 +41,8 @@ impl jacquard_common::xrpc::XrpcResp for DeletePageResponse { impl jacquard_common::xrpc::XrpcRequest for DeletePage { const NSID: &'static str = "app.blebbit.authr.page.deletePage"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = DeletePageResponse; } @@ -48,16 +50,15 @@ impl jacquard_common::xrpc::XrpcRequest for DeletePage { pub struct DeletePageRequest; impl jacquard_common::xrpc::XrpcEndpoint for DeletePageRequest { const PATH: &'static str = "/xrpc/app.blebbit.authr.page.deletePage"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = DeletePage; type Response = DeletePageResponse; } pub mod delete_page_params_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -118,8 +119,6 @@ where { /// Build the final struct. pub fn build(self) -> DeletePageParams { - DeletePageParams { - id: self._fields.0, - } + DeletePageParams { id: self._fields.0 } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_blebbit/authr/page/delete_page_relationship.rs b/crates/jacquard-api/src/app_blebbit/authr/page/delete_page_relationship.rs index d8da0f3a..810c1bac 100644 --- a/crates/jacquard-api/src/app_blebbit/authr/page/delete_page_relationship.rs +++ b/crates/jacquard-api/src/app_blebbit/authr/page/delete_page_relationship.rs @@ -10,14 +10,17 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DeletePageRelationship { #[serde(skip_serializing_if = "Option::is_none")] pub relation: Option, @@ -38,9 +41,8 @@ impl jacquard_common::xrpc::XrpcResp for DeletePageRelationshipResponse { impl jacquard_common::xrpc::XrpcRequest for DeletePageRelationship { const NSID: &'static str = "app.blebbit.authr.page.deletePageRelationship"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = DeletePageRelationshipResponse; } @@ -48,9 +50,8 @@ impl jacquard_common::xrpc::XrpcRequest for DeletePageRelationship pub struct DeletePageRelationshipRequest; impl jacquard_common::xrpc::XrpcEndpoint for DeletePageRelationshipRequest { const PATH: &'static str = "/xrpc/app.blebbit.authr.page.deletePageRelationship"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = DeletePageRelationship; type Response = DeletePageRelationshipResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_blebbit/authr/page/get_page.rs b/crates/jacquard-api/src/app_blebbit/authr/page/get_page.rs index 4384e1b0..96e35f8c 100644 --- a/crates/jacquard-api/src/app_blebbit/authr/page/get_page.rs +++ b/crates/jacquard-api/src/app_blebbit/authr/page/get_page.rs @@ -10,21 +10,26 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetPage { pub id: S, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetPageOutput { #[serde(skip_serializing_if = "Option::is_none")] pub content: Option, @@ -64,7 +69,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetPageRequest { pub mod get_page_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -125,10 +130,7 @@ where St::Id: get_page_state::IsUnset, { /// Set the `id` field (required) - pub fn id( - mut self, - value: impl Into, - ) -> GetPageBuilder> { + pub fn id(mut self, value: impl Into) -> GetPageBuilder> { self._fields.0 = Option::Some(value.into()); GetPageBuilder { _state: PhantomData, @@ -149,4 +151,4 @@ where id: self._fields.0.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_blebbit/authr/page/get_pages.rs b/crates/jacquard-api/src/app_blebbit/authr/page/get_pages.rs index de0785ac..e549011c 100644 --- a/crates/jacquard-api/src/app_blebbit/authr/page/get_pages.rs +++ b/crates/jacquard-api/src/app_blebbit/authr/page/get_pages.rs @@ -8,17 +8,20 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_blebbit::authr::page::PageView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_blebbit::authr::page::PageView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetPages { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -26,9 +29,11 @@ pub struct GetPages { pub limit: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetPagesOutput { #[serde(skip_serializing_if = "Option::is_none")] pub pages: Option>>, @@ -62,7 +67,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetPagesRequest { pub mod get_pages_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -141,4 +146,4 @@ where limit: self._fields.1, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_blebbit/authr/page/record.rs b/crates/jacquard-api/src/app_blebbit/authr/page/record.rs index a33665c5..b030eeb8 100644 --- a/crates/jacquard-api/src/app_blebbit/authr/page/record.rs +++ b/crates/jacquard-api/src/app_blebbit/authr/page/record.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde( @@ -109,7 +109,7 @@ impl LexiconSchema for Record { pub mod record_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -230,10 +230,10 @@ where } fn lexicon_doc_app_blebbit_authr_page_record() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.blebbit.authr.page.record"), @@ -282,4 +282,4 @@ fn lexicon_doc_app_blebbit_authr_page_record() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_blebbit/authr/page/update_page.rs b/crates/jacquard-api/src/app_blebbit/authr/page/update_page.rs index e8bf06df..238ac434 100644 --- a/crates/jacquard-api/src/app_blebbit/authr/page/update_page.rs +++ b/crates/jacquard-api/src/app_blebbit/authr/page/update_page.rs @@ -10,22 +10,27 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct UpdatePageParams { #[serde(skip_serializing_if = "Option::is_none")] pub id: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct UpdatePage { #[serde(skip_serializing_if = "Option::is_none")] pub name: Option, @@ -35,9 +40,11 @@ pub struct UpdatePage { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct UpdatePageOutput { #[serde(skip_serializing_if = "Option::is_none")] pub content: Option, @@ -62,9 +69,8 @@ impl jacquard_common::xrpc::XrpcResp for UpdatePageResponse { impl jacquard_common::xrpc::XrpcRequest for UpdatePage { const NSID: &'static str = "app.blebbit.authr.page.updatePage"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = UpdatePageResponse; } @@ -72,16 +78,15 @@ impl jacquard_common::xrpc::XrpcRequest for UpdatePage { pub struct UpdatePageRequest; impl jacquard_common::xrpc::XrpcEndpoint for UpdatePageRequest { const PATH: &'static str = "/xrpc/app.blebbit.authr.page.updatePage"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = UpdatePage; type Response = UpdatePageResponse; } pub mod update_page_params_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -142,8 +147,6 @@ where { /// Build the final struct. pub fn build(self) -> UpdatePageParams { - UpdatePageParams { - id: self._fields.0, - } + UpdatePageParams { id: self._fields.0 } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_blebbit/authr/page/update_page_relationship.rs b/crates/jacquard-api/src/app_blebbit/authr/page/update_page_relationship.rs index 770b78e5..c53a8484 100644 --- a/crates/jacquard-api/src/app_blebbit/authr/page/update_page_relationship.rs +++ b/crates/jacquard-api/src/app_blebbit/authr/page/update_page_relationship.rs @@ -10,14 +10,17 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct UpdatePageRelationship { pub relation: S, pub resource: S, @@ -37,9 +40,8 @@ impl jacquard_common::xrpc::XrpcResp for UpdatePageRelationshipResponse { impl jacquard_common::xrpc::XrpcRequest for UpdatePageRelationship { const NSID: &'static str = "app.blebbit.authr.page.updatePageRelationship"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = UpdatePageRelationshipResponse; } @@ -47,9 +49,8 @@ impl jacquard_common::xrpc::XrpcRequest for UpdatePageRelationship pub struct UpdatePageRelationshipRequest; impl jacquard_common::xrpc::XrpcEndpoint for UpdatePageRelationshipRequest { const PATH: &'static str = "/xrpc/app.blebbit.authr.page.updatePageRelationship"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = UpdatePageRelationship; type Response = UpdatePageRelationshipResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky.rs b/crates/jacquard-api/src/app_bsky.rs index 4c395987..a9e94667 100644 --- a/crates/jacquard-api/src/app_bsky.rs +++ b/crates/jacquard-api/src/app_bsky.rs @@ -15,4 +15,4 @@ pub mod labeler; pub mod notification; pub mod richtext; pub mod unspecced; -pub mod video; \ No newline at end of file +pub mod video; diff --git a/crates/jacquard-api/src/app_bsky/actor.rs b/crates/jacquard-api/src/app_bsky/actor.rs index 0dd63160..9f9211c2 100644 --- a/crates/jacquard-api/src/app_bsky/actor.rs +++ b/crates/jacquard-api/src/app_bsky/actor.rs @@ -15,26 +15,23 @@ pub mod search_actors; pub mod search_actors_typeahead; pub mod status; - #[allow(unused_imports)] use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; use jacquard_common::deps::smol_str::SmolStr; -use jacquard_common::types::string::{Did, Handle, AtUri, Cid, Datetime, UriValue}; +use jacquard_common::types::string::{AtUri, Cid, Datetime, Did, Handle, UriValue}; use jacquard_common::types::value::Data; use jacquard_derive::{IntoStatic, open_union}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use crate::app_bsky::actor; use crate::app_bsky::embed::external::View; use crate::app_bsky::feed::postgate::DisableRule; use crate::app_bsky::feed::threadgate::FollowerRule; @@ -46,10 +43,15 @@ use crate::app_bsky::graph::StarterPackViewBasic; use crate::app_bsky::notification::ActivitySubscription; use crate::com_atproto::label::Label; use crate::com_atproto::repo::strong_ref::StrongRef; -use crate::app_bsky::actor; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct AdultContentPref { /// Defaults to `false`. #[serde(default = "_default_adult_content_pref_enabled")] @@ -61,7 +63,10 @@ pub struct AdultContentPref { /// If set, an active progress guide. Once completed, can be set to undefined. Should have unspecced fields tracking progress. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct BskyAppProgressGuide { pub guide: S, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -71,7 +76,10 @@ pub struct BskyAppProgressGuide { /// A grab bag of state that's specific to the bsky.app program. Third-party apps shouldn't use this. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct BskyAppStatePref { #[serde(skip_serializing_if = "Option::is_none")] pub active_progress_guide: Option>, @@ -85,9 +93,11 @@ pub struct BskyAppStatePref { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ContentLabelPref { pub label: S, ///Which labeler does this preference apply to? If undefined, applies globally. @@ -98,7 +108,6 @@ pub struct ContentLabelPref { pub extra_data: Option>>, } - #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum ContentLabelPrefVisibility { Ignore, @@ -151,8 +160,7 @@ impl Serialize for ContentLabelPrefVisibility { } } -impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> -for ContentLabelPrefVisibility { +impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> for ContentLabelPrefVisibility { fn deserialize(deserializer: D) -> Result where D: serde::Deserializer<'de>, @@ -190,7 +198,10 @@ where /// Read-only preference containing value(s) inferred from the user's declared birthdate. Absence of this preference object in the response indicates that the user has not made a declaration. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DeclaredAgePref { ///Indicates if the user has declared that they are over 13 years of age. #[serde(skip_serializing_if = "Option::is_none")] @@ -205,9 +216,11 @@ pub struct DeclaredAgePref { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct FeedViewPref { ///The URI of the feed, or an identifier which describes the feed. pub feed: S, @@ -231,9 +244,11 @@ pub struct FeedViewPref { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct HiddenPostsPref { ///A list of URIs of posts the account owner has hidden. pub items: Vec>, @@ -241,9 +256,11 @@ pub struct HiddenPostsPref { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct InterestsPref { ///A list of tags which describe the account owner's interests gathered during onboarding. pub tags: Vec, @@ -254,7 +271,10 @@ pub struct InterestsPref { /// The subject's followers whom you also follow #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct KnownFollowers { pub count: i64, pub followers: Vec>, @@ -262,18 +282,22 @@ pub struct KnownFollowers { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct LabelerPrefItem { pub did: Did, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct LabelersPref { pub labelers: Vec>, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -283,7 +307,10 @@ pub struct LabelersPref { /// Preferences for live events. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct LiveEventPreferences { ///A list of feed IDs that the user has hidden from live events. #[serde(skip_serializing_if = "Option::is_none")] @@ -299,7 +326,10 @@ pub struct LiveEventPreferences { /// A word that the account owner has muted. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct MutedWord { ///Groups of users to apply the muted word to. If undefined, applies to all users. #[serde(skip_serializing_if = "Option::is_none")] @@ -390,17 +420,12 @@ where fn into_static(self) -> Self::Output { match self { MutedWordActorTarget::All => MutedWordActorTarget::All, - MutedWordActorTarget::ExcludeFollowing => { - MutedWordActorTarget::ExcludeFollowing - } - MutedWordActorTarget::Other(v) => { - MutedWordActorTarget::Other(v.into_static()) - } + MutedWordActorTarget::ExcludeFollowing => MutedWordActorTarget::ExcludeFollowing, + MutedWordActorTarget::Other(v) => MutedWordActorTarget::Other(v.into_static()), } } } - #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum MutedWordTarget { Content, @@ -472,9 +497,11 @@ where } } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct MutedWordsPref { ///A list of words the account owner has muted. pub items: Vec>, @@ -485,7 +512,10 @@ pub struct MutedWordsPref { /// A new user experiences (NUX) storage object #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Nux { /// Defaults to `false`. #[serde(default = "_default_nux_completed")] @@ -501,9 +531,11 @@ pub struct Nux { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct PersonalDetailsPref { ///The birth date of account owner. #[serde(skip_serializing_if = "Option::is_none")] @@ -515,21 +547,21 @@ pub struct PersonalDetailsPref { /// 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. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct PostInteractionSettingsPref { ///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. #[serde(skip_serializing_if = "Option::is_none")] pub postgate_embedding_rules: Option>>, ///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. #[serde(skip_serializing_if = "Option::is_none")] - pub threadgate_allow_rules: Option< - Vec>, - >, + pub threadgate_allow_rules: Option>>, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -544,7 +576,6 @@ pub enum PostInteractionSettingsPrefThreadgateAllowRulesItem>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -586,7 +617,10 @@ pub enum PreferencesItem { pub type Preferences = Vec>; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ProfileAssociated { #[serde(skip_serializing_if = "Option::is_none")] pub activity_subscription: Option>, @@ -606,20 +640,19 @@ pub struct ProfileAssociated { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ProfileAssociatedActivitySubscription { pub allow_subscriptions: ProfileAssociatedActivitySubscriptionAllowSubscriptions, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, } - #[derive(Debug, Clone, PartialEq, Eq, Hash)] -pub enum ProfileAssociatedActivitySubscriptionAllowSubscriptions< - S: BosStr = DefaultStr, -> { +pub enum ProfileAssociatedActivitySubscriptionAllowSubscriptions { Followers, Mutuals, None, @@ -646,22 +679,19 @@ impl ProfileAssociatedActivitySubscriptionAllowSubscriptions { } } -impl core::fmt::Display -for ProfileAssociatedActivitySubscriptionAllowSubscriptions { +impl core::fmt::Display for ProfileAssociatedActivitySubscriptionAllowSubscriptions { fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { write!(f, "{}", self.as_str()) } } -impl AsRef -for ProfileAssociatedActivitySubscriptionAllowSubscriptions { +impl AsRef for ProfileAssociatedActivitySubscriptionAllowSubscriptions { fn as_ref(&self) -> &str { self.as_str() } } -impl Serialize -for ProfileAssociatedActivitySubscriptionAllowSubscriptions { +impl Serialize for ProfileAssociatedActivitySubscriptionAllowSubscriptions { fn serialize(&self, serializer: Ser) -> Result where Ser: serde::Serializer, @@ -671,7 +701,8 @@ for ProfileAssociatedActivitySubscriptionAllowSubscriptions { } impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> -for ProfileAssociatedActivitySubscriptionAllowSubscriptions { + for ProfileAssociatedActivitySubscriptionAllowSubscriptions +{ fn deserialize(deserializer: D) -> Result where D: serde::Deserializer<'de>, @@ -681,15 +712,14 @@ for ProfileAssociatedActivitySubscriptionAllowSubscriptions { } } -impl Default -for ProfileAssociatedActivitySubscriptionAllowSubscriptions { +impl Default for ProfileAssociatedActivitySubscriptionAllowSubscriptions { fn default() -> Self { Self::Other(Default::default()) } } impl jacquard_common::IntoStatic -for ProfileAssociatedActivitySubscriptionAllowSubscriptions + for ProfileAssociatedActivitySubscriptionAllowSubscriptions where S: BosStr + jacquard_common::IntoStatic, S::Output: BosStr, @@ -707,24 +737,23 @@ where ProfileAssociatedActivitySubscriptionAllowSubscriptions::None } ProfileAssociatedActivitySubscriptionAllowSubscriptions::Other(v) => { - ProfileAssociatedActivitySubscriptionAllowSubscriptions::Other( - v.into_static(), - ) + ProfileAssociatedActivitySubscriptionAllowSubscriptions::Other(v.into_static()) } } } } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ProfileAssociatedChat { pub allow_incoming: ProfileAssociatedChatAllowIncoming, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, } - #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum ProfileAssociatedChatAllowIncoming { All, @@ -774,8 +803,7 @@ impl Serialize for ProfileAssociatedChatAllowIncoming { } } -impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> -for ProfileAssociatedChatAllowIncoming { +impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> for ProfileAssociatedChatAllowIncoming { fn deserialize(deserializer: D) -> Result where D: serde::Deserializer<'de>, @@ -799,12 +827,8 @@ where type Output = ProfileAssociatedChatAllowIncoming; fn into_static(self) -> Self::Output { match self { - ProfileAssociatedChatAllowIncoming::All => { - ProfileAssociatedChatAllowIncoming::All - } - ProfileAssociatedChatAllowIncoming::None => { - ProfileAssociatedChatAllowIncoming::None - } + ProfileAssociatedChatAllowIncoming::All => ProfileAssociatedChatAllowIncoming::All, + ProfileAssociatedChatAllowIncoming::None => ProfileAssociatedChatAllowIncoming::None, ProfileAssociatedChatAllowIncoming::Following => { ProfileAssociatedChatAllowIncoming::Following } @@ -815,9 +839,11 @@ where } } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ProfileAssociatedGerm { pub message_me_url: UriValue, pub show_button_to: ProfileAssociatedGermShowButtonTo, @@ -825,7 +851,6 @@ pub struct ProfileAssociatedGerm { pub extra_data: Option>>, } - #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum ProfileAssociatedGermShowButtonTo { UsersIFollow, @@ -872,8 +897,7 @@ impl Serialize for ProfileAssociatedGermShowButtonTo { } } -impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> -for ProfileAssociatedGermShowButtonTo { +impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> for ProfileAssociatedGermShowButtonTo { fn deserialize(deserializer: D) -> Result where D: serde::Deserializer<'de>, @@ -910,9 +934,11 @@ where } } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ProfileView { #[serde(skip_serializing_if = "Option::is_none")] pub associated: Option>, @@ -945,9 +971,11 @@ pub struct ProfileView { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ProfileViewBasic { #[serde(skip_serializing_if = "Option::is_none")] pub associated: Option>, @@ -976,9 +1004,11 @@ pub struct ProfileViewBasic { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ProfileViewDetailed { #[serde(skip_serializing_if = "Option::is_none")] pub associated: Option>, @@ -1025,9 +1055,11 @@ pub struct ProfileViewDetailed { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct SavedFeed { pub id: S, pub pinned: bool, @@ -1037,7 +1069,6 @@ pub struct SavedFeed { pub extra_data: Option>>, } - #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum SavedFeedType { Feed, @@ -1119,9 +1150,11 @@ where } } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct SavedFeedsPref { pub pinned: Vec>, pub saved: Vec>, @@ -1131,18 +1164,22 @@ pub struct SavedFeedsPref { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct SavedFeedsPrefV2 { pub items: Vec>, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct StatusView { #[serde(skip_serializing_if = "Option::is_none")] pub cid: Option>, @@ -1242,9 +1279,11 @@ where } } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ThreadViewPref { ///Sorting mode for threads. #[serde(skip_serializing_if = "Option::is_none")] @@ -1347,7 +1386,10 @@ where /// Preferences for how verified accounts appear in the app. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct VerificationPrefs { ///Hide the blue check badges for verified accounts and trusted verifiers. Defaults to `false`. #[serde(skip_serializing_if = "Option::is_none")] @@ -1360,7 +1402,10 @@ pub struct VerificationPrefs { /// Represents the verification information about the user this object is attached to. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct VerificationState { ///The user's status as a trusted verifier. pub trusted_verifier_status: VerificationStateTrustedVerifierStatus, @@ -1424,7 +1469,8 @@ impl Serialize for VerificationStateTrustedVerifierStatus { } impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> -for VerificationStateTrustedVerifierStatus { + for VerificationStateTrustedVerifierStatus +{ fn deserialize(deserializer: D) -> Result where D: serde::Deserializer<'de>, @@ -1515,8 +1561,7 @@ impl Serialize for VerificationStateVerifiedStatus { } } -impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> -for VerificationStateVerifiedStatus { +impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> for VerificationStateVerifiedStatus { fn deserialize(deserializer: D) -> Result where D: serde::Deserializer<'de>, @@ -1540,15 +1585,9 @@ where type Output = VerificationStateVerifiedStatus; fn into_static(self) -> Self::Output { match self { - VerificationStateVerifiedStatus::Valid => { - VerificationStateVerifiedStatus::Valid - } - VerificationStateVerifiedStatus::Invalid => { - VerificationStateVerifiedStatus::Invalid - } - VerificationStateVerifiedStatus::None => { - VerificationStateVerifiedStatus::None - } + VerificationStateVerifiedStatus::Valid => VerificationStateVerifiedStatus::Valid, + VerificationStateVerifiedStatus::Invalid => VerificationStateVerifiedStatus::Invalid, + VerificationStateVerifiedStatus::None => VerificationStateVerifiedStatus::None, VerificationStateVerifiedStatus::Other(v) => { VerificationStateVerifiedStatus::Other(v.into_static()) } @@ -1559,7 +1598,10 @@ where /// An individual verification for an associated subject. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct VerificationView { ///Timestamp when the verification was created. pub created_at: Datetime, @@ -1576,7 +1618,10 @@ pub struct VerificationView { /// Metadata about the requesting account's relationship with the subject account. Only has meaningful content for authed requests. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ViewerState { ///This property is present only in selected cases, as an optimization. #[serde(skip_serializing_if = "Option::is_none")] @@ -2363,7 +2408,7 @@ impl Default for AdultContentPref { pub mod adult_content_pref_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -2450,10 +2495,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> AdultContentPref { + pub fn build_with_data(self, extra_data: BTreeMap>) -> AdultContentPref { AdultContentPref { enabled: self._fields.0.unwrap(), extra_data: Some(extra_data), @@ -2462,10 +2504,10 @@ where } fn lexicon_doc_app_bsky_actor_defs() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.bsky.actor.defs"), @@ -2702,11 +2744,9 @@ fn lexicon_doc_app_bsky_actor_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("items"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static( - "A list of URIs of posts the account owner has hidden.", - ), - ), + description: Some(CowStr::new_static( + "A list of URIs of posts the account owner has hidden.", + )), items: LexArrayItem::String(LexString { format: Some(LexStringFormat::AtUri), ..Default::default() @@ -2751,17 +2791,13 @@ fn lexicon_doc_app_bsky_actor_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("knownFollowers"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "The subject's followers whom you also follow", - ), - ), - required: Some( - vec![ - SmolStr::new_static("count"), - SmolStr::new_static("followers") - ], - ), + description: Some(CowStr::new_static( + "The subject's followers whom you also follow", + )), + required: Some(vec![ + SmolStr::new_static("count"), + SmolStr::new_static("followers"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -2832,20 +2868,16 @@ fn lexicon_doc_app_bsky_actor_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("liveEventPreferences"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("Preferences for live events."), - ), + description: Some(CowStr::new_static("Preferences for live events.")), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("hiddenFeedIds"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static( - "A list of feed IDs that the user has hidden from live events.", - ), - ), + description: Some(CowStr::new_static( + "A list of feed IDs that the user has hidden from live events.", + )), items: LexArrayItem::String(LexString { ..Default::default() }), @@ -2955,11 +2987,9 @@ fn lexicon_doc_app_bsky_actor_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("items"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static( - "A list of words the account owner has muted.", - ), - ), + description: Some(CowStr::new_static( + "A list of words the account owner has muted.", + )), items: LexArrayItem::Ref(LexRef { r#ref: CowStr::new_static("app.bsky.actor.defs#mutedWord"), ..Default::default() @@ -3036,9 +3066,9 @@ fn lexicon_doc_app_bsky_actor_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("birthDate"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The birth date of account owner."), - ), + description: Some(CowStr::new_static( + "The birth date of account owner.", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -3124,7 +3154,7 @@ fn lexicon_doc_app_bsky_actor_defs() -> LexiconDoc<'static> { CowStr::new_static("#labelersPref"), CowStr::new_static("#postInteractionSettingsPref"), CowStr::new_static("#verificationPrefs"), - CowStr::new_static("#liveEventPreferences") + CowStr::new_static("#liveEventPreferences"), ], ..Default::default() }), @@ -3140,9 +3170,7 @@ fn lexicon_doc_app_bsky_actor_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("activitySubscription"), LexObjectProperty::Ref(LexRef { - r#ref: CowStr::new_static( - "#profileAssociatedActivitySubscription", - ), + r#ref: CowStr::new_static("#profileAssociatedActivitySubscription"), ..Default::default() }), ); @@ -3198,7 +3226,9 @@ fn lexicon_doc_app_bsky_actor_defs() -> LexiconDoc<'static> { let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("allowSubscriptions"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map }, @@ -3214,7 +3244,9 @@ fn lexicon_doc_app_bsky_actor_defs() -> LexiconDoc<'static> { let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("allowIncoming"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map }, @@ -3224,12 +3256,10 @@ fn lexicon_doc_app_bsky_actor_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("profileAssociatedGerm"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("showButtonTo"), - SmolStr::new_static("messageMeUrl") - ], - ), + required: Some(vec![ + SmolStr::new_static("showButtonTo"), + SmolStr::new_static("messageMeUrl"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -3242,7 +3272,9 @@ fn lexicon_doc_app_bsky_actor_defs() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("showButtonTo"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map }, @@ -3252,9 +3284,10 @@ fn lexicon_doc_app_bsky_actor_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("profileView"), LexUserType::Object(LexObject { - required: Some( - vec![SmolStr::new_static("did"), SmolStr::new_static("handle")], - ), + required: Some(vec![ + SmolStr::new_static("did"), + SmolStr::new_static("handle"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -3334,7 +3367,9 @@ fn lexicon_doc_app_bsky_actor_defs() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("pronouns"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("status"), @@ -3365,9 +3400,10 @@ fn lexicon_doc_app_bsky_actor_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("profileViewBasic"), LexUserType::Object(LexObject { - required: Some( - vec![SmolStr::new_static("did"), SmolStr::new_static("handle")], - ), + required: Some(vec![ + SmolStr::new_static("did"), + SmolStr::new_static("handle"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -3432,7 +3468,9 @@ fn lexicon_doc_app_bsky_actor_defs() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("pronouns"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("status"), @@ -3463,9 +3501,10 @@ fn lexicon_doc_app_bsky_actor_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("profileViewDetailed"), LexUserType::Object(LexObject { - required: Some( - vec![SmolStr::new_static("did"), SmolStr::new_static("handle")], - ), + required: Some(vec![ + SmolStr::new_static("did"), + SmolStr::new_static("handle"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -3586,7 +3625,9 @@ fn lexicon_doc_app_bsky_actor_defs() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("pronouns"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("status"), @@ -3624,18 +3665,20 @@ fn lexicon_doc_app_bsky_actor_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("savedFeed"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("id"), SmolStr::new_static("type"), - SmolStr::new_static("value"), SmolStr::new_static("pinned") - ], - ), + required: Some(vec![ + SmolStr::new_static("id"), + SmolStr::new_static("type"), + SmolStr::new_static("value"), + SmolStr::new_static("pinned"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("id"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("pinned"), @@ -3645,11 +3688,15 @@ fn lexicon_doc_app_bsky_actor_defs() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("type"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("value"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map }, @@ -3659,9 +3706,10 @@ fn lexicon_doc_app_bsky_actor_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("savedFeedsPref"), LexUserType::Object(LexObject { - required: Some( - vec![SmolStr::new_static("pinned"), SmolStr::new_static("saved")], - ), + required: Some(vec![ + SmolStr::new_static("pinned"), + SmolStr::new_static("saved"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -3810,9 +3858,7 @@ fn lexicon_doc_app_bsky_actor_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("sort"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Sorting mode for threads."), - ), + description: Some(CowStr::new_static("Sorting mode for threads.")), ..Default::default() }), ); @@ -3824,11 +3870,9 @@ fn lexicon_doc_app_bsky_actor_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("verificationPrefs"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "Preferences for how verified accounts appear in the app.", - ), - ), + description: Some(CowStr::new_static( + "Preferences for how verified accounts appear in the app.", + )), required: Some(vec![]), properties: { #[allow(unused_mut)] @@ -3907,29 +3951,24 @@ fn lexicon_doc_app_bsky_actor_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("verificationView"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "An individual verification for an associated subject.", - ), - ), - required: Some( - vec![ - SmolStr::new_static("issuer"), SmolStr::new_static("uri"), - SmolStr::new_static("isValid"), - SmolStr::new_static("createdAt") - ], - ), + description: Some(CowStr::new_static( + "An individual verification for an associated subject.", + )), + required: Some(vec![ + SmolStr::new_static("issuer"), + SmolStr::new_static("uri"), + SmolStr::new_static("isValid"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("createdAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Timestamp when the verification was created.", - ), - ), + description: Some(CowStr::new_static( + "Timestamp when the verification was created.", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -3943,9 +3982,9 @@ fn lexicon_doc_app_bsky_actor_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("issuer"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The user who issued this verification."), - ), + description: Some(CowStr::new_static( + "The user who issued this verification.", + )), format: Some(LexStringFormat::Did), ..Default::default() }), @@ -3953,9 +3992,9 @@ fn lexicon_doc_app_bsky_actor_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("uri"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The AT-URI of the verification record."), - ), + description: Some(CowStr::new_static( + "The AT-URI of the verification record.", + )), format: Some(LexStringFormat::AtUri), ..Default::default() }), @@ -4060,7 +4099,7 @@ fn _default_feed_view_pref_hide_replies_by_unfollowed() -> Option { pub mod hidden_posts_pref_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -4147,10 +4186,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> HiddenPostsPref { + pub fn build_with_data(self, extra_data: BTreeMap>) -> HiddenPostsPref { HiddenPostsPref { items: self._fields.0.unwrap(), extra_data: Some(extra_data), @@ -4160,7 +4196,7 @@ where pub mod interests_pref_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -4247,10 +4283,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> InterestsPref { + pub fn build_with_data(self, extra_data: BTreeMap>) -> InterestsPref { InterestsPref { tags: self._fields.0.unwrap(), extra_data: Some(extra_data), @@ -4260,7 +4293,7 @@ where pub mod known_followers_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -4380,10 +4413,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> KnownFollowers { + pub fn build_with_data(self, extra_data: BTreeMap>) -> KnownFollowers { KnownFollowers { count: self._fields.0.unwrap(), followers: self._fields.1.unwrap(), @@ -4394,7 +4424,7 @@ where pub mod labeler_pref_item_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -4481,10 +4511,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> LabelerPrefItem { + pub fn build_with_data(self, extra_data: BTreeMap>) -> LabelerPrefItem { LabelerPrefItem { did: self._fields.0.unwrap(), extra_data: Some(extra_data), @@ -4494,7 +4521,7 @@ where pub mod labelers_pref_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -4581,10 +4608,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> LabelersPref { + pub fn build_with_data(self, extra_data: BTreeMap>) -> LabelersPref { LabelersPref { labelers: self._fields.0.unwrap(), extra_data: Some(extra_data), @@ -4608,7 +4632,7 @@ impl Default for LiveEventPreferences { pub mod muted_word_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -4683,10 +4707,7 @@ impl MutedWordBuilder { impl MutedWordBuilder { /// Set the `actorTarget` field (optional) - pub fn actor_target( - mut self, - value: impl Into>>, - ) -> Self { + pub fn actor_target(mut self, value: impl Into>>) -> Self { self._fields.0 = value.into(); self } @@ -4779,10 +4800,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> MutedWord { + pub fn build_with_data(self, extra_data: BTreeMap>) -> MutedWord { MutedWord { actor_target: self._fields.0, expires_at: self._fields.1, @@ -4796,7 +4814,7 @@ where pub mod muted_words_pref_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -4883,10 +4901,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> MutedWordsPref { + pub fn build_with_data(self, extra_data: BTreeMap>) -> MutedWordsPref { MutedWordsPref { items: self._fields.0.unwrap(), extra_data: Some(extra_data), @@ -4900,7 +4915,7 @@ fn _default_nux_completed() -> bool { pub mod nux_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -5058,7 +5073,7 @@ where pub mod profile_associated_germ_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -5101,21 +5116,18 @@ pub mod profile_associated_germ_state { } /// Builder for constructing an instance of this type. -pub struct ProfileAssociatedGermBuilder< - S: BosStr, - St: profile_associated_germ_state::State, -> { +pub struct ProfileAssociatedGermBuilder { _state: PhantomData St>, - _fields: (Option>, Option>), + _fields: ( + Option>, + Option>, + ), _type: PhantomData S>, } impl ProfileAssociatedGerm { /// Create a new builder for this type. - pub fn new() -> ProfileAssociatedGermBuilder< - S, - profile_associated_germ_state::Empty, - > { + pub fn new() -> ProfileAssociatedGermBuilder { ProfileAssociatedGermBuilder::new() } } @@ -5140,10 +5152,7 @@ where pub fn message_me_url( mut self, value: impl Into>, - ) -> ProfileAssociatedGermBuilder< - S, - profile_associated_germ_state::SetMessageMeUrl, - > { + ) -> ProfileAssociatedGermBuilder> { self._fields.0 = Option::Some(value.into()); ProfileAssociatedGermBuilder { _state: PhantomData, @@ -5162,10 +5171,7 @@ where pub fn show_button_to( mut self, value: impl Into>, - ) -> ProfileAssociatedGermBuilder< - S, - profile_associated_germ_state::SetShowButtonTo, - > { + ) -> ProfileAssociatedGermBuilder> { self._fields.1 = Option::Some(value.into()); ProfileAssociatedGermBuilder { _state: PhantomData, @@ -5204,7 +5210,7 @@ where pub mod profile_view_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -5281,20 +5287,7 @@ impl ProfileViewBuilder { ProfileViewBuilder { _state: PhantomData, _fields: ( - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, ), _type: PhantomData, } @@ -5303,18 +5296,12 @@ impl ProfileViewBuilder { impl ProfileViewBuilder { /// Set the `associated` field (optional) - pub fn associated( - mut self, - value: impl Into>>, - ) -> Self { + pub fn associated(mut self, value: impl Into>>) -> Self { self._fields.0 = value.into(); self } /// Set the `associated` field to an Option value (optional) - pub fn maybe_associated( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_associated(mut self, value: Option>) -> Self { self._fields.0 = value; self } @@ -5477,18 +5464,12 @@ impl ProfileViewBuilder { impl ProfileViewBuilder { /// Set the `verification` field (optional) - pub fn verification( - mut self, - value: impl Into>>, - ) -> Self { + pub fn verification(mut self, value: impl Into>>) -> Self { self._fields.12 = value.into(); self } /// Set the `verification` field to an Option value (optional) - pub fn maybe_verification( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_verification(mut self, value: Option>) -> Self { self._fields.12 = value; self } @@ -5534,10 +5515,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> ProfileView { + pub fn build_with_data(self, extra_data: BTreeMap>) -> ProfileView { ProfileView { associated: self._fields.0, avatar: self._fields.1, @@ -5560,7 +5538,7 @@ where pub mod profile_view_basic_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -5635,18 +5613,7 @@ impl ProfileViewBasicBuilder { ProfileViewBasicBuilder { _state: PhantomData, _fields: ( - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, + None, None, None, None, None, None, None, None, None, None, None, None, ), _type: PhantomData, } @@ -5655,18 +5622,12 @@ impl ProfileViewBasicBuilder { impl ProfileViewBasicBuilder { /// Set the `associated` field (optional) - pub fn associated( - mut self, - value: impl Into>>, - ) -> Self { + pub fn associated(mut self, value: impl Into>>) -> Self { self._fields.0 = value.into(); self } /// Set the `associated` field to an Option value (optional) - pub fn maybe_associated( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_associated(mut self, value: Option>) -> Self { self._fields.0 = value; self } @@ -5803,18 +5764,12 @@ impl ProfileViewBasicBuilder ProfileViewBasicBuilder { /// Set the `verification` field (optional) - pub fn verification( - mut self, - value: impl Into>>, - ) -> Self { + pub fn verification(mut self, value: impl Into>>) -> Self { self._fields.10 = value.into(); self } /// Set the `verification` field to an Option value (optional) - pub fn maybe_verification( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_verification(mut self, value: Option>) -> Self { self._fields.10 = value; self } @@ -5858,10 +5813,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> ProfileViewBasic { + pub fn build_with_data(self, extra_data: BTreeMap>) -> ProfileViewBasic { ProfileViewBasic { associated: self._fields.0, avatar: self._fields.1, @@ -5882,7 +5834,7 @@ where pub mod profile_view_detailed_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -5925,10 +5877,7 @@ pub mod profile_view_detailed_state { } /// Builder for constructing an instance of this type. -pub struct ProfileViewDetailedBuilder< - S: BosStr, - St: profile_view_detailed_state::State, -> { +pub struct ProfileViewDetailedBuilder { _state: PhantomData St>, _fields: ( Option>, @@ -5969,59 +5918,28 @@ impl ProfileViewDetailedBuilder ProfileViewDetailedBuilder { +impl ProfileViewDetailedBuilder { /// Set the `associated` field (optional) - pub fn associated( - mut self, - value: impl Into>>, - ) -> Self { + pub fn associated(mut self, value: impl Into>>) -> Self { self._fields.0 = value.into(); self } /// Set the `associated` field to an Option value (optional) - pub fn maybe_associated( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_associated(mut self, value: Option>) -> Self { self._fields.0 = value; self } } -impl< - S: BosStr, - St: profile_view_detailed_state::State, -> ProfileViewDetailedBuilder { +impl ProfileViewDetailedBuilder { /// Set the `avatar` field (optional) pub fn avatar(mut self, value: impl Into>>) -> Self { self._fields.1 = value.into(); @@ -6034,10 +5952,7 @@ impl< } } -impl< - S: BosStr, - St: profile_view_detailed_state::State, -> ProfileViewDetailedBuilder { +impl ProfileViewDetailedBuilder { /// Set the `banner` field (optional) pub fn banner(mut self, value: impl Into>>) -> Self { self._fields.2 = value.into(); @@ -6050,10 +5965,7 @@ impl< } } -impl< - S: BosStr, - St: profile_view_detailed_state::State, -> ProfileViewDetailedBuilder { +impl ProfileViewDetailedBuilder { /// Set the `createdAt` field (optional) pub fn created_at(mut self, value: impl Into>) -> Self { self._fields.3 = value.into(); @@ -6066,10 +5978,7 @@ impl< } } -impl< - S: BosStr, - St: profile_view_detailed_state::State, -> ProfileViewDetailedBuilder { +impl ProfileViewDetailedBuilder { /// Set the `debug` field (optional) pub fn debug(mut self, value: impl Into>>) -> Self { self._fields.4 = value.into(); @@ -6082,10 +5991,7 @@ impl< } } -impl< - S: BosStr, - St: profile_view_detailed_state::State, -> ProfileViewDetailedBuilder { +impl ProfileViewDetailedBuilder { /// Set the `description` field (optional) pub fn description(mut self, value: impl Into>) -> Self { self._fields.5 = value.into(); @@ -6117,10 +6023,7 @@ where } } -impl< - S: BosStr, - St: profile_view_detailed_state::State, -> ProfileViewDetailedBuilder { +impl ProfileViewDetailedBuilder { /// Set the `displayName` field (optional) pub fn display_name(mut self, value: impl Into>) -> Self { self._fields.7 = value.into(); @@ -6133,10 +6036,7 @@ impl< } } -impl< - S: BosStr, - St: profile_view_detailed_state::State, -> ProfileViewDetailedBuilder { +impl ProfileViewDetailedBuilder { /// Set the `followersCount` field (optional) pub fn followers_count(mut self, value: impl Into>) -> Self { self._fields.8 = value.into(); @@ -6149,10 +6049,7 @@ impl< } } -impl< - S: BosStr, - St: profile_view_detailed_state::State, -> ProfileViewDetailedBuilder { +impl ProfileViewDetailedBuilder { /// Set the `followsCount` field (optional) pub fn follows_count(mut self, value: impl Into>) -> Self { self._fields.9 = value.into(); @@ -6184,10 +6081,7 @@ where } } -impl< - S: BosStr, - St: profile_view_detailed_state::State, -> ProfileViewDetailedBuilder { +impl ProfileViewDetailedBuilder { /// Set the `indexedAt` field (optional) pub fn indexed_at(mut self, value: impl Into>) -> Self { self._fields.11 = value.into(); @@ -6200,10 +6094,7 @@ impl< } } -impl< - S: BosStr, - St: profile_view_detailed_state::State, -> ProfileViewDetailedBuilder { +impl ProfileViewDetailedBuilder { /// Set the `joinedViaStarterPack` field (optional) pub fn joined_via_starter_pack( mut self, @@ -6213,19 +6104,13 @@ impl< self } /// Set the `joinedViaStarterPack` field to an Option value (optional) - pub fn maybe_joined_via_starter_pack( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_joined_via_starter_pack(mut self, value: Option>) -> Self { self._fields.12 = value; self } } -impl< - S: BosStr, - St: profile_view_detailed_state::State, -> ProfileViewDetailedBuilder { +impl ProfileViewDetailedBuilder { /// Set the `labels` field (optional) pub fn labels(mut self, value: impl Into>>>) -> Self { self._fields.13 = value.into(); @@ -6238,10 +6123,7 @@ impl< } } -impl< - S: BosStr, - St: profile_view_detailed_state::State, -> ProfileViewDetailedBuilder { +impl ProfileViewDetailedBuilder { /// Set the `pinnedPost` field (optional) pub fn pinned_post(mut self, value: impl Into>>) -> Self { self._fields.14 = value.into(); @@ -6254,10 +6136,7 @@ impl< } } -impl< - S: BosStr, - St: profile_view_detailed_state::State, -> ProfileViewDetailedBuilder { +impl ProfileViewDetailedBuilder { /// Set the `postsCount` field (optional) pub fn posts_count(mut self, value: impl Into>) -> Self { self._fields.15 = value.into(); @@ -6270,10 +6149,7 @@ impl< } } -impl< - S: BosStr, - St: profile_view_detailed_state::State, -> ProfileViewDetailedBuilder { +impl ProfileViewDetailedBuilder { /// Set the `pronouns` field (optional) pub fn pronouns(mut self, value: impl Into>) -> Self { self._fields.16 = value.into(); @@ -6286,10 +6162,7 @@ impl< } } -impl< - S: BosStr, - St: profile_view_detailed_state::State, -> ProfileViewDetailedBuilder { +impl ProfileViewDetailedBuilder { /// Set the `status` field (optional) pub fn status(mut self, value: impl Into>>) -> Self { self._fields.17 = value.into(); @@ -6302,32 +6175,20 @@ impl< } } -impl< - S: BosStr, - St: profile_view_detailed_state::State, -> ProfileViewDetailedBuilder { +impl ProfileViewDetailedBuilder { /// Set the `verification` field (optional) - pub fn verification( - mut self, - value: impl Into>>, - ) -> Self { + pub fn verification(mut self, value: impl Into>>) -> Self { self._fields.18 = value.into(); self } /// Set the `verification` field to an Option value (optional) - pub fn maybe_verification( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_verification(mut self, value: Option>) -> Self { self._fields.18 = value; self } } -impl< - S: BosStr, - St: profile_view_detailed_state::State, -> ProfileViewDetailedBuilder { +impl ProfileViewDetailedBuilder { /// Set the `viewer` field (optional) pub fn viewer(mut self, value: impl Into>>) -> Self { self._fields.19 = value.into(); @@ -6340,10 +6201,7 @@ impl< } } -impl< - S: BosStr, - St: profile_view_detailed_state::State, -> ProfileViewDetailedBuilder { +impl ProfileViewDetailedBuilder { /// Set the `website` field (optional) pub fn website(mut self, value: impl Into>>) -> Self { self._fields.20 = value.into(); @@ -6390,10 +6248,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> ProfileViewDetailed { + pub fn build_with_data(self, extra_data: BTreeMap>) -> ProfileViewDetailed { ProfileViewDetailed { associated: self._fields.0, avatar: self._fields.1, @@ -6423,7 +6278,7 @@ where pub mod saved_feed_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -6526,10 +6381,7 @@ where St::Id: saved_feed_state::IsUnset, { /// Set the `id` field (required) - pub fn id( - mut self, - value: impl Into, - ) -> SavedFeedBuilder> { + pub fn id(mut self, value: impl Into) -> SavedFeedBuilder> { self._fields.0 = Option::Some(value.into()); SavedFeedBuilder { _state: PhantomData, @@ -6615,10 +6467,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> SavedFeed { + pub fn build_with_data(self, extra_data: BTreeMap>) -> SavedFeed { SavedFeed { id: self._fields.0.unwrap(), pinned: self._fields.1.unwrap(), @@ -6631,7 +6480,7 @@ where pub mod saved_feeds_pref_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -6765,10 +6614,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> SavedFeedsPref { + pub fn build_with_data(self, extra_data: BTreeMap>) -> SavedFeedsPref { SavedFeedsPref { pinned: self._fields.0.unwrap(), saved: self._fields.1.unwrap(), @@ -6780,7 +6626,7 @@ where pub mod saved_feeds_pref_v2_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -6867,10 +6713,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> SavedFeedsPrefV2 { + pub fn build_with_data(self, extra_data: BTreeMap>) -> SavedFeedsPrefV2 { SavedFeedsPrefV2 { items: self._fields.0.unwrap(), extra_data: Some(extra_data), @@ -6880,7 +6723,7 @@ where pub mod status_view_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -7093,10 +6936,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> StatusView { + pub fn build_with_data(self, extra_data: BTreeMap>) -> StatusView { StatusView { cid: self._fields.0, embed: self._fields.1, @@ -7126,7 +6966,7 @@ impl Default for VerificationPrefs { pub mod verification_state_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -7220,10 +7060,7 @@ where pub fn trusted_verifier_status( mut self, value: impl Into>, - ) -> VerificationStateBuilder< - S, - verification_state_state::SetTrustedVerifierStatus, - > { + ) -> VerificationStateBuilder> { self._fields.0 = Option::Some(value.into()); VerificationStateBuilder { _state: PhantomData, @@ -7288,10 +7125,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> VerificationState { + pub fn build_with_data(self, extra_data: BTreeMap>) -> VerificationState { VerificationState { trusted_verifier_status: self._fields.0.unwrap(), verifications: self._fields.1.unwrap(), @@ -7303,7 +7137,7 @@ where pub mod verification_view_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -7378,7 +7212,12 @@ pub mod verification_view_state { /// Builder for constructing an instance of this type. pub struct VerificationViewBuilder { _state: PhantomData St>, - _fields: (Option, Option, Option>, Option>), + _fields: ( + Option, + Option, + Option>, + Option>, + ), _type: PhantomData S>, } @@ -7495,10 +7334,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> VerificationView { + pub fn build_with_data(self, extra_data: BTreeMap>) -> VerificationView { VerificationView { created_at: self._fields.0.unwrap(), is_valid: self._fields.1.unwrap(), @@ -7507,4 +7343,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/actor/get_preferences.rs b/crates/jacquard-api/src/app_bsky/actor/get_preferences.rs index e85e2b47..3587b034 100644 --- a/crates/jacquard-api/src/app_bsky/actor/get_preferences.rs +++ b/crates/jacquard-api/src/app_bsky/actor/get_preferences.rs @@ -8,21 +8,24 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_bsky::actor::Preferences; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::actor::Preferences; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(rename_all = "camelCase")] pub struct GetPreferences; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetPreferencesOutput { pub preferences: Preferences, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -51,4 +54,4 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetPreferencesRequest { const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Query; type Request = GetPreferences; type Response = GetPreferencesResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/actor/get_profile.rs b/crates/jacquard-api/src/app_bsky/actor/get_profile.rs index 330b8b80..520f19e5 100644 --- a/crates/jacquard-api/src/app_bsky/actor/get_profile.rs +++ b/crates/jacquard-api/src/app_bsky/actor/get_profile.rs @@ -8,25 +8,30 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_bsky::actor::ProfileViewDetailed; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::ident::AtIdentifier; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::actor::ProfileViewDetailed; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetProfile { pub actor: AtIdentifier, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetProfileOutput { #[serde(flatten)] pub value: ProfileViewDetailed, @@ -60,7 +65,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetProfileRequest { pub mod get_profile_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -145,4 +150,4 @@ where actor: self._fields.0.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/actor/get_profiles.rs b/crates/jacquard-api/src/app_bsky/actor/get_profiles.rs index e913324b..1a153ae2 100644 --- a/crates/jacquard-api/src/app_bsky/actor/get_profiles.rs +++ b/crates/jacquard-api/src/app_bsky/actor/get_profiles.rs @@ -8,25 +8,30 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_bsky::actor::ProfileViewDetailed; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::ident::AtIdentifier; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::actor::ProfileViewDetailed; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetProfiles { pub actors: Vec>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetProfilesOutput { pub profiles: Vec>, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -59,7 +64,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetProfilesRequest { pub mod get_profiles_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -144,4 +149,4 @@ where actors: self._fields.0.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/actor/get_suggestions.rs b/crates/jacquard-api/src/app_bsky/actor/get_suggestions.rs index 42222d7b..86499259 100644 --- a/crates/jacquard-api/src/app_bsky/actor/get_suggestions.rs +++ b/crates/jacquard-api/src/app_bsky/actor/get_suggestions.rs @@ -8,17 +8,20 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_bsky::actor::ProfileView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::actor::ProfileView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetSuggestions { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -28,9 +31,11 @@ pub struct GetSuggestions { pub limit: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetSuggestionsOutput { pub actors: Vec>, #[serde(skip_serializing_if = "Option::is_none")] @@ -75,7 +80,7 @@ fn _default_limit() -> Option { pub mod get_suggestions_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -154,4 +159,4 @@ where limit: self._fields.1, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/actor/profile.rs b/crates/jacquard-api/src/app_bsky/actor/profile.rs index e7b396f1..32f62008 100644 --- a/crates/jacquard-api/src/app_bsky/actor/profile.rs +++ b/crates/jacquard-api/src/app_bsky/actor/profile.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -25,11 +25,11 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::com_atproto::label::SelfLabels; use crate::com_atproto::repo::strong_ref::StrongRef; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; /// A declaration of a Bluesky account profile. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -140,25 +140,20 @@ impl LexiconSchema for Profile { { let mime = value.blob().mime_type.as_str(); let accepted: &[&str] = &["image/png", "image/jpeg"]; - let matched = accepted - .iter() - .any(|pattern| { - if *pattern == "*/*" { - true - } else if pattern.ends_with("/*") { - let prefix = &pattern[..pattern.len() - 2]; - mime.starts_with(prefix) - && mime.as_bytes().get(prefix.len()) == Some(&b'/') - } else { - mime == *pattern - } - }); + let matched = accepted.iter().any(|pattern| { + if *pattern == "*/*" { + true + } else if pattern.ends_with("/*") { + let prefix = &pattern[..pattern.len() - 2]; + mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/') + } else { + mime == *pattern + } + }); if !matched { return Err(ConstraintError::BlobMimeTypeNotAccepted { path: ValidationPath::from_field("avatar"), - accepted: vec![ - "image/png".to_string(), "image/jpeg".to_string() - ], + accepted: vec!["image/png".to_string(), "image/jpeg".to_string()], actual: mime.to_string(), }); } @@ -180,25 +175,20 @@ impl LexiconSchema for Profile { { let mime = value.blob().mime_type.as_str(); let accepted: &[&str] = &["image/png", "image/jpeg"]; - let matched = accepted - .iter() - .any(|pattern| { - if *pattern == "*/*" { - true - } else if pattern.ends_with("/*") { - let prefix = &pattern[..pattern.len() - 2]; - mime.starts_with(prefix) - && mime.as_bytes().get(prefix.len()) == Some(&b'/') - } else { - mime == *pattern - } - }); + let matched = accepted.iter().any(|pattern| { + if *pattern == "*/*" { + true + } else if pattern.ends_with("/*") { + let prefix = &pattern[..pattern.len() - 2]; + mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/') + } else { + mime == *pattern + } + }); if !matched { return Err(ConstraintError::BlobMimeTypeNotAccepted { path: ValidationPath::from_field("banner"), - accepted: vec![ - "image/png".to_string(), "image/jpeg".to_string() - ], + accepted: vec!["image/png".to_string(), "image/jpeg".to_string()], actual: mime.to_string(), }); } @@ -276,7 +266,7 @@ impl LexiconSchema for Profile { pub mod profile_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -396,10 +386,7 @@ impl ProfileBuilder { impl ProfileBuilder { /// Set the `joinedViaStarterPack` field (optional) - pub fn joined_via_starter_pack( - mut self, - value: impl Into>>, - ) -> Self { + pub fn joined_via_starter_pack(mut self, value: impl Into>>) -> Self { self._fields.5 = value.into(); self } @@ -501,10 +488,10 @@ where } fn lexicon_doc_app_bsky_actor_profile() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.bsky.actor.profile"), @@ -612,4 +599,4 @@ fn lexicon_doc_app_bsky_actor_profile() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/actor/put_preferences.rs b/crates/jacquard-api/src/app_bsky/actor/put_preferences.rs index a9c8e8a7..c0d8dc5b 100644 --- a/crates/jacquard-api/src/app_bsky/actor/put_preferences.rs +++ b/crates/jacquard-api/src/app_bsky/actor/put_preferences.rs @@ -8,17 +8,20 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_bsky::actor::Preferences; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::actor::Preferences; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct PutPreferences { pub preferences: Preferences, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -36,9 +39,8 @@ impl jacquard_common::xrpc::XrpcResp for PutPreferencesResponse { impl jacquard_common::xrpc::XrpcRequest for PutPreferences { const NSID: &'static str = "app.bsky.actor.putPreferences"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = PutPreferencesResponse; } @@ -46,16 +48,15 @@ impl jacquard_common::xrpc::XrpcRequest for PutPreferences { pub struct PutPreferencesRequest; impl jacquard_common::xrpc::XrpcEndpoint for PutPreferencesRequest { const PATH: &'static str = "/xrpc/app.bsky.actor.putPreferences"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = PutPreferences; type Response = PutPreferencesResponse; } pub mod put_preferences_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -142,13 +143,10 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> PutPreferences { + pub fn build_with_data(self, extra_data: BTreeMap>) -> PutPreferences { PutPreferences { preferences: self._fields.0.unwrap(), extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/actor/search_actors.rs b/crates/jacquard-api/src/app_bsky/actor/search_actors.rs index 393d9577..f809a756 100644 --- a/crates/jacquard-api/src/app_bsky/actor/search_actors.rs +++ b/crates/jacquard-api/src/app_bsky/actor/search_actors.rs @@ -8,17 +8,20 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_bsky::actor::ProfileView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::actor::ProfileView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct SearchActors { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -32,9 +35,11 @@ pub struct SearchActors { pub term: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct SearchActorsOutput { pub actors: Vec>, #[serde(skip_serializing_if = "Option::is_none")] @@ -73,7 +78,7 @@ fn _default_limit() -> Option { pub mod search_actors_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -180,4 +185,4 @@ where term: self._fields.3, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/actor/search_actors_typeahead.rs b/crates/jacquard-api/src/app_bsky/actor/search_actors_typeahead.rs index 25c20515..3c8f0b0f 100644 --- a/crates/jacquard-api/src/app_bsky/actor/search_actors_typeahead.rs +++ b/crates/jacquard-api/src/app_bsky/actor/search_actors_typeahead.rs @@ -8,17 +8,20 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_bsky::actor::ProfileViewBasic; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::actor::ProfileViewBasic; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct SearchActorsTypeahead { ///Defaults to `10`. Min: 1. Max: 100. #[serde(default = "_default_limit")] @@ -30,9 +33,11 @@ pub struct SearchActorsTypeahead { pub term: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct SearchActorsTypeaheadOutput { pub actors: Vec>, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -69,7 +74,7 @@ fn _default_limit() -> Option { pub mod search_actors_typeahead_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -87,10 +92,7 @@ pub mod search_actors_typeahead_state { } /// Builder for constructing an instance of this type. -pub struct SearchActorsTypeaheadBuilder< - S: BosStr, - St: search_actors_typeahead_state::State, -> { +pub struct SearchActorsTypeaheadBuilder { _state: PhantomData St>, _fields: (Option, Option, Option), _type: PhantomData S>, @@ -98,10 +100,7 @@ pub struct SearchActorsTypeaheadBuilder< impl SearchActorsTypeahead { /// Create a new builder for this type. - pub fn new() -> SearchActorsTypeaheadBuilder< - S, - search_actors_typeahead_state::Empty, - > { + pub fn new() -> SearchActorsTypeaheadBuilder { SearchActorsTypeaheadBuilder::new() } } @@ -117,10 +116,7 @@ impl SearchActorsTypeaheadBuilder SearchActorsTypeaheadBuilder { +impl SearchActorsTypeaheadBuilder { /// Set the `limit` field (optional) pub fn limit(mut self, value: impl Into>) -> Self { self._fields.0 = value.into(); @@ -133,10 +129,7 @@ impl< } } -impl< - S: BosStr, - St: search_actors_typeahead_state::State, -> SearchActorsTypeaheadBuilder { +impl SearchActorsTypeaheadBuilder { /// Set the `q` field (optional) pub fn q(mut self, value: impl Into>) -> Self { self._fields.1 = value.into(); @@ -149,10 +142,7 @@ impl< } } -impl< - S: BosStr, - St: search_actors_typeahead_state::State, -> SearchActorsTypeaheadBuilder { +impl SearchActorsTypeaheadBuilder { /// Set the `term` field (optional) pub fn term(mut self, value: impl Into>) -> Self { self._fields.2 = value.into(); @@ -177,4 +167,4 @@ where term: self._fields.2, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/actor/status.rs b/crates/jacquard-api/src/app_bsky/actor/status.rs index d24fe1ac..5ee55df6 100644 --- a/crates/jacquard-api/src/app_bsky/actor/status.rs +++ b/crates/jacquard-api/src/app_bsky/actor/status.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::app_bsky::embed::external::ExternalRecord; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::embed::external::ExternalRecord; +use serde::{Deserialize, Serialize}; /// Advertises an account as currently offering live content. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Hash)] @@ -206,7 +206,7 @@ impl LexiconSchema for Status { pub mod status_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -371,10 +371,10 @@ where } fn lexicon_doc_app_bsky_actor_status() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.bsky.actor.status"), @@ -382,22 +382,22 @@ fn lexicon_doc_app_bsky_actor_status() -> LexiconDoc<'static> { let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("live"), - LexUserType::Token(LexToken { ..Default::default() }), + LexUserType::Token(LexToken { + ..Default::default() + }), ); map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static("A declaration of a Bluesky account status."), - ), + description: Some(CowStr::new_static( + "A declaration of a Bluesky account status.", + )), key: Some(CowStr::new_static("literal:self")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("status"), - SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("status"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -418,11 +418,9 @@ fn lexicon_doc_app_bsky_actor_status() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("embed"), LexObjectProperty::Union(LexRefUnion { - description: Some( - CowStr::new_static( - "An optional embed associated with the status.", - ), - ), + description: Some(CowStr::new_static( + "An optional embed associated with the status.", + )), refs: vec![CowStr::new_static("app.bsky.embed.external")], ..Default::default() }), @@ -430,9 +428,9 @@ fn lexicon_doc_app_bsky_actor_status() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("status"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The status for the account."), - ), + description: Some(CowStr::new_static( + "The status for the account.", + )), ..Default::default() }), ); @@ -447,4 +445,4 @@ fn lexicon_doc_app_bsky_actor_status() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/ageassurance.rs b/crates/jacquard-api/src/app_bsky/ageassurance.rs index bd0e79df..bc590099 100644 --- a/crates/jacquard-api/src/app_bsky/ageassurance.rs +++ b/crates/jacquard-api/src/app_bsky/ageassurance.rs @@ -9,13 +9,12 @@ pub mod begin; pub mod get_config; pub mod get_state; - #[allow(unused_imports)] use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,10 +25,10 @@ use jacquard_derive::{IntoStatic, open_union}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::app_bsky::ageassurance; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::ageassurance; +use serde::{Deserialize, Serialize}; /// The access level granted based on Age Assurance data we've processed. #[derive(Debug, Clone, PartialEq, Eq, Hash)] @@ -114,7 +113,10 @@ where /// #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Config { ///The per-region Age Assurance configuration. pub regions: Vec>, @@ -125,7 +127,10 @@ pub struct Config { /// The Age Assurance configuration for a specific region. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ConfigRegion { ///The ISO 3166-1 alpha-2 country code this configuration applies to. pub country_code: S, @@ -140,7 +145,6 @@ pub struct ConfigRegion { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -148,35 +152,26 @@ pub enum ConfigRegionRulesItem { #[serde(rename = "app.bsky.ageassurance.defs#configRegionRuleDefault")] ConfigRegionRuleDefault(Box>), #[serde(rename = "app.bsky.ageassurance.defs#configRegionRuleIfDeclaredOverAge")] - ConfigRegionRuleIfDeclaredOverAge( - Box>, - ), + ConfigRegionRuleIfDeclaredOverAge(Box>), #[serde(rename = "app.bsky.ageassurance.defs#configRegionRuleIfDeclaredUnderAge")] - ConfigRegionRuleIfDeclaredUnderAge( - Box>, - ), + ConfigRegionRuleIfDeclaredUnderAge(Box>), #[serde(rename = "app.bsky.ageassurance.defs#configRegionRuleIfAssuredOverAge")] - ConfigRegionRuleIfAssuredOverAge( - Box>, - ), + ConfigRegionRuleIfAssuredOverAge(Box>), #[serde(rename = "app.bsky.ageassurance.defs#configRegionRuleIfAssuredUnderAge")] - ConfigRegionRuleIfAssuredUnderAge( - Box>, - ), + ConfigRegionRuleIfAssuredUnderAge(Box>), #[serde(rename = "app.bsky.ageassurance.defs#configRegionRuleIfAccountNewerThan")] - ConfigRegionRuleIfAccountNewerThan( - Box>, - ), + ConfigRegionRuleIfAccountNewerThan(Box>), #[serde(rename = "app.bsky.ageassurance.defs#configRegionRuleIfAccountOlderThan")] - ConfigRegionRuleIfAccountOlderThan( - Box>, - ), + ConfigRegionRuleIfAccountOlderThan(Box>), } /// Age Assurance rule that applies by default. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ConfigRegionRuleDefault { pub access: ageassurance::Access, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -186,7 +181,10 @@ pub struct ConfigRegionRuleDefault { /// Age Assurance rule that applies if the account is equal-to or newer than a certain date. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ConfigRegionRuleIfAccountNewerThan { pub access: ageassurance::Access, ///The date threshold as a datetime string. @@ -198,7 +196,10 @@ pub struct ConfigRegionRuleIfAccountNewerThan { /// Age Assurance rule that applies if the account is older than a certain date. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ConfigRegionRuleIfAccountOlderThan { pub access: ageassurance::Access, ///The date threshold as a datetime string. @@ -210,7 +211,10 @@ pub struct ConfigRegionRuleIfAccountOlderThan { /// Age Assurance rule that applies if the user has been assured to be equal-to or over a certain age. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ConfigRegionRuleIfAssuredOverAge { pub access: ageassurance::Access, ///The age threshold as a whole integer. @@ -222,7 +226,10 @@ pub struct ConfigRegionRuleIfAssuredOverAge { /// Age Assurance rule that applies if the user has been assured to be under a certain age. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ConfigRegionRuleIfAssuredUnderAge { pub access: ageassurance::Access, ///The age threshold as a whole integer. @@ -234,7 +241,10 @@ pub struct ConfigRegionRuleIfAssuredUnderAge { /// Age Assurance rule that applies if the user has declared themselves equal-to or over a certain age. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ConfigRegionRuleIfDeclaredOverAge { pub access: ageassurance::Access, ///The age threshold as a whole integer. @@ -246,7 +256,10 @@ pub struct ConfigRegionRuleIfDeclaredOverAge { /// Age Assurance rule that applies if the user has declared themselves under a certain age. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ConfigRegionRuleIfDeclaredUnderAge { pub access: ageassurance::Access, ///The age threshold as a whole integer. @@ -258,7 +271,10 @@ pub struct ConfigRegionRuleIfDeclaredUnderAge { /// Object used to store Age Assurance data in stash. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Event { ///The access level granted based on Age Assurance data we've processed. pub access: EventAccess, @@ -469,7 +485,10 @@ where /// The user's computed Age Assurance state. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct State { pub access: ageassurance::Access, ///The timestamp when this state was last updated. @@ -483,7 +502,10 @@ pub struct State { /// Additional metadata needed to compute Age Assurance state client-side. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct StateMetadata { ///The account creation timestamp. #[serde(skip_serializing_if = "Option::is_none")] @@ -755,7 +777,7 @@ impl LexiconSchema for StateMetadata { pub mod config_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -851,10 +873,10 @@ where } fn lexicon_doc_app_bsky_ageassurance_defs() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.bsky.ageassurance.defs"), @@ -863,11 +885,9 @@ fn lexicon_doc_app_bsky_ageassurance_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("access"), LexUserType::String(LexString { - description: Some( - CowStr::new_static( - "The access level granted based on Age Assurance data we've processed.", - ), - ), + description: Some(CowStr::new_static( + "The access level granted based on Age Assurance data we've processed.", + )), ..Default::default() }), ); @@ -882,11 +902,9 @@ fn lexicon_doc_app_bsky_ageassurance_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("regions"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static( - "The per-region Age Assurance configuration.", - ), - ), + description: Some(CowStr::new_static( + "The per-region Age Assurance configuration.", + )), items: LexArrayItem::Ref(LexRef { r#ref: CowStr::new_static( "app.bsky.ageassurance.defs#configRegion", @@ -978,9 +996,9 @@ fn lexicon_doc_app_bsky_ageassurance_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("configRegionRuleDefault"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("Age Assurance rule that applies by default."), - ), + description: Some(CowStr::new_static( + "Age Assurance rule that applies by default.", + )), required: Some(vec![SmolStr::new_static("access")]), properties: { #[allow(unused_mut)] @@ -988,9 +1006,7 @@ fn lexicon_doc_app_bsky_ageassurance_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("access"), LexObjectProperty::Ref(LexRef { - r#ref: CowStr::new_static( - "app.bsky.ageassurance.defs#access", - ), + r#ref: CowStr::new_static("app.bsky.ageassurance.defs#access"), ..Default::default() }), ); @@ -1362,34 +1378,29 @@ fn lexicon_doc_app_bsky_ageassurance_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("state"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("The user's computed Age Assurance state."), - ), - required: Some( - vec![ - SmolStr::new_static("status"), SmolStr::new_static("access") - ], - ), + description: Some(CowStr::new_static( + "The user's computed Age Assurance state.", + )), + required: Some(vec![ + SmolStr::new_static("status"), + SmolStr::new_static("access"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("access"), LexObjectProperty::Ref(LexRef { - r#ref: CowStr::new_static( - "app.bsky.ageassurance.defs#access", - ), + r#ref: CowStr::new_static("app.bsky.ageassurance.defs#access"), ..Default::default() }), ); map.insert( SmolStr::new_static("lastInitiatedAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "The timestamp when this state was last updated.", - ), - ), + description: Some(CowStr::new_static( + "The timestamp when this state was last updated.", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -1397,9 +1408,7 @@ fn lexicon_doc_app_bsky_ageassurance_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("status"), LexObjectProperty::Ref(LexRef { - r#ref: CowStr::new_static( - "app.bsky.ageassurance.defs#status", - ), + r#ref: CowStr::new_static("app.bsky.ageassurance.defs#status"), ..Default::default() }), ); @@ -1411,11 +1420,9 @@ fn lexicon_doc_app_bsky_ageassurance_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("stateMetadata"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "Additional metadata needed to compute Age Assurance state client-side.", - ), - ), + description: Some(CowStr::new_static( + "Additional metadata needed to compute Age Assurance state client-side.", + )), required: Some(vec![]), properties: { #[allow(unused_mut)] @@ -1423,9 +1430,9 @@ fn lexicon_doc_app_bsky_ageassurance_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("accountCreatedAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The account creation timestamp."), - ), + description: Some(CowStr::new_static( + "The account creation timestamp.", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -1438,9 +1445,9 @@ fn lexicon_doc_app_bsky_ageassurance_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("status"), LexUserType::String(LexString { - description: Some( - CowStr::new_static("The status of the Age Assurance process."), - ), + description: Some(CowStr::new_static( + "The status of the Age Assurance process.", + )), ..Default::default() }), ); @@ -1452,7 +1459,7 @@ fn lexicon_doc_app_bsky_ageassurance_defs() -> LexiconDoc<'static> { pub mod config_region_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -1511,7 +1518,12 @@ pub mod config_region_state { /// Builder for constructing an instance of this type. pub struct ConfigRegionBuilder { _state: PhantomData St>, - _fields: (Option, Option, Option, Option>>), + _fields: ( + Option, + Option, + Option, + Option>>, + ), _type: PhantomData S>, } @@ -1621,10 +1633,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> ConfigRegion { + pub fn build_with_data(self, extra_data: BTreeMap>) -> ConfigRegion { ConfigRegion { country_code: self._fields.0.unwrap(), min_access_age: self._fields.1.unwrap(), @@ -1637,7 +1646,7 @@ where pub mod config_region_rule_default_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -1668,10 +1677,7 @@ pub mod config_region_rule_default_state { } /// Builder for constructing an instance of this type. -pub struct ConfigRegionRuleDefaultBuilder< - S: BosStr, - St: config_region_rule_default_state::State, -> { +pub struct ConfigRegionRuleDefaultBuilder { _state: PhantomData St>, _fields: (Option>,), _type: PhantomData S>, @@ -1679,17 +1685,12 @@ pub struct ConfigRegionRuleDefaultBuilder< impl ConfigRegionRuleDefault { /// Create a new builder for this type. - pub fn new() -> ConfigRegionRuleDefaultBuilder< - S, - config_region_rule_default_state::Empty, - > { + pub fn new() -> ConfigRegionRuleDefaultBuilder { ConfigRegionRuleDefaultBuilder::new() } } -impl< - S: BosStr, -> ConfigRegionRuleDefaultBuilder { +impl ConfigRegionRuleDefaultBuilder { /// Create a new builder with all fields unset. pub fn new() -> Self { ConfigRegionRuleDefaultBuilder { @@ -1709,10 +1710,7 @@ where pub fn access( mut self, value: impl Into>, - ) -> ConfigRegionRuleDefaultBuilder< - S, - config_region_rule_default_state::SetAccess, - > { + ) -> ConfigRegionRuleDefaultBuilder> { self._fields.0 = Option::Some(value.into()); ConfigRegionRuleDefaultBuilder { _state: PhantomData, @@ -1748,7 +1746,7 @@ where pub mod config_region_rule_if_account_newer_than_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -1810,12 +1808,12 @@ impl ConfigRegionRuleIfAccountNewerThan { } } -impl< - S: BosStr, -> ConfigRegionRuleIfAccountNewerThanBuilder< - S, - config_region_rule_if_account_newer_than_state::Empty, -> { +impl + ConfigRegionRuleIfAccountNewerThanBuilder< + S, + config_region_rule_if_account_newer_than_state::Empty, + > +{ /// Create a new builder with all fields unset. pub fn new() -> Self { ConfigRegionRuleIfAccountNewerThanBuilder { @@ -1899,7 +1897,7 @@ where pub mod config_region_rule_if_account_older_than_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -1961,12 +1959,12 @@ impl ConfigRegionRuleIfAccountOlderThan { } } -impl< - S: BosStr, -> ConfigRegionRuleIfAccountOlderThanBuilder< - S, - config_region_rule_if_account_older_than_state::Empty, -> { +impl + ConfigRegionRuleIfAccountOlderThanBuilder< + S, + config_region_rule_if_account_older_than_state::Empty, + > +{ /// Create a new builder with all fields unset. pub fn new() -> Self { ConfigRegionRuleIfAccountOlderThanBuilder { @@ -2050,7 +2048,7 @@ where pub mod config_region_rule_if_assured_over_age_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -2112,12 +2110,9 @@ impl ConfigRegionRuleIfAssuredOverAge { } } -impl< - S: BosStr, -> ConfigRegionRuleIfAssuredOverAgeBuilder< - S, - config_region_rule_if_assured_over_age_state::Empty, -> { +impl + ConfigRegionRuleIfAssuredOverAgeBuilder +{ /// Create a new builder with all fields unset. pub fn new() -> Self { ConfigRegionRuleIfAssuredOverAgeBuilder { @@ -2201,7 +2196,7 @@ where pub mod config_region_rule_if_assured_under_age_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -2263,12 +2258,12 @@ impl ConfigRegionRuleIfAssuredUnderAge { } } -impl< - S: BosStr, -> ConfigRegionRuleIfAssuredUnderAgeBuilder< - S, - config_region_rule_if_assured_under_age_state::Empty, -> { +impl + ConfigRegionRuleIfAssuredUnderAgeBuilder< + S, + config_region_rule_if_assured_under_age_state::Empty, + > +{ /// Create a new builder with all fields unset. pub fn new() -> Self { ConfigRegionRuleIfAssuredUnderAgeBuilder { @@ -2352,7 +2347,7 @@ where pub mod config_region_rule_if_declared_over_age_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -2414,12 +2409,12 @@ impl ConfigRegionRuleIfDeclaredOverAge { } } -impl< - S: BosStr, -> ConfigRegionRuleIfDeclaredOverAgeBuilder< - S, - config_region_rule_if_declared_over_age_state::Empty, -> { +impl + ConfigRegionRuleIfDeclaredOverAgeBuilder< + S, + config_region_rule_if_declared_over_age_state::Empty, + > +{ /// Create a new builder with all fields unset. pub fn new() -> Self { ConfigRegionRuleIfDeclaredOverAgeBuilder { @@ -2503,7 +2498,7 @@ where pub mod config_region_rule_if_declared_under_age_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -2565,12 +2560,12 @@ impl ConfigRegionRuleIfDeclaredUnderAge { } } -impl< - S: BosStr, -> ConfigRegionRuleIfDeclaredUnderAgeBuilder< - S, - config_region_rule_if_declared_under_age_state::Empty, -> { +impl + ConfigRegionRuleIfDeclaredUnderAgeBuilder< + S, + config_region_rule_if_declared_under_age_state::Empty, + > +{ /// Create a new builder with all fields unset. pub fn new() -> Self { ConfigRegionRuleIfDeclaredUnderAgeBuilder { @@ -2654,7 +2649,7 @@ where pub mod event_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -2775,7 +2770,9 @@ impl EventBuilder { pub fn new() -> Self { EventBuilder { _state: PhantomData, - _fields: (None, None, None, None, None, None, None, None, None, None, None), + _fields: ( + None, None, None, None, None, None, None, None, None, None, None, + ), _type: PhantomData, } } @@ -3001,7 +2998,7 @@ where pub mod state_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -3147,4 +3144,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/ageassurance/begin.rs b/crates/jacquard-api/src/app_bsky/ageassurance/begin.rs index ab49cac2..e823aebc 100644 --- a/crates/jacquard-api/src/app_bsky/ageassurance/begin.rs +++ b/crates/jacquard-api/src/app_bsky/ageassurance/begin.rs @@ -8,17 +8,20 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_bsky::ageassurance::State; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::ageassurance::State; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Begin { ///An ISO 3166-1 alpha-2 code of the user's location. pub country_code: S, @@ -33,9 +36,11 @@ pub struct Begin { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct BeginOutput { #[serde(flatten)] pub value: State, @@ -43,18 +48,9 @@ pub struct BeginOutput { pub extra_data: Option>>, } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum BeginError { #[serde(rename = "InvalidEmail")] @@ -67,7 +63,10 @@ pub enum BeginError { RegionNotSupported(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for BeginError { @@ -123,9 +122,8 @@ impl jacquard_common::xrpc::XrpcResp for BeginResponse { impl jacquard_common::xrpc::XrpcRequest for Begin { const NSID: &'static str = "app.bsky.ageassurance.begin"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = BeginResponse; } @@ -133,9 +131,8 @@ impl jacquard_common::xrpc::XrpcRequest for Begin { pub struct BeginRequest; impl jacquard_common::xrpc::XrpcEndpoint for BeginRequest { const PATH: &'static str = "/xrpc/app.bsky.ageassurance.begin"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = Begin; type Response = BeginResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/ageassurance/get_config.rs b/crates/jacquard-api/src/app_bsky/ageassurance/get_config.rs index bd196d4b..5733cec2 100644 --- a/crates/jacquard-api/src/app_bsky/ageassurance/get_config.rs +++ b/crates/jacquard-api/src/app_bsky/ageassurance/get_config.rs @@ -8,17 +8,20 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_bsky::ageassurance::Config; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::ageassurance::Config; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetConfigOutput { #[serde(flatten)] pub value: Config, @@ -52,4 +55,4 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetConfigRequest { const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Query; type Request = GetConfig; type Response = GetConfigResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/ageassurance/get_state.rs b/crates/jacquard-api/src/app_bsky/ageassurance/get_state.rs index 052372d3..b49a666d 100644 --- a/crates/jacquard-api/src/app_bsky/ageassurance/get_state.rs +++ b/crates/jacquard-api/src/app_bsky/ageassurance/get_state.rs @@ -8,27 +8,32 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_bsky::ageassurance::State; +use crate::app_bsky::ageassurance::StateMetadata; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::ageassurance::State; -use crate::app_bsky::ageassurance::StateMetadata; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetState { pub country_code: S, #[serde(skip_serializing_if = "Option::is_none")] pub region_code: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetStateOutput { pub metadata: StateMetadata, pub state: State, @@ -62,7 +67,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetStateRequest { pub mod get_state_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -161,4 +166,4 @@ where region_code: self._fields.1, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/bookmark.rs b/crates/jacquard-api/src/app_bsky/bookmark.rs index b01a9858..55c69067 100644 --- a/crates/jacquard-api/src/app_bsky/bookmark.rs +++ b/crates/jacquard-api/src/app_bsky/bookmark.rs @@ -9,7 +9,6 @@ pub mod create_bookmark; pub mod delete_bookmark; pub mod get_bookmarks; - #[allow(unused_imports)] use alloc::collections::BTreeMap; @@ -26,17 +25,20 @@ use jacquard_derive::{IntoStatic, open_union}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::app_bsky::feed::BlockedPost; use crate::app_bsky::feed::NotFoundPost; use crate::app_bsky::feed::PostView; use crate::com_atproto::repo::strong_ref::StrongRef; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; /// Object used to store bookmark data in stash. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Bookmark { ///A strong ref to the record to be bookmarked. Currently, only `app.bsky.feed.post` records are supported. pub subject: StrongRef, @@ -44,9 +46,11 @@ pub struct Bookmark { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct BookmarkView { #[serde(skip_serializing_if = "Option::is_none")] pub created_at: Option, @@ -57,7 +61,6 @@ pub struct BookmarkView { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -102,7 +105,7 @@ impl LexiconSchema for BookmarkView { pub mod bookmark_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -198,10 +201,10 @@ where } fn lexicon_doc_app_bsky_bookmark_defs() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.bsky.bookmark.defs"), @@ -210,11 +213,9 @@ fn lexicon_doc_app_bsky_bookmark_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("bookmark"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "Object used to store bookmark data in stash.", - ), - ), + description: Some(CowStr::new_static( + "Object used to store bookmark data in stash.", + )), required: Some(vec![SmolStr::new_static("subject")]), properties: { #[allow(unused_mut)] @@ -234,9 +235,10 @@ fn lexicon_doc_app_bsky_bookmark_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("bookmarkView"), LexUserType::Object(LexObject { - required: Some( - vec![SmolStr::new_static("subject"), SmolStr::new_static("item")], - ), + required: Some(vec![ + SmolStr::new_static("subject"), + SmolStr::new_static("item"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -253,7 +255,7 @@ fn lexicon_doc_app_bsky_bookmark_defs() -> LexiconDoc<'static> { refs: vec![ CowStr::new_static("app.bsky.feed.defs#blockedPost"), CowStr::new_static("app.bsky.feed.defs#notFoundPost"), - CowStr::new_static("app.bsky.feed.defs#postView") + CowStr::new_static("app.bsky.feed.defs#postView"), ], ..Default::default() }), @@ -278,7 +280,7 @@ fn lexicon_doc_app_bsky_bookmark_defs() -> LexiconDoc<'static> { pub mod bookmark_view_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -323,7 +325,11 @@ pub mod bookmark_view_state { /// Builder for constructing an instance of this type. pub struct BookmarkViewBuilder { _state: PhantomData St>, - _fields: (Option, Option>, Option>), + _fields: ( + Option, + Option>, + Option>, + ), _type: PhantomData S>, } @@ -412,10 +418,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> BookmarkView { + pub fn build_with_data(self, extra_data: BTreeMap>) -> BookmarkView { BookmarkView { created_at: self._fields.0, item: self._fields.1.unwrap(), @@ -423,4 +426,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/bookmark/create_bookmark.rs b/crates/jacquard-api/src/app_bsky/bookmark/create_bookmark.rs index b7db0eeb..63daddbd 100644 --- a/crates/jacquard-api/src/app_bsky/bookmark/create_bookmark.rs +++ b/crates/jacquard-api/src/app_bsky/bookmark/create_bookmark.rs @@ -10,15 +10,18 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::{AtUri, Cid}; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct CreateBookmark { pub cid: Cid, pub uri: AtUri, @@ -26,18 +29,9 @@ pub struct CreateBookmark { pub extra_data: Option>>, } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum CreateBookmarkError { /// The URI to be bookmarked is for an unsupported collection. @@ -45,7 +39,10 @@ pub enum CreateBookmarkError { UnsupportedCollection(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for CreateBookmarkError { @@ -80,9 +77,8 @@ impl jacquard_common::xrpc::XrpcResp for CreateBookmarkResponse { impl jacquard_common::xrpc::XrpcRequest for CreateBookmark { const NSID: &'static str = "app.bsky.bookmark.createBookmark"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = CreateBookmarkResponse; } @@ -90,16 +86,15 @@ impl jacquard_common::xrpc::XrpcRequest for CreateBookmark { pub struct CreateBookmarkRequest; impl jacquard_common::xrpc::XrpcEndpoint for CreateBookmarkRequest { const PATH: &'static str = "/xrpc/app.bsky.bookmark.createBookmark"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = CreateBookmark; type Response = CreateBookmarkResponse; } pub mod create_bookmark_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -219,14 +214,11 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> CreateBookmark { + pub fn build_with_data(self, extra_data: BTreeMap>) -> CreateBookmark { CreateBookmark { cid: self._fields.0.unwrap(), uri: self._fields.1.unwrap(), extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/bookmark/delete_bookmark.rs b/crates/jacquard-api/src/app_bsky/bookmark/delete_bookmark.rs index 7d814be4..eb6d606d 100644 --- a/crates/jacquard-api/src/app_bsky/bookmark/delete_bookmark.rs +++ b/crates/jacquard-api/src/app_bsky/bookmark/delete_bookmark.rs @@ -10,33 +10,27 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::AtUri; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DeleteBookmark { pub uri: AtUri, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum DeleteBookmarkError { /// The URI to be bookmarked is for an unsupported collection. @@ -44,7 +38,10 @@ pub enum DeleteBookmarkError { UnsupportedCollection(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for DeleteBookmarkError { @@ -79,9 +76,8 @@ impl jacquard_common::xrpc::XrpcResp for DeleteBookmarkResponse { impl jacquard_common::xrpc::XrpcRequest for DeleteBookmark { const NSID: &'static str = "app.bsky.bookmark.deleteBookmark"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = DeleteBookmarkResponse; } @@ -89,16 +85,15 @@ impl jacquard_common::xrpc::XrpcRequest for DeleteBookmark { pub struct DeleteBookmarkRequest; impl jacquard_common::xrpc::XrpcEndpoint for DeleteBookmarkRequest { const PATH: &'static str = "/xrpc/app.bsky.bookmark.deleteBookmark"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = DeleteBookmark; type Response = DeleteBookmarkResponse; } pub mod delete_bookmark_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -185,13 +180,10 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> DeleteBookmark { + pub fn build_with_data(self, extra_data: BTreeMap>) -> DeleteBookmark { DeleteBookmark { uri: self._fields.0.unwrap(), extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/bookmark/get_bookmarks.rs b/crates/jacquard-api/src/app_bsky/bookmark/get_bookmarks.rs index 52c512ea..8ceaa66b 100644 --- a/crates/jacquard-api/src/app_bsky/bookmark/get_bookmarks.rs +++ b/crates/jacquard-api/src/app_bsky/bookmark/get_bookmarks.rs @@ -8,17 +8,20 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_bsky::bookmark::BookmarkView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::bookmark::BookmarkView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetBookmarks { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -28,9 +31,11 @@ pub struct GetBookmarks { pub limit: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetBookmarksOutput { pub bookmarks: Vec>, #[serde(skip_serializing_if = "Option::is_none")] @@ -69,7 +74,7 @@ fn _default_limit() -> Option { pub mod get_bookmarks_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -148,4 +153,4 @@ where limit: self._fields.1, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/contact.rs b/crates/jacquard-api/src/app_bsky/contact.rs index 37e7b907..efe24603 100644 --- a/crates/jacquard-api/src/app_bsky/contact.rs +++ b/crates/jacquard-api/src/app_bsky/contact.rs @@ -14,7 +14,6 @@ pub mod send_notification; pub mod start_phone_verification; pub mod verify_phone; - #[allow(unused_imports)] use alloc::collections::BTreeMap; @@ -25,20 +24,23 @@ use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; use jacquard_common::deps::smol_str::SmolStr; -use jacquard_common::types::string::{Did, Datetime}; +use jacquard_common::types::string::{Datetime, Did}; use jacquard_common::types::value::Data; use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::app_bsky::actor::ProfileView; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::actor::ProfileView; +use serde::{Deserialize, Serialize}; /// Associates a profile with the positional index of the contact import input in the call to `app.bsky.contact.importContacts`, so clients can know which phone caused a particular match. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct MatchAndContactIndex { ///The index of this match in the import contact input. pub contact_index: i64, @@ -51,7 +53,10 @@ pub struct MatchAndContactIndex { /// A stash object to be sent via bsync representing a notification to be created. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Notification { ///The DID of who this notification comes from. pub from: Did, @@ -61,9 +66,11 @@ pub struct Notification { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct SyncStatus { ///Number of existing contact matches resulting of the user imports and of their imported contacts having imported the user. Matches stop being counted when the user either follows the matched contact or dismisses the match. pub matches_count: i64, @@ -150,7 +157,7 @@ impl LexiconSchema for SyncStatus { pub mod match_and_contact_index_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -193,10 +200,7 @@ pub mod match_and_contact_index_state { } /// Builder for constructing an instance of this type. -pub struct MatchAndContactIndexBuilder< - S: BosStr, - St: match_and_contact_index_state::State, -> { +pub struct MatchAndContactIndexBuilder { _state: PhantomData St>, _fields: (Option, Option>), _type: PhantomData S>, @@ -204,10 +208,7 @@ pub struct MatchAndContactIndexBuilder< impl MatchAndContactIndex { /// Create a new builder for this type. - pub fn new() -> MatchAndContactIndexBuilder< - S, - match_and_contact_index_state::Empty, - > { + pub fn new() -> MatchAndContactIndexBuilder { MatchAndContactIndexBuilder::new() } } @@ -232,10 +233,7 @@ where pub fn contact_index( mut self, value: impl Into, - ) -> MatchAndContactIndexBuilder< - S, - match_and_contact_index_state::SetContactIndex, - > { + ) -> MatchAndContactIndexBuilder> { self._fields.0 = Option::Some(value.into()); MatchAndContactIndexBuilder { _state: PhantomData, @@ -292,10 +290,10 @@ where } fn lexicon_doc_app_bsky_contact_defs() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.bsky.contact.defs"), @@ -386,12 +384,10 @@ fn lexicon_doc_app_bsky_contact_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("syncStatus"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("syncedAt"), - SmolStr::new_static("matchesCount") - ], - ), + required: Some(vec![ + SmolStr::new_static("syncedAt"), + SmolStr::new_static("matchesCount"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -405,11 +401,9 @@ fn lexicon_doc_app_bsky_contact_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("syncedAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Last date when contacts where imported.", - ), - ), + description: Some(CowStr::new_static( + "Last date when contacts where imported.", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -427,7 +421,7 @@ fn lexicon_doc_app_bsky_contact_defs() -> LexiconDoc<'static> { pub mod notification_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -547,10 +541,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> Notification { + pub fn build_with_data(self, extra_data: BTreeMap>) -> Notification { Notification { from: self._fields.0.unwrap(), to: self._fields.1.unwrap(), @@ -561,7 +552,7 @@ where pub mod sync_status_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -681,14 +672,11 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> SyncStatus { + pub fn build_with_data(self, extra_data: BTreeMap>) -> SyncStatus { SyncStatus { matches_count: self._fields.0.unwrap(), synced_at: self._fields.1.unwrap(), extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/contact/dismiss_match.rs b/crates/jacquard-api/src/app_bsky/contact/dismiss_match.rs index 48ea23f5..01297bbb 100644 --- a/crates/jacquard-api/src/app_bsky/contact/dismiss_match.rs +++ b/crates/jacquard-api/src/app_bsky/contact/dismiss_match.rs @@ -10,15 +10,18 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::Did; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DismissMatch { ///The subject's DID to dismiss the match with. pub subject: Did, @@ -26,26 +29,19 @@ pub struct DismissMatch { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DismissMatchOutput { #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum DismissMatchError { #[serde(rename = "InvalidDid")] @@ -54,7 +50,10 @@ pub enum DismissMatchError { InternalError(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for DismissMatchError { @@ -96,9 +95,8 @@ impl jacquard_common::xrpc::XrpcResp for DismissMatchResponse { impl jacquard_common::xrpc::XrpcRequest for DismissMatch { const NSID: &'static str = "app.bsky.contact.dismissMatch"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = DismissMatchResponse; } @@ -106,16 +104,15 @@ impl jacquard_common::xrpc::XrpcRequest for DismissMatch { pub struct DismissMatchRequest; impl jacquard_common::xrpc::XrpcEndpoint for DismissMatchRequest { const PATH: &'static str = "/xrpc/app.bsky.contact.dismissMatch"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = DismissMatch; type Response = DismissMatchResponse; } pub mod dismiss_match_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -202,13 +199,10 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> DismissMatch { + pub fn build_with_data(self, extra_data: BTreeMap>) -> DismissMatch { DismissMatch { subject: self._fields.0.unwrap(), extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/contact/get_matches.rs b/crates/jacquard-api/src/app_bsky/contact/get_matches.rs index 9274e6cc..05def4a7 100644 --- a/crates/jacquard-api/src/app_bsky/contact/get_matches.rs +++ b/crates/jacquard-api/src/app_bsky/contact/get_matches.rs @@ -8,17 +8,20 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_bsky::actor::ProfileView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::actor::ProfileView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetMatches { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -28,9 +31,11 @@ pub struct GetMatches { pub limit: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetMatchesOutput { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -39,18 +44,9 @@ pub struct GetMatchesOutput { pub extra_data: Option>>, } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum GetMatchesError { #[serde(rename = "InvalidDid")] @@ -63,7 +59,10 @@ pub enum GetMatchesError { InternalError(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for GetMatchesError { @@ -138,7 +137,7 @@ fn _default_limit() -> Option { pub mod get_matches_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -217,4 +216,4 @@ where limit: self._fields.1, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/contact/get_sync_status.rs b/crates/jacquard-api/src/app_bsky/contact/get_sync_status.rs index 995736bf..a25dbea0 100644 --- a/crates/jacquard-api/src/app_bsky/contact/get_sync_status.rs +++ b/crates/jacquard-api/src/app_bsky/contact/get_sync_status.rs @@ -8,21 +8,24 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_bsky::contact::SyncStatus; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::contact::SyncStatus; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(rename_all = "camelCase")] pub struct GetSyncStatus; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetSyncStatusOutput { ///If present, indicates the user has imported their contacts. If not present, indicates the user never used the feature or called `app.bsky.contact.removeData` and didn't import again since. #[serde(skip_serializing_if = "Option::is_none")] @@ -31,18 +34,9 @@ pub struct GetSyncStatusOutput { pub extra_data: Option>>, } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum GetSyncStatusError { #[serde(rename = "InvalidDid")] @@ -51,7 +45,10 @@ pub enum GetSyncStatusError { InternalError(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for GetSyncStatusError { @@ -104,4 +101,4 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetSyncStatusRequest { const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Query; type Request = GetSyncStatus; type Response = GetSyncStatusResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/contact/import_contacts.rs b/crates/jacquard-api/src/app_bsky/contact/import_contacts.rs index 9361bf45..42c3de2d 100644 --- a/crates/jacquard-api/src/app_bsky/contact/import_contacts.rs +++ b/crates/jacquard-api/src/app_bsky/contact/import_contacts.rs @@ -8,17 +8,20 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_bsky::contact::MatchAndContactIndex; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::contact::MatchAndContactIndex; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ImportContacts { ///List of phone numbers in global E.164 format (e.g., '+12125550123'). Phone numbers that cannot be normalized into a valid phone number will be discarded. Should not repeat the 'phone' input used in `app.bsky.contact.verifyPhone`. pub contacts: Vec, @@ -28,9 +31,11 @@ pub struct ImportContacts { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ImportContactsOutput { ///The users that matched during import and their indexes on the input contacts, so the client can correlate with its local list. pub matches_and_contact_indexes: Vec>, @@ -38,18 +43,9 @@ pub struct ImportContactsOutput { pub extra_data: Option>>, } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum ImportContactsError { #[serde(rename = "InvalidDid")] @@ -64,7 +60,10 @@ pub enum ImportContactsError { InternalError(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for ImportContactsError { @@ -127,9 +126,8 @@ impl jacquard_common::xrpc::XrpcResp for ImportContactsResponse { impl jacquard_common::xrpc::XrpcRequest for ImportContacts { const NSID: &'static str = "app.bsky.contact.importContacts"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = ImportContactsResponse; } @@ -137,16 +135,15 @@ impl jacquard_common::xrpc::XrpcRequest for ImportContacts { pub struct ImportContactsRequest; impl jacquard_common::xrpc::XrpcEndpoint for ImportContactsRequest { const PATH: &'static str = "/xrpc/app.bsky.contact.importContacts"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = ImportContacts; type Response = ImportContactsResponse; } pub mod import_contacts_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -266,14 +263,11 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> ImportContacts { + pub fn build_with_data(self, extra_data: BTreeMap>) -> ImportContacts { ImportContacts { contacts: self._fields.0.unwrap(), token: self._fields.1.unwrap(), extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/contact/remove_data.rs b/crates/jacquard-api/src/app_bsky/contact/remove_data.rs index c0f8804a..9a9866c8 100644 --- a/crates/jacquard-api/src/app_bsky/contact/remove_data.rs +++ b/crates/jacquard-api/src/app_bsky/contact/remove_data.rs @@ -10,39 +10,35 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct RemoveData { #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct RemoveDataOutput { #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum RemoveDataError { #[serde(rename = "InvalidDid")] @@ -51,7 +47,10 @@ pub enum RemoveDataError { InternalError(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for RemoveDataError { @@ -93,9 +92,8 @@ impl jacquard_common::xrpc::XrpcResp for RemoveDataResponse { impl jacquard_common::xrpc::XrpcRequest for RemoveData { const NSID: &'static str = "app.bsky.contact.removeData"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = RemoveDataResponse; } @@ -103,9 +101,8 @@ impl jacquard_common::xrpc::XrpcRequest for RemoveData { pub struct RemoveDataRequest; impl jacquard_common::xrpc::XrpcEndpoint for RemoveDataRequest { const PATH: &'static str = "/xrpc/app.bsky.contact.removeData"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = RemoveData; type Response = RemoveDataResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/contact/send_notification.rs b/crates/jacquard-api/src/app_bsky/contact/send_notification.rs index a52afc9a..eb7e7ca5 100644 --- a/crates/jacquard-api/src/app_bsky/contact/send_notification.rs +++ b/crates/jacquard-api/src/app_bsky/contact/send_notification.rs @@ -10,15 +10,18 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::Did; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct SendNotification { ///The DID of who this notification comes from. pub from: Did, @@ -28,9 +31,11 @@ pub struct SendNotification { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct SendNotificationOutput { #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, @@ -47,9 +52,8 @@ impl jacquard_common::xrpc::XrpcResp for SendNotificationResponse { impl jacquard_common::xrpc::XrpcRequest for SendNotification { const NSID: &'static str = "app.bsky.contact.sendNotification"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = SendNotificationResponse; } @@ -57,16 +61,15 @@ impl jacquard_common::xrpc::XrpcRequest for SendNotification { pub struct SendNotificationRequest; impl jacquard_common::xrpc::XrpcEndpoint for SendNotificationRequest { const PATH: &'static str = "/xrpc/app.bsky.contact.sendNotification"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = SendNotification; type Response = SendNotificationResponse; } pub mod send_notification_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -186,14 +189,11 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> SendNotification { + pub fn build_with_data(self, extra_data: BTreeMap>) -> SendNotification { SendNotification { from: self._fields.0.unwrap(), to: self._fields.1.unwrap(), extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/contact/start_phone_verification.rs b/crates/jacquard-api/src/app_bsky/contact/start_phone_verification.rs index 6b39d33c..6decacaf 100644 --- a/crates/jacquard-api/src/app_bsky/contact/start_phone_verification.rs +++ b/crates/jacquard-api/src/app_bsky/contact/start_phone_verification.rs @@ -10,14 +10,17 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct StartPhoneVerification { ///The phone number to receive the code via SMS. pub phone: S, @@ -25,26 +28,19 @@ pub struct StartPhoneVerification { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct StartPhoneVerificationOutput { #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum StartPhoneVerificationError { #[serde(rename = "RateLimitExceeded")] @@ -57,7 +53,10 @@ pub enum StartPhoneVerificationError { InternalError(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for StartPhoneVerificationError { @@ -113,9 +112,8 @@ impl jacquard_common::xrpc::XrpcResp for StartPhoneVerificationResponse { impl jacquard_common::xrpc::XrpcRequest for StartPhoneVerification { const NSID: &'static str = "app.bsky.contact.startPhoneVerification"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = StartPhoneVerificationResponse; } @@ -123,9 +121,8 @@ impl jacquard_common::xrpc::XrpcRequest for StartPhoneVerification pub struct StartPhoneVerificationRequest; impl jacquard_common::xrpc::XrpcEndpoint for StartPhoneVerificationRequest { const PATH: &'static str = "/xrpc/app.bsky.contact.startPhoneVerification"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = StartPhoneVerification; type Response = StartPhoneVerificationResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/contact/verify_phone.rs b/crates/jacquard-api/src/app_bsky/contact/verify_phone.rs index 82b4dc2e..480cd606 100644 --- a/crates/jacquard-api/src/app_bsky/contact/verify_phone.rs +++ b/crates/jacquard-api/src/app_bsky/contact/verify_phone.rs @@ -10,14 +10,17 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct VerifyPhone { ///The code received via SMS as a result of the call to `app.bsky.contact.startPhoneVerification`. pub code: S, @@ -27,9 +30,11 @@ pub struct VerifyPhone { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct VerifyPhoneOutput { ///JWT to be used in a call to `app.bsky.contact.importContacts`. It is only valid for a single call. pub token: S, @@ -37,18 +42,9 @@ pub struct VerifyPhoneOutput { pub extra_data: Option>>, } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum VerifyPhoneError { #[serde(rename = "RateLimitExceeded")] @@ -63,7 +59,10 @@ pub enum VerifyPhoneError { InternalError(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for VerifyPhoneError { @@ -126,9 +125,8 @@ impl jacquard_common::xrpc::XrpcResp for VerifyPhoneResponse { impl jacquard_common::xrpc::XrpcRequest for VerifyPhone { const NSID: &'static str = "app.bsky.contact.verifyPhone"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = VerifyPhoneResponse; } @@ -136,9 +134,8 @@ impl jacquard_common::xrpc::XrpcRequest for VerifyPhone { pub struct VerifyPhoneRequest; impl jacquard_common::xrpc::XrpcEndpoint for VerifyPhoneRequest { const PATH: &'static str = "/xrpc/app.bsky.contact.verifyPhone"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = VerifyPhone; type Response = VerifyPhoneResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/draft.rs b/crates/jacquard-api/src/app_bsky/draft.rs index 548a0035..8c2e2e95 100644 --- a/crates/jacquard-api/src/app_bsky/draft.rs +++ b/crates/jacquard-api/src/app_bsky/draft.rs @@ -10,26 +10,23 @@ pub mod delete_draft; pub mod get_drafts; pub mod update_draft; - #[allow(unused_imports)] use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; use jacquard_common::deps::smol_str::SmolStr; -use jacquard_common::types::string::{Tid, Datetime, Language, UriValue}; +use jacquard_common::types::string::{Datetime, Language, Tid, UriValue}; use jacquard_common::types::value::Data; use jacquard_derive::{IntoStatic, open_union}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use crate::app_bsky::draft; use crate::app_bsky::feed::postgate::DisableRule; use crate::app_bsky::feed::threadgate::FollowerRule; use crate::app_bsky::feed::threadgate::FollowingRule; @@ -37,11 +34,16 @@ use crate::app_bsky::feed::threadgate::ListRule; use crate::app_bsky::feed::threadgate::MentionRule; use crate::com_atproto::label::SelfLabels; use crate::com_atproto::repo::strong_ref::StrongRef; -use crate::app_bsky::draft; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; /// A draft containing an array of draft posts. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Draft { ///UUIDv4 identifier of the device that created this draft. #[serde(skip_serializing_if = "Option::is_none")] @@ -64,7 +66,6 @@ pub struct Draft { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -79,9 +80,11 @@ pub enum DraftThreadgateAllowItem { ThreadgateListRule(Box>), } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DraftEmbedCaption { pub content: S, pub lang: Language, @@ -89,18 +92,22 @@ pub struct DraftEmbedCaption { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DraftEmbedExternal { pub uri: UriValue, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DraftEmbedImage { #[serde(skip_serializing_if = "Option::is_none")] pub alt: Option, @@ -109,9 +116,11 @@ pub struct DraftEmbedImage { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DraftEmbedLocalRef { ///Local, on-device ref to file to be embedded. Embeds are currently device-bound for drafts. pub path: S, @@ -119,18 +128,22 @@ pub struct DraftEmbedLocalRef { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DraftEmbedRecord { pub record: StrongRef, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DraftEmbedVideo { #[serde(skip_serializing_if = "Option::is_none")] pub alt: Option, @@ -144,7 +157,10 @@ pub struct DraftEmbedVideo { /// One of the posts that compose a draft. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DraftPost { #[serde(skip_serializing_if = "Option::is_none")] pub embed_externals: Option>>, @@ -166,7 +182,10 @@ pub struct DraftPost { /// View to present drafts data to users. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DraftView { ///The time the draft was created. pub created_at: Datetime, @@ -182,7 +201,10 @@ pub struct DraftView { /// A draft with an identifier, used to store drafts in private storage (stash). #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DraftWithId { pub draft: draft::Draft, ///A TID to be used as a draft identifier. @@ -546,7 +568,7 @@ impl LexiconSchema for DraftWithId { pub mod draft_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -657,10 +679,7 @@ impl DraftBuilder { self } /// Set the `postgateEmbeddingRules` field to an Option value (optional) - pub fn maybe_postgate_embedding_rules( - mut self, - value: Option>>, - ) -> Self { + pub fn maybe_postgate_embedding_rules(mut self, value: Option>>) -> Self { self._fields.3 = value; self } @@ -736,10 +755,10 @@ where } fn lexicon_doc_app_bsky_draft_defs() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.bsky.draft.defs"), @@ -859,9 +878,10 @@ fn lexicon_doc_app_bsky_draft_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("draftEmbedCaption"), LexUserType::Object(LexObject { - required: Some( - vec![SmolStr::new_static("lang"), SmolStr::new_static("content")], - ), + required: Some(vec![ + SmolStr::new_static("lang"), + SmolStr::new_static("content"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -1099,25 +1119,22 @@ fn lexicon_doc_app_bsky_draft_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("draftView"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("View to present drafts data to users."), - ), - required: Some( - vec![ - SmolStr::new_static("id"), SmolStr::new_static("draft"), - SmolStr::new_static("createdAt"), - SmolStr::new_static("updatedAt") - ], - ), + description: Some(CowStr::new_static("View to present drafts data to users.")), + required: Some(vec![ + SmolStr::new_static("id"), + SmolStr::new_static("draft"), + SmolStr::new_static("createdAt"), + SmolStr::new_static("updatedAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("createdAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The time the draft was created."), - ), + description: Some(CowStr::new_static( + "The time the draft was created.", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -1132,11 +1149,9 @@ fn lexicon_doc_app_bsky_draft_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("id"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "A TID to be used as a draft identifier.", - ), - ), + description: Some(CowStr::new_static( + "A TID to be used as a draft identifier.", + )), format: Some(LexStringFormat::Tid), ..Default::default() }), @@ -1144,9 +1159,9 @@ fn lexicon_doc_app_bsky_draft_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("updatedAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The time the draft was last updated."), - ), + description: Some(CowStr::new_static( + "The time the draft was last updated.", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -1202,7 +1217,7 @@ fn lexicon_doc_app_bsky_draft_defs() -> LexiconDoc<'static> { pub mod draft_embed_caption_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -1322,10 +1337,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> DraftEmbedCaption { + pub fn build_with_data(self, extra_data: BTreeMap>) -> DraftEmbedCaption { DraftEmbedCaption { content: self._fields.0.unwrap(), lang: self._fields.1.unwrap(), @@ -1336,7 +1348,7 @@ where pub mod draft_embed_external_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -1423,10 +1435,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> DraftEmbedExternal { + pub fn build_with_data(self, extra_data: BTreeMap>) -> DraftEmbedExternal { DraftEmbedExternal { uri: self._fields.0.unwrap(), extra_data: Some(extra_data), @@ -1436,7 +1445,7 @@ where pub mod draft_embed_image_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -1537,10 +1546,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> DraftEmbedImage { + pub fn build_with_data(self, extra_data: BTreeMap>) -> DraftEmbedImage { DraftEmbedImage { alt: self._fields.0, local_ref: self._fields.1.unwrap(), @@ -1551,7 +1557,7 @@ where pub mod draft_embed_record_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -1638,10 +1644,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> DraftEmbedRecord { + pub fn build_with_data(self, extra_data: BTreeMap>) -> DraftEmbedRecord { DraftEmbedRecord { record: self._fields.0.unwrap(), extra_data: Some(extra_data), @@ -1651,7 +1654,7 @@ where pub mod draft_embed_video_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -1725,18 +1728,12 @@ impl DraftEmbedVideoBuilder DraftEmbedVideoBuilder { /// Set the `captions` field (optional) - pub fn captions( - mut self, - value: impl Into>>>, - ) -> Self { + pub fn captions(mut self, value: impl Into>>>) -> Self { self._fields.1 = value.into(); self } /// Set the `captions` field to an Option value (optional) - pub fn maybe_captions( - mut self, - value: Option>>, - ) -> Self { + pub fn maybe_captions(mut self, value: Option>>) -> Self { self._fields.1 = value; self } @@ -1776,10 +1773,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> DraftEmbedVideo { + pub fn build_with_data(self, extra_data: BTreeMap>) -> DraftEmbedVideo { DraftEmbedVideo { alt: self._fields.0, captions: self._fields.1, @@ -1791,7 +1785,7 @@ where pub mod draft_view_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -1866,7 +1860,12 @@ pub mod draft_view_state { /// Builder for constructing an instance of this type. pub struct DraftViewBuilder { _state: PhantomData St>, - _fields: (Option, Option>, Option, Option), + _fields: ( + Option, + Option>, + Option, + Option, + ), _type: PhantomData S>, } @@ -1932,10 +1931,7 @@ where St::Id: draft_view_state::IsUnset, { /// Set the `id` field (required) - pub fn id( - mut self, - value: impl Into, - ) -> DraftViewBuilder> { + pub fn id(mut self, value: impl Into) -> DraftViewBuilder> { self._fields.2 = Option::Some(value.into()); DraftViewBuilder { _state: PhantomData, @@ -1983,10 +1979,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> DraftView { + pub fn build_with_data(self, extra_data: BTreeMap>) -> DraftView { DraftView { created_at: self._fields.0.unwrap(), draft: self._fields.1.unwrap(), @@ -1999,7 +1992,7 @@ where pub mod draft_with_id_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -2119,14 +2112,11 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> DraftWithId { + pub fn build_with_data(self, extra_data: BTreeMap>) -> DraftWithId { DraftWithId { draft: self._fields.0.unwrap(), id: self._fields.1.unwrap(), extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/draft/create_draft.rs b/crates/jacquard-api/src/app_bsky/draft/create_draft.rs index c8342112..84e6e27b 100644 --- a/crates/jacquard-api/src/app_bsky/draft/create_draft.rs +++ b/crates/jacquard-api/src/app_bsky/draft/create_draft.rs @@ -8,26 +8,31 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_bsky::draft::Draft; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::draft::Draft; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct CreateDraft { pub draft: Draft, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct CreateDraftOutput { ///The ID of the created draft. pub id: S, @@ -35,18 +40,9 @@ pub struct CreateDraftOutput { pub extra_data: Option>>, } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum CreateDraftError { /// Trying to insert a new draft when the limit was already reached. @@ -54,7 +50,10 @@ pub enum CreateDraftError { DraftLimitReached(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for CreateDraftError { @@ -89,9 +88,8 @@ impl jacquard_common::xrpc::XrpcResp for CreateDraftResponse { impl jacquard_common::xrpc::XrpcRequest for CreateDraft { const NSID: &'static str = "app.bsky.draft.createDraft"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = CreateDraftResponse; } @@ -99,16 +97,15 @@ impl jacquard_common::xrpc::XrpcRequest for CreateDraft { pub struct CreateDraftRequest; impl jacquard_common::xrpc::XrpcEndpoint for CreateDraftRequest { const PATH: &'static str = "/xrpc/app.bsky.draft.createDraft"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = CreateDraft; type Response = CreateDraftResponse; } pub mod create_draft_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -195,13 +192,10 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> CreateDraft { + pub fn build_with_data(self, extra_data: BTreeMap>) -> CreateDraft { CreateDraft { draft: self._fields.0.unwrap(), extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/draft/delete_draft.rs b/crates/jacquard-api/src/app_bsky/draft/delete_draft.rs index 2bf5362e..e8a170b2 100644 --- a/crates/jacquard-api/src/app_bsky/draft/delete_draft.rs +++ b/crates/jacquard-api/src/app_bsky/draft/delete_draft.rs @@ -10,15 +10,18 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::Tid; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DeleteDraft { pub id: Tid, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -36,9 +39,8 @@ impl jacquard_common::xrpc::XrpcResp for DeleteDraftResponse { impl jacquard_common::xrpc::XrpcRequest for DeleteDraft { const NSID: &'static str = "app.bsky.draft.deleteDraft"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = DeleteDraftResponse; } @@ -46,16 +48,15 @@ impl jacquard_common::xrpc::XrpcRequest for DeleteDraft { pub struct DeleteDraftRequest; impl jacquard_common::xrpc::XrpcEndpoint for DeleteDraftRequest { const PATH: &'static str = "/xrpc/app.bsky.draft.deleteDraft"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = DeleteDraft; type Response = DeleteDraftResponse; } pub mod delete_draft_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -142,13 +143,10 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> DeleteDraft { + pub fn build_with_data(self, extra_data: BTreeMap>) -> DeleteDraft { DeleteDraft { id: self._fields.0.unwrap(), extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/draft/get_drafts.rs b/crates/jacquard-api/src/app_bsky/draft/get_drafts.rs index 2a45e8f2..43fee8cc 100644 --- a/crates/jacquard-api/src/app_bsky/draft/get_drafts.rs +++ b/crates/jacquard-api/src/app_bsky/draft/get_drafts.rs @@ -8,17 +8,20 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_bsky::draft::DraftView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::draft::DraftView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetDrafts { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -28,9 +31,11 @@ pub struct GetDrafts { pub limit: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetDraftsOutput { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -69,7 +74,7 @@ fn _default_limit() -> Option { pub mod get_drafts_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -148,4 +153,4 @@ where limit: self._fields.1, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/draft/update_draft.rs b/crates/jacquard-api/src/app_bsky/draft/update_draft.rs index 881b2bad..77c3014f 100644 --- a/crates/jacquard-api/src/app_bsky/draft/update_draft.rs +++ b/crates/jacquard-api/src/app_bsky/draft/update_draft.rs @@ -8,17 +8,20 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_bsky::draft::DraftWithId; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::draft::DraftWithId; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct UpdateDraft { pub draft: DraftWithId, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -36,9 +39,8 @@ impl jacquard_common::xrpc::XrpcResp for UpdateDraftResponse { impl jacquard_common::xrpc::XrpcRequest for UpdateDraft { const NSID: &'static str = "app.bsky.draft.updateDraft"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = UpdateDraftResponse; } @@ -46,16 +48,15 @@ impl jacquard_common::xrpc::XrpcRequest for UpdateDraft { pub struct UpdateDraftRequest; impl jacquard_common::xrpc::XrpcEndpoint for UpdateDraftRequest { const PATH: &'static str = "/xrpc/app.bsky.draft.updateDraft"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = UpdateDraft; type Response = UpdateDraftResponse; } pub mod update_draft_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -142,13 +143,10 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> UpdateDraft { + pub fn build_with_data(self, extra_data: BTreeMap>) -> UpdateDraft { UpdateDraft { draft: self._fields.0.unwrap(), extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/embed.rs b/crates/jacquard-api/src/app_bsky/embed.rs index b1efa9ff..2f16b446 100644 --- a/crates/jacquard-api/src/app_bsky/embed.rs +++ b/crates/jacquard-api/src/app_bsky/embed.rs @@ -11,7 +11,6 @@ pub mod record; pub mod record_with_media; pub mod video; - #[allow(unused_imports)] use alloc::collections::BTreeMap; @@ -29,11 +28,14 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// width:height represents an aspect ratio. It may be approximate, and may not correspond to absolute dimensions in any given unit. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct AspectRatio { pub height: i64, pub width: i64, @@ -78,7 +80,7 @@ impl LexiconSchema for AspectRatio { pub mod aspect_ratio_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -198,10 +200,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> AspectRatio { + pub fn build_with_data(self, extra_data: BTreeMap>) -> AspectRatio { AspectRatio { height: self._fields.0.unwrap(), width: self._fields.1.unwrap(), @@ -211,10 +210,10 @@ where } fn lexicon_doc_app_bsky_embed_defs() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.bsky.embed.defs"), @@ -257,4 +256,4 @@ fn lexicon_doc_app_bsky_embed_defs() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/embed/external.rs b/crates/jacquard-api/src/app_bsky/embed/external.rs index 90b61b98..4542625d 100644 --- a/crates/jacquard-api/src/app_bsky/embed/external.rs +++ b/crates/jacquard-api/src/app_bsky/embed/external.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -22,13 +22,16 @@ use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::app_bsky::embed::external; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::embed::external; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct External { pub description: S, #[serde(skip_serializing_if = "Option::is_none")] @@ -42,25 +45,32 @@ pub struct External { /// A representation of some externally linked content (eg, a URL and 'card'), embedded in a Bluesky record (eg, a post). #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ExternalRecord { pub external: external::External, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct View { pub external: external::ViewExternal, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ViewExternal { pub description: S, #[serde(skip_serializing_if = "Option::is_none")] @@ -98,19 +108,16 @@ impl LexiconSchema for External { { let mime = value.blob().mime_type.as_str(); let accepted: &[&str] = &["image/*"]; - let matched = accepted - .iter() - .any(|pattern| { - if *pattern == "*/*" { - true - } else if pattern.ends_with("/*") { - let prefix = &pattern[..pattern.len() - 2]; - mime.starts_with(prefix) - && mime.as_bytes().get(prefix.len()) == Some(&b'/') - } else { - mime == *pattern - } - }); + let matched = accepted.iter().any(|pattern| { + if *pattern == "*/*" { + true + } else if pattern.ends_with("/*") { + let prefix = &pattern[..pattern.len() - 2]; + mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/') + } else { + mime == *pattern + } + }); if !matched { return Err(ConstraintError::BlobMimeTypeNotAccepted { path: ValidationPath::from_field("thumb"), @@ -171,7 +178,7 @@ impl LexiconSchema for ViewExternal { pub mod external_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -230,7 +237,12 @@ pub mod external_state { /// Builder for constructing an instance of this type. pub struct ExternalBuilder { _state: PhantomData St>, - _fields: (Option, Option>, Option, Option>), + _fields: ( + Option, + Option>, + Option, + Option>, + ), _type: PhantomData S>, } @@ -352,10 +364,10 @@ where } fn lexicon_doc_app_bsky_embed_external() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.bsky.embed.external"), @@ -364,26 +376,31 @@ fn lexicon_doc_app_bsky_embed_external() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("external"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("uri"), SmolStr::new_static("title"), - SmolStr::new_static("description") - ], - ), + required: Some(vec![ + SmolStr::new_static("uri"), + SmolStr::new_static("title"), + SmolStr::new_static("description"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("description"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("thumb"), - LexObjectProperty::Blob(LexBlob { ..Default::default() }), + LexObjectProperty::Blob(LexBlob { + ..Default::default() + }), ); map.insert( SmolStr::new_static("title"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("uri"), @@ -443,18 +460,19 @@ fn lexicon_doc_app_bsky_embed_external() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("viewExternal"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("uri"), SmolStr::new_static("title"), - SmolStr::new_static("description") - ], - ), + required: Some(vec![ + SmolStr::new_static("uri"), + SmolStr::new_static("title"), + SmolStr::new_static("description"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("description"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("thumb"), @@ -465,7 +483,9 @@ fn lexicon_doc_app_bsky_embed_external() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("title"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("uri"), @@ -487,7 +507,7 @@ fn lexicon_doc_app_bsky_embed_external() -> LexiconDoc<'static> { pub mod external_record_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -574,10 +594,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> ExternalRecord { + pub fn build_with_data(self, extra_data: BTreeMap>) -> ExternalRecord { ExternalRecord { external: self._fields.0.unwrap(), extra_data: Some(extra_data), @@ -587,7 +604,7 @@ where pub mod view_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -684,7 +701,7 @@ where pub mod view_external_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -743,7 +760,12 @@ pub mod view_external_state { /// Builder for constructing an instance of this type. pub struct ViewExternalBuilder { _state: PhantomData St>, - _fields: (Option, Option>, Option, Option>), + _fields: ( + Option, + Option>, + Option, + Option>, + ), _type: PhantomData S>, } @@ -853,10 +875,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> ViewExternal { + pub fn build_with_data(self, extra_data: BTreeMap>) -> ViewExternal { ViewExternal { description: self._fields.0.unwrap(), thumb: self._fields.1, @@ -865,4 +884,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/embed/images.rs b/crates/jacquard-api/src/app_bsky/embed/images.rs index 2f337f42..3a4ef935 100644 --- a/crates/jacquard-api/src/app_bsky/embed/images.rs +++ b/crates/jacquard-api/src/app_bsky/embed/images.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -22,14 +22,17 @@ use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::app_bsky::embed::AspectRatio; use crate::app_bsky::embed::images; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Image { ///Alt text description of the image, for accessibility. pub alt: S, @@ -40,27 +43,33 @@ pub struct Image { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Images { pub images: Vec>, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct View { pub images: Vec>, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ViewImage { ///Alt text description of the image, for accessibility. pub alt: S, @@ -103,19 +112,16 @@ impl LexiconSchema for Image { { let mime = value.blob().mime_type.as_str(); let accepted: &[&str] = &["image/*"]; - let matched = accepted - .iter() - .any(|pattern| { - if *pattern == "*/*" { - true - } else if pattern.ends_with("/*") { - let prefix = &pattern[..pattern.len() - 2]; - mime.starts_with(prefix) - && mime.as_bytes().get(prefix.len()) == Some(&b'/') - } else { - mime == *pattern - } - }); + let matched = accepted.iter().any(|pattern| { + if *pattern == "*/*" { + true + } else if pattern.ends_with("/*") { + let prefix = &pattern[..pattern.len() - 2]; + mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/') + } else { + mime == *pattern + } + }); if !matched { return Err(ConstraintError::BlobMimeTypeNotAccepted { path: ValidationPath::from_field("image"), @@ -198,7 +204,7 @@ impl LexiconSchema for ViewImage { pub mod image_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -271,10 +277,7 @@ where St::Alt: image_state::IsUnset, { /// Set the `alt` field (required) - pub fn alt( - mut self, - value: impl Into, - ) -> ImageBuilder> { + pub fn alt(mut self, value: impl Into) -> ImageBuilder> { self._fields.0 = Option::Some(value.into()); ImageBuilder { _state: PhantomData, @@ -343,10 +346,10 @@ where } fn lexicon_doc_app_bsky_embed_images() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.bsky.embed.images"), @@ -355,35 +358,34 @@ fn lexicon_doc_app_bsky_embed_images() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("image"), LexUserType::Object(LexObject { - required: Some( - vec![SmolStr::new_static("image"), SmolStr::new_static("alt")], - ), + required: Some(vec![ + SmolStr::new_static("image"), + SmolStr::new_static("alt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("alt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Alt text description of the image, for accessibility.", - ), - ), + description: Some(CowStr::new_static( + "Alt text description of the image, for accessibility.", + )), ..Default::default() }), ); map.insert( SmolStr::new_static("aspectRatio"), LexObjectProperty::Ref(LexRef { - r#ref: CowStr::new_static( - "app.bsky.embed.defs#aspectRatio", - ), + r#ref: CowStr::new_static("app.bsky.embed.defs#aspectRatio"), ..Default::default() }), ); map.insert( SmolStr::new_static("image"), - LexObjectProperty::Blob(LexBlob { ..Default::default() }), + LexObjectProperty::Blob(LexBlob { + ..Default::default() + }), ); map }, @@ -505,7 +507,7 @@ fn lexicon_doc_app_bsky_embed_images() -> LexiconDoc<'static> { pub mod images_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -602,7 +604,7 @@ where pub mod view_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -699,7 +701,7 @@ where pub mod view_image_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -791,10 +793,7 @@ where St::Alt: view_image_state::IsUnset, { /// Set the `alt` field (required) - pub fn alt( - mut self, - value: impl Into, - ) -> ViewImageBuilder> { + pub fn alt(mut self, value: impl Into) -> ViewImageBuilder> { self._fields.0 = Option::Some(value.into()); ViewImageBuilder { _state: PhantomData, @@ -873,10 +872,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> ViewImage { + pub fn build_with_data(self, extra_data: BTreeMap>) -> ViewImage { ViewImage { alt: self._fields.0.unwrap(), aspect_ratio: self._fields.1, @@ -885,4 +881,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/embed/record.rs b/crates/jacquard-api/src/app_bsky/embed/record.rs index f5d3f428..b8db9457 100644 --- a/crates/jacquard-api/src/app_bsky/embed/record.rs +++ b/crates/jacquard-api/src/app_bsky/embed/record.rs @@ -21,10 +21,12 @@ use jacquard_derive::{IntoStatic, open_union}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::app_bsky::actor::ProfileViewBasic; +use crate::app_bsky::embed::external; +use crate::app_bsky::embed::images; +use crate::app_bsky::embed::record; +use crate::app_bsky::embed::record_with_media; +use crate::app_bsky::embed::video; use crate::app_bsky::feed::BlockedAuthor; use crate::app_bsky::feed::GeneratorView; use crate::app_bsky::graph::ListView; @@ -32,30 +34,32 @@ use crate::app_bsky::graph::StarterPackViewBasic; use crate::app_bsky::labeler::LabelerView; use crate::com_atproto::label::Label; use crate::com_atproto::repo::strong_ref::StrongRef; -use crate::app_bsky::embed::external; -use crate::app_bsky::embed::images; -use crate::app_bsky::embed::record; -use crate::app_bsky::embed::record_with_media; -use crate::app_bsky::embed::video; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Record { pub record: StrongRef, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct View { pub record: ViewUnionRecord, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -78,9 +82,11 @@ pub enum ViewUnionRecord { StarterPackViewBasic(Box>), } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ViewBlocked { pub author: BlockedAuthor, pub blocked: bool, @@ -89,9 +95,11 @@ pub struct ViewBlocked { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ViewDetached { pub detached: bool, pub uri: AtUri, @@ -99,9 +107,11 @@ pub struct ViewDetached { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ViewNotFound { pub not_found: bool, pub uri: AtUri, @@ -109,9 +119,11 @@ pub struct ViewNotFound { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ViewRecord { pub author: ProfileViewBasic, pub cid: Cid, @@ -135,7 +147,6 @@ pub struct ViewRecord { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -244,7 +255,7 @@ impl LexiconSchema for ViewRecord { pub mod record_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -340,10 +351,10 @@ where } fn lexicon_doc_app_bsky_embed_record() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.bsky.embed.record"), @@ -386,7 +397,7 @@ fn lexicon_doc_app_bsky_embed_record() -> LexiconDoc<'static> { CowStr::new_static("app.bsky.feed.defs#generatorView"), CowStr::new_static("app.bsky.graph.defs#listView"), CowStr::new_static("app.bsky.labeler.defs#labelerView"), - CowStr::new_static("app.bsky.graph.defs#starterPackViewBasic") + CowStr::new_static("app.bsky.graph.defs#starterPackViewBasic"), ], ..Default::default() }), @@ -399,21 +410,18 @@ fn lexicon_doc_app_bsky_embed_record() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("viewBlocked"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("uri"), SmolStr::new_static("blocked"), - SmolStr::new_static("author") - ], - ), + required: Some(vec![ + SmolStr::new_static("uri"), + SmolStr::new_static("blocked"), + SmolStr::new_static("author"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("author"), LexObjectProperty::Ref(LexRef { - r#ref: CowStr::new_static( - "app.bsky.feed.defs#blockedAuthor", - ), + r#ref: CowStr::new_static("app.bsky.feed.defs#blockedAuthor"), ..Default::default() }), ); @@ -438,9 +446,10 @@ fn lexicon_doc_app_bsky_embed_record() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("viewDetached"), LexUserType::Object(LexObject { - required: Some( - vec![SmolStr::new_static("uri"), SmolStr::new_static("detached")], - ), + required: Some(vec![ + SmolStr::new_static("uri"), + SmolStr::new_static("detached"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -465,9 +474,10 @@ fn lexicon_doc_app_bsky_embed_record() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("viewNotFound"), LexUserType::Object(LexObject { - required: Some( - vec![SmolStr::new_static("uri"), SmolStr::new_static("notFound")], - ), + required: Some(vec![ + SmolStr::new_static("uri"), + SmolStr::new_static("notFound"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -492,22 +502,20 @@ fn lexicon_doc_app_bsky_embed_record() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("viewRecord"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("uri"), SmolStr::new_static("cid"), - SmolStr::new_static("author"), SmolStr::new_static("value"), - SmolStr::new_static("indexedAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("uri"), + SmolStr::new_static("cid"), + SmolStr::new_static("author"), + SmolStr::new_static("value"), + SmolStr::new_static("indexedAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("author"), LexObjectProperty::Ref(LexRef { - r#ref: CowStr::new_static( - "app.bsky.actor.defs#profileViewBasic", - ), + r#ref: CowStr::new_static("app.bsky.actor.defs#profileViewBasic"), ..Default::default() }), ); @@ -527,7 +535,7 @@ fn lexicon_doc_app_bsky_embed_record() -> LexiconDoc<'static> { CowStr::new_static("app.bsky.embed.video#view"), CowStr::new_static("app.bsky.embed.external#view"), CowStr::new_static("app.bsky.embed.record#view"), - CowStr::new_static("app.bsky.embed.recordWithMedia#view") + CowStr::new_static("app.bsky.embed.recordWithMedia#view"), ], ..Default::default() }), @@ -601,7 +609,7 @@ fn lexicon_doc_app_bsky_embed_record() -> LexiconDoc<'static> { pub mod view_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -698,7 +706,7 @@ where pub mod view_blocked_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -853,10 +861,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> ViewBlocked { + pub fn build_with_data(self, extra_data: BTreeMap>) -> ViewBlocked { ViewBlocked { author: self._fields.0.unwrap(), blocked: self._fields.1.unwrap(), @@ -868,7 +873,7 @@ where pub mod view_detached_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -988,10 +993,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> ViewDetached { + pub fn build_with_data(self, extra_data: BTreeMap>) -> ViewDetached { ViewDetached { detached: self._fields.0.unwrap(), uri: self._fields.1.unwrap(), @@ -1002,7 +1004,7 @@ where pub mod view_not_found_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -1122,10 +1124,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> ViewNotFound { + pub fn build_with_data(self, extra_data: BTreeMap>) -> ViewNotFound { ViewNotFound { not_found: self._fields.0.unwrap(), uri: self._fields.1.unwrap(), @@ -1136,7 +1135,7 @@ where pub mod view_record_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -1257,7 +1256,9 @@ impl ViewRecordBuilder { pub fn new() -> Self { ViewRecordBuilder { _state: PhantomData, - _fields: (None, None, None, None, None, None, None, None, None, None, None), + _fields: ( + None, None, None, None, None, None, None, None, None, None, None, + ), _type: PhantomData, } } @@ -1303,10 +1304,7 @@ where impl ViewRecordBuilder { /// Set the `embeds` field (optional) - pub fn embeds( - mut self, - value: impl Into>>>, - ) -> Self { + pub fn embeds(mut self, value: impl Into>>>) -> Self { self._fields.2 = value.into(); self } @@ -1466,10 +1464,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> ViewRecord { + pub fn build_with_data(self, extra_data: BTreeMap>) -> ViewRecord { ViewRecord { author: self._fields.0.unwrap(), cid: self._fields.1.unwrap(), @@ -1485,4 +1480,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/embed/record_with_media.rs b/crates/jacquard-api/src/app_bsky/embed/record_with_media.rs index 7e77f49b..3266cb96 100644 --- a/crates/jacquard-api/src/app_bsky/embed/record_with_media.rs +++ b/crates/jacquard-api/src/app_bsky/embed/record_with_media.rs @@ -20,20 +20,23 @@ use jacquard_derive::{IntoStatic, open_union}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::embed::external::ExternalRecord; -use crate::app_bsky::embed::images::Images; -use crate::app_bsky::embed::record::Record; -use crate::app_bsky::embed::video::Video; use crate::app_bsky::embed::external; +use crate::app_bsky::embed::external::ExternalRecord; use crate::app_bsky::embed::images; +use crate::app_bsky::embed::images::Images; use crate::app_bsky::embed::record; +use crate::app_bsky::embed::record::Record; use crate::app_bsky::embed::video; +use crate::app_bsky::embed::video::Video; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct RecordWithMedia { pub media: RecordWithMediaMedia, pub record: Record, @@ -41,7 +44,6 @@ pub struct RecordWithMedia { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -54,9 +56,11 @@ pub enum RecordWithMediaMedia { External(Box>), } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct View { pub media: ViewMedia, pub record: record::View, @@ -64,7 +68,6 @@ pub struct View { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -109,7 +112,7 @@ impl LexiconSchema for View { pub mod record_with_media_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -229,10 +232,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> RecordWithMedia { + pub fn build_with_data(self, extra_data: BTreeMap>) -> RecordWithMedia { RecordWithMedia { media: self._fields.0.unwrap(), record: self._fields.1.unwrap(), @@ -242,10 +242,10 @@ where } fn lexicon_doc_app_bsky_embed_recordWithMedia() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.bsky.embed.recordWithMedia"), @@ -254,9 +254,10 @@ fn lexicon_doc_app_bsky_embed_recordWithMedia() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Object(LexObject { - required: Some( - vec![SmolStr::new_static("record"), SmolStr::new_static("media")], - ), + required: Some(vec![ + SmolStr::new_static("record"), + SmolStr::new_static("media"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -266,7 +267,7 @@ fn lexicon_doc_app_bsky_embed_recordWithMedia() -> LexiconDoc<'static> { refs: vec![ CowStr::new_static("app.bsky.embed.images"), CowStr::new_static("app.bsky.embed.video"), - CowStr::new_static("app.bsky.embed.external") + CowStr::new_static("app.bsky.embed.external"), ], ..Default::default() }), @@ -286,9 +287,10 @@ fn lexicon_doc_app_bsky_embed_recordWithMedia() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("view"), LexUserType::Object(LexObject { - required: Some( - vec![SmolStr::new_static("record"), SmolStr::new_static("media")], - ), + required: Some(vec![ + SmolStr::new_static("record"), + SmolStr::new_static("media"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -298,7 +300,7 @@ fn lexicon_doc_app_bsky_embed_recordWithMedia() -> LexiconDoc<'static> { refs: vec![ CowStr::new_static("app.bsky.embed.images#view"), CowStr::new_static("app.bsky.embed.video#view"), - CowStr::new_static("app.bsky.embed.external#view") + CowStr::new_static("app.bsky.embed.external#view"), ], ..Default::default() }), @@ -323,7 +325,7 @@ fn lexicon_doc_app_bsky_embed_recordWithMedia() -> LexiconDoc<'static> { pub mod view_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -450,4 +452,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/embed/video.rs b/crates/jacquard-api/src/app_bsky/embed/video.rs index 836f7aba..a3ea61ac 100644 --- a/crates/jacquard-api/src/app_bsky/embed/video.rs +++ b/crates/jacquard-api/src/app_bsky/embed/video.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -22,14 +22,17 @@ use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::app_bsky::embed::AspectRatio; use crate::app_bsky::embed::video; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Caption { pub file: BlobRef, pub lang: Language, @@ -37,9 +40,11 @@ pub struct Caption { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Video { ///Alt text description of the video, for accessibility. #[serde(skip_serializing_if = "Option::is_none")] @@ -136,9 +141,11 @@ where } } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct View { #[serde(skip_serializing_if = "Option::is_none")] pub alt: Option, @@ -263,19 +270,16 @@ impl LexiconSchema for Caption { { let mime = value.blob().mime_type.as_str(); let accepted: &[&str] = &["text/vtt"]; - let matched = accepted - .iter() - .any(|pattern| { - if *pattern == "*/*" { - true - } else if pattern.ends_with("/*") { - let prefix = &pattern[..pattern.len() - 2]; - mime.starts_with(prefix) - && mime.as_bytes().get(prefix.len()) == Some(&b'/') - } else { - mime == *pattern - } - }); + let matched = accepted.iter().any(|pattern| { + if *pattern == "*/*" { + true + } else if pattern.ends_with("/*") { + let prefix = &pattern[..pattern.len() - 2]; + mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/') + } else { + mime == *pattern + } + }); if !matched { return Err(ConstraintError::BlobMimeTypeNotAccepted { path: ValidationPath::from_field("file"), @@ -350,19 +354,16 @@ impl LexiconSchema for Video { { let mime = value.blob().mime_type.as_str(); let accepted: &[&str] = &["video/mp4"]; - let matched = accepted - .iter() - .any(|pattern| { - if *pattern == "*/*" { - true - } else if pattern.ends_with("/*") { - let prefix = &pattern[..pattern.len() - 2]; - mime.starts_with(prefix) - && mime.as_bytes().get(prefix.len()) == Some(&b'/') - } else { - mime == *pattern - } - }); + let matched = accepted.iter().any(|pattern| { + if *pattern == "*/*" { + true + } else if pattern.ends_with("/*") { + let prefix = &pattern[..pattern.len() - 2]; + mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/') + } else { + mime == *pattern + } + }); if !matched { return Err(ConstraintError::BlobMimeTypeNotAccepted { path: ValidationPath::from_field("video"), @@ -415,7 +416,7 @@ impl LexiconSchema for View { pub mod caption_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -545,10 +546,10 @@ where } fn lexicon_doc_app_bsky_embed_video() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.bsky.embed.video"), @@ -557,15 +558,18 @@ fn lexicon_doc_app_bsky_embed_video() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("caption"), LexUserType::Object(LexObject { - required: Some( - vec![SmolStr::new_static("lang"), SmolStr::new_static("file")], - ), + required: Some(vec![ + SmolStr::new_static("lang"), + SmolStr::new_static("file"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("file"), - LexObjectProperty::Blob(LexBlob { ..Default::default() }), + LexObjectProperty::Blob(LexBlob { + ..Default::default() + }), ); map.insert( SmolStr::new_static("lang"), @@ -589,11 +593,9 @@ fn lexicon_doc_app_bsky_embed_video() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("alt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Alt text description of the video, for accessibility.", - ), - ), + description: Some(CowStr::new_static( + "Alt text description of the video, for accessibility.", + )), max_length: Some(10000usize), max_graphemes: Some(1000usize), ..Default::default() @@ -602,9 +604,7 @@ fn lexicon_doc_app_bsky_embed_video() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("aspectRatio"), LexObjectProperty::Ref(LexRef { - r#ref: CowStr::new_static( - "app.bsky.embed.defs#aspectRatio", - ), + r#ref: CowStr::new_static("app.bsky.embed.defs#aspectRatio"), ..Default::default() }), ); @@ -622,17 +622,17 @@ fn lexicon_doc_app_bsky_embed_video() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("presentation"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "A hint to the client about how to present the video.", - ), - ), + description: Some(CowStr::new_static( + "A hint to the client about how to present the video.", + )), ..Default::default() }), ); map.insert( SmolStr::new_static("video"), - LexObjectProperty::Blob(LexBlob { ..Default::default() }), + LexObjectProperty::Blob(LexBlob { + ..Default::default() + }), ); map }, @@ -642,9 +642,10 @@ fn lexicon_doc_app_bsky_embed_video() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("view"), LexUserType::Object(LexObject { - required: Some( - vec![SmolStr::new_static("cid"), SmolStr::new_static("playlist")], - ), + required: Some(vec![ + SmolStr::new_static("cid"), + SmolStr::new_static("playlist"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -659,9 +660,7 @@ fn lexicon_doc_app_bsky_embed_video() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("aspectRatio"), LexObjectProperty::Ref(LexRef { - r#ref: CowStr::new_static( - "app.bsky.embed.defs#aspectRatio", - ), + r#ref: CowStr::new_static("app.bsky.embed.defs#aspectRatio"), ..Default::default() }), ); @@ -682,11 +681,9 @@ fn lexicon_doc_app_bsky_embed_video() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("presentation"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "A hint to the client about how to present the video.", - ), - ), + description: Some(CowStr::new_static( + "A hint to the client about how to present the video.", + )), ..Default::default() }), ); @@ -710,7 +707,7 @@ fn lexicon_doc_app_bsky_embed_video() -> LexiconDoc<'static> { pub mod video_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -812,10 +809,7 @@ impl VideoBuilder { impl VideoBuilder { /// Set the `presentation` field (optional) - pub fn presentation( - mut self, - value: impl Into>>, - ) -> Self { + pub fn presentation(mut self, value: impl Into>>) -> Self { self._fields.3 = value.into(); self } @@ -876,7 +870,7 @@ where pub mod view_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -982,10 +976,7 @@ where St::Cid: view_state::IsUnset, { /// Set the `cid` field (required) - pub fn cid( - mut self, - value: impl Into>, - ) -> ViewBuilder> { + pub fn cid(mut self, value: impl Into>) -> ViewBuilder> { self._fields.2 = Option::Some(value.into()); ViewBuilder { _state: PhantomData, @@ -1016,10 +1007,7 @@ where impl ViewBuilder { /// Set the `presentation` field (optional) - pub fn presentation( - mut self, - value: impl Into>>, - ) -> Self { + pub fn presentation(mut self, value: impl Into>>) -> Self { self._fields.4 = value.into(); self } @@ -1073,4 +1061,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/feed.rs b/crates/jacquard-api/src/app_bsky/feed.rs index 43ad3a93..0f53593d 100644 --- a/crates/jacquard-api/src/app_bsky/feed.rs +++ b/crates/jacquard-api/src/app_bsky/feed.rs @@ -30,41 +30,43 @@ pub mod search_posts; pub mod send_interactions; pub mod threadgate; - #[allow(unused_imports)] use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; use jacquard_common::deps::smol_str::SmolStr; -use jacquard_common::types::string::{Did, AtUri, Cid, Datetime, UriValue}; +use jacquard_common::types::string::{AtUri, Cid, Datetime, Did, UriValue}; use jacquard_common::types::value::Data; use jacquard_derive::{IntoStatic, open_union}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use crate::app_bsky::actor; use crate::app_bsky::actor::ProfileView; use crate::app_bsky::actor::ProfileViewBasic; -use crate::app_bsky::graph::ListViewBasic; -use crate::app_bsky::richtext::facet::Facet; -use crate::com_atproto::label::Label; -use crate::app_bsky::actor; use crate::app_bsky::embed::external; use crate::app_bsky::embed::images; use crate::app_bsky::embed::record; use crate::app_bsky::embed::record_with_media; use crate::app_bsky::embed::video; use crate::app_bsky::feed; +use crate::app_bsky::graph::ListViewBasic; +use crate::app_bsky::richtext::facet::Facet; +use crate::com_atproto::label::Label; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct BlockedAuthor { pub did: Did, #[serde(skip_serializing_if = "Option::is_none")] @@ -73,9 +75,11 @@ pub struct BlockedAuthor { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct BlockedPost { pub author: feed::BlockedAuthor, pub blocked: bool, @@ -144,9 +148,11 @@ impl core::fmt::Display for ContentModeVideo { } } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct FeedViewPost { ///Context provided by feed generator that may be passed back alongside interactions. #[serde(skip_serializing_if = "Option::is_none")] @@ -163,7 +169,6 @@ pub struct FeedViewPost { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -174,9 +179,11 @@ pub enum FeedViewPostReason { ReasonPin(Box>), } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GeneratorView { #[serde(skip_serializing_if = "Option::is_none")] pub accepts_interactions: Option, @@ -204,7 +211,6 @@ pub struct GeneratorView { pub extra_data: Option>>, } - #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum GeneratorViewContentMode { ContentModeUnspecified, @@ -251,8 +257,7 @@ impl Serialize for GeneratorViewContentMode { } } -impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> -for GeneratorViewContentMode { +impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> for GeneratorViewContentMode { fn deserialize(deserializer: D) -> Result where D: serde::Deserializer<'de>, @@ -282,16 +287,16 @@ where GeneratorViewContentMode::ContentModeVideo => { GeneratorViewContentMode::ContentModeVideo } - GeneratorViewContentMode::Other(v) => { - GeneratorViewContentMode::Other(v.into_static()) - } + GeneratorViewContentMode::Other(v) => GeneratorViewContentMode::Other(v.into_static()), } } } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GeneratorViewerState { #[serde(skip_serializing_if = "Option::is_none")] pub like: Option>, @@ -299,9 +304,11 @@ pub struct GeneratorViewerState { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Interaction { #[serde(skip_serializing_if = "Option::is_none")] pub event: Option>, @@ -317,7 +324,6 @@ pub struct Interaction { pub extra_data: Option>>, } - #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum InteractionEvent { RequestLess, @@ -422,9 +428,7 @@ where InteractionEvent::RequestMore => InteractionEvent::RequestMore, InteractionEvent::ClickthroughItem => InteractionEvent::ClickthroughItem, InteractionEvent::ClickthroughAuthor => InteractionEvent::ClickthroughAuthor, - InteractionEvent::ClickthroughReposter => { - InteractionEvent::ClickthroughReposter - } + InteractionEvent::ClickthroughReposter => InteractionEvent::ClickthroughReposter, InteractionEvent::ClickthroughEmbed => InteractionEvent::ClickthroughEmbed, InteractionEvent::InteractionSeen => InteractionEvent::InteractionSeen, InteractionEvent::InteractionLike => InteractionEvent::InteractionLike, @@ -497,9 +501,11 @@ impl core::fmt::Display for InteractionShare { } } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct NotFoundPost { pub not_found: bool, pub uri: AtUri, @@ -507,9 +513,11 @@ pub struct NotFoundPost { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct PostView { pub author: ProfileViewBasic, #[serde(skip_serializing_if = "Option::is_none")] @@ -541,7 +549,6 @@ pub struct PostView { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -558,17 +565,21 @@ pub enum PostViewEmbed { RecordWithMediaView(Box>), } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ReasonPin { #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ReasonRepost { pub by: ProfileViewBasic, #[serde(skip_serializing_if = "Option::is_none")] @@ -580,9 +591,11 @@ pub struct ReasonRepost { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ReplyRef { ///When parent is a reply to another post, this is the author of that post. #[serde(skip_serializing_if = "Option::is_none")] @@ -593,7 +606,6 @@ pub struct ReplyRef { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -606,7 +618,6 @@ pub enum ReplyRefParent { BlockedPost(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -639,9 +650,11 @@ impl core::fmt::Display for RequestMore { } } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct SkeletonFeedPost { ///Context that will be passed through to client and may be passed to feed generator back alongside interactions. #[serde(skip_serializing_if = "Option::is_none")] @@ -653,7 +666,6 @@ pub struct SkeletonFeedPost { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -664,17 +676,21 @@ pub enum SkeletonFeedPostReason { SkeletonReasonPin(Box>), } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct SkeletonReasonPin { #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct SkeletonReasonRepost { pub repost: AtUri, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -684,7 +700,10 @@ pub struct SkeletonReasonRepost { /// Metadata about this post within the context of the thread it is in. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ThreadContext { #[serde(skip_serializing_if = "Option::is_none")] pub root_author_like: Option>, @@ -692,9 +711,11 @@ pub struct ThreadContext { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ThreadViewPost { #[serde(skip_serializing_if = "Option::is_none")] pub parent: Option>, @@ -707,7 +728,6 @@ pub struct ThreadViewPost { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -720,7 +740,6 @@ pub enum ThreadViewPostParent { BlockedPost(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -733,9 +752,11 @@ pub enum ThreadViewPostRepliesItem { BlockedPost(Box>), } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ThreadgateView { #[serde(skip_serializing_if = "Option::is_none")] pub cid: Option>, @@ -752,7 +773,10 @@ pub struct ThreadgateView { /// Metadata about the requesting account's relationship with the subject content. Only has meaningful content for authed requests. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ViewerState { #[serde(skip_serializing_if = "Option::is_none")] pub bookmarked: Option, @@ -1125,7 +1149,7 @@ impl LexiconSchema for ViewerState { pub mod blocked_author_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -1226,10 +1250,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> BlockedAuthor { + pub fn build_with_data(self, extra_data: BTreeMap>) -> BlockedAuthor { BlockedAuthor { did: self._fields.0.unwrap(), viewer: self._fields.1, @@ -1239,10 +1260,10 @@ where } fn lexicon_doc_app_bsky_feed_defs() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.bsky.feed.defs"), @@ -1265,9 +1286,7 @@ fn lexicon_doc_app_bsky_feed_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("viewer"), LexObjectProperty::Ref(LexRef { - r#ref: CowStr::new_static( - "app.bsky.actor.defs#viewerState", - ), + r#ref: CowStr::new_static("app.bsky.actor.defs#viewerState"), ..Default::default() }), ); @@ -1279,12 +1298,11 @@ fn lexicon_doc_app_bsky_feed_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("blockedPost"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("uri"), SmolStr::new_static("blocked"), - SmolStr::new_static("author") - ], - ), + required: Some(vec![ + SmolStr::new_static("uri"), + SmolStr::new_static("blocked"), + SmolStr::new_static("author"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -1315,27 +1333,39 @@ fn lexicon_doc_app_bsky_feed_defs() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("clickthroughAuthor"), - LexUserType::Token(LexToken { ..Default::default() }), + LexUserType::Token(LexToken { + ..Default::default() + }), ); map.insert( SmolStr::new_static("clickthroughEmbed"), - LexUserType::Token(LexToken { ..Default::default() }), + LexUserType::Token(LexToken { + ..Default::default() + }), ); map.insert( SmolStr::new_static("clickthroughItem"), - LexUserType::Token(LexToken { ..Default::default() }), + LexUserType::Token(LexToken { + ..Default::default() + }), ); map.insert( SmolStr::new_static("clickthroughReposter"), - LexUserType::Token(LexToken { ..Default::default() }), + LexUserType::Token(LexToken { + ..Default::default() + }), ); map.insert( SmolStr::new_static("contentModeUnspecified"), - LexUserType::Token(LexToken { ..Default::default() }), + LexUserType::Token(LexToken { + ..Default::default() + }), ); map.insert( SmolStr::new_static("contentModeVideo"), - LexUserType::Token(LexToken { ..Default::default() }), + LexUserType::Token(LexToken { + ..Default::default() + }), ); map.insert( SmolStr::new_static("feedViewPost"), @@ -1400,14 +1430,14 @@ fn lexicon_doc_app_bsky_feed_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("generatorView"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("uri"), SmolStr::new_static("cid"), - SmolStr::new_static("did"), SmolStr::new_static("creator"), - SmolStr::new_static("displayName"), - SmolStr::new_static("indexedAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("uri"), + SmolStr::new_static("cid"), + SmolStr::new_static("did"), + SmolStr::new_static("creator"), + SmolStr::new_static("displayName"), + SmolStr::new_static("indexedAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -1433,14 +1463,14 @@ fn lexicon_doc_app_bsky_feed_defs() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("contentMode"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("creator"), LexObjectProperty::Ref(LexRef { - r#ref: CowStr::new_static( - "app.bsky.actor.defs#profileView", - ), + r#ref: CowStr::new_static("app.bsky.actor.defs#profileView"), ..Default::default() }), ); @@ -1471,7 +1501,9 @@ fn lexicon_doc_app_bsky_feed_defs() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("displayName"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("indexedAt"), @@ -1582,34 +1614,47 @@ fn lexicon_doc_app_bsky_feed_defs() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("interactionLike"), - LexUserType::Token(LexToken { ..Default::default() }), + LexUserType::Token(LexToken { + ..Default::default() + }), ); map.insert( SmolStr::new_static("interactionQuote"), - LexUserType::Token(LexToken { ..Default::default() }), + LexUserType::Token(LexToken { + ..Default::default() + }), ); map.insert( SmolStr::new_static("interactionReply"), - LexUserType::Token(LexToken { ..Default::default() }), + LexUserType::Token(LexToken { + ..Default::default() + }), ); map.insert( SmolStr::new_static("interactionRepost"), - LexUserType::Token(LexToken { ..Default::default() }), + LexUserType::Token(LexToken { + ..Default::default() + }), ); map.insert( SmolStr::new_static("interactionSeen"), - LexUserType::Token(LexToken { ..Default::default() }), + LexUserType::Token(LexToken { + ..Default::default() + }), ); map.insert( SmolStr::new_static("interactionShare"), - LexUserType::Token(LexToken { ..Default::default() }), + LexUserType::Token(LexToken { + ..Default::default() + }), ); map.insert( SmolStr::new_static("notFoundPost"), LexUserType::Object(LexObject { - required: Some( - vec![SmolStr::new_static("uri"), SmolStr::new_static("notFound")], - ), + required: Some(vec![ + SmolStr::new_static("uri"), + SmolStr::new_static("notFound"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -1634,22 +1679,20 @@ fn lexicon_doc_app_bsky_feed_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("postView"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("uri"), SmolStr::new_static("cid"), - SmolStr::new_static("author"), SmolStr::new_static("record"), - SmolStr::new_static("indexedAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("uri"), + SmolStr::new_static("cid"), + SmolStr::new_static("author"), + SmolStr::new_static("record"), + SmolStr::new_static("indexedAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("author"), LexObjectProperty::Ref(LexRef { - r#ref: CowStr::new_static( - "app.bsky.actor.defs#profileViewBasic", - ), + r#ref: CowStr::new_static("app.bsky.actor.defs#profileViewBasic"), ..Default::default() }), ); @@ -1680,7 +1723,7 @@ fn lexicon_doc_app_bsky_feed_defs() -> LexiconDoc<'static> { CowStr::new_static("app.bsky.embed.video#view"), CowStr::new_static("app.bsky.embed.external#view"), CowStr::new_static("app.bsky.embed.record#view"), - CowStr::new_static("app.bsky.embed.recordWithMedia#view") + CowStr::new_static("app.bsky.embed.recordWithMedia#view"), ], ..Default::default() }), @@ -1772,18 +1815,17 @@ fn lexicon_doc_app_bsky_feed_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("reasonRepost"), LexUserType::Object(LexObject { - required: Some( - vec![SmolStr::new_static("by"), SmolStr::new_static("indexedAt")], - ), + required: Some(vec![ + SmolStr::new_static("by"), + SmolStr::new_static("indexedAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("by"), LexObjectProperty::Ref(LexRef { - r#ref: CowStr::new_static( - "app.bsky.actor.defs#profileViewBasic", - ), + r#ref: CowStr::new_static("app.bsky.actor.defs#profileViewBasic"), ..Default::default() }), ); @@ -1816,18 +1858,17 @@ fn lexicon_doc_app_bsky_feed_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("replyRef"), LexUserType::Object(LexObject { - required: Some( - vec![SmolStr::new_static("root"), SmolStr::new_static("parent")], - ), + required: Some(vec![ + SmolStr::new_static("root"), + SmolStr::new_static("parent"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("grandparentAuthor"), LexObjectProperty::Ref(LexRef { - r#ref: CowStr::new_static( - "app.bsky.actor.defs#profileViewBasic", - ), + r#ref: CowStr::new_static("app.bsky.actor.defs#profileViewBasic"), ..Default::default() }), ); @@ -1837,7 +1878,7 @@ fn lexicon_doc_app_bsky_feed_defs() -> LexiconDoc<'static> { refs: vec![ CowStr::new_static("#postView"), CowStr::new_static("#notFoundPost"), - CowStr::new_static("#blockedPost") + CowStr::new_static("#blockedPost"), ], ..Default::default() }), @@ -1848,7 +1889,7 @@ fn lexicon_doc_app_bsky_feed_defs() -> LexiconDoc<'static> { refs: vec![ CowStr::new_static("#postView"), CowStr::new_static("#notFoundPost"), - CowStr::new_static("#blockedPost") + CowStr::new_static("#blockedPost"), ], ..Default::default() }), @@ -1860,11 +1901,15 @@ fn lexicon_doc_app_bsky_feed_defs() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("requestLess"), - LexUserType::Token(LexToken { ..Default::default() }), + LexUserType::Token(LexToken { + ..Default::default() + }), ); map.insert( SmolStr::new_static("requestMore"), - LexUserType::Token(LexToken { ..Default::default() }), + LexUserType::Token(LexToken { + ..Default::default() + }), ); map.insert( SmolStr::new_static("skeletonFeedPost"), @@ -1940,11 +1985,9 @@ fn lexicon_doc_app_bsky_feed_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("threadContext"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "Metadata about this post within the context of the thread it is in.", - ), - ), + description: Some(CowStr::new_static( + "Metadata about this post within the context of the thread it is in.", + )), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -1973,7 +2016,7 @@ fn lexicon_doc_app_bsky_feed_defs() -> LexiconDoc<'static> { refs: vec![ CowStr::new_static("#threadViewPost"), CowStr::new_static("#notFoundPost"), - CowStr::new_static("#blockedPost") + CowStr::new_static("#blockedPost"), ], ..Default::default() }), @@ -1992,7 +2035,7 @@ fn lexicon_doc_app_bsky_feed_defs() -> LexiconDoc<'static> { refs: vec![ CowStr::new_static("#threadViewPost"), CowStr::new_static("#notFoundPost"), - CowStr::new_static("#blockedPost") + CowStr::new_static("#blockedPost"), ], ..Default::default() }), @@ -2028,9 +2071,7 @@ fn lexicon_doc_app_bsky_feed_defs() -> LexiconDoc<'static> { SmolStr::new_static("lists"), LexObjectProperty::Array(LexArray { items: LexArrayItem::Ref(LexRef { - r#ref: CowStr::new_static( - "app.bsky.graph.defs#listViewBasic", - ), + r#ref: CowStr::new_static("app.bsky.graph.defs#listViewBasic"), ..Default::default() }), ..Default::default() @@ -2122,7 +2163,7 @@ fn lexicon_doc_app_bsky_feed_defs() -> LexiconDoc<'static> { pub mod blocked_post_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -2181,7 +2222,11 @@ pub mod blocked_post_state { /// Builder for constructing an instance of this type. pub struct BlockedPostBuilder { _state: PhantomData St>, - _fields: (Option>, Option, Option>), + _fields: ( + Option>, + Option, + Option>, + ), _type: PhantomData S>, } @@ -2277,10 +2322,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> BlockedPost { + pub fn build_with_data(self, extra_data: BTreeMap>) -> BlockedPost { BlockedPost { author: self._fields.0.unwrap(), blocked: self._fields.1.unwrap(), @@ -2292,7 +2334,7 @@ where pub mod feed_view_post_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -2441,10 +2483,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> FeedViewPost { + pub fn build_with_data(self, extra_data: BTreeMap>) -> FeedViewPost { FeedViewPost { feed_context: self._fields.0, post: self._fields.1.unwrap(), @@ -2458,7 +2497,7 @@ where pub mod generator_view_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -2603,20 +2642,7 @@ impl GeneratorViewBuilder { GeneratorViewBuilder { _state: PhantomData, _fields: ( - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, ), _type: PhantomData, } @@ -2670,18 +2696,12 @@ where impl GeneratorViewBuilder { /// Set the `contentMode` field (optional) - pub fn content_mode( - mut self, - value: impl Into>>, - ) -> Self { + pub fn content_mode(mut self, value: impl Into>>) -> Self { self._fields.3 = value.into(); self } /// Set the `contentMode` field to an Option value (optional) - pub fn maybe_content_mode( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_content_mode(mut self, value: Option>) -> Self { self._fields.3 = value; self } @@ -2721,10 +2741,7 @@ impl GeneratorViewBuilder { impl GeneratorViewBuilder { /// Set the `descriptionFacets` field (optional) - pub fn description_facets( - mut self, - value: impl Into>>>, - ) -> Self { + pub fn description_facets(mut self, value: impl Into>>>) -> Self { self._fields.6 = value.into(); self } @@ -2839,10 +2856,7 @@ where impl GeneratorViewBuilder { /// Set the `viewer` field (optional) - pub fn viewer( - mut self, - value: impl Into>>, - ) -> Self { + pub fn viewer(mut self, value: impl Into>>) -> Self { self._fields.13 = value.into(); self } @@ -2884,10 +2898,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> GeneratorView { + pub fn build_with_data(self, extra_data: BTreeMap>) -> GeneratorView { GeneratorView { accepts_interactions: self._fields.0, avatar: self._fields.1, @@ -2910,7 +2921,7 @@ where pub mod not_found_post_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -3030,10 +3041,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> NotFoundPost { + pub fn build_with_data(self, extra_data: BTreeMap>) -> NotFoundPost { NotFoundPost { not_found: self._fields.0.unwrap(), uri: self._fields.1.unwrap(), @@ -3044,7 +3052,7 @@ where pub mod post_view_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -3170,20 +3178,7 @@ impl PostViewBuilder { PostViewBuilder { _state: PhantomData, _fields: ( - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, ), _type: PhantomData, @@ -3373,10 +3368,7 @@ impl PostViewBuilder { impl PostViewBuilder { /// Set the `threadgate` field (optional) - pub fn threadgate( - mut self, - value: impl Into>>, - ) -> Self { + pub fn threadgate(mut self, value: impl Into>>) -> Self { self._fields.12 = value.into(); self } @@ -3474,7 +3466,7 @@ where pub mod reason_repost_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -3627,10 +3619,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> ReasonRepost { + pub fn build_with_data(self, extra_data: BTreeMap>) -> ReasonRepost { ReasonRepost { by: self._fields.0.unwrap(), cid: self._fields.1, @@ -3643,7 +3632,7 @@ where pub mod reply_ref_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -3716,18 +3705,12 @@ impl ReplyRefBuilder { impl ReplyRefBuilder { /// Set the `grandparentAuthor` field (optional) - pub fn grandparent_author( - mut self, - value: impl Into>>, - ) -> Self { + pub fn grandparent_author(mut self, value: impl Into>>) -> Self { self._fields.0 = value.into(); self } /// Set the `grandparentAuthor` field to an Option value (optional) - pub fn maybe_grandparent_author( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_grandparent_author(mut self, value: Option>) -> Self { self._fields.0 = value; self } @@ -3799,7 +3782,7 @@ where pub mod skeleton_feed_post_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -3832,7 +3815,11 @@ pub mod skeleton_feed_post_state { /// Builder for constructing an instance of this type. pub struct SkeletonFeedPostBuilder { _state: PhantomData St>, - _fields: (Option, Option>, Option>), + _fields: ( + Option, + Option>, + Option>, + ), _type: PhantomData S>, } @@ -3888,10 +3875,7 @@ where impl SkeletonFeedPostBuilder { /// Set the `reason` field (optional) - pub fn reason( - mut self, - value: impl Into>>, - ) -> Self { + pub fn reason(mut self, value: impl Into>>) -> Self { self._fields.2 = value.into(); self } @@ -3917,10 +3901,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> SkeletonFeedPost { + pub fn build_with_data(self, extra_data: BTreeMap>) -> SkeletonFeedPost { SkeletonFeedPost { feed_context: self._fields.0, post: self._fields.1.unwrap(), @@ -3932,7 +3913,7 @@ where pub mod skeleton_reason_repost_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -3963,10 +3944,7 @@ pub mod skeleton_reason_repost_state { } /// Builder for constructing an instance of this type. -pub struct SkeletonReasonRepostBuilder< - S: BosStr, - St: skeleton_reason_repost_state::State, -> { +pub struct SkeletonReasonRepostBuilder { _state: PhantomData St>, _fields: (Option>,), _type: PhantomData S>, @@ -4035,7 +4013,7 @@ where pub mod thread_view_post_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -4129,18 +4107,12 @@ where impl ThreadViewPostBuilder { /// Set the `replies` field (optional) - pub fn replies( - mut self, - value: impl Into>>>, - ) -> Self { + pub fn replies(mut self, value: impl Into>>>) -> Self { self._fields.2 = value.into(); self } /// Set the `replies` field to an Option value (optional) - pub fn maybe_replies( - mut self, - value: Option>>, - ) -> Self { + pub fn maybe_replies(mut self, value: Option>>) -> Self { self._fields.2 = value; self } @@ -4148,18 +4120,12 @@ impl ThreadViewPostBuilder impl ThreadViewPostBuilder { /// Set the `threadContext` field (optional) - pub fn thread_context( - mut self, - value: impl Into>>, - ) -> Self { + pub fn thread_context(mut self, value: impl Into>>) -> Self { self._fields.3 = value.into(); self } /// Set the `threadContext` field to an Option value (optional) - pub fn maybe_thread_context( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_thread_context(mut self, value: Option>) -> Self { self._fields.3 = value; self } @@ -4181,10 +4147,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> ThreadViewPost { + pub fn build_with_data(self, extra_data: BTreeMap>) -> ThreadViewPost { ThreadViewPost { parent: self._fields.0, post: self._fields.1.unwrap(), @@ -4193,4 +4156,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/feed/describe_feed_generator.rs b/crates/jacquard-api/src/app_bsky/feed/describe_feed_generator.rs index cc2a289d..0b70d5f9 100644 --- a/crates/jacquard-api/src/app_bsky/feed/describe_feed_generator.rs +++ b/crates/jacquard-api/src/app_bsky/feed/describe_feed_generator.rs @@ -10,33 +10,38 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; use jacquard_common::deps::smol_str::SmolStr; -use jacquard_common::types::string::{Did, AtUri}; +use jacquard_common::types::string::{AtUri, Did}; use jacquard_common::types::value::Data; use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::app_bsky::feed::describe_feed_generator; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::feed::describe_feed_generator; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Feed { pub uri: AtUri, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Links { #[serde(skip_serializing_if = "Option::is_none")] pub privacy_policy: Option, @@ -46,9 +51,11 @@ pub struct Links { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DescribeFeedGeneratorOutput { pub did: Did, pub feeds: Vec>, @@ -118,7 +125,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for DescribeFeedGeneratorRequest { pub mod feed_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -179,10 +186,7 @@ where St::Uri: feed_state::IsUnset, { /// Set the `uri` field (required) - pub fn uri( - mut self, - value: impl Into>, - ) -> FeedBuilder> { + pub fn uri(mut self, value: impl Into>) -> FeedBuilder> { self._fields.0 = Option::Some(value.into()); FeedBuilder { _state: PhantomData, @@ -214,10 +218,10 @@ where } fn lexicon_doc_app_bsky_feed_describeFeedGenerator() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.bsky.feed.describeFeedGenerator"), @@ -250,11 +254,15 @@ fn lexicon_doc_app_bsky_feed_describeFeedGenerator() -> LexiconDoc<'static> { let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("privacyPolicy"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("termsOfService"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map }, @@ -272,4 +280,4 @@ fn lexicon_doc_app_bsky_feed_describeFeedGenerator() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/feed/generator.rs b/crates/jacquard-api/src/app_bsky/feed/generator.rs index b1328b33..b335d1ff 100644 --- a/crates/jacquard-api/src/app_bsky/feed/generator.rs +++ b/crates/jacquard-api/src/app_bsky/feed/generator.rs @@ -10,14 +10,14 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::blob::BlobRef; use jacquard_common::types::collection::{Collection, RecordError}; -use jacquard_common::types::string::{Did, AtUri, Cid, Datetime}; +use jacquard_common::types::string::{AtUri, Cid, Datetime, Did}; use jacquard_common::types::uri::{RecordUri, UriError}; use jacquard_common::types::value::Data; use jacquard_common::xrpc::XrpcResp; @@ -25,11 +25,11 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::app_bsky::richtext::facet::Facet; use crate::com_atproto::label::SelfLabels; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; /// Record declaring of the existence of a feed generator, and containing metadata about it. The record can exist in any repository. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -61,7 +61,6 @@ pub struct Generator { pub extra_data: Option>>, } - #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum GeneratorContentMode { ContentModeUnspecified, @@ -135,12 +134,8 @@ where GeneratorContentMode::ContentModeUnspecified => { GeneratorContentMode::ContentModeUnspecified } - GeneratorContentMode::ContentModeVideo => { - GeneratorContentMode::ContentModeVideo - } - GeneratorContentMode::Other(v) => { - GeneratorContentMode::Other(v.into_static()) - } + GeneratorContentMode::ContentModeVideo => GeneratorContentMode::ContentModeVideo, + GeneratorContentMode::Other(v) => GeneratorContentMode::Other(v.into_static()), } } } @@ -216,25 +211,20 @@ impl LexiconSchema for Generator { { let mime = value.blob().mime_type.as_str(); let accepted: &[&str] = &["image/png", "image/jpeg"]; - let matched = accepted - .iter() - .any(|pattern| { - if *pattern == "*/*" { - true - } else if pattern.ends_with("/*") { - let prefix = &pattern[..pattern.len() - 2]; - mime.starts_with(prefix) - && mime.as_bytes().get(prefix.len()) == Some(&b'/') - } else { - mime == *pattern - } - }); + let matched = accepted.iter().any(|pattern| { + if *pattern == "*/*" { + true + } else if pattern.ends_with("/*") { + let prefix = &pattern[..pattern.len() - 2]; + mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/') + } else { + mime == *pattern + } + }); if !matched { return Err(ConstraintError::BlobMimeTypeNotAccepted { path: ValidationPath::from_field("avatar"), - accepted: vec![ - "image/png".to_string(), "image/jpeg".to_string() - ], + accepted: vec!["image/png".to_string(), "image/jpeg".to_string()], actual: mime.to_string(), }); } @@ -292,7 +282,7 @@ impl LexiconSchema for Generator { pub mod generator_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -411,10 +401,7 @@ impl GeneratorBuilder { impl GeneratorBuilder { /// Set the `contentMode` field (optional) - pub fn content_mode( - mut self, - value: impl Into>>, - ) -> Self { + pub fn content_mode(mut self, value: impl Into>>) -> Self { self._fields.2 = value.into(); self } @@ -459,10 +446,7 @@ impl GeneratorBuilder { impl GeneratorBuilder { /// Set the `descriptionFacets` field (optional) - pub fn description_facets( - mut self, - value: impl Into>>>, - ) -> Self { + pub fn description_facets(mut self, value: impl Into>>>) -> Self { self._fields.5 = value.into(); self } @@ -547,10 +531,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> Generator { + pub fn build_with_data(self, extra_data: BTreeMap>) -> Generator { Generator { accepts_interactions: self._fields.0, avatar: self._fields.1, @@ -567,10 +548,10 @@ where } fn lexicon_doc_app_bsky_feed_generator() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.bsky.feed.generator"), @@ -673,4 +654,4 @@ fn lexicon_doc_app_bsky_feed_generator() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/feed/get_actor_feeds.rs b/crates/jacquard-api/src/app_bsky/feed/get_actor_feeds.rs index 11be7538..c1d14b8e 100644 --- a/crates/jacquard-api/src/app_bsky/feed/get_actor_feeds.rs +++ b/crates/jacquard-api/src/app_bsky/feed/get_actor_feeds.rs @@ -8,18 +8,21 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_bsky::feed::GeneratorView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::ident::AtIdentifier; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::feed::GeneratorView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetActorFeeds { pub actor: AtIdentifier, #[serde(skip_serializing_if = "Option::is_none")] @@ -30,9 +33,11 @@ pub struct GetActorFeeds { pub limit: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetActorFeedsOutput { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -71,7 +76,7 @@ fn _default_limit() -> Option { pub mod get_actor_feeds_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -184,4 +189,4 @@ where limit: self._fields.2, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/feed/get_actor_likes.rs b/crates/jacquard-api/src/app_bsky/feed/get_actor_likes.rs index 09676575..adc4a797 100644 --- a/crates/jacquard-api/src/app_bsky/feed/get_actor_likes.rs +++ b/crates/jacquard-api/src/app_bsky/feed/get_actor_likes.rs @@ -8,18 +8,21 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_bsky::feed::FeedViewPost; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::ident::AtIdentifier; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::feed::FeedViewPost; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetActorLikes { pub actor: AtIdentifier, #[serde(skip_serializing_if = "Option::is_none")] @@ -30,9 +33,11 @@ pub struct GetActorLikes { pub limit: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetActorLikesOutput { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -41,18 +46,9 @@ pub struct GetActorLikesOutput { pub extra_data: Option>>, } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum GetActorLikesError { #[serde(rename = "BlockedActor")] @@ -61,7 +57,10 @@ pub enum GetActorLikesError { BlockedByActor(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for GetActorLikesError { @@ -122,7 +121,7 @@ fn _default_limit() -> Option { pub mod get_actor_likes_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -235,4 +234,4 @@ where limit: self._fields.2, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/feed/get_author_feed.rs b/crates/jacquard-api/src/app_bsky/feed/get_author_feed.rs index fce60e23..2bdd3e7a 100644 --- a/crates/jacquard-api/src/app_bsky/feed/get_author_feed.rs +++ b/crates/jacquard-api/src/app_bsky/feed/get_author_feed.rs @@ -8,18 +8,21 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_bsky::feed::FeedViewPost; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::ident::AtIdentifier; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::feed::FeedViewPost; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetAuthorFeed { pub actor: AtIdentifier, #[serde(skip_serializing_if = "Option::is_none")] @@ -38,9 +41,11 @@ pub struct GetAuthorFeed { pub limit: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetAuthorFeedOutput { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -49,18 +54,9 @@ pub struct GetAuthorFeedOutput { pub extra_data: Option>>, } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum GetAuthorFeedError { #[serde(rename = "BlockedActor")] @@ -69,7 +65,10 @@ pub enum GetAuthorFeedError { BlockedByActor(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for GetAuthorFeedError { @@ -138,7 +137,7 @@ fn _default_limit() -> Option { pub mod get_author_feed_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -171,7 +170,13 @@ pub mod get_author_feed_state { /// Builder for constructing an instance of this type. pub struct GetAuthorFeedBuilder { _state: PhantomData St>, - _fields: (Option>, Option, Option, Option, Option), + _fields: ( + Option>, + Option, + Option, + Option, + Option, + ), _type: PhantomData S>, } @@ -279,4 +284,4 @@ where limit: self._fields.4, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/feed/get_feed.rs b/crates/jacquard-api/src/app_bsky/feed/get_feed.rs index 90697476..020d038d 100644 --- a/crates/jacquard-api/src/app_bsky/feed/get_feed.rs +++ b/crates/jacquard-api/src/app_bsky/feed/get_feed.rs @@ -8,18 +8,21 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_bsky::feed::FeedViewPost; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::AtUri; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::feed::FeedViewPost; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetFeed { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -30,9 +33,11 @@ pub struct GetFeed { pub limit: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetFeedOutput { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -41,25 +46,19 @@ pub struct GetFeedOutput { pub extra_data: Option>>, } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum GetFeedError { #[serde(rename = "UnknownFeed")] UnknownFeed(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for GetFeedError { @@ -113,7 +112,7 @@ fn _default_limit() -> Option { pub mod get_feed_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -226,4 +225,4 @@ where limit: self._fields.2, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/feed/get_feed_generator.rs b/crates/jacquard-api/src/app_bsky/feed/get_feed_generator.rs index eed91312..1a7703bc 100644 --- a/crates/jacquard-api/src/app_bsky/feed/get_feed_generator.rs +++ b/crates/jacquard-api/src/app_bsky/feed/get_feed_generator.rs @@ -8,25 +8,30 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_bsky::feed::GeneratorView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::AtUri; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::feed::GeneratorView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetFeedGenerator { pub feed: AtUri, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetFeedGeneratorOutput { ///Indicates whether the feed generator service has been online recently, or else seems to be inactive. pub is_online: bool, @@ -63,7 +68,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetFeedGeneratorRequest { pub mod get_feed_generator_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -148,4 +153,4 @@ where feed: self._fields.0.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/feed/get_feed_generators.rs b/crates/jacquard-api/src/app_bsky/feed/get_feed_generators.rs index e5fcc777..a32facf0 100644 --- a/crates/jacquard-api/src/app_bsky/feed/get_feed_generators.rs +++ b/crates/jacquard-api/src/app_bsky/feed/get_feed_generators.rs @@ -8,25 +8,30 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_bsky::feed::GeneratorView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::AtUri; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::feed::GeneratorView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetFeedGenerators { pub feeds: Vec>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetFeedGeneratorsOutput { pub feeds: Vec>, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -59,7 +64,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetFeedGeneratorsRequest { pub mod get_feed_generators_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -144,4 +149,4 @@ where feeds: self._fields.0.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/feed/get_feed_skeleton.rs b/crates/jacquard-api/src/app_bsky/feed/get_feed_skeleton.rs index 0bb251b0..7a0fda76 100644 --- a/crates/jacquard-api/src/app_bsky/feed/get_feed_skeleton.rs +++ b/crates/jacquard-api/src/app_bsky/feed/get_feed_skeleton.rs @@ -8,18 +8,21 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_bsky::feed::SkeletonFeedPost; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::AtUri; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::feed::SkeletonFeedPost; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetFeedSkeleton { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -30,9 +33,11 @@ pub struct GetFeedSkeleton { pub limit: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetFeedSkeletonOutput { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -44,25 +49,19 @@ pub struct GetFeedSkeletonOutput { pub extra_data: Option>>, } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum GetFeedSkeletonError { #[serde(rename = "UnknownFeed")] UnknownFeed(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for GetFeedSkeletonError { @@ -116,7 +115,7 @@ fn _default_limit() -> Option { pub mod get_feed_skeleton_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -229,4 +228,4 @@ where limit: self._fields.2, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/feed/get_likes.rs b/crates/jacquard-api/src/app_bsky/feed/get_likes.rs index 37791e24..f7e9e72f 100644 --- a/crates/jacquard-api/src/app_bsky/feed/get_likes.rs +++ b/crates/jacquard-api/src/app_bsky/feed/get_likes.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -21,14 +21,17 @@ use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::app_bsky::actor::ProfileView; use crate::app_bsky::feed::get_likes; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Like { pub actor: ProfileView, pub created_at: Datetime, @@ -37,9 +40,11 @@ pub struct Like { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetLikes { #[serde(skip_serializing_if = "Option::is_none")] pub cid: Option>, @@ -52,9 +57,11 @@ pub struct GetLikes { pub uri: AtUri, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetLikesOutput { #[serde(skip_serializing_if = "Option::is_none")] pub cid: Option>, @@ -107,7 +114,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetLikesRequest { pub mod like_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -273,10 +280,10 @@ where } fn lexicon_doc_app_bsky_feed_getLikes() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.bsky.feed.getLikes"), @@ -285,22 +292,18 @@ fn lexicon_doc_app_bsky_feed_getLikes() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("like"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("indexedAt"), - SmolStr::new_static("createdAt"), - SmolStr::new_static("actor") - ], - ), + required: Some(vec![ + SmolStr::new_static("indexedAt"), + SmolStr::new_static("createdAt"), + SmolStr::new_static("actor"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("actor"), LexObjectProperty::Ref(LexRef { - r#ref: CowStr::new_static( - "app.bsky.actor.defs#profileView", - ), + r#ref: CowStr::new_static("app.bsky.actor.defs#profileView"), ..Default::default() }), ); @@ -388,7 +391,7 @@ fn _default_limit() -> Option { pub mod get_likes_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -515,4 +518,4 @@ where uri: self._fields.3.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/feed/get_list_feed.rs b/crates/jacquard-api/src/app_bsky/feed/get_list_feed.rs index 04aeaec0..a308ddc9 100644 --- a/crates/jacquard-api/src/app_bsky/feed/get_list_feed.rs +++ b/crates/jacquard-api/src/app_bsky/feed/get_list_feed.rs @@ -8,18 +8,21 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_bsky::feed::FeedViewPost; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::AtUri; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::feed::FeedViewPost; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetListFeed { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -30,9 +33,11 @@ pub struct GetListFeed { pub list: AtUri, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetListFeedOutput { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -41,25 +46,19 @@ pub struct GetListFeedOutput { pub extra_data: Option>>, } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum GetListFeedError { #[serde(rename = "UnknownList")] UnknownList(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for GetListFeedError { @@ -113,7 +112,7 @@ fn _default_limit() -> Option { pub mod get_list_feed_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -226,4 +225,4 @@ where list: self._fields.2.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/feed/get_post_thread.rs b/crates/jacquard-api/src/app_bsky/feed/get_post_thread.rs index 6ba6161c..b203448d 100644 --- a/crates/jacquard-api/src/app_bsky/feed/get_post_thread.rs +++ b/crates/jacquard-api/src/app_bsky/feed/get_post_thread.rs @@ -8,21 +8,24 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_bsky::feed::BlockedPost; +use crate::app_bsky::feed::NotFoundPost; +use crate::app_bsky::feed::ThreadViewPost; +use crate::app_bsky::feed::ThreadgateView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::AtUri; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::feed::BlockedPost; -use crate::app_bsky::feed::NotFoundPost; -use crate::app_bsky::feed::ThreadViewPost; -use crate::app_bsky::feed::ThreadgateView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetPostThread { ///Defaults to `6`. Min: 0. Max: 1000. #[serde(default = "_default_depth")] @@ -35,9 +38,11 @@ pub struct GetPostThread { pub uri: AtUri, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetPostThreadOutput { pub thread: GetPostThreadOutputThread, #[serde(skip_serializing_if = "Option::is_none")] @@ -46,7 +51,6 @@ pub struct GetPostThreadOutput { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -59,25 +63,19 @@ pub enum GetPostThreadOutputThread { BlockedPost(Box>), } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum GetPostThreadError { #[serde(rename = "NotFound")] NotFound(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for GetPostThreadError { @@ -135,7 +133,7 @@ fn _default_parent_height() -> Option { pub mod get_post_thread_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -248,4 +246,4 @@ where uri: self._fields.2.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/feed/get_posts.rs b/crates/jacquard-api/src/app_bsky/feed/get_posts.rs index 2fa8d5fe..b41d6ac4 100644 --- a/crates/jacquard-api/src/app_bsky/feed/get_posts.rs +++ b/crates/jacquard-api/src/app_bsky/feed/get_posts.rs @@ -8,25 +8,30 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_bsky::feed::PostView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::AtUri; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::feed::PostView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetPosts { pub uris: Vec>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetPostsOutput { pub posts: Vec>, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -59,7 +64,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetPostsRequest { pub mod get_posts_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -144,4 +149,4 @@ where uris: self._fields.0.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/feed/get_quotes.rs b/crates/jacquard-api/src/app_bsky/feed/get_quotes.rs index ef3d2116..053909d5 100644 --- a/crates/jacquard-api/src/app_bsky/feed/get_quotes.rs +++ b/crates/jacquard-api/src/app_bsky/feed/get_quotes.rs @@ -8,18 +8,21 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_bsky::feed::PostView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::{AtUri, Cid}; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::feed::PostView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetQuotes { #[serde(skip_serializing_if = "Option::is_none")] pub cid: Option>, @@ -32,9 +35,11 @@ pub struct GetQuotes { pub uri: AtUri, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetQuotesOutput { #[serde(skip_serializing_if = "Option::is_none")] pub cid: Option>, @@ -76,7 +81,7 @@ fn _default_limit() -> Option { pub mod get_quotes_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -203,4 +208,4 @@ where uri: self._fields.3.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/feed/get_reposted_by.rs b/crates/jacquard-api/src/app_bsky/feed/get_reposted_by.rs index f4450edc..0972dd85 100644 --- a/crates/jacquard-api/src/app_bsky/feed/get_reposted_by.rs +++ b/crates/jacquard-api/src/app_bsky/feed/get_reposted_by.rs @@ -8,18 +8,21 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_bsky::actor::ProfileView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::{AtUri, Cid}; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::actor::ProfileView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetRepostedBy { #[serde(skip_serializing_if = "Option::is_none")] pub cid: Option>, @@ -32,9 +35,11 @@ pub struct GetRepostedBy { pub uri: AtUri, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetRepostedByOutput { #[serde(skip_serializing_if = "Option::is_none")] pub cid: Option>, @@ -76,7 +81,7 @@ fn _default_limit() -> Option { pub mod get_reposted_by_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -203,4 +208,4 @@ where uri: self._fields.3.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/feed/get_suggested_feeds.rs b/crates/jacquard-api/src/app_bsky/feed/get_suggested_feeds.rs index 57bea492..4e2725f1 100644 --- a/crates/jacquard-api/src/app_bsky/feed/get_suggested_feeds.rs +++ b/crates/jacquard-api/src/app_bsky/feed/get_suggested_feeds.rs @@ -8,17 +8,20 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_bsky::feed::GeneratorView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::feed::GeneratorView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetSuggestedFeeds { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -28,9 +31,11 @@ pub struct GetSuggestedFeeds { pub limit: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetSuggestedFeedsOutput { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -69,7 +74,7 @@ fn _default_limit() -> Option { pub mod get_suggested_feeds_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -148,4 +153,4 @@ where limit: self._fields.1, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/feed/get_timeline.rs b/crates/jacquard-api/src/app_bsky/feed/get_timeline.rs index faa1572f..d3cf4fe0 100644 --- a/crates/jacquard-api/src/app_bsky/feed/get_timeline.rs +++ b/crates/jacquard-api/src/app_bsky/feed/get_timeline.rs @@ -8,17 +8,20 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_bsky::feed::FeedViewPost; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::feed::FeedViewPost; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetTimeline { #[serde(skip_serializing_if = "Option::is_none")] pub algorithm: Option, @@ -30,9 +33,11 @@ pub struct GetTimeline { pub limit: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetTimelineOutput { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -71,7 +76,7 @@ fn _default_limit() -> Option { pub mod get_timeline_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -164,4 +169,4 @@ where limit: self._fields.2, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/feed/like.rs b/crates/jacquard-api/src/app_bsky/feed/like.rs index 2e5dde11..b7e60e44 100644 --- a/crates/jacquard-api/src/app_bsky/feed/like.rs +++ b/crates/jacquard-api/src/app_bsky/feed/like.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::com_atproto::repo::strong_ref::StrongRef; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::com_atproto::repo::strong_ref::StrongRef; +use serde::{Deserialize, Serialize}; /// Record declaring a 'like' of a piece of subject content. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -107,7 +107,7 @@ impl LexiconSchema for Like { pub mod like_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -252,10 +252,10 @@ where } fn lexicon_doc_app_bsky_feed_like() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.bsky.feed.like"), @@ -264,19 +264,15 @@ fn lexicon_doc_app_bsky_feed_like() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static( - "Record declaring a 'like' of a piece of subject content.", - ), - ), + description: Some(CowStr::new_static( + "Record declaring a 'like' of a piece of subject content.", + )), key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("subject"), - SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("subject"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -312,4 +308,4 @@ fn lexicon_doc_app_bsky_feed_like() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/feed/post.rs b/crates/jacquard-api/src/app_bsky/feed/post.rs index 958a8ced..b1035984 100644 --- a/crates/jacquard-api/src/app_bsky/feed/post.rs +++ b/crates/jacquard-api/src/app_bsky/feed/post.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,22 +24,25 @@ use jacquard_derive::{IntoStatic, lexicon, open_union}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::app_bsky::embed::external::ExternalRecord; use crate::app_bsky::embed::images::Images; use crate::app_bsky::embed::record::Record; use crate::app_bsky::embed::record_with_media::RecordWithMedia; use crate::app_bsky::embed::video::Video; +use crate::app_bsky::feed::post; use crate::app_bsky::richtext::facet::Facet; use crate::com_atproto::label::SelfLabels; use crate::com_atproto::repo::strong_ref::StrongRef; -use crate::app_bsky::feed::post; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; /// Deprecated: use facets instead. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Entity { pub index: post::TextSlice, ///Expected values are 'mention' and 'link'. @@ -86,7 +89,6 @@ pub struct Post { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -114,9 +116,11 @@ pub struct PostGetRecordOutput { pub value: Post, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ReplyRef { pub parent: StrongRef, pub root: StrongRef, @@ -127,7 +131,10 @@ pub struct ReplyRef { /// Deprecated. Use app.bsky.richtext instead -- A text segment. Start is inclusive, end is exclusive. Indices are for utf16-encoded strings. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct TextSlice { pub end: i64, pub start: i64, @@ -294,7 +301,7 @@ impl LexiconSchema for TextSlice { pub mod entity_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -400,10 +407,7 @@ where St::Type: entity_state::IsUnset, { /// Set the `type` field (required) - pub fn r#type( - mut self, - value: impl Into, - ) -> EntityBuilder> { + pub fn r#type(mut self, value: impl Into) -> EntityBuilder> { self._fields.1 = Option::Some(value.into()); EntityBuilder { _state: PhantomData, @@ -419,10 +423,7 @@ where St::Value: entity_state::IsUnset, { /// Set the `value` field (required) - pub fn value( - mut self, - value: impl Into, - ) -> EntityBuilder> { + pub fn value(mut self, value: impl Into) -> EntityBuilder> { self._fields.2 = Option::Some(value.into()); EntityBuilder { _state: PhantomData, @@ -460,10 +461,10 @@ where } fn lexicon_doc_app_bsky_feed_post() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.bsky.feed.post"), @@ -472,15 +473,12 @@ fn lexicon_doc_app_bsky_feed_post() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("entity"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("Deprecated: use facets instead."), - ), - required: Some( - vec![ - SmolStr::new_static("index"), SmolStr::new_static("type"), - SmolStr::new_static("value") - ], - ), + description: Some(CowStr::new_static("Deprecated: use facets instead.")), + required: Some(vec![ + SmolStr::new_static("index"), + SmolStr::new_static("type"), + SmolStr::new_static("value"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -494,17 +492,17 @@ fn lexicon_doc_app_bsky_feed_post() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("type"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Expected values are 'mention' and 'link'.", - ), - ), + description: Some(CowStr::new_static( + "Expected values are 'mention' and 'link'.", + )), ..Default::default() }), ); map.insert( SmolStr::new_static("value"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map }, @@ -660,9 +658,10 @@ fn lexicon_doc_app_bsky_feed_post() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("replyRef"), LexUserType::Object(LexObject { - required: Some( - vec![SmolStr::new_static("root"), SmolStr::new_static("parent")], - ), + required: Some(vec![ + SmolStr::new_static("root"), + SmolStr::new_static("parent"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -726,7 +725,7 @@ fn lexicon_doc_app_bsky_feed_post() -> LexiconDoc<'static> { pub mod post_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -919,10 +918,7 @@ where St::Text: post_state::IsUnset, { /// Set the `text` field (required) - pub fn text( - mut self, - value: impl Into, - ) -> PostBuilder> { + pub fn text(mut self, value: impl Into) -> PostBuilder> { self._fields.8 = Option::Some(value.into()); PostBuilder { _state: PhantomData, @@ -972,7 +968,7 @@ where pub mod reply_ref_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -1103,7 +1099,7 @@ where pub mod text_slice_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -1223,14 +1219,11 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> TextSlice { + pub fn build_with_data(self, extra_data: BTreeMap>) -> TextSlice { TextSlice { end: self._fields.0.unwrap(), start: self._fields.1.unwrap(), extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/feed/postgate.rs b/crates/jacquard-api/src/app_bsky/feed/postgate.rs index 62d38065..66d1e1b2 100644 --- a/crates/jacquard-api/src/app_bsky/feed/postgate.rs +++ b/crates/jacquard-api/src/app_bsky/feed/postgate.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,14 +24,17 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::app_bsky::feed::postgate; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::feed::postgate; +use serde::{Deserialize, Serialize}; /// Disables embedding of this post. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DisableRule { #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, @@ -155,10 +158,10 @@ impl LexiconSchema for Postgate { } fn lexicon_doc_app_bsky_feed_postgate() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.bsky.feed.postgate"), @@ -167,9 +170,7 @@ fn lexicon_doc_app_bsky_feed_postgate() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("disableRule"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("Disables embedding of this post."), - ), + description: Some(CowStr::new_static("Disables embedding of this post.")), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -261,7 +262,7 @@ fn lexicon_doc_app_bsky_feed_postgate() -> LexiconDoc<'static> { pub mod postgate_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -354,18 +355,12 @@ where impl PostgateBuilder { /// Set the `detachedEmbeddingUris` field (optional) - pub fn detached_embedding_uris( - mut self, - value: impl Into>>>, - ) -> Self { + pub fn detached_embedding_uris(mut self, value: impl Into>>>) -> Self { self._fields.1 = value.into(); self } /// Set the `detachedEmbeddingUris` field to an Option value (optional) - pub fn maybe_detached_embedding_uris( - mut self, - value: Option>>, - ) -> Self { + pub fn maybe_detached_embedding_uris(mut self, value: Option>>) -> Self { self._fields.1 = value; self } @@ -381,10 +376,7 @@ impl PostgateBuilder { self } /// Set the `embeddingRules` field to an Option value (optional) - pub fn maybe_embedding_rules( - mut self, - value: Option>>, - ) -> Self { + pub fn maybe_embedding_rules(mut self, value: Option>>) -> Self { self._fields.2 = value; self } @@ -435,4 +427,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/feed/repost.rs b/crates/jacquard-api/src/app_bsky/feed/repost.rs index 0d2abe71..d9aada2d 100644 --- a/crates/jacquard-api/src/app_bsky/feed/repost.rs +++ b/crates/jacquard-api/src/app_bsky/feed/repost.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::com_atproto::repo::strong_ref::StrongRef; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::com_atproto::repo::strong_ref::StrongRef; +use serde::{Deserialize, Serialize}; /// Record representing a 'repost' of an existing Bluesky post. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -107,7 +107,7 @@ impl LexiconSchema for Repost { pub mod repost_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -252,10 +252,10 @@ where } fn lexicon_doc_app_bsky_feed_repost() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.bsky.feed.repost"), @@ -264,19 +264,15 @@ fn lexicon_doc_app_bsky_feed_repost() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static( - "Record representing a 'repost' of an existing Bluesky post.", - ), - ), + description: Some(CowStr::new_static( + "Record representing a 'repost' of an existing Bluesky post.", + )), key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("subject"), - SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("subject"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -312,4 +308,4 @@ fn lexicon_doc_app_bsky_feed_repost() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/feed/search_posts.rs b/crates/jacquard-api/src/app_bsky/feed/search_posts.rs index e485ec98..83141ce9 100644 --- a/crates/jacquard-api/src/app_bsky/feed/search_posts.rs +++ b/crates/jacquard-api/src/app_bsky/feed/search_posts.rs @@ -8,19 +8,22 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_bsky::feed::PostView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::ident::AtIdentifier; use jacquard_common::types::string::{Language, UriValue}; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::feed::PostView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct SearchPosts { #[serde(skip_serializing_if = "Option::is_none")] pub author: Option>, @@ -51,9 +54,11 @@ pub struct SearchPosts { pub url: Option>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct SearchPostsOutput { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -65,25 +70,19 @@ pub struct SearchPostsOutput { pub extra_data: Option>>, } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum SearchPostsError { #[serde(rename = "BadQueryString")] BadQueryString(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for SearchPostsError { @@ -141,7 +140,7 @@ fn _default_sort() -> Option { pub mod search_posts_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -204,18 +203,7 @@ impl SearchPostsBuilder { SearchPostsBuilder { _state: PhantomData, _fields: ( - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, + None, None, None, None, None, None, None, None, None, None, None, None, ), _type: PhantomData, } @@ -306,10 +294,7 @@ where St::Q: search_posts_state::IsUnset, { /// Set the `q` field (required) - pub fn q( - mut self, - value: impl Into, - ) -> SearchPostsBuilder> { + pub fn q(mut self, value: impl Into) -> SearchPostsBuilder> { self._fields.6 = Option::Some(value.into()); SearchPostsBuilder { _state: PhantomData, @@ -406,4 +391,4 @@ where url: self._fields.11, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/feed/send_interactions.rs b/crates/jacquard-api/src/app_bsky/feed/send_interactions.rs index 4a771f49..93b24d4a 100644 --- a/crates/jacquard-api/src/app_bsky/feed/send_interactions.rs +++ b/crates/jacquard-api/src/app_bsky/feed/send_interactions.rs @@ -8,18 +8,21 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_bsky::feed::Interaction; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::AtUri; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::feed::Interaction; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct SendInteractions { #[serde(skip_serializing_if = "Option::is_none")] pub feed: Option>, @@ -28,9 +31,11 @@ pub struct SendInteractions { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct SendInteractionsOutput { #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, @@ -47,9 +52,8 @@ impl jacquard_common::xrpc::XrpcResp for SendInteractionsResponse { impl jacquard_common::xrpc::XrpcRequest for SendInteractions { const NSID: &'static str = "app.bsky.feed.sendInteractions"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = SendInteractionsResponse; } @@ -57,16 +61,15 @@ impl jacquard_common::xrpc::XrpcRequest for SendInteractions { pub struct SendInteractionsRequest; impl jacquard_common::xrpc::XrpcEndpoint for SendInteractionsRequest { const PATH: &'static str = "/xrpc/app.bsky.feed.sendInteractions"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = SendInteractions; type Response = SendInteractionsResponse; } pub mod send_interactions_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -167,14 +170,11 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> SendInteractions { + pub fn build_with_data(self, extra_data: BTreeMap>) -> SendInteractions { SendInteractions { feed: self._fields.0, interactions: self._fields.1.unwrap(), extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/feed/threadgate.rs b/crates/jacquard-api/src/app_bsky/feed/threadgate.rs index 618236d6..1411388b 100644 --- a/crates/jacquard-api/src/app_bsky/feed/threadgate.rs +++ b/crates/jacquard-api/src/app_bsky/feed/threadgate.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,14 +24,17 @@ use jacquard_derive::{IntoStatic, lexicon, open_union}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::app_bsky::feed::threadgate; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::feed::threadgate; +use serde::{Deserialize, Serialize}; /// Allow replies from actors who follow you. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct FollowerRule { #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, @@ -40,7 +43,10 @@ pub struct FollowerRule { /// Allow replies from actors you follow. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct FollowingRule { #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, @@ -49,7 +55,10 @@ pub struct FollowingRule { /// Allow replies from actors on a list. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ListRule { pub list: AtUri, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -79,7 +88,6 @@ pub struct Threadgate { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -108,7 +116,10 @@ pub struct ThreadgateGetRecordOutput { /// Allow replies from actors mentioned in your post. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct MentionRule { #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, @@ -243,10 +254,10 @@ impl LexiconSchema for MentionRule { } fn lexicon_doc_app_bsky_feed_threadgate() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.bsky.feed.threadgate"), @@ -255,9 +266,9 @@ fn lexicon_doc_app_bsky_feed_threadgate() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("followerRule"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("Allow replies from actors who follow you."), - ), + description: Some(CowStr::new_static( + "Allow replies from actors who follow you.", + )), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -269,9 +280,7 @@ fn lexicon_doc_app_bsky_feed_threadgate() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("followingRule"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("Allow replies from actors you follow."), - ), + description: Some(CowStr::new_static("Allow replies from actors you follow.")), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -283,9 +292,7 @@ fn lexicon_doc_app_bsky_feed_threadgate() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("listRule"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("Allow replies from actors on a list."), - ), + description: Some(CowStr::new_static("Allow replies from actors on a list.")), required: Some(vec![SmolStr::new_static("list")]), properties: { #[allow(unused_mut)] @@ -383,11 +390,9 @@ fn lexicon_doc_app_bsky_feed_threadgate() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("mentionRule"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "Allow replies from actors mentioned in your post.", - ), - ), + description: Some(CowStr::new_static( + "Allow replies from actors mentioned in your post.", + )), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -404,7 +409,7 @@ fn lexicon_doc_app_bsky_feed_threadgate() -> LexiconDoc<'static> { pub mod list_rule_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -501,7 +506,7 @@ where pub mod threadgate_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -575,10 +580,7 @@ impl ThreadgateBuilder { impl ThreadgateBuilder { /// Set the `allow` field (optional) - pub fn allow( - mut self, - value: impl Into>>>, - ) -> Self { + pub fn allow(mut self, value: impl Into>>>) -> Self { self._fields.0 = value.into(); self } @@ -657,10 +659,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> Threadgate { + pub fn build_with_data(self, extra_data: BTreeMap>) -> Threadgate { Threadgate { allow: self._fields.0, created_at: self._fields.1.unwrap(), @@ -669,4 +668,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/graph.rs b/crates/jacquard-api/src/app_bsky/graph.rs index 6447fc94..846f7b63 100644 --- a/crates/jacquard-api/src/app_bsky/graph.rs +++ b/crates/jacquard-api/src/app_bsky/graph.rs @@ -36,33 +36,32 @@ pub mod unmute_actor_list; pub mod unmute_thread; pub mod verification; - #[allow(unused_imports)] use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::ident::AtIdentifier; -use jacquard_common::types::string::{Did, AtUri, Cid, Datetime, UriValue}; +use jacquard_common::types::string::{AtUri, Cid, Datetime, Did, UriValue}; use jacquard_common::types::value::Data; use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::app_bsky::actor::ProfileView; use crate::app_bsky::actor::ProfileViewBasic; use crate::app_bsky::feed::GeneratorView; +use crate::app_bsky::graph; use crate::app_bsky::richtext::facet::Facet; use crate::com_atproto::label::Label; -use crate::app_bsky::graph; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; /// A list of actors used for curation purposes such as list feeds or interaction gating. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Hash)] @@ -73,9 +72,11 @@ impl core::fmt::Display for Curatelist { } } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ListItemView { pub subject: ProfileView, pub uri: AtUri, @@ -83,7 +84,6 @@ pub struct ListItemView { pub extra_data: Option>>, } - #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum ListPurpose { AppBskyGraphDefsModlist, @@ -152,9 +152,7 @@ where fn into_static(self) -> Self::Output { match self { ListPurpose::AppBskyGraphDefsModlist => ListPurpose::AppBskyGraphDefsModlist, - ListPurpose::AppBskyGraphDefsCuratelist => { - ListPurpose::AppBskyGraphDefsCuratelist - } + ListPurpose::AppBskyGraphDefsCuratelist => ListPurpose::AppBskyGraphDefsCuratelist, ListPurpose::AppBskyGraphDefsReferencelist => { ListPurpose::AppBskyGraphDefsReferencelist } @@ -163,9 +161,11 @@ where } } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ListView { #[serde(skip_serializing_if = "Option::is_none")] pub avatar: Option>, @@ -189,9 +189,11 @@ pub struct ListView { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ListViewBasic { #[serde(skip_serializing_if = "Option::is_none")] pub avatar: Option>, @@ -211,9 +213,11 @@ pub struct ListViewBasic { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ListViewerState { #[serde(skip_serializing_if = "Option::is_none")] pub blocked: Option>, @@ -236,7 +240,10 @@ impl core::fmt::Display for Modlist { /// indicates that a handle or DID could not be resolved #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct NotFoundActor { pub actor: AtIdentifier, pub not_found: bool, @@ -257,7 +264,10 @@ impl core::fmt::Display for Referencelist { /// lists the bi-directional graph relationships between one actor (not indicated in the object), and the target actors (the DID included in the object) #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Relationship { ///if the actor is blocked by this DID, contains the AT-URI of the block record #[serde(skip_serializing_if = "Option::is_none")] @@ -282,9 +292,11 @@ pub struct Relationship { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct StarterPackView { pub cid: Cid, pub creator: ProfileViewBasic, @@ -307,9 +319,11 @@ pub struct StarterPackView { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct StarterPackViewBasic { pub cid: Cid, pub creator: ProfileViewBasic, @@ -599,7 +613,7 @@ impl LexiconSchema for StarterPackViewBasic { pub mod list_item_view_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -719,10 +733,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> ListItemView { + pub fn build_with_data(self, extra_data: BTreeMap>) -> ListItemView { ListItemView { subject: self._fields.0.unwrap(), uri: self._fields.1.unwrap(), @@ -732,10 +743,10 @@ where } fn lexicon_doc_app_bsky_graph_defs() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.bsky.graph.defs"), @@ -743,23 +754,24 @@ fn lexicon_doc_app_bsky_graph_defs() -> LexiconDoc<'static> { let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("curatelist"), - LexUserType::Token(LexToken { ..Default::default() }), + LexUserType::Token(LexToken { + ..Default::default() + }), ); map.insert( SmolStr::new_static("listItemView"), LexUserType::Object(LexObject { - required: Some( - vec![SmolStr::new_static("uri"), SmolStr::new_static("subject")], - ), + required: Some(vec![ + SmolStr::new_static("uri"), + SmolStr::new_static("subject"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("subject"), LexObjectProperty::Ref(LexRef { - r#ref: CowStr::new_static( - "app.bsky.actor.defs#profileView", - ), + r#ref: CowStr::new_static("app.bsky.actor.defs#profileView"), ..Default::default() }), ); @@ -777,19 +789,21 @@ fn lexicon_doc_app_bsky_graph_defs() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("listPurpose"), - LexUserType::String(LexString { ..Default::default() }), + LexUserType::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("listView"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("uri"), SmolStr::new_static("cid"), - SmolStr::new_static("creator"), SmolStr::new_static("name"), - SmolStr::new_static("purpose"), - SmolStr::new_static("indexedAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("uri"), + SmolStr::new_static("cid"), + SmolStr::new_static("creator"), + SmolStr::new_static("name"), + SmolStr::new_static("purpose"), + SmolStr::new_static("indexedAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -810,9 +824,7 @@ fn lexicon_doc_app_bsky_graph_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("creator"), LexObjectProperty::Ref(LexRef { - r#ref: CowStr::new_static( - "app.bsky.actor.defs#profileView", - ), + r#ref: CowStr::new_static("app.bsky.actor.defs#profileView"), ..Default::default() }), ); @@ -895,12 +907,12 @@ fn lexicon_doc_app_bsky_graph_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("listViewBasic"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("uri"), SmolStr::new_static("cid"), - SmolStr::new_static("name"), SmolStr::new_static("purpose") - ], - ), + required: Some(vec![ + SmolStr::new_static("uri"), + SmolStr::new_static("cid"), + SmolStr::new_static("name"), + SmolStr::new_static("purpose"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -1002,21 +1014,20 @@ fn lexicon_doc_app_bsky_graph_defs() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("modlist"), - LexUserType::Token(LexToken { ..Default::default() }), + LexUserType::Token(LexToken { + ..Default::default() + }), ); map.insert( SmolStr::new_static("notFoundActor"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "indicates that a handle or DID could not be resolved", - ), - ), - required: Some( - vec![ - SmolStr::new_static("actor"), SmolStr::new_static("notFound") - ], - ), + description: Some(CowStr::new_static( + "indicates that a handle or DID could not be resolved", + )), + required: Some(vec![ + SmolStr::new_static("actor"), + SmolStr::new_static("notFound"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -1040,7 +1051,9 @@ fn lexicon_doc_app_bsky_graph_defs() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("referencelist"), - LexUserType::Token(LexToken { ..Default::default() }), + LexUserType::Token(LexToken { + ..Default::default() + }), ); map.insert( SmolStr::new_static("relationship"), @@ -1141,14 +1154,13 @@ fn lexicon_doc_app_bsky_graph_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("starterPackView"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("uri"), SmolStr::new_static("cid"), - SmolStr::new_static("record"), - SmolStr::new_static("creator"), - SmolStr::new_static("indexedAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("uri"), + SmolStr::new_static("cid"), + SmolStr::new_static("record"), + SmolStr::new_static("creator"), + SmolStr::new_static("indexedAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -1162,9 +1174,7 @@ fn lexicon_doc_app_bsky_graph_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("creator"), LexObjectProperty::Ref(LexRef { - r#ref: CowStr::new_static( - "app.bsky.actor.defs#profileViewBasic", - ), + r#ref: CowStr::new_static("app.bsky.actor.defs#profileViewBasic"), ..Default::default() }), ); @@ -1172,9 +1182,7 @@ fn lexicon_doc_app_bsky_graph_defs() -> LexiconDoc<'static> { SmolStr::new_static("feeds"), LexObjectProperty::Array(LexArray { items: LexArrayItem::Ref(LexRef { - r#ref: CowStr::new_static( - "app.bsky.feed.defs#generatorView", - ), + r#ref: CowStr::new_static("app.bsky.feed.defs#generatorView"), ..Default::default() }), max_length: Some(3usize), @@ -1251,14 +1259,13 @@ fn lexicon_doc_app_bsky_graph_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("starterPackViewBasic"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("uri"), SmolStr::new_static("cid"), - SmolStr::new_static("record"), - SmolStr::new_static("creator"), - SmolStr::new_static("indexedAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("uri"), + SmolStr::new_static("cid"), + SmolStr::new_static("record"), + SmolStr::new_static("creator"), + SmolStr::new_static("indexedAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -1272,9 +1279,7 @@ fn lexicon_doc_app_bsky_graph_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("creator"), LexObjectProperty::Ref(LexRef { - r#ref: CowStr::new_static( - "app.bsky.actor.defs#profileViewBasic", - ), + r#ref: CowStr::new_static("app.bsky.actor.defs#profileViewBasic"), ..Default::default() }), ); @@ -1342,7 +1347,7 @@ fn lexicon_doc_app_bsky_graph_defs() -> LexiconDoc<'static> { pub mod list_view_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -1485,18 +1490,7 @@ impl ListViewBuilder { ListViewBuilder { _state: PhantomData, _fields: ( - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, + None, None, None, None, None, None, None, None, None, None, None, None, ), _type: PhantomData, } @@ -1569,10 +1563,7 @@ impl ListViewBuilder { impl ListViewBuilder { /// Set the `descriptionFacets` field (optional) - pub fn description_facets( - mut self, - value: impl Into>>>, - ) -> Self { + pub fn description_facets(mut self, value: impl Into>>>) -> Self { self._fields.4 = value.into(); self } @@ -1634,10 +1625,7 @@ where St::Name: list_view_state::IsUnset, { /// Set the `name` field (required) - pub fn name( - mut self, - value: impl Into, - ) -> ListViewBuilder> { + pub fn name(mut self, value: impl Into) -> ListViewBuilder> { self._fields.8 = Option::Some(value.into()); ListViewBuilder { _state: PhantomData, @@ -1687,10 +1675,7 @@ where impl ListViewBuilder { /// Set the `viewer` field (optional) - pub fn viewer( - mut self, - value: impl Into>>, - ) -> Self { + pub fn viewer(mut self, value: impl Into>>) -> Self { self._fields.11 = value.into(); self } @@ -1751,7 +1736,7 @@ where pub mod list_view_basic_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -1988,10 +1973,7 @@ where impl ListViewBasicBuilder { /// Set the `viewer` field (optional) - pub fn viewer( - mut self, - value: impl Into>>, - ) -> Self { + pub fn viewer(mut self, value: impl Into>>) -> Self { self._fields.8 = value.into(); self } @@ -2026,10 +2008,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> ListViewBasic { + pub fn build_with_data(self, extra_data: BTreeMap>) -> ListViewBasic { ListViewBasic { avatar: self._fields.0, cid: self._fields.1.unwrap(), @@ -2047,7 +2026,7 @@ where pub mod not_found_actor_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -2167,10 +2146,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> NotFoundActor { + pub fn build_with_data(self, extra_data: BTreeMap>) -> NotFoundActor { NotFoundActor { actor: self._fields.0.unwrap(), not_found: self._fields.1.unwrap(), @@ -2181,7 +2157,7 @@ where pub mod relationship_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -2360,10 +2336,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> Relationship { + pub fn build_with_data(self, extra_data: BTreeMap>) -> Relationship { Relationship { blocked_by: self._fields.0, blocked_by_list: self._fields.1, @@ -2379,7 +2352,7 @@ where pub mod starter_pack_view_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -2500,7 +2473,9 @@ impl StarterPackViewBuilder { pub fn new() -> Self { StarterPackViewBuilder { _state: PhantomData, - _fields: (None, None, None, None, None, None, None, None, None, None, None), + _fields: ( + None, None, None, None, None, None, None, None, None, None, None, + ), _type: PhantomData, } } @@ -2638,10 +2613,7 @@ impl StarterPackViewBuilder>>, - ) -> Self { + pub fn maybe_list_items_sample(mut self, value: Option>>) -> Self { self._fields.8 = value; self } @@ -2712,10 +2684,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> StarterPackView { + pub fn build_with_data(self, extra_data: BTreeMap>) -> StarterPackView { StarterPackView { cid: self._fields.0.unwrap(), creator: self._fields.1.unwrap(), @@ -2735,7 +2704,7 @@ where pub mod starter_pack_view_basic_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -2826,10 +2795,7 @@ pub mod starter_pack_view_basic_state { } /// Builder for constructing an instance of this type. -pub struct StarterPackViewBasicBuilder< - S: BosStr, - St: starter_pack_view_basic_state::State, -> { +pub struct StarterPackViewBasicBuilder { _state: PhantomData St>, _fields: ( Option>, @@ -2847,10 +2813,7 @@ pub struct StarterPackViewBasicBuilder< impl StarterPackViewBasic { /// Create a new builder for this type. - pub fn new() -> StarterPackViewBasicBuilder< - S, - starter_pack_view_basic_state::Empty, - > { + pub fn new() -> StarterPackViewBasicBuilder { StarterPackViewBasicBuilder::new() } } @@ -2913,10 +2876,7 @@ where pub fn indexed_at( mut self, value: impl Into, - ) -> StarterPackViewBasicBuilder< - S, - starter_pack_view_basic_state::SetIndexedAt, - > { + ) -> StarterPackViewBasicBuilder> { self._fields.2 = Option::Some(value.into()); StarterPackViewBasicBuilder { _state: PhantomData, @@ -2926,10 +2886,7 @@ where } } -impl< - S: BosStr, - St: starter_pack_view_basic_state::State, -> StarterPackViewBasicBuilder { +impl StarterPackViewBasicBuilder { /// Set the `joinedAllTimeCount` field (optional) pub fn joined_all_time_count(mut self, value: impl Into>) -> Self { self._fields.3 = value.into(); @@ -2942,10 +2899,7 @@ impl< } } -impl< - S: BosStr, - St: starter_pack_view_basic_state::State, -> StarterPackViewBasicBuilder { +impl StarterPackViewBasicBuilder { /// Set the `joinedWeekCount` field (optional) pub fn joined_week_count(mut self, value: impl Into>) -> Self { self._fields.4 = value.into(); @@ -2958,10 +2912,7 @@ impl< } } -impl< - S: BosStr, - St: starter_pack_view_basic_state::State, -> StarterPackViewBasicBuilder { +impl StarterPackViewBasicBuilder { /// Set the `labels` field (optional) pub fn labels(mut self, value: impl Into>>>) -> Self { self._fields.5 = value.into(); @@ -2974,10 +2925,7 @@ impl< } } -impl< - S: BosStr, - St: starter_pack_view_basic_state::State, -> StarterPackViewBasicBuilder { +impl StarterPackViewBasicBuilder { /// Set the `listItemCount` field (optional) pub fn list_item_count(mut self, value: impl Into>) -> Self { self._fields.6 = value.into(); @@ -3070,4 +3018,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/graph/block.rs b/crates/jacquard-api/src/app_bsky/graph/block.rs index c126245c..3d20f80f 100644 --- a/crates/jacquard-api/src/app_bsky/graph/block.rs +++ b/crates/jacquard-api/src/app_bsky/graph/block.rs @@ -10,13 +10,13 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::collection::{Collection, RecordError}; -use jacquard_common::types::string::{Did, AtUri, Cid, Datetime}; +use jacquard_common::types::string::{AtUri, Cid, Datetime, Did}; use jacquard_common::types::uri::{RecordUri, UriError}; use jacquard_common::types::value::Data; use jacquard_common::xrpc::XrpcResp; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// Record declaring a 'block' relationship against another account. NOTE: blocks are public in Bluesky; see blog posts for details. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -105,7 +105,7 @@ impl LexiconSchema for Block { pub mod block_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -235,10 +235,10 @@ where } fn lexicon_doc_app_bsky_graph_block() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.bsky.graph.block"), @@ -291,4 +291,4 @@ fn lexicon_doc_app_bsky_graph_block() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/graph/follow.rs b/crates/jacquard-api/src/app_bsky/graph/follow.rs index e8ed05ee..82c60d85 100644 --- a/crates/jacquard-api/src/app_bsky/graph/follow.rs +++ b/crates/jacquard-api/src/app_bsky/graph/follow.rs @@ -10,13 +10,13 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::collection::{Collection, RecordError}; -use jacquard_common::types::string::{Did, AtUri, Cid, Datetime}; +use jacquard_common::types::string::{AtUri, Cid, Datetime, Did}; use jacquard_common::types::uri::{RecordUri, UriError}; use jacquard_common::types::value::Data; use jacquard_common::xrpc::XrpcResp; @@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::com_atproto::repo::strong_ref::StrongRef; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::com_atproto::repo::strong_ref::StrongRef; +use serde::{Deserialize, Serialize}; /// Record declaring a social 'follow' relationship of another account. Duplicate follows will be ignored by the AppView. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -107,7 +107,7 @@ impl LexiconSchema for Follow { pub mod follow_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -252,10 +252,10 @@ where } fn lexicon_doc_app_bsky_graph_follow() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.bsky.graph.follow"), @@ -312,4 +312,4 @@ fn lexicon_doc_app_bsky_graph_follow() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/graph/get_actor_starter_packs.rs b/crates/jacquard-api/src/app_bsky/graph/get_actor_starter_packs.rs index d2295577..60d116bd 100644 --- a/crates/jacquard-api/src/app_bsky/graph/get_actor_starter_packs.rs +++ b/crates/jacquard-api/src/app_bsky/graph/get_actor_starter_packs.rs @@ -8,18 +8,21 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_bsky::graph::StarterPackViewBasic; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::ident::AtIdentifier; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::graph::StarterPackViewBasic; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetActorStarterPacks { pub actor: AtIdentifier, #[serde(skip_serializing_if = "Option::is_none")] @@ -30,9 +33,11 @@ pub struct GetActorStarterPacks { pub limit: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetActorStarterPacksOutput { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -71,7 +76,7 @@ fn _default_limit() -> Option { pub mod get_actor_starter_packs_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -102,10 +107,7 @@ pub mod get_actor_starter_packs_state { } /// Builder for constructing an instance of this type. -pub struct GetActorStarterPacksBuilder< - S: BosStr, - St: get_actor_starter_packs_state::State, -> { +pub struct GetActorStarterPacksBuilder { _state: PhantomData St>, _fields: (Option>, Option, Option), _type: PhantomData S>, @@ -113,10 +115,7 @@ pub struct GetActorStarterPacksBuilder< impl GetActorStarterPacks { /// Create a new builder for this type. - pub fn new() -> GetActorStarterPacksBuilder< - S, - get_actor_starter_packs_state::Empty, - > { + pub fn new() -> GetActorStarterPacksBuilder { GetActorStarterPacksBuilder::new() } } @@ -151,10 +150,7 @@ where } } -impl< - S: BosStr, - St: get_actor_starter_packs_state::State, -> GetActorStarterPacksBuilder { +impl GetActorStarterPacksBuilder { /// Set the `cursor` field (optional) pub fn cursor(mut self, value: impl Into>) -> Self { self._fields.1 = value.into(); @@ -167,10 +163,7 @@ impl< } } -impl< - S: BosStr, - St: get_actor_starter_packs_state::State, -> GetActorStarterPacksBuilder { +impl GetActorStarterPacksBuilder { /// Set the `limit` field (optional) pub fn limit(mut self, value: impl Into>) -> Self { self._fields.2 = value.into(); @@ -196,4 +189,4 @@ where limit: self._fields.2, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/graph/get_blocks.rs b/crates/jacquard-api/src/app_bsky/graph/get_blocks.rs index 0b5e2498..45d9676e 100644 --- a/crates/jacquard-api/src/app_bsky/graph/get_blocks.rs +++ b/crates/jacquard-api/src/app_bsky/graph/get_blocks.rs @@ -8,17 +8,20 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_bsky::actor::ProfileView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::actor::ProfileView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetBlocks { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -28,9 +31,11 @@ pub struct GetBlocks { pub limit: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetBlocksOutput { pub blocks: Vec>, #[serde(skip_serializing_if = "Option::is_none")] @@ -69,7 +74,7 @@ fn _default_limit() -> Option { pub mod get_blocks_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -148,4 +153,4 @@ where limit: self._fields.1, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/graph/get_followers.rs b/crates/jacquard-api/src/app_bsky/graph/get_followers.rs index 87b067cf..1ace7891 100644 --- a/crates/jacquard-api/src/app_bsky/graph/get_followers.rs +++ b/crates/jacquard-api/src/app_bsky/graph/get_followers.rs @@ -8,18 +8,21 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_bsky::actor::ProfileView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::ident::AtIdentifier; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::actor::ProfileView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetFollowers { pub actor: AtIdentifier, #[serde(skip_serializing_if = "Option::is_none")] @@ -30,9 +33,11 @@ pub struct GetFollowers { pub limit: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetFollowersOutput { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -72,7 +77,7 @@ fn _default_limit() -> Option { pub mod get_followers_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -185,4 +190,4 @@ where limit: self._fields.2, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/graph/get_follows.rs b/crates/jacquard-api/src/app_bsky/graph/get_follows.rs index 5342480a..844c24c9 100644 --- a/crates/jacquard-api/src/app_bsky/graph/get_follows.rs +++ b/crates/jacquard-api/src/app_bsky/graph/get_follows.rs @@ -8,18 +8,21 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_bsky::actor::ProfileView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::ident::AtIdentifier; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::actor::ProfileView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetFollows { pub actor: AtIdentifier, #[serde(skip_serializing_if = "Option::is_none")] @@ -30,9 +33,11 @@ pub struct GetFollows { pub limit: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetFollowsOutput { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -72,7 +77,7 @@ fn _default_limit() -> Option { pub mod get_follows_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -185,4 +190,4 @@ where limit: self._fields.2, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/graph/get_known_followers.rs b/crates/jacquard-api/src/app_bsky/graph/get_known_followers.rs index b5d3bacd..dbc12ae1 100644 --- a/crates/jacquard-api/src/app_bsky/graph/get_known_followers.rs +++ b/crates/jacquard-api/src/app_bsky/graph/get_known_followers.rs @@ -8,18 +8,21 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_bsky::actor::ProfileView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::ident::AtIdentifier; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::actor::ProfileView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetKnownFollowers { pub actor: AtIdentifier, #[serde(skip_serializing_if = "Option::is_none")] @@ -30,9 +33,11 @@ pub struct GetKnownFollowers { pub limit: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetKnownFollowersOutput { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -72,7 +77,7 @@ fn _default_limit() -> Option { pub mod get_known_followers_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -185,4 +190,4 @@ where limit: self._fields.2, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/graph/get_list.rs b/crates/jacquard-api/src/app_bsky/graph/get_list.rs index 5328a696..bea44c1a 100644 --- a/crates/jacquard-api/src/app_bsky/graph/get_list.rs +++ b/crates/jacquard-api/src/app_bsky/graph/get_list.rs @@ -8,19 +8,22 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_bsky::graph::ListItemView; +use crate::app_bsky::graph::ListView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::AtUri; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::graph::ListItemView; -use crate::app_bsky::graph::ListView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetList { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -31,9 +34,11 @@ pub struct GetList { pub list: AtUri, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetListOutput { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -73,7 +78,7 @@ fn _default_limit() -> Option { pub mod get_list_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -186,4 +191,4 @@ where list: self._fields.2.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/graph/get_list_blocks.rs b/crates/jacquard-api/src/app_bsky/graph/get_list_blocks.rs index 8341e282..729f299e 100644 --- a/crates/jacquard-api/src/app_bsky/graph/get_list_blocks.rs +++ b/crates/jacquard-api/src/app_bsky/graph/get_list_blocks.rs @@ -8,17 +8,20 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_bsky::graph::ListView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::graph::ListView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetListBlocks { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -28,9 +31,11 @@ pub struct GetListBlocks { pub limit: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetListBlocksOutput { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -69,7 +74,7 @@ fn _default_limit() -> Option { pub mod get_list_blocks_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -148,4 +153,4 @@ where limit: self._fields.1, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/graph/get_list_mutes.rs b/crates/jacquard-api/src/app_bsky/graph/get_list_mutes.rs index 685539c6..d7db75b8 100644 --- a/crates/jacquard-api/src/app_bsky/graph/get_list_mutes.rs +++ b/crates/jacquard-api/src/app_bsky/graph/get_list_mutes.rs @@ -8,17 +8,20 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_bsky::graph::ListView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::graph::ListView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetListMutes { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -28,9 +31,11 @@ pub struct GetListMutes { pub limit: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetListMutesOutput { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -69,7 +74,7 @@ fn _default_limit() -> Option { pub mod get_list_mutes_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -148,4 +153,4 @@ where limit: self._fields.1, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/graph/get_lists.rs b/crates/jacquard-api/src/app_bsky/graph/get_lists.rs index 64e46fb6..04e40f61 100644 --- a/crates/jacquard-api/src/app_bsky/graph/get_lists.rs +++ b/crates/jacquard-api/src/app_bsky/graph/get_lists.rs @@ -8,18 +8,21 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_bsky::graph::ListView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::ident::AtIdentifier; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::graph::ListView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetLists { pub actor: AtIdentifier, #[serde(skip_serializing_if = "Option::is_none")] @@ -32,9 +35,11 @@ pub struct GetLists { pub purposes: Option>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetListsOutput { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -73,7 +78,7 @@ fn _default_limit() -> Option { pub mod get_lists_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -106,7 +111,12 @@ pub mod get_lists_state { /// Builder for constructing an instance of this type. pub struct GetListsBuilder { _state: PhantomData St>, - _fields: (Option>, Option, Option, Option>), + _fields: ( + Option>, + Option, + Option, + Option>, + ), _type: PhantomData S>, } @@ -200,4 +210,4 @@ where purposes: self._fields.3, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/graph/get_lists_with_membership.rs b/crates/jacquard-api/src/app_bsky/graph/get_lists_with_membership.rs index b01132db..d60e181c 100644 --- a/crates/jacquard-api/src/app_bsky/graph/get_lists_with_membership.rs +++ b/crates/jacquard-api/src/app_bsky/graph/get_lists_with_membership.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -21,16 +21,19 @@ use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::app_bsky::graph::ListItemView; use crate::app_bsky::graph::ListView; use crate::app_bsky::graph::get_lists_with_membership; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; /// A list and an optional list item indicating membership of a target user to that list. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ListWithMembership { pub list: ListView, #[serde(skip_serializing_if = "Option::is_none")] @@ -39,9 +42,11 @@ pub struct ListWithMembership { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetListsWithMembership { pub actor: AtIdentifier, #[serde(skip_serializing_if = "Option::is_none")] @@ -54,9 +59,11 @@ pub struct GetListsWithMembership { pub purposes: Option>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetListsWithMembershipOutput { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -106,7 +113,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetListsWithMembershipRequest { pub mod list_with_membership_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -207,10 +214,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> ListWithMembership { + pub fn build_with_data(self, extra_data: BTreeMap>) -> ListWithMembership { ListWithMembership { list: self._fields.0.unwrap(), list_item: self._fields.1, @@ -220,10 +224,10 @@ where } fn lexicon_doc_app_bsky_graph_getListsWithMembership() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.bsky.graph.getListsWithMembership"), @@ -265,50 +269,46 @@ fn lexicon_doc_app_bsky_graph_getListsWithMembership() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::XrpcQuery(LexXrpcQuery { - parameters: Some( - LexXrpcQueryParameter::Params(LexXrpcParameters { - required: Some(vec![SmolStr::new_static("actor")]), - properties: { - #[allow(unused_mut)] - let mut map = BTreeMap::new(); - map.insert( - SmolStr::new_static("actor"), - LexXrpcParametersProperty::String(LexString { - description: Some( - CowStr::new_static( - "The account (actor) to check for membership.", - ), - ), - format: Some(LexStringFormat::AtIdentifier), - ..Default::default() - }), - ); - map.insert( - SmolStr::new_static("cursor"), - LexXrpcParametersProperty::String(LexString { + parameters: Some(LexXrpcQueryParameter::Params(LexXrpcParameters { + required: Some(vec![SmolStr::new_static("actor")]), + properties: { + #[allow(unused_mut)] + let mut map = BTreeMap::new(); + map.insert( + SmolStr::new_static("actor"), + LexXrpcParametersProperty::String(LexString { + description: Some(CowStr::new_static( + "The account (actor) to check for membership.", + )), + format: Some(LexStringFormat::AtIdentifier), + ..Default::default() + }), + ); + map.insert( + SmolStr::new_static("cursor"), + LexXrpcParametersProperty::String(LexString { + ..Default::default() + }), + ); + map.insert( + SmolStr::new_static("limit"), + LexXrpcParametersProperty::Integer(LexInteger { + ..Default::default() + }), + ); + map.insert( + SmolStr::new_static("purposes"), + LexXrpcParametersProperty::Array(LexPrimitiveArray { + items: LexPrimitiveArrayItem::String(LexString { ..Default::default() }), - ); - map.insert( - SmolStr::new_static("limit"), - LexXrpcParametersProperty::Integer(LexInteger { - ..Default::default() - }), - ); - map.insert( - SmolStr::new_static("purposes"), - LexXrpcParametersProperty::Array(LexPrimitiveArray { - items: LexPrimitiveArrayItem::String(LexString { - ..Default::default() - }), - ..Default::default() - }), - ); - map - }, - ..Default::default() - }), - ), + ..Default::default() + }), + ); + map + }, + ..Default::default() + })), ..Default::default() }), ); @@ -324,7 +324,7 @@ fn _default_limit() -> Option { pub mod get_lists_with_membership_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -355,28 +355,25 @@ pub mod get_lists_with_membership_state { } /// Builder for constructing an instance of this type. -pub struct GetListsWithMembershipBuilder< - S: BosStr, - St: get_lists_with_membership_state::State, -> { +pub struct GetListsWithMembershipBuilder { _state: PhantomData St>, - _fields: (Option>, Option, Option, Option>), + _fields: ( + Option>, + Option, + Option, + Option>, + ), _type: PhantomData S>, } impl GetListsWithMembership { /// Create a new builder for this type. - pub fn new() -> GetListsWithMembershipBuilder< - S, - get_lists_with_membership_state::Empty, - > { + pub fn new() -> GetListsWithMembershipBuilder { GetListsWithMembershipBuilder::new() } } -impl< - S: BosStr, -> GetListsWithMembershipBuilder { +impl GetListsWithMembershipBuilder { /// Create a new builder with all fields unset. pub fn new() -> Self { GetListsWithMembershipBuilder { @@ -396,10 +393,7 @@ where pub fn actor( mut self, value: impl Into>, - ) -> GetListsWithMembershipBuilder< - S, - get_lists_with_membership_state::SetActor, - > { + ) -> GetListsWithMembershipBuilder> { self._fields.0 = Option::Some(value.into()); GetListsWithMembershipBuilder { _state: PhantomData, @@ -409,10 +403,7 @@ where } } -impl< - S: BosStr, - St: get_lists_with_membership_state::State, -> GetListsWithMembershipBuilder { +impl GetListsWithMembershipBuilder { /// Set the `cursor` field (optional) pub fn cursor(mut self, value: impl Into>) -> Self { self._fields.1 = value.into(); @@ -425,10 +416,7 @@ impl< } } -impl< - S: BosStr, - St: get_lists_with_membership_state::State, -> GetListsWithMembershipBuilder { +impl GetListsWithMembershipBuilder { /// Set the `limit` field (optional) pub fn limit(mut self, value: impl Into>) -> Self { self._fields.2 = value.into(); @@ -441,10 +429,7 @@ impl< } } -impl< - S: BosStr, - St: get_lists_with_membership_state::State, -> GetListsWithMembershipBuilder { +impl GetListsWithMembershipBuilder { /// Set the `purposes` field (optional) pub fn purposes(mut self, value: impl Into>>) -> Self { self._fields.3 = value.into(); @@ -471,4 +456,4 @@ where purposes: self._fields.3, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/graph/get_mutes.rs b/crates/jacquard-api/src/app_bsky/graph/get_mutes.rs index 6c731730..d05437f1 100644 --- a/crates/jacquard-api/src/app_bsky/graph/get_mutes.rs +++ b/crates/jacquard-api/src/app_bsky/graph/get_mutes.rs @@ -8,17 +8,20 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_bsky::actor::ProfileView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::actor::ProfileView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetMutes { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -28,9 +31,11 @@ pub struct GetMutes { pub limit: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetMutesOutput { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -69,7 +74,7 @@ fn _default_limit() -> Option { pub mod get_mutes_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -148,4 +153,4 @@ where limit: self._fields.1, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/graph/get_relationships.rs b/crates/jacquard-api/src/app_bsky/graph/get_relationships.rs index ddcc0890..19c96eb2 100644 --- a/crates/jacquard-api/src/app_bsky/graph/get_relationships.rs +++ b/crates/jacquard-api/src/app_bsky/graph/get_relationships.rs @@ -8,29 +8,34 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_bsky::graph::NotFoundActor; +use crate::app_bsky::graph::Relationship; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::ident::AtIdentifier; use jacquard_common::types::string::Did; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::graph::NotFoundActor; -use crate::app_bsky::graph::Relationship; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetRelationships { pub actor: AtIdentifier, #[serde(skip_serializing_if = "Option::is_none")] pub others: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetRelationshipsOutput { #[serde(skip_serializing_if = "Option::is_none")] pub actor: Option>, @@ -39,7 +44,6 @@ pub struct GetRelationshipsOutput { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -50,18 +54,9 @@ pub enum GetRelationshipsOutputRelationshipsItem { NotFoundActor(Box>), } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum GetRelationshipsError { /// the primary actor at-identifier could not be resolved @@ -69,7 +64,10 @@ pub enum GetRelationshipsError { ActorNotFound(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for GetRelationshipsError { @@ -119,7 +117,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetRelationshipsRequest { pub mod get_relationships_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -218,4 +216,4 @@ where others: self._fields.1, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/graph/get_starter_pack.rs b/crates/jacquard-api/src/app_bsky/graph/get_starter_pack.rs index fee1cffc..9116dded 100644 --- a/crates/jacquard-api/src/app_bsky/graph/get_starter_pack.rs +++ b/crates/jacquard-api/src/app_bsky/graph/get_starter_pack.rs @@ -8,25 +8,30 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_bsky::graph::StarterPackView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::AtUri; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::graph::StarterPackView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetStarterPack { pub starter_pack: AtUri, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetStarterPackOutput { pub starter_pack: StarterPackView, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -59,7 +64,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetStarterPackRequest { pub mod get_starter_pack_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -144,4 +149,4 @@ where starter_pack: self._fields.0.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/graph/get_starter_packs.rs b/crates/jacquard-api/src/app_bsky/graph/get_starter_packs.rs index 93abf5b2..d9f114a3 100644 --- a/crates/jacquard-api/src/app_bsky/graph/get_starter_packs.rs +++ b/crates/jacquard-api/src/app_bsky/graph/get_starter_packs.rs @@ -8,25 +8,30 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_bsky::graph::StarterPackViewBasic; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::AtUri; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::graph::StarterPackViewBasic; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetStarterPacks { pub uris: Vec>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetStarterPacksOutput { pub starter_packs: Vec>, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -59,7 +64,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetStarterPacksRequest { pub mod get_starter_packs_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -144,4 +149,4 @@ where uris: self._fields.0.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/graph/get_starter_packs_with_membership.rs b/crates/jacquard-api/src/app_bsky/graph/get_starter_packs_with_membership.rs index be5b3dac..0746f7ed 100644 --- a/crates/jacquard-api/src/app_bsky/graph/get_starter_packs_with_membership.rs +++ b/crates/jacquard-api/src/app_bsky/graph/get_starter_packs_with_membership.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -21,15 +21,18 @@ use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::app_bsky::graph::ListItemView; use crate::app_bsky::graph::StarterPackView; use crate::app_bsky::graph::get_starter_packs_with_membership; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetStarterPacksWithMembership { pub actor: AtIdentifier, #[serde(skip_serializing_if = "Option::is_none")] @@ -40,15 +43,16 @@ pub struct GetStarterPacksWithMembership { pub limit: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetStarterPacksWithMembershipOutput { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, - pub starter_packs_with_membership: Vec< - get_starter_packs_with_membership::StarterPackWithMembership, - >, + pub starter_packs_with_membership: + Vec>, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, } @@ -56,7 +60,10 @@ pub struct GetStarterPacksWithMembershipOutput { /// A starter pack and an optional list item indicating membership of a target user to that starter pack. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct StarterPackWithMembership { #[serde(skip_serializing_if = "Option::is_none")] pub list_item: Option>, @@ -110,7 +117,7 @@ fn _default_limit() -> Option { pub mod get_starter_packs_with_membership_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -152,20 +159,15 @@ pub struct GetStarterPacksWithMembershipBuilder< impl GetStarterPacksWithMembership { /// Create a new builder for this type. - pub fn new() -> GetStarterPacksWithMembershipBuilder< - S, - get_starter_packs_with_membership_state::Empty, - > { + pub fn new() + -> GetStarterPacksWithMembershipBuilder { GetStarterPacksWithMembershipBuilder::new() } } -impl< - S: BosStr, -> GetStarterPacksWithMembershipBuilder< - S, - get_starter_packs_with_membership_state::Empty, -> { +impl + GetStarterPacksWithMembershipBuilder +{ /// Create a new builder with all fields unset. pub fn new() -> Self { GetStarterPacksWithMembershipBuilder { @@ -198,10 +200,9 @@ where } } -impl< - S: BosStr, - St: get_starter_packs_with_membership_state::State, -> GetStarterPacksWithMembershipBuilder { +impl + GetStarterPacksWithMembershipBuilder +{ /// Set the `cursor` field (optional) pub fn cursor(mut self, value: impl Into>) -> Self { self._fields.1 = value.into(); @@ -214,10 +215,9 @@ impl< } } -impl< - S: BosStr, - St: get_starter_packs_with_membership_state::State, -> GetStarterPacksWithMembershipBuilder { +impl + GetStarterPacksWithMembershipBuilder +{ /// Set the `limit` field (optional) pub fn limit(mut self, value: impl Into>) -> Self { self._fields.2 = value.into(); @@ -247,7 +247,7 @@ where pub mod starter_pack_with_membership_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -289,17 +289,12 @@ pub struct StarterPackWithMembershipBuilder< impl StarterPackWithMembership { /// Create a new builder for this type. - pub fn new() -> StarterPackWithMembershipBuilder< - S, - starter_pack_with_membership_state::Empty, - > { + pub fn new() -> StarterPackWithMembershipBuilder { StarterPackWithMembershipBuilder::new() } } -impl< - S: BosStr, -> StarterPackWithMembershipBuilder { +impl StarterPackWithMembershipBuilder { /// Create a new builder with all fields unset. pub fn new() -> Self { StarterPackWithMembershipBuilder { @@ -310,10 +305,9 @@ impl< } } -impl< - S: BosStr, - St: starter_pack_with_membership_state::State, -> StarterPackWithMembershipBuilder { +impl + StarterPackWithMembershipBuilder +{ /// Set the `listItem` field (optional) pub fn list_item(mut self, value: impl Into>>) -> Self { self._fields.0 = value.into(); @@ -335,10 +329,8 @@ where pub fn starter_pack( mut self, value: impl Into>, - ) -> StarterPackWithMembershipBuilder< - S, - starter_pack_with_membership_state::SetStarterPack, - > { + ) -> StarterPackWithMembershipBuilder> + { self._fields.1 = Option::Some(value.into()); StarterPackWithMembershipBuilder { _state: PhantomData, @@ -375,10 +367,10 @@ where } fn lexicon_doc_app_bsky_graph_getStarterPacksWithMembership() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.bsky.graph.getStarterPacksWithMembership"), @@ -387,41 +379,37 @@ fn lexicon_doc_app_bsky_graph_getStarterPacksWithMembership() -> LexiconDoc<'sta map.insert( SmolStr::new_static("main"), LexUserType::XrpcQuery(LexXrpcQuery { - parameters: Some( - LexXrpcQueryParameter::Params(LexXrpcParameters { - required: Some(vec![SmolStr::new_static("actor")]), - properties: { - #[allow(unused_mut)] - let mut map = BTreeMap::new(); - map.insert( - SmolStr::new_static("actor"), - LexXrpcParametersProperty::String(LexString { - description: Some( - CowStr::new_static( - "The account (actor) to check for membership.", - ), - ), - format: Some(LexStringFormat::AtIdentifier), - ..Default::default() - }), - ); - map.insert( - SmolStr::new_static("cursor"), - LexXrpcParametersProperty::String(LexString { - ..Default::default() - }), - ); - map.insert( - SmolStr::new_static("limit"), - LexXrpcParametersProperty::Integer(LexInteger { - ..Default::default() - }), - ); - map - }, - ..Default::default() - }), - ), + parameters: Some(LexXrpcQueryParameter::Params(LexXrpcParameters { + required: Some(vec![SmolStr::new_static("actor")]), + properties: { + #[allow(unused_mut)] + let mut map = BTreeMap::new(); + map.insert( + SmolStr::new_static("actor"), + LexXrpcParametersProperty::String(LexString { + description: Some(CowStr::new_static( + "The account (actor) to check for membership.", + )), + format: Some(LexStringFormat::AtIdentifier), + ..Default::default() + }), + ); + map.insert( + SmolStr::new_static("cursor"), + LexXrpcParametersProperty::String(LexString { + ..Default::default() + }), + ); + map.insert( + SmolStr::new_static("limit"), + LexXrpcParametersProperty::Integer(LexInteger { + ..Default::default() + }), + ); + map + }, + ..Default::default() + })), ..Default::default() }), ); @@ -464,4 +452,4 @@ fn lexicon_doc_app_bsky_graph_getStarterPacksWithMembership() -> LexiconDoc<'sta }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/graph/get_suggested_follows_by_actor.rs b/crates/jacquard-api/src/app_bsky/graph/get_suggested_follows_by_actor.rs index ecbcb3ab..d393b474 100644 --- a/crates/jacquard-api/src/app_bsky/graph/get_suggested_follows_by_actor.rs +++ b/crates/jacquard-api/src/app_bsky/graph/get_suggested_follows_by_actor.rs @@ -8,25 +8,30 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_bsky::actor::ProfileView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::ident::AtIdentifier; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::actor::ProfileView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetSuggestedFollowsByActor { pub actor: AtIdentifier, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetSuggestedFollowsByActorOutput { ///DEPRECATED, unused. Previously: if true, response has fallen-back to generic results, and is not scoped using relativeToDid Defaults to `false`. #[serde(skip_serializing_if = "Option::is_none")] @@ -69,7 +74,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetSuggestedFollowsByActorRequest { pub mod get_suggested_follows_by_actor_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -111,17 +116,13 @@ pub struct GetSuggestedFollowsByActorBuilder< impl GetSuggestedFollowsByActor { /// Create a new builder for this type. - pub fn new() -> GetSuggestedFollowsByActorBuilder< - S, - get_suggested_follows_by_actor_state::Empty, - > { + pub fn new() -> GetSuggestedFollowsByActorBuilder + { GetSuggestedFollowsByActorBuilder::new() } } -impl< - S: BosStr, -> GetSuggestedFollowsByActorBuilder { +impl GetSuggestedFollowsByActorBuilder { /// Create a new builder with all fields unset. pub fn new() -> Self { GetSuggestedFollowsByActorBuilder { @@ -141,10 +142,8 @@ where pub fn actor( mut self, value: impl Into>, - ) -> GetSuggestedFollowsByActorBuilder< - S, - get_suggested_follows_by_actor_state::SetActor, - > { + ) -> GetSuggestedFollowsByActorBuilder> + { self._fields.0 = Option::Some(value.into()); GetSuggestedFollowsByActorBuilder { _state: PhantomData, @@ -169,4 +168,4 @@ where fn _default_get_suggested_follows_by_actor_output_is_fallback() -> Option { Some(false) -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/graph/list.rs b/crates/jacquard-api/src/app_bsky/graph/list.rs index 4ff81b97..7ec638c2 100644 --- a/crates/jacquard-api/src/app_bsky/graph/list.rs +++ b/crates/jacquard-api/src/app_bsky/graph/list.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -25,12 +25,12 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::app_bsky::graph::ListPurpose; use crate::app_bsky::richtext::facet::Facet; use crate::com_atproto::label::SelfLabels; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; /// Record representing a list of accounts (actors). Scope includes both moderation-oriented lists and curration-oriented lists. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -129,25 +129,20 @@ impl LexiconSchema for List { { let mime = value.blob().mime_type.as_str(); let accepted: &[&str] = &["image/png", "image/jpeg"]; - let matched = accepted - .iter() - .any(|pattern| { - if *pattern == "*/*" { - true - } else if pattern.ends_with("/*") { - let prefix = &pattern[..pattern.len() - 2]; - mime.starts_with(prefix) - && mime.as_bytes().get(prefix.len()) == Some(&b'/') - } else { - mime == *pattern - } - }); + let matched = accepted.iter().any(|pattern| { + if *pattern == "*/*" { + true + } else if pattern.ends_with("/*") { + let prefix = &pattern[..pattern.len() - 2]; + mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/') + } else { + mime == *pattern + } + }); if !matched { return Err(ConstraintError::BlobMimeTypeNotAccepted { path: ValidationPath::from_field("avatar"), - accepted: vec![ - "image/png".to_string(), "image/jpeg".to_string() - ], + accepted: vec!["image/png".to_string(), "image/jpeg".to_string()], actual: mime.to_string(), }); } @@ -203,7 +198,7 @@ impl LexiconSchema for List { pub mod list_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -339,10 +334,7 @@ impl ListBuilder { impl ListBuilder { /// Set the `descriptionFacets` field (optional) - pub fn description_facets( - mut self, - value: impl Into>>>, - ) -> Self { + pub fn description_facets(mut self, value: impl Into>>>) -> Self { self._fields.3 = value.into(); self } @@ -372,10 +364,7 @@ where St::Name: list_state::IsUnset, { /// Set the `name` field (required) - pub fn name( - mut self, - value: impl Into, - ) -> ListBuilder> { + pub fn name(mut self, value: impl Into) -> ListBuilder> { self._fields.5 = Option::Some(value.into()); ListBuilder { _state: PhantomData, @@ -440,10 +429,10 @@ where } fn lexicon_doc_app_bsky_graph_list() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.bsky.graph.list"), @@ -539,4 +528,4 @@ fn lexicon_doc_app_bsky_graph_list() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/graph/listblock.rs b/crates/jacquard-api/src/app_bsky/graph/listblock.rs index 321d1104..ff5744fa 100644 --- a/crates/jacquard-api/src/app_bsky/graph/listblock.rs +++ b/crates/jacquard-api/src/app_bsky/graph/listblock.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// Record representing a block relationship against an entire an entire list of accounts (actors). #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -105,7 +105,7 @@ impl LexiconSchema for Listblock { pub mod listblock_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -225,10 +225,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> Listblock { + pub fn build_with_data(self, extra_data: BTreeMap>) -> Listblock { Listblock { created_at: self._fields.0.unwrap(), subject: self._fields.1.unwrap(), @@ -238,10 +235,10 @@ where } fn lexicon_doc_app_bsky_graph_listblock() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.bsky.graph.listblock"), @@ -296,4 +293,4 @@ fn lexicon_doc_app_bsky_graph_listblock() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/graph/listitem.rs b/crates/jacquard-api/src/app_bsky/graph/listitem.rs index 7a3b7b9f..514b9058 100644 --- a/crates/jacquard-api/src/app_bsky/graph/listitem.rs +++ b/crates/jacquard-api/src/app_bsky/graph/listitem.rs @@ -10,13 +10,13 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::collection::{Collection, RecordError}; -use jacquard_common::types::string::{Did, AtUri, Cid, Datetime}; +use jacquard_common::types::string::{AtUri, Cid, Datetime, Did}; use jacquard_common::types::uri::{RecordUri, UriError}; use jacquard_common::types::value::Data; use jacquard_common::xrpc::XrpcResp; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// Record representing an account's inclusion on a specific list. The AppView will ignore duplicate listitem records. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -107,7 +107,7 @@ impl LexiconSchema for Listitem { pub mod listitem_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -273,10 +273,10 @@ where } fn lexicon_doc_app_bsky_graph_listitem() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.bsky.graph.listitem"), @@ -343,4 +343,4 @@ fn lexicon_doc_app_bsky_graph_listitem() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/graph/mute_actor.rs b/crates/jacquard-api/src/app_bsky/graph/mute_actor.rs index 87790e3f..26933f50 100644 --- a/crates/jacquard-api/src/app_bsky/graph/mute_actor.rs +++ b/crates/jacquard-api/src/app_bsky/graph/mute_actor.rs @@ -10,15 +10,18 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::ident::AtIdentifier; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct MuteActor { pub actor: AtIdentifier, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -36,9 +39,8 @@ impl jacquard_common::xrpc::XrpcResp for MuteActorResponse { impl jacquard_common::xrpc::XrpcRequest for MuteActor { const NSID: &'static str = "app.bsky.graph.muteActor"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = MuteActorResponse; } @@ -46,16 +48,15 @@ impl jacquard_common::xrpc::XrpcRequest for MuteActor { pub struct MuteActorRequest; impl jacquard_common::xrpc::XrpcEndpoint for MuteActorRequest { const PATH: &'static str = "/xrpc/app.bsky.graph.muteActor"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = MuteActor; type Response = MuteActorResponse; } pub mod mute_actor_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -142,13 +143,10 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> MuteActor { + pub fn build_with_data(self, extra_data: BTreeMap>) -> MuteActor { MuteActor { actor: self._fields.0.unwrap(), extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/graph/mute_actor_list.rs b/crates/jacquard-api/src/app_bsky/graph/mute_actor_list.rs index 0b727125..840642df 100644 --- a/crates/jacquard-api/src/app_bsky/graph/mute_actor_list.rs +++ b/crates/jacquard-api/src/app_bsky/graph/mute_actor_list.rs @@ -10,15 +10,18 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::AtUri; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct MuteActorList { pub list: AtUri, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -36,9 +39,8 @@ impl jacquard_common::xrpc::XrpcResp for MuteActorListResponse { impl jacquard_common::xrpc::XrpcRequest for MuteActorList { const NSID: &'static str = "app.bsky.graph.muteActorList"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = MuteActorListResponse; } @@ -46,16 +48,15 @@ impl jacquard_common::xrpc::XrpcRequest for MuteActorList { pub struct MuteActorListRequest; impl jacquard_common::xrpc::XrpcEndpoint for MuteActorListRequest { const PATH: &'static str = "/xrpc/app.bsky.graph.muteActorList"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = MuteActorList; type Response = MuteActorListResponse; } pub mod mute_actor_list_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -142,13 +143,10 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> MuteActorList { + pub fn build_with_data(self, extra_data: BTreeMap>) -> MuteActorList { MuteActorList { list: self._fields.0.unwrap(), extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/graph/mute_thread.rs b/crates/jacquard-api/src/app_bsky/graph/mute_thread.rs index 7b99c0ad..3c70dc29 100644 --- a/crates/jacquard-api/src/app_bsky/graph/mute_thread.rs +++ b/crates/jacquard-api/src/app_bsky/graph/mute_thread.rs @@ -10,15 +10,18 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::AtUri; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct MuteThread { pub root: AtUri, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -36,9 +39,8 @@ impl jacquard_common::xrpc::XrpcResp for MuteThreadResponse { impl jacquard_common::xrpc::XrpcRequest for MuteThread { const NSID: &'static str = "app.bsky.graph.muteThread"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = MuteThreadResponse; } @@ -46,16 +48,15 @@ impl jacquard_common::xrpc::XrpcRequest for MuteThread { pub struct MuteThreadRequest; impl jacquard_common::xrpc::XrpcEndpoint for MuteThreadRequest { const PATH: &'static str = "/xrpc/app.bsky.graph.muteThread"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = MuteThread; type Response = MuteThreadResponse; } pub mod mute_thread_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -142,13 +143,10 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> MuteThread { + pub fn build_with_data(self, extra_data: BTreeMap>) -> MuteThread { MuteThread { root: self._fields.0.unwrap(), extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/graph/search_starter_packs.rs b/crates/jacquard-api/src/app_bsky/graph/search_starter_packs.rs index c77f80e5..ec3637b4 100644 --- a/crates/jacquard-api/src/app_bsky/graph/search_starter_packs.rs +++ b/crates/jacquard-api/src/app_bsky/graph/search_starter_packs.rs @@ -8,17 +8,20 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_bsky::graph::StarterPackViewBasic; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::graph::StarterPackViewBasic; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct SearchStarterPacks { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -29,9 +32,11 @@ pub struct SearchStarterPacks { pub q: S, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct SearchStarterPacksOutput { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -70,7 +75,7 @@ fn _default_limit() -> Option { pub mod search_starter_packs_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -183,4 +188,4 @@ where q: self._fields.2.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/graph/starterpack.rs b/crates/jacquard-api/src/app_bsky/graph/starterpack.rs index 856d52c2..3e9bf164 100644 --- a/crates/jacquard-api/src/app_bsky/graph/starterpack.rs +++ b/crates/jacquard-api/src/app_bsky/graph/starterpack.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,14 +24,17 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::app_bsky::graph::starterpack; +use crate::app_bsky::richtext::facet::Facet; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::richtext::facet::Facet; -use crate::app_bsky::graph::starterpack; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct FeedItem { pub uri: AtUri, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -206,7 +209,7 @@ impl LexiconSchema for Starterpack { pub mod feed_item_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -302,10 +305,10 @@ where } fn lexicon_doc_app_bsky_graph_starterpack() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.bsky.graph.starterpack"), @@ -333,19 +336,16 @@ fn lexicon_doc_app_bsky_graph_starterpack() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static( - "Record defining a starter pack of actors and feeds for new users.", - ), - ), + description: Some(CowStr::new_static( + "Record defining a starter pack of actors and feeds for new users.", + )), key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("name"), SmolStr::new_static("list"), - SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("name"), + SmolStr::new_static("list"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -388,9 +388,9 @@ fn lexicon_doc_app_bsky_graph_starterpack() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("list"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Reference (AT-URI) to the list record."), - ), + description: Some(CowStr::new_static( + "Reference (AT-URI) to the list record.", + )), format: Some(LexStringFormat::AtUri), ..Default::default() }), @@ -398,11 +398,9 @@ fn lexicon_doc_app_bsky_graph_starterpack() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("name"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Display name for starter pack; can not be empty.", - ), - ), + description: Some(CowStr::new_static( + "Display name for starter pack; can not be empty.", + )), min_length: Some(1usize), max_length: Some(500usize), max_graphemes: Some(50usize), @@ -424,7 +422,7 @@ fn lexicon_doc_app_bsky_graph_starterpack() -> LexiconDoc<'static> { pub mod starterpack_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -546,10 +544,7 @@ impl StarterpackBuilder { impl StarterpackBuilder { /// Set the `descriptionFacets` field (optional) - pub fn description_facets( - mut self, - value: impl Into>>>, - ) -> Self { + pub fn description_facets(mut self, value: impl Into>>>) -> Self { self._fields.2 = value.into(); self } @@ -562,10 +557,7 @@ impl StarterpackBuilder { impl StarterpackBuilder { /// Set the `feeds` field (optional) - pub fn feeds( - mut self, - value: impl Into>>>, - ) -> Self { + pub fn feeds(mut self, value: impl Into>>>) -> Self { self._fields.3 = value.into(); self } @@ -634,10 +626,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> Starterpack { + pub fn build_with_data(self, extra_data: BTreeMap>) -> Starterpack { Starterpack { created_at: self._fields.0.unwrap(), description: self._fields.1, @@ -648,4 +637,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/graph/unmute_actor.rs b/crates/jacquard-api/src/app_bsky/graph/unmute_actor.rs index 8f9f6e2e..06c64fc6 100644 --- a/crates/jacquard-api/src/app_bsky/graph/unmute_actor.rs +++ b/crates/jacquard-api/src/app_bsky/graph/unmute_actor.rs @@ -10,15 +10,18 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::ident::AtIdentifier; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct UnmuteActor { pub actor: AtIdentifier, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -36,9 +39,8 @@ impl jacquard_common::xrpc::XrpcResp for UnmuteActorResponse { impl jacquard_common::xrpc::XrpcRequest for UnmuteActor { const NSID: &'static str = "app.bsky.graph.unmuteActor"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = UnmuteActorResponse; } @@ -46,16 +48,15 @@ impl jacquard_common::xrpc::XrpcRequest for UnmuteActor { pub struct UnmuteActorRequest; impl jacquard_common::xrpc::XrpcEndpoint for UnmuteActorRequest { const PATH: &'static str = "/xrpc/app.bsky.graph.unmuteActor"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = UnmuteActor; type Response = UnmuteActorResponse; } pub mod unmute_actor_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -142,13 +143,10 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> UnmuteActor { + pub fn build_with_data(self, extra_data: BTreeMap>) -> UnmuteActor { UnmuteActor { actor: self._fields.0.unwrap(), extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/graph/unmute_actor_list.rs b/crates/jacquard-api/src/app_bsky/graph/unmute_actor_list.rs index 0e247ac5..6d4216d3 100644 --- a/crates/jacquard-api/src/app_bsky/graph/unmute_actor_list.rs +++ b/crates/jacquard-api/src/app_bsky/graph/unmute_actor_list.rs @@ -10,15 +10,18 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::AtUri; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct UnmuteActorList { pub list: AtUri, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -36,9 +39,8 @@ impl jacquard_common::xrpc::XrpcResp for UnmuteActorListResponse { impl jacquard_common::xrpc::XrpcRequest for UnmuteActorList { const NSID: &'static str = "app.bsky.graph.unmuteActorList"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = UnmuteActorListResponse; } @@ -46,16 +48,15 @@ impl jacquard_common::xrpc::XrpcRequest for UnmuteActorList { pub struct UnmuteActorListRequest; impl jacquard_common::xrpc::XrpcEndpoint for UnmuteActorListRequest { const PATH: &'static str = "/xrpc/app.bsky.graph.unmuteActorList"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = UnmuteActorList; type Response = UnmuteActorListResponse; } pub mod unmute_actor_list_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -142,13 +143,10 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> UnmuteActorList { + pub fn build_with_data(self, extra_data: BTreeMap>) -> UnmuteActorList { UnmuteActorList { list: self._fields.0.unwrap(), extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/graph/unmute_thread.rs b/crates/jacquard-api/src/app_bsky/graph/unmute_thread.rs index 543d7c0f..a07572db 100644 --- a/crates/jacquard-api/src/app_bsky/graph/unmute_thread.rs +++ b/crates/jacquard-api/src/app_bsky/graph/unmute_thread.rs @@ -10,15 +10,18 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::AtUri; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct UnmuteThread { pub root: AtUri, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -36,9 +39,8 @@ impl jacquard_common::xrpc::XrpcResp for UnmuteThreadResponse { impl jacquard_common::xrpc::XrpcRequest for UnmuteThread { const NSID: &'static str = "app.bsky.graph.unmuteThread"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = UnmuteThreadResponse; } @@ -46,16 +48,15 @@ impl jacquard_common::xrpc::XrpcRequest for UnmuteThread { pub struct UnmuteThreadRequest; impl jacquard_common::xrpc::XrpcEndpoint for UnmuteThreadRequest { const PATH: &'static str = "/xrpc/app.bsky.graph.unmuteThread"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = UnmuteThread; type Response = UnmuteThreadResponse; } pub mod unmute_thread_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -142,13 +143,10 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> UnmuteThread { + pub fn build_with_data(self, extra_data: BTreeMap>) -> UnmuteThread { UnmuteThread { root: self._fields.0.unwrap(), extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/graph/verification.rs b/crates/jacquard-api/src/app_bsky/graph/verification.rs index a3f54b0e..a9258585 100644 --- a/crates/jacquard-api/src/app_bsky/graph/verification.rs +++ b/crates/jacquard-api/src/app_bsky/graph/verification.rs @@ -10,13 +10,13 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::collection::{Collection, RecordError}; -use jacquard_common::types::string::{Did, Handle, AtUri, Cid, Datetime}; +use jacquard_common::types::string::{AtUri, Cid, Datetime, Did, Handle}; use jacquard_common::types::uri::{RecordUri, UriError}; use jacquard_common::types::value::Data; use jacquard_common::xrpc::XrpcResp; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// Record declaring a verification relationship between two accounts. Verifications are only considered valid by an app if issued by an account the app considers trusted. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -110,7 +110,7 @@ impl LexiconSchema for Verification { pub mod verification_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -185,7 +185,12 @@ pub mod verification_state { /// Builder for constructing an instance of this type. pub struct VerificationBuilder { _state: PhantomData St>, - _fields: (Option, Option, Option>, Option>), + _fields: ( + Option, + Option, + Option>, + Option>, + ), _type: PhantomData S>, } @@ -302,10 +307,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> Verification { + pub fn build_with_data(self, extra_data: BTreeMap>) -> Verification { Verification { created_at: self._fields.0.unwrap(), display_name: self._fields.1.unwrap(), @@ -317,10 +319,10 @@ where } fn lexicon_doc_app_bsky_graph_verification() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.bsky.graph.verification"), @@ -405,4 +407,4 @@ fn lexicon_doc_app_bsky_graph_verification() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/labeler.rs b/crates/jacquard-api/src/app_bsky/labeler.rs index 3ebf4240..3582bda3 100644 --- a/crates/jacquard-api/src/app_bsky/labeler.rs +++ b/crates/jacquard-api/src/app_bsky/labeler.rs @@ -8,7 +8,6 @@ pub mod get_services; pub mod service; - #[allow(unused_imports)] use alloc::collections::BTreeMap; @@ -19,25 +18,28 @@ use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; use jacquard_common::deps::smol_str::SmolStr; -use jacquard_common::types::string::{AtUri, Nsid, Cid, Datetime}; +use jacquard_common::types::string::{AtUri, Cid, Datetime, Nsid}; use jacquard_common::types::value::Data; use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::app_bsky::actor::ProfileView; +use crate::app_bsky::labeler; use crate::com_atproto::label::Label; use crate::com_atproto::label::LabelValue; use crate::com_atproto::label::LabelValueDefinition; use crate::com_atproto::moderation::ReasonType; use crate::com_atproto::moderation::SubjectType; -use crate::app_bsky::labeler; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct LabelerPolicies { ///Label values created by this labeler and scoped exclusively to it. Labels defined here will override global label definitions for this labeler. #[serde(skip_serializing_if = "Option::is_none")] @@ -48,9 +50,11 @@ pub struct LabelerPolicies { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct LabelerView { pub cid: Cid, pub creator: ProfileView, @@ -66,9 +70,11 @@ pub struct LabelerView { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct LabelerViewDetailed { pub cid: Cid, pub creator: ProfileView, @@ -94,9 +100,11 @@ pub struct LabelerViewDetailed { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct LabelerViewerState { #[serde(skip_serializing_if = "Option::is_none")] pub like: Option>, @@ -184,7 +192,7 @@ impl LexiconSchema for LabelerViewerState { pub mod labeler_policies_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -217,7 +225,10 @@ pub mod labeler_policies_state { /// Builder for constructing an instance of this type. pub struct LabelerPoliciesBuilder { _state: PhantomData St>, - _fields: (Option>>, Option>>), + _fields: ( + Option>>, + Option>>, + ), _type: PhantomData S>, } @@ -291,10 +302,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> LabelerPolicies { + pub fn build_with_data(self, extra_data: BTreeMap>) -> LabelerPolicies { LabelerPolicies { label_value_definitions: self._fields.0, label_values: self._fields.1.unwrap(), @@ -304,10 +312,10 @@ where } fn lexicon_doc_app_bsky_labeler_defs() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.bsky.labeler.defs"), @@ -362,13 +370,12 @@ fn lexicon_doc_app_bsky_labeler_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("labelerView"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("uri"), SmolStr::new_static("cid"), - SmolStr::new_static("creator"), - SmolStr::new_static("indexedAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("uri"), + SmolStr::new_static("cid"), + SmolStr::new_static("creator"), + SmolStr::new_static("indexedAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -382,9 +389,7 @@ fn lexicon_doc_app_bsky_labeler_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("creator"), LexObjectProperty::Ref(LexRef { - r#ref: CowStr::new_static( - "app.bsky.actor.defs#profileView", - ), + r#ref: CowStr::new_static("app.bsky.actor.defs#profileView"), ..Default::default() }), ); @@ -588,7 +593,7 @@ fn lexicon_doc_app_bsky_labeler_defs() -> LexiconDoc<'static> { pub mod labeler_view_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -797,18 +802,12 @@ where impl LabelerViewBuilder { /// Set the `viewer` field (optional) - pub fn viewer( - mut self, - value: impl Into>>, - ) -> Self { + pub fn viewer(mut self, value: impl Into>>) -> Self { self._fields.6 = value.into(); self } /// Set the `viewer` field to an Option value (optional) - pub fn maybe_viewer( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_viewer(mut self, value: Option>) -> Self { self._fields.6 = value; self } @@ -836,10 +835,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> LabelerView { + pub fn build_with_data(self, extra_data: BTreeMap>) -> LabelerView { LabelerView { cid: self._fields.0.unwrap(), creator: self._fields.1.unwrap(), @@ -855,7 +851,7 @@ where pub mod labeler_view_detailed_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -946,10 +942,7 @@ pub mod labeler_view_detailed_state { } /// Builder for constructing an instance of this type. -pub struct LabelerViewDetailedBuilder< - S: BosStr, - St: labeler_view_detailed_state::State, -> { +pub struct LabelerViewDetailedBuilder { _state: PhantomData St>, _fields: ( Option>, @@ -979,7 +972,9 @@ impl LabelerViewDetailedBuilder Self { LabelerViewDetailedBuilder { _state: PhantomData, - _fields: (None, None, None, None, None, None, None, None, None, None, None), + _fields: ( + None, None, None, None, None, None, None, None, None, None, None, + ), _type: PhantomData, } } @@ -1042,10 +1037,7 @@ where } } -impl< - S: BosStr, - St: labeler_view_detailed_state::State, -> LabelerViewDetailedBuilder { +impl LabelerViewDetailedBuilder { /// Set the `labels` field (optional) pub fn labels(mut self, value: impl Into>>>) -> Self { self._fields.3 = value.into(); @@ -1058,10 +1050,7 @@ impl< } } -impl< - S: BosStr, - St: labeler_view_detailed_state::State, -> LabelerViewDetailedBuilder { +impl LabelerViewDetailedBuilder { /// Set the `likeCount` field (optional) pub fn like_count(mut self, value: impl Into>) -> Self { self._fields.4 = value.into(); @@ -1093,10 +1082,7 @@ where } } -impl< - S: BosStr, - St: labeler_view_detailed_state::State, -> LabelerViewDetailedBuilder { +impl LabelerViewDetailedBuilder { /// Set the `reasonTypes` field (optional) pub fn reason_types(mut self, value: impl Into>>>) -> Self { self._fields.6 = value.into(); @@ -1109,15 +1095,9 @@ impl< } } -impl< - S: BosStr, - St: labeler_view_detailed_state::State, -> LabelerViewDetailedBuilder { +impl LabelerViewDetailedBuilder { /// Set the `subjectCollections` field (optional) - pub fn subject_collections( - mut self, - value: impl Into>>>, - ) -> Self { + pub fn subject_collections(mut self, value: impl Into>>>) -> Self { self._fields.7 = value.into(); self } @@ -1128,15 +1108,9 @@ impl< } } -impl< - S: BosStr, - St: labeler_view_detailed_state::State, -> LabelerViewDetailedBuilder { +impl LabelerViewDetailedBuilder { /// Set the `subjectTypes` field (optional) - pub fn subject_types( - mut self, - value: impl Into>>>, - ) -> Self { + pub fn subject_types(mut self, value: impl Into>>>) -> Self { self._fields.8 = value.into(); self } @@ -1166,23 +1140,14 @@ where } } -impl< - S: BosStr, - St: labeler_view_detailed_state::State, -> LabelerViewDetailedBuilder { +impl LabelerViewDetailedBuilder { /// Set the `viewer` field (optional) - pub fn viewer( - mut self, - value: impl Into>>, - ) -> Self { + pub fn viewer(mut self, value: impl Into>>) -> Self { self._fields.10 = value.into(); self } /// Set the `viewer` field to an Option value (optional) - pub fn maybe_viewer( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_viewer(mut self, value: Option>) -> Self { self._fields.10 = value; self } @@ -1215,10 +1180,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> LabelerViewDetailed { + pub fn build_with_data(self, extra_data: BTreeMap>) -> LabelerViewDetailed { LabelerViewDetailed { cid: self._fields.0.unwrap(), creator: self._fields.1.unwrap(), @@ -1234,4 +1196,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/labeler/get_services.rs b/crates/jacquard-api/src/app_bsky/labeler/get_services.rs index a9fc7cd0..7b24ac71 100644 --- a/crates/jacquard-api/src/app_bsky/labeler/get_services.rs +++ b/crates/jacquard-api/src/app_bsky/labeler/get_services.rs @@ -8,19 +8,22 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_bsky::labeler::LabelerView; +use crate::app_bsky::labeler::LabelerViewDetailed; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::Did; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::labeler::LabelerView; -use crate::app_bsky::labeler::LabelerViewDetailed; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetServices { /// Defaults to `false`. #[serde(default = "_default_detailed")] @@ -29,16 +32,17 @@ pub struct GetServices { pub dids: Vec>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetServicesOutput { pub views: Vec>, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -79,7 +83,7 @@ fn _default_detailed() -> Option { pub mod get_services_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -178,4 +182,4 @@ where dids: self._fields.1.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/labeler/service.rs b/crates/jacquard-api/src/app_bsky/labeler/service.rs index 933966eb..15fc787a 100644 --- a/crates/jacquard-api/src/app_bsky/labeler/service.rs +++ b/crates/jacquard-api/src/app_bsky/labeler/service.rs @@ -10,13 +10,13 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::collection::{Collection, RecordError}; -use jacquard_common::types::string::{AtUri, Nsid, Cid, Datetime}; +use jacquard_common::types::string::{AtUri, Cid, Datetime, Nsid}; use jacquard_common::types::uri::{RecordUri, UriError}; use jacquard_common::types::value::Data; use jacquard_common::xrpc::XrpcResp; @@ -24,13 +24,13 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::app_bsky::labeler::LabelerPolicies; use crate::com_atproto::label::SelfLabels; use crate::com_atproto::moderation::ReasonType; use crate::com_atproto::moderation::SubjectType; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; /// A declaration of the existence of labeler service. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -119,7 +119,7 @@ impl LexiconSchema for Service { pub mod service_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -259,10 +259,7 @@ impl ServiceBuilder { impl ServiceBuilder { /// Set the `subjectCollections` field (optional) - pub fn subject_collections( - mut self, - value: impl Into>>>, - ) -> Self { + pub fn subject_collections(mut self, value: impl Into>>>) -> Self { self._fields.4 = value.into(); self } @@ -275,10 +272,7 @@ impl ServiceBuilder { impl ServiceBuilder { /// Set the `subjectTypes` field (optional) - pub fn subject_types( - mut self, - value: impl Into>>>, - ) -> Self { + pub fn subject_types(mut self, value: impl Into>>>) -> Self { self._fields.5 = value.into(); self } @@ -322,10 +316,10 @@ where } fn lexicon_doc_app_bsky_labeler_service() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.bsky.labeler.service"), @@ -435,4 +429,4 @@ fn lexicon_doc_app_bsky_labeler_service() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/notification.rs b/crates/jacquard-api/src/app_bsky/notification.rs index 517e4be6..1a773b90 100644 --- a/crates/jacquard-api/src/app_bsky/notification.rs +++ b/crates/jacquard-api/src/app_bsky/notification.rs @@ -17,13 +17,12 @@ pub mod register_push; pub mod unregister_push; pub mod update_seen; - #[allow(unused_imports)] use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -34,13 +33,16 @@ use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::app_bsky::notification; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::notification; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ActivitySubscription { pub post: bool, pub reply: bool, @@ -48,9 +50,11 @@ pub struct ActivitySubscription { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ChatPreference { pub include: ChatPreferenceInclude, pub push: bool, @@ -58,7 +62,6 @@ pub struct ChatPreference { pub extra_data: Option>>, } - #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum ChatPreferenceInclude { All, @@ -131,16 +134,16 @@ where match self { ChatPreferenceInclude::All => ChatPreferenceInclude::All, ChatPreferenceInclude::Accepted => ChatPreferenceInclude::Accepted, - ChatPreferenceInclude::Other(v) => { - ChatPreferenceInclude::Other(v.into_static()) - } + ChatPreferenceInclude::Other(v) => ChatPreferenceInclude::Other(v.into_static()), } } } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct FilterablePreference { pub include: FilterablePreferenceInclude, pub list: bool, @@ -149,7 +152,6 @@ pub struct FilterablePreference { pub extra_data: Option>>, } - #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum FilterablePreferenceInclude { All, @@ -196,8 +198,7 @@ impl Serialize for FilterablePreferenceInclude { } } -impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> -for FilterablePreferenceInclude { +impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> for FilterablePreferenceInclude { fn deserialize(deserializer: D) -> Result where D: serde::Deserializer<'de>, @@ -230,9 +231,11 @@ where } } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Preference { pub list: bool, pub push: bool, @@ -240,9 +243,11 @@ pub struct Preference { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Preferences { pub chat: notification::ChatPreference, pub follow: notification::FilterablePreference, @@ -261,9 +266,11 @@ pub struct Preferences { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct RecordDeleted { #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, @@ -272,7 +279,10 @@ pub struct RecordDeleted { /// Object used to store activity subscription data in stash. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct SubjectActivitySubscription { pub activity_subscription: notification::ActivitySubscription, pub subject: Did, @@ -387,7 +397,7 @@ impl LexiconSchema for SubjectActivitySubscription { pub mod activity_subscription_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -430,10 +440,7 @@ pub mod activity_subscription_state { } /// Builder for constructing an instance of this type. -pub struct ActivitySubscriptionBuilder< - S: BosStr, - St: activity_subscription_state::State, -> { +pub struct ActivitySubscriptionBuilder { _state: PhantomData St>, _fields: (Option, Option), _type: PhantomData S>, @@ -523,10 +530,10 @@ where } fn lexicon_doc_app_bsky_notification_defs() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.bsky.notification.defs"), @@ -535,9 +542,10 @@ fn lexicon_doc_app_bsky_notification_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("activitySubscription"), LexUserType::Object(LexObject { - required: Some( - vec![SmolStr::new_static("post"), SmolStr::new_static("reply")], - ), + required: Some(vec![ + SmolStr::new_static("post"), + SmolStr::new_static("reply"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -561,15 +569,18 @@ fn lexicon_doc_app_bsky_notification_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("chatPreference"), LexUserType::Object(LexObject { - required: Some( - vec![SmolStr::new_static("include"), SmolStr::new_static("push")], - ), + required: Some(vec![ + SmolStr::new_static("include"), + SmolStr::new_static("push"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("include"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("push"), @@ -585,18 +596,19 @@ fn lexicon_doc_app_bsky_notification_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("filterablePreference"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("include"), SmolStr::new_static("list"), - SmolStr::new_static("push") - ], - ), + required: Some(vec![ + SmolStr::new_static("include"), + SmolStr::new_static("list"), + SmolStr::new_static("push"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("include"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("list"), @@ -618,9 +630,10 @@ fn lexicon_doc_app_bsky_notification_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("preference"), LexUserType::Object(LexObject { - required: Some( - vec![SmolStr::new_static("list"), SmolStr::new_static("push")], - ), + required: Some(vec![ + SmolStr::new_static("list"), + SmolStr::new_static("push"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -644,20 +657,21 @@ fn lexicon_doc_app_bsky_notification_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("preferences"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("chat"), SmolStr::new_static("follow"), - SmolStr::new_static("like"), - SmolStr::new_static("likeViaRepost"), - SmolStr::new_static("mention"), SmolStr::new_static("quote"), - SmolStr::new_static("reply"), SmolStr::new_static("repost"), - SmolStr::new_static("repostViaRepost"), - SmolStr::new_static("starterpackJoined"), - SmolStr::new_static("subscribedPost"), - SmolStr::new_static("unverified"), - SmolStr::new_static("verified") - ], - ), + required: Some(vec![ + SmolStr::new_static("chat"), + SmolStr::new_static("follow"), + SmolStr::new_static("like"), + SmolStr::new_static("likeViaRepost"), + SmolStr::new_static("mention"), + SmolStr::new_static("quote"), + SmolStr::new_static("reply"), + SmolStr::new_static("repost"), + SmolStr::new_static("repostViaRepost"), + SmolStr::new_static("starterpackJoined"), + SmolStr::new_static("subscribedPost"), + SmolStr::new_static("unverified"), + SmolStr::new_static("verified"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -771,17 +785,13 @@ fn lexicon_doc_app_bsky_notification_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("subjectActivitySubscription"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "Object used to store activity subscription data in stash.", - ), - ), - required: Some( - vec![ - SmolStr::new_static("subject"), - SmolStr::new_static("activitySubscription") - ], - ), + description: Some(CowStr::new_static( + "Object used to store activity subscription data in stash.", + )), + required: Some(vec![ + SmolStr::new_static("subject"), + SmolStr::new_static("activitySubscription"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -812,7 +822,7 @@ fn lexicon_doc_app_bsky_notification_defs() -> LexiconDoc<'static> { pub mod chat_preference_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -932,10 +942,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> ChatPreference { + pub fn build_with_data(self, extra_data: BTreeMap>) -> ChatPreference { ChatPreference { include: self._fields.0.unwrap(), push: self._fields.1.unwrap(), @@ -946,7 +953,7 @@ where pub mod filterable_preference_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -1003,12 +1010,13 @@ pub mod filterable_preference_state { } /// Builder for constructing an instance of this type. -pub struct FilterablePreferenceBuilder< - S: BosStr, - St: filterable_preference_state::State, -> { +pub struct FilterablePreferenceBuilder { _state: PhantomData St>, - _fields: (Option>, Option, Option), + _fields: ( + Option>, + Option, + Option, + ), _type: PhantomData S>, } @@ -1119,7 +1127,7 @@ where pub mod preference_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -1239,10 +1247,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> Preference { + pub fn build_with_data(self, extra_data: BTreeMap>) -> Preference { Preference { list: self._fields.0.unwrap(), push: self._fields.1.unwrap(), @@ -1253,7 +1258,7 @@ where pub mod preferences_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -1593,19 +1598,7 @@ impl PreferencesBuilder { PreferencesBuilder { _state: PhantomData, _fields: ( - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, + None, None, None, None, None, None, None, None, None, None, None, None, None, ), _type: PhantomData, } @@ -1896,10 +1889,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> Preferences { + pub fn build_with_data(self, extra_data: BTreeMap>) -> Preferences { Preferences { chat: self._fields.0.unwrap(), follow: self._fields.1.unwrap(), @@ -1921,7 +1911,7 @@ where pub mod subject_activity_subscription_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -1969,23 +1959,22 @@ pub struct SubjectActivitySubscriptionBuilder< St: subject_activity_subscription_state::State, > { _state: PhantomData St>, - _fields: (Option>, Option>), + _fields: ( + Option>, + Option>, + ), _type: PhantomData S>, } impl SubjectActivitySubscription { /// Create a new builder for this type. - pub fn new() -> SubjectActivitySubscriptionBuilder< - S, - subject_activity_subscription_state::Empty, - > { + pub fn new() -> SubjectActivitySubscriptionBuilder + { SubjectActivitySubscriptionBuilder::new() } } -impl< - S: BosStr, -> SubjectActivitySubscriptionBuilder { +impl SubjectActivitySubscriptionBuilder { /// Create a new builder with all fields unset. pub fn new() -> Self { SubjectActivitySubscriptionBuilder { @@ -2027,10 +2016,8 @@ where pub fn subject( mut self, value: impl Into>, - ) -> SubjectActivitySubscriptionBuilder< - S, - subject_activity_subscription_state::SetSubject, - > { + ) -> SubjectActivitySubscriptionBuilder> + { self._fields.1 = Option::Some(value.into()); SubjectActivitySubscriptionBuilder { _state: PhantomData, @@ -2065,4 +2052,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/notification/declaration.rs b/crates/jacquard-api/src/app_bsky/notification/declaration.rs index 3c27e5b6..369b4c69 100644 --- a/crates/jacquard-api/src/app_bsky/notification/declaration.rs +++ b/crates/jacquard-api/src/app_bsky/notification/declaration.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// A declaration of the user's choices related to notifications that can be produced by them. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -94,8 +94,7 @@ impl Serialize for DeclarationAllowSubscriptions { } } -impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> -for DeclarationAllowSubscriptions { +impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> for DeclarationAllowSubscriptions { fn deserialize(deserializer: D) -> Result where D: serde::Deserializer<'de>, @@ -119,12 +118,8 @@ where type Output = DeclarationAllowSubscriptions; fn into_static(self) -> Self::Output { match self { - DeclarationAllowSubscriptions::Followers => { - DeclarationAllowSubscriptions::Followers - } - DeclarationAllowSubscriptions::Mutuals => { - DeclarationAllowSubscriptions::Mutuals - } + DeclarationAllowSubscriptions::Followers => DeclarationAllowSubscriptions::Followers, + DeclarationAllowSubscriptions::Mutuals => DeclarationAllowSubscriptions::Mutuals, DeclarationAllowSubscriptions::None => DeclarationAllowSubscriptions::None, DeclarationAllowSubscriptions::Other(v) => { DeclarationAllowSubscriptions::Other(v.into_static()) @@ -194,7 +189,7 @@ impl LexiconSchema for Declaration { pub mod declaration_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -281,10 +276,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> Declaration { + pub fn build_with_data(self, extra_data: BTreeMap>) -> Declaration { Declaration { allow_subscriptions: self._fields.0.unwrap(), extra_data: Some(extra_data), @@ -293,10 +285,10 @@ where } fn lexicon_doc_app_bsky_notification_declaration() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.bsky.notification.declaration"), @@ -338,4 +330,4 @@ fn lexicon_doc_app_bsky_notification_declaration() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/notification/get_preferences.rs b/crates/jacquard-api/src/app_bsky/notification/get_preferences.rs index a4a13c39..273154eb 100644 --- a/crates/jacquard-api/src/app_bsky/notification/get_preferences.rs +++ b/crates/jacquard-api/src/app_bsky/notification/get_preferences.rs @@ -8,21 +8,24 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_bsky::notification::Preferences; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::notification::Preferences; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(rename_all = "camelCase")] pub struct GetPreferences; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetPreferencesOutput { pub preferences: Preferences, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -51,4 +54,4 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetPreferencesRequest { const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Query; type Request = GetPreferences; type Response = GetPreferencesResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/notification/get_unread_count.rs b/crates/jacquard-api/src/app_bsky/notification/get_unread_count.rs index 09d77dd4..fb067c50 100644 --- a/crates/jacquard-api/src/app_bsky/notification/get_unread_count.rs +++ b/crates/jacquard-api/src/app_bsky/notification/get_unread_count.rs @@ -10,12 +10,12 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::Datetime; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(rename_all = "camelCase")] @@ -26,9 +26,11 @@ pub struct GetUnreadCount { pub seen_at: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetUnreadCountOutput { pub count: i64, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -61,7 +63,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetUnreadCountRequest { pub mod get_unread_count_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -138,4 +140,4 @@ where seen_at: self._fields.1, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/notification/list_activity_subscriptions.rs b/crates/jacquard-api/src/app_bsky/notification/list_activity_subscriptions.rs index 2168cb05..b2286607 100644 --- a/crates/jacquard-api/src/app_bsky/notification/list_activity_subscriptions.rs +++ b/crates/jacquard-api/src/app_bsky/notification/list_activity_subscriptions.rs @@ -8,17 +8,20 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_bsky::actor::ProfileView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::actor::ProfileView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ListActivitySubscriptions { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -28,9 +31,11 @@ pub struct ListActivitySubscriptions { pub limit: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ListActivitySubscriptionsOutput { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -69,7 +74,7 @@ fn _default_limit() -> Option { pub mod list_activity_subscriptions_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -87,10 +92,8 @@ pub mod list_activity_subscriptions_state { } /// Builder for constructing an instance of this type. -pub struct ListActivitySubscriptionsBuilder< - S: BosStr, - St: list_activity_subscriptions_state::State, -> { +pub struct ListActivitySubscriptionsBuilder +{ _state: PhantomData St>, _fields: (Option, Option), _type: PhantomData S>, @@ -98,17 +101,12 @@ pub struct ListActivitySubscriptionsBuilder< impl ListActivitySubscriptions { /// Create a new builder for this type. - pub fn new() -> ListActivitySubscriptionsBuilder< - S, - list_activity_subscriptions_state::Empty, - > { + pub fn new() -> ListActivitySubscriptionsBuilder { ListActivitySubscriptionsBuilder::new() } } -impl< - S: BosStr, -> ListActivitySubscriptionsBuilder { +impl ListActivitySubscriptionsBuilder { /// Create a new builder with all fields unset. pub fn new() -> Self { ListActivitySubscriptionsBuilder { @@ -119,10 +117,9 @@ impl< } } -impl< - S: BosStr, - St: list_activity_subscriptions_state::State, -> ListActivitySubscriptionsBuilder { +impl + ListActivitySubscriptionsBuilder +{ /// Set the `cursor` field (optional) pub fn cursor(mut self, value: impl Into>) -> Self { self._fields.0 = value.into(); @@ -135,10 +132,9 @@ impl< } } -impl< - S: BosStr, - St: list_activity_subscriptions_state::State, -> ListActivitySubscriptionsBuilder { +impl + ListActivitySubscriptionsBuilder +{ /// Set the `limit` field (optional) pub fn limit(mut self, value: impl Into>) -> Self { self._fields.1 = value.into(); @@ -162,4 +158,4 @@ where limit: self._fields.1, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/notification/list_notifications.rs b/crates/jacquard-api/src/app_bsky/notification/list_notifications.rs index d967835d..69585e41 100644 --- a/crates/jacquard-api/src/app_bsky/notification/list_notifications.rs +++ b/crates/jacquard-api/src/app_bsky/notification/list_notifications.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -21,15 +21,18 @@ use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::app_bsky::actor::ProfileView; -use crate::com_atproto::label::Label; use crate::app_bsky::notification::list_notifications; +use crate::com_atproto::label::Label; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ListNotifications { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -45,9 +48,11 @@ pub struct ListNotifications { pub seen_at: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ListNotificationsOutput { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -60,9 +65,11 @@ pub struct ListNotificationsOutput { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Notification { pub author: ProfileView, pub cid: Cid, @@ -191,9 +198,7 @@ where NotificationReason::Mention => NotificationReason::Mention, NotificationReason::Reply => NotificationReason::Reply, NotificationReason::Quote => NotificationReason::Quote, - NotificationReason::StarterpackJoined => { - NotificationReason::StarterpackJoined - } + NotificationReason::StarterpackJoined => NotificationReason::StarterpackJoined, NotificationReason::Verified => NotificationReason::Verified, NotificationReason::Unverified => NotificationReason::Unverified, NotificationReason::LikeViaRepost => NotificationReason::LikeViaRepost, @@ -250,7 +255,7 @@ fn _default_limit() -> Option { pub mod list_notifications_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -270,7 +275,13 @@ pub mod list_notifications_state { /// Builder for constructing an instance of this type. pub struct ListNotificationsBuilder { _state: PhantomData St>, - _fields: (Option, Option, Option, Option>, Option), + _fields: ( + Option, + Option, + Option, + Option>, + Option, + ), _type: PhantomData S>, } @@ -375,7 +386,7 @@ where pub mod notification_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -728,10 +739,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> Notification { + pub fn build_with_data(self, extra_data: BTreeMap>) -> Notification { Notification { author: self._fields.0.unwrap(), cid: self._fields.1.unwrap(), @@ -748,10 +756,10 @@ where } fn lexicon_doc_app_bsky_notification_listNotifications() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.bsky.notification.listNotifications"), @@ -905,4 +913,4 @@ fn lexicon_doc_app_bsky_notification_listNotifications() -> LexiconDoc<'static> }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/notification/put_activity_subscription.rs b/crates/jacquard-api/src/app_bsky/notification/put_activity_subscription.rs index c1fe5490..2728795a 100644 --- a/crates/jacquard-api/src/app_bsky/notification/put_activity_subscription.rs +++ b/crates/jacquard-api/src/app_bsky/notification/put_activity_subscription.rs @@ -8,18 +8,21 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_bsky::notification::ActivitySubscription; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::Did; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::notification::ActivitySubscription; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct PutActivitySubscription { pub activity_subscription: ActivitySubscription, pub subject: Did, @@ -27,9 +30,11 @@ pub struct PutActivitySubscription { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct PutActivitySubscriptionOutput { #[serde(skip_serializing_if = "Option::is_none")] pub activity_subscription: Option>, @@ -49,9 +54,8 @@ impl jacquard_common::xrpc::XrpcResp for PutActivitySubscriptionResponse { impl jacquard_common::xrpc::XrpcRequest for PutActivitySubscription { const NSID: &'static str = "app.bsky.notification.putActivitySubscription"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = PutActivitySubscriptionResponse; } @@ -59,16 +63,15 @@ impl jacquard_common::xrpc::XrpcRequest for PutActivitySubscription = PutActivitySubscription; type Response = PutActivitySubscriptionResponse; } pub mod put_activity_subscription_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -111,10 +114,7 @@ pub mod put_activity_subscription_state { } /// Builder for constructing an instance of this type. -pub struct PutActivitySubscriptionBuilder< - S: BosStr, - St: put_activity_subscription_state::State, -> { +pub struct PutActivitySubscriptionBuilder { _state: PhantomData St>, _fields: (Option>, Option>), _type: PhantomData S>, @@ -122,17 +122,12 @@ pub struct PutActivitySubscriptionBuilder< impl PutActivitySubscription { /// Create a new builder for this type. - pub fn new() -> PutActivitySubscriptionBuilder< - S, - put_activity_subscription_state::Empty, - > { + pub fn new() -> PutActivitySubscriptionBuilder { PutActivitySubscriptionBuilder::new() } } -impl< - S: BosStr, -> PutActivitySubscriptionBuilder { +impl PutActivitySubscriptionBuilder { /// Create a new builder with all fields unset. pub fn new() -> Self { PutActivitySubscriptionBuilder { @@ -174,10 +169,7 @@ where pub fn subject( mut self, value: impl Into>, - ) -> PutActivitySubscriptionBuilder< - S, - put_activity_subscription_state::SetSubject, - > { + ) -> PutActivitySubscriptionBuilder> { self._fields.1 = Option::Some(value.into()); PutActivitySubscriptionBuilder { _state: PhantomData, @@ -212,4 +204,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/notification/put_preferences.rs b/crates/jacquard-api/src/app_bsky/notification/put_preferences.rs index 23f13397..d81cf55b 100644 --- a/crates/jacquard-api/src/app_bsky/notification/put_preferences.rs +++ b/crates/jacquard-api/src/app_bsky/notification/put_preferences.rs @@ -10,14 +10,17 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct PutPreferences { pub priority: bool, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -35,9 +38,8 @@ impl jacquard_common::xrpc::XrpcResp for PutPreferencesResponse { impl jacquard_common::xrpc::XrpcRequest for PutPreferences { const NSID: &'static str = "app.bsky.notification.putPreferences"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = PutPreferencesResponse; } @@ -45,16 +47,15 @@ impl jacquard_common::xrpc::XrpcRequest for PutPreferences { pub struct PutPreferencesRequest; impl jacquard_common::xrpc::XrpcEndpoint for PutPreferencesRequest { const PATH: &'static str = "/xrpc/app.bsky.notification.putPreferences"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = PutPreferences; type Response = PutPreferencesResponse; } pub mod put_preferences_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -141,13 +142,10 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> PutPreferences { + pub fn build_with_data(self, extra_data: BTreeMap>) -> PutPreferences { PutPreferences { priority: self._fields.0.unwrap(), extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/notification/put_preferences_v2.rs b/crates/jacquard-api/src/app_bsky/notification/put_preferences_v2.rs index cdf63930..37b99163 100644 --- a/crates/jacquard-api/src/app_bsky/notification/put_preferences_v2.rs +++ b/crates/jacquard-api/src/app_bsky/notification/put_preferences_v2.rs @@ -8,20 +8,23 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_bsky::notification::ChatPreference; +use crate::app_bsky::notification::FilterablePreference; +use crate::app_bsky::notification::Preference; +use crate::app_bsky::notification::Preferences; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::notification::ChatPreference; -use crate::app_bsky::notification::FilterablePreference; -use crate::app_bsky::notification::Preference; -use crate::app_bsky::notification::Preferences; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct PutPreferencesV2 { #[serde(skip_serializing_if = "Option::is_none")] pub chat: Option>, @@ -53,9 +56,11 @@ pub struct PutPreferencesV2 { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct PutPreferencesV2Output { pub preferences: Preferences, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -73,9 +78,8 @@ impl jacquard_common::xrpc::XrpcResp for PutPreferencesV2Response { impl jacquard_common::xrpc::XrpcRequest for PutPreferencesV2 { const NSID: &'static str = "app.bsky.notification.putPreferencesV2"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = PutPreferencesV2Response; } @@ -83,9 +87,8 @@ impl jacquard_common::xrpc::XrpcRequest for PutPreferencesV2 { pub struct PutPreferencesV2Request; impl jacquard_common::xrpc::XrpcEndpoint for PutPreferencesV2Request { const PATH: &'static str = "/xrpc/app.bsky.notification.putPreferencesV2"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = PutPreferencesV2; type Response = PutPreferencesV2Response; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/notification/register_push.rs b/crates/jacquard-api/src/app_bsky/notification/register_push.rs index d0a60d7b..e684e4a4 100644 --- a/crates/jacquard-api/src/app_bsky/notification/register_push.rs +++ b/crates/jacquard-api/src/app_bsky/notification/register_push.rs @@ -10,15 +10,18 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::Did; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct RegisterPush { ///Set to true when the actor is age restricted #[serde(skip_serializing_if = "Option::is_none")] @@ -31,7 +34,6 @@ pub struct RegisterPush { pub extra_data: Option>>, } - #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum RegisterPushPlatform { Ios, @@ -108,9 +110,7 @@ where RegisterPushPlatform::Ios => RegisterPushPlatform::Ios, RegisterPushPlatform::Android => RegisterPushPlatform::Android, RegisterPushPlatform::Web => RegisterPushPlatform::Web, - RegisterPushPlatform::Other(v) => { - RegisterPushPlatform::Other(v.into_static()) - } + RegisterPushPlatform::Other(v) => RegisterPushPlatform::Other(v.into_static()), } } } @@ -126,9 +126,8 @@ impl jacquard_common::xrpc::XrpcResp for RegisterPushResponse { impl jacquard_common::xrpc::XrpcRequest for RegisterPush { const NSID: &'static str = "app.bsky.notification.registerPush"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = RegisterPushResponse; } @@ -136,16 +135,15 @@ impl jacquard_common::xrpc::XrpcRequest for RegisterPush { pub struct RegisterPushRequest; impl jacquard_common::xrpc::XrpcEndpoint for RegisterPushRequest { const PATH: &'static str = "/xrpc/app.bsky.notification.registerPush"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = RegisterPush; type Response = RegisterPushResponse; } pub mod register_push_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -357,10 +355,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> RegisterPush { + pub fn build_with_data(self, extra_data: BTreeMap>) -> RegisterPush { RegisterPush { age_restricted: self._fields.0, app_id: self._fields.1.unwrap(), @@ -370,4 +365,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/notification/unregister_push.rs b/crates/jacquard-api/src/app_bsky/notification/unregister_push.rs index be485406..34d283c1 100644 --- a/crates/jacquard-api/src/app_bsky/notification/unregister_push.rs +++ b/crates/jacquard-api/src/app_bsky/notification/unregister_push.rs @@ -10,15 +10,18 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::Did; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct UnregisterPush { pub app_id: S, pub platform: UnregisterPushPlatform, @@ -28,7 +31,6 @@ pub struct UnregisterPush { pub extra_data: Option>>, } - #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum UnregisterPushPlatform { Ios, @@ -105,9 +107,7 @@ where UnregisterPushPlatform::Ios => UnregisterPushPlatform::Ios, UnregisterPushPlatform::Android => UnregisterPushPlatform::Android, UnregisterPushPlatform::Web => UnregisterPushPlatform::Web, - UnregisterPushPlatform::Other(v) => { - UnregisterPushPlatform::Other(v.into_static()) - } + UnregisterPushPlatform::Other(v) => UnregisterPushPlatform::Other(v.into_static()), } } } @@ -123,9 +123,8 @@ impl jacquard_common::xrpc::XrpcResp for UnregisterPushResponse { impl jacquard_common::xrpc::XrpcRequest for UnregisterPush { const NSID: &'static str = "app.bsky.notification.unregisterPush"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = UnregisterPushResponse; } @@ -133,16 +132,15 @@ impl jacquard_common::xrpc::XrpcRequest for UnregisterPush { pub struct UnregisterPushRequest; impl jacquard_common::xrpc::XrpcEndpoint for UnregisterPushRequest { const PATH: &'static str = "/xrpc/app.bsky.notification.unregisterPush"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = UnregisterPush; type Response = UnregisterPushResponse; } pub mod unregister_push_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -217,7 +215,12 @@ pub mod unregister_push_state { /// Builder for constructing an instance of this type. pub struct UnregisterPushBuilder { _state: PhantomData St>, - _fields: (Option, Option>, Option>, Option), + _fields: ( + Option, + Option>, + Option>, + Option, + ), _type: PhantomData S>, } @@ -334,10 +337,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> UnregisterPush { + pub fn build_with_data(self, extra_data: BTreeMap>) -> UnregisterPush { UnregisterPush { app_id: self._fields.0.unwrap(), platform: self._fields.1.unwrap(), @@ -346,4 +346,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/notification/update_seen.rs b/crates/jacquard-api/src/app_bsky/notification/update_seen.rs index 2520cc08..125bebfa 100644 --- a/crates/jacquard-api/src/app_bsky/notification/update_seen.rs +++ b/crates/jacquard-api/src/app_bsky/notification/update_seen.rs @@ -10,15 +10,18 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::Datetime; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct UpdateSeen { pub seen_at: Datetime, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -36,9 +39,8 @@ impl jacquard_common::xrpc::XrpcResp for UpdateSeenResponse { impl jacquard_common::xrpc::XrpcRequest for UpdateSeen { const NSID: &'static str = "app.bsky.notification.updateSeen"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = UpdateSeenResponse; } @@ -46,16 +48,15 @@ impl jacquard_common::xrpc::XrpcRequest for UpdateSeen { pub struct UpdateSeenRequest; impl jacquard_common::xrpc::XrpcEndpoint for UpdateSeenRequest { const PATH: &'static str = "/xrpc/app.bsky.notification.updateSeen"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = UpdateSeen; type Response = UpdateSeenResponse; } pub mod update_seen_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -142,13 +143,10 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> UpdateSeen { + pub fn build_with_data(self, extra_data: BTreeMap>) -> UpdateSeen { UpdateSeen { seen_at: self._fields.0.unwrap(), extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/richtext.rs b/crates/jacquard-api/src/app_bsky/richtext.rs index b7b3177b..3bf124e6 100644 --- a/crates/jacquard-api/src/app_bsky/richtext.rs +++ b/crates/jacquard-api/src/app_bsky/richtext.rs @@ -3,4 +3,4 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. -pub mod facet; \ No newline at end of file +pub mod facet; diff --git a/crates/jacquard-api/src/app_bsky/richtext/facet.rs b/crates/jacquard-api/src/app_bsky/richtext/facet.rs index 1aa96f2b..faa121d8 100644 --- a/crates/jacquard-api/src/app_bsky/richtext/facet.rs +++ b/crates/jacquard-api/src/app_bsky/richtext/facet.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -21,14 +21,17 @@ use jacquard_derive::{IntoStatic, open_union}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::app_bsky::richtext::facet; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::richtext::facet; +use serde::{Deserialize, Serialize}; /// Specifies the sub-string range a facet feature applies to. Start index is inclusive, end index is exclusive. Indices are zero-indexed, counting bytes of the UTF-8 encoded text. NOTE: some languages, like Javascript, use UTF-16 or Unicode codepoints for string slice indexing; in these languages, convert to byte arrays before working with facets. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ByteSlice { pub byte_end: i64, pub byte_start: i64, @@ -39,7 +42,10 @@ pub struct ByteSlice { /// Facet feature for a URL. The text URL may have been simplified or truncated, but the facet reference should be a complete URL. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Link { pub uri: UriValue, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -49,7 +55,10 @@ pub struct Link { /// Annotation of a sub-string within rich text. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Facet { pub features: Vec>, pub index: facet::ByteSlice, @@ -57,7 +66,6 @@ pub struct Facet { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -73,7 +81,10 @@ pub enum FacetFeaturesItem { /// Facet feature for mention of another account. The text is usually a handle, including a '@' prefix, but the facet reference is a DID. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Mention { pub did: Did, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -83,7 +94,10 @@ pub struct Mention { /// Facet feature for a hashtag. The text usually includes a '#' prefix, but the facet reference should not (except in the case of 'double hash tags'). #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Tag { pub tag: S, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -211,7 +225,7 @@ impl LexiconSchema for Tag { pub mod byte_slice_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -331,10 +345,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> ByteSlice { + pub fn build_with_data(self, extra_data: BTreeMap>) -> ByteSlice { ByteSlice { byte_end: self._fields.0.unwrap(), byte_start: self._fields.1.unwrap(), @@ -344,10 +355,10 @@ where } fn lexicon_doc_app_bsky_richtext_facet() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.bsky.richtext.facet"), @@ -416,16 +427,13 @@ fn lexicon_doc_app_bsky_richtext_facet() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "Annotation of a sub-string within rich text.", - ), - ), - required: Some( - vec![ - SmolStr::new_static("index"), SmolStr::new_static("features") - ], - ), + description: Some(CowStr::new_static( + "Annotation of a sub-string within rich text.", + )), + required: Some(vec![ + SmolStr::new_static("index"), + SmolStr::new_static("features"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -434,8 +442,9 @@ fn lexicon_doc_app_bsky_richtext_facet() -> LexiconDoc<'static> { LexObjectProperty::Array(LexArray { items: LexArrayItem::Union(LexRefUnion { refs: vec![ - CowStr::new_static("#mention"), CowStr::new_static("#link"), - CowStr::new_static("#tag") + CowStr::new_static("#mention"), + CowStr::new_static("#link"), + CowStr::new_static("#tag"), ], ..Default::default() }), @@ -511,7 +520,7 @@ fn lexicon_doc_app_bsky_richtext_facet() -> LexiconDoc<'static> { pub mod link_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -572,10 +581,7 @@ where St::Uri: link_state::IsUnset, { /// Set the `uri` field (required) - pub fn uri( - mut self, - value: impl Into>, - ) -> LinkBuilder> { + pub fn uri(mut self, value: impl Into>) -> LinkBuilder> { self._fields.0 = Option::Some(value.into()); LinkBuilder { _state: PhantomData, @@ -608,7 +614,7 @@ where pub mod facet_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -653,7 +659,10 @@ pub mod facet_state { /// Builder for constructing an instance of this type. pub struct FacetBuilder { _state: PhantomData St>, - _fields: (Option>>, Option>), + _fields: ( + Option>>, + Option>, + ), _type: PhantomData S>, } @@ -739,7 +748,7 @@ where pub mod mention_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -800,10 +809,7 @@ where St::Did: mention_state::IsUnset, { /// Set the `did` field (required) - pub fn did( - mut self, - value: impl Into>, - ) -> MentionBuilder> { + pub fn did(mut self, value: impl Into>) -> MentionBuilder> { self._fields.0 = Option::Some(value.into()); MentionBuilder { _state: PhantomData, @@ -832,4 +838,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/unspecced.rs b/crates/jacquard-api/src/app_bsky/unspecced.rs index d3fc94ec..6cd3c6fd 100644 --- a/crates/jacquard-api/src/app_bsky/unspecced.rs +++ b/crates/jacquard-api/src/app_bsky/unspecced.rs @@ -30,33 +30,35 @@ pub mod search_actors_skeleton; pub mod search_posts_skeleton; pub mod search_starter_packs_skeleton; - #[allow(unused_imports)] use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; use jacquard_common::deps::smol_str::SmolStr; -use jacquard_common::types::string::{Did, AtUri, Datetime}; +use jacquard_common::types::string::{AtUri, Datetime, Did}; use jacquard_common::types::value::Data; use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::app_bsky::actor::ProfileViewBasic; use crate::app_bsky::feed::BlockedAuthor; use crate::app_bsky::feed::PostView; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; /// Object used to store age assurance data in stash. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct AgeAssuranceEvent { ///The unique identifier for this instance of the age assurance flow, in UUID format. pub attempt_id: S, @@ -161,9 +163,7 @@ where AgeAssuranceEventStatus::Unknown => AgeAssuranceEventStatus::Unknown, AgeAssuranceEventStatus::Pending => AgeAssuranceEventStatus::Pending, AgeAssuranceEventStatus::Assured => AgeAssuranceEventStatus::Assured, - AgeAssuranceEventStatus::Other(v) => { - AgeAssuranceEventStatus::Other(v.into_static()) - } + AgeAssuranceEventStatus::Other(v) => AgeAssuranceEventStatus::Other(v.into_static()), } } } @@ -171,7 +171,10 @@ where /// The computed state of the age assurance process, returned to the user in question on certain authenticated requests. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct AgeAssuranceState { ///The timestamp when this state was last updated. #[serde(skip_serializing_if = "Option::is_none")] @@ -264,43 +267,49 @@ where AgeAssuranceStateStatus::Pending => AgeAssuranceStateStatus::Pending, AgeAssuranceStateStatus::Assured => AgeAssuranceStateStatus::Assured, AgeAssuranceStateStatus::Blocked => AgeAssuranceStateStatus::Blocked, - AgeAssuranceStateStatus::Other(v) => { - AgeAssuranceStateStatus::Other(v.into_static()) - } + AgeAssuranceStateStatus::Other(v) => AgeAssuranceStateStatus::Other(v.into_static()), } } } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct SkeletonSearchActor { pub did: Did, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct SkeletonSearchPost { pub uri: AtUri, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct SkeletonSearchStarterPack { pub uri: AtUri, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct SkeletonTrend { #[serde(skip_serializing_if = "Option::is_none")] pub category: Option, @@ -316,7 +325,6 @@ pub struct SkeletonTrend { pub extra_data: Option>>, } - #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum SkeletonTrendStatus { Hot, @@ -390,34 +398,42 @@ where } } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ThreadItemBlocked { pub author: BlockedAuthor, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ThreadItemNoUnauthenticated { #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ThreadItemNotFound { #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ThreadItemPost { ///The threadgate created by the author indicates this post as a reply to be hidden for everyone consuming the thread. pub hidden_by_threadgate: bool, @@ -434,9 +450,11 @@ pub struct ThreadItemPost { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct TrendView { pub actors: Vec>, #[serde(skip_serializing_if = "Option::is_none")] @@ -452,7 +470,6 @@ pub struct TrendView { pub extra_data: Option>>, } - #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum TrendViewStatus { Hot, @@ -526,9 +543,11 @@ where } } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct TrendingTopic { #[serde(skip_serializing_if = "Option::is_none")] pub description: Option, @@ -722,7 +741,7 @@ impl LexiconSchema for TrendingTopic { pub mod age_assurance_event_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -956,10 +975,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> AgeAssuranceEvent { + pub fn build_with_data(self, extra_data: BTreeMap>) -> AgeAssuranceEvent { AgeAssuranceEvent { attempt_id: self._fields.0.unwrap(), complete_ip: self._fields.1, @@ -975,10 +991,10 @@ where } fn lexicon_doc_app_bsky_unspecced_defs() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.bsky.unspecced.defs"), @@ -1194,21 +1210,22 @@ fn lexicon_doc_app_bsky_unspecced_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("skeletonTrend"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("topic"), - SmolStr::new_static("displayName"), - SmolStr::new_static("link"), - SmolStr::new_static("startedAt"), - SmolStr::new_static("postCount"), SmolStr::new_static("dids") - ], - ), + required: Some(vec![ + SmolStr::new_static("topic"), + SmolStr::new_static("displayName"), + SmolStr::new_static("link"), + SmolStr::new_static("startedAt"), + SmolStr::new_static("postCount"), + SmolStr::new_static("dids"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("category"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("dids"), @@ -1222,11 +1239,15 @@ fn lexicon_doc_app_bsky_unspecced_defs() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("displayName"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("link"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("postCount"), @@ -1243,11 +1264,15 @@ fn lexicon_doc_app_bsky_unspecced_defs() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("status"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("topic"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map }, @@ -1264,9 +1289,7 @@ fn lexicon_doc_app_bsky_unspecced_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("author"), LexObjectProperty::Ref(LexRef { - r#ref: CowStr::new_static( - "app.bsky.feed.defs#blockedAuthor", - ), + r#ref: CowStr::new_static("app.bsky.feed.defs#blockedAuthor"), ..Default::default() }), ); @@ -1300,16 +1323,14 @@ fn lexicon_doc_app_bsky_unspecced_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("threadItemPost"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("post"), - SmolStr::new_static("moreParents"), - SmolStr::new_static("moreReplies"), - SmolStr::new_static("opThread"), - SmolStr::new_static("hiddenByThreadgate"), - SmolStr::new_static("mutedByViewer") - ], - ), + required: Some(vec![ + SmolStr::new_static("post"), + SmolStr::new_static("moreParents"), + SmolStr::new_static("moreReplies"), + SmolStr::new_static("opThread"), + SmolStr::new_static("hiddenByThreadgate"), + SmolStr::new_static("mutedByViewer"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -1358,16 +1379,14 @@ fn lexicon_doc_app_bsky_unspecced_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("trendView"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("topic"), - SmolStr::new_static("displayName"), - SmolStr::new_static("link"), - SmolStr::new_static("startedAt"), - SmolStr::new_static("postCount"), - SmolStr::new_static("actors") - ], - ), + required: Some(vec![ + SmolStr::new_static("topic"), + SmolStr::new_static("displayName"), + SmolStr::new_static("link"), + SmolStr::new_static("startedAt"), + SmolStr::new_static("postCount"), + SmolStr::new_static("actors"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -1385,15 +1404,21 @@ fn lexicon_doc_app_bsky_unspecced_defs() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("category"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("displayName"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("link"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("postCount"), @@ -1410,11 +1435,15 @@ fn lexicon_doc_app_bsky_unspecced_defs() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("status"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("topic"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map }, @@ -1424,27 +1453,36 @@ fn lexicon_doc_app_bsky_unspecced_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("trendingTopic"), LexUserType::Object(LexObject { - required: Some( - vec![SmolStr::new_static("topic"), SmolStr::new_static("link")], - ), + required: Some(vec![ + SmolStr::new_static("topic"), + SmolStr::new_static("link"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("description"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("displayName"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("link"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("topic"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map }, @@ -1459,7 +1497,7 @@ fn lexicon_doc_app_bsky_unspecced_defs() -> LexiconDoc<'static> { pub mod skeleton_search_actor_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -1490,10 +1528,7 @@ pub mod skeleton_search_actor_state { } /// Builder for constructing an instance of this type. -pub struct SkeletonSearchActorBuilder< - S: BosStr, - St: skeleton_search_actor_state::State, -> { +pub struct SkeletonSearchActorBuilder { _state: PhantomData St>, _fields: (Option>,), _type: PhantomData S>, @@ -1549,10 +1584,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> SkeletonSearchActor { + pub fn build_with_data(self, extra_data: BTreeMap>) -> SkeletonSearchActor { SkeletonSearchActor { did: self._fields.0.unwrap(), extra_data: Some(extra_data), @@ -1562,7 +1594,7 @@ where pub mod skeleton_search_post_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -1649,10 +1681,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> SkeletonSearchPost { + pub fn build_with_data(self, extra_data: BTreeMap>) -> SkeletonSearchPost { SkeletonSearchPost { uri: self._fields.0.unwrap(), extra_data: Some(extra_data), @@ -1662,7 +1691,7 @@ where pub mod skeleton_search_starter_pack_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -1704,17 +1733,12 @@ pub struct SkeletonSearchStarterPackBuilder< impl SkeletonSearchStarterPack { /// Create a new builder for this type. - pub fn new() -> SkeletonSearchStarterPackBuilder< - S, - skeleton_search_starter_pack_state::Empty, - > { + pub fn new() -> SkeletonSearchStarterPackBuilder { SkeletonSearchStarterPackBuilder::new() } } -impl< - S: BosStr, -> SkeletonSearchStarterPackBuilder { +impl SkeletonSearchStarterPackBuilder { /// Create a new builder with all fields unset. pub fn new() -> Self { SkeletonSearchStarterPackBuilder { @@ -1734,10 +1758,7 @@ where pub fn uri( mut self, value: impl Into>, - ) -> SkeletonSearchStarterPackBuilder< - S, - skeleton_search_starter_pack_state::SetUri, - > { + ) -> SkeletonSearchStarterPackBuilder> { self._fields.0 = Option::Some(value.into()); SkeletonSearchStarterPackBuilder { _state: PhantomData, @@ -1773,7 +1794,7 @@ where pub mod skeleton_trend_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -2082,10 +2103,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> SkeletonTrend { + pub fn build_with_data(self, extra_data: BTreeMap>) -> SkeletonTrend { SkeletonTrend { category: self._fields.0, dids: self._fields.1.unwrap(), @@ -2102,7 +2120,7 @@ where pub mod thread_item_blocked_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -2189,10 +2207,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> ThreadItemBlocked { + pub fn build_with_data(self, extra_data: BTreeMap>) -> ThreadItemBlocked { ThreadItemBlocked { author: self._fields.0.unwrap(), extra_data: Some(extra_data), @@ -2202,7 +2217,7 @@ where pub mod thread_item_post_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -2481,10 +2496,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> ThreadItemPost { + pub fn build_with_data(self, extra_data: BTreeMap>) -> ThreadItemPost { ThreadItemPost { hidden_by_threadgate: self._fields.0.unwrap(), more_parents: self._fields.1.unwrap(), @@ -2499,7 +2511,7 @@ where pub mod trend_view_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -2808,10 +2820,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> TrendView { + pub fn build_with_data(self, extra_data: BTreeMap>) -> TrendView { TrendView { actors: self._fields.0.unwrap(), category: self._fields.1, @@ -2824,4 +2833,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/unspecced/get_age_assurance_state.rs b/crates/jacquard-api/src/app_bsky/unspecced/get_age_assurance_state.rs index a920a0d7..03da3ebd 100644 --- a/crates/jacquard-api/src/app_bsky/unspecced/get_age_assurance_state.rs +++ b/crates/jacquard-api/src/app_bsky/unspecced/get_age_assurance_state.rs @@ -8,17 +8,20 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_bsky::unspecced::AgeAssuranceState; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::unspecced::AgeAssuranceState; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetAgeAssuranceStateOutput { #[serde(flatten)] pub value: AgeAssuranceState, @@ -52,4 +55,4 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetAgeAssuranceStateRequest { const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Query; type Request = GetAgeAssuranceState; type Response = GetAgeAssuranceStateResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/unspecced/get_config.rs b/crates/jacquard-api/src/app_bsky/unspecced/get_config.rs index c5278940..8918c8ab 100644 --- a/crates/jacquard-api/src/app_bsky/unspecced/get_config.rs +++ b/crates/jacquard-api/src/app_bsky/unspecced/get_config.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -21,13 +21,16 @@ use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::app_bsky::unspecced::get_config; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::unspecced::get_config; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct LiveNowConfig { pub did: Did, pub domains: Vec, @@ -35,9 +38,11 @@ pub struct LiveNowConfig { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetConfigOutput { #[serde(skip_serializing_if = "Option::is_none")] pub check_email_confirmed: Option, @@ -92,7 +97,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetConfigRequest { pub mod live_now_config_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -212,10 +217,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> LiveNowConfig { + pub fn build_with_data(self, extra_data: BTreeMap>) -> LiveNowConfig { LiveNowConfig { did: self._fields.0.unwrap(), domains: self._fields.1.unwrap(), @@ -225,10 +227,10 @@ where } fn lexicon_doc_app_bsky_unspecced_getConfig() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.bsky.unspecced.getConfig"), @@ -237,9 +239,10 @@ fn lexicon_doc_app_bsky_unspecced_getConfig() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("liveNowConfig"), LexUserType::Object(LexObject { - required: Some( - vec![SmolStr::new_static("did"), SmolStr::new_static("domains")], - ), + required: Some(vec![ + SmolStr::new_static("did"), + SmolStr::new_static("domains"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -275,4 +278,4 @@ fn lexicon_doc_app_bsky_unspecced_getConfig() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/unspecced/get_onboarding_suggested_starter_packs.rs b/crates/jacquard-api/src/app_bsky/unspecced/get_onboarding_suggested_starter_packs.rs index 90f2cb32..638159fe 100644 --- a/crates/jacquard-api/src/app_bsky/unspecced/get_onboarding_suggested_starter_packs.rs +++ b/crates/jacquard-api/src/app_bsky/unspecced/get_onboarding_suggested_starter_packs.rs @@ -8,14 +8,14 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_bsky::graph::StarterPackView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::graph::StarterPackView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(rename_all = "camelCase")] @@ -26,9 +26,11 @@ pub struct GetOnboardingSuggestedStarterPacks { pub limit: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetOnboardingSuggestedStarterPacksOutput { pub starter_packs: Vec>, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -65,7 +67,7 @@ fn _default_limit() -> Option { pub mod get_onboarding_suggested_starter_packs_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -99,9 +101,9 @@ impl GetOnboardingSuggestedStarterPacks { } } -impl GetOnboardingSuggestedStarterPacksBuilder< - get_onboarding_suggested_starter_packs_state::Empty, -> { +impl + GetOnboardingSuggestedStarterPacksBuilder +{ /// Create a new builder with all fields unset. pub fn new() -> Self { GetOnboardingSuggestedStarterPacksBuilder { @@ -111,9 +113,9 @@ impl GetOnboardingSuggestedStarterPacksBuilder< } } -impl< - St: get_onboarding_suggested_starter_packs_state::State, -> GetOnboardingSuggestedStarterPacksBuilder { +impl + GetOnboardingSuggestedStarterPacksBuilder +{ /// Set the `limit` field (optional) pub fn limit(mut self, value: impl Into>) -> Self { self._fields.0 = value.into(); @@ -136,4 +138,4 @@ where limit: self._fields.0, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/unspecced/get_onboarding_suggested_starter_packs_skeleton.rs b/crates/jacquard-api/src/app_bsky/unspecced/get_onboarding_suggested_starter_packs_skeleton.rs index 98a6ce56..997c3f24 100644 --- a/crates/jacquard-api/src/app_bsky/unspecced/get_onboarding_suggested_starter_packs_skeleton.rs +++ b/crates/jacquard-api/src/app_bsky/unspecced/get_onboarding_suggested_starter_packs_skeleton.rs @@ -10,15 +10,18 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; -use jacquard_common::types::string::{Did, AtUri}; +use jacquard_common::types::string::{AtUri, Did}; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetOnboardingSuggestedStarterPacksSkeleton { ///Defaults to `10`. Min: 1. Max: 25. #[serde(default = "_default_limit")] @@ -28,9 +31,11 @@ pub struct GetOnboardingSuggestedStarterPacksSkeleton { pub viewer: Option>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetOnboardingSuggestedStarterPacksSkeletonOutput { pub starter_packs: Vec>, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -39,8 +44,7 @@ pub struct GetOnboardingSuggestedStarterPacksSkeletonOutput = GetOnboardingSuggestedStarterPacksSkeletonOutput; @@ -48,7 +52,8 @@ for GetOnboardingSuggestedStarterPacksSkeletonResponse { } impl jacquard_common::xrpc::XrpcRequest -for GetOnboardingSuggestedStarterPacksSkeleton { + for GetOnboardingSuggestedStarterPacksSkeleton +{ const NSID: &'static str = "app.bsky.unspecced.getOnboardingSuggestedStarterPacksSkeleton"; const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Query; type Response = GetOnboardingSuggestedStarterPacksSkeletonResponse; @@ -56,9 +61,9 @@ for GetOnboardingSuggestedStarterPacksSkeleton { /// Endpoint type for app.bsky.unspecced.getOnboardingSuggestedStarterPacksSkeleton pub struct GetOnboardingSuggestedStarterPacksSkeletonRequest; -impl jacquard_common::xrpc::XrpcEndpoint -for GetOnboardingSuggestedStarterPacksSkeletonRequest { - const PATH: &'static str = "/xrpc/app.bsky.unspecced.getOnboardingSuggestedStarterPacksSkeleton"; +impl jacquard_common::xrpc::XrpcEndpoint for GetOnboardingSuggestedStarterPacksSkeletonRequest { + const PATH: &'static str = + "/xrpc/app.bsky.unspecced.getOnboardingSuggestedStarterPacksSkeleton"; const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Query; type Request = GetOnboardingSuggestedStarterPacksSkeleton; type Response = GetOnboardingSuggestedStarterPacksSkeletonResponse; @@ -70,7 +75,7 @@ fn _default_limit() -> Option { pub mod get_onboarding_suggested_starter_packs_skeleton_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -107,12 +112,12 @@ impl GetOnboardingSuggestedStarterPacksSkeleton { } } -impl< - S: BosStr, -> GetOnboardingSuggestedStarterPacksSkeletonBuilder< - S, - get_onboarding_suggested_starter_packs_skeleton_state::Empty, -> { +impl + GetOnboardingSuggestedStarterPacksSkeletonBuilder< + S, + get_onboarding_suggested_starter_packs_skeleton_state::Empty, + > +{ /// Create a new builder with all fields unset. pub fn new() -> Self { GetOnboardingSuggestedStarterPacksSkeletonBuilder { @@ -123,10 +128,9 @@ impl< } } -impl< - S: BosStr, - St: get_onboarding_suggested_starter_packs_skeleton_state::State, -> GetOnboardingSuggestedStarterPacksSkeletonBuilder { +impl + GetOnboardingSuggestedStarterPacksSkeletonBuilder +{ /// Set the `limit` field (optional) pub fn limit(mut self, value: impl Into>) -> Self { self._fields.0 = value.into(); @@ -139,10 +143,9 @@ impl< } } -impl< - S: BosStr, - St: get_onboarding_suggested_starter_packs_skeleton_state::State, -> GetOnboardingSuggestedStarterPacksSkeletonBuilder { +impl + GetOnboardingSuggestedStarterPacksSkeletonBuilder +{ /// Set the `viewer` field (optional) pub fn viewer(mut self, value: impl Into>>) -> Self { self._fields.1 = value.into(); @@ -166,4 +169,4 @@ where viewer: self._fields.1, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/unspecced/get_onboarding_suggested_users_skeleton.rs b/crates/jacquard-api/src/app_bsky/unspecced/get_onboarding_suggested_users_skeleton.rs index 2a397933..7fe6fac7 100644 --- a/crates/jacquard-api/src/app_bsky/unspecced/get_onboarding_suggested_users_skeleton.rs +++ b/crates/jacquard-api/src/app_bsky/unspecced/get_onboarding_suggested_users_skeleton.rs @@ -10,15 +10,18 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::Did; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetOnboardingSuggestedUsersSkeleton { #[serde(skip_serializing_if = "Option::is_none")] pub category: Option, @@ -30,9 +33,11 @@ pub struct GetOnboardingSuggestedUsersSkeleton { pub viewer: Option>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetOnboardingSuggestedUsersSkeletonOutput { pub dids: Vec>, ///DEPRECATED: use recIdStr instead. @@ -54,8 +59,7 @@ impl jacquard_common::xrpc::XrpcResp for GetOnboardingSuggestedUsersSkeletonResp type Err = jacquard_common::xrpc::GenericError; } -impl jacquard_common::xrpc::XrpcRequest -for GetOnboardingSuggestedUsersSkeleton { +impl jacquard_common::xrpc::XrpcRequest for GetOnboardingSuggestedUsersSkeleton { const NSID: &'static str = "app.bsky.unspecced.getOnboardingSuggestedUsersSkeleton"; const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Query; type Response = GetOnboardingSuggestedUsersSkeletonResponse; @@ -76,7 +80,7 @@ fn _default_limit() -> Option { pub mod get_onboarding_suggested_users_skeleton_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -113,12 +117,12 @@ impl GetOnboardingSuggestedUsersSkeleton { } } -impl< - S: BosStr, -> GetOnboardingSuggestedUsersSkeletonBuilder< - S, - get_onboarding_suggested_users_skeleton_state::Empty, -> { +impl + GetOnboardingSuggestedUsersSkeletonBuilder< + S, + get_onboarding_suggested_users_skeleton_state::Empty, + > +{ /// Create a new builder with all fields unset. pub fn new() -> Self { GetOnboardingSuggestedUsersSkeletonBuilder { @@ -129,10 +133,9 @@ impl< } } -impl< - S: BosStr, - St: get_onboarding_suggested_users_skeleton_state::State, -> GetOnboardingSuggestedUsersSkeletonBuilder { +impl + GetOnboardingSuggestedUsersSkeletonBuilder +{ /// Set the `category` field (optional) pub fn category(mut self, value: impl Into>) -> Self { self._fields.0 = value.into(); @@ -145,10 +148,9 @@ impl< } } -impl< - S: BosStr, - St: get_onboarding_suggested_users_skeleton_state::State, -> GetOnboardingSuggestedUsersSkeletonBuilder { +impl + GetOnboardingSuggestedUsersSkeletonBuilder +{ /// Set the `limit` field (optional) pub fn limit(mut self, value: impl Into>) -> Self { self._fields.1 = value.into(); @@ -161,10 +163,9 @@ impl< } } -impl< - S: BosStr, - St: get_onboarding_suggested_users_skeleton_state::State, -> GetOnboardingSuggestedUsersSkeletonBuilder { +impl + GetOnboardingSuggestedUsersSkeletonBuilder +{ /// Set the `viewer` field (optional) pub fn viewer(mut self, value: impl Into>>) -> Self { self._fields.2 = value.into(); @@ -189,4 +190,4 @@ where viewer: self._fields.2, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/unspecced/get_popular_feed_generators.rs b/crates/jacquard-api/src/app_bsky/unspecced/get_popular_feed_generators.rs index a6e7cbb5..a8eabd43 100644 --- a/crates/jacquard-api/src/app_bsky/unspecced/get_popular_feed_generators.rs +++ b/crates/jacquard-api/src/app_bsky/unspecced/get_popular_feed_generators.rs @@ -8,17 +8,20 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_bsky::feed::GeneratorView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::feed::GeneratorView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetPopularFeedGenerators { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -30,9 +33,11 @@ pub struct GetPopularFeedGenerators { pub query: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetPopularFeedGeneratorsOutput { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -71,7 +76,7 @@ fn _default_limit() -> Option { pub mod get_popular_feed_generators_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -89,10 +94,8 @@ pub mod get_popular_feed_generators_state { } /// Builder for constructing an instance of this type. -pub struct GetPopularFeedGeneratorsBuilder< - S: BosStr, - St: get_popular_feed_generators_state::State, -> { +pub struct GetPopularFeedGeneratorsBuilder +{ _state: PhantomData St>, _fields: (Option, Option, Option), _type: PhantomData S>, @@ -100,17 +103,12 @@ pub struct GetPopularFeedGeneratorsBuilder< impl GetPopularFeedGenerators { /// Create a new builder for this type. - pub fn new() -> GetPopularFeedGeneratorsBuilder< - S, - get_popular_feed_generators_state::Empty, - > { + pub fn new() -> GetPopularFeedGeneratorsBuilder { GetPopularFeedGeneratorsBuilder::new() } } -impl< - S: BosStr, -> GetPopularFeedGeneratorsBuilder { +impl GetPopularFeedGeneratorsBuilder { /// Create a new builder with all fields unset. pub fn new() -> Self { GetPopularFeedGeneratorsBuilder { @@ -121,10 +119,9 @@ impl< } } -impl< - S: BosStr, - St: get_popular_feed_generators_state::State, -> GetPopularFeedGeneratorsBuilder { +impl + GetPopularFeedGeneratorsBuilder +{ /// Set the `cursor` field (optional) pub fn cursor(mut self, value: impl Into>) -> Self { self._fields.0 = value.into(); @@ -137,10 +134,9 @@ impl< } } -impl< - S: BosStr, - St: get_popular_feed_generators_state::State, -> GetPopularFeedGeneratorsBuilder { +impl + GetPopularFeedGeneratorsBuilder +{ /// Set the `limit` field (optional) pub fn limit(mut self, value: impl Into>) -> Self { self._fields.1 = value.into(); @@ -153,10 +149,9 @@ impl< } } -impl< - S: BosStr, - St: get_popular_feed_generators_state::State, -> GetPopularFeedGeneratorsBuilder { +impl + GetPopularFeedGeneratorsBuilder +{ /// Set the `query` field (optional) pub fn query(mut self, value: impl Into>) -> Self { self._fields.2 = value.into(); @@ -181,4 +176,4 @@ where query: self._fields.2, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/unspecced/get_post_thread_other_v2.rs b/crates/jacquard-api/src/app_bsky/unspecced/get_post_thread_other_v2.rs index fc949390..8b8c22ff 100644 --- a/crates/jacquard-api/src/app_bsky/unspecced/get_post_thread_other_v2.rs +++ b/crates/jacquard-api/src/app_bsky/unspecced/get_post_thread_other_v2.rs @@ -21,21 +21,26 @@ use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::app_bsky::unspecced::ThreadItemPost; use crate::app_bsky::unspecced::get_post_thread_other_v2; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetPostThreadOtherV2 { pub anchor: AtUri, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetPostThreadOtherV2Output { ///A flat list of other thread items. The depth of each item is indicated by the depth property inside the item. pub thread: Vec>, @@ -43,9 +48,11 @@ pub struct GetPostThreadOtherV2Output { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ThreadItem { ///The nesting level of this item in the thread. Depth 0 means the anchor item. Items above have negative depths, items below have positive depths. pub depth: i64, @@ -96,7 +103,7 @@ impl LexiconSchema for ThreadItem { pub mod get_post_thread_other_v2_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -127,10 +134,7 @@ pub mod get_post_thread_other_v2_state { } /// Builder for constructing an instance of this type. -pub struct GetPostThreadOtherV2Builder< - S: BosStr, - St: get_post_thread_other_v2_state::State, -> { +pub struct GetPostThreadOtherV2Builder { _state: PhantomData St>, _fields: (Option>,), _type: PhantomData S>, @@ -138,10 +142,7 @@ pub struct GetPostThreadOtherV2Builder< impl GetPostThreadOtherV2 { /// Create a new builder for this type. - pub fn new() -> GetPostThreadOtherV2Builder< - S, - get_post_thread_other_v2_state::Empty, - > { + pub fn new() -> GetPostThreadOtherV2Builder { GetPostThreadOtherV2Builder::new() } } @@ -191,7 +192,7 @@ where pub mod thread_item_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -346,10 +347,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> ThreadItem { + pub fn build_with_data(self, extra_data: BTreeMap>) -> ThreadItem { ThreadItem { depth: self._fields.0.unwrap(), uri: self._fields.1.unwrap(), @@ -360,10 +358,10 @@ where } fn lexicon_doc_app_bsky_unspecced_getPostThreadOtherV2() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.bsky.unspecced.getPostThreadOtherV2"), @@ -401,12 +399,11 @@ fn lexicon_doc_app_bsky_unspecced_getPostThreadOtherV2() -> LexiconDoc<'static> map.insert( SmolStr::new_static("threadItem"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("uri"), SmolStr::new_static("depth"), - SmolStr::new_static("value") - ], - ), + required: Some(vec![ + SmolStr::new_static("uri"), + SmolStr::new_static("depth"), + SmolStr::new_static("value"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -426,9 +423,9 @@ fn lexicon_doc_app_bsky_unspecced_getPostThreadOtherV2() -> LexiconDoc<'static> map.insert( SmolStr::new_static("value"), LexObjectProperty::Union(LexRefUnion { - refs: vec![ - CowStr::new_static("app.bsky.unspecced.defs#threadItemPost") - ], + refs: vec![CowStr::new_static( + "app.bsky.unspecced.defs#threadItemPost", + )], ..Default::default() }), ); @@ -441,4 +438,4 @@ fn lexicon_doc_app_bsky_unspecced_getPostThreadOtherV2() -> LexiconDoc<'static> }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/unspecced/get_post_thread_v2.rs b/crates/jacquard-api/src/app_bsky/unspecced/get_post_thread_v2.rs index 611a7a06..a1e5e0a5 100644 --- a/crates/jacquard-api/src/app_bsky/unspecced/get_post_thread_v2.rs +++ b/crates/jacquard-api/src/app_bsky/unspecced/get_post_thread_v2.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -21,18 +21,21 @@ use jacquard_derive::{IntoStatic, open_union}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::app_bsky::feed::ThreadgateView; use crate::app_bsky::unspecced::ThreadItemBlocked; use crate::app_bsky::unspecced::ThreadItemNoUnauthenticated; use crate::app_bsky::unspecced::ThreadItemNotFound; use crate::app_bsky::unspecced::ThreadItemPost; use crate::app_bsky::unspecced::get_post_thread_v2; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetPostThreadV2 { /// Defaults to `true`. #[serde(default = "_default_above")] @@ -53,9 +56,11 @@ pub struct GetPostThreadV2 { pub sort: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetPostThreadV2Output { ///Whether this thread has additional replies. If true, a call can be made to the `getPostThreadOtherV2` endpoint to retrieve them. pub has_other_replies: bool, @@ -67,9 +72,11 @@ pub struct GetPostThreadV2Output { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ThreadItem { ///The nesting level of this item in the thread. Depth 0 means the anchor item. Items above have negative depths, items below have positive depths. pub depth: i64, @@ -79,7 +86,6 @@ pub struct ThreadItem { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -151,7 +157,7 @@ fn _default_sort() -> Option { pub mod get_post_thread_v2_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -184,7 +190,13 @@ pub mod get_post_thread_v2_state { /// Builder for constructing an instance of this type. pub struct GetPostThreadV2Builder { _state: PhantomData St>, - _fields: (Option, Option>, Option, Option, Option), + _fields: ( + Option, + Option>, + Option, + Option, + Option, + ), _type: PhantomData S>, } @@ -296,7 +308,7 @@ where pub mod thread_item_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -451,10 +463,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> ThreadItem { + pub fn build_with_data(self, extra_data: BTreeMap>) -> ThreadItem { ThreadItem { depth: self._fields.0.unwrap(), uri: self._fields.1.unwrap(), @@ -465,10 +474,10 @@ where } fn lexicon_doc_app_bsky_unspecced_getPostThreadV2() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.bsky.unspecced.getPostThreadV2"), @@ -533,12 +542,11 @@ fn lexicon_doc_app_bsky_unspecced_getPostThreadV2() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("threadItem"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("uri"), SmolStr::new_static("depth"), - SmolStr::new_static("value") - ], - ), + required: Some(vec![ + SmolStr::new_static("uri"), + SmolStr::new_static("depth"), + SmolStr::new_static("value"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -560,9 +568,13 @@ fn lexicon_doc_app_bsky_unspecced_getPostThreadV2() -> LexiconDoc<'static> { LexObjectProperty::Union(LexRefUnion { refs: vec![ CowStr::new_static("app.bsky.unspecced.defs#threadItemPost"), - CowStr::new_static("app.bsky.unspecced.defs#threadItemNoUnauthenticated"), - CowStr::new_static("app.bsky.unspecced.defs#threadItemNotFound"), - CowStr::new_static("app.bsky.unspecced.defs#threadItemBlocked") + CowStr::new_static( + "app.bsky.unspecced.defs#threadItemNoUnauthenticated", + ), + CowStr::new_static( + "app.bsky.unspecced.defs#threadItemNotFound", + ), + CowStr::new_static("app.bsky.unspecced.defs#threadItemBlocked"), ], ..Default::default() }), @@ -576,4 +588,4 @@ fn lexicon_doc_app_bsky_unspecced_getPostThreadV2() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/unspecced/get_suggested_feeds.rs b/crates/jacquard-api/src/app_bsky/unspecced/get_suggested_feeds.rs index 281a2712..e866780b 100644 --- a/crates/jacquard-api/src/app_bsky/unspecced/get_suggested_feeds.rs +++ b/crates/jacquard-api/src/app_bsky/unspecced/get_suggested_feeds.rs @@ -8,14 +8,14 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_bsky::feed::GeneratorView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::feed::GeneratorView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(rename_all = "camelCase")] @@ -26,9 +26,11 @@ pub struct GetSuggestedFeeds { pub limit: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetSuggestedFeedsOutput { pub feeds: Vec>, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -65,7 +67,7 @@ fn _default_limit() -> Option { pub mod get_suggested_feeds_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -128,4 +130,4 @@ where limit: self._fields.0, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/unspecced/get_suggested_feeds_skeleton.rs b/crates/jacquard-api/src/app_bsky/unspecced/get_suggested_feeds_skeleton.rs index f7163a18..e687e781 100644 --- a/crates/jacquard-api/src/app_bsky/unspecced/get_suggested_feeds_skeleton.rs +++ b/crates/jacquard-api/src/app_bsky/unspecced/get_suggested_feeds_skeleton.rs @@ -10,15 +10,18 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; -use jacquard_common::types::string::{Did, AtUri}; +use jacquard_common::types::string::{AtUri, Did}; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetSuggestedFeedsSkeleton { ///Defaults to `10`. Min: 1. Max: 25. #[serde(default = "_default_limit")] @@ -28,9 +31,11 @@ pub struct GetSuggestedFeedsSkeleton { pub viewer: Option>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetSuggestedFeedsSkeletonOutput { pub feeds: Vec>, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -67,7 +72,7 @@ fn _default_limit() -> Option { pub mod get_suggested_feeds_skeleton_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -96,17 +101,12 @@ pub struct GetSuggestedFeedsSkeletonBuilder< impl GetSuggestedFeedsSkeleton { /// Create a new builder for this type. - pub fn new() -> GetSuggestedFeedsSkeletonBuilder< - S, - get_suggested_feeds_skeleton_state::Empty, - > { + pub fn new() -> GetSuggestedFeedsSkeletonBuilder { GetSuggestedFeedsSkeletonBuilder::new() } } -impl< - S: BosStr, -> GetSuggestedFeedsSkeletonBuilder { +impl GetSuggestedFeedsSkeletonBuilder { /// Create a new builder with all fields unset. pub fn new() -> Self { GetSuggestedFeedsSkeletonBuilder { @@ -117,10 +117,9 @@ impl< } } -impl< - S: BosStr, - St: get_suggested_feeds_skeleton_state::State, -> GetSuggestedFeedsSkeletonBuilder { +impl + GetSuggestedFeedsSkeletonBuilder +{ /// Set the `limit` field (optional) pub fn limit(mut self, value: impl Into>) -> Self { self._fields.0 = value.into(); @@ -133,10 +132,9 @@ impl< } } -impl< - S: BosStr, - St: get_suggested_feeds_skeleton_state::State, -> GetSuggestedFeedsSkeletonBuilder { +impl + GetSuggestedFeedsSkeletonBuilder +{ /// Set the `viewer` field (optional) pub fn viewer(mut self, value: impl Into>>) -> Self { self._fields.1 = value.into(); @@ -160,4 +158,4 @@ where viewer: self._fields.1, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/unspecced/get_suggested_onboarding_users.rs b/crates/jacquard-api/src/app_bsky/unspecced/get_suggested_onboarding_users.rs index 183ae532..4643883b 100644 --- a/crates/jacquard-api/src/app_bsky/unspecced/get_suggested_onboarding_users.rs +++ b/crates/jacquard-api/src/app_bsky/unspecced/get_suggested_onboarding_users.rs @@ -8,17 +8,20 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_bsky::actor::ProfileView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::actor::ProfileView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetSuggestedOnboardingUsers { #[serde(skip_serializing_if = "Option::is_none")] pub category: Option, @@ -28,9 +31,11 @@ pub struct GetSuggestedOnboardingUsers { pub limit: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetSuggestedOnboardingUsersOutput { pub actors: Vec>, ///DEPRECATED: use recIdStr instead. @@ -73,7 +78,7 @@ fn _default_limit() -> Option { pub mod get_suggested_onboarding_users_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -102,17 +107,13 @@ pub struct GetSuggestedOnboardingUsersBuilder< impl GetSuggestedOnboardingUsers { /// Create a new builder for this type. - pub fn new() -> GetSuggestedOnboardingUsersBuilder< - S, - get_suggested_onboarding_users_state::Empty, - > { + pub fn new() + -> GetSuggestedOnboardingUsersBuilder { GetSuggestedOnboardingUsersBuilder::new() } } -impl< - S: BosStr, -> GetSuggestedOnboardingUsersBuilder { +impl GetSuggestedOnboardingUsersBuilder { /// Create a new builder with all fields unset. pub fn new() -> Self { GetSuggestedOnboardingUsersBuilder { @@ -123,10 +124,9 @@ impl< } } -impl< - S: BosStr, - St: get_suggested_onboarding_users_state::State, -> GetSuggestedOnboardingUsersBuilder { +impl + GetSuggestedOnboardingUsersBuilder +{ /// Set the `category` field (optional) pub fn category(mut self, value: impl Into>) -> Self { self._fields.0 = value.into(); @@ -139,10 +139,9 @@ impl< } } -impl< - S: BosStr, - St: get_suggested_onboarding_users_state::State, -> GetSuggestedOnboardingUsersBuilder { +impl + GetSuggestedOnboardingUsersBuilder +{ /// Set the `limit` field (optional) pub fn limit(mut self, value: impl Into>) -> Self { self._fields.1 = value.into(); @@ -166,4 +165,4 @@ where limit: self._fields.1, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/unspecced/get_suggested_starter_packs.rs b/crates/jacquard-api/src/app_bsky/unspecced/get_suggested_starter_packs.rs index 6289518f..9e8af915 100644 --- a/crates/jacquard-api/src/app_bsky/unspecced/get_suggested_starter_packs.rs +++ b/crates/jacquard-api/src/app_bsky/unspecced/get_suggested_starter_packs.rs @@ -8,14 +8,14 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_bsky::graph::StarterPackView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::graph::StarterPackView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(rename_all = "camelCase")] @@ -26,9 +26,11 @@ pub struct GetSuggestedStarterPacks { pub limit: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetSuggestedStarterPacksOutput { pub starter_packs: Vec>, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -65,7 +67,7 @@ fn _default_limit() -> Option { pub mod get_suggested_starter_packs_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -83,18 +85,14 @@ pub mod get_suggested_starter_packs_state { } /// Builder for constructing an instance of this type. -pub struct GetSuggestedStarterPacksBuilder< - St: get_suggested_starter_packs_state::State, -> { +pub struct GetSuggestedStarterPacksBuilder { _state: PhantomData St>, _fields: (Option,), } impl GetSuggestedStarterPacks { /// Create a new builder for this type. - pub fn new() -> GetSuggestedStarterPacksBuilder< - get_suggested_starter_packs_state::Empty, - > { + pub fn new() -> GetSuggestedStarterPacksBuilder { GetSuggestedStarterPacksBuilder::new() } } @@ -132,4 +130,4 @@ where limit: self._fields.0, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/unspecced/get_suggested_starter_packs_skeleton.rs b/crates/jacquard-api/src/app_bsky/unspecced/get_suggested_starter_packs_skeleton.rs index bdad9c87..c75de2b6 100644 --- a/crates/jacquard-api/src/app_bsky/unspecced/get_suggested_starter_packs_skeleton.rs +++ b/crates/jacquard-api/src/app_bsky/unspecced/get_suggested_starter_packs_skeleton.rs @@ -10,15 +10,18 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; -use jacquard_common::types::string::{Did, AtUri}; +use jacquard_common::types::string::{AtUri, Did}; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetSuggestedStarterPacksSkeleton { ///Defaults to `10`. Min: 1. Max: 25. #[serde(default = "_default_limit")] @@ -28,9 +31,11 @@ pub struct GetSuggestedStarterPacksSkeleton { pub viewer: Option>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetSuggestedStarterPacksSkeletonOutput { pub starter_packs: Vec>, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -46,8 +51,7 @@ impl jacquard_common::xrpc::XrpcResp for GetSuggestedStarterPacksSkeletonRespons type Err = jacquard_common::xrpc::GenericError; } -impl jacquard_common::xrpc::XrpcRequest -for GetSuggestedStarterPacksSkeleton { +impl jacquard_common::xrpc::XrpcRequest for GetSuggestedStarterPacksSkeleton { const NSID: &'static str = "app.bsky.unspecced.getSuggestedStarterPacksSkeleton"; const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Query; type Response = GetSuggestedStarterPacksSkeletonResponse; @@ -68,7 +72,7 @@ fn _default_limit() -> Option { pub mod get_suggested_starter_packs_skeleton_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -97,20 +101,16 @@ pub struct GetSuggestedStarterPacksSkeletonBuilder< impl GetSuggestedStarterPacksSkeleton { /// Create a new builder for this type. - pub fn new() -> GetSuggestedStarterPacksSkeletonBuilder< - S, - get_suggested_starter_packs_skeleton_state::Empty, - > { + pub fn new() + -> GetSuggestedStarterPacksSkeletonBuilder + { GetSuggestedStarterPacksSkeletonBuilder::new() } } -impl< - S: BosStr, -> GetSuggestedStarterPacksSkeletonBuilder< - S, - get_suggested_starter_packs_skeleton_state::Empty, -> { +impl + GetSuggestedStarterPacksSkeletonBuilder +{ /// Create a new builder with all fields unset. pub fn new() -> Self { GetSuggestedStarterPacksSkeletonBuilder { @@ -121,10 +121,9 @@ impl< } } -impl< - S: BosStr, - St: get_suggested_starter_packs_skeleton_state::State, -> GetSuggestedStarterPacksSkeletonBuilder { +impl + GetSuggestedStarterPacksSkeletonBuilder +{ /// Set the `limit` field (optional) pub fn limit(mut self, value: impl Into>) -> Self { self._fields.0 = value.into(); @@ -137,10 +136,9 @@ impl< } } -impl< - S: BosStr, - St: get_suggested_starter_packs_skeleton_state::State, -> GetSuggestedStarterPacksSkeletonBuilder { +impl + GetSuggestedStarterPacksSkeletonBuilder +{ /// Set the `viewer` field (optional) pub fn viewer(mut self, value: impl Into>>) -> Self { self._fields.1 = value.into(); @@ -164,4 +162,4 @@ where viewer: self._fields.1, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/unspecced/get_suggested_users.rs b/crates/jacquard-api/src/app_bsky/unspecced/get_suggested_users.rs index 60dded3a..82700769 100644 --- a/crates/jacquard-api/src/app_bsky/unspecced/get_suggested_users.rs +++ b/crates/jacquard-api/src/app_bsky/unspecced/get_suggested_users.rs @@ -8,17 +8,20 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_bsky::actor::ProfileView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::actor::ProfileView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetSuggestedUsers { #[serde(skip_serializing_if = "Option::is_none")] pub category: Option, @@ -28,9 +31,11 @@ pub struct GetSuggestedUsers { pub limit: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetSuggestedUsersOutput { pub actors: Vec>, ///DEPRECATED: use recIdStr instead. @@ -73,7 +78,7 @@ fn _default_limit() -> Option { pub mod get_suggested_users_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -152,4 +157,4 @@ where limit: self._fields.1, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/unspecced/get_suggested_users_skeleton.rs b/crates/jacquard-api/src/app_bsky/unspecced/get_suggested_users_skeleton.rs index be8350d0..468eb562 100644 --- a/crates/jacquard-api/src/app_bsky/unspecced/get_suggested_users_skeleton.rs +++ b/crates/jacquard-api/src/app_bsky/unspecced/get_suggested_users_skeleton.rs @@ -10,15 +10,18 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::Did; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetSuggestedUsersSkeleton { #[serde(skip_serializing_if = "Option::is_none")] pub category: Option, @@ -30,9 +33,11 @@ pub struct GetSuggestedUsersSkeleton { pub viewer: Option>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetSuggestedUsersSkeletonOutput { pub dids: Vec>, ///DEPRECATED: use recIdStr instead. @@ -75,7 +80,7 @@ fn _default_limit() -> Option { pub mod get_suggested_users_skeleton_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -104,17 +109,12 @@ pub struct GetSuggestedUsersSkeletonBuilder< impl GetSuggestedUsersSkeleton { /// Create a new builder for this type. - pub fn new() -> GetSuggestedUsersSkeletonBuilder< - S, - get_suggested_users_skeleton_state::Empty, - > { + pub fn new() -> GetSuggestedUsersSkeletonBuilder { GetSuggestedUsersSkeletonBuilder::new() } } -impl< - S: BosStr, -> GetSuggestedUsersSkeletonBuilder { +impl GetSuggestedUsersSkeletonBuilder { /// Create a new builder with all fields unset. pub fn new() -> Self { GetSuggestedUsersSkeletonBuilder { @@ -125,10 +125,9 @@ impl< } } -impl< - S: BosStr, - St: get_suggested_users_skeleton_state::State, -> GetSuggestedUsersSkeletonBuilder { +impl + GetSuggestedUsersSkeletonBuilder +{ /// Set the `category` field (optional) pub fn category(mut self, value: impl Into>) -> Self { self._fields.0 = value.into(); @@ -141,10 +140,9 @@ impl< } } -impl< - S: BosStr, - St: get_suggested_users_skeleton_state::State, -> GetSuggestedUsersSkeletonBuilder { +impl + GetSuggestedUsersSkeletonBuilder +{ /// Set the `limit` field (optional) pub fn limit(mut self, value: impl Into>) -> Self { self._fields.1 = value.into(); @@ -157,10 +155,9 @@ impl< } } -impl< - S: BosStr, - St: get_suggested_users_skeleton_state::State, -> GetSuggestedUsersSkeletonBuilder { +impl + GetSuggestedUsersSkeletonBuilder +{ /// Set the `viewer` field (optional) pub fn viewer(mut self, value: impl Into>>) -> Self { self._fields.2 = value.into(); @@ -185,4 +182,4 @@ where viewer: self._fields.2, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/unspecced/get_suggestions_skeleton.rs b/crates/jacquard-api/src/app_bsky/unspecced/get_suggestions_skeleton.rs index c489110f..3791164d 100644 --- a/crates/jacquard-api/src/app_bsky/unspecced/get_suggestions_skeleton.rs +++ b/crates/jacquard-api/src/app_bsky/unspecced/get_suggestions_skeleton.rs @@ -8,18 +8,21 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_bsky::unspecced::SkeletonSearchActor; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::Did; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::unspecced::SkeletonSearchActor; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetSuggestionsSkeleton { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -33,9 +36,11 @@ pub struct GetSuggestionsSkeleton { pub viewer: Option>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetSuggestionsSkeletonOutput { pub actors: Vec>, #[serde(skip_serializing_if = "Option::is_none")] @@ -83,7 +88,7 @@ fn _default_limit() -> Option { pub mod get_suggestions_skeleton_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -101,10 +106,7 @@ pub mod get_suggestions_skeleton_state { } /// Builder for constructing an instance of this type. -pub struct GetSuggestionsSkeletonBuilder< - S: BosStr, - St: get_suggestions_skeleton_state::State, -> { +pub struct GetSuggestionsSkeletonBuilder { _state: PhantomData St>, _fields: (Option, Option, Option>, Option>), _type: PhantomData S>, @@ -112,10 +114,7 @@ pub struct GetSuggestionsSkeletonBuilder< impl GetSuggestionsSkeleton { /// Create a new builder for this type. - pub fn new() -> GetSuggestionsSkeletonBuilder< - S, - get_suggestions_skeleton_state::Empty, - > { + pub fn new() -> GetSuggestionsSkeletonBuilder { GetSuggestionsSkeletonBuilder::new() } } @@ -131,10 +130,7 @@ impl GetSuggestionsSkeletonBuilder GetSuggestionsSkeletonBuilder { +impl GetSuggestionsSkeletonBuilder { /// Set the `cursor` field (optional) pub fn cursor(mut self, value: impl Into>) -> Self { self._fields.0 = value.into(); @@ -147,10 +143,7 @@ impl< } } -impl< - S: BosStr, - St: get_suggestions_skeleton_state::State, -> GetSuggestionsSkeletonBuilder { +impl GetSuggestionsSkeletonBuilder { /// Set the `limit` field (optional) pub fn limit(mut self, value: impl Into>) -> Self { self._fields.1 = value.into(); @@ -163,10 +156,7 @@ impl< } } -impl< - S: BosStr, - St: get_suggestions_skeleton_state::State, -> GetSuggestionsSkeletonBuilder { +impl GetSuggestionsSkeletonBuilder { /// Set the `relativeToDid` field (optional) pub fn relative_to_did(mut self, value: impl Into>>) -> Self { self._fields.2 = value.into(); @@ -179,10 +169,7 @@ impl< } } -impl< - S: BosStr, - St: get_suggestions_skeleton_state::State, -> GetSuggestionsSkeletonBuilder { +impl GetSuggestionsSkeletonBuilder { /// Set the `viewer` field (optional) pub fn viewer(mut self, value: impl Into>>) -> Self { self._fields.3 = value.into(); @@ -208,4 +195,4 @@ where viewer: self._fields.3, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/unspecced/get_tagged_suggestions.rs b/crates/jacquard-api/src/app_bsky/unspecced/get_tagged_suggestions.rs index 0ec71d6e..22cbe40f 100644 --- a/crates/jacquard-api/src/app_bsky/unspecced/get_tagged_suggestions.rs +++ b/crates/jacquard-api/src/app_bsky/unspecced/get_tagged_suggestions.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -21,26 +21,31 @@ use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::app_bsky::unspecced::get_tagged_suggestions; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::unspecced::get_tagged_suggestions; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(rename_all = "camelCase")] pub struct GetTaggedSuggestions; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetTaggedSuggestionsOutput { pub suggestions: Vec>, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Suggestion { pub subject: UriValue, pub subject_type: SuggestionSubjectType, @@ -49,7 +54,6 @@ pub struct Suggestion { pub extra_data: Option>>, } - #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum SuggestionSubjectType { Actor, @@ -122,9 +126,7 @@ where match self { SuggestionSubjectType::Actor => SuggestionSubjectType::Actor, SuggestionSubjectType::Feed => SuggestionSubjectType::Feed, - SuggestionSubjectType::Other(v) => { - SuggestionSubjectType::Other(v.into_static()) - } + SuggestionSubjectType::Other(v) => SuggestionSubjectType::Other(v.into_static()), } } } @@ -170,7 +172,7 @@ impl LexiconSchema for Suggestion { pub mod suggestion_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -229,7 +231,11 @@ pub mod suggestion_state { /// Builder for constructing an instance of this type. pub struct SuggestionBuilder { _state: PhantomData St>, - _fields: (Option>, Option>, Option), + _fields: ( + Option>, + Option>, + Option, + ), _type: PhantomData S>, } @@ -325,10 +331,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> Suggestion { + pub fn build_with_data(self, extra_data: BTreeMap>) -> Suggestion { Suggestion { subject: self._fields.0.unwrap(), subject_type: self._fields.1.unwrap(), @@ -339,10 +342,10 @@ where } fn lexicon_doc_app_bsky_unspecced_getTaggedSuggestions() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.bsky.unspecced.getTaggedSuggestions"), @@ -351,29 +354,25 @@ fn lexicon_doc_app_bsky_unspecced_getTaggedSuggestions() -> LexiconDoc<'static> map.insert( SmolStr::new_static("main"), LexUserType::XrpcQuery(LexXrpcQuery { - parameters: Some( - LexXrpcQueryParameter::Params(LexXrpcParameters { - properties: { - #[allow(unused_mut)] - let mut map = BTreeMap::new(); - map - }, - ..Default::default() - }), - ), + parameters: Some(LexXrpcQueryParameter::Params(LexXrpcParameters { + properties: { + #[allow(unused_mut)] + let mut map = BTreeMap::new(); + map + }, + ..Default::default() + })), ..Default::default() }), ); map.insert( SmolStr::new_static("suggestion"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("tag"), - SmolStr::new_static("subjectType"), - SmolStr::new_static("subject") - ], - ), + required: Some(vec![ + SmolStr::new_static("tag"), + SmolStr::new_static("subjectType"), + SmolStr::new_static("subject"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -386,11 +385,15 @@ fn lexicon_doc_app_bsky_unspecced_getTaggedSuggestions() -> LexiconDoc<'static> ); map.insert( SmolStr::new_static("subjectType"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("tag"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map }, @@ -401,4 +404,4 @@ fn lexicon_doc_app_bsky_unspecced_getTaggedSuggestions() -> LexiconDoc<'static> }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/unspecced/get_trending_topics.rs b/crates/jacquard-api/src/app_bsky/unspecced/get_trending_topics.rs index 22458900..23598732 100644 --- a/crates/jacquard-api/src/app_bsky/unspecced/get_trending_topics.rs +++ b/crates/jacquard-api/src/app_bsky/unspecced/get_trending_topics.rs @@ -8,18 +8,21 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_bsky::unspecced::TrendingTopic; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::Did; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::unspecced::TrendingTopic; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetTrendingTopics { ///Defaults to `10`. Min: 1. Max: 25. #[serde(default = "_default_limit")] @@ -29,9 +32,11 @@ pub struct GetTrendingTopics { pub viewer: Option>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetTrendingTopicsOutput { pub suggested: Vec>, pub topics: Vec>, @@ -69,7 +74,7 @@ fn _default_limit() -> Option { pub mod get_trending_topics_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -148,4 +153,4 @@ where viewer: self._fields.1, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/unspecced/get_trends.rs b/crates/jacquard-api/src/app_bsky/unspecced/get_trends.rs index 3f83def3..ff4b2456 100644 --- a/crates/jacquard-api/src/app_bsky/unspecced/get_trends.rs +++ b/crates/jacquard-api/src/app_bsky/unspecced/get_trends.rs @@ -8,14 +8,14 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_bsky::unspecced::TrendView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::unspecced::TrendView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(rename_all = "camelCase")] @@ -26,9 +26,11 @@ pub struct GetTrends { pub limit: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetTrendsOutput { pub trends: Vec>, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -65,7 +67,7 @@ fn _default_limit() -> Option { pub mod get_trends_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -124,6 +126,8 @@ where { /// Build the final struct. pub fn build(self) -> GetTrends { - GetTrends { limit: self._fields.0 } + GetTrends { + limit: self._fields.0, + } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/unspecced/get_trends_skeleton.rs b/crates/jacquard-api/src/app_bsky/unspecced/get_trends_skeleton.rs index db2cfc6b..955c398b 100644 --- a/crates/jacquard-api/src/app_bsky/unspecced/get_trends_skeleton.rs +++ b/crates/jacquard-api/src/app_bsky/unspecced/get_trends_skeleton.rs @@ -8,18 +8,21 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_bsky::unspecced::SkeletonTrend; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::Did; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::unspecced::SkeletonTrend; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetTrendsSkeleton { ///Defaults to `10`. Min: 1. Max: 25. #[serde(default = "_default_limit")] @@ -29,9 +32,11 @@ pub struct GetTrendsSkeleton { pub viewer: Option>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetTrendsSkeletonOutput { pub trends: Vec>, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -68,7 +73,7 @@ fn _default_limit() -> Option { pub mod get_trends_skeleton_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -147,4 +152,4 @@ where viewer: self._fields.1, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/unspecced/init_age_assurance.rs b/crates/jacquard-api/src/app_bsky/unspecced/init_age_assurance.rs index 1679a1b2..da460daf 100644 --- a/crates/jacquard-api/src/app_bsky/unspecced/init_age_assurance.rs +++ b/crates/jacquard-api/src/app_bsky/unspecced/init_age_assurance.rs @@ -8,17 +8,20 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_bsky::unspecced::AgeAssuranceState; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::unspecced::AgeAssuranceState; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct InitAgeAssurance { ///An ISO 3166-1 alpha-2 code of the user's location. pub country_code: S, @@ -30,9 +33,11 @@ pub struct InitAgeAssurance { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct InitAgeAssuranceOutput { #[serde(flatten)] pub value: AgeAssuranceState, @@ -40,18 +45,9 @@ pub struct InitAgeAssuranceOutput { pub extra_data: Option>>, } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum InitAgeAssuranceError { #[serde(rename = "InvalidEmail")] @@ -62,7 +58,10 @@ pub enum InitAgeAssuranceError { InvalidInitiation(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for InitAgeAssuranceError { @@ -111,9 +110,8 @@ impl jacquard_common::xrpc::XrpcResp for InitAgeAssuranceResponse { impl jacquard_common::xrpc::XrpcRequest for InitAgeAssurance { const NSID: &'static str = "app.bsky.unspecced.initAgeAssurance"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = InitAgeAssuranceResponse; } @@ -121,9 +119,8 @@ impl jacquard_common::xrpc::XrpcRequest for InitAgeAssurance { pub struct InitAgeAssuranceRequest; impl jacquard_common::xrpc::XrpcEndpoint for InitAgeAssuranceRequest { const PATH: &'static str = "/xrpc/app.bsky.unspecced.initAgeAssurance"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = InitAgeAssurance; type Response = InitAgeAssuranceResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/unspecced/search_actors_skeleton.rs b/crates/jacquard-api/src/app_bsky/unspecced/search_actors_skeleton.rs index f87309ff..97a09e17 100644 --- a/crates/jacquard-api/src/app_bsky/unspecced/search_actors_skeleton.rs +++ b/crates/jacquard-api/src/app_bsky/unspecced/search_actors_skeleton.rs @@ -8,18 +8,21 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_bsky::unspecced::SkeletonSearchActor; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::Did; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::unspecced::SkeletonSearchActor; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct SearchActorsSkeleton { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -34,9 +37,11 @@ pub struct SearchActorsSkeleton { pub viewer: Option>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct SearchActorsSkeletonOutput { pub actors: Vec>, #[serde(skip_serializing_if = "Option::is_none")] @@ -48,25 +53,19 @@ pub struct SearchActorsSkeletonOutput { pub extra_data: Option>>, } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum SearchActorsSkeletonError { #[serde(rename = "BadQueryString")] BadQueryString(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for SearchActorsSkeletonError { @@ -120,7 +119,7 @@ fn _default_limit() -> Option { pub mod search_actors_skeleton_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -151,12 +150,15 @@ pub mod search_actors_skeleton_state { } /// Builder for constructing an instance of this type. -pub struct SearchActorsSkeletonBuilder< - S: BosStr, - St: search_actors_skeleton_state::State, -> { +pub struct SearchActorsSkeletonBuilder { _state: PhantomData St>, - _fields: (Option, Option, Option, Option, Option>), + _fields: ( + Option, + Option, + Option, + Option, + Option>, + ), _type: PhantomData S>, } @@ -178,10 +180,7 @@ impl SearchActorsSkeletonBuilder SearchActorsSkeletonBuilder { +impl SearchActorsSkeletonBuilder { /// Set the `cursor` field (optional) pub fn cursor(mut self, value: impl Into>) -> Self { self._fields.0 = value.into(); @@ -194,10 +193,7 @@ impl< } } -impl< - S: BosStr, - St: search_actors_skeleton_state::State, -> SearchActorsSkeletonBuilder { +impl SearchActorsSkeletonBuilder { /// Set the `limit` field (optional) pub fn limit(mut self, value: impl Into>) -> Self { self._fields.1 = value.into(); @@ -229,10 +225,7 @@ where } } -impl< - S: BosStr, - St: search_actors_skeleton_state::State, -> SearchActorsSkeletonBuilder { +impl SearchActorsSkeletonBuilder { /// Set the `typeahead` field (optional) pub fn typeahead(mut self, value: impl Into>) -> Self { self._fields.3 = value.into(); @@ -245,10 +238,7 @@ impl< } } -impl< - S: BosStr, - St: search_actors_skeleton_state::State, -> SearchActorsSkeletonBuilder { +impl SearchActorsSkeletonBuilder { /// Set the `viewer` field (optional) pub fn viewer(mut self, value: impl Into>>) -> Self { self._fields.4 = value.into(); @@ -276,4 +266,4 @@ where viewer: self._fields.4, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/unspecced/search_posts_skeleton.rs b/crates/jacquard-api/src/app_bsky/unspecced/search_posts_skeleton.rs index 9fc72c12..ece74114 100644 --- a/crates/jacquard-api/src/app_bsky/unspecced/search_posts_skeleton.rs +++ b/crates/jacquard-api/src/app_bsky/unspecced/search_posts_skeleton.rs @@ -8,19 +8,22 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_bsky::unspecced::SkeletonSearchPost; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::ident::AtIdentifier; use jacquard_common::types::string::{Did, Language, UriValue}; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::unspecced::SkeletonSearchPost; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct SearchPostsSkeleton { #[serde(skip_serializing_if = "Option::is_none")] pub author: Option>, @@ -53,9 +56,11 @@ pub struct SearchPostsSkeleton { pub viewer: Option>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct SearchPostsSkeletonOutput { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -67,25 +72,19 @@ pub struct SearchPostsSkeletonOutput { pub extra_data: Option>>, } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum SearchPostsSkeletonError { #[serde(rename = "BadQueryString")] BadQueryString(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for SearchPostsSkeletonError { @@ -143,7 +142,7 @@ fn _default_sort() -> Option { pub mod search_posts_skeleton_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -174,10 +173,7 @@ pub mod search_posts_skeleton_state { } /// Builder for constructing an instance of this type. -pub struct SearchPostsSkeletonBuilder< - S: BosStr, - St: search_posts_skeleton_state::State, -> { +pub struct SearchPostsSkeletonBuilder { _state: PhantomData St>, _fields: ( Option>, @@ -210,29 +206,14 @@ impl SearchPostsSkeletonBuilder SearchPostsSkeletonBuilder { +impl SearchPostsSkeletonBuilder { /// Set the `author` field (optional) pub fn author(mut self, value: impl Into>>) -> Self { self._fields.0 = value.into(); @@ -245,10 +226,7 @@ impl< } } -impl< - S: BosStr, - St: search_posts_skeleton_state::State, -> SearchPostsSkeletonBuilder { +impl SearchPostsSkeletonBuilder { /// Set the `cursor` field (optional) pub fn cursor(mut self, value: impl Into>) -> Self { self._fields.1 = value.into(); @@ -261,10 +239,7 @@ impl< } } -impl< - S: BosStr, - St: search_posts_skeleton_state::State, -> SearchPostsSkeletonBuilder { +impl SearchPostsSkeletonBuilder { /// Set the `domain` field (optional) pub fn domain(mut self, value: impl Into>) -> Self { self._fields.2 = value.into(); @@ -277,10 +252,7 @@ impl< } } -impl< - S: BosStr, - St: search_posts_skeleton_state::State, -> SearchPostsSkeletonBuilder { +impl SearchPostsSkeletonBuilder { /// Set the `lang` field (optional) pub fn lang(mut self, value: impl Into>) -> Self { self._fields.3 = value.into(); @@ -293,10 +265,7 @@ impl< } } -impl< - S: BosStr, - St: search_posts_skeleton_state::State, -> SearchPostsSkeletonBuilder { +impl SearchPostsSkeletonBuilder { /// Set the `limit` field (optional) pub fn limit(mut self, value: impl Into>) -> Self { self._fields.4 = value.into(); @@ -309,10 +278,7 @@ impl< } } -impl< - S: BosStr, - St: search_posts_skeleton_state::State, -> SearchPostsSkeletonBuilder { +impl SearchPostsSkeletonBuilder { /// Set the `mentions` field (optional) pub fn mentions(mut self, value: impl Into>>) -> Self { self._fields.5 = value.into(); @@ -344,10 +310,7 @@ where } } -impl< - S: BosStr, - St: search_posts_skeleton_state::State, -> SearchPostsSkeletonBuilder { +impl SearchPostsSkeletonBuilder { /// Set the `since` field (optional) pub fn since(mut self, value: impl Into>) -> Self { self._fields.7 = value.into(); @@ -360,10 +323,7 @@ impl< } } -impl< - S: BosStr, - St: search_posts_skeleton_state::State, -> SearchPostsSkeletonBuilder { +impl SearchPostsSkeletonBuilder { /// Set the `sort` field (optional) pub fn sort(mut self, value: impl Into>) -> Self { self._fields.8 = value.into(); @@ -376,10 +336,7 @@ impl< } } -impl< - S: BosStr, - St: search_posts_skeleton_state::State, -> SearchPostsSkeletonBuilder { +impl SearchPostsSkeletonBuilder { /// Set the `tag` field (optional) pub fn tag(mut self, value: impl Into>>) -> Self { self._fields.9 = value.into(); @@ -392,10 +349,7 @@ impl< } } -impl< - S: BosStr, - St: search_posts_skeleton_state::State, -> SearchPostsSkeletonBuilder { +impl SearchPostsSkeletonBuilder { /// Set the `until` field (optional) pub fn until(mut self, value: impl Into>) -> Self { self._fields.10 = value.into(); @@ -408,10 +362,7 @@ impl< } } -impl< - S: BosStr, - St: search_posts_skeleton_state::State, -> SearchPostsSkeletonBuilder { +impl SearchPostsSkeletonBuilder { /// Set the `url` field (optional) pub fn url(mut self, value: impl Into>>) -> Self { self._fields.11 = value.into(); @@ -424,10 +375,7 @@ impl< } } -impl< - S: BosStr, - St: search_posts_skeleton_state::State, -> SearchPostsSkeletonBuilder { +impl SearchPostsSkeletonBuilder { /// Set the `viewer` field (optional) pub fn viewer(mut self, value: impl Into>>) -> Self { self._fields.12 = value.into(); @@ -463,4 +411,4 @@ where viewer: self._fields.12, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/unspecced/search_starter_packs_skeleton.rs b/crates/jacquard-api/src/app_bsky/unspecced/search_starter_packs_skeleton.rs index a64fd684..b5720f58 100644 --- a/crates/jacquard-api/src/app_bsky/unspecced/search_starter_packs_skeleton.rs +++ b/crates/jacquard-api/src/app_bsky/unspecced/search_starter_packs_skeleton.rs @@ -8,18 +8,21 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_bsky::unspecced::SkeletonSearchStarterPack; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::Did; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::unspecced::SkeletonSearchStarterPack; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct SearchStarterPacksSkeleton { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -32,9 +35,11 @@ pub struct SearchStarterPacksSkeleton { pub viewer: Option>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct SearchStarterPacksSkeletonOutput { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -46,25 +51,19 @@ pub struct SearchStarterPacksSkeletonOutput { pub extra_data: Option>>, } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum SearchStarterPacksSkeletonError { #[serde(rename = "BadQueryString")] BadQueryString(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for SearchStarterPacksSkeletonError { @@ -118,7 +117,7 @@ fn _default_limit() -> Option { pub mod search_starter_packs_skeleton_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -160,17 +159,13 @@ pub struct SearchStarterPacksSkeletonBuilder< impl SearchStarterPacksSkeleton { /// Create a new builder for this type. - pub fn new() -> SearchStarterPacksSkeletonBuilder< - S, - search_starter_packs_skeleton_state::Empty, - > { + pub fn new() -> SearchStarterPacksSkeletonBuilder + { SearchStarterPacksSkeletonBuilder::new() } } -impl< - S: BosStr, -> SearchStarterPacksSkeletonBuilder { +impl SearchStarterPacksSkeletonBuilder { /// Create a new builder with all fields unset. pub fn new() -> Self { SearchStarterPacksSkeletonBuilder { @@ -181,10 +176,9 @@ impl< } } -impl< - S: BosStr, - St: search_starter_packs_skeleton_state::State, -> SearchStarterPacksSkeletonBuilder { +impl + SearchStarterPacksSkeletonBuilder +{ /// Set the `cursor` field (optional) pub fn cursor(mut self, value: impl Into>) -> Self { self._fields.0 = value.into(); @@ -197,10 +191,9 @@ impl< } } -impl< - S: BosStr, - St: search_starter_packs_skeleton_state::State, -> SearchStarterPacksSkeletonBuilder { +impl + SearchStarterPacksSkeletonBuilder +{ /// Set the `limit` field (optional) pub fn limit(mut self, value: impl Into>) -> Self { self._fields.1 = value.into(); @@ -222,10 +215,7 @@ where pub fn q( mut self, value: impl Into, - ) -> SearchStarterPacksSkeletonBuilder< - S, - search_starter_packs_skeleton_state::SetQ, - > { + ) -> SearchStarterPacksSkeletonBuilder> { self._fields.2 = Option::Some(value.into()); SearchStarterPacksSkeletonBuilder { _state: PhantomData, @@ -235,10 +225,9 @@ where } } -impl< - S: BosStr, - St: search_starter_packs_skeleton_state::State, -> SearchStarterPacksSkeletonBuilder { +impl + SearchStarterPacksSkeletonBuilder +{ /// Set the `viewer` field (optional) pub fn viewer(mut self, value: impl Into>>) -> Self { self._fields.3 = value.into(); @@ -265,4 +254,4 @@ where viewer: self._fields.3, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/video.rs b/crates/jacquard-api/src/app_bsky/video.rs index 3ce747e8..86f61f71 100644 --- a/crates/jacquard-api/src/app_bsky/video.rs +++ b/crates/jacquard-api/src/app_bsky/video.rs @@ -9,13 +9,12 @@ pub mod get_job_status; pub mod get_upload_limits; pub mod upload_video; - #[allow(unused_imports)] use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -29,10 +28,13 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct JobStatus { #[serde(skip_serializing_if = "Option::is_none")] pub blob: Option>, @@ -165,7 +167,7 @@ impl LexiconSchema for JobStatus { pub mod job_status_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -384,10 +386,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> JobStatus { + pub fn build_with_data(self, extra_data: BTreeMap>) -> JobStatus { JobStatus { blob: self._fields.0, did: self._fields.1.unwrap(), @@ -402,10 +401,10 @@ where } fn lexicon_doc_app_bsky_video_defs() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.bsky.video.defs"), @@ -474,4 +473,4 @@ fn lexicon_doc_app_bsky_video_defs() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/video/get_job_status.rs b/crates/jacquard-api/src/app_bsky/video/get_job_status.rs index 7999185d..e21a87f4 100644 --- a/crates/jacquard-api/src/app_bsky/video/get_job_status.rs +++ b/crates/jacquard-api/src/app_bsky/video/get_job_status.rs @@ -8,24 +8,29 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_bsky::video::JobStatus; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::video::JobStatus; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetJobStatus { pub job_id: S, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetJobStatusOutput { pub job_status: JobStatus, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -58,7 +63,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetJobStatusRequest { pub mod get_job_status_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -143,4 +148,4 @@ where job_id: self._fields.0.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_bsky/video/get_upload_limits.rs b/crates/jacquard-api/src/app_bsky/video/get_upload_limits.rs index e78f4ed7..5061fe07 100644 --- a/crates/jacquard-api/src/app_bsky/video/get_upload_limits.rs +++ b/crates/jacquard-api/src/app_bsky/video/get_upload_limits.rs @@ -10,14 +10,17 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetUploadLimitsOutput { pub can_upload: bool, #[serde(skip_serializing_if = "Option::is_none")] @@ -58,4 +61,4 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetUploadLimitsRequest { const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Query; type Request = GetUploadLimits; type Response = GetUploadLimitsResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_certified.rs b/crates/jacquard-api/src/app_certified.rs index 81f07462..b279e765 100644 --- a/crates/jacquard-api/src/app_certified.rs +++ b/crates/jacquard-api/src/app_certified.rs @@ -9,7 +9,6 @@ pub mod actor; pub mod badge; pub mod location; - #[allow(unused_imports)] use alloc::collections::BTreeMap; @@ -27,11 +26,14 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// A Decentralized Identifier (DID) string. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Did { ///The DID string value. pub did: jacquard_common::types::string::Did, @@ -67,7 +69,7 @@ impl LexiconSchema for Did { pub mod did_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -163,10 +165,10 @@ where } fn lexicon_doc_app_certified_defs() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.certified.defs"), @@ -175,9 +177,9 @@ fn lexicon_doc_app_certified_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("did"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("A Decentralized Identifier (DID) string."), - ), + description: Some(CowStr::new_static( + "A Decentralized Identifier (DID) string.", + )), required: Some(vec![SmolStr::new_static("did")]), properties: { #[allow(unused_mut)] @@ -185,9 +187,7 @@ fn lexicon_doc_app_certified_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("did"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The DID string value."), - ), + description: Some(CowStr::new_static("The DID string value.")), format: Some(LexStringFormat::Did), max_length: Some(256usize), ..Default::default() @@ -202,4 +202,4 @@ fn lexicon_doc_app_certified_defs() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_certified/actor.rs b/crates/jacquard-api/src/app_certified/actor.rs index d677a6b5..f0b2e8a1 100644 --- a/crates/jacquard-api/src/app_certified/actor.rs +++ b/crates/jacquard-api/src/app_certified/actor.rs @@ -4,4 +4,4 @@ // Any manual changes will be overwritten on the next regeneration. pub mod organization; -pub mod profile; \ No newline at end of file +pub mod profile; diff --git a/crates/jacquard-api/src/app_certified/actor/organization.rs b/crates/jacquard-api/src/app_certified/actor/organization.rs index e64b9d48..d26371cc 100644 --- a/crates/jacquard-api/src/app_certified/actor/organization.rs +++ b/crates/jacquard-api/src/app_certified/actor/organization.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,11 +24,11 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::app_certified::actor::organization; +use crate::com_atproto::repo::strong_ref::StrongRef; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::com_atproto::repo::strong_ref::StrongRef; -use crate::app_certified::actor::organization; +use serde::{Deserialize, Serialize}; /// Extended metadata for an organization actor. Complements the base actor profile with organization-specific fields like legal structure and reference links. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -71,7 +71,10 @@ pub struct OrganizationGetRecordOutput { /// A labeled URL reference. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct UrlItem { ///Optional human-readable label for this URL (e.g. 'Support page', 'Donation page'). #[serde(skip_serializing_if = "Option::is_none")] @@ -203,7 +206,7 @@ impl LexiconSchema for UrlItem { pub mod organization_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -324,10 +327,7 @@ impl OrganizationBuilder { impl OrganizationBuilder { /// Set the `urls` field (optional) - pub fn urls( - mut self, - value: impl Into>>>, - ) -> Self { + pub fn urls(mut self, value: impl Into>>>) -> Self { self._fields.4 = value.into(); self } @@ -355,10 +355,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> Organization { + pub fn build_with_data(self, extra_data: BTreeMap>) -> Organization { Organization { created_at: self._fields.0.unwrap(), founded_date: self._fields.1, @@ -371,10 +368,10 @@ where } fn lexicon_doc_app_certified_actor_organization() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.certified.actor.organization"), @@ -508,7 +505,7 @@ fn lexicon_doc_app_certified_actor_organization() -> LexiconDoc<'static> { pub mod url_item_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -616,4 +613,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_certified/actor/profile.rs b/crates/jacquard-api/src/app_certified/actor/profile.rs index c3a364f3..a6903991 100644 --- a/crates/jacquard-api/src/app_certified/actor/profile.rs +++ b/crates/jacquard-api/src/app_certified/actor/profile.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,12 +24,12 @@ use jacquard_derive::{IntoStatic, lexicon, open_union}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::org_hypercerts::LargeImage; use crate::org_hypercerts::SmallImage; use crate::org_hypercerts::Uri; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; /// A declaration of a Certified account profile. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -64,7 +64,6 @@ pub struct Profile { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -75,7 +74,6 @@ pub enum ProfileAvatar { SmallImage(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -213,7 +211,7 @@ impl LexiconSchema for Profile { pub mod profile_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -407,10 +405,10 @@ where } fn lexicon_doc_app_certified_actor_profile() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.certified.actor.profile"), @@ -526,4 +524,4 @@ fn lexicon_doc_app_certified_actor_profile() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_certified/badge.rs b/crates/jacquard-api/src/app_certified/badge.rs index e5c12e4f..36cde3a3 100644 --- a/crates/jacquard-api/src/app_certified/badge.rs +++ b/crates/jacquard-api/src/app_certified/badge.rs @@ -5,4 +5,4 @@ pub mod award; pub mod definition; -pub mod response; \ No newline at end of file +pub mod response; diff --git a/crates/jacquard-api/src/app_certified/badge/award.rs b/crates/jacquard-api/src/app_certified/badge/award.rs index 035eb4e3..09106ad9 100644 --- a/crates/jacquard-api/src/app_certified/badge/award.rs +++ b/crates/jacquard-api/src/app_certified/badge/award.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,12 +24,12 @@ use jacquard_derive::{IntoStatic, lexicon, open_union}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::app_certified::Did; use crate::app_certified::badge::definition::Definition; use crate::com_atproto::repo::strong_ref::StrongRef; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; /// Records a badge award to a user, project, or activity claim. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -56,7 +56,6 @@ pub struct Award { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -148,7 +147,7 @@ impl LexiconSchema for Award { pub mod award_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -350,10 +349,10 @@ where } fn lexicon_doc_app_certified_badge_award() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.certified.badge.award"), @@ -447,4 +446,4 @@ fn lexicon_doc_app_certified_badge_award() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_certified/badge/definition.rs b/crates/jacquard-api/src/app_certified/badge/definition.rs index 62e5bc4f..8182b4ac 100644 --- a/crates/jacquard-api/src/app_certified/badge/definition.rs +++ b/crates/jacquard-api/src/app_certified/badge/definition.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -25,10 +25,10 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::app_certified::Did; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::app_certified::Did; +use serde::{Deserialize, Serialize}; /// Defines a badge that can be awarded via badge award records to users, projects, or activity claims. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -172,31 +172,25 @@ impl LexiconSchema for Definition { let value = &self.icon; { let mime = value.blob().mime_type.as_str(); - let accepted: &[&str] = &[ - "image/png", - "image/jpeg", - "image/webp", - "image/svg+xml", - ]; - let matched = accepted - .iter() - .any(|pattern| { - if *pattern == "*/*" { - true - } else if pattern.ends_with("/*") { - let prefix = &pattern[..pattern.len() - 2]; - mime.starts_with(prefix) - && mime.as_bytes().get(prefix.len()) == Some(&b'/') - } else { - mime == *pattern - } - }); + let accepted: &[&str] = &["image/png", "image/jpeg", "image/webp", "image/svg+xml"]; + let matched = accepted.iter().any(|pattern| { + if *pattern == "*/*" { + true + } else if pattern.ends_with("/*") { + let prefix = &pattern[..pattern.len() - 2]; + mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/') + } else { + mime == *pattern + } + }); if !matched { return Err(ConstraintError::BlobMimeTypeNotAccepted { path: ValidationPath::from_field("icon"), accepted: vec![ - "image/png".to_string(), "image/jpeg".to_string(), - "image/webp".to_string(), "image/svg+xml".to_string() + "image/png".to_string(), + "image/jpeg".to_string(), + "image/webp".to_string(), + "image/svg+xml".to_string(), ], actual: mime.to_string(), }); @@ -220,7 +214,7 @@ impl LexiconSchema for Definition { pub mod definition_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -447,10 +441,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> Definition { + pub fn build_with_data(self, extra_data: BTreeMap>) -> Definition { Definition { allowed_issuers: self._fields.0, badge_type: self._fields.1.unwrap(), @@ -464,10 +455,10 @@ where } fn lexicon_doc_app_certified_badge_definition() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.certified.badge.definition"), @@ -572,4 +563,4 @@ fn lexicon_doc_app_certified_badge_definition() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_certified/badge/response.rs b/crates/jacquard-api/src/app_certified/badge/response.rs index a02b131c..ba742a50 100644 --- a/crates/jacquard-api/src/app_certified/badge/response.rs +++ b/crates/jacquard-api/src/app_certified/badge/response.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::app_certified::badge::award::Award; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::app_certified::badge::award::Award; +use serde::{Deserialize, Serialize}; /// Recipient response to a badge award. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -201,7 +201,7 @@ impl LexiconSchema for Response { pub mod response_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -387,10 +387,10 @@ where } fn lexicon_doc_app_certified_badge_response() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.certified.badge.response"), @@ -467,4 +467,4 @@ fn lexicon_doc_app_certified_badge_response() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_certified/location.rs b/crates/jacquard-api/src/app_certified/location.rs index 1dbd61dd..0e1e1caf 100644 --- a/crates/jacquard-api/src/app_certified/location.rs +++ b/crates/jacquard-api/src/app_certified/location.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,12 +24,12 @@ use jacquard_derive::{IntoStatic, lexicon, open_union}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use crate::app_certified::location; use crate::org_hypercerts::SmallBlob; use crate::org_hypercerts::Uri; -use crate::app_certified::location; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; /// A location reference #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -60,7 +60,6 @@ pub struct Location { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -163,21 +162,15 @@ where type Output = LocationLocationType; fn into_static(self) -> Self::Output { match self { - LocationLocationType::CoordinateDecimal => { - LocationLocationType::CoordinateDecimal - } + LocationLocationType::CoordinateDecimal => LocationLocationType::CoordinateDecimal, LocationLocationType::GeojsonPoint => LocationLocationType::GeojsonPoint, LocationLocationType::Geojson => LocationLocationType::Geojson, LocationLocationType::H3 => LocationLocationType::H3, LocationLocationType::Geohash => LocationLocationType::Geohash, LocationLocationType::Wkt => LocationLocationType::Wkt, LocationLocationType::Address => LocationLocationType::Address, - LocationLocationType::ScaledCoordinates => { - LocationLocationType::ScaledCoordinates - } - LocationLocationType::Other(v) => { - LocationLocationType::Other(v.into_static()) - } + LocationLocationType::ScaledCoordinates => LocationLocationType::ScaledCoordinates, + LocationLocationType::Other(v) => LocationLocationType::Other(v.into_static()), } } } @@ -196,7 +189,10 @@ pub struct LocationGetRecordOutput { /// A location represented as a string, e.g. coordinates or a small GeoJSON string. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct LocationString { ///The location string value pub string: S, @@ -370,7 +366,7 @@ impl LexiconSchema for LocationString { pub mod location_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -652,10 +648,10 @@ where } fn lexicon_doc_app_certified_location() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.certified.location"), @@ -807,4 +803,4 @@ fn lexicon_doc_app_certified_location() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_chavatar.rs b/crates/jacquard-api/src/app_chavatar.rs index 4b317d50..04c793c3 100644 --- a/crates/jacquard-api/src/app_chavatar.rs +++ b/crates/jacquard-api/src/app_chavatar.rs @@ -5,4 +5,4 @@ pub mod avatar; pub mod settings; -pub mod state; \ No newline at end of file +pub mod state; diff --git a/crates/jacquard-api/src/app_chavatar/avatar.rs b/crates/jacquard-api/src/app_chavatar/avatar.rs index 42072362..57ab901a 100644 --- a/crates/jacquard-api/src/app_chavatar/avatar.rs +++ b/crates/jacquard-api/src/app_chavatar/avatar.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -27,7 +27,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// An individual avatar image record. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -117,25 +117,23 @@ impl LexiconSchema for Avatar { { let mime = value.blob().mime_type.as_str(); let accepted: &[&str] = &["image/png", "image/jpeg", "image/webp"]; - let matched = accepted - .iter() - .any(|pattern| { - if *pattern == "*/*" { - true - } else if pattern.ends_with("/*") { - let prefix = &pattern[..pattern.len() - 2]; - mime.starts_with(prefix) - && mime.as_bytes().get(prefix.len()) == Some(&b'/') - } else { - mime == *pattern - } - }); + let matched = accepted.iter().any(|pattern| { + if *pattern == "*/*" { + true + } else if pattern.ends_with("/*") { + let prefix = &pattern[..pattern.len() - 2]; + mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/') + } else { + mime == *pattern + } + }); if !matched { return Err(ConstraintError::BlobMimeTypeNotAccepted { path: ValidationPath::from_field("avatar"), accepted: vec![ - "image/png".to_string(), "image/jpeg".to_string(), - "image/webp".to_string() + "image/png".to_string(), + "image/jpeg".to_string(), + "image/webp".to_string(), ], actual: mime.to_string(), }); @@ -148,7 +146,7 @@ impl LexiconSchema for Avatar { pub mod avatar_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -278,10 +276,10 @@ where } fn lexicon_doc_app_chavatar_avatar() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.chavatar.avatar"), @@ -290,23 +288,21 @@ fn lexicon_doc_app_chavatar_avatar() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static("An individual avatar image record."), - ), + description: Some(CowStr::new_static("An individual avatar image record.")), key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("avatar"), - SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("avatar"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("avatar"), - LexObjectProperty::Blob(LexBlob { ..Default::default() }), + LexObjectProperty::Blob(LexBlob { + ..Default::default() + }), ); map.insert( SmolStr::new_static("createdAt"), @@ -326,4 +322,4 @@ fn lexicon_doc_app_chavatar_avatar() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_chavatar/settings.rs b/crates/jacquard-api/src/app_chavatar/settings.rs index b8ad4a40..80cc7d9b 100644 --- a/crates/jacquard-api/src/app_chavatar/settings.rs +++ b/crates/jacquard-api/src/app_chavatar/settings.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,14 +24,17 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::app_chavatar::settings; +use crate::com_atproto::repo::strong_ref::StrongRef; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::com_atproto::repo::strong_ref::StrongRef; -use crate::app_chavatar::settings; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct AvatarItem { pub id: S, pub image: StrongRef, @@ -57,7 +60,6 @@ pub struct Settings { pub extra_data: Option>>, } - #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum SettingsInterval { _1h, @@ -155,7 +157,6 @@ where } } - #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum SettingsMode { Sequential, @@ -342,7 +343,7 @@ impl LexiconSchema for Settings { pub mod avatar_item_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -415,10 +416,7 @@ where St::Id: avatar_item_state::IsUnset, { /// Set the `id` field (required) - pub fn id( - mut self, - value: impl Into, - ) -> AvatarItemBuilder> { + pub fn id(mut self, value: impl Into) -> AvatarItemBuilder> { self._fields.0 = Option::Some(value.into()); AvatarItemBuilder { _state: PhantomData, @@ -462,10 +460,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> AvatarItem { + pub fn build_with_data(self, extra_data: BTreeMap>) -> AvatarItem { AvatarItem { id: self._fields.0.unwrap(), image: self._fields.1.unwrap(), @@ -475,10 +470,10 @@ where } fn lexicon_doc_app_chavatar_settings() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.chavatar.settings"), @@ -487,9 +482,10 @@ fn lexicon_doc_app_chavatar_settings() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("avatarItem"), LexUserType::Object(LexObject { - required: Some( - vec![SmolStr::new_static("id"), SmolStr::new_static("image")], - ), + required: Some(vec![ + SmolStr::new_static("id"), + SmolStr::new_static("image"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -515,18 +511,15 @@ fn lexicon_doc_app_chavatar_settings() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static("Rotation configuration for a user."), - ), + description: Some(CowStr::new_static("Rotation configuration for a user.")), key: Some(CowStr::new_static("literal:self")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("enabled"), - SmolStr::new_static("interval"), - SmolStr::new_static("mode"), SmolStr::new_static("avatars") - ], - ), + required: Some(vec![ + SmolStr::new_static("enabled"), + SmolStr::new_static("interval"), + SmolStr::new_static("mode"), + SmolStr::new_static("avatars"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -575,7 +568,7 @@ fn lexicon_doc_app_chavatar_settings() -> LexiconDoc<'static> { pub mod settings_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -781,4 +774,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_chavatar/state.rs b/crates/jacquard-api/src/app_chavatar/state.rs index d8567a48..3f63eba2 100644 --- a/crates/jacquard-api/src/app_chavatar/state.rs +++ b/crates/jacquard-api/src/app_chavatar/state.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// Current execution state of rotation. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -117,7 +117,7 @@ impl LexiconSchema for State { pub mod state_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -190,10 +190,7 @@ where St::Cursor: state_state::IsUnset, { /// Set the `cursor` field (required) - pub fn cursor( - mut self, - value: impl Into, - ) -> StateBuilder> { + pub fn cursor(mut self, value: impl Into) -> StateBuilder> { self._fields.0 = Option::Some(value.into()); StateBuilder { _state: PhantomData, @@ -247,10 +244,10 @@ where } fn lexicon_doc_app_chavatar_state() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.chavatar.state"), @@ -306,4 +303,4 @@ fn lexicon_doc_app_chavatar_state() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_chronosky.rs b/crates/jacquard-api/src/app_chronosky.rs index 891e2fee..4f343b8a 100644 --- a/crates/jacquard-api/src/app_chronosky.rs +++ b/crates/jacquard-api/src/app_chronosky.rs @@ -5,4 +5,4 @@ pub mod media; pub mod plan; -pub mod schedule; \ No newline at end of file +pub mod schedule; diff --git a/crates/jacquard-api/src/app_chronosky/media.rs b/crates/jacquard-api/src/app_chronosky/media.rs index 1130d2d3..a008d97d 100644 --- a/crates/jacquard-api/src/app_chronosky/media.rs +++ b/crates/jacquard-api/src/app_chronosky/media.rs @@ -4,4 +4,4 @@ // Any manual changes will be overwritten on the next regeneration. pub mod get_blob; -pub mod upload_blob; \ No newline at end of file +pub mod upload_blob; diff --git a/crates/jacquard-api/src/app_chronosky/media/get_blob.rs b/crates/jacquard-api/src/app_chronosky/media/get_blob.rs index ed9c3130..a421c6fc 100644 --- a/crates/jacquard-api/src/app_chronosky/media/get_blob.rs +++ b/crates/jacquard-api/src/app_chronosky/media/get_blob.rs @@ -10,38 +10,31 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::bytes::Bytes; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetBlob { pub cid: S, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(rename_all = "camelCase")] pub struct GetBlobOutput { pub body: Bytes, } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum GetBlobError { /// The requested blob was not found. @@ -52,7 +45,10 @@ pub enum GetBlobError { InvalidRequest(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for GetBlobError { @@ -128,7 +124,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetBlobRequest { pub mod get_blob_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -189,10 +185,7 @@ where St::Cid: get_blob_state::IsUnset, { /// Set the `cid` field (required) - pub fn cid( - mut self, - value: impl Into, - ) -> GetBlobBuilder> { + pub fn cid(mut self, value: impl Into) -> GetBlobBuilder> { self._fields.0 = Option::Some(value.into()); GetBlobBuilder { _state: PhantomData, @@ -213,4 +206,4 @@ where cid: self._fields.0.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_chronosky/media/upload_blob.rs b/crates/jacquard-api/src/app_chronosky/media/upload_blob.rs index dc18acd6..b450c48b 100644 --- a/crates/jacquard-api/src/app_chronosky/media/upload_blob.rs +++ b/crates/jacquard-api/src/app_chronosky/media/upload_blob.rs @@ -10,13 +10,13 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::bytes::Bytes; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::blob::BlobRef; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// Binary image data. Supported formats: JPEG, PNG, WebP, GIF. Maximum size: 1MB (1,000,000 bytes). #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -25,9 +25,11 @@ pub struct UploadBlob { pub body: Bytes, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct UploadBlobOutput { ///Blob reference object that can be used in post embeds (app.bsky.embed.images). pub blob: BlobRef, @@ -35,18 +37,9 @@ pub struct UploadBlobOutput { pub extra_data: Option>>, } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum UploadBlobError { #[serde(rename = "InvalidContentType")] @@ -59,7 +52,10 @@ pub enum UploadBlobError { NoActiveSession(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for UploadBlobError { @@ -115,22 +111,16 @@ impl jacquard_common::xrpc::XrpcResp for UploadBlobResponse { impl jacquard_common::xrpc::XrpcRequest for UploadBlob { const NSID: &'static str = "app.chronosky.media.uploadBlob"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "image/jpeg,image/png,image/webp,image/gif", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("image/jpeg,image/png,image/webp,image/gif"); type Response = UploadBlobResponse; - fn encode_body( - &self, - buffer: &mut Vec, - ) -> Result<(), jacquard_common::xrpc::EncodeError> + fn encode_body(&self, buffer: &mut Vec) -> Result<(), jacquard_common::xrpc::EncodeError> where Self: Serialize, { Ok(buffer.copy_from_slice(self.body.as_ref())) } - fn decode_body<'de>( - body: &'de [u8], - ) -> Result + fn decode_body<'de>(body: &'de [u8]) -> Result where Self: Deserialize<'de>, { @@ -144,9 +134,8 @@ impl jacquard_common::xrpc::XrpcRequest for UploadBlob { pub struct UploadBlobRequest; impl jacquard_common::xrpc::XrpcEndpoint for UploadBlobRequest { const PATH: &'static str = "/xrpc/app.chronosky.media.uploadBlob"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "image/jpeg,image/png,image/webp,image/gif", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("image/jpeg,image/png,image/webp,image/gif"); type Request = UploadBlob; type Response = UploadBlobResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_chronosky/plan.rs b/crates/jacquard-api/src/app_chronosky/plan.rs index e17ddf59..a8678557 100644 --- a/crates/jacquard-api/src/app_chronosky/plan.rs +++ b/crates/jacquard-api/src/app_chronosky/plan.rs @@ -6,4 +6,4 @@ pub mod get_assignment; pub mod get_usage; pub mod list_assignments; -pub mod redeem_ticket; \ No newline at end of file +pub mod redeem_ticket; diff --git a/crates/jacquard-api/src/app_chronosky/plan/get_assignment.rs b/crates/jacquard-api/src/app_chronosky/plan/get_assignment.rs index bbbf4997..9f547d2d 100644 --- a/crates/jacquard-api/src/app_chronosky/plan/get_assignment.rs +++ b/crates/jacquard-api/src/app_chronosky/plan/get_assignment.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -21,13 +21,16 @@ use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::app_chronosky::plan::get_assignment; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::app_chronosky::plan::get_assignment; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetAssignmentOutput { ///Active plan assignment (null if no active plan) #[serde(skip_serializing_if = "Option::is_none")] @@ -42,7 +45,10 @@ pub struct GetAssignmentOutput { /// Plan assignment details. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct PlanAssignment { ///Plan activation timestamp pub activated_at: Datetime, @@ -65,7 +71,10 @@ pub struct PlanAssignment { /// Plan information. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct PlanInfo { ///Plan description #[serde(skip_serializing_if = "Option::is_none")] @@ -99,7 +108,10 @@ pub struct PlanInfo { /// Ticket information. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct TicketInfo { ///Ticket code pub code: S, @@ -271,7 +283,7 @@ impl LexiconSchema for TicketInfo { pub mod plan_assignment_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -530,10 +542,7 @@ where impl PlanAssignmentBuilder { /// Set the `ticket` field (optional) - pub fn ticket( - mut self, - value: impl Into>>, - ) -> Self { + pub fn ticket(mut self, value: impl Into>>) -> Self { self._fields.6 = value.into(); self } @@ -568,10 +577,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> PlanAssignment { + pub fn build_with_data(self, extra_data: BTreeMap>) -> PlanAssignment { PlanAssignment { activated_at: self._fields.0.unwrap(), expires_at: self._fields.1.unwrap(), @@ -586,10 +592,10 @@ where } fn lexicon_doc_app_chronosky_plan_getAssignment() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.chronosky.plan.getAssignment"), @@ -606,24 +612,21 @@ fn lexicon_doc_app_chronosky_plan_getAssignment() -> LexiconDoc<'static> { SmolStr::new_static("planAssignment"), LexUserType::Object(LexObject { description: Some(CowStr::new_static("Plan assignment details.")), - required: Some( - vec![ - SmolStr::new_static("id"), SmolStr::new_static("planId"), - SmolStr::new_static("plan"), - SmolStr::new_static("activatedAt"), - SmolStr::new_static("expiresAt"), - SmolStr::new_static("status") - ], - ), + required: Some(vec![ + SmolStr::new_static("id"), + SmolStr::new_static("planId"), + SmolStr::new_static("plan"), + SmolStr::new_static("activatedAt"), + SmolStr::new_static("expiresAt"), + SmolStr::new_static("status"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("activatedAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Plan activation timestamp"), - ), + description: Some(CowStr::new_static("Plan activation timestamp")), format: Some(LexStringFormat::Datetime), max_length: Some(100usize), ..Default::default() @@ -632,9 +635,7 @@ fn lexicon_doc_app_chronosky_plan_getAssignment() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("expiresAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Plan expiration timestamp"), - ), + description: Some(CowStr::new_static("Plan expiration timestamp")), format: Some(LexStringFormat::Datetime), max_length: Some(100usize), ..Default::default() @@ -666,9 +667,7 @@ fn lexicon_doc_app_chronosky_plan_getAssignment() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("status"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Plan assignment status"), - ), + description: Some(CowStr::new_static("Plan assignment status")), max_length: Some(20usize), ..Default::default() }), @@ -689,9 +688,7 @@ fn lexicon_doc_app_chronosky_plan_getAssignment() -> LexiconDoc<'static> { SmolStr::new_static("planInfo"), LexUserType::Object(LexObject { description: Some(CowStr::new_static("Plan information.")), - required: Some( - vec![SmolStr::new_static("id"), SmolStr::new_static("name")], - ), + required: Some(vec![SmolStr::new_static("id"), SmolStr::new_static("name")]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -764,9 +761,7 @@ fn lexicon_doc_app_chronosky_plan_getAssignment() -> LexiconDoc<'static> { SmolStr::new_static("ticketInfo"), LexUserType::Object(LexObject { description: Some(CowStr::new_static("Ticket information.")), - required: Some( - vec![SmolStr::new_static("id"), SmolStr::new_static("code")], - ), + required: Some(vec![SmolStr::new_static("id"), SmolStr::new_static("code")]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -795,4 +790,4 @@ fn lexicon_doc_app_chronosky_plan_getAssignment() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_chronosky/plan/get_usage.rs b/crates/jacquard-api/src/app_chronosky/plan/get_usage.rs index 1f61d5ad..c4a82869 100644 --- a/crates/jacquard-api/src/app_chronosky/plan/get_usage.rs +++ b/crates/jacquard-api/src/app_chronosky/plan/get_usage.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -21,14 +21,17 @@ use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::app_chronosky::plan::get_usage; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::app_chronosky::plan::get_usage; +use serde::{Deserialize, Serialize}; /// Current plan information. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct CurrentPlan { ///Localized plan display names pub display_name: Data, @@ -47,9 +50,11 @@ pub struct CurrentPlan { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetUsageOutput { pub current_plan: get_usage::CurrentPlan, pub limits: get_usage::PlanLimits, @@ -61,7 +66,10 @@ pub struct GetUsageOutput { /// Plan limits. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct PlanLimits { ///Whether markdown formatting is supported #[serde(skip_serializing_if = "Option::is_none")] @@ -100,7 +108,10 @@ pub struct PlanLimits { /// Usage statistics. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct UsageStats { ///API requests in current hour #[serde(skip_serializing_if = "Option::is_none")] @@ -230,7 +241,7 @@ impl LexiconSchema for UsageStats { pub mod current_plan_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -482,10 +493,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> CurrentPlan { + pub fn build_with_data(self, extra_data: BTreeMap>) -> CurrentPlan { CurrentPlan { display_name: self._fields.0.unwrap(), id: self._fields.1.unwrap(), @@ -499,10 +507,10 @@ where } fn lexicon_doc_app_chronosky_plan_getUsage() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.chronosky.plan.getUsage"), @@ -512,14 +520,13 @@ fn lexicon_doc_app_chronosky_plan_getUsage() -> LexiconDoc<'static> { SmolStr::new_static("currentPlan"), LexUserType::Object(LexObject { description: Some(CowStr::new_static("Current plan information.")), - required: Some( - vec![ - SmolStr::new_static("id"), SmolStr::new_static("tier"), - SmolStr::new_static("name"), - SmolStr::new_static("displayName"), - SmolStr::new_static("isActive") - ], - ), + required: Some(vec![ + SmolStr::new_static("id"), + SmolStr::new_static("tier"), + SmolStr::new_static("name"), + SmolStr::new_static("displayName"), + SmolStr::new_static("isActive"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -554,11 +561,9 @@ fn lexicon_doc_app_chronosky_plan_getUsage() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("tier"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Plan tier (FREE, BASIC, STANDARD, PREMIUM)", - ), - ), + description: Some(CowStr::new_static( + "Plan tier (FREE, BASIC, STANDARD, PREMIUM)", + )), max_length: Some(50usize), ..Default::default() }), @@ -566,9 +571,9 @@ fn lexicon_doc_app_chronosky_plan_getUsage() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("validUntil"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Plan expiration date (ISO 8601)"), - ), + description: Some(CowStr::new_static( + "Plan expiration date (ISO 8601)", + )), format: Some(LexStringFormat::Datetime), max_length: Some(100usize), ..Default::default() @@ -590,16 +595,14 @@ fn lexicon_doc_app_chronosky_plan_getUsage() -> LexiconDoc<'static> { SmolStr::new_static("planLimits"), LexUserType::Object(LexObject { description: Some(CowStr::new_static("Plan limits.")), - required: Some( - vec![ - SmolStr::new_static("monthlyPostsLimit"), - SmolStr::new_static("pendingPostsLimit"), - SmolStr::new_static("maxScheduleDays"), - SmolStr::new_static("scheduleIntervalMinutes"), - SmolStr::new_static("maxImagesPerPost"), - SmolStr::new_static("threadPostsLimit") - ], - ), + required: Some(vec![ + SmolStr::new_static("monthlyPostsLimit"), + SmolStr::new_static("pendingPostsLimit"), + SmolStr::new_static("maxScheduleDays"), + SmolStr::new_static("scheduleIntervalMinutes"), + SmolStr::new_static("maxImagesPerPost"), + SmolStr::new_static("threadPostsLimit"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -684,15 +687,13 @@ fn lexicon_doc_app_chronosky_plan_getUsage() -> LexiconDoc<'static> { SmolStr::new_static("usageStats"), LexUserType::Object(LexObject { description: Some(CowStr::new_static("Usage statistics.")), - required: Some( - vec![ - SmolStr::new_static("pendingPostsCount"), - SmolStr::new_static("monthlyPostsCount"), - SmolStr::new_static("monthlyPeriodStart"), - SmolStr::new_static("monthlyPeriodEnd"), - SmolStr::new_static("lastUpdated") - ], - ), + required: Some(vec![ + SmolStr::new_static("pendingPostsCount"), + SmolStr::new_static("monthlyPostsCount"), + SmolStr::new_static("monthlyPeriodStart"), + SmolStr::new_static("monthlyPeriodEnd"), + SmolStr::new_static("lastUpdated"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -705,9 +706,9 @@ fn lexicon_doc_app_chronosky_plan_getUsage() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("lastUpdated"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Last time usage was updated (ISO 8601)"), - ), + description: Some(CowStr::new_static( + "Last time usage was updated (ISO 8601)", + )), format: Some(LexStringFormat::Datetime), max_length: Some(100usize), ..Default::default() @@ -716,11 +717,9 @@ fn lexicon_doc_app_chronosky_plan_getUsage() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("monthlyPeriodEnd"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "End of current monthly period (ISO 8601)", - ), - ), + description: Some(CowStr::new_static( + "End of current monthly period (ISO 8601)", + )), format: Some(LexStringFormat::Datetime), max_length: Some(100usize), ..Default::default() @@ -729,11 +728,9 @@ fn lexicon_doc_app_chronosky_plan_getUsage() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("monthlyPeriodStart"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Start of current monthly period (ISO 8601)", - ), - ), + description: Some(CowStr::new_static( + "Start of current monthly period (ISO 8601)", + )), format: Some(LexStringFormat::Datetime), max_length: Some(100usize), ..Default::default() @@ -770,7 +767,7 @@ fn lexicon_doc_app_chronosky_plan_getUsage() -> LexiconDoc<'static> { pub mod plan_limits_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -913,18 +910,7 @@ impl PlanLimitsBuilder { PlanLimitsBuilder { _state: PhantomData, _fields: ( - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, + None, None, None, None, None, None, None, None, None, None, None, None, ), _type: PhantomData, } @@ -1099,10 +1085,7 @@ where impl PlanLimitsBuilder { /// Set the `videoProcessingMinutesMonthly` field (optional) - pub fn video_processing_minutes_monthly( - mut self, - value: impl Into>, - ) -> Self { + pub fn video_processing_minutes_monthly(mut self, value: impl Into>) -> Self { self._fields.10 = value.into(); self } @@ -1155,10 +1138,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> PlanLimits { + pub fn build_with_data(self, extra_data: BTreeMap>) -> PlanLimits { PlanLimits { markdown_support: self._fields.0, max_image_size_mb: self._fields.1, @@ -1179,7 +1159,7 @@ where pub mod usage_stats_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -1446,10 +1426,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> UsageStats { + pub fn build_with_data(self, extra_data: BTreeMap>) -> UsageStats { UsageStats { api_requests_this_hour: self._fields.0, last_updated: self._fields.1.unwrap(), @@ -1461,4 +1438,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_chronosky/plan/list_assignments.rs b/crates/jacquard-api/src/app_chronosky/plan/list_assignments.rs index 97219d17..1d8270e7 100644 --- a/crates/jacquard-api/src/app_chronosky/plan/list_assignments.rs +++ b/crates/jacquard-api/src/app_chronosky/plan/list_assignments.rs @@ -8,17 +8,20 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_chronosky::plan::get_assignment::PlanAssignment; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_chronosky::plan::get_assignment::PlanAssignment; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ListAssignmentsOutput { ///List of plan assignments pub assignments: Vec>, @@ -52,4 +55,4 @@ impl jacquard_common::xrpc::XrpcEndpoint for ListAssignmentsRequest { const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Query; type Request = ListAssignments; type Response = ListAssignmentsResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_chronosky/plan/redeem_ticket.rs b/crates/jacquard-api/src/app_chronosky/plan/redeem_ticket.rs index 2a9191d0..42c0eb1b 100644 --- a/crates/jacquard-api/src/app_chronosky/plan/redeem_ticket.rs +++ b/crates/jacquard-api/src/app_chronosky/plan/redeem_ticket.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -21,13 +21,16 @@ use jacquard_derive::{IntoStatic, open_union}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::app_chronosky::plan::redeem_ticket; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::app_chronosky::plan::redeem_ticket; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct RedeemTicket { ///Ticket redemption code pub code: S, @@ -35,9 +38,11 @@ pub struct RedeemTicket { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct RedeemTicketOutput { pub assignment: redeem_ticket::RedeemedAssignment, ///Success message @@ -46,18 +51,9 @@ pub struct RedeemTicketOutput { pub extra_data: Option>>, } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum RedeemTicketError { /// Ticket code not found @@ -71,7 +67,10 @@ pub enum RedeemTicketError { TicketExpired(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for RedeemTicketError { @@ -112,7 +111,10 @@ impl core::fmt::Display for RedeemTicketError { /// Redeemed plan assignment. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct RedeemedAssignment { ///Plan activation timestamp pub activated_at: Datetime, @@ -139,9 +141,8 @@ impl jacquard_common::xrpc::XrpcResp for RedeemTicketResponse { impl jacquard_common::xrpc::XrpcRequest for RedeemTicket { const NSID: &'static str = "app.chronosky.plan.redeemTicket"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = RedeemTicketResponse; } @@ -149,9 +150,8 @@ impl jacquard_common::xrpc::XrpcRequest for RedeemTicket { pub struct RedeemTicketRequest; impl jacquard_common::xrpc::XrpcEndpoint for RedeemTicketRequest { const PATH: &'static str = "/xrpc/app.chronosky.plan.redeemTicket"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = RedeemTicket; type Response = RedeemTicketResponse; } @@ -206,7 +206,7 @@ impl LexiconSchema for RedeemedAssignment { pub mod redeemed_assignment_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -299,7 +299,13 @@ pub mod redeemed_assignment_state { /// Builder for constructing an instance of this type. pub struct RedeemedAssignmentBuilder { _state: PhantomData St>, - _fields: (Option, Option, Option, Option, Option), + _fields: ( + Option, + Option, + Option, + Option, + Option, + ), _type: PhantomData S>, } @@ -437,10 +443,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> RedeemedAssignment { + pub fn build_with_data(self, extra_data: BTreeMap>) -> RedeemedAssignment { RedeemedAssignment { activated_at: self._fields.0.unwrap(), expires_at: self._fields.1.unwrap(), @@ -453,10 +456,10 @@ where } fn lexicon_doc_app_chronosky_plan_redeemTicket() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.chronosky.plan.redeemTicket"), @@ -467,28 +470,26 @@ fn lexicon_doc_app_chronosky_plan_redeemTicket() -> LexiconDoc<'static> { LexUserType::XrpcProcedure(LexXrpcProcedure { input: Some(LexXrpcBody { encoding: CowStr::new_static("application/json"), - schema: Some( - LexXrpcBodySchema::Object(LexObject { - required: Some(vec![SmolStr::new_static("code")]), - properties: { - #[allow(unused_mut)] - let mut map = BTreeMap::new(); - map.insert( - SmolStr::new_static("code"), - LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Ticket redemption code"), - ), - min_length: Some(1usize), - max_length: Some(100usize), - ..Default::default() - }), - ); - map - }, - ..Default::default() - }), - ), + schema: Some(LexXrpcBodySchema::Object(LexObject { + required: Some(vec![SmolStr::new_static("code")]), + properties: { + #[allow(unused_mut)] + let mut map = BTreeMap::new(); + map.insert( + SmolStr::new_static("code"), + LexObjectProperty::String(LexString { + description: Some(CowStr::new_static( + "Ticket redemption code", + )), + min_length: Some(1usize), + max_length: Some(100usize), + ..Default::default() + }), + ); + map + }, + ..Default::default() + })), ..Default::default() }), ..Default::default() @@ -498,23 +499,20 @@ fn lexicon_doc_app_chronosky_plan_redeemTicket() -> LexiconDoc<'static> { SmolStr::new_static("redeemedAssignment"), LexUserType::Object(LexObject { description: Some(CowStr::new_static("Redeemed plan assignment.")), - required: Some( - vec![ - SmolStr::new_static("id"), SmolStr::new_static("planId"), - SmolStr::new_static("activatedAt"), - SmolStr::new_static("expiresAt"), - SmolStr::new_static("status") - ], - ), + required: Some(vec![ + SmolStr::new_static("id"), + SmolStr::new_static("planId"), + SmolStr::new_static("activatedAt"), + SmolStr::new_static("expiresAt"), + SmolStr::new_static("status"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("activatedAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Plan activation timestamp"), - ), + description: Some(CowStr::new_static("Plan activation timestamp")), format: Some(LexStringFormat::Datetime), max_length: Some(100usize), ..Default::default() @@ -523,9 +521,7 @@ fn lexicon_doc_app_chronosky_plan_redeemTicket() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("expiresAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Plan expiration timestamp"), - ), + description: Some(CowStr::new_static("Plan expiration timestamp")), format: Some(LexStringFormat::Datetime), max_length: Some(100usize), ..Default::default() @@ -550,9 +546,7 @@ fn lexicon_doc_app_chronosky_plan_redeemTicket() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("status"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Plan assignment status"), - ), + description: Some(CowStr::new_static("Plan assignment status")), max_length: Some(20usize), ..Default::default() }), @@ -566,4 +560,4 @@ fn lexicon_doc_app_chronosky_plan_redeemTicket() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_chronosky/schedule.rs b/crates/jacquard-api/src/app_chronosky/schedule.rs index 289cdc4e..711df0ae 100644 --- a/crates/jacquard-api/src/app_chronosky/schedule.rs +++ b/crates/jacquard-api/src/app_chronosky/schedule.rs @@ -8,4 +8,4 @@ pub mod delete_post; pub mod get_post; pub mod list_posts; pub mod retry_failed_posts; -pub mod update_post; \ No newline at end of file +pub mod update_post; diff --git a/crates/jacquard-api/src/app_chronosky/schedule/create_post.rs b/crates/jacquard-api/src/app_chronosky/schedule/create_post.rs index cc27eb33..f8904781 100644 --- a/crates/jacquard-api/src/app_chronosky/schedule/create_post.rs +++ b/crates/jacquard-api/src/app_chronosky/schedule/create_post.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -21,9 +21,6 @@ use jacquard_derive::{IntoStatic, open_union}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::app_bsky::embed::external::ExternalRecord; use crate::app_bsky::embed::images::Images; use crate::app_bsky::embed::record::Record; @@ -34,11 +31,17 @@ use crate::app_bsky::feed::threadgate::FollowingRule; use crate::app_bsky::feed::threadgate::ListRule; use crate::app_bsky::feed::threadgate::MentionRule; use crate::app_bsky::richtext::facet::Facet; -use crate::com_atproto::label::SelfLabels; use crate::app_chronosky::schedule::create_post; +use crate::com_atproto::label::SelfLabels; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct CreatePost { ///Whether to disable quote posts #[serde(skip_serializing_if = "Option::is_none")] @@ -57,7 +60,6 @@ pub struct CreatePost { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -72,9 +74,11 @@ pub enum CreatePostThreadgateRulesItem { ThreadgateListRule(Box>), } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct CreatePostOutput { ///Chronosky schedule ID (parent post ID for threads) pub id: S, @@ -89,7 +93,10 @@ pub struct CreatePostOutput { /// Individual post input for thread scheduling. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ThreadPostInput { ///Post creation timestamp (optional) #[serde(skip_serializing_if = "Option::is_none")] @@ -112,7 +119,6 @@ pub struct ThreadPostInput { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -140,9 +146,8 @@ impl jacquard_common::xrpc::XrpcResp for CreatePostResponse { impl jacquard_common::xrpc::XrpcRequest for CreatePost { const NSID: &'static str = "app.chronosky.schedule.createPost"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = CreatePostResponse; } @@ -150,9 +155,8 @@ impl jacquard_common::xrpc::XrpcRequest for CreatePost { pub struct CreatePostRequest; impl jacquard_common::xrpc::XrpcEndpoint for CreatePostRequest { const PATH: &'static str = "/xrpc/app.chronosky.schedule.createPost"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = CreatePost; type Response = CreatePostResponse; } @@ -218,7 +222,7 @@ impl LexiconSchema for ThreadPostInput { pub mod create_post_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -392,10 +396,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> CreatePost { + pub fn build_with_data(self, extra_data: BTreeMap>) -> CreatePost { CreatePost { disable_quote_posts: self._fields.0, parent_post_id: self._fields.1, @@ -408,10 +409,10 @@ where } fn lexicon_doc_app_chronosky_schedule_createPost() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.chronosky.schedule.createPost"), @@ -513,11 +514,9 @@ fn lexicon_doc_app_chronosky_schedule_createPost() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("threadPostInput"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "Individual post input for thread scheduling.", - ), - ), + description: Some(CowStr::new_static( + "Individual post input for thread scheduling.", + )), required: Some(vec![SmolStr::new_static("text")]), properties: { #[allow(unused_mut)] @@ -525,9 +524,9 @@ fn lexicon_doc_app_chronosky_schedule_createPost() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("createdAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Post creation timestamp (optional)"), - ), + description: Some(CowStr::new_static( + "Post creation timestamp (optional)", + )), format: Some(LexStringFormat::Datetime), max_length: Some(100usize), ..Default::default() @@ -536,17 +535,15 @@ fn lexicon_doc_app_chronosky_schedule_createPost() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("embed"), LexObjectProperty::Union(LexRefUnion { - description: Some( - CowStr::new_static( - "Embedded content (images, external links, records).", - ), - ), + description: Some(CowStr::new_static( + "Embedded content (images, external links, records).", + )), refs: vec![ CowStr::new_static("app.bsky.embed.images"), CowStr::new_static("app.bsky.embed.external"), CowStr::new_static("app.bsky.embed.record"), CowStr::new_static("app.bsky.embed.video"), - CowStr::new_static("app.bsky.embed.recordWithMedia") + CowStr::new_static("app.bsky.embed.recordWithMedia"), ], ..Default::default() }), @@ -554,11 +551,9 @@ fn lexicon_doc_app_chronosky_schedule_createPost() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("facets"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static( - "Rich text facets (mentions, links, tags)", - ), - ), + description: Some(CowStr::new_static( + "Rich text facets (mentions, links, tags)", + )), items: LexArrayItem::Ref(LexRef { r#ref: CowStr::new_static("app.bsky.richtext.facet"), ..Default::default() @@ -570,18 +565,14 @@ fn lexicon_doc_app_chronosky_schedule_createPost() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("labels"), LexObjectProperty::Ref(LexRef { - r#ref: CowStr::new_static( - "com.atproto.label.defs#selfLabels", - ), + r#ref: CowStr::new_static("com.atproto.label.defs#selfLabels"), ..Default::default() }), ); map.insert( SmolStr::new_static("langs"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static("Language codes (ISO 639-1)"), - ), + description: Some(CowStr::new_static("Language codes (ISO 639-1)")), items: LexArrayItem::String(LexString { format: Some(LexStringFormat::Language), ..Default::default() @@ -608,4 +599,4 @@ fn lexicon_doc_app_chronosky_schedule_createPost() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_chronosky/schedule/delete_post.rs b/crates/jacquard-api/src/app_chronosky/schedule/delete_post.rs index d91a96f9..add58e63 100644 --- a/crates/jacquard-api/src/app_chronosky/schedule/delete_post.rs +++ b/crates/jacquard-api/src/app_chronosky/schedule/delete_post.rs @@ -10,14 +10,17 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DeletePost { ///Post ID to delete. pub id: S, @@ -25,9 +28,11 @@ pub struct DeletePost { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DeletePostOutput { ///Deletion success flag. pub success: bool, @@ -35,18 +40,9 @@ pub struct DeletePostOutput { pub extra_data: Option>>, } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum DeletePostError { #[serde(rename = "PostNotFound")] @@ -55,7 +51,10 @@ pub enum DeletePostError { PostNotPending(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for DeletePostError { @@ -97,9 +96,8 @@ impl jacquard_common::xrpc::XrpcResp for DeletePostResponse { impl jacquard_common::xrpc::XrpcRequest for DeletePost { const NSID: &'static str = "app.chronosky.schedule.deletePost"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = DeletePostResponse; } @@ -107,9 +105,8 @@ impl jacquard_common::xrpc::XrpcRequest for DeletePost { pub struct DeletePostRequest; impl jacquard_common::xrpc::XrpcEndpoint for DeletePostRequest { const PATH: &'static str = "/xrpc/app.chronosky.schedule.deletePost"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = DeletePost; type Response = DeletePostResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_chronosky/schedule/get_post.rs b/crates/jacquard-api/src/app_chronosky/schedule/get_post.rs index 3c0d1b37..fd4a9fc7 100644 --- a/crates/jacquard-api/src/app_chronosky/schedule/get_post.rs +++ b/crates/jacquard-api/src/app_chronosky/schedule/get_post.rs @@ -8,49 +8,48 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_chronosky::schedule::list_posts::ScheduledPost; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; -use crate::app_chronosky::schedule::list_posts::ScheduledPost; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetPost { pub id: S, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetPostOutput { pub post: ScheduledPost, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum GetPostError { #[serde(rename = "PostNotFound")] PostNotFound(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for GetPostError { @@ -100,7 +99,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetPostRequest { pub mod get_post_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -161,10 +160,7 @@ where St::Id: get_post_state::IsUnset, { /// Set the `id` field (required) - pub fn id( - mut self, - value: impl Into, - ) -> GetPostBuilder> { + pub fn id(mut self, value: impl Into) -> GetPostBuilder> { self._fields.0 = Option::Some(value.into()); GetPostBuilder { _state: PhantomData, @@ -185,4 +181,4 @@ where id: self._fields.0.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_chronosky/schedule/list_posts.rs b/crates/jacquard-api/src/app_chronosky/schedule/list_posts.rs index 5664e60c..924c3032 100644 --- a/crates/jacquard-api/src/app_chronosky/schedule/list_posts.rs +++ b/crates/jacquard-api/src/app_chronosky/schedule/list_posts.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -21,9 +21,6 @@ use jacquard_derive::{IntoStatic, open_union}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::app_bsky::embed::external::ExternalRecord; use crate::app_bsky::embed::images::Images; use crate::app_bsky::embed::record::Record; @@ -34,12 +31,18 @@ use crate::app_bsky::feed::threadgate::FollowingRule; use crate::app_bsky::feed::threadgate::ListRule; use crate::app_bsky::feed::threadgate::MentionRule; use crate::app_bsky::richtext::facet::Facet; -use crate::com_atproto::label::SelfLabels; use crate::app_chronosky::schedule::list_posts; +use crate::com_atproto::label::SelfLabels; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; /// Image embed view with CID references. Similar to app.bsky.embed.images#view but includes cid on each image. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ImageView { ///List of image views with CID references. pub images: Vec>, @@ -50,7 +53,10 @@ pub struct ImageView { /// Image view with CID for referencing in updatePost. Extends app.bsky.embed.images#viewImage with cid field. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ImageViewImage { ///Alt text for the image. pub alt: S, @@ -65,9 +71,11 @@ pub struct ImageViewImage { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ListPosts { ///Defaults to `20`. Min: 1. Max: 100. #[serde(default = "_default_limit")] @@ -82,9 +90,11 @@ pub struct ListPosts { pub status: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ListPostsOutput { pub pagination: list_posts::Pagination, pub posts: Vec>, @@ -95,7 +105,10 @@ pub struct ListPostsOutput { /// Pagination information. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Pagination { ///Posts per page. pub limit: i64, @@ -112,7 +125,10 @@ pub struct Pagination { /// Scheduled post object with AT Protocol standard fields. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ScheduledPost { ///AT Protocol record key. Present after successful execution. #[serde(skip_serializing_if = "Option::is_none")] @@ -187,7 +203,6 @@ pub struct ScheduledPost { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -206,7 +221,6 @@ pub enum ScheduledPostEmbed { RecordWithMedia(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -554,7 +568,7 @@ impl LexiconSchema for ScheduledPost { pub mod image_view_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -641,10 +655,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> ImageView { + pub fn build_with_data(self, extra_data: BTreeMap>) -> ImageView { ImageView { images: self._fields.0.unwrap(), extra_data: Some(extra_data), @@ -653,10 +664,10 @@ where } fn lexicon_doc_app_chronosky_schedule_listPosts() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.chronosky.schedule.listPosts"), @@ -759,38 +770,34 @@ fn lexicon_doc_app_chronosky_schedule_listPosts() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::XrpcQuery(LexXrpcQuery { - parameters: Some( - LexXrpcQueryParameter::Params(LexXrpcParameters { - properties: { - #[allow(unused_mut)] - let mut map = BTreeMap::new(); - map.insert( - SmolStr::new_static("limit"), - LexXrpcParametersProperty::Integer(LexInteger { - ..Default::default() - }), - ); - map.insert( - SmolStr::new_static("page"), - LexXrpcParametersProperty::Integer(LexInteger { - ..Default::default() - }), - ); - map.insert( - SmolStr::new_static("status"), - LexXrpcParametersProperty::String(LexString { - description: Some( - CowStr::new_static("Filter by post status."), - ), - max_length: Some(20usize), - ..Default::default() - }), - ); - map - }, - ..Default::default() - }), - ), + parameters: Some(LexXrpcQueryParameter::Params(LexXrpcParameters { + properties: { + #[allow(unused_mut)] + let mut map = BTreeMap::new(); + map.insert( + SmolStr::new_static("limit"), + LexXrpcParametersProperty::Integer(LexInteger { + ..Default::default() + }), + ); + map.insert( + SmolStr::new_static("page"), + LexXrpcParametersProperty::Integer(LexInteger { + ..Default::default() + }), + ); + map.insert( + SmolStr::new_static("status"), + LexXrpcParametersProperty::String(LexString { + description: Some(CowStr::new_static("Filter by post status.")), + max_length: Some(20usize), + ..Default::default() + }), + ); + map + }, + ..Default::default() + })), ..Default::default() }), ); @@ -798,13 +805,12 @@ fn lexicon_doc_app_chronosky_schedule_listPosts() -> LexiconDoc<'static> { SmolStr::new_static("pagination"), LexUserType::Object(LexObject { description: Some(CowStr::new_static("Pagination information.")), - required: Some( - vec![ - SmolStr::new_static("page"), SmolStr::new_static("limit"), - SmolStr::new_static("total"), - SmolStr::new_static("totalPages") - ], - ), + required: Some(vec![ + SmolStr::new_static("page"), + SmolStr::new_static("limit"), + SmolStr::new_static("total"), + SmolStr::new_static("totalPages"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -1190,7 +1196,7 @@ fn _default_page() -> Option { pub mod list_posts_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -1287,7 +1293,7 @@ where pub mod pagination_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -1479,10 +1485,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> Pagination { + pub fn build_with_data(self, extra_data: BTreeMap>) -> Pagination { Pagination { limit: self._fields.0.unwrap(), page: self._fields.1.unwrap(), @@ -1495,7 +1498,7 @@ where pub mod scheduled_post_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -1724,32 +1727,8 @@ impl ScheduledPostBuilder { ScheduledPostBuilder { _state: PhantomData, _fields: ( - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, ), _type: PhantomData, } @@ -1784,18 +1763,12 @@ impl ScheduledPostBuilder { impl ScheduledPostBuilder { /// Set the `children` field (optional) - pub fn children( - mut self, - value: impl Into>>>, - ) -> Self { + pub fn children(mut self, value: impl Into>>>) -> Self { self._fields.2 = value.into(); self } /// Set the `children` field to an Option value (optional) - pub fn maybe_children( - mut self, - value: Option>>, - ) -> Self { + pub fn maybe_children(mut self, value: Option>>) -> Self { self._fields.2 = value; self } @@ -2206,10 +2179,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> ScheduledPost { + pub fn build_with_data(self, extra_data: BTreeMap>) -> ScheduledPost { ScheduledPost { at_rkey: self._fields.0, at_uri: self._fields.1, @@ -2240,4 +2210,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_chronosky/schedule/retry_failed_posts.rs b/crates/jacquard-api/src/app_chronosky/schedule/retry_failed_posts.rs index 8a565456..658a3e20 100644 --- a/crates/jacquard-api/src/app_chronosky/schedule/retry_failed_posts.rs +++ b/crates/jacquard-api/src/app_chronosky/schedule/retry_failed_posts.rs @@ -10,22 +10,27 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct RetryFailedPosts { #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct RetryFailedPostsOutput { ///Number of posts that were retried pub retried_count: i64, @@ -44,9 +49,8 @@ impl jacquard_common::xrpc::XrpcResp for RetryFailedPostsResponse { impl jacquard_common::xrpc::XrpcRequest for RetryFailedPosts { const NSID: &'static str = "app.chronosky.schedule.retryFailedPosts"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = RetryFailedPostsResponse; } @@ -54,9 +58,8 @@ impl jacquard_common::xrpc::XrpcRequest for RetryFailedPosts { pub struct RetryFailedPostsRequest; impl jacquard_common::xrpc::XrpcEndpoint for RetryFailedPostsRequest { const PATH: &'static str = "/xrpc/app.chronosky.schedule.retryFailedPosts"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = RetryFailedPosts; type Response = RetryFailedPostsResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_chronosky/schedule/update_post.rs b/crates/jacquard-api/src/app_chronosky/schedule/update_post.rs index bce6dc8b..ab9e373d 100644 --- a/crates/jacquard-api/src/app_chronosky/schedule/update_post.rs +++ b/crates/jacquard-api/src/app_chronosky/schedule/update_post.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -22,9 +22,6 @@ use jacquard_derive::{IntoStatic, open_union}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::app_bsky::embed::external::ExternalRecord; use crate::app_bsky::embed::images::Images; use crate::app_bsky::embed::record::Record; @@ -36,12 +33,18 @@ use crate::app_bsky::feed::threadgate::ListRule; use crate::app_bsky::feed::threadgate::MentionRule; use crate::app_bsky::richtext::facet::Facet; use crate::app_chronosky::schedule::list_posts::ScheduledPost; -use crate::com_atproto::label::SelfLabels; use crate::app_chronosky::schedule::update_post; +use crate::com_atproto::label::SelfLabels; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; /// Image reference that supports both new blob uploads and existing image CID references. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ImageRef { ///Alt text for the image. pub alt: S, @@ -58,16 +61,21 @@ pub struct ImageRef { /// Images embed that supports CID references for existing images. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ImagesEmbed { pub images: Vec>, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct UpdatePost { ///Whether to disable quote posts #[serde(skip_serializing_if = "Option::is_none")] @@ -99,7 +107,6 @@ pub struct UpdatePost { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -118,7 +125,6 @@ pub enum UpdatePostEmbed { RecordWithMedia(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -133,27 +139,20 @@ pub enum UpdatePostThreadgateRulesItem { ThreadgateListRule(Box>), } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct UpdatePostOutput { pub post: ScheduledPost, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum UpdatePostError { #[serde(rename = "PostNotFound")] @@ -164,7 +163,10 @@ pub enum UpdatePostError { NoFieldsProvided(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for UpdatePostError { @@ -249,31 +251,25 @@ impl LexiconSchema for ImageRef { if let Some(ref value) = self.image { { let mime = value.blob().mime_type.as_str(); - let accepted: &[&str] = &[ - "image/jpeg", - "image/png", - "image/webp", - "image/gif", - ]; - let matched = accepted - .iter() - .any(|pattern| { - if *pattern == "*/*" { - true - } else if pattern.ends_with("/*") { - let prefix = &pattern[..pattern.len() - 2]; - mime.starts_with(prefix) - && mime.as_bytes().get(prefix.len()) == Some(&b'/') - } else { - mime == *pattern - } - }); + let accepted: &[&str] = &["image/jpeg", "image/png", "image/webp", "image/gif"]; + let matched = accepted.iter().any(|pattern| { + if *pattern == "*/*" { + true + } else if pattern.ends_with("/*") { + let prefix = &pattern[..pattern.len() - 2]; + mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/') + } else { + mime == *pattern + } + }); if !matched { return Err(ConstraintError::BlobMimeTypeNotAccepted { path: ValidationPath::from_field("image"), accepted: vec![ - "image/jpeg".to_string(), "image/png".to_string(), - "image/webp".to_string(), "image/gif".to_string() + "image/jpeg".to_string(), + "image/png".to_string(), + "image/webp".to_string(), + "image/gif".to_string(), ], actual: mime.to_string(), }); @@ -321,9 +317,8 @@ impl jacquard_common::xrpc::XrpcResp for UpdatePostResponse { impl jacquard_common::xrpc::XrpcRequest for UpdatePost { const NSID: &'static str = "app.chronosky.schedule.updatePost"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = UpdatePostResponse; } @@ -331,18 +326,17 @@ impl jacquard_common::xrpc::XrpcRequest for UpdatePost { pub struct UpdatePostRequest; impl jacquard_common::xrpc::XrpcEndpoint for UpdatePostRequest { const PATH: &'static str = "/xrpc/app.chronosky.schedule.updatePost"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = UpdatePost; type Response = UpdatePostResponse; } fn lexicon_doc_app_chronosky_schedule_updatePost() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.chronosky.schedule.updatePost"), @@ -394,11 +388,9 @@ fn lexicon_doc_app_chronosky_schedule_updatePost() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("imagesEmbed"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "Images embed that supports CID references for existing images.", - ), - ), + description: Some(CowStr::new_static( + "Images embed that supports CID references for existing images.", + )), required: Some(vec![SmolStr::new_static("images")]), properties: { #[allow(unused_mut)] @@ -564,7 +556,7 @@ fn lexicon_doc_app_chronosky_schedule_updatePost() -> LexiconDoc<'static> { pub mod images_embed_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -651,13 +643,10 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> ImagesEmbed { + pub fn build_with_data(self, extra_data: BTreeMap>) -> ImagesEmbed { ImagesEmbed { images: self._fields.0.unwrap(), extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_dropanchor.rs b/crates/jacquard-api/src/app_dropanchor.rs index 3854b9ad..7dea2c7e 100644 --- a/crates/jacquard-api/src/app_dropanchor.rs +++ b/crates/jacquard-api/src/app_dropanchor.rs @@ -5,4 +5,4 @@ pub mod checkin; pub mod comment; -pub mod like; \ No newline at end of file +pub mod like; diff --git a/crates/jacquard-api/src/app_dropanchor/checkin.rs b/crates/jacquard-api/src/app_dropanchor/checkin.rs index be5699b7..693f8bbe 100644 --- a/crates/jacquard-api/src/app_dropanchor/checkin.rs +++ b/crates/jacquard-api/src/app_dropanchor/checkin.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -25,14 +25,17 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::app_dropanchor::checkin; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::app_dropanchor::checkin; +use serde::{Deserialize, Serialize}; /// Street address (based on community.lexicon.location.address) #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Address { ///The ISO 3166 country code (preferably 2-letter) pub country: S, @@ -58,7 +61,10 @@ pub struct Address { /// Image attachment with thumbnail and full-size versions #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct CheckinImage { ///Alt text for accessibility #[serde(skip_serializing_if = "Option::is_none")] @@ -74,7 +80,10 @@ pub struct CheckinImage { /// Foursquare venue data (based on community.lexicon.location.fsq) #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct FsqPlace { ///The unique identifier of a Foursquare POI pub fsq_place_id: S, @@ -94,7 +103,10 @@ pub struct FsqPlace { /// Geographic coordinates in WGS84 (based on community.lexicon.location.geo) #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Geo { ///Altitude in meters #[serde(skip_serializing_if = "Option::is_none")] @@ -290,25 +302,23 @@ impl LexiconSchema for CheckinImage { { let mime = value.blob().mime_type.as_str(); let accepted: &[&str] = &["image/jpeg", "image/png", "image/webp"]; - let matched = accepted - .iter() - .any(|pattern| { - if *pattern == "*/*" { - true - } else if pattern.ends_with("/*") { - let prefix = &pattern[..pattern.len() - 2]; - mime.starts_with(prefix) - && mime.as_bytes().get(prefix.len()) == Some(&b'/') - } else { - mime == *pattern - } - }); + let matched = accepted.iter().any(|pattern| { + if *pattern == "*/*" { + true + } else if pattern.ends_with("/*") { + let prefix = &pattern[..pattern.len() - 2]; + mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/') + } else { + mime == *pattern + } + }); if !matched { return Err(ConstraintError::BlobMimeTypeNotAccepted { path: ValidationPath::from_field("fullsize"), accepted: vec![ - "image/jpeg".to_string(), "image/png".to_string(), - "image/webp".to_string() + "image/jpeg".to_string(), + "image/png".to_string(), + "image/webp".to_string(), ], actual: mime.to_string(), }); @@ -333,25 +343,23 @@ impl LexiconSchema for CheckinImage { { let mime = value.blob().mime_type.as_str(); let accepted: &[&str] = &["image/jpeg", "image/png", "image/webp"]; - let matched = accepted - .iter() - .any(|pattern| { - if *pattern == "*/*" { - true - } else if pattern.ends_with("/*") { - let prefix = &pattern[..pattern.len() - 2]; - mime.starts_with(prefix) - && mime.as_bytes().get(prefix.len()) == Some(&b'/') - } else { - mime == *pattern - } - }); + let matched = accepted.iter().any(|pattern| { + if *pattern == "*/*" { + true + } else if pattern.ends_with("/*") { + let prefix = &pattern[..pattern.len() - 2]; + mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/') + } else { + mime == *pattern + } + }); if !matched { return Err(ConstraintError::BlobMimeTypeNotAccepted { path: ValidationPath::from_field("thumb"), accepted: vec![ - "image/jpeg".to_string(), "image/png".to_string(), - "image/webp".to_string() + "image/jpeg".to_string(), + "image/png".to_string(), + "image/webp".to_string(), ], actual: mime.to_string(), }); @@ -559,10 +567,10 @@ impl LexiconSchema for Checkin { } fn lexicon_doc_app_dropanchor_checkin() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.dropanchor.checkin"), @@ -571,11 +579,9 @@ fn lexicon_doc_app_dropanchor_checkin() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("address"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "Street address (based on community.lexicon.location.address)", - ), - ), + description: Some(CowStr::new_static( + "Street address (based on community.lexicon.location.address)", + )), required: Some(vec![SmolStr::new_static("country")]), properties: { #[allow(unused_mut)] @@ -583,11 +589,9 @@ fn lexicon_doc_app_dropanchor_checkin() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("country"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "The ISO 3166 country code (preferably 2-letter)", - ), - ), + description: Some(CowStr::new_static( + "The ISO 3166 country code (preferably 2-letter)", + )), min_length: Some(2usize), max_length: Some(10usize), ..Default::default() @@ -596,9 +600,9 @@ fn lexicon_doc_app_dropanchor_checkin() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("locality"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The locality (city, town, etc.)"), - ), + description: Some(CowStr::new_static( + "The locality (city, town, etc.)", + )), max_length: Some(200usize), ..Default::default() }), @@ -606,9 +610,7 @@ fn lexicon_doc_app_dropanchor_checkin() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("name"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The name of the location"), - ), + description: Some(CowStr::new_static("The name of the location")), max_length: Some(500usize), ..Default::default() }), @@ -624,11 +626,9 @@ fn lexicon_doc_app_dropanchor_checkin() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("region"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "The administrative region (state, province, etc.)", - ), - ), + description: Some(CowStr::new_static( + "The administrative region (state, province, etc.)", + )), max_length: Some(200usize), ..Default::default() }), @@ -649,36 +649,35 @@ fn lexicon_doc_app_dropanchor_checkin() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("checkinImage"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "Image attachment with thumbnail and full-size versions", - ), - ), - required: Some( - vec![ - SmolStr::new_static("thumb"), SmolStr::new_static("fullsize") - ], - ), + description: Some(CowStr::new_static( + "Image attachment with thumbnail and full-size versions", + )), + required: Some(vec![ + SmolStr::new_static("thumb"), + SmolStr::new_static("fullsize"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("alt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Alt text for accessibility"), - ), + description: Some(CowStr::new_static("Alt text for accessibility")), max_length: Some(1000usize), ..Default::default() }), ); map.insert( SmolStr::new_static("fullsize"), - LexObjectProperty::Blob(LexBlob { ..Default::default() }), + LexObjectProperty::Blob(LexBlob { + ..Default::default() + }), ); map.insert( SmolStr::new_static("thumb"), - LexObjectProperty::Blob(LexBlob { ..Default::default() }), + LexObjectProperty::Blob(LexBlob { + ..Default::default() + }), ); map }, @@ -688,11 +687,9 @@ fn lexicon_doc_app_dropanchor_checkin() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("fsqPlace"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "Foursquare venue data (based on community.lexicon.location.fsq)", - ), - ), + description: Some(CowStr::new_static( + "Foursquare venue data (based on community.lexicon.location.fsq)", + )), required: Some(vec![SmolStr::new_static("fsqPlaceId")]), properties: { #[allow(unused_mut)] @@ -700,11 +697,9 @@ fn lexicon_doc_app_dropanchor_checkin() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("fsqPlaceId"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "The unique identifier of a Foursquare POI", - ), - ), + description: Some(CowStr::new_static( + "The unique identifier of a Foursquare POI", + )), max_length: Some(100usize), ..Default::default() }), @@ -712,9 +707,9 @@ fn lexicon_doc_app_dropanchor_checkin() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("latitude"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Latitude in decimal degrees"), - ), + description: Some(CowStr::new_static( + "Latitude in decimal degrees", + )), max_length: Some(32usize), ..Default::default() }), @@ -722,9 +717,9 @@ fn lexicon_doc_app_dropanchor_checkin() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("longitude"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Longitude in decimal degrees"), - ), + description: Some(CowStr::new_static( + "Longitude in decimal degrees", + )), max_length: Some(32usize), ..Default::default() }), @@ -732,9 +727,7 @@ fn lexicon_doc_app_dropanchor_checkin() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("name"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The name of the location"), - ), + description: Some(CowStr::new_static("The name of the location")), max_length: Some(500usize), ..Default::default() }), @@ -747,17 +740,13 @@ fn lexicon_doc_app_dropanchor_checkin() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("geo"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "Geographic coordinates in WGS84 (based on community.lexicon.location.geo)", - ), - ), - required: Some( - vec![ - SmolStr::new_static("latitude"), - SmolStr::new_static("longitude") - ], - ), + description: Some(CowStr::new_static( + "Geographic coordinates in WGS84 (based on community.lexicon.location.geo)", + )), + required: Some(vec![ + SmolStr::new_static("latitude"), + SmolStr::new_static("longitude"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -772,11 +761,9 @@ fn lexicon_doc_app_dropanchor_checkin() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("latitude"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Latitude in decimal degrees (range: -90 to 90)", - ), - ), + description: Some(CowStr::new_static( + "Latitude in decimal degrees (range: -90 to 90)", + )), max_length: Some(32usize), ..Default::default() }), @@ -784,11 +771,9 @@ fn lexicon_doc_app_dropanchor_checkin() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("longitude"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Longitude in decimal degrees (range: -180 to 180)", - ), - ), + description: Some(CowStr::new_static( + "Longitude in decimal degrees (range: -180 to 180)", + )), max_length: Some(32usize), ..Default::default() }), @@ -796,9 +781,7 @@ fn lexicon_doc_app_dropanchor_checkin() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("name"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Name of the location"), - ), + description: Some(CowStr::new_static("Name of the location")), max_length: Some(500usize), ..Default::default() }), @@ -811,20 +794,17 @@ fn lexicon_doc_app_dropanchor_checkin() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static( - "A location check-in record for the Anchor app", - ), - ), + description: Some(CowStr::new_static( + "A location check-in record for the Anchor app", + )), key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("text"), - SmolStr::new_static("createdAt"), - SmolStr::new_static("address"), SmolStr::new_static("geo") - ], - ), + required: Some(vec![ + SmolStr::new_static("text"), + SmolStr::new_static("createdAt"), + SmolStr::new_static("address"), + SmolStr::new_static("geo"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -838,11 +818,9 @@ fn lexicon_doc_app_dropanchor_checkin() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("category"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Place category (e.g., cafe, restaurant)", - ), - ), + description: Some(CowStr::new_static( + "Place category (e.g., cafe, restaurant)", + )), max_length: Some(100usize), ..Default::default() }), @@ -850,9 +828,9 @@ fn lexicon_doc_app_dropanchor_checkin() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("categoryGroup"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Category group for organization"), - ), + description: Some(CowStr::new_static( + "Category group for organization", + )), max_length: Some(100usize), ..Default::default() }), @@ -860,9 +838,9 @@ fn lexicon_doc_app_dropanchor_checkin() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("categoryIcon"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Emoji icon for the category"), - ), + description: Some(CowStr::new_static( + "Emoji icon for the category", + )), max_length: Some(10usize), ..Default::default() }), @@ -870,9 +848,9 @@ fn lexicon_doc_app_dropanchor_checkin() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("createdAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("When the check-in was created"), - ), + description: Some(CowStr::new_static( + "When the check-in was created", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -901,9 +879,9 @@ fn lexicon_doc_app_dropanchor_checkin() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("text"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The check-in message or note"), - ), + description: Some(CowStr::new_static( + "The check-in message or note", + )), max_length: Some(3000usize), ..Default::default() }), @@ -923,7 +901,7 @@ fn lexicon_doc_app_dropanchor_checkin() -> LexiconDoc<'static> { pub mod checkin_image_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -1057,10 +1035,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> CheckinImage { + pub fn build_with_data(self, extra_data: BTreeMap>) -> CheckinImage { CheckinImage { alt: self._fields.0, fullsize: self._fields.1.unwrap(), @@ -1072,7 +1047,7 @@ where pub mod checkin_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -1307,10 +1282,7 @@ where St::Text: checkin_state::IsUnset, { /// Set the `text` field (required) - pub fn text( - mut self, - value: impl Into, - ) -> CheckinBuilder> { + pub fn text(mut self, value: impl Into) -> CheckinBuilder> { self._fields.8 = Option::Some(value.into()); CheckinBuilder { _state: PhantomData, @@ -1358,4 +1330,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_dropanchor/comment.rs b/crates/jacquard-api/src/app_dropanchor/comment.rs index 6ad3444a..eb7bb197 100644 --- a/crates/jacquard-api/src/app_dropanchor/comment.rs +++ b/crates/jacquard-api/src/app_dropanchor/comment.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::app_dropanchor::comment; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::app_dropanchor::comment; +use serde::{Deserialize, Serialize}; /// A comment record for check-ins in the Anchor app #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -62,7 +62,10 @@ pub struct CommentGetRecordOutput { /// A strong reference to another record #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct StrongRef { ///Content identifier (CID) of the referenced record pub cid: Cid, @@ -148,7 +151,7 @@ impl LexiconSchema for StrongRef { pub mod comment_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -273,10 +276,7 @@ where St::Text: comment_state::IsUnset, { /// Set the `text` field (required) - pub fn text( - mut self, - value: impl Into, - ) -> CommentBuilder> { + pub fn text(mut self, value: impl Into) -> CommentBuilder> { self._fields.2 = Option::Some(value.into()); CommentBuilder { _state: PhantomData, @@ -314,10 +314,10 @@ where } fn lexicon_doc_app_dropanchor_comment() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.dropanchor.comment"), @@ -326,20 +326,16 @@ fn lexicon_doc_app_dropanchor_comment() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static( - "A comment record for check-ins in the Anchor app", - ), - ), + description: Some(CowStr::new_static( + "A comment record for check-ins in the Anchor app", + )), key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("text"), - SmolStr::new_static("createdAt"), - SmolStr::new_static("checkinRef") - ], - ), + required: Some(vec![ + SmolStr::new_static("text"), + SmolStr::new_static("createdAt"), + SmolStr::new_static("checkinRef"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -353,9 +349,9 @@ fn lexicon_doc_app_dropanchor_comment() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("createdAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("When the comment was created"), - ), + description: Some(CowStr::new_static( + "When the comment was created", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -363,9 +359,9 @@ fn lexicon_doc_app_dropanchor_comment() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("text"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The comment text content"), - ), + description: Some(CowStr::new_static( + "The comment text content", + )), max_length: Some(1000usize), ..Default::default() }), @@ -380,23 +376,17 @@ fn lexicon_doc_app_dropanchor_comment() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("strongRef"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("A strong reference to another record"), - ), - required: Some( - vec![SmolStr::new_static("uri"), SmolStr::new_static("cid")], - ), + description: Some(CowStr::new_static("A strong reference to another record")), + required: Some(vec![SmolStr::new_static("uri"), SmolStr::new_static("cid")]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("cid"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Content identifier (CID) of the referenced record", - ), - ), + description: Some(CowStr::new_static( + "Content identifier (CID) of the referenced record", + )), format: Some(LexStringFormat::Cid), ..Default::default() }), @@ -404,11 +394,9 @@ fn lexicon_doc_app_dropanchor_comment() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("uri"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "AT Protocol URI of the referenced record", - ), - ), + description: Some(CowStr::new_static( + "AT Protocol URI of the referenced record", + )), format: Some(LexStringFormat::AtUri), ..Default::default() }), @@ -426,7 +414,7 @@ fn lexicon_doc_app_dropanchor_comment() -> LexiconDoc<'static> { pub mod strong_ref_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -546,14 +534,11 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> StrongRef { + pub fn build_with_data(self, extra_data: BTreeMap>) -> StrongRef { StrongRef { cid: self._fields.0.unwrap(), uri: self._fields.1.unwrap(), extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_dropanchor/like.rs b/crates/jacquard-api/src/app_dropanchor/like.rs index b191d534..d85b7c6f 100644 --- a/crates/jacquard-api/src/app_dropanchor/like.rs +++ b/crates/jacquard-api/src/app_dropanchor/like.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::app_dropanchor::like; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::app_dropanchor::like; +use serde::{Deserialize, Serialize}; /// A like record for check-ins in the Anchor app #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -60,7 +60,10 @@ pub struct LikeGetRecordOutput { /// A strong reference to another record #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct StrongRef { ///Content identifier (CID) of the referenced record pub cid: Cid, @@ -135,7 +138,7 @@ impl LexiconSchema for StrongRef { pub mod like_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -265,10 +268,10 @@ where } fn lexicon_doc_app_dropanchor_like() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.dropanchor.like"), @@ -277,19 +280,15 @@ fn lexicon_doc_app_dropanchor_like() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static( - "A like record for check-ins in the Anchor app", - ), - ), + description: Some(CowStr::new_static( + "A like record for check-ins in the Anchor app", + )), key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("createdAt"), - SmolStr::new_static("checkinRef") - ], - ), + required: Some(vec![ + SmolStr::new_static("createdAt"), + SmolStr::new_static("checkinRef"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -303,9 +302,9 @@ fn lexicon_doc_app_dropanchor_like() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("createdAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("When the like was created"), - ), + description: Some(CowStr::new_static( + "When the like was created", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -320,23 +319,17 @@ fn lexicon_doc_app_dropanchor_like() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("strongRef"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("A strong reference to another record"), - ), - required: Some( - vec![SmolStr::new_static("uri"), SmolStr::new_static("cid")], - ), + description: Some(CowStr::new_static("A strong reference to another record")), + required: Some(vec![SmolStr::new_static("uri"), SmolStr::new_static("cid")]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("cid"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Content identifier (CID) of the referenced record", - ), - ), + description: Some(CowStr::new_static( + "Content identifier (CID) of the referenced record", + )), format: Some(LexStringFormat::Cid), ..Default::default() }), @@ -344,11 +337,9 @@ fn lexicon_doc_app_dropanchor_like() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("uri"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "AT Protocol URI of the referenced record", - ), - ), + description: Some(CowStr::new_static( + "AT Protocol URI of the referenced record", + )), format: Some(LexStringFormat::AtUri), ..Default::default() }), @@ -366,7 +357,7 @@ fn lexicon_doc_app_dropanchor_like() -> LexiconDoc<'static> { pub mod strong_ref_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -486,14 +477,11 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> StrongRef { + pub fn build_with_data(self, extra_data: BTreeMap>) -> StrongRef { StrongRef { cid: self._fields.0.unwrap(), uri: self._fields.1.unwrap(), extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_fitsky.rs b/crates/jacquard-api/src/app_fitsky.rs index 0f2e9888..a875e4f0 100644 --- a/crates/jacquard-api/src/app_fitsky.rs +++ b/crates/jacquard-api/src/app_fitsky.rs @@ -8,4 +8,4 @@ pub mod goal; pub mod profile; pub mod trend; pub mod workout; -pub mod workout_plan; \ No newline at end of file +pub mod workout_plan; diff --git a/crates/jacquard-api/src/app_fitsky/bluesky_post.rs b/crates/jacquard-api/src/app_fitsky/bluesky_post.rs index 9ffc30f4..07390c47 100644 --- a/crates/jacquard-api/src/app_fitsky/bluesky_post.rs +++ b/crates/jacquard-api/src/app_fitsky/bluesky_post.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// Links a Fitsky workout record to its cross-posted Bluesky post #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -105,7 +105,7 @@ impl LexiconSchema for BlueskyPost { pub mod bluesky_post_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -260,10 +260,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> BlueskyPost { + pub fn build_with_data(self, extra_data: BTreeMap>) -> BlueskyPost { BlueskyPost { created_at: self._fields.0.unwrap(), post_uri: self._fields.1.unwrap(), @@ -274,10 +271,10 @@ where } fn lexicon_doc_app_fitsky_blueskyPost() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.fitsky.blueskyPost"), @@ -286,20 +283,16 @@ fn lexicon_doc_app_fitsky_blueskyPost() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static( - "Links a Fitsky workout record to its cross-posted Bluesky post", - ), - ), + description: Some(CowStr::new_static( + "Links a Fitsky workout record to its cross-posted Bluesky post", + )), key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("workoutUri"), - SmolStr::new_static("postUri"), - SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("workoutUri"), + SmolStr::new_static("postUri"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -335,4 +328,4 @@ fn lexicon_doc_app_fitsky_blueskyPost() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_fitsky/goal.rs b/crates/jacquard-api/src/app_fitsky/goal.rs index 2177b638..ca87ab74 100644 --- a/crates/jacquard-api/src/app_fitsky/goal.rs +++ b/crates/jacquard-api/src/app_fitsky/goal.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// A fitness goal to track progress against #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -49,7 +49,6 @@ pub struct Goal { pub extra_data: Option>>, } - #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum GoalMetric { Distance, @@ -135,7 +134,6 @@ where } } - #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum GoalPeriod { Weekly, @@ -310,7 +308,7 @@ impl LexiconSchema for Goal { pub mod goal_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -576,10 +574,10 @@ where } fn lexicon_doc_app_fitsky_goal() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.fitsky.goal"), @@ -588,20 +586,18 @@ fn lexicon_doc_app_fitsky_goal() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static("A fitness goal to track progress against"), - ), + description: Some(CowStr::new_static( + "A fitness goal to track progress against", + )), key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("metric"), - SmolStr::new_static("targetValue"), - SmolStr::new_static("period"), - SmolStr::new_static("startDate"), - SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("metric"), + SmolStr::new_static("targetValue"), + SmolStr::new_static("period"), + SmolStr::new_static("startDate"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -658,4 +654,4 @@ fn lexicon_doc_app_fitsky_goal() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_fitsky/profile.rs b/crates/jacquard-api/src/app_fitsky/profile.rs index e7ead57f..3630bcd3 100644 --- a/crates/jacquard-api/src/app_fitsky/profile.rs +++ b/crates/jacquard-api/src/app_fitsky/profile.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -27,7 +27,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// A FitSky-specific user profile with custom banner and bio #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -215,25 +215,23 @@ impl LexiconSchema for Profile { { let mime = value.blob().mime_type.as_str(); let accepted: &[&str] = &["image/png", "image/jpeg", "image/webp"]; - let matched = accepted - .iter() - .any(|pattern| { - if *pattern == "*/*" { - true - } else if pattern.ends_with("/*") { - let prefix = &pattern[..pattern.len() - 2]; - mime.starts_with(prefix) - && mime.as_bytes().get(prefix.len()) == Some(&b'/') - } else { - mime == *pattern - } - }); + let matched = accepted.iter().any(|pattern| { + if *pattern == "*/*" { + true + } else if pattern.ends_with("/*") { + let prefix = &pattern[..pattern.len() - 2]; + mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/') + } else { + mime == *pattern + } + }); if !matched { return Err(ConstraintError::BlobMimeTypeNotAccepted { path: ValidationPath::from_field("banner"), accepted: vec![ - "image/png".to_string(), "image/jpeg".to_string(), - "image/webp".to_string() + "image/png".to_string(), + "image/jpeg".to_string(), + "image/webp".to_string(), ], actual: mime.to_string(), }); @@ -296,7 +294,7 @@ impl LexiconSchema for Profile { pub mod profile_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -427,10 +425,7 @@ impl ProfileBuilder { impl ProfileBuilder { /// Set the `unitSystem` field (optional) - pub fn unit_system( - mut self, - value: impl Into>>, - ) -> Self { + pub fn unit_system(mut self, value: impl Into>>) -> Self { self._fields.6 = value.into(); self } @@ -489,10 +484,10 @@ where } fn lexicon_doc_app_fitsky_profile() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.fitsky.profile"), @@ -586,4 +581,4 @@ fn lexicon_doc_app_fitsky_profile() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_fitsky/trend.rs b/crates/jacquard-api/src/app_fitsky/trend.rs index 63310011..651770a0 100644 --- a/crates/jacquard-api/src/app_fitsky/trend.rs +++ b/crates/jacquard-api/src/app_fitsky/trend.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -25,13 +25,16 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::app_fitsky::trend; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::app_fitsky::trend; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DataPoint { pub date: Datetime, ///Value in base units (meters, seconds, calories, count, bpm) @@ -67,7 +70,6 @@ pub struct Trend { pub extra_data: Option>>, } - #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum TrendChartStyle { Line, @@ -145,7 +147,6 @@ where } } - #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum TrendMetric { Distance, @@ -243,7 +244,6 @@ where } } - #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum TrendPeriod { _1d, @@ -333,7 +333,6 @@ where } } - #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum TrendWidgetType { TodaySummary, @@ -434,9 +433,11 @@ pub struct TrendGetRecordOutput { pub value: Trend, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct TrendSummary { ///Average value in base units #[serde(skip_serializing_if = "Option::is_none")] @@ -551,25 +552,20 @@ impl LexiconSchema for Trend { { let mime = value.blob().mime_type.as_str(); let accepted: &[&str] = &["image/png", "image/jpeg"]; - let matched = accepted - .iter() - .any(|pattern| { - if *pattern == "*/*" { - true - } else if pattern.ends_with("/*") { - let prefix = &pattern[..pattern.len() - 2]; - mime.starts_with(prefix) - && mime.as_bytes().get(prefix.len()) == Some(&b'/') - } else { - mime == *pattern - } - }); + let matched = accepted.iter().any(|pattern| { + if *pattern == "*/*" { + true + } else if pattern.ends_with("/*") { + let prefix = &pattern[..pattern.len() - 2]; + mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/') + } else { + mime == *pattern + } + }); if !matched { return Err(ConstraintError::BlobMimeTypeNotAccepted { path: ValidationPath::from_field("image"), - accepted: vec![ - "image/png".to_string(), "image/jpeg".to_string() - ], + accepted: vec!["image/png".to_string(), "image/jpeg".to_string()], actual: mime.to_string(), }); } @@ -629,7 +625,7 @@ impl LexiconSchema for TrendSummary { pub mod data_point_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -749,10 +745,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> DataPoint { + pub fn build_with_data(self, extra_data: BTreeMap>) -> DataPoint { DataPoint { date: self._fields.0.unwrap(), value: self._fields.1.unwrap(), @@ -762,10 +755,10 @@ where } fn lexicon_doc_app_fitsky_trend() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.fitsky.trend"), @@ -774,9 +767,10 @@ fn lexicon_doc_app_fitsky_trend() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("dataPoint"), LexUserType::Object(LexObject { - required: Some( - vec![SmolStr::new_static("date"), SmolStr::new_static("value")], - ), + required: Some(vec![ + SmolStr::new_static("date"), + SmolStr::new_static("value"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -801,22 +795,18 @@ fn lexicon_doc_app_fitsky_trend() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static( - "A shared fitness trend or dashboard snapshot", - ), - ), + description: Some(CowStr::new_static( + "A shared fitness trend or dashboard snapshot", + )), key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("widgetType"), - SmolStr::new_static("metric"), - SmolStr::new_static("period"), - SmolStr::new_static("summary"), - SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("widgetType"), + SmolStr::new_static("metric"), + SmolStr::new_static("period"), + SmolStr::new_static("summary"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -853,7 +843,9 @@ fn lexicon_doc_app_fitsky_trend() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("image"), - LexObjectProperty::Blob(LexBlob { ..Default::default() }), + LexObjectProperty::Blob(LexBlob { + ..Default::default() + }), ); map.insert( SmolStr::new_static("metric"), @@ -939,7 +931,7 @@ fn lexicon_doc_app_fitsky_trend() -> LexiconDoc<'static> { pub mod trend_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -1111,10 +1103,7 @@ where impl TrendBuilder { /// Set the `dataPoints` field (optional) - pub fn data_points( - mut self, - value: impl Into>>>, - ) -> Self { + pub fn data_points(mut self, value: impl Into>>>) -> Self { self._fields.3 = value.into(); self } @@ -1253,4 +1242,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_fitsky/workout.rs b/crates/jacquard-api/src/app_fitsky/workout.rs index f0fb9652..e74e617b 100644 --- a/crates/jacquard-api/src/app_fitsky/workout.rs +++ b/crates/jacquard-api/src/app_fitsky/workout.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -25,13 +25,16 @@ use jacquard_derive::{IntoStatic, lexicon, open_union}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::app_fitsky::workout; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::app_fitsky::workout; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct CardioDetails { #[serde(skip_serializing_if = "Option::is_none")] pub calories: Option, @@ -62,7 +65,10 @@ pub struct CardioDetails { /// Time in seconds spent in each heart rate zone #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct CardioZoneData { #[serde(skip_serializing_if = "Option::is_none")] pub zone1_rest: Option, @@ -78,9 +84,11 @@ pub struct CardioZoneData { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Exercise { pub name: S, pub sets: Vec>, @@ -88,9 +96,11 @@ pub struct Exercise { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ExerciseSet { #[serde(skip_serializing_if = "Option::is_none")] pub reps: Option, @@ -101,9 +111,11 @@ pub struct ExerciseSet { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct FlexibilityDetails { #[serde(skip_serializing_if = "Option::is_none")] pub calories: Option, @@ -123,7 +135,6 @@ pub struct FlexibilityDetails { pub extra_data: Option>>, } - #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum FlexibilityDetailsIntensity { Light, @@ -173,8 +184,7 @@ impl Serialize for FlexibilityDetailsIntensity { } } -impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> -for FlexibilityDetailsIntensity { +impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> for FlexibilityDetailsIntensity { fn deserialize(deserializer: D) -> Result where D: serde::Deserializer<'de>, @@ -199,9 +209,7 @@ where fn into_static(self) -> Self::Output { match self { FlexibilityDetailsIntensity::Light => FlexibilityDetailsIntensity::Light, - FlexibilityDetailsIntensity::Moderate => { - FlexibilityDetailsIntensity::Moderate - } + FlexibilityDetailsIntensity::Moderate => FlexibilityDetailsIntensity::Moderate, FlexibilityDetailsIntensity::Intense => FlexibilityDetailsIntensity::Intense, FlexibilityDetailsIntensity::Other(v) => { FlexibilityDetailsIntensity::Other(v.into_static()) @@ -210,9 +218,11 @@ where } } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct HeartRateData { #[serde(skip_serializing_if = "Option::is_none")] pub avg: Option, @@ -226,9 +236,11 @@ pub struct HeartRateData { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct HeartRateSample { pub bpm: i64, pub timestamp: Datetime, @@ -236,9 +248,11 @@ pub struct HeartRateSample { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct HiitSportsDetails { #[serde(skip_serializing_if = "Option::is_none")] pub calories: Option, @@ -269,7 +283,6 @@ pub struct HiitSportsDetails { pub extra_data: Option>>, } - #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum HiitSportsDetailsIntensity { Light, @@ -319,8 +332,7 @@ impl Serialize for HiitSportsDetailsIntensity { } } -impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> -for HiitSportsDetailsIntensity { +impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> for HiitSportsDetailsIntensity { fn deserialize(deserializer: D) -> Result where D: serde::Deserializer<'de>, @@ -394,7 +406,6 @@ pub struct Workout { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -488,7 +499,6 @@ where } } - #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum WorkoutType { Running, @@ -613,9 +623,11 @@ pub struct WorkoutGetRecordOutput { pub value: Workout, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Milestone { #[serde(skip_serializing_if = "Option::is_none")] pub note: Option, @@ -628,7 +640,6 @@ pub struct Milestone { pub extra_data: Option>>, } - #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum MilestoneType { Distance, @@ -710,9 +721,11 @@ where } } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct RoutePoint { ///Latitude in microdegrees (degrees * 1,000,000) pub lat_e6: i64, @@ -723,9 +736,11 @@ pub struct RoutePoint { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct StrengthDetails { #[serde(skip_serializing_if = "Option::is_none")] pub calories: Option, @@ -746,7 +761,10 @@ pub struct StrengthDetails { /// Controls which fields are visible to other users in the Fitsky UI. Note: ATProto repos are public — this is UI-level privacy only. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct VisibilitySettings { #[serde(skip_serializing_if = "Option::is_none")] pub calories: Option>, @@ -764,7 +782,6 @@ pub struct VisibilitySettings { pub extra_data: Option>>, } - #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum VisibilitySettingsCalories { Public, @@ -811,8 +828,7 @@ impl Serialize for VisibilitySettingsCalories { } } -impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> -for VisibilitySettingsCalories { +impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> for VisibilitySettingsCalories { fn deserialize(deserializer: D) -> Result where D: serde::Deserializer<'de>, @@ -845,7 +861,6 @@ where } } - #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum VisibilitySettingsCardioZones { Public, @@ -892,8 +907,7 @@ impl Serialize for VisibilitySettingsCardioZones { } } -impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> -for VisibilitySettingsCardioZones { +impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> for VisibilitySettingsCardioZones { fn deserialize(deserializer: D) -> Result where D: serde::Deserializer<'de>, @@ -917,12 +931,8 @@ where type Output = VisibilitySettingsCardioZones; fn into_static(self) -> Self::Output { match self { - VisibilitySettingsCardioZones::Public => { - VisibilitySettingsCardioZones::Public - } - VisibilitySettingsCardioZones::Private => { - VisibilitySettingsCardioZones::Private - } + VisibilitySettingsCardioZones::Public => VisibilitySettingsCardioZones::Public, + VisibilitySettingsCardioZones::Private => VisibilitySettingsCardioZones::Private, VisibilitySettingsCardioZones::Other(v) => { VisibilitySettingsCardioZones::Other(v.into_static()) } @@ -930,7 +940,6 @@ where } } - #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum VisibilitySettingsDetails { Public, @@ -977,8 +986,7 @@ impl Serialize for VisibilitySettingsDetails { } } -impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> -for VisibilitySettingsDetails { +impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> for VisibilitySettingsDetails { fn deserialize(deserializer: D) -> Result where D: serde::Deserializer<'de>, @@ -1011,7 +1019,6 @@ where } } - #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum VisibilitySettingsHeartRate { Public, @@ -1058,8 +1065,7 @@ impl Serialize for VisibilitySettingsHeartRate { } } -impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> -for VisibilitySettingsHeartRate { +impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> for VisibilitySettingsHeartRate { fn deserialize(deserializer: D) -> Result where D: serde::Deserializer<'de>, @@ -1092,7 +1098,6 @@ where } } - #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum VisibilitySettingsNotes { Public, @@ -1165,14 +1170,11 @@ where match self { VisibilitySettingsNotes::Public => VisibilitySettingsNotes::Public, VisibilitySettingsNotes::Private => VisibilitySettingsNotes::Private, - VisibilitySettingsNotes::Other(v) => { - VisibilitySettingsNotes::Other(v.into_static()) - } + VisibilitySettingsNotes::Other(v) => VisibilitySettingsNotes::Other(v.into_static()), } } } - #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum VisibilitySettingsSteps { Public, @@ -1245,9 +1247,7 @@ where match self { VisibilitySettingsSteps::Public => VisibilitySettingsSteps::Public, VisibilitySettingsSteps::Private => VisibilitySettingsSteps::Private, - VisibilitySettingsSteps::Other(v) => { - VisibilitySettingsSteps::Other(v.into_static()) - } + VisibilitySettingsSteps::Other(v) => VisibilitySettingsSteps::Other(v.into_static()), } } } @@ -1547,25 +1547,23 @@ impl LexiconSchema for Workout { { let mime = value.blob().mime_type.as_str(); let accepted: &[&str] = &["image/png", "image/jpeg", "image/webp"]; - let matched = accepted - .iter() - .any(|pattern| { - if *pattern == "*/*" { - true - } else if pattern.ends_with("/*") { - let prefix = &pattern[..pattern.len() - 2]; - mime.starts_with(prefix) - && mime.as_bytes().get(prefix.len()) == Some(&b'/') - } else { - mime == *pattern - } - }); + let matched = accepted.iter().any(|pattern| { + if *pattern == "*/*" { + true + } else if pattern.ends_with("/*") { + let prefix = &pattern[..pattern.len() - 2]; + mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/') + } else { + mime == *pattern + } + }); if !matched { return Err(ConstraintError::BlobMimeTypeNotAccepted { path: ValidationPath::from_field("og_image"), accepted: vec![ - "image/png".to_string(), "image/jpeg".to_string(), - "image/webp".to_string() + "image/png".to_string(), + "image/jpeg".to_string(), + "image/webp".to_string(), ], actual: mime.to_string(), }); @@ -1759,10 +1757,10 @@ impl LexiconSchema for VisibilitySettings { } fn lexicon_doc_app_fitsky_workout() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.fitsky.workout"), @@ -1828,11 +1826,9 @@ fn lexicon_doc_app_fitsky_workout() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("routePoints"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static( - "GPS route points recorded during the workout", - ), - ), + description: Some(CowStr::new_static( + "GPS route points recorded during the workout", + )), items: LexArrayItem::Ref(LexRef { r#ref: CowStr::new_static("#routePoint"), ..Default::default() @@ -1854,11 +1850,9 @@ fn lexicon_doc_app_fitsky_workout() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("cardioZoneData"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "Time in seconds spent in each heart rate zone", - ), - ), + description: Some(CowStr::new_static( + "Time in seconds spent in each heart rate zone", + )), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -1900,9 +1894,10 @@ fn lexicon_doc_app_fitsky_workout() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("exercise"), LexUserType::Object(LexObject { - required: Some( - vec![SmolStr::new_static("name"), SmolStr::new_static("sets")], - ), + required: Some(vec![ + SmolStr::new_static("name"), + SmolStr::new_static("sets"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -2050,11 +2045,10 @@ fn lexicon_doc_app_fitsky_workout() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("heartRateSample"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("timestamp"), SmolStr::new_static("bpm") - ], - ), + required: Some(vec![ + SmolStr::new_static("timestamp"), + SmolStr::new_static("bpm"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -2142,11 +2136,9 @@ fn lexicon_doc_app_fitsky_workout() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("routePoints"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static( - "GPS route points recorded during the workout", - ), - ), + description: Some(CowStr::new_static( + "GPS route points recorded during the workout", + )), items: LexArrayItem::Ref(LexRef { r#ref: CowStr::new_static("#routePoint"), ..Default::default() @@ -2310,11 +2302,10 @@ fn lexicon_doc_app_fitsky_workout() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("milestone"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("type"), SmolStr::new_static("timestamp") - ], - ), + required: Some(vec![ + SmolStr::new_static("type"), + SmolStr::new_static("timestamp"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -2354,12 +2345,11 @@ fn lexicon_doc_app_fitsky_workout() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("routePoint"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("latE6"), SmolStr::new_static("lngE6"), - SmolStr::new_static("timestamp") - ], - ), + required: Some(vec![ + SmolStr::new_static("latE6"), + SmolStr::new_static("lngE6"), + SmolStr::new_static("timestamp"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -2510,7 +2500,7 @@ fn lexicon_doc_app_fitsky_workout() -> LexiconDoc<'static> { pub mod exercise_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -2583,10 +2573,7 @@ where St::Name: exercise_state::IsUnset, { /// Set the `name` field (required) - pub fn name( - mut self, - value: impl Into, - ) -> ExerciseBuilder> { + pub fn name(mut self, value: impl Into) -> ExerciseBuilder> { self._fields.0 = Option::Some(value.into()); ExerciseBuilder { _state: PhantomData, @@ -2641,7 +2628,7 @@ where pub mod heart_rate_sample_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -2761,10 +2748,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> HeartRateSample { + pub fn build_with_data(self, extra_data: BTreeMap>) -> HeartRateSample { HeartRateSample { bpm: self._fields.0.unwrap(), timestamp: self._fields.1.unwrap(), @@ -2775,7 +2759,7 @@ where pub mod workout_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -2899,19 +2883,7 @@ impl WorkoutBuilder { WorkoutBuilder { _state: PhantomData, _fields: ( - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, + None, None, None, None, None, None, None, None, None, None, None, None, None, ), _type: PhantomData, } @@ -2984,18 +2956,12 @@ impl WorkoutBuilder { impl WorkoutBuilder { /// Set the `milestones` field (optional) - pub fn milestones( - mut self, - value: impl Into>>>, - ) -> Self { + pub fn milestones(mut self, value: impl Into>>>) -> Self { self._fields.4 = value.into(); self } /// Set the `milestones` field to an Option value (optional) - pub fn maybe_milestones( - mut self, - value: Option>>, - ) -> Self { + pub fn maybe_milestones(mut self, value: Option>>) -> Self { self._fields.4 = value; self } @@ -3078,10 +3044,7 @@ where St::Title: workout_state::IsUnset, { /// Set the `title` field (required) - pub fn title( - mut self, - value: impl Into, - ) -> WorkoutBuilder> { + pub fn title(mut self, value: impl Into) -> WorkoutBuilder> { self._fields.10 = Option::Some(value.into()); WorkoutBuilder { _state: PhantomData, @@ -3112,18 +3075,12 @@ where impl WorkoutBuilder { /// Set the `visibility` field (optional) - pub fn visibility( - mut self, - value: impl Into>>, - ) -> Self { + pub fn visibility(mut self, value: impl Into>>) -> Self { self._fields.12 = value.into(); self } /// Set the `visibility` field to an Option value (optional) - pub fn maybe_visibility( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_visibility(mut self, value: Option>) -> Self { self._fields.12 = value; self } @@ -3180,7 +3137,7 @@ where pub mod milestone_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -3225,7 +3182,12 @@ pub mod milestone_state { /// Builder for constructing an instance of this type. pub struct MilestoneBuilder { _state: PhantomData St>, - _fields: (Option, Option, Option>, Option), + _fields: ( + Option, + Option, + Option>, + Option, + ), _type: PhantomData S>, } @@ -3328,10 +3290,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> Milestone { + pub fn build_with_data(self, extra_data: BTreeMap>) -> Milestone { Milestone { note: self._fields.0, timestamp: self._fields.1.unwrap(), @@ -3344,7 +3303,7 @@ where pub mod route_point_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -3499,10 +3458,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> RoutePoint { + pub fn build_with_data(self, extra_data: BTreeMap>) -> RoutePoint { RoutePoint { lat_e6: self._fields.0.unwrap(), lng_e6: self._fields.1.unwrap(), @@ -3510,4 +3466,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_fitsky/workout_plan.rs b/crates/jacquard-api/src/app_fitsky/workout_plan.rs index 8a229ad6..d03e7c16 100644 --- a/crates/jacquard-api/src/app_fitsky/workout_plan.rs +++ b/crates/jacquard-api/src/app_fitsky/workout_plan.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -25,10 +25,10 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::app_fitsky::workout_plan; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::app_fitsky::workout_plan; +use serde::{Deserialize, Serialize}; /// A reusable workout plan template #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -50,7 +50,6 @@ pub struct WorkoutPlan { pub extra_data: Option>>, } - #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum WorkoutPlanType { Weightlifting, @@ -147,9 +146,11 @@ pub struct WorkoutPlanGetRecordOutput { pub value: WorkoutPlan, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct PlanExercise { pub name: S, #[serde(skip_serializing_if = "Option::is_none")] @@ -231,25 +232,23 @@ impl LexiconSchema for WorkoutPlan { { let mime = value.blob().mime_type.as_str(); let accepted: &[&str] = &["image/png", "image/jpeg", "image/webp"]; - let matched = accepted - .iter() - .any(|pattern| { - if *pattern == "*/*" { - true - } else if pattern.ends_with("/*") { - let prefix = &pattern[..pattern.len() - 2]; - mime.starts_with(prefix) - && mime.as_bytes().get(prefix.len()) == Some(&b'/') - } else { - mime == *pattern - } - }); + let matched = accepted.iter().any(|pattern| { + if *pattern == "*/*" { + true + } else if pattern.ends_with("/*") { + let prefix = &pattern[..pattern.len() - 2]; + mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/') + } else { + mime == *pattern + } + }); if !matched { return Err(ConstraintError::BlobMimeTypeNotAccepted { path: ValidationPath::from_field("og_image"), accepted: vec![ - "image/png".to_string(), "image/jpeg".to_string(), - "image/webp".to_string() + "image/png".to_string(), + "image/jpeg".to_string(), + "image/webp".to_string(), ], actual: mime.to_string(), }); @@ -329,7 +328,7 @@ impl LexiconSchema for PlanExercise { pub mod workout_plan_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -541,10 +540,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> WorkoutPlan { + pub fn build_with_data(self, extra_data: BTreeMap>) -> WorkoutPlan { WorkoutPlan { created_at: self._fields.0.unwrap(), exercises: self._fields.1.unwrap(), @@ -557,10 +553,10 @@ where } fn lexicon_doc_app_fitsky_workoutPlan() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.fitsky.workoutPlan"), @@ -569,18 +565,15 @@ fn lexicon_doc_app_fitsky_workoutPlan() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static("A reusable workout plan template"), - ), + description: Some(CowStr::new_static("A reusable workout plan template")), key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("name"), SmolStr::new_static("type"), - SmolStr::new_static("exercises"), - SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("name"), + SmolStr::new_static("type"), + SmolStr::new_static("exercises"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -610,7 +603,9 @@ fn lexicon_doc_app_fitsky_workoutPlan() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("ogImage"), - LexObjectProperty::Blob(LexBlob { ..Default::default() }), + LexObjectProperty::Blob(LexBlob { + ..Default::default() + }), ); map.insert( SmolStr::new_static("type"), @@ -629,13 +624,11 @@ fn lexicon_doc_app_fitsky_workoutPlan() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("planExercise"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("name"), - SmolStr::new_static("targetSets"), - SmolStr::new_static("targetReps") - ], - ), + required: Some(vec![ + SmolStr::new_static("name"), + SmolStr::new_static("targetSets"), + SmolStr::new_static("targetReps"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -680,7 +673,7 @@ fn lexicon_doc_app_fitsky_workoutPlan() -> LexiconDoc<'static> { pub mod plan_exercise_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -849,10 +842,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> PlanExercise { + pub fn build_with_data(self, extra_data: BTreeMap>) -> PlanExercise { PlanExercise { name: self._fields.0.unwrap(), notes: self._fields.1, @@ -861,4 +851,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_gainforest.rs b/crates/jacquard-api/src/app_gainforest.rs index dd0596e6..ed8610f9 100644 --- a/crates/jacquard-api/src/app_gainforest.rs +++ b/crates/jacquard-api/src/app_gainforest.rs @@ -5,4 +5,4 @@ pub mod dwc; pub mod evaluator; -pub mod organization; \ No newline at end of file +pub mod organization; diff --git a/crates/jacquard-api/src/app_gainforest/dwc.rs b/crates/jacquard-api/src/app_gainforest/dwc.rs index bc83bac3..451507a3 100644 --- a/crates/jacquard-api/src/app_gainforest/dwc.rs +++ b/crates/jacquard-api/src/app_gainforest/dwc.rs @@ -9,10 +9,9 @@ pub mod event; pub mod measurement; pub mod occurrence; - #[allow(unused_imports)] use alloc::collections::BTreeMap; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,7 +23,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// The specific nature of the data record. Controlled vocabulary per Darwin Core. #[derive(Debug, Clone, PartialEq, Eq, Hash)] @@ -110,9 +109,7 @@ where fn into_static(self) -> Self::Output { match self { BasisOfRecordEnum::HumanObservation => BasisOfRecordEnum::HumanObservation, - BasisOfRecordEnum::MachineObservation => { - BasisOfRecordEnum::MachineObservation - } + BasisOfRecordEnum::MachineObservation => BasisOfRecordEnum::MachineObservation, BasisOfRecordEnum::PreservedSpecimen => BasisOfRecordEnum::PreservedSpecimen, BasisOfRecordEnum::LivingSpecimen => BasisOfRecordEnum::LivingSpecimen, BasisOfRecordEnum::FossilSpecimen => BasisOfRecordEnum::FossilSpecimen, @@ -220,7 +217,10 @@ where /// A geographic point with uncertainty, following Darwin Core Location class #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Geolocation { ///Horizontal distance from the coordinates describing the smallest circle containing the whole location. Zero is not valid. #[serde(skip_serializing_if = "Option::is_none")] @@ -316,9 +316,7 @@ where NomenclaturalCodeEnum::Icnp => NomenclaturalCodeEnum::Icnp, NomenclaturalCodeEnum::Ictv => NomenclaturalCodeEnum::Ictv, NomenclaturalCodeEnum::BioCode => NomenclaturalCodeEnum::BioCode, - NomenclaturalCodeEnum::Other(v) => { - NomenclaturalCodeEnum::Other(v.into_static()) - } + NomenclaturalCodeEnum::Other(v) => NomenclaturalCodeEnum::Other(v.into_static()), } } } @@ -391,9 +389,7 @@ where match self { OccurrenceStatusEnum::Present => OccurrenceStatusEnum::Present, OccurrenceStatusEnum::Absent => OccurrenceStatusEnum::Absent, - OccurrenceStatusEnum::Other(v) => { - OccurrenceStatusEnum::Other(v.into_static()) - } + OccurrenceStatusEnum::Other(v) => OccurrenceStatusEnum::Other(v.into_static()), } } } @@ -478,7 +474,10 @@ where /// A taxonomic identification with provenance metadata #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct TaxonIdentification { ///Date the identification was made (ISO 8601) #[serde(skip_serializing_if = "Option::is_none")] @@ -780,10 +779,10 @@ impl LexiconSchema for TaxonIdentification { } fn lexicon_doc_app_gainforest_dwc_defs() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.gainforest.dwc.defs"), @@ -804,11 +803,9 @@ fn lexicon_doc_app_gainforest_dwc_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("dublinCoreTypeEnum"), LexUserType::String(LexString { - description: Some( - CowStr::new_static( - "Dublin Core type vocabulary for the nature of the resource.", - ), - ), + description: Some(CowStr::new_static( + "Dublin Core type vocabulary for the nature of the resource.", + )), max_graphemes: Some(64usize), ..Default::default() }), @@ -881,11 +878,9 @@ fn lexicon_doc_app_gainforest_dwc_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("nomenclaturalCodeEnum"), LexUserType::String(LexString { - description: Some( - CowStr::new_static( - "The nomenclatural code under which the scientific name is constructed.", - ), - ), + description: Some(CowStr::new_static( + "The nomenclatural code under which the scientific name is constructed.", + )), max_graphemes: Some(64usize), ..Default::default() }), @@ -893,11 +888,9 @@ fn lexicon_doc_app_gainforest_dwc_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("occurrenceStatusEnum"), LexUserType::String(LexString { - description: Some( - CowStr::new_static( - "Statement about the presence or absence of a taxon at a location.", - ), - ), + description: Some(CowStr::new_static( + "Statement about the presence or absence of a taxon at a location.", + )), max_graphemes: Some(64usize), ..Default::default() }), @@ -905,11 +898,9 @@ fn lexicon_doc_app_gainforest_dwc_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("sexEnum"), LexUserType::String(LexString { - description: Some( - CowStr::new_static( - "The sex of the biological individual(s) represented in the occurrence.", - ), - ), + description: Some(CowStr::new_static( + "The sex of the biological individual(s) represented in the occurrence.", + )), max_graphemes: Some(64usize), ..Default::default() }), @@ -1018,11 +1009,9 @@ fn lexicon_doc_app_gainforest_dwc_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("taxonRankEnum"), LexUserType::String(LexString { - description: Some( - CowStr::new_static( - "The taxonomic rank of the most specific name in the scientificName.", - ), - ), + description: Some(CowStr::new_static( + "The taxonomic rank of the most specific name in the scientificName.", + )), max_graphemes: Some(64usize), ..Default::default() }), @@ -1031,4 +1020,4 @@ fn lexicon_doc_app_gainforest_dwc_defs() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_gainforest/dwc/event.rs b/crates/jacquard-api/src/app_gainforest/dwc/event.rs index a4717b71..d1e7a31b 100644 --- a/crates/jacquard-api/src/app_gainforest/dwc/event.rs +++ b/crates/jacquard-api/src/app_gainforest/dwc/event.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// A sampling or collecting event. Multiple dwc.occurrence records can reference the same event via eventRef, sharing location and protocol metadata. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -463,7 +463,7 @@ impl LexiconSchema for Event { pub mod event_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -567,33 +567,8 @@ impl EventBuilder { EventBuilder { _state: PhantomData, _fields: ( - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, ), _type: PhantomData, } @@ -602,10 +577,7 @@ impl EventBuilder { impl EventBuilder { /// Set the `coordinateUncertaintyInMeters` field (optional) - pub fn coordinate_uncertainty_in_meters( - mut self, - value: impl Into>, - ) -> Self { + pub fn coordinate_uncertainty_in_meters(mut self, value: impl Into>) -> Self { self._fields.0 = value.into(); self } @@ -725,10 +697,7 @@ where St::EventId: event_state::IsUnset, { /// Set the `eventID` field (required) - pub fn event_id( - mut self, - value: impl Into, - ) -> EventBuilder> { + pub fn event_id(mut self, value: impl Into) -> EventBuilder> { self._fields.8 = Option::Some(value.into()); EventBuilder { _state: PhantomData, @@ -1048,10 +1017,10 @@ where } fn lexicon_doc_app_gainforest_dwc_event() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.gainforest.dwc.event"), @@ -1380,4 +1349,4 @@ fn lexicon_doc_app_gainforest_dwc_event() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_gainforest/dwc/measurement.rs b/crates/jacquard-api/src/app_gainforest/dwc/measurement.rs index 75dab551..2db576a7 100644 --- a/crates/jacquard-api/src/app_gainforest/dwc/measurement.rs +++ b/crates/jacquard-api/src/app_gainforest/dwc/measurement.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// A measurement, fact, characteristic, or assertion about an occurrence. Multiple measurement records can reference the same occurrence, solving the Simple DwC one-measurement-per-record limitation. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -256,7 +256,7 @@ impl LexiconSchema for Measurement { pub mod measurement_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -361,18 +361,7 @@ impl MeasurementBuilder { MeasurementBuilder { _state: PhantomData, _fields: ( - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, + None, None, None, None, None, None, None, None, None, None, None, None, ), _type: PhantomData, } @@ -586,10 +575,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> Measurement { + pub fn build_with_data(self, extra_data: BTreeMap>) -> Measurement { Measurement { created_at: self._fields.0.unwrap(), measurement_accuracy: self._fields.1, @@ -609,10 +595,10 @@ where } fn lexicon_doc_app_gainforest_dwc_measurement() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.gainforest.dwc.measurement"), @@ -794,4 +780,4 @@ fn lexicon_doc_app_gainforest_dwc_measurement() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_gainforest/dwc/occurrence.rs b/crates/jacquard-api/src/app_gainforest/dwc/occurrence.rs index 4ff2ba00..6f18d6a5 100644 --- a/crates/jacquard-api/src/app_gainforest/dwc/occurrence.rs +++ b/crates/jacquard-api/src/app_gainforest/dwc/occurrence.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// A biodiversity occurrence record following the Simple Darwin Core standard. Each record represents one occurrence of an organism at a location and time. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -1174,7 +1174,7 @@ impl LexiconSchema for Occurrence { pub mod occurrence_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -1346,85 +1346,12 @@ impl OccurrenceBuilder { OccurrenceBuilder { _state: PhantomData, _fields: ( - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, ), _type: PhantomData, } @@ -1556,10 +1483,7 @@ impl OccurrenceBuilder { impl OccurrenceBuilder { /// Set the `coordinateUncertaintyInMeters` field (optional) - pub fn coordinate_uncertainty_in_meters( - mut self, - value: impl Into>, - ) -> Self { + pub fn coordinate_uncertainty_in_meters(mut self, value: impl Into>) -> Self { self._fields.9 = value.into(); self } @@ -2579,10 +2503,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> Occurrence { + pub fn build_with_data(self, extra_data: BTreeMap>) -> Occurrence { Occurrence { associated_media: self._fields.0, associated_occurrences: self._fields.1, @@ -2669,10 +2590,10 @@ where } fn lexicon_doc_app_gainforest_dwc_occurrence() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.gainforest.dwc.occurrence"), @@ -3607,4 +3528,4 @@ fn lexicon_doc_app_gainforest_dwc_occurrence() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_gainforest/evaluator.rs b/crates/jacquard-api/src/app_gainforest/evaluator.rs index e301c671..95a1ea0c 100644 --- a/crates/jacquard-api/src/app_gainforest/evaluator.rs +++ b/crates/jacquard-api/src/app_gainforest/evaluator.rs @@ -9,13 +9,12 @@ pub mod evaluation; pub mod service; pub mod subscription; - #[allow(unused_imports)] use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,14 +25,17 @@ use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::app_gainforest::evaluator; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::app_gainforest::evaluator; +use serde::{Deserialize, Serialize}; /// A candidate taxon identification with confidence score and rank. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct CandidateTaxon { ///Confidence score (0-1000, where 1000 = 100.0%). pub confidence: i64, @@ -60,7 +62,10 @@ pub struct CandidateTaxon { /// Generic categorical classification result (e.g., conservation priority, habitat type). #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ClassificationResult { ///The classification category (e.g., 'conservation-priority', 'habitat-type'). pub category: S, @@ -76,7 +81,10 @@ pub struct ClassificationResult { /// Data quality assessment result with per-field quality flags. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DataQualityResult { ///Overall completeness score (0-1000, where 1000 = 100.0%). #[serde(skip_serializing_if = "Option::is_none")] @@ -93,7 +101,10 @@ pub struct DataQualityResult { /// A single measurement derived by an evaluator from source data. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DerivedMeasurement { ///Description of the method used to obtain the measurement. #[serde(skip_serializing_if = "Option::is_none")] @@ -112,7 +123,10 @@ pub struct DerivedMeasurement { /// Derived measurements produced by an evaluator from source data (e.g., remote sensing metrics). #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct MeasurementResult { ///List of derived measurements. pub measurements: Vec>, @@ -126,7 +140,10 @@ pub struct MeasurementResult { /// Provenance metadata describing the method used to produce an evaluation. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct MethodInfo { ///Identifier for the specific model checkpoint used (e.g., date or hash). #[serde(skip_serializing_if = "Option::is_none")] @@ -146,7 +163,10 @@ pub struct MethodInfo { /// A single data quality flag indicating an issue with a specific field. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct QualityFlag { ///The field name that has the quality issue. pub field: S, @@ -245,7 +265,10 @@ where /// AI or human species recognition result with ranked candidate identifications. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct SpeciesIdResult { ///Ranked list of candidate species identifications. pub candidates: Vec>, @@ -262,7 +285,10 @@ pub struct SpeciesIdResult { /// Reference to a target record that is being evaluated. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct SubjectRef { ///CID pinning the exact version of the target record. #[serde(skip_serializing_if = "Option::is_none")] @@ -276,7 +302,10 @@ pub struct SubjectRef { /// Expert verification result for a previous identification or evaluation. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct VerificationResult { ///Notes about the verification decision. #[serde(skip_serializing_if = "Option::is_none")] @@ -347,8 +376,7 @@ impl Serialize for VerificationResultStatus { } } -impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> -for VerificationResultStatus { +impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> for VerificationResultStatus { fn deserialize(deserializer: D) -> Result where D: serde::Deserializer<'de>, @@ -375,9 +403,7 @@ where VerificationResultStatus::Confirmed => VerificationResultStatus::Confirmed, VerificationResultStatus::Rejected => VerificationResultStatus::Rejected, VerificationResultStatus::Uncertain => VerificationResultStatus::Uncertain, - VerificationResultStatus::Other(v) => { - VerificationResultStatus::Other(v.into_static()) - } + VerificationResultStatus::Other(v) => VerificationResultStatus::Other(v.into_static()), } } } @@ -958,7 +984,7 @@ impl LexiconSchema for VerificationResult { pub mod candidate_taxon_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -1177,10 +1203,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> CandidateTaxon { + pub fn build_with_data(self, extra_data: BTreeMap>) -> CandidateTaxon { CandidateTaxon { confidence: self._fields.0.unwrap(), family: self._fields.1, @@ -1195,10 +1218,10 @@ where } fn lexicon_doc_app_gainforest_evaluator_defs() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.gainforest.evaluator.defs"), @@ -1207,18 +1230,14 @@ fn lexicon_doc_app_gainforest_evaluator_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("candidateTaxon"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "A candidate taxon identification with confidence score and rank.", - ), - ), - required: Some( - vec![ - SmolStr::new_static("scientificName"), - SmolStr::new_static("confidence"), - SmolStr::new_static("rank") - ], - ), + description: Some(CowStr::new_static( + "A candidate taxon identification with confidence score and rank.", + )), + required: Some(vec![ + SmolStr::new_static("scientificName"), + SmolStr::new_static("confidence"), + SmolStr::new_static("rank"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -1233,9 +1252,9 @@ fn lexicon_doc_app_gainforest_evaluator_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("family"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Family of the candidate taxon."), - ), + description: Some(CowStr::new_static( + "Family of the candidate taxon.", + )), max_graphemes: Some(128usize), ..Default::default() }), @@ -1243,11 +1262,9 @@ fn lexicon_doc_app_gainforest_evaluator_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("gbifTaxonKey"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "GBIF backbone taxonomy key for the candidate.", - ), - ), + description: Some(CowStr::new_static( + "GBIF backbone taxonomy key for the candidate.", + )), max_graphemes: Some(64usize), ..Default::default() }), @@ -1255,9 +1272,9 @@ fn lexicon_doc_app_gainforest_evaluator_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("genus"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Genus of the candidate taxon."), - ), + description: Some(CowStr::new_static( + "Genus of the candidate taxon.", + )), max_graphemes: Some(128usize), ..Default::default() }), @@ -1265,9 +1282,9 @@ fn lexicon_doc_app_gainforest_evaluator_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("kingdom"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Kingdom of the candidate taxon."), - ), + description: Some(CowStr::new_static( + "Kingdom of the candidate taxon.", + )), max_graphemes: Some(128usize), ..Default::default() }), @@ -1282,11 +1299,9 @@ fn lexicon_doc_app_gainforest_evaluator_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("scientificName"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Full scientific name of the candidate taxon.", - ), - ), + description: Some(CowStr::new_static( + "Full scientific name of the candidate taxon.", + )), max_graphemes: Some(512usize), ..Default::default() }), @@ -1356,11 +1371,9 @@ fn lexicon_doc_app_gainforest_evaluator_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("dataQualityResult"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "Data quality assessment result with per-field quality flags.", - ), - ), + description: Some(CowStr::new_static( + "Data quality assessment result with per-field quality flags.", + )), required: Some(vec![SmolStr::new_static("flags")]), properties: { #[allow(unused_mut)] @@ -1376,11 +1389,9 @@ fn lexicon_doc_app_gainforest_evaluator_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("flags"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static( - "List of quality issues found in the record.", - ), - ), + description: Some(CowStr::new_static( + "List of quality issues found in the record.", + )), items: LexArrayItem::Ref(LexRef { r#ref: CowStr::new_static("#qualityFlag"), ..Default::default() @@ -1392,11 +1403,9 @@ fn lexicon_doc_app_gainforest_evaluator_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("remarks"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Additional notes about the quality assessment.", - ), - ), + description: Some(CowStr::new_static( + "Additional notes about the quality assessment.", + )), max_graphemes: Some(2048usize), ..Default::default() }), @@ -1589,25 +1598,22 @@ fn lexicon_doc_app_gainforest_evaluator_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("qualityFlag"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "A single data quality flag indicating an issue with a specific field.", - ), - ), - required: Some( - vec![SmolStr::new_static("field"), SmolStr::new_static("issue")], - ), + description: Some(CowStr::new_static( + "A single data quality flag indicating an issue with a specific field.", + )), + required: Some(vec![ + SmolStr::new_static("field"), + SmolStr::new_static("issue"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("field"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "The field name that has the quality issue.", - ), - ), + description: Some(CowStr::new_static( + "The field name that has the quality issue.", + )), max_graphemes: Some(64usize), ..Default::default() }), @@ -1615,9 +1621,9 @@ fn lexicon_doc_app_gainforest_evaluator_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("issue"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Description of the quality issue."), - ), + description: Some(CowStr::new_static( + "Description of the quality issue.", + )), max_graphemes: Some(256usize), ..Default::default() }), @@ -1625,9 +1631,9 @@ fn lexicon_doc_app_gainforest_evaluator_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("severity"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Severity level of the quality issue."), - ), + description: Some(CowStr::new_static( + "Severity level of the quality issue.", + )), max_graphemes: Some(64usize), ..Default::default() }), @@ -1697,11 +1703,9 @@ fn lexicon_doc_app_gainforest_evaluator_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("subjectRef"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "Reference to a target record that is being evaluated.", - ), - ), + description: Some(CowStr::new_static( + "Reference to a target record that is being evaluated.", + )), required: Some(vec![SmolStr::new_static("uri")]), properties: { #[allow(unused_mut)] @@ -1709,11 +1713,9 @@ fn lexicon_doc_app_gainforest_evaluator_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("cid"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "CID pinning the exact version of the target record.", - ), - ), + description: Some(CowStr::new_static( + "CID pinning the exact version of the target record.", + )), format: Some(LexStringFormat::Cid), ..Default::default() }), @@ -1721,9 +1723,9 @@ fn lexicon_doc_app_gainforest_evaluator_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("uri"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("AT-URI of the target record."), - ), + description: Some(CowStr::new_static( + "AT-URI of the target record.", + )), format: Some(LexStringFormat::AtUri), ..Default::default() }), @@ -1816,7 +1818,7 @@ fn lexicon_doc_app_gainforest_evaluator_defs() -> LexiconDoc<'static> { pub mod data_quality_result_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -1849,7 +1851,11 @@ pub mod data_quality_result_state { /// Builder for constructing an instance of this type. pub struct DataQualityResultBuilder { _state: PhantomData St>, - _fields: (Option, Option>>, Option), + _fields: ( + Option, + Option>>, + Option, + ), _type: PhantomData S>, } @@ -1931,10 +1937,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> DataQualityResult { + pub fn build_with_data(self, extra_data: BTreeMap>) -> DataQualityResult { DataQualityResult { completeness_score: self._fields.0, flags: self._fields.1.unwrap(), @@ -1946,7 +1949,7 @@ where pub mod measurement_result_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -2047,10 +2050,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> MeasurementResult { + pub fn build_with_data(self, extra_data: BTreeMap>) -> MeasurementResult { MeasurementResult { measurements: self._fields.0.unwrap(), remarks: self._fields.1, @@ -2061,7 +2061,7 @@ where pub mod species_id_result_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -2094,7 +2094,11 @@ pub mod species_id_result_state { /// Builder for constructing an instance of this type. pub struct SpeciesIdResultBuilder { _state: PhantomData St>, - _fields: (Option>>, Option, Option), + _fields: ( + Option>>, + Option, + Option, + ), _type: PhantomData S>, } @@ -2176,10 +2180,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> SpeciesIdResult { + pub fn build_with_data(self, extra_data: BTreeMap>) -> SpeciesIdResult { SpeciesIdResult { candidates: self._fields.0.unwrap(), input_feature: self._fields.1, @@ -2191,7 +2192,7 @@ where pub mod subject_ref_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -2292,14 +2293,11 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> SubjectRef { + pub fn build_with_data(self, extra_data: BTreeMap>) -> SubjectRef { SubjectRef { cid: self._fields.0, uri: self._fields.1.unwrap(), extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_gainforest/evaluator/evaluation.rs b/crates/jacquard-api/src/app_gainforest/evaluator/evaluation.rs index 4b61e581..d7990371 100644 --- a/crates/jacquard-api/src/app_gainforest/evaluator/evaluation.rs +++ b/crates/jacquard-api/src/app_gainforest/evaluator/evaluation.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,9 +24,6 @@ use jacquard_derive::{IntoStatic, lexicon, open_union}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::app_gainforest::evaluator::ClassificationResult; use crate::app_gainforest::evaluator::DataQualityResult; use crate::app_gainforest::evaluator::MeasurementResult; @@ -34,6 +31,9 @@ use crate::app_gainforest::evaluator::MethodInfo; use crate::app_gainforest::evaluator::SpeciesIdResult; use crate::app_gainforest::evaluator::SubjectRef; use crate::app_gainforest::evaluator::VerificationResult; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; /// A single evaluation produced by an evaluator service. Exactly one of 'subject' (single target) or 'subjects' (batch) must be provided. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -76,7 +76,6 @@ pub struct Evaluation { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -207,7 +206,7 @@ impl LexiconSchema for Evaluation { pub mod evaluation_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -450,10 +449,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> Evaluation { + pub fn build_with_data(self, extra_data: BTreeMap>) -> Evaluation { Evaluation { confidence: self._fields.0, created_at: self._fields.1.unwrap(), @@ -471,10 +467,10 @@ where } fn lexicon_doc_app_gainforest_evaluator_evaluation() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.gainforest.evaluator.evaluation"), @@ -626,4 +622,4 @@ fn lexicon_doc_app_gainforest_evaluator_evaluation() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_gainforest/evaluator/service.rs b/crates/jacquard-api/src/app_gainforest/evaluator/service.rs index 9426685f..3b76382a 100644 --- a/crates/jacquard-api/src/app_gainforest/evaluator/service.rs +++ b/crates/jacquard-api/src/app_gainforest/evaluator/service.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,15 +24,18 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::app_gainforest::evaluator::MethodInfo; use crate::app_gainforest::evaluator::service; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; /// Definition of a single evaluation type produced by this evaluator. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct EvaluationTypeDefinition { ///The evaluation type identifier (must match an entry in evaluationTypes). pub identifier: S, @@ -51,7 +54,10 @@ pub struct EvaluationTypeDefinition { /// Localized name and description for an evaluation type. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct EvaluationTypeLocale { ///Longer description of what this evaluation type does. pub description: S, @@ -66,7 +72,10 @@ pub struct EvaluationTypeLocale { /// Policies declaring what this evaluator does and how it operates. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct EvaluatorPolicies { ///Whether this evaluator requires user subscription ('subscription') or processes all matching records ('open'). #[serde(skip_serializing_if = "Option::is_none")] @@ -131,8 +140,7 @@ impl Serialize for EvaluatorPoliciesAccessModel { } } -impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> -for EvaluatorPoliciesAccessModel { +impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> for EvaluatorPoliciesAccessModel { fn deserialize(deserializer: D) -> Result where D: serde::Deserializer<'de>, @@ -408,10 +416,10 @@ impl LexiconSchema for Service { } fn lexicon_doc_app_gainforest_evaluator_service() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.gainforest.evaluator.service"), @@ -491,28 +499,23 @@ fn lexicon_doc_app_gainforest_evaluator_service() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("evaluationTypeLocale"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "Localized name and description for an evaluation type.", - ), - ), - required: Some( - vec![ - SmolStr::new_static("lang"), SmolStr::new_static("name"), - SmolStr::new_static("description") - ], - ), + description: Some(CowStr::new_static( + "Localized name and description for an evaluation type.", + )), + required: Some(vec![ + SmolStr::new_static("lang"), + SmolStr::new_static("name"), + SmolStr::new_static("description"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("description"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Longer description of what this evaluation type does.", - ), - ), + description: Some(CowStr::new_static( + "Longer description of what this evaluation type does.", + )), max_graphemes: Some(2048usize), ..Default::default() }), @@ -520,11 +523,9 @@ fn lexicon_doc_app_gainforest_evaluator_service() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("lang"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Language code (BCP-47, e.g., 'en', 'pt-BR').", - ), - ), + description: Some(CowStr::new_static( + "Language code (BCP-47, e.g., 'en', 'pt-BR').", + )), max_graphemes: Some(16usize), ..Default::default() }), @@ -532,11 +533,9 @@ fn lexicon_doc_app_gainforest_evaluator_service() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("name"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Short human-readable name for this evaluation type.", - ), - ), + description: Some(CowStr::new_static( + "Short human-readable name for this evaluation type.", + )), max_graphemes: Some(128usize), ..Default::default() }), @@ -676,7 +675,7 @@ fn lexicon_doc_app_gainforest_evaluator_service() -> LexiconDoc<'static> { pub mod evaluator_policies_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -746,10 +745,7 @@ impl EvaluatorPoliciesBuilder>, - ) -> Self { + pub fn maybe_access_model(mut self, value: Option>) -> Self { self._fields.0 = value; self } @@ -822,10 +818,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> EvaluatorPolicies { + pub fn build_with_data(self, extra_data: BTreeMap>) -> EvaluatorPolicies { EvaluatorPolicies { access_model: self._fields.0, evaluation_type_definitions: self._fields.1, @@ -838,7 +831,7 @@ where pub mod service_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -965,4 +958,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_gainforest/evaluator/subscription.rs b/crates/jacquard-api/src/app_gainforest/evaluator/subscription.rs index 2a12ac93..10740c24 100644 --- a/crates/jacquard-api/src/app_gainforest/evaluator/subscription.rs +++ b/crates/jacquard-api/src/app_gainforest/evaluator/subscription.rs @@ -10,13 +10,13 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::collection::{Collection, RecordError}; -use jacquard_common::types::string::{Did, AtUri, Cid, Datetime}; +use jacquard_common::types::string::{AtUri, Cid, Datetime, Did}; use jacquard_common::types::uri::{RecordUri, UriError}; use jacquard_common::types::value::Data; use jacquard_common::xrpc::XrpcResp; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// User subscription to an evaluator service. Published by the user (not the evaluator) to declare they want evaluations. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -132,7 +132,7 @@ impl LexiconSchema for Subscription { pub mod subscription_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -177,7 +177,12 @@ pub mod subscription_state { /// Builder for constructing an instance of this type. pub struct SubscriptionBuilder { _state: PhantomData St>, - _fields: (Option>, Option, Option>, Option>), + _fields: ( + Option>, + Option, + Option>, + Option>, + ), _type: PhantomData S>, } @@ -280,10 +285,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> Subscription { + pub fn build_with_data(self, extra_data: BTreeMap>) -> Subscription { Subscription { collections: self._fields.0, created_at: self._fields.1.unwrap(), @@ -295,10 +297,10 @@ where } fn lexicon_doc_app_gainforest_evaluator_subscription() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.gainforest.evaluator.subscription"), @@ -390,4 +392,4 @@ fn lexicon_doc_app_gainforest_evaluator_subscription() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_gainforest/organization.rs b/crates/jacquard-api/src/app_gainforest/organization.rs index 2bb44992..00721946 100644 --- a/crates/jacquard-api/src/app_gainforest/organization.rs +++ b/crates/jacquard-api/src/app_gainforest/organization.rs @@ -8,4 +8,4 @@ pub mod get_indexed_organizations; pub mod info; pub mod layer; pub mod observations; -pub mod predictions; \ No newline at end of file +pub mod predictions; diff --git a/crates/jacquard-api/src/app_gainforest/organization/default_site.rs b/crates/jacquard-api/src/app_gainforest/organization/default_site.rs index 256cfc17..67849f3c 100644 --- a/crates/jacquard-api/src/app_gainforest/organization/default_site.rs +++ b/crates/jacquard-api/src/app_gainforest/organization/default_site.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// A declaration of the default site for an organization #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -106,7 +106,7 @@ impl LexiconSchema for DefaultSite { pub mod default_site_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -226,10 +226,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> DefaultSite { + pub fn build_with_data(self, extra_data: BTreeMap>) -> DefaultSite { DefaultSite { created_at: self._fields.0.unwrap(), site: self._fields.1.unwrap(), @@ -239,10 +236,10 @@ where } fn lexicon_doc_app_gainforest_organization_defaultSite() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.gainforest.organization.defaultSite"), @@ -251,30 +248,24 @@ fn lexicon_doc_app_gainforest_organization_defaultSite() -> LexiconDoc<'static> map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static( - "A declaration of the default site for an organization", - ), - ), + description: Some(CowStr::new_static( + "A declaration of the default site for an organization", + )), key: Some(CowStr::new_static("literal:self")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("site"), - SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("site"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("createdAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "The date and time of the creation of the record", - ), - ), + description: Some(CowStr::new_static( + "The date and time of the creation of the record", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -282,11 +273,9 @@ fn lexicon_doc_app_gainforest_organization_defaultSite() -> LexiconDoc<'static> map.insert( SmolStr::new_static("site"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "The reference to the default site record in the PDS", - ), - ), + description: Some(CowStr::new_static( + "The reference to the default site record in the PDS", + )), format: Some(LexStringFormat::AtUri), ..Default::default() }), @@ -302,4 +291,4 @@ fn lexicon_doc_app_gainforest_organization_defaultSite() -> LexiconDoc<'static> }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_gainforest/organization/get_indexed_organizations.rs b/crates/jacquard-api/src/app_gainforest/organization/get_indexed_organizations.rs index 22ceb10a..89ac603c 100644 --- a/crates/jacquard-api/src/app_gainforest/organization/get_indexed_organizations.rs +++ b/crates/jacquard-api/src/app_gainforest/organization/get_indexed_organizations.rs @@ -10,18 +10,21 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(rename_all = "camelCase")] pub struct GetIndexedOrganizations; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetIndexedOrganizationsOutput { pub organizations: Vec>, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -50,4 +53,4 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetIndexedOrganizationsRequest { const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Query; type Request = GetIndexedOrganizations; type Response = GetIndexedOrganizationsResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_gainforest/organization/info.rs b/crates/jacquard-api/src/app_gainforest/organization/info.rs index 218d2a27..179b7c75 100644 --- a/crates/jacquard-api/src/app_gainforest/organization/info.rs +++ b/crates/jacquard-api/src/app_gainforest/organization/info.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// A declaration of an organization or project #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -194,7 +194,7 @@ impl LexiconSchema for Info { pub mod info_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -357,7 +357,9 @@ impl InfoBuilder { pub fn new() -> Self { InfoBuilder { _state: PhantomData, - _fields: (None, None, None, None, None, None, None, None, None, None, None), + _fields: ( + None, None, None, None, None, None, None, None, None, None, None, + ), _type: PhantomData, } } @@ -369,10 +371,7 @@ where St::Country: info_state::IsUnset, { /// Set the `country` field (required) - pub fn country( - mut self, - value: impl Into, - ) -> InfoBuilder> { + pub fn country(mut self, value: impl Into) -> InfoBuilder> { self._fields.0 = Option::Some(value.into()); InfoBuilder { _state: PhantomData, @@ -596,10 +595,10 @@ where } fn lexicon_doc_app_gainforest_organization_info() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.gainforest.organization.info"), @@ -767,4 +766,4 @@ fn lexicon_doc_app_gainforest_organization_info() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_gainforest/organization/layer.rs b/crates/jacquard-api/src/app_gainforest/organization/layer.rs index 19a57d6b..a83d8e12 100644 --- a/crates/jacquard-api/src/app_gainforest/organization/layer.rs +++ b/crates/jacquard-api/src/app_gainforest/organization/layer.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// A declaration of a layer for an organization #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -113,7 +113,7 @@ impl LexiconSchema for Layer { pub mod layer_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -188,7 +188,13 @@ pub mod layer_state { /// Builder for constructing an instance of this type. pub struct LayerBuilder { _state: PhantomData St>, - _fields: (Option, Option, Option, Option, Option>), + _fields: ( + Option, + Option, + Option, + Option, + Option>, + ), _type: PhantomData S>, } @@ -248,10 +254,7 @@ where St::Name: layer_state::IsUnset, { /// Set the `name` field (required) - pub fn name( - mut self, - value: impl Into, - ) -> LayerBuilder> { + pub fn name(mut self, value: impl Into) -> LayerBuilder> { self._fields.2 = Option::Some(value.into()); LayerBuilder { _state: PhantomData, @@ -267,10 +270,7 @@ where St::Type: layer_state::IsUnset, { /// Set the `type` field (required) - pub fn r#type( - mut self, - value: impl Into, - ) -> LayerBuilder> { + pub fn r#type(mut self, value: impl Into) -> LayerBuilder> { self._fields.3 = Option::Some(value.into()); LayerBuilder { _state: PhantomData, @@ -332,10 +332,10 @@ where } fn lexicon_doc_app_gainforest_organization_layer() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.gainforest.organization.layer"), @@ -344,30 +344,26 @@ fn lexicon_doc_app_gainforest_organization_layer() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static( - "A declaration of a layer for an organization", - ), - ), + description: Some(CowStr::new_static( + "A declaration of a layer for an organization", + )), key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("name"), SmolStr::new_static("type"), - SmolStr::new_static("uri"), SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("name"), + SmolStr::new_static("type"), + SmolStr::new_static("uri"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("createdAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "The date and time of the creation of the record", - ), - ), + description: Some(CowStr::new_static( + "The date and time of the creation of the record", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -375,36 +371,30 @@ fn lexicon_doc_app_gainforest_organization_layer() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("description"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The description of the layer"), - ), + description: Some(CowStr::new_static( + "The description of the layer", + )), ..Default::default() }), ); map.insert( SmolStr::new_static("name"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The name of the site"), - ), + description: Some(CowStr::new_static("The name of the site")), ..Default::default() }), ); map.insert( SmolStr::new_static("type"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The type of the layer"), - ), + description: Some(CowStr::new_static("The type of the layer")), ..Default::default() }), ); map.insert( SmolStr::new_static("uri"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The URI of the layer"), - ), + description: Some(CowStr::new_static("The URI of the layer")), format: Some(LexStringFormat::Uri), ..Default::default() }), @@ -420,4 +410,4 @@ fn lexicon_doc_app_gainforest_organization_layer() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_gainforest/organization/observations.rs b/crates/jacquard-api/src/app_gainforest/organization/observations.rs index b5b9d927..8cd9f90a 100644 --- a/crates/jacquard-api/src/app_gainforest/organization/observations.rs +++ b/crates/jacquard-api/src/app_gainforest/organization/observations.rs @@ -6,4 +6,4 @@ pub mod dendogram; pub mod fauna; pub mod flora; -pub mod measured_trees_cluster; \ No newline at end of file +pub mod measured_trees_cluster; diff --git a/crates/jacquard-api/src/app_gainforest/organization/observations/dendogram.rs b/crates/jacquard-api/src/app_gainforest/organization/observations/dendogram.rs index ae318f85..b7aa105e 100644 --- a/crates/jacquard-api/src/app_gainforest/organization/observations/dendogram.rs +++ b/crates/jacquard-api/src/app_gainforest/organization/observations/dendogram.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// A declaration of a dendogram observation for an organization #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -106,7 +106,7 @@ impl LexiconSchema for Dendogram { pub mod dendogram_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -226,10 +226,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> Dendogram { + pub fn build_with_data(self, extra_data: BTreeMap>) -> Dendogram { Dendogram { created_at: self._fields.0.unwrap(), dendogram: self._fields.1.unwrap(), @@ -238,13 +235,11 @@ where } } -fn lexicon_doc_app_gainforest_organization_observations_dendogram() -> LexiconDoc< - 'static, -> { +fn lexicon_doc_app_gainforest_organization_observations_dendogram() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.gainforest.organization.observations.dendogram"), @@ -253,30 +248,24 @@ fn lexicon_doc_app_gainforest_organization_observations_dendogram() -> LexiconDo map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static( - "A declaration of a dendogram observation for an organization", - ), - ), + description: Some(CowStr::new_static( + "A declaration of a dendogram observation for an organization", + )), key: Some(CowStr::new_static("literal:self")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("dendogram"), - SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("dendogram"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("createdAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "The date and time of the creation of the record", - ), - ), + description: Some(CowStr::new_static( + "The date and time of the creation of the record", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -301,4 +290,4 @@ fn lexicon_doc_app_gainforest_organization_observations_dendogram() -> LexiconDo }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_gainforest/organization/observations/fauna.rs b/crates/jacquard-api/src/app_gainforest/organization/observations/fauna.rs index 6d21ed35..490485c3 100644 --- a/crates/jacquard-api/src/app_gainforest/organization/observations/fauna.rs +++ b/crates/jacquard-api/src/app_gainforest/organization/observations/fauna.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// DEPRECATED: Use app.gainforest.dwc.occurrence instead. A declaration of a fauna observation for an organization. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -106,7 +106,7 @@ impl LexiconSchema for Fauna { pub mod fauna_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -236,10 +236,10 @@ where } fn lexicon_doc_app_gainforest_organization_observations_fauna() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.gainforest.organization.observations.fauna"), @@ -306,4 +306,4 @@ fn lexicon_doc_app_gainforest_organization_observations_fauna() -> LexiconDoc<'s }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_gainforest/organization/observations/flora.rs b/crates/jacquard-api/src/app_gainforest/organization/observations/flora.rs index 664e2c14..0ad7424e 100644 --- a/crates/jacquard-api/src/app_gainforest/organization/observations/flora.rs +++ b/crates/jacquard-api/src/app_gainforest/organization/observations/flora.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// DEPRECATED: Use app.gainforest.dwc.occurrence instead. A declaration of a flora observation for an organization. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -106,7 +106,7 @@ impl LexiconSchema for Flora { pub mod flora_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -236,10 +236,10 @@ where } fn lexicon_doc_app_gainforest_organization_observations_flora() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.gainforest.organization.observations.flora"), @@ -306,4 +306,4 @@ fn lexicon_doc_app_gainforest_organization_observations_flora() -> LexiconDoc<'s }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_gainforest/organization/observations/measured_trees_cluster.rs b/crates/jacquard-api/src/app_gainforest/organization/observations/measured_trees_cluster.rs index 63ad77e8..87eda7e8 100644 --- a/crates/jacquard-api/src/app_gainforest/organization/observations/measured_trees_cluster.rs +++ b/crates/jacquard-api/src/app_gainforest/organization/observations/measured_trees_cluster.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// A declaration of a measured trees cluster for an organization #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -73,8 +73,7 @@ impl XrpcResp for MeasuredTreesClusterRecord { type Err = RecordError; } -impl From> -for MeasuredTreesCluster { +impl From> for MeasuredTreesCluster { fn from(output: MeasuredTreesClusterGetRecordOutput) -> Self { output.value } @@ -107,7 +106,7 @@ impl LexiconSchema for MeasuredTreesCluster { pub mod measured_trees_cluster_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -150,10 +149,7 @@ pub mod measured_trees_cluster_state { } /// Builder for constructing an instance of this type. -pub struct MeasuredTreesClusterBuilder< - S: BosStr, - St: measured_trees_cluster_state::State, -> { +pub struct MeasuredTreesClusterBuilder { _state: PhantomData St>, _fields: (Option, Option>), _type: PhantomData S>, @@ -242,47 +238,38 @@ where } } -fn lexicon_doc_app_gainforest_organization_observations_measuredTreesCluster() -> LexiconDoc< - 'static, -> { +fn lexicon_doc_app_gainforest_organization_observations_measuredTreesCluster() -> LexiconDoc<'static> +{ + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, - id: CowStr::new_static( - "app.gainforest.organization.observations.measuredTreesCluster", - ), + id: CowStr::new_static("app.gainforest.organization.observations.measuredTreesCluster"), defs: { let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static( - "A declaration of a measured trees cluster for an organization", - ), - ), + description: Some(CowStr::new_static( + "A declaration of a measured trees cluster for an organization", + )), key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("shapefile"), - SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("shapefile"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("createdAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "The date and time of the creation of the record", - ), - ), + description: Some(CowStr::new_static( + "The date and time of the creation of the record", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -307,4 +294,4 @@ fn lexicon_doc_app_gainforest_organization_observations_measuredTreesCluster() - }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_gainforest/organization/predictions.rs b/crates/jacquard-api/src/app_gainforest/organization/predictions.rs index 594aed93..071237b2 100644 --- a/crates/jacquard-api/src/app_gainforest/organization/predictions.rs +++ b/crates/jacquard-api/src/app_gainforest/organization/predictions.rs @@ -4,4 +4,4 @@ // Any manual changes will be overwritten on the next regeneration. pub mod fauna; -pub mod flora; \ No newline at end of file +pub mod flora; diff --git a/crates/jacquard-api/src/app_gainforest/organization/predictions/fauna.rs b/crates/jacquard-api/src/app_gainforest/organization/predictions/fauna.rs index fadeb6f5..ff30d857 100644 --- a/crates/jacquard-api/src/app_gainforest/organization/predictions/fauna.rs +++ b/crates/jacquard-api/src/app_gainforest/organization/predictions/fauna.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// DEPRECATED: Use app.gainforest.dwc.occurrence with basisOfRecord='MachineObservation' instead. A declaration of a fauna prediction for an organization. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -106,7 +106,7 @@ impl LexiconSchema for Fauna { pub mod fauna_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -236,10 +236,10 @@ where } fn lexicon_doc_app_gainforest_organization_predictions_fauna() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.gainforest.organization.predictions.fauna"), @@ -306,4 +306,4 @@ fn lexicon_doc_app_gainforest_organization_predictions_fauna() -> LexiconDoc<'st }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_gainforest/organization/predictions/flora.rs b/crates/jacquard-api/src/app_gainforest/organization/predictions/flora.rs index c3278104..00654f72 100644 --- a/crates/jacquard-api/src/app_gainforest/organization/predictions/flora.rs +++ b/crates/jacquard-api/src/app_gainforest/organization/predictions/flora.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// DEPRECATED: Use app.gainforest.dwc.occurrence with basisOfRecord='MachineObservation' instead. A declaration of a flora prediction for an organization. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -106,7 +106,7 @@ impl LexiconSchema for Flora { pub mod flora_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -236,10 +236,10 @@ where } fn lexicon_doc_app_gainforest_organization_predictions_flora() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.gainforest.organization.predictions.flora"), @@ -306,4 +306,4 @@ fn lexicon_doc_app_gainforest_organization_predictions_flora() -> LexiconDoc<'st }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_greengale.rs b/crates/jacquard-api/src/app_greengale.rs index ed1a3fcd..04288fbe 100644 --- a/crates/jacquard-api/src/app_greengale.rs +++ b/crates/jacquard-api/src/app_greengale.rs @@ -5,4 +5,4 @@ pub mod blog; pub mod document; -pub mod publication; \ No newline at end of file +pub mod publication; diff --git a/crates/jacquard-api/src/app_greengale/blog.rs b/crates/jacquard-api/src/app_greengale/blog.rs index bd140a96..09e9f124 100644 --- a/crates/jacquard-api/src/app_greengale/blog.rs +++ b/crates/jacquard-api/src/app_greengale/blog.rs @@ -7,13 +7,12 @@ pub mod entry; - #[allow(unused_imports)] use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -25,14 +24,17 @@ use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::app_greengale::blog; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::app_greengale::blog; +use serde::{Deserialize, Serialize}; /// Metadata for uploaded binary content #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct BlobMetadata { ///Alt text for accessibility #[serde(skip_serializing_if = "Option::is_none")] @@ -52,7 +54,10 @@ pub struct BlobMetadata { /// Custom color values (CSS color strings) #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct CustomColors { ///Accent/link color #[serde(skip_serializing_if = "Option::is_none")] @@ -73,7 +78,10 @@ pub struct CustomColors { /// Open Graph Protocol metadata for social sharing #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Ogp { ///Image height in pixels #[serde(skip_serializing_if = "Option::is_none")] @@ -90,7 +98,10 @@ pub struct Ogp { /// Metadata tag on an atproto resource, published by the author #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct SelfLabel { ///The short string name of the value or type of this label pub val: S, @@ -101,7 +112,10 @@ pub struct SelfLabel { /// Metadata tags on an atproto resource, published by the author #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct SelfLabels { pub values: Vec>, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -111,7 +125,10 @@ pub struct SelfLabels { /// Theme configuration for a blog entry #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Theme { ///Custom color overrides #[serde(skip_serializing_if = "Option::is_none")] @@ -126,7 +143,10 @@ pub struct Theme { /// Voice theme configuration for TTS playback #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct VoiceTheme { ///Pitch multiplier x100 (100 = normal, range 50-150) #[serde(skip_serializing_if = "Option::is_none")] @@ -167,19 +187,16 @@ impl LexiconSchema for BlobMetadata { { let mime = value.blob().mime_type.as_str(); let accepted: &[&str] = &["*/*"]; - let matched = accepted - .iter() - .any(|pattern| { - if *pattern == "*/*" { - true - } else if pattern.ends_with("/*") { - let prefix = &pattern[..pattern.len() - 2]; - mime.starts_with(prefix) - && mime.as_bytes().get(prefix.len()) == Some(&b'/') - } else { - mime == *pattern - } - }); + let matched = accepted.iter().any(|pattern| { + if *pattern == "*/*" { + true + } else if pattern.ends_with("/*") { + let prefix = &pattern[..pattern.len() - 2]; + mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/') + } else { + mime == *pattern + } + }); if !matched { return Err(ConstraintError::BlobMimeTypeNotAccepted { path: ValidationPath::from_field("blobref"), @@ -388,7 +405,7 @@ impl LexiconSchema for VoiceTheme { pub mod blob_metadata_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -421,7 +438,12 @@ pub mod blob_metadata_state { /// Builder for constructing an instance of this type. pub struct BlobMetadataBuilder { _state: PhantomData St>, - _fields: (Option, Option>, Option>, Option), + _fields: ( + Option, + Option>, + Option>, + Option, + ), _type: PhantomData S>, } @@ -517,10 +539,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> BlobMetadata { + pub fn build_with_data(self, extra_data: BTreeMap>) -> BlobMetadata { BlobMetadata { alt: self._fields.0, blobref: self._fields.1.unwrap(), @@ -532,10 +551,10 @@ where } fn lexicon_doc_app_greengale_blog_defs() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.greengale.blog.defs"), @@ -544,9 +563,7 @@ fn lexicon_doc_app_greengale_blog_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("blobMetadata"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("Metadata for uploaded binary content"), - ), + description: Some(CowStr::new_static("Metadata for uploaded binary content")), required: Some(vec![SmolStr::new_static("blobref")]), properties: { #[allow(unused_mut)] @@ -554,16 +571,16 @@ fn lexicon_doc_app_greengale_blog_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("alt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Alt text for accessibility"), - ), + description: Some(CowStr::new_static("Alt text for accessibility")), max_length: Some(1000usize), ..Default::default() }), ); map.insert( SmolStr::new_static("blobref"), - LexObjectProperty::Blob(LexBlob { ..Default::default() }), + LexObjectProperty::Blob(LexBlob { + ..Default::default() + }), ); map.insert( SmolStr::new_static("labels"), @@ -588,9 +605,9 @@ fn lexicon_doc_app_greengale_blog_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("customColors"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("Custom color values (CSS color strings)"), - ), + description: Some(CowStr::new_static( + "Custom color values (CSS color strings)", + )), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -613,9 +630,9 @@ fn lexicon_doc_app_greengale_blog_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("codeBackground"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Code block background color"), - ), + description: Some(CowStr::new_static( + "Code block background color", + )), max_length: Some(64usize), ..Default::default() }), @@ -636,11 +653,9 @@ fn lexicon_doc_app_greengale_blog_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("ogp"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "Open Graph Protocol metadata for social sharing", - ), - ), + description: Some(CowStr::new_static( + "Open Graph Protocol metadata for social sharing", + )), required: Some(vec![SmolStr::new_static("url")]), properties: { #[allow(unused_mut)] @@ -654,9 +669,7 @@ fn lexicon_doc_app_greengale_blog_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("url"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("URL of the OGP image"), - ), + description: Some(CowStr::new_static("URL of the OGP image")), format: Some(LexStringFormat::Uri), max_length: Some(2048usize), ..Default::default() @@ -676,11 +689,9 @@ fn lexicon_doc_app_greengale_blog_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("selfLabel"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "Metadata tag on an atproto resource, published by the author", - ), - ), + description: Some(CowStr::new_static( + "Metadata tag on an atproto resource, published by the author", + )), required: Some(vec![SmolStr::new_static("val")]), properties: { #[allow(unused_mut)] @@ -688,11 +699,9 @@ fn lexicon_doc_app_greengale_blog_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("val"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "The short string name of the value or type of this label", - ), - ), + description: Some(CowStr::new_static( + "The short string name of the value or type of this label", + )), max_length: Some(128usize), ..Default::default() }), @@ -705,11 +714,9 @@ fn lexicon_doc_app_greengale_blog_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("selfLabels"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "Metadata tags on an atproto resource, published by the author", - ), - ), + description: Some(CowStr::new_static( + "Metadata tags on an atproto resource, published by the author", + )), required: Some(vec![SmolStr::new_static("values")]), properties: { #[allow(unused_mut)] @@ -733,9 +740,7 @@ fn lexicon_doc_app_greengale_blog_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("theme"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("Theme configuration for a blog entry"), - ), + description: Some(CowStr::new_static("Theme configuration for a blog entry")), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -749,9 +754,7 @@ fn lexicon_doc_app_greengale_blog_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("preset"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Predefined color theme"), - ), + description: Some(CowStr::new_static("Predefined color theme")), max_length: Some(32usize), ..Default::default() }), @@ -764,9 +767,9 @@ fn lexicon_doc_app_greengale_blog_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("voiceTheme"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("Voice theme configuration for TTS playback"), - ), + description: Some(CowStr::new_static( + "Voice theme configuration for TTS playback", + )), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -785,11 +788,9 @@ fn lexicon_doc_app_greengale_blog_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("voice"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Voice ID for TTS (e.g., 'af_heart', 'am_adam')", - ), - ), + description: Some(CowStr::new_static( + "Voice ID for TTS (e.g., 'af_heart', 'am_adam')", + )), max_length: Some(32usize), ..Default::default() }), @@ -807,7 +808,7 @@ fn lexicon_doc_app_greengale_blog_defs() -> LexiconDoc<'static> { pub mod ogp_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -881,10 +882,7 @@ where St::Url: ogp_state::IsUnset, { /// Set the `url` field (required) - pub fn url( - mut self, - value: impl Into>, - ) -> OgpBuilder> { + pub fn url(mut self, value: impl Into>) -> OgpBuilder> { self._fields.1 = Option::Some(value.into()); OgpBuilder { _state: PhantomData, @@ -934,7 +932,7 @@ where pub mod self_labels_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -1021,13 +1019,10 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> SelfLabels { + pub fn build_with_data(self, extra_data: BTreeMap>) -> SelfLabels { SelfLabels { values: self._fields.0.unwrap(), extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_greengale/blog/entry.rs b/crates/jacquard-api/src/app_greengale/blog/entry.rs index c3f0d61e..8f279108 100644 --- a/crates/jacquard-api/src/app_greengale/blog/entry.rs +++ b/crates/jacquard-api/src/app_greengale/blog/entry.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,12 +24,12 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::app_greengale::blog::BlobMetadata; use crate::app_greengale::blog::Ogp; use crate::app_greengale::blog::Theme; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; /// A markdown blog post with extended theme and LaTeX support. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -176,7 +176,7 @@ fn _default_entry_visibility() -> ::core::option::Option { pub mod entry_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -260,10 +260,7 @@ where St::Content: entry_state::IsUnset, { /// Set the `content` field (required) - pub fn content( - mut self, - value: impl Into, - ) -> EntryBuilder> { + pub fn content(mut self, value: impl Into) -> EntryBuilder> { self._fields.1 = Option::Some(value.into()); EntryBuilder { _state: PhantomData, @@ -402,10 +399,10 @@ where } fn lexicon_doc_app_greengale_blog_entry() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.greengale.blog.entry"), @@ -414,11 +411,9 @@ fn lexicon_doc_app_greengale_blog_entry() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static( - "A markdown blog post with extended theme and LaTeX support.", - ), - ), + description: Some(CowStr::new_static( + "A markdown blog post with extended theme and LaTeX support.", + )), key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { required: Some(vec![SmolStr::new_static("content")]), @@ -440,9 +435,9 @@ fn lexicon_doc_app_greengale_blog_entry() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("content"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Markdown content of the blog post"), - ), + description: Some(CowStr::new_static( + "Markdown content of the blog post", + )), max_length: Some(100000usize), ..Default::default() }), @@ -491,9 +486,9 @@ fn lexicon_doc_app_greengale_blog_entry() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("visibility"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Controls who can view this entry"), - ), + description: Some(CowStr::new_static( + "Controls who can view this entry", + )), max_length: Some(16usize), ..Default::default() }), @@ -509,4 +504,4 @@ fn lexicon_doc_app_greengale_blog_entry() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_greengale/document.rs b/crates/jacquard-api/src/app_greengale/document.rs index 3dc04aeb..53c353f6 100644 --- a/crates/jacquard-api/src/app_greengale/document.rs +++ b/crates/jacquard-api/src/app_greengale/document.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,16 +24,19 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::app_greengale::blog::BlobMetadata; use crate::app_greengale::blog::Ogp; use crate::app_greengale::blog::Theme; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; /// Reference to external content via AT-URI. Used in site.standard.document content union. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ContentRef { ///AT-URI pointing to the full document content pub uri: AtUri, @@ -234,7 +237,7 @@ impl LexiconSchema for Document { pub mod content_ref_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -321,10 +324,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> ContentRef { + pub fn build_with_data(self, extra_data: BTreeMap>) -> ContentRef { ContentRef { uri: self._fields.0.unwrap(), extra_data: Some(extra_data), @@ -333,10 +333,10 @@ where } fn lexicon_doc_app_greengale_document() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.greengale.document"), @@ -533,7 +533,7 @@ fn _default_document_visibility() -> ::core::option::Option pub mod document_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -656,18 +656,7 @@ impl DocumentBuilder { DocumentBuilder { _state: PhantomData, _fields: ( - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, + None, None, None, None, None, None, None, None, None, None, None, None, ), _type: PhantomData, } @@ -738,10 +727,7 @@ where St::Path: document_state::IsUnset, { /// Set the `path` field (required) - pub fn path( - mut self, - value: impl Into, - ) -> DocumentBuilder> { + pub fn path(mut self, value: impl Into) -> DocumentBuilder> { self._fields.4 = Option::Some(value.into()); DocumentBuilder { _state: PhantomData, @@ -905,4 +891,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_greengale/publication.rs b/crates/jacquard-api/src/app_greengale/publication.rs index df269b20..81675f83 100644 --- a/crates/jacquard-api/src/app_greengale/publication.rs +++ b/crates/jacquard-api/src/app_greengale/publication.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,11 +24,11 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::app_greengale::blog::Theme; use crate::app_greengale::blog::VoiceTheme; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; /// A publication configuration with title, description, and default theme. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -157,7 +157,7 @@ fn _default_publication_enable_site_standard() -> Option { pub mod publication_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -340,10 +340,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> Publication { + pub fn build_with_data(self, extra_data: BTreeMap>) -> Publication { Publication { description: self._fields.0, enable_site_standard: self._fields.1.or_else(|| Some(false)), @@ -357,10 +354,10 @@ where } fn lexicon_doc_app_greengale_publication() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.greengale.publication"), @@ -369,25 +366,24 @@ fn lexicon_doc_app_greengale_publication() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static( - "A publication configuration with title, description, and default theme.", - ), - ), + description: Some(CowStr::new_static( + "A publication configuration with title, description, and default theme.", + )), key: Some(CowStr::new_static("literal:self")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![SmolStr::new_static("url"), SmolStr::new_static("name")], - ), + required: Some(vec![ + SmolStr::new_static("url"), + SmolStr::new_static("name"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("description"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Publication description"), - ), + description: Some(CowStr::new_static( + "Publication description", + )), max_length: Some(1000usize), ..Default::default() }), @@ -401,9 +397,7 @@ fn lexicon_doc_app_greengale_publication() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("name"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Publication/blog title"), - ), + description: Some(CowStr::new_static("Publication/blog title")), max_length: Some(200usize), ..Default::default() }), @@ -418,11 +412,9 @@ fn lexicon_doc_app_greengale_publication() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("url"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Publication base URL (e.g., https://greengale.app)", - ), - ), + description: Some(CowStr::new_static( + "Publication base URL (e.g., https://greengale.app)", + )), format: Some(LexStringFormat::Uri), max_length: Some(2048usize), ..Default::default() @@ -431,9 +423,7 @@ fn lexicon_doc_app_greengale_publication() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("voiceTheme"), LexObjectProperty::Ref(LexRef { - r#ref: CowStr::new_static( - "app.greengale.blog.defs#voiceTheme", - ), + r#ref: CowStr::new_static("app.greengale.blog.defs#voiceTheme"), ..Default::default() }), ); @@ -448,4 +438,4 @@ fn lexicon_doc_app_greengale_publication() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_juttu.rs b/crates/jacquard-api/src/app_juttu.rs index 8d7bfdd5..1cb7bf0f 100644 --- a/crates/jacquard-api/src/app_juttu.rs +++ b/crates/jacquard-api/src/app_juttu.rs @@ -3,4 +3,4 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. -pub mod article_link; \ No newline at end of file +pub mod article_link; diff --git a/crates/jacquard-api/src/app_juttu/article_link.rs b/crates/jacquard-api/src/app_juttu/article_link.rs index 353781f7..02c53f65 100644 --- a/crates/jacquard-api/src/app_juttu/article_link.rs +++ b/crates/jacquard-api/src/app_juttu/article_link.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::com_atproto::repo::strong_ref::StrongRef; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::com_atproto::repo::strong_ref::StrongRef; +use serde::{Deserialize, Serialize}; /// Maps a unique article ID to its Bluesky comments thread, preserving original creation time. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -123,7 +123,7 @@ impl LexiconSchema for ArticleLink { pub mod article_link_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -182,7 +182,12 @@ pub mod article_link_state { /// Builder for constructing an instance of this type. pub struct ArticleLinkBuilder { _state: PhantomData St>, - _fields: (Option, Option>, Option>, Option), + _fields: ( + Option, + Option>, + Option>, + Option, + ), _type: PhantomData S>, } @@ -292,10 +297,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> ArticleLink { + pub fn build_with_data(self, extra_data: BTreeMap>) -> ArticleLink { ArticleLink { article_id: self._fields.0.unwrap(), article_url: self._fields.1, @@ -307,10 +309,10 @@ where } fn lexicon_doc_app_juttu_articleLink() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.juttu.articleLink"), @@ -388,4 +390,4 @@ fn lexicon_doc_app_juttu_articleLink() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_mathr.rs b/crates/jacquard-api/src/app_mathr.rs index 642657ea..b79733a9 100644 --- a/crates/jacquard-api/src/app_mathr.rs +++ b/crates/jacquard-api/src/app_mathr.rs @@ -4,4 +4,4 @@ // Any manual changes will be overwritten on the next regeneration. pub mod leaderboard; -pub mod score; \ No newline at end of file +pub mod score; diff --git a/crates/jacquard-api/src/app_mathr/leaderboard.rs b/crates/jacquard-api/src/app_mathr/leaderboard.rs index cb16b18d..2cb5dda9 100644 --- a/crates/jacquard-api/src/app_mathr/leaderboard.rs +++ b/crates/jacquard-api/src/app_mathr/leaderboard.rs @@ -3,4 +3,4 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. -pub mod entry; \ No newline at end of file +pub mod entry; diff --git a/crates/jacquard-api/src/app_mathr/leaderboard/entry.rs b/crates/jacquard-api/src/app_mathr/leaderboard/entry.rs index e972c0d4..3593a294 100644 --- a/crates/jacquard-api/src/app_mathr/leaderboard/entry.rs +++ b/crates/jacquard-api/src/app_mathr/leaderboard/entry.rs @@ -10,13 +10,13 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::collection::{Collection, RecordError}; -use jacquard_common::types::string::{Did, AtUri, Cid, Datetime, UriValue}; +use jacquard_common::types::string::{AtUri, Cid, Datetime, Did, UriValue}; use jacquard_common::types::uri::{RecordUri, UriError}; use jacquard_common::types::value::Data; use jacquard_common::xrpc::XrpcResp; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// A verified leaderboard entry stored in the mathr.app official repository #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -175,7 +175,7 @@ impl LexiconSchema for Entry { pub mod entry_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -326,10 +326,7 @@ where St::Level: entry_state::IsUnset, { /// Set the `level` field (required) - pub fn level( - mut self, - value: impl Into, - ) -> EntryBuilder> { + pub fn level(mut self, value: impl Into) -> EntryBuilder> { self._fields.1 = Option::Some(value.into()); EntryBuilder { _state: PhantomData, @@ -505,10 +502,10 @@ where } fn lexicon_doc_app_mathr_leaderboard_entry() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.mathr.leaderboard.entry"), @@ -646,4 +643,4 @@ fn lexicon_doc_app_mathr_leaderboard_entry() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_mathr/score.rs b/crates/jacquard-api/src/app_mathr/score.rs index 174d5a8a..2a6541bf 100644 --- a/crates/jacquard-api/src/app_mathr/score.rs +++ b/crates/jacquard-api/src/app_mathr/score.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// A player's score record stored in their own PDS for personal backup #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -161,7 +161,7 @@ impl LexiconSchema for Score { pub mod score_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -236,7 +236,13 @@ pub mod score_state { /// Builder for constructing an instance of this type. pub struct ScoreBuilder { _state: PhantomData St>, - _fields: (Option, Option, Option, Option, Option), + _fields: ( + Option, + Option, + Option, + Option, + Option, + ), _type: PhantomData S>, } @@ -283,10 +289,7 @@ where St::Level: score_state::IsUnset, { /// Set the `level` field (required) - pub fn level( - mut self, - value: impl Into, - ) -> ScoreBuilder> { + pub fn level(mut self, value: impl Into) -> ScoreBuilder> { self._fields.1 = Option::Some(value.into()); ScoreBuilder { _state: PhantomData, @@ -380,10 +383,10 @@ where } fn lexicon_doc_app_mathr_score() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.mathr.score"), @@ -392,30 +395,26 @@ fn lexicon_doc_app_mathr_score() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static( - "A player's score record stored in their own PDS for personal backup", - ), - ), + description: Some(CowStr::new_static( + "A player's score record stored in their own PDS for personal backup", + )), key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("level"), - SmolStr::new_static("totalSuccesses"), - SmolStr::new_static("totalChallenges"), - SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("level"), + SmolStr::new_static("totalSuccesses"), + SmolStr::new_static("totalChallenges"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("createdAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Timestamp when the score was recorded"), - ), + description: Some(CowStr::new_static( + "Timestamp when the score was recorded", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -460,4 +459,4 @@ fn lexicon_doc_app_mathr_score() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_nblr.rs b/crates/jacquard-api/src/app_nblr.rs index cd9ae06a..ae2edf6b 100644 --- a/crates/jacquard-api/src/app_nblr.rs +++ b/crates/jacquard-api/src/app_nblr.rs @@ -4,4 +4,4 @@ // Any manual changes will be overwritten on the next regeneration. pub mod actor; -pub mod feed; \ No newline at end of file +pub mod feed; diff --git a/crates/jacquard-api/src/app_nblr/actor.rs b/crates/jacquard-api/src/app_nblr/actor.rs index 534c9681..1cb60f21 100644 --- a/crates/jacquard-api/src/app_nblr/actor.rs +++ b/crates/jacquard-api/src/app_nblr/actor.rs @@ -3,4 +3,4 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. -pub mod profile; \ No newline at end of file +pub mod profile; diff --git a/crates/jacquard-api/src/app_nblr/actor/profile.rs b/crates/jacquard-api/src/app_nblr/actor/profile.rs index 8f6e7444..fb06b8f2 100644 --- a/crates/jacquard-api/src/app_nblr/actor/profile.rs +++ b/crates/jacquard-api/src/app_nblr/actor/profile.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -27,7 +27,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// A declaration of a nblr account profile. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -127,25 +127,20 @@ impl LexiconSchema for Profile { { let mime = value.blob().mime_type.as_str(); let accepted: &[&str] = &["image/png", "image/jpeg"]; - let matched = accepted - .iter() - .any(|pattern| { - if *pattern == "*/*" { - true - } else if pattern.ends_with("/*") { - let prefix = &pattern[..pattern.len() - 2]; - mime.starts_with(prefix) - && mime.as_bytes().get(prefix.len()) == Some(&b'/') - } else { - mime == *pattern - } - }); + let matched = accepted.iter().any(|pattern| { + if *pattern == "*/*" { + true + } else if pattern.ends_with("/*") { + let prefix = &pattern[..pattern.len() - 2]; + mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/') + } else { + mime == *pattern + } + }); if !matched { return Err(ConstraintError::BlobMimeTypeNotAccepted { path: ValidationPath::from_field("avatar"), - accepted: vec![ - "image/png".to_string(), "image/jpeg".to_string() - ], + accepted: vec!["image/png".to_string(), "image/jpeg".to_string()], actual: mime.to_string(), }); } @@ -223,7 +218,7 @@ impl LexiconSchema for Profile { pub mod profile_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -401,10 +396,10 @@ where } fn lexicon_doc_app_nblr_actor_profile() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.nblr.actor.profile"), @@ -413,9 +408,9 @@ fn lexicon_doc_app_nblr_actor_profile() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static("A declaration of a nblr account profile."), - ), + description: Some(CowStr::new_static( + "A declaration of a nblr account profile.", + )), key: Some(CowStr::new_static("literal:self")), record: LexRecordRecord::Object(LexObject { required: Some(vec![SmolStr::new_static("createdAt")]), @@ -424,7 +419,9 @@ fn lexicon_doc_app_nblr_actor_profile() -> LexiconDoc<'static> { let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("avatar"), - LexObjectProperty::Blob(LexBlob { ..Default::default() }), + LexObjectProperty::Blob(LexBlob { + ..Default::default() + }), ); map.insert( SmolStr::new_static("createdAt"), @@ -436,9 +433,9 @@ fn lexicon_doc_app_nblr_actor_profile() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("description"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Free-form profile description text."), - ), + description: Some(CowStr::new_static( + "Free-form profile description text.", + )), max_length: Some(2560usize), max_graphemes: Some(256usize), ..Default::default() @@ -455,9 +452,9 @@ fn lexicon_doc_app_nblr_actor_profile() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("pronouns"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Free-form pronouns text."), - ), + description: Some(CowStr::new_static( + "Free-form pronouns text.", + )), max_length: Some(200usize), max_graphemes: Some(20usize), ..Default::default() @@ -481,4 +478,4 @@ fn lexicon_doc_app_nblr_actor_profile() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_nblr/feed.rs b/crates/jacquard-api/src/app_nblr/feed.rs index b76b74f8..37d737b4 100644 --- a/crates/jacquard-api/src/app_nblr/feed.rs +++ b/crates/jacquard-api/src/app_nblr/feed.rs @@ -5,4 +5,4 @@ pub mod collection; pub mod link; -pub mod post; \ No newline at end of file +pub mod post; diff --git a/crates/jacquard-api/src/app_nblr/feed/collection.rs b/crates/jacquard-api/src/app_nblr/feed/collection.rs index 87794834..16e690c2 100644 --- a/crates/jacquard-api/src/app_nblr/feed/collection.rs +++ b/crates/jacquard-api/src/app_nblr/feed/collection.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// Record defining a collection of resources. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -129,7 +129,7 @@ impl LexiconSchema for Collection { pub mod collection_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -249,10 +249,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> Collection { + pub fn build_with_data(self, extra_data: BTreeMap>) -> Collection { Collection { created_at: self._fields.0.unwrap(), name: self._fields.1.unwrap(), @@ -262,10 +259,10 @@ where } fn lexicon_doc_app_nblr_feed_collection() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.nblr.feed.collection"), @@ -274,17 +271,15 @@ fn lexicon_doc_app_nblr_feed_collection() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static("Record defining a collection of resources."), - ), + description: Some(CowStr::new_static( + "Record defining a collection of resources.", + )), key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("name"), - SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("name"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -298,9 +293,7 @@ fn lexicon_doc_app_nblr_feed_collection() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("name"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Name of the collection"), - ), + description: Some(CowStr::new_static("Name of the collection")), max_length: Some(640usize), max_graphemes: Some(64usize), ..Default::default() @@ -317,4 +310,4 @@ fn lexicon_doc_app_nblr_feed_collection() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_nblr/feed/link.rs b/crates/jacquard-api/src/app_nblr/feed/link.rs index cd552a42..60e667e9 100644 --- a/crates/jacquard-api/src/app_nblr/feed/link.rs +++ b/crates/jacquard-api/src/app_nblr/feed/link.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// Record linking a resource to a collection. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -107,7 +107,7 @@ impl LexiconSchema for Link { pub mod link_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -232,10 +232,7 @@ where St::Uri: link_state::IsUnset, { /// Set the `uri` field (required) - pub fn uri( - mut self, - value: impl Into>, - ) -> LinkBuilder> { + pub fn uri(mut self, value: impl Into>) -> LinkBuilder> { self._fields.2 = Option::Some(value.into()); LinkBuilder { _state: PhantomData, @@ -273,10 +270,10 @@ where } fn lexicon_doc_app_nblr_feed_link() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.nblr.feed.link"), @@ -285,29 +282,25 @@ fn lexicon_doc_app_nblr_feed_link() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static("Record linking a resource to a collection."), - ), + description: Some(CowStr::new_static( + "Record linking a resource to a collection.", + )), key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("uri"), - SmolStr::new_static("collection"), - SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("uri"), + SmolStr::new_static("collection"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("collection"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "The AT URI of the collection being linked to", - ), - ), + description: Some(CowStr::new_static( + "The AT URI of the collection being linked to", + )), format: Some(LexStringFormat::AtUri), ..Default::default() }), @@ -322,11 +315,9 @@ fn lexicon_doc_app_nblr_feed_link() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("uri"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "The URI of the linked resource; a web URL or AT URI", - ), - ), + description: Some(CowStr::new_static( + "The URI of the linked resource; a web URL or AT URI", + )), format: Some(LexStringFormat::Uri), ..Default::default() }), @@ -342,4 +333,4 @@ fn lexicon_doc_app_nblr_feed_link() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_nblr/feed/post.rs b/crates/jacquard-api/src/app_nblr/feed/post.rs index b61c684f..a0f36a1d 100644 --- a/crates/jacquard-api/src/app_nblr/feed/post.rs +++ b/crates/jacquard-api/src/app_nblr/feed/post.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -25,14 +25,17 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::app_nblr::feed::post; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::app_nblr::feed::post; +use serde::{Deserialize, Serialize}; /// width:height represents an aspect ratio. It may be approximate, and may not correspond to absolute dimensions in any given unit. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct AspectRatio { pub height: i64, pub width: i64, @@ -198,19 +201,16 @@ impl LexiconSchema for Post { { let mime = value.blob().mime_type.as_str(); let accepted: &[&str] = &["image/*"]; - let matched = accepted - .iter() - .any(|pattern| { - if *pattern == "*/*" { - true - } else if pattern.ends_with("/*") { - let prefix = &pattern[..pattern.len() - 2]; - mime.starts_with(prefix) - && mime.as_bytes().get(prefix.len()) == Some(&b'/') - } else { - mime == *pattern - } - }); + let matched = accepted.iter().any(|pattern| { + if *pattern == "*/*" { + true + } else if pattern.ends_with("/*") { + let prefix = &pattern[..pattern.len() - 2]; + mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/') + } else { + mime == *pattern + } + }); if !matched { return Err(ConstraintError::BlobMimeTypeNotAccepted { path: ValidationPath::from_field("image"), @@ -248,7 +248,7 @@ impl LexiconSchema for Post { pub mod aspect_ratio_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -368,10 +368,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> AspectRatio { + pub fn build_with_data(self, extra_data: BTreeMap>) -> AspectRatio { AspectRatio { height: self._fields.0.unwrap(), width: self._fields.1.unwrap(), @@ -381,10 +378,10 @@ where } fn lexicon_doc_app_nblr_feed_post() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.nblr.feed.post"), @@ -426,9 +423,7 @@ fn lexicon_doc_app_nblr_feed_post() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static("Record containing a nblr post."), - ), + description: Some(CowStr::new_static("Record containing a nblr post.")), key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { required: Some(vec![SmolStr::new_static("createdAt")]), @@ -452,9 +447,9 @@ fn lexicon_doc_app_nblr_feed_post() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("description"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Optional description for the post"), - ), + description: Some(CowStr::new_static( + "Optional description for the post", + )), max_length: Some(2560usize), max_graphemes: Some(256usize), ..Default::default() @@ -462,14 +457,16 @@ fn lexicon_doc_app_nblr_feed_post() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("image"), - LexObjectProperty::Blob(LexBlob { ..Default::default() }), + LexObjectProperty::Blob(LexBlob { + ..Default::default() + }), ); map.insert( SmolStr::new_static("title"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Optional title for the post"), - ), + description: Some(CowStr::new_static( + "Optional title for the post", + )), max_length: Some(640usize), max_graphemes: Some(64usize), ..Default::default() @@ -478,11 +475,9 @@ fn lexicon_doc_app_nblr_feed_post() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("uri"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "The URI of the linked resource; a web URL or AT URI", - ), - ), + description: Some(CowStr::new_static( + "The URI of the linked resource; a web URL or AT URI", + )), format: Some(LexStringFormat::Uri), ..Default::default() }), @@ -502,7 +497,7 @@ fn lexicon_doc_app_nblr_feed_post() -> LexiconDoc<'static> { pub mod post_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -566,10 +561,7 @@ impl PostBuilder { impl PostBuilder { /// Set the `aspectRatio` field (optional) - pub fn aspect_ratio( - mut self, - value: impl Into>>, - ) -> Self { + pub fn aspect_ratio(mut self, value: impl Into>>) -> Self { self._fields.0 = value.into(); self } @@ -680,4 +672,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_ocho.rs b/crates/jacquard-api/src/app_ocho.rs index 8f0eb391..cdc39934 100644 --- a/crates/jacquard-api/src/app_ocho.rs +++ b/crates/jacquard-api/src/app_ocho.rs @@ -10,4 +10,4 @@ pub mod payment; pub mod plugin; pub mod push; pub mod server; -pub mod state; \ No newline at end of file +pub mod state; diff --git a/crates/jacquard-api/src/app_ocho/auth.rs b/crates/jacquard-api/src/app_ocho/auth.rs index 15462d66..a4ac77da 100644 --- a/crates/jacquard-api/src/app_ocho/auth.rs +++ b/crates/jacquard-api/src/app_ocho/auth.rs @@ -14,13 +14,12 @@ pub mod update_email; pub mod update_handle; pub mod whoami; - #[allow(unused_imports)] use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -33,10 +32,13 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct AuthCallback { pub access_jwt: S, pub did: Did, @@ -63,7 +65,7 @@ impl LexiconSchema for AuthCallback { pub mod auth_callback_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -255,10 +257,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> AuthCallback { + pub fn build_with_data(self, extra_data: BTreeMap>) -> AuthCallback { AuthCallback { access_jwt: self._fields.0.unwrap(), did: self._fields.1.unwrap(), @@ -270,10 +269,10 @@ where } fn lexicon_doc_app_ocho_auth_defs() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.ocho.auth.defs"), @@ -282,19 +281,20 @@ fn lexicon_doc_app_ocho_auth_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("authCallback"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("refreshJwt"), - SmolStr::new_static("accessJwt"), - SmolStr::new_static("handle"), SmolStr::new_static("did") - ], - ), + required: Some(vec![ + SmolStr::new_static("refreshJwt"), + SmolStr::new_static("accessJwt"), + SmolStr::new_static("handle"), + SmolStr::new_static("did"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("accessJwt"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("did"), @@ -305,11 +305,15 @@ fn lexicon_doc_app_ocho_auth_defs() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("handle"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("refreshJwt"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map }, @@ -320,4 +324,4 @@ fn lexicon_doc_app_ocho_auth_defs() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_ocho/auth/at_proto_callback.rs b/crates/jacquard-api/src/app_ocho/auth/at_proto_callback.rs index 6cd0737a..2bff42ad 100644 --- a/crates/jacquard-api/src/app_ocho/auth/at_proto_callback.rs +++ b/crates/jacquard-api/src/app_ocho/auth/at_proto_callback.rs @@ -10,14 +10,17 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct AtProtoCallback { pub code: S, pub iss: S, @@ -50,7 +53,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for AtProtoCallbackRequest { pub mod at_proto_callback_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -203,4 +206,4 @@ where state: self._fields.2.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_ocho/auth/authorize.rs b/crates/jacquard-api/src/app_ocho/auth/authorize.rs index 541d7092..00ae3ca8 100644 --- a/crates/jacquard-api/src/app_ocho/auth/authorize.rs +++ b/crates/jacquard-api/src/app_ocho/auth/authorize.rs @@ -10,14 +10,17 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Authorize { pub authorize_options: Data, pub input: S, @@ -25,9 +28,11 @@ pub struct Authorize { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct AuthorizeOutput { pub url: S, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -45,9 +50,8 @@ impl jacquard_common::xrpc::XrpcResp for AuthorizeResponse { impl jacquard_common::xrpc::XrpcRequest for Authorize { const NSID: &'static str = "app.ocho.auth.authorize"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = AuthorizeResponse; } @@ -55,16 +59,15 @@ impl jacquard_common::xrpc::XrpcRequest for Authorize { pub struct AuthorizeRequest; impl jacquard_common::xrpc::XrpcEndpoint for AuthorizeRequest { const PATH: &'static str = "/xrpc/app.ocho.auth.authorize"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = Authorize; type Response = AuthorizeResponse; } pub mod authorize_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -184,14 +187,11 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> Authorize { + pub fn build_with_data(self, extra_data: BTreeMap>) -> Authorize { Authorize { authorize_options: self._fields.0.unwrap(), input: self._fields.1.unwrap(), extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_ocho/auth/github_callback.rs b/crates/jacquard-api/src/app_ocho/auth/github_callback.rs index c4be95c9..41123efe 100644 --- a/crates/jacquard-api/src/app_ocho/auth/github_callback.rs +++ b/crates/jacquard-api/src/app_ocho/auth/github_callback.rs @@ -10,14 +10,17 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GithubCallback { pub code: S, pub state: S, @@ -49,7 +52,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GithubCallbackRequest { pub mod github_callback_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -167,4 +170,4 @@ where state: self._fields.1.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_ocho/auth/google_callback.rs b/crates/jacquard-api/src/app_ocho/auth/google_callback.rs index 330a1c69..941aa4d4 100644 --- a/crates/jacquard-api/src/app_ocho/auth/google_callback.rs +++ b/crates/jacquard-api/src/app_ocho/auth/google_callback.rs @@ -10,14 +10,17 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GoogleCallback { pub code: S, pub state: S, @@ -49,7 +52,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GoogleCallbackRequest { pub mod google_callback_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -167,4 +170,4 @@ where state: self._fields.1.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_ocho/auth/request_email_update.rs b/crates/jacquard-api/src/app_ocho/auth/request_email_update.rs index e050cebc..097e3fb0 100644 --- a/crates/jacquard-api/src/app_ocho/auth/request_email_update.rs +++ b/crates/jacquard-api/src/app_ocho/auth/request_email_update.rs @@ -10,14 +10,17 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct RequestEmailUpdateOutput { pub token_required: bool, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -39,9 +42,8 @@ impl jacquard_common::xrpc::XrpcResp for RequestEmailUpdateResponse { impl jacquard_common::xrpc::XrpcRequest for RequestEmailUpdate { const NSID: &'static str = "app.ocho.auth.requestEmailUpdate"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = RequestEmailUpdateResponse; } @@ -49,9 +51,8 @@ impl jacquard_common::xrpc::XrpcRequest for RequestEmailUpdate { pub struct RequestEmailUpdateRequest; impl jacquard_common::xrpc::XrpcEndpoint for RequestEmailUpdateRequest { const PATH: &'static str = "/xrpc/app.ocho.auth.requestEmailUpdate"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = RequestEmailUpdate; type Response = RequestEmailUpdateResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_ocho/auth/update_email.rs b/crates/jacquard-api/src/app_ocho/auth/update_email.rs index e4a35638..59801ff8 100644 --- a/crates/jacquard-api/src/app_ocho/auth/update_email.rs +++ b/crates/jacquard-api/src/app_ocho/auth/update_email.rs @@ -10,14 +10,17 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct UpdateEmail { pub email: S, #[serde(skip_serializing_if = "Option::is_none")] @@ -29,18 +32,9 @@ pub struct UpdateEmail { pub extra_data: Option>>, } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum UpdateEmailError { #[serde(rename = "ExpiredToken")] @@ -51,7 +45,10 @@ pub enum UpdateEmailError { TokenRequired(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for UpdateEmailError { @@ -100,9 +97,8 @@ impl jacquard_common::xrpc::XrpcResp for UpdateEmailResponse { impl jacquard_common::xrpc::XrpcRequest for UpdateEmail { const NSID: &'static str = "app.ocho.auth.updateEmail"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = UpdateEmailResponse; } @@ -110,9 +106,8 @@ impl jacquard_common::xrpc::XrpcRequest for UpdateEmail { pub struct UpdateEmailRequest; impl jacquard_common::xrpc::XrpcEndpoint for UpdateEmailRequest { const PATH: &'static str = "/xrpc/app.ocho.auth.updateEmail"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = UpdateEmail; type Response = UpdateEmailResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_ocho/auth/update_handle.rs b/crates/jacquard-api/src/app_ocho/auth/update_handle.rs index 0fecc96a..c3d35e1a 100644 --- a/crates/jacquard-api/src/app_ocho/auth/update_handle.rs +++ b/crates/jacquard-api/src/app_ocho/auth/update_handle.rs @@ -10,15 +10,18 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::Handle; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct UpdateHandle { ///The new handle. pub handle: Handle, @@ -37,9 +40,8 @@ impl jacquard_common::xrpc::XrpcResp for UpdateHandleResponse { impl jacquard_common::xrpc::XrpcRequest for UpdateHandle { const NSID: &'static str = "app.ocho.auth.updateHandle"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = UpdateHandleResponse; } @@ -47,16 +49,15 @@ impl jacquard_common::xrpc::XrpcRequest for UpdateHandle { pub struct UpdateHandleRequest; impl jacquard_common::xrpc::XrpcEndpoint for UpdateHandleRequest { const PATH: &'static str = "/xrpc/app.ocho.auth.updateHandle"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = UpdateHandle; type Response = UpdateHandleResponse; } pub mod update_handle_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -143,13 +144,10 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> UpdateHandle { + pub fn build_with_data(self, extra_data: BTreeMap>) -> UpdateHandle { UpdateHandle { handle: self._fields.0.unwrap(), extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_ocho/auth/whoami.rs b/crates/jacquard-api/src/app_ocho/auth/whoami.rs index 447e3f8f..86e08a99 100644 --- a/crates/jacquard-api/src/app_ocho/auth/whoami.rs +++ b/crates/jacquard-api/src/app_ocho/auth/whoami.rs @@ -10,15 +10,18 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// The session data #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct WhoamiOutput { ///The user's DID pub did: S, @@ -54,4 +57,4 @@ impl jacquard_common::xrpc::XrpcEndpoint for WhoamiRequest { const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Query; type Request = Whoami; type Response = WhoamiResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_ocho/edu.rs b/crates/jacquard-api/src/app_ocho/edu.rs index 264ea131..e55e507f 100644 --- a/crates/jacquard-api/src/app_ocho/edu.rs +++ b/crates/jacquard-api/src/app_ocho/edu.rs @@ -6,4 +6,4 @@ pub mod get_verification_url; pub mod google_callback; pub mod is_verified; -pub mod verification; \ No newline at end of file +pub mod verification; diff --git a/crates/jacquard-api/src/app_ocho/edu/get_verification_url.rs b/crates/jacquard-api/src/app_ocho/edu/get_verification_url.rs index b040964f..8bbef55a 100644 --- a/crates/jacquard-api/src/app_ocho/edu/get_verification_url.rs +++ b/crates/jacquard-api/src/app_ocho/edu/get_verification_url.rs @@ -10,14 +10,17 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetVerificationUrl { pub domain: S, } @@ -25,7 +28,10 @@ pub struct GetVerificationUrl { /// The intent data #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetVerificationUrlOutput { pub url: S, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -58,7 +64,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetVerificationUrlRequest { pub mod get_verification_url_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -143,4 +149,4 @@ where domain: self._fields.0.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_ocho/edu/google_callback.rs b/crates/jacquard-api/src/app_ocho/edu/google_callback.rs index b07e81ab..484c1742 100644 --- a/crates/jacquard-api/src/app_ocho/edu/google_callback.rs +++ b/crates/jacquard-api/src/app_ocho/edu/google_callback.rs @@ -10,14 +10,17 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GoogleCallback { pub code: S, pub state: S, @@ -49,7 +52,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GoogleCallbackRequest { pub mod google_callback_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -167,4 +170,4 @@ where state: self._fields.1.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_ocho/edu/is_verified.rs b/crates/jacquard-api/src/app_ocho/edu/is_verified.rs index 4c454cc4..3944a7ad 100644 --- a/crates/jacquard-api/src/app_ocho/edu/is_verified.rs +++ b/crates/jacquard-api/src/app_ocho/edu/is_verified.rs @@ -10,14 +10,17 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct IsVerified { pub domain: S, } @@ -25,7 +28,10 @@ pub struct IsVerified { /// Whether the user is verified on that domain #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct IsVerifiedOutput { pub verified: bool, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -58,7 +64,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for IsVerifiedRequest { pub mod is_verified_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -143,4 +149,4 @@ where domain: self._fields.0.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_ocho/edu/verification.rs b/crates/jacquard-api/src/app_ocho/edu/verification.rs index 2ae0ee5e..62dba207 100644 --- a/crates/jacquard-api/src/app_ocho/edu/verification.rs +++ b/crates/jacquard-api/src/app_ocho/edu/verification.rs @@ -10,13 +10,13 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::collection::{Collection, RecordError}; -use jacquard_common::types::string::{Did, AtUri, Cid, Datetime}; +use jacquard_common::types::string::{AtUri, Cid, Datetime, Did}; use jacquard_common::types::uri::{RecordUri, UriError}; use jacquard_common::types::value::Data; use jacquard_common::xrpc::XrpcResp; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// Record declaring a verification relationship between an account and a .edu domain. Verifications are only considered valid by an app if issued by an account the app considers trusted. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -108,7 +108,7 @@ impl LexiconSchema for Verification { pub mod verification_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -263,10 +263,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> Verification { + pub fn build_with_data(self, extra_data: BTreeMap>) -> Verification { Verification { created_at: self._fields.0.unwrap(), domain: self._fields.1.unwrap(), @@ -277,10 +274,10 @@ where } fn lexicon_doc_app_ocho_edu_verification() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.ocho.edu.verification"), @@ -352,4 +349,4 @@ fn lexicon_doc_app_ocho_edu_verification() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_ocho/message.rs b/crates/jacquard-api/src/app_ocho/message.rs index 48dbc5c8..223f2c1c 100644 --- a/crates/jacquard-api/src/app_ocho/message.rs +++ b/crates/jacquard-api/src/app_ocho/message.rs @@ -3,4 +3,4 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. -pub mod send; \ No newline at end of file +pub mod send; diff --git a/crates/jacquard-api/src/app_ocho/message/send.rs b/crates/jacquard-api/src/app_ocho/message/send.rs index 57d9a992..3a6b9128 100644 --- a/crates/jacquard-api/src/app_ocho/message/send.rs +++ b/crates/jacquard-api/src/app_ocho/message/send.rs @@ -10,14 +10,17 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Send { ///The user to send the message to. pub did: S, @@ -27,9 +30,11 @@ pub struct Send { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct SendOutput { ///Whether the token was successfully registered. pub success: bool, @@ -48,9 +53,8 @@ impl jacquard_common::xrpc::XrpcResp for SendResponse { impl jacquard_common::xrpc::XrpcRequest for Send { const NSID: &'static str = "app.ocho.message.send"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = SendResponse; } @@ -58,9 +62,8 @@ impl jacquard_common::xrpc::XrpcRequest for Send { pub struct SendRequest; impl jacquard_common::xrpc::XrpcEndpoint for SendRequest { const PATH: &'static str = "/xrpc/app.ocho.message.send"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = Send; type Response = SendResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_ocho/payment.rs b/crates/jacquard-api/src/app_ocho/payment.rs index 09b0ba57..d82e52d4 100644 --- a/crates/jacquard-api/src/app_ocho/payment.rs +++ b/crates/jacquard-api/src/app_ocho/payment.rs @@ -3,4 +3,4 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. -pub mod get_stripe_intent; \ No newline at end of file +pub mod get_stripe_intent; diff --git a/crates/jacquard-api/src/app_ocho/payment/get_stripe_intent.rs b/crates/jacquard-api/src/app_ocho/payment/get_stripe_intent.rs index 1567b2db..833d063c 100644 --- a/crates/jacquard-api/src/app_ocho/payment/get_stripe_intent.rs +++ b/crates/jacquard-api/src/app_ocho/payment/get_stripe_intent.rs @@ -10,15 +10,18 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::Did; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetStripeIntent { pub amount: i64, pub id: S, @@ -30,7 +33,10 @@ pub struct GetStripeIntent { /// The intent data #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetStripeIntentOutput { ///The customer ID for the payment intent pub customer: S, @@ -72,7 +78,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetStripeIntentRequest { pub mod get_stripe_intent_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -239,4 +245,4 @@ where token: self._fields.3, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_ocho/plugin.rs b/crates/jacquard-api/src/app_ocho/plugin.rs index 0c85999c..05832685 100644 --- a/crates/jacquard-api/src/app_ocho/plugin.rs +++ b/crates/jacquard-api/src/app_ocho/plugin.rs @@ -10,13 +10,12 @@ pub mod get_manifest; pub mod put_hosting_url; pub mod service; - #[allow(unused_imports)] use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -28,13 +27,16 @@ use jacquard_derive::{IntoStatic, open_union}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::app_ocho::plugin; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::app_ocho::plugin; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct AdaptiveIcon { ///The background color of the adaptive icon. #[serde(skip_serializing_if = "Option::is_none")] @@ -48,9 +50,11 @@ pub struct AdaptiveIcon { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Android { ///Configuration for the adaptive icon on Android. #[serde(skip_serializing_if = "Option::is_none")] @@ -65,7 +69,10 @@ pub struct Android { /// Android status bar configuration. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct AndroidStatusBar { ///The background color of the Android status bar. #[serde(skip_serializing_if = "Option::is_none")] @@ -74,9 +81,11 @@ pub struct AndroidStatusBar { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Asset { ///The blob of the asset pub blob: BlobRef, @@ -91,9 +100,11 @@ pub struct Asset { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Db { ///The ID of the database. pub id: S, @@ -101,9 +112,11 @@ pub struct Db { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Developer { ///The tool used for development, e.g., 'expo-cli'. pub tool: S, @@ -111,9 +124,11 @@ pub struct Developer { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ExpoClient { ///Android-specific configuration for the app. #[serde(skip_serializing_if = "Option::is_none")] @@ -171,9 +186,11 @@ pub struct ExpoClient { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ExpoGo { ///Developer-specific configuration for the Expo Go app. pub developer: plugin::Developer, @@ -181,9 +198,11 @@ pub struct ExpoGo { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Ios { ///Whether the app supports iPad. #[serde(skip_serializing_if = "Option::is_none")] @@ -192,9 +211,11 @@ pub struct Ios { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct LaunchAsset { ///The MIME type of the asset, e.g., 'image/png'. pub content_type: S, @@ -206,9 +227,11 @@ pub struct LaunchAsset { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Manifest { ///The date and time when this plugin manifest was created. pub created_at: Datetime, @@ -225,9 +248,11 @@ pub struct Manifest { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ManifestExtra { pub expo_client: plugin::ExpoClient, pub expo_go: plugin::ExpoGo, @@ -235,7 +260,6 @@ pub struct ManifestExtra { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -252,7 +276,10 @@ pub type PluginConfig = Data; pub type StringId = S; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Web { ///The bundler used for the web app. #[serde(skip_serializing_if = "Option::is_none")] @@ -465,10 +492,10 @@ impl LexiconSchema for Web { } fn lexicon_doc_app_ocho_plugin_defs() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.ocho.plugin.defs"), @@ -483,28 +510,26 @@ fn lexicon_doc_app_ocho_plugin_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("backgroundColor"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "The background color of the adaptive icon.", - ), - ), + description: Some(CowStr::new_static( + "The background color of the adaptive icon.", + )), ..Default::default() }), ); map.insert( SmolStr::new_static("foregroundImage"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "The URL to the foreground image of the adaptive icon.", - ), - ), + description: Some(CowStr::new_static( + "The URL to the foreground image of the adaptive icon.", + )), ..Default::default() }), ); map.insert( SmolStr::new_static("foregroundImageBlob"), - LexObjectProperty::Blob(LexBlob { ..Default::default() }), + LexObjectProperty::Blob(LexBlob { + ..Default::default() + }), ); map }, @@ -538,20 +563,16 @@ fn lexicon_doc_app_ocho_plugin_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("androidStatusBar"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("Android status bar configuration."), - ), + description: Some(CowStr::new_static("Android status bar configuration.")), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("backgroundColor"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "The background color of the Android status bar.", - ), - ), + description: Some(CowStr::new_static( + "The background color of the Android status bar.", + )), ..Default::default() }), ); @@ -621,9 +642,7 @@ fn lexicon_doc_app_ocho_plugin_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("id"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The ID of the database."), - ), + description: Some(CowStr::new_static("The ID of the database.")), ..Default::default() }), ); @@ -642,11 +661,9 @@ fn lexicon_doc_app_ocho_plugin_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("tool"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "The tool used for development, e.g., 'expo-cli'.", - ), - ), + description: Some(CowStr::new_static( + "The tool used for development, e.g., 'expo-cli'.", + )), ..Default::default() }), ); @@ -658,9 +675,10 @@ fn lexicon_doc_app_ocho_plugin_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("expoClient"), LexUserType::Object(LexObject { - required: Some( - vec![SmolStr::new_static("name"), SmolStr::new_static("slug")], - ), + required: Some(vec![ + SmolStr::new_static("name"), + SmolStr::new_static("slug"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -693,9 +711,7 @@ fn lexicon_doc_app_ocho_plugin_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("icon"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The URL to the app icon."), - ), + description: Some(CowStr::new_static("The URL to the app icon.")), ..Default::default() }), ); @@ -715,11 +731,9 @@ fn lexicon_doc_app_ocho_plugin_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("name"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "The name of the Expo client application.", - ), - ), + description: Some(CowStr::new_static( + "The name of the Expo client application.", + )), ..Default::default() }), ); @@ -732,18 +746,18 @@ fn lexicon_doc_app_ocho_plugin_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("orientation"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The default orientation of the app."), - ), + description: Some(CowStr::new_static( + "The default orientation of the app.", + )), ..Default::default() }), ); map.insert( SmolStr::new_static("platforms"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static("The platforms supported by the app."), - ), + description: Some(CowStr::new_static( + "The platforms supported by the app.", + )), items: LexArrayItem::String(LexString { ..Default::default() }), @@ -759,47 +773,43 @@ fn lexicon_doc_app_ocho_plugin_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("scheme"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "The custom URI scheme for deep linking.", - ), - ), + description: Some(CowStr::new_static( + "The custom URI scheme for deep linking.", + )), ..Default::default() }), ); map.insert( SmolStr::new_static("sdkVersion"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The SDK version of the Expo client."), - ), + description: Some(CowStr::new_static( + "The SDK version of the Expo client.", + )), ..Default::default() }), ); map.insert( SmolStr::new_static("slug"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("A URL-friendly identifier for the app."), - ), + description: Some(CowStr::new_static( + "A URL-friendly identifier for the app.", + )), ..Default::default() }), ); map.insert( SmolStr::new_static("userInterfaceStyle"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The default user interface style."), - ), + description: Some(CowStr::new_static( + "The default user interface style.", + )), ..Default::default() }), ); map.insert( SmolStr::new_static("version"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The version of the app."), - ), + description: Some(CowStr::new_static("The version of the app.")), ..Default::default() }), ); @@ -983,12 +993,10 @@ fn lexicon_doc_app_ocho_plugin_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("manifestExtra"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("expoClient"), - SmolStr::new_static("expoGo") - ], - ), + required: Some(vec![ + SmolStr::new_static("expoClient"), + SmolStr::new_static("expoGo"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -1017,7 +1025,7 @@ fn lexicon_doc_app_ocho_plugin_defs() -> LexiconDoc<'static> { items: LexArrayItem::Union(LexRefUnion { refs: vec![ CowStr::new_static("#stringId"), - CowStr::new_static("#pluginConfig") + CowStr::new_static("#pluginConfig"), ], ..Default::default() }), @@ -1026,16 +1034,16 @@ fn lexicon_doc_app_ocho_plugin_defs() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("pluginConfig"), - LexUserType::Unknown(LexUnknown { ..Default::default() }), + LexUserType::Unknown(LexUnknown { + ..Default::default() + }), ); map.insert( SmolStr::new_static("stringId"), LexUserType::String(LexString { - description: Some( - CowStr::new_static( - "A string identifier for a plugin, used to reference it in the app.", - ), - ), + description: Some(CowStr::new_static( + "A string identifier for a plugin, used to reference it in the app.", + )), ..Default::default() }), ); @@ -1048,33 +1056,33 @@ fn lexicon_doc_app_ocho_plugin_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("bundler"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The bundler used for the web app."), - ), + description: Some(CowStr::new_static( + "The bundler used for the web app.", + )), ..Default::default() }), ); map.insert( SmolStr::new_static("favicon"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "The URL to the favicon for the web app.", - ), - ), + description: Some(CowStr::new_static( + "The URL to the favicon for the web app.", + )), ..Default::default() }), ); map.insert( SmolStr::new_static("faviconBlob"), - LexObjectProperty::Blob(LexBlob { ..Default::default() }), + LexObjectProperty::Blob(LexBlob { + ..Default::default() + }), ); map.insert( SmolStr::new_static("output"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The output directory for the web app."), - ), + description: Some(CowStr::new_static( + "The output directory for the web app.", + )), ..Default::default() }), ); @@ -1091,7 +1099,7 @@ fn lexicon_doc_app_ocho_plugin_defs() -> LexiconDoc<'static> { pub mod asset_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -1197,10 +1205,7 @@ where St::Hash: asset_state::IsUnset, { /// Set the `hash` field (required) - pub fn hash( - mut self, - value: impl Into, - ) -> AssetBuilder> { + pub fn hash(mut self, value: impl Into) -> AssetBuilder> { self._fields.1 = Option::Some(value.into()); AssetBuilder { _state: PhantomData, @@ -1216,10 +1221,7 @@ where St::Type: asset_state::IsUnset, { /// Set the `type` field (required) - pub fn r#type( - mut self, - value: impl Into, - ) -> AssetBuilder> { + pub fn r#type(mut self, value: impl Into) -> AssetBuilder> { self._fields.2 = Option::Some(value.into()); AssetBuilder { _state: PhantomData, @@ -1273,7 +1275,7 @@ where pub mod expo_go_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -1370,7 +1372,7 @@ where pub mod launch_asset_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -1525,10 +1527,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> LaunchAsset { + pub fn build_with_data(self, extra_data: BTreeMap>) -> LaunchAsset { LaunchAsset { content_type: self._fields.0.unwrap(), key: self._fields.1.unwrap(), @@ -1540,7 +1539,7 @@ where pub mod manifest_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -1726,10 +1725,7 @@ where St::Id: manifest_state::IsUnset, { /// Set the `id` field (required) - pub fn id( - mut self, - value: impl Into, - ) -> ManifestBuilder> { + pub fn id(mut self, value: impl Into) -> ManifestBuilder> { self._fields.2 = Option::Some(value.into()); ManifestBuilder { _state: PhantomData, @@ -1834,7 +1830,7 @@ where pub mod manifest_extra_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -1954,14 +1950,11 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> ManifestExtra { + pub fn build_with_data(self, extra_data: BTreeMap>) -> ManifestExtra { ManifestExtra { expo_client: self._fields.0.unwrap(), expo_go: self._fields.1.unwrap(), extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_ocho/plugin/get_launch_asset.rs b/crates/jacquard-api/src/app_ocho/plugin/get_launch_asset.rs index 0da74b7f..f6e48bfe 100644 --- a/crates/jacquard-api/src/app_ocho/plugin/get_launch_asset.rs +++ b/crates/jacquard-api/src/app_ocho/plugin/get_launch_asset.rs @@ -10,16 +10,19 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::bytes::Bytes; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::Did; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetLaunchAsset { pub did: Did, pub platform: S, @@ -78,7 +81,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetLaunchAssetRequest { pub mod get_launch_asset_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -196,4 +199,4 @@ where platform: self._fields.1.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_ocho/plugin/get_manifest.rs b/crates/jacquard-api/src/app_ocho/plugin/get_manifest.rs index 9a9dff50..2595e628 100644 --- a/crates/jacquard-api/src/app_ocho/plugin/get_manifest.rs +++ b/crates/jacquard-api/src/app_ocho/plugin/get_manifest.rs @@ -8,26 +8,31 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_ocho::plugin::Manifest; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::Did; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_ocho::plugin::Manifest; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetManifest { pub did: Did, pub platform: S, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetManifestOutput { #[serde(flatten)] pub value: Manifest, @@ -61,7 +66,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetManifestRequest { pub mod get_manifest_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -179,4 +184,4 @@ where platform: self._fields.1.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_ocho/plugin/put_hosting_url.rs b/crates/jacquard-api/src/app_ocho/plugin/put_hosting_url.rs index 275d150a..d25149de 100644 --- a/crates/jacquard-api/src/app_ocho/plugin/put_hosting_url.rs +++ b/crates/jacquard-api/src/app_ocho/plugin/put_hosting_url.rs @@ -10,14 +10,17 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct PutHostingUrl { ///The expo push token pub url: S, @@ -25,9 +28,11 @@ pub struct PutHostingUrl { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct PutHostingUrlOutput { pub success: bool, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -45,9 +50,8 @@ impl jacquard_common::xrpc::XrpcResp for PutHostingUrlResponse { impl jacquard_common::xrpc::XrpcRequest for PutHostingUrl { const NSID: &'static str = "app.ocho.plugin.putHostingUrl"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = PutHostingUrlResponse; } @@ -55,9 +59,8 @@ impl jacquard_common::xrpc::XrpcRequest for PutHostingUrl { pub struct PutHostingUrlRequest; impl jacquard_common::xrpc::XrpcEndpoint for PutHostingUrlRequest { const PATH: &'static str = "/xrpc/app.ocho.plugin.putHostingUrl"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = PutHostingUrl; type Response = PutHostingUrlResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_ocho/plugin/service.rs b/crates/jacquard-api/src/app_ocho/plugin/service.rs index d7e9f98a..c616a261 100644 --- a/crates/jacquard-api/src/app_ocho/plugin/service.rs +++ b/crates/jacquard-api/src/app_ocho/plugin/service.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::app_ocho::plugin::Db; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::app_ocho::plugin::Db; +use serde::{Deserialize, Serialize}; /// The definitions for the plugin. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -107,7 +107,7 @@ impl LexiconSchema for Service { pub mod service_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -218,10 +218,10 @@ where } fn lexicon_doc_app_ocho_plugin_service() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.ocho.plugin.service"), @@ -271,4 +271,4 @@ fn lexicon_doc_app_ocho_plugin_service() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_ocho/push.rs b/crates/jacquard-api/src/app_ocho/push.rs index 24e77118..073ebbf1 100644 --- a/crates/jacquard-api/src/app_ocho/push.rs +++ b/crates/jacquard-api/src/app_ocho/push.rs @@ -3,4 +3,4 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. -pub mod register; \ No newline at end of file +pub mod register; diff --git a/crates/jacquard-api/src/app_ocho/push/register.rs b/crates/jacquard-api/src/app_ocho/push/register.rs index 7dc84c1c..3efdf1ae 100644 --- a/crates/jacquard-api/src/app_ocho/push/register.rs +++ b/crates/jacquard-api/src/app_ocho/push/register.rs @@ -10,14 +10,17 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Register { ///The expo push token pub push_token: S, @@ -25,9 +28,11 @@ pub struct Register { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct RegisterOutput { ///Whether the token was successfully registered. pub success: bool, @@ -46,9 +51,8 @@ impl jacquard_common::xrpc::XrpcResp for RegisterResponse { impl jacquard_common::xrpc::XrpcRequest for Register { const NSID: &'static str = "app.ocho.push.register"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = RegisterResponse; } @@ -56,9 +60,8 @@ impl jacquard_common::xrpc::XrpcRequest for Register { pub struct RegisterRequest; impl jacquard_common::xrpc::XrpcEndpoint for RegisterRequest { const PATH: &'static str = "/xrpc/app.ocho.push.register"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = Register; type Response = RegisterResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_ocho/server.rs b/crates/jacquard-api/src/app_ocho/server.rs index 90a79f41..15a41039 100644 --- a/crates/jacquard-api/src/app_ocho/server.rs +++ b/crates/jacquard-api/src/app_ocho/server.rs @@ -5,4 +5,4 @@ pub mod get_launch_token; pub mod get_token; -pub mod swap_launch_token; \ No newline at end of file +pub mod swap_launch_token; diff --git a/crates/jacquard-api/src/app_ocho/server/get_launch_token.rs b/crates/jacquard-api/src/app_ocho/server/get_launch_token.rs index 068b8994..ae745590 100644 --- a/crates/jacquard-api/src/app_ocho/server/get_launch_token.rs +++ b/crates/jacquard-api/src/app_ocho/server/get_launch_token.rs @@ -10,22 +10,27 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::Did; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetLaunchToken { pub aud: Did, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetLaunchTokenOutput { pub token: S, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -58,7 +63,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetLaunchTokenRequest { pub mod get_launch_token_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -143,4 +148,4 @@ where aud: self._fields.0.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_ocho/server/get_token.rs b/crates/jacquard-api/src/app_ocho/server/get_token.rs index 95e24287..72ff2d5b 100644 --- a/crates/jacquard-api/src/app_ocho/server/get_token.rs +++ b/crates/jacquard-api/src/app_ocho/server/get_token.rs @@ -10,22 +10,27 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::Did; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetToken { pub aud: Did, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetTokenOutput { pub token: S, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -58,7 +63,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetTokenRequest { pub mod get_token_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -143,4 +148,4 @@ where aud: self._fields.0.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_ocho/server/swap_launch_token.rs b/crates/jacquard-api/src/app_ocho/server/swap_launch_token.rs index c429b183..5500c7fb 100644 --- a/crates/jacquard-api/src/app_ocho/server/swap_launch_token.rs +++ b/crates/jacquard-api/src/app_ocho/server/swap_launch_token.rs @@ -10,22 +10,27 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::Did; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct SwapLaunchToken { pub launch_token: S, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct SwapLaunchTokenOutput { ///The did of the user #[serde(skip_serializing_if = "Option::is_none")] @@ -65,7 +70,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for SwapLaunchTokenRequest { pub mod swap_launch_token_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -150,4 +155,4 @@ where launch_token: self._fields.0.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_ocho/state.rs b/crates/jacquard-api/src/app_ocho/state.rs index b9dad75c..6dfd0b42 100644 --- a/crates/jacquard-api/src/app_ocho/state.rs +++ b/crates/jacquard-api/src/app_ocho/state.rs @@ -4,4 +4,4 @@ // Any manual changes will be overwritten on the next regeneration. pub mod get_config; -pub mod login; \ No newline at end of file +pub mod login; diff --git a/crates/jacquard-api/src/app_ocho/state/get_config.rs b/crates/jacquard-api/src/app_ocho/state/get_config.rs index dfb35999..3792ee58 100644 --- a/crates/jacquard-api/src/app_ocho/state/get_config.rs +++ b/crates/jacquard-api/src/app_ocho/state/get_config.rs @@ -10,14 +10,17 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetConfigOutput { ///The token for the InstantDB account pub account_token: S, @@ -29,18 +32,9 @@ pub struct GetConfigOutput { pub extra_data: Option>>, } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum GetConfigError { #[serde(rename = "InvalidID")] @@ -49,7 +43,10 @@ pub enum GetConfigError { InvalidServiceAuth(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for GetConfigError { @@ -106,4 +103,4 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetConfigRequest { const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Query; type Request = GetConfig; type Response = GetConfigResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_ocho/state/login.rs b/crates/jacquard-api/src/app_ocho/state/login.rs index 9be8015e..c26c3110 100644 --- a/crates/jacquard-api/src/app_ocho/state/login.rs +++ b/crates/jacquard-api/src/app_ocho/state/login.rs @@ -10,14 +10,17 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct LoginOutput { ///The code used to login on the InstantDB website pub code: S, @@ -51,4 +54,4 @@ impl jacquard_common::xrpc::XrpcEndpoint for LoginRequest { const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Query; type Request = Login; type Response = LoginResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_offprint.rs b/crates/jacquard-api/src/app_offprint.rs index 59a577f4..96daf628 100644 --- a/crates/jacquard-api/src/app_offprint.rs +++ b/crates/jacquard-api/src/app_offprint.rs @@ -6,4 +6,4 @@ pub mod block; pub mod content; pub mod document; -pub mod publication; \ No newline at end of file +pub mod publication; diff --git a/crates/jacquard-api/src/app_offprint/block.rs b/crates/jacquard-api/src/app_offprint/block.rs index 722ae5d2..76abe418 100644 --- a/crates/jacquard-api/src/app_offprint/block.rs +++ b/crates/jacquard-api/src/app_offprint/block.rs @@ -16,4 +16,4 @@ pub mod ordered_list; pub mod task_list; pub mod text; pub mod web_bookmark; -pub mod web_embed; \ No newline at end of file +pub mod web_embed; diff --git a/crates/jacquard-api/src/app_offprint/block/blockquote.rs b/crates/jacquard-api/src/app_offprint/block/blockquote.rs index 7ade546f..d968115c 100644 --- a/crates/jacquard-api/src/app_offprint/block/blockquote.rs +++ b/crates/jacquard-api/src/app_offprint/block/blockquote.rs @@ -20,14 +20,17 @@ use jacquard_derive::{IntoStatic, open_union}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::app_offprint::block::heading::Heading; use crate::app_offprint::block::text::Text; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Blockquote { ///Nested content blocks within the blockquote pub content: Vec>, @@ -35,7 +38,6 @@ pub struct Blockquote { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -63,7 +65,7 @@ impl LexiconSchema for Blockquote { pub mod blockquote_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -150,10 +152,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> Blockquote { + pub fn build_with_data(self, extra_data: BTreeMap>) -> Blockquote { Blockquote { content: self._fields.0.unwrap(), extra_data: Some(extra_data), @@ -162,10 +161,10 @@ where } fn lexicon_doc_app_offprint_block_blockquote() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.offprint.block.blockquote"), @@ -181,15 +180,13 @@ fn lexicon_doc_app_offprint_block_blockquote() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("content"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static( - "Nested content blocks within the blockquote", - ), - ), + description: Some(CowStr::new_static( + "Nested content blocks within the blockquote", + )), items: LexArrayItem::Union(LexRefUnion { refs: vec![ CowStr::new_static("app.offprint.block.text"), - CowStr::new_static("app.offprint.block.heading") + CowStr::new_static("app.offprint.block.heading"), ], ..Default::default() }), @@ -205,4 +202,4 @@ fn lexicon_doc_app_offprint_block_blockquote() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_offprint/block/bullet_list.rs b/crates/jacquard-api/src/app_offprint/block/bullet_list.rs index a15aba1f..1a3afa18 100644 --- a/crates/jacquard-api/src/app_offprint/block/bullet_list.rs +++ b/crates/jacquard-api/src/app_offprint/block/bullet_list.rs @@ -20,14 +20,17 @@ use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::app_offprint::block::bullet_list; +use crate::app_offprint::block::text::Text; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::app_offprint::block::text::Text; -use crate::app_offprint::block::bullet_list; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ListItem { ///Nested list items #[serde(skip_serializing_if = "Option::is_none")] @@ -38,9 +41,11 @@ pub struct ListItem { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct BulletList { ///List items pub children: Vec>, @@ -80,7 +85,7 @@ impl LexiconSchema for BulletList { pub mod list_item_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -137,18 +142,12 @@ impl ListItemBuilder { impl ListItemBuilder { /// Set the `children` field (optional) - pub fn children( - mut self, - value: impl Into>>>, - ) -> Self { + pub fn children(mut self, value: impl Into>>>) -> Self { self._fields.0 = value.into(); self } /// Set the `children` field to an Option value (optional) - pub fn maybe_children( - mut self, - value: Option>>, - ) -> Self { + pub fn maybe_children(mut self, value: Option>>) -> Self { self._fields.0 = value; self } @@ -197,10 +196,10 @@ where } fn lexicon_doc_app_offprint_block_bulletList() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.offprint.block.bulletList"), @@ -267,7 +266,7 @@ fn lexicon_doc_app_offprint_block_bulletList() -> LexiconDoc<'static> { pub mod bullet_list_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -354,13 +353,10 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> BulletList { + pub fn build_with_data(self, extra_data: BTreeMap>) -> BulletList { BulletList { children: self._fields.0.unwrap(), extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_offprint/block/callout.rs b/crates/jacquard-api/src/app_offprint/block/callout.rs index 733f666c..ff53ea2d 100644 --- a/crates/jacquard-api/src/app_offprint/block/callout.rs +++ b/crates/jacquard-api/src/app_offprint/block/callout.rs @@ -7,7 +7,7 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -19,10 +19,13 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Callout { ///Background color (CSS color value) #[serde(skip_serializing_if = "Option::is_none")] @@ -60,10 +63,10 @@ fn _default_callout_emoji() -> ::core::option::Option { } fn lexicon_doc_app_offprint_block_callout() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.offprint.block.callout"), @@ -79,27 +82,23 @@ fn lexicon_doc_app_offprint_block_callout() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("color"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Background color (CSS color value)"), - ), + description: Some(CowStr::new_static( + "Background color (CSS color value)", + )), ..Default::default() }), ); map.insert( SmolStr::new_static("emoji"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Emoji icon for the callout"), - ), + description: Some(CowStr::new_static("Emoji icon for the callout")), ..Default::default() }), ); map.insert( SmolStr::new_static("facets"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static("Facets for text formatting"), - ), + description: Some(CowStr::new_static("Facets for text formatting")), items: LexArrayItem::Ref(LexRef { r#ref: CowStr::new_static("app.offprint.richtext.facet"), ..Default::default() @@ -110,9 +109,7 @@ fn lexicon_doc_app_offprint_block_callout() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("plaintext"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The callout text content"), - ), + description: Some(CowStr::new_static("The callout text content")), ..Default::default() }), ); @@ -125,4 +122,4 @@ fn lexicon_doc_app_offprint_block_callout() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_offprint/block/code_block.rs b/crates/jacquard-api/src/app_offprint/block/code_block.rs index 4ddc8d70..5c1b61a5 100644 --- a/crates/jacquard-api/src/app_offprint/block/code_block.rs +++ b/crates/jacquard-api/src/app_offprint/block/code_block.rs @@ -7,7 +7,7 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -19,10 +19,13 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct CodeBlock { ///The code content pub code: S, @@ -57,10 +60,10 @@ fn _default_code_block_show_line_numbers() -> Option { } fn lexicon_doc_app_offprint_block_codeBlock() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.offprint.block.codeBlock"), @@ -83,11 +86,9 @@ fn lexicon_doc_app_offprint_block_codeBlock() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("language"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Programming language for syntax highlighting", - ), - ), + description: Some(CowStr::new_static( + "Programming language for syntax highlighting", + )), ..Default::default() }), ); @@ -106,4 +107,4 @@ fn lexicon_doc_app_offprint_block_codeBlock() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_offprint/block/heading.rs b/crates/jacquard-api/src/app_offprint/block/heading.rs index 8dc04c58..b0788299 100644 --- a/crates/jacquard-api/src/app_offprint/block/heading.rs +++ b/crates/jacquard-api/src/app_offprint/block/heading.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -22,10 +22,13 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Heading { ///Facets for text formatting #[serde(skip_serializing_if = "Option::is_none")] @@ -78,7 +81,7 @@ impl LexiconSchema for Heading { pub mod heading_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -238,10 +241,10 @@ where } fn lexicon_doc_app_offprint_block_heading() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.offprint.block.heading"), @@ -250,21 +253,17 @@ fn lexicon_doc_app_offprint_block_heading() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("plaintext"), - SmolStr::new_static("level") - ], - ), + required: Some(vec![ + SmolStr::new_static("plaintext"), + SmolStr::new_static("level"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("facets"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static("Facets for text formatting"), - ), + description: Some(CowStr::new_static("Facets for text formatting")), items: LexArrayItem::Ref(LexRef { r#ref: CowStr::new_static("app.offprint.richtext.facet"), ..Default::default() @@ -283,9 +282,7 @@ fn lexicon_doc_app_offprint_block_heading() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("plaintext"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The heading text content"), - ), + description: Some(CowStr::new_static("The heading text content")), ..Default::default() }), ); @@ -305,4 +302,4 @@ fn lexicon_doc_app_offprint_block_heading() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_offprint/block/image.rs b/crates/jacquard-api/src/app_offprint/block/image.rs index d11f1706..6aadfcd7 100644 --- a/crates/jacquard-api/src/app_offprint/block/image.rs +++ b/crates/jacquard-api/src/app_offprint/block/image.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -21,13 +21,16 @@ use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::app_offprint::block::image; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::app_offprint::block::image; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct AspectRatio { pub height: i64, pub width: i64, @@ -35,9 +38,11 @@ pub struct AspectRatio { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Image { ///Horizontal alignment #[serde(skip_serializing_if = "Option::is_none")] @@ -137,19 +142,16 @@ impl LexiconSchema for Image { { let mime = value.blob().mime_type.as_str(); let accepted: &[&str] = &["image/*"]; - let matched = accepted - .iter() - .any(|pattern| { - if *pattern == "*/*" { - true - } else if pattern.ends_with("/*") { - let prefix = &pattern[..pattern.len() - 2]; - mime.starts_with(prefix) - && mime.as_bytes().get(prefix.len()) == Some(&b'/') - } else { - mime == *pattern - } - }); + let matched = accepted.iter().any(|pattern| { + if *pattern == "*/*" { + true + } else if pattern.ends_with("/*") { + let prefix = &pattern[..pattern.len() - 2]; + mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/') + } else { + mime == *pattern + } + }); if !matched { return Err(ConstraintError::BlobMimeTypeNotAccepted { path: ValidationPath::from_field("blob"), @@ -165,7 +167,7 @@ impl LexiconSchema for Image { pub mod aspect_ratio_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -285,10 +287,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> AspectRatio { + pub fn build_with_data(self, extra_data: BTreeMap>) -> AspectRatio { AspectRatio { height: self._fields.0.unwrap(), width: self._fields.1.unwrap(), @@ -298,10 +297,10 @@ where } fn lexicon_doc_app_offprint_block_image() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.offprint.block.image"), @@ -310,9 +309,10 @@ fn lexicon_doc_app_offprint_block_image() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("aspectRatio"), LexUserType::Object(LexObject { - required: Some( - vec![SmolStr::new_static("width"), SmolStr::new_static("height")], - ), + required: Some(vec![ + SmolStr::new_static("width"), + SmolStr::new_static("height"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -344,18 +344,14 @@ fn lexicon_doc_app_offprint_block_image() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("alignment"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Horizontal alignment"), - ), + description: Some(CowStr::new_static("Horizontal alignment")), ..Default::default() }), ); map.insert( SmolStr::new_static("alt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Alt text for accessibility"), - ), + description: Some(CowStr::new_static("Alt text for accessibility")), max_graphemes: Some(300usize), ..Default::default() }), @@ -369,7 +365,9 @@ fn lexicon_doc_app_offprint_block_image() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("blob"), - LexObjectProperty::Blob(LexBlob { ..Default::default() }), + LexObjectProperty::Blob(LexBlob { + ..Default::default() + }), ); map.insert( SmolStr::new_static("caption"), @@ -381,9 +379,9 @@ fn lexicon_doc_app_offprint_block_image() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("captionFacets"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static("Facets for caption formatting"), - ), + description: Some(CowStr::new_static( + "Facets for caption formatting", + )), items: LexArrayItem::Ref(LexRef { r#ref: CowStr::new_static("app.offprint.richtext.facet"), ..Default::default() @@ -394,11 +392,9 @@ fn lexicon_doc_app_offprint_block_image() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("width"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "CSS width value (e.g., \"50%\", \"300px\")", - ), - ), + description: Some(CowStr::new_static( + "CSS width value (e.g., \"50%\", \"300px\")", + )), ..Default::default() }), ); @@ -411,4 +407,4 @@ fn lexicon_doc_app_offprint_block_image() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_offprint/block/image_carousel.rs b/crates/jacquard-api/src/app_offprint/block/image_carousel.rs index 588c9eb2..f1eccf24 100644 --- a/crates/jacquard-api/src/app_offprint/block/image_carousel.rs +++ b/crates/jacquard-api/src/app_offprint/block/image_carousel.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -20,13 +20,16 @@ use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::app_offprint::block::image_grid::GridImage; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::app_offprint::block::image_grid::GridImage; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ImageCarousel { ///Auto-advance slides Defaults to `false`. #[serde(skip_serializing_if = "Option::is_none")] @@ -92,7 +95,7 @@ fn _default_image_carousel_interval() -> Option { pub mod image_carousel_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -125,7 +128,12 @@ pub mod image_carousel_state { /// Builder for constructing an instance of this type. pub struct ImageCarouselBuilder { _state: PhantomData St>, - _fields: (Option, Option, Option>>, Option), + _fields: ( + Option, + Option, + Option>>, + Option, + ), _type: PhantomData S>, } @@ -221,10 +229,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> ImageCarousel { + pub fn build_with_data(self, extra_data: BTreeMap>) -> ImageCarousel { ImageCarousel { autoplay: self._fields.0.or_else(|| Some(false)), caption: self._fields.1, @@ -236,10 +241,10 @@ where } fn lexicon_doc_app_offprint_block_imageCarousel() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.offprint.block.imageCarousel"), @@ -268,9 +273,9 @@ fn lexicon_doc_app_offprint_block_imageCarousel() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("images"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static("Array of images in the carousel (2-6)"), - ), + description: Some(CowStr::new_static( + "Array of images in the carousel (2-6)", + )), items: LexArrayItem::Ref(LexRef { r#ref: CowStr::new_static( "app.offprint.block.imageGrid#gridImage", @@ -297,4 +302,4 @@ fn lexicon_doc_app_offprint_block_imageCarousel() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_offprint/block/image_diff.rs b/crates/jacquard-api/src/app_offprint/block/image_diff.rs index 650d3064..955e4958 100644 --- a/crates/jacquard-api/src/app_offprint/block/image_diff.rs +++ b/crates/jacquard-api/src/app_offprint/block/image_diff.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -20,13 +20,16 @@ use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::app_offprint::block::image_grid::GridImage; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::app_offprint::block::image_grid::GridImage; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ImageDiff { ///Horizontal alignment #[serde(skip_serializing_if = "Option::is_none")] @@ -105,7 +108,7 @@ impl LexiconSchema for ImageDiff { pub mod image_diff_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -254,10 +257,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> ImageDiff { + pub fn build_with_data(self, extra_data: BTreeMap>) -> ImageDiff { ImageDiff { alignment: self._fields.0, caption: self._fields.1, @@ -270,10 +270,10 @@ where } fn lexicon_doc_app_offprint_block_imageDiff() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.offprint.block.imageDiff"), @@ -289,9 +289,7 @@ fn lexicon_doc_app_offprint_block_imageDiff() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("alignment"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Horizontal alignment"), - ), + description: Some(CowStr::new_static("Horizontal alignment")), ..Default::default() }), ); @@ -305,11 +303,9 @@ fn lexicon_doc_app_offprint_block_imageDiff() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("images"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static( - "Exactly 2 images for comparison [before, after]", - ), - ), + description: Some(CowStr::new_static( + "Exactly 2 images for comparison [before, after]", + )), items: LexArrayItem::Ref(LexRef { r#ref: CowStr::new_static( "app.offprint.block.imageGrid#gridImage", @@ -324,11 +320,9 @@ fn lexicon_doc_app_offprint_block_imageDiff() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("labels"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static( - "Labels for the images [before label, after label]", - ), - ), + description: Some(CowStr::new_static( + "Labels for the images [before label, after label]", + )), items: LexArrayItem::String(LexString { ..Default::default() }), @@ -353,4 +347,4 @@ fn lexicon_doc_app_offprint_block_imageDiff() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_offprint/block/image_grid.rs b/crates/jacquard-api/src/app_offprint/block/image_grid.rs index 640d8542..35a4c6df 100644 --- a/crates/jacquard-api/src/app_offprint/block/image_grid.rs +++ b/crates/jacquard-api/src/app_offprint/block/image_grid.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -21,14 +21,17 @@ use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::app_offprint::block::image::AspectRatio; use crate::app_offprint::block::image_grid; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GridImage { #[serde(skip_serializing_if = "Option::is_none")] pub alt: Option, @@ -40,9 +43,11 @@ pub struct GridImage { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ImageGrid { ///Aspect ratio mode #[serde(skip_serializing_if = "Option::is_none")] @@ -98,19 +103,16 @@ impl LexiconSchema for GridImage { { let mime = value.blob().mime_type.as_str(); let accepted: &[&str] = &["image/*"]; - let matched = accepted - .iter() - .any(|pattern| { - if *pattern == "*/*" { - true - } else if pattern.ends_with("/*") { - let prefix = &pattern[..pattern.len() - 2]; - mime.starts_with(prefix) - && mime.as_bytes().get(prefix.len()) == Some(&b'/') - } else { - mime == *pattern - } - }); + let matched = accepted.iter().any(|pattern| { + if *pattern == "*/*" { + true + } else if pattern.ends_with("/*") { + let prefix = &pattern[..pattern.len() - 2]; + mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/') + } else { + mime == *pattern + } + }); if !matched { return Err(ConstraintError::BlobMimeTypeNotAccepted { path: ValidationPath::from_field("blob"), @@ -180,10 +182,10 @@ impl LexiconSchema for ImageGrid { } fn lexicon_doc_app_offprint_block_imageGrid() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.offprint.block.imageGrid"), @@ -205,15 +207,15 @@ fn lexicon_doc_app_offprint_block_imageGrid() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("aspectRatio"), LexObjectProperty::Ref(LexRef { - r#ref: CowStr::new_static( - "app.offprint.block.image#aspectRatio", - ), + r#ref: CowStr::new_static("app.offprint.block.image#aspectRatio"), ..Default::default() }), ); map.insert( SmolStr::new_static("blob"), - LexObjectProperty::Blob(LexBlob { ..Default::default() }), + LexObjectProperty::Blob(LexBlob { + ..Default::default() + }), ); map }, @@ -252,9 +254,9 @@ fn lexicon_doc_app_offprint_block_imageGrid() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("images"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static("Array of images in the grid (2-6)"), - ), + description: Some(CowStr::new_static( + "Array of images in the grid (2-6)", + )), items: LexArrayItem::Ref(LexRef { r#ref: CowStr::new_static("#gridImage"), ..Default::default() @@ -277,7 +279,7 @@ fn lexicon_doc_app_offprint_block_imageGrid() -> LexiconDoc<'static> { pub mod image_grid_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -310,7 +312,12 @@ pub mod image_grid_state { /// Builder for constructing an instance of this type. pub struct ImageGridBuilder { _state: PhantomData St>, - _fields: (Option, Option, Option, Option>>), + _fields: ( + Option, + Option, + Option, + Option>>, + ), _type: PhantomData S>, } @@ -406,10 +413,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> ImageGrid { + pub fn build_with_data(self, extra_data: BTreeMap>) -> ImageGrid { ImageGrid { aspect_ratio: self._fields.0, caption: self._fields.1, @@ -418,4 +422,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_offprint/block/ordered_list.rs b/crates/jacquard-api/src/app_offprint/block/ordered_list.rs index 2f67926f..1c1514b1 100644 --- a/crates/jacquard-api/src/app_offprint/block/ordered_list.rs +++ b/crates/jacquard-api/src/app_offprint/block/ordered_list.rs @@ -20,14 +20,17 @@ use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::app_offprint::block::ordered_list; +use crate::app_offprint::block::text::Text; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::app_offprint::block::text::Text; -use crate::app_offprint::block::ordered_list; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ListItem { ///Nested list items #[serde(skip_serializing_if = "Option::is_none")] @@ -38,9 +41,11 @@ pub struct ListItem { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct OrderedList { ///List items pub children: Vec>, @@ -84,7 +89,7 @@ impl LexiconSchema for OrderedList { pub mod list_item_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -141,18 +146,12 @@ impl ListItemBuilder { impl ListItemBuilder { /// Set the `children` field (optional) - pub fn children( - mut self, - value: impl Into>>>, - ) -> Self { + pub fn children(mut self, value: impl Into>>>) -> Self { self._fields.0 = value.into(); self } /// Set the `children` field to an Option value (optional) - pub fn maybe_children( - mut self, - value: Option>>, - ) -> Self { + pub fn maybe_children(mut self, value: Option>>) -> Self { self._fields.0 = value; self } @@ -201,10 +200,10 @@ where } fn lexicon_doc_app_offprint_block_orderedList() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.offprint.block.orderedList"), @@ -281,7 +280,7 @@ fn _default_ordered_list_start() -> Option { pub mod ordered_list_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -382,14 +381,11 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> OrderedList { + pub fn build_with_data(self, extra_data: BTreeMap>) -> OrderedList { OrderedList { children: self._fields.0.unwrap(), start: self._fields.1.or_else(|| Some(1i64)), extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_offprint/block/task_list.rs b/crates/jacquard-api/src/app_offprint/block/task_list.rs index 2a3f9465..d08227a4 100644 --- a/crates/jacquard-api/src/app_offprint/block/task_list.rs +++ b/crates/jacquard-api/src/app_offprint/block/task_list.rs @@ -20,14 +20,17 @@ use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::app_offprint::block::task_list; +use crate::app_offprint::block::text::Text; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::app_offprint::block::text::Text; -use crate::app_offprint::block::task_list; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct TaskList { ///Task items pub children: Vec>, @@ -35,9 +38,11 @@ pub struct TaskList { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct TaskItem { ///Whether the task is completed pub checked: bool, @@ -82,7 +87,7 @@ impl LexiconSchema for TaskItem { pub mod task_list_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -178,10 +183,10 @@ where } fn lexicon_doc_app_offprint_block_taskList() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.offprint.block.taskList"), @@ -213,12 +218,10 @@ fn lexicon_doc_app_offprint_block_taskList() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("taskItem"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("content"), - SmolStr::new_static("checked") - ], - ), + required: Some(vec![ + SmolStr::new_static("content"), + SmolStr::new_static("checked"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -259,7 +262,7 @@ fn lexicon_doc_app_offprint_block_taskList() -> LexiconDoc<'static> { pub mod task_item_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -304,7 +307,11 @@ pub mod task_item_state { /// Builder for constructing an instance of this type. pub struct TaskItemBuilder { _state: PhantomData St>, - _fields: (Option, Option>>, Option>), + _fields: ( + Option, + Option>>, + Option>, + ), _type: PhantomData S>, } @@ -347,10 +354,7 @@ where impl TaskItemBuilder { /// Set the `children` field (optional) - pub fn children( - mut self, - value: impl Into>>>, - ) -> Self { + pub fn children(mut self, value: impl Into>>>) -> Self { self._fields.1 = value.into(); self } @@ -404,4 +408,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_offprint/block/text.rs b/crates/jacquard-api/src/app_offprint/block/text.rs index 8bf1d86d..ad2ed3bb 100644 --- a/crates/jacquard-api/src/app_offprint/block/text.rs +++ b/crates/jacquard-api/src/app_offprint/block/text.rs @@ -7,7 +7,7 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -19,10 +19,13 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Text { ///Facets for text formatting #[serde(skip_serializing_if = "Option::is_none")] @@ -52,10 +55,10 @@ impl LexiconSchema for Text { } fn lexicon_doc_app_offprint_block_text() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.offprint.block.text"), @@ -71,9 +74,7 @@ fn lexicon_doc_app_offprint_block_text() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("facets"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static("Facets for text formatting"), - ), + description: Some(CowStr::new_static("Facets for text formatting")), items: LexArrayItem::Ref(LexRef { r#ref: CowStr::new_static("app.offprint.richtext.facet"), ..Default::default() @@ -84,9 +85,7 @@ fn lexicon_doc_app_offprint_block_text() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("plaintext"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The plain text content"), - ), + description: Some(CowStr::new_static("The plain text content")), ..Default::default() }), ); @@ -106,4 +105,4 @@ fn lexicon_doc_app_offprint_block_text() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_offprint/block/web_bookmark.rs b/crates/jacquard-api/src/app_offprint/block/web_bookmark.rs index b87ed9da..89dd553a 100644 --- a/crates/jacquard-api/src/app_offprint/block/web_bookmark.rs +++ b/crates/jacquard-api/src/app_offprint/block/web_bookmark.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,10 +24,13 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct WebBookmark { ///Page description/excerpt #[serde(skip_serializing_if = "Option::is_none")] @@ -85,19 +88,16 @@ impl LexiconSchema for WebBookmark { { let mime = value.blob().mime_type.as_str(); let accepted: &[&str] = &["image/*"]; - let matched = accepted - .iter() - .any(|pattern| { - if *pattern == "*/*" { - true - } else if pattern.ends_with("/*") { - let prefix = &pattern[..pattern.len() - 2]; - mime.starts_with(prefix) - && mime.as_bytes().get(prefix.len()) == Some(&b'/') - } else { - mime == *pattern - } - }); + let matched = accepted.iter().any(|pattern| { + if *pattern == "*/*" { + true + } else if pattern.ends_with("/*") { + let prefix = &pattern[..pattern.len() - 2]; + mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/') + } else { + mime == *pattern + } + }); if !matched { return Err(ConstraintError::BlobMimeTypeNotAccepted { path: ValidationPath::from_field("preview"), @@ -138,7 +138,7 @@ impl LexiconSchema for WebBookmark { pub mod web_bookmark_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -183,7 +183,13 @@ pub mod web_bookmark_state { /// Builder for constructing an instance of this type. pub struct WebBookmarkBuilder { _state: PhantomData St>, - _fields: (Option, Option>, Option>, Option, Option), + _fields: ( + Option, + Option>, + Option>, + Option, + Option, + ), _type: PhantomData S>, } @@ -300,10 +306,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> WebBookmark { + pub fn build_with_data(self, extra_data: BTreeMap>) -> WebBookmark { WebBookmark { description: self._fields.0, href: self._fields.1.unwrap(), @@ -316,10 +319,10 @@ where } fn lexicon_doc_app_offprint_block_webBookmark() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.offprint.block.webBookmark"), @@ -328,18 +331,17 @@ fn lexicon_doc_app_offprint_block_webBookmark() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Object(LexObject { - required: Some( - vec![SmolStr::new_static("href"), SmolStr::new_static("title")], - ), + required: Some(vec![ + SmolStr::new_static("href"), + SmolStr::new_static("title"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("description"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Page description/excerpt"), - ), + description: Some(CowStr::new_static("Page description/excerpt")), max_graphemes: Some(1000usize), ..Default::default() }), @@ -347,23 +349,23 @@ fn lexicon_doc_app_offprint_block_webBookmark() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("href"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The URL of the bookmarked page"), - ), + description: Some(CowStr::new_static( + "The URL of the bookmarked page", + )), format: Some(LexStringFormat::Uri), ..Default::default() }), ); map.insert( SmolStr::new_static("preview"), - LexObjectProperty::Blob(LexBlob { ..Default::default() }), + LexObjectProperty::Blob(LexBlob { + ..Default::default() + }), ); map.insert( SmolStr::new_static("siteName"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Name of the website"), - ), + description: Some(CowStr::new_static("Name of the website")), max_graphemes: Some(100usize), ..Default::default() }), @@ -385,4 +387,4 @@ fn lexicon_doc_app_offprint_block_webBookmark() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_offprint/block/web_embed.rs b/crates/jacquard-api/src/app_offprint/block/web_embed.rs index 8ea5957a..c8b73c42 100644 --- a/crates/jacquard-api/src/app_offprint/block/web_embed.rs +++ b/crates/jacquard-api/src/app_offprint/block/web_embed.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,10 +24,13 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct WebEmbed { ///Horizontal alignment #[serde(skip_serializing_if = "Option::is_none")] @@ -119,19 +122,16 @@ impl LexiconSchema for WebEmbed { { let mime = value.blob().mime_type.as_str(); let accepted: &[&str] = &["image/*"]; - let matched = accepted - .iter() - .any(|pattern| { - if *pattern == "*/*" { - true - } else if pattern.ends_with("/*") { - let prefix = &pattern[..pattern.len() - 2]; - mime.starts_with(prefix) - && mime.as_bytes().get(prefix.len()) == Some(&b'/') - } else { - mime == *pattern - } - }); + let matched = accepted.iter().any(|pattern| { + if *pattern == "*/*" { + true + } else if pattern.ends_with("/*") { + let prefix = &pattern[..pattern.len() - 2]; + mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/') + } else { + mime == *pattern + } + }); if !matched { return Err(ConstraintError::BlobMimeTypeNotAccepted { path: ValidationPath::from_field("preview"), @@ -171,7 +171,7 @@ impl LexiconSchema for WebEmbed { pub mod web_embed_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -413,10 +413,10 @@ where } fn lexicon_doc_app_offprint_block_webEmbed() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.offprint.block.webEmbed"), @@ -432,18 +432,14 @@ fn lexicon_doc_app_offprint_block_webEmbed() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("alignment"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Horizontal alignment"), - ), + description: Some(CowStr::new_static("Horizontal alignment")), ..Default::default() }), ); map.insert( SmolStr::new_static("description"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Page description/excerpt"), - ), + description: Some(CowStr::new_static("Page description/excerpt")), max_graphemes: Some(1000usize), ..Default::default() }), @@ -458,9 +454,9 @@ fn lexicon_doc_app_offprint_block_webEmbed() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("embedUrl"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("oEmbed URL for iframe embedding"), - ), + description: Some(CowStr::new_static( + "oEmbed URL for iframe embedding", + )), format: Some(LexStringFormat::Uri), ..Default::default() }), @@ -475,23 +471,23 @@ fn lexicon_doc_app_offprint_block_webEmbed() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("href"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The URL of the embedded page"), - ), + description: Some(CowStr::new_static( + "The URL of the embedded page", + )), format: Some(LexStringFormat::Uri), ..Default::default() }), ); map.insert( SmolStr::new_static("preview"), - LexObjectProperty::Blob(LexBlob { ..Default::default() }), + LexObjectProperty::Blob(LexBlob { + ..Default::default() + }), ); map.insert( SmolStr::new_static("siteName"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Name of the website"), - ), + description: Some(CowStr::new_static("Name of the website")), max_graphemes: Some(100usize), ..Default::default() }), @@ -507,11 +503,9 @@ fn lexicon_doc_app_offprint_block_webEmbed() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("width"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "CSS width value (e.g., \"100%\", \"75%\". \"50%\" minimum)", - ), - ), + description: Some(CowStr::new_static( + "CSS width value (e.g., \"100%\", \"75%\". \"50%\" minimum)", + )), ..Default::default() }), ); @@ -524,4 +518,4 @@ fn lexicon_doc_app_offprint_block_webEmbed() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_offprint/content.rs b/crates/jacquard-api/src/app_offprint/content.rs index 58770c1e..7fd2002b 100644 --- a/crates/jacquard-api/src/app_offprint/content.rs +++ b/crates/jacquard-api/src/app_offprint/content.rs @@ -20,9 +20,6 @@ use jacquard_derive::{IntoStatic, open_union}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::app_offprint::block::blockquote::Blockquote; use crate::app_offprint::block::bullet_list::BulletList; use crate::app_offprint::block::callout::Callout; @@ -35,9 +32,15 @@ use crate::app_offprint::block::image_grid::ImageGrid; use crate::app_offprint::block::ordered_list::OrderedList; use crate::app_offprint::block::task_list::TaskList; use crate::app_offprint::block::text::Text; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Content { ///Array of content blocks pub items: Vec>, @@ -45,7 +48,6 @@ pub struct Content { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -93,7 +95,7 @@ impl LexiconSchema for Content { pub mod content_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -189,10 +191,10 @@ where } fn lexicon_doc_app_offprint_content() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.offprint.content"), @@ -208,9 +210,7 @@ fn lexicon_doc_app_offprint_content() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("items"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static("Array of content blocks"), - ), + description: Some(CowStr::new_static("Array of content blocks")), items: LexArrayItem::Union(LexRefUnion { refs: vec![ CowStr::new_static("app.offprint.block.text"), @@ -225,7 +225,7 @@ fn lexicon_doc_app_offprint_content() -> LexiconDoc<'static> { CowStr::new_static("app.offprint.block.image"), CowStr::new_static("app.offprint.block.imageGrid"), CowStr::new_static("app.offprint.block.imageCarousel"), - CowStr::new_static("app.offprint.block.imageDiff") + CowStr::new_static("app.offprint.block.imageDiff"), ], ..Default::default() }), @@ -241,4 +241,4 @@ fn lexicon_doc_app_offprint_content() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_offprint/document.rs b/crates/jacquard-api/src/app_offprint/document.rs index a395bf4c..f8b1fb1e 100644 --- a/crates/jacquard-api/src/app_offprint/document.rs +++ b/crates/jacquard-api/src/app_offprint/document.rs @@ -3,4 +3,4 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. -pub mod article; \ No newline at end of file +pub mod article; diff --git a/crates/jacquard-api/src/app_offprint/document/article.rs b/crates/jacquard-api/src/app_offprint/document/article.rs index 3bca3304..4d60489e 100644 --- a/crates/jacquard-api/src/app_offprint/document/article.rs +++ b/crates/jacquard-api/src/app_offprint/document/article.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::com_atproto::repo::strong_ref::StrongRef; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::com_atproto::repo::strong_ref::StrongRef; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde( @@ -104,7 +104,7 @@ impl LexiconSchema for Article { pub mod article_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -200,10 +200,10 @@ where } fn lexicon_doc_app_offprint_document_article() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.offprint.document.article"), @@ -236,4 +236,4 @@ fn lexicon_doc_app_offprint_document_article() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_offprint/publication.rs b/crates/jacquard-api/src/app_offprint/publication.rs index 98355922..c177a75c 100644 --- a/crates/jacquard-api/src/app_offprint/publication.rs +++ b/crates/jacquard-api/src/app_offprint/publication.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde( @@ -103,7 +103,7 @@ impl LexiconSchema for Publication { pub mod publication_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -190,10 +190,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> Publication { + pub fn build_with_data(self, extra_data: BTreeMap>) -> Publication { Publication { publication: self._fields.0.unwrap(), extra_data: Some(extra_data), @@ -202,10 +199,10 @@ where } fn lexicon_doc_app_offprint_publication() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.offprint.publication"), @@ -243,4 +240,4 @@ fn lexicon_doc_app_offprint_publication() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_openmkt.rs b/crates/jacquard-api/src/app_openmkt.rs index f1c2be57..448cdf00 100644 --- a/crates/jacquard-api/src/app_openmkt.rs +++ b/crates/jacquard-api/src/app_openmkt.rs @@ -3,4 +3,4 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. -pub mod marketplace; \ No newline at end of file +pub mod marketplace; diff --git a/crates/jacquard-api/src/app_openmkt/marketplace.rs b/crates/jacquard-api/src/app_openmkt/marketplace.rs index 10c33a9a..cb3eb541 100644 --- a/crates/jacquard-api/src/app_openmkt/marketplace.rs +++ b/crates/jacquard-api/src/app_openmkt/marketplace.rs @@ -3,4 +3,4 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. -pub mod listing; \ No newline at end of file +pub mod listing; diff --git a/crates/jacquard-api/src/app_openmkt/marketplace/listing.rs b/crates/jacquard-api/src/app_openmkt/marketplace/listing.rs index 89ea33a0..256641f0 100644 --- a/crates/jacquard-api/src/app_openmkt/marketplace/listing.rs +++ b/crates/jacquard-api/src/app_openmkt/marketplace/listing.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -25,13 +25,16 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::app_openmkt::marketplace::listing; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::app_openmkt::marketplace::listing; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct LocationObj { #[serde(skip_serializing_if = "Option::is_none")] pub county: Option, @@ -45,7 +48,6 @@ pub struct LocationObj { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde( rename_all = "camelCase", @@ -88,9 +90,11 @@ pub struct ListingGetRecordOutput { pub value: Listing, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct MetadataObj { #[serde(skip_serializing_if = "Option::is_none")] pub subcategory: Option, @@ -208,10 +212,10 @@ impl LexiconSchema for MetadataObj { } fn lexicon_doc_app_openmkt_marketplace_listing() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.openmkt.marketplace.listing"), @@ -225,19 +229,27 @@ fn lexicon_doc_app_openmkt_marketplace_listing() -> LexiconDoc<'static> { let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("county"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("locality"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("state"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("zipPrefix"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map }, @@ -356,7 +368,9 @@ fn lexicon_doc_app_openmkt_marketplace_listing() -> LexiconDoc<'static> { let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("subcategory"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map }, @@ -371,7 +385,7 @@ fn lexicon_doc_app_openmkt_marketplace_listing() -> LexiconDoc<'static> { pub mod listing_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -492,7 +506,9 @@ impl ListingBuilder { pub fn new() -> Self { ListingBuilder { _state: PhantomData, - _fields: (None, None, None, None, None, None, None, None, None, None, None), + _fields: ( + None, None, None, None, None, None, None, None, None, None, None, + ), _type: PhantomData, } } @@ -622,10 +638,7 @@ where impl ListingBuilder { /// Set the `metadata` field (optional) - pub fn metadata( - mut self, - value: impl Into>>, - ) -> Self { + pub fn metadata(mut self, value: impl Into>>) -> Self { self._fields.8 = value.into(); self } @@ -642,10 +655,7 @@ where St::Price: listing_state::IsUnset, { /// Set the `price` field (required) - pub fn price( - mut self, - value: impl Into, - ) -> ListingBuilder> { + pub fn price(mut self, value: impl Into) -> ListingBuilder> { self._fields.9 = Option::Some(value.into()); ListingBuilder { _state: PhantomData, @@ -661,10 +671,7 @@ where St::Title: listing_state::IsUnset, { /// Set the `title` field (required) - pub fn title( - mut self, - value: impl Into, - ) -> ListingBuilder> { + pub fn title(mut self, value: impl Into) -> ListingBuilder> { self._fields.10 = Option::Some(value.into()); ListingBuilder { _state: PhantomData, @@ -717,4 +724,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_protoimsg.rs b/crates/jacquard-api/src/app_protoimsg.rs index 4b56fd65..f3795cda 100644 --- a/crates/jacquard-api/src/app_protoimsg.rs +++ b/crates/jacquard-api/src/app_protoimsg.rs @@ -3,4 +3,4 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. -pub mod chat; \ No newline at end of file +pub mod chat; diff --git a/crates/jacquard-api/src/app_protoimsg/chat.rs b/crates/jacquard-api/src/app_protoimsg/chat.rs index 42c497e4..025a5cd9 100644 --- a/crates/jacquard-api/src/app_protoimsg/chat.rs +++ b/crates/jacquard-api/src/app_protoimsg/chat.rs @@ -13,4 +13,4 @@ pub mod poll; pub mod presence; pub mod role; pub mod room; -pub mod vote; \ No newline at end of file +pub mod vote; diff --git a/crates/jacquard-api/src/app_protoimsg/chat/allowlist.rs b/crates/jacquard-api/src/app_protoimsg/chat/allowlist.rs index 7b11ebb5..4da2896c 100644 --- a/crates/jacquard-api/src/app_protoimsg/chat/allowlist.rs +++ b/crates/jacquard-api/src/app_protoimsg/chat/allowlist.rs @@ -10,13 +10,13 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::collection::{Collection, RecordError}; -use jacquard_common::types::string::{Did, AtUri, Cid, Datetime}; +use jacquard_common::types::string::{AtUri, Cid, Datetime, Did}; use jacquard_common::types::uri::{RecordUri, UriError}; use jacquard_common::types::value::Data; use jacquard_common::xrpc::XrpcResp; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// An allowlist entry for a room. When the room has allowlistEnabled, only allowlisted users can send messages. Lives in the room owner/mod's repo. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -108,7 +108,7 @@ impl LexiconSchema for Allowlist { pub mod allowlist_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -263,10 +263,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> Allowlist { + pub fn build_with_data(self, extra_data: BTreeMap>) -> Allowlist { Allowlist { created_at: self._fields.0.unwrap(), room: self._fields.1.unwrap(), @@ -277,10 +274,10 @@ where } fn lexicon_doc_app_protoimsg_chat_allowlist() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.protoimsg.chat.allowlist"), @@ -348,4 +345,4 @@ fn lexicon_doc_app_protoimsg_chat_allowlist() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_protoimsg/chat/auth_verify.rs b/crates/jacquard-api/src/app_protoimsg/chat/auth_verify.rs index 122b224c..54d69889 100644 --- a/crates/jacquard-api/src/app_protoimsg/chat/auth_verify.rs +++ b/crates/jacquard-api/src/app_protoimsg/chat/auth_verify.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// Ephemeral challenge-response auth record. Client writes this to prove PDS write access during login, server verifies the nonce, then client deletes it immediately. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -106,7 +106,7 @@ impl LexiconSchema for AuthVerify { pub mod auth_verify_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -226,10 +226,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> AuthVerify { + pub fn build_with_data(self, extra_data: BTreeMap>) -> AuthVerify { AuthVerify { created_at: self._fields.0.unwrap(), nonce: self._fields.1.unwrap(), @@ -239,10 +236,10 @@ where } fn lexicon_doc_app_protoimsg_chat_authVerify() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.protoimsg.chat.authVerify"), @@ -301,4 +298,4 @@ fn lexicon_doc_app_protoimsg_chat_authVerify() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_protoimsg/chat/ban.rs b/crates/jacquard-api/src/app_protoimsg/chat/ban.rs index 1f783dab..8d0137a7 100644 --- a/crates/jacquard-api/src/app_protoimsg/chat/ban.rs +++ b/crates/jacquard-api/src/app_protoimsg/chat/ban.rs @@ -10,13 +10,13 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::collection::{Collection, RecordError}; -use jacquard_common::types::string::{Did, AtUri, Cid, Datetime}; +use jacquard_common::types::string::{AtUri, Cid, Datetime, Did}; use jacquard_common::types::uri::{RecordUri, UriError}; use jacquard_common::types::value::Data; use jacquard_common::xrpc::XrpcResp; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// A ban issued by a room owner or moderator. Lives in the issuer's repo. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -121,7 +121,7 @@ impl LexiconSchema for Ban { pub mod ban_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -180,7 +180,12 @@ pub mod ban_state { /// Builder for constructing an instance of this type. pub struct BanBuilder { _state: PhantomData St>, - _fields: (Option, Option, Option>, Option>), + _fields: ( + Option, + Option, + Option>, + Option>, + ), _type: PhantomData S>, } @@ -240,10 +245,7 @@ where St::Room: ban_state::IsUnset, { /// Set the `room` field (required) - pub fn room( - mut self, - value: impl Into>, - ) -> BanBuilder> { + pub fn room(mut self, value: impl Into>) -> BanBuilder> { self._fields.2 = Option::Some(value.into()); BanBuilder { _state: PhantomData, @@ -259,10 +261,7 @@ where St::Subject: ban_state::IsUnset, { /// Set the `subject` field (required) - pub fn subject( - mut self, - value: impl Into>, - ) -> BanBuilder> { + pub fn subject(mut self, value: impl Into>) -> BanBuilder> { self._fields.3 = Option::Some(value.into()); BanBuilder { _state: PhantomData, @@ -302,10 +301,10 @@ where } fn lexicon_doc_app_protoimsg_chat_ban() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.protoimsg.chat.ban"), @@ -314,19 +313,16 @@ fn lexicon_doc_app_protoimsg_chat_ban() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static( - "A ban issued by a room owner or moderator. Lives in the issuer's repo.", - ), - ), + description: Some(CowStr::new_static( + "A ban issued by a room owner or moderator. Lives in the issuer's repo.", + )), key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("room"), SmolStr::new_static("subject"), - SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("room"), + SmolStr::new_static("subject"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -341,9 +337,7 @@ fn lexicon_doc_app_protoimsg_chat_ban() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("reason"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Reason for the ban."), - ), + description: Some(CowStr::new_static("Reason for the ban.")), max_length: Some(300usize), ..Default::default() }), @@ -351,9 +345,9 @@ fn lexicon_doc_app_protoimsg_chat_ban() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("room"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("AT-URI of the room the ban applies to."), - ), + description: Some(CowStr::new_static( + "AT-URI of the room the ban applies to.", + )), format: Some(LexStringFormat::AtUri), ..Default::default() }), @@ -361,9 +355,9 @@ fn lexicon_doc_app_protoimsg_chat_ban() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("subject"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("DID of the banned user."), - ), + description: Some(CowStr::new_static( + "DID of the banned user.", + )), format: Some(LexStringFormat::Did), ..Default::default() }), @@ -379,4 +373,4 @@ fn lexicon_doc_app_protoimsg_chat_ban() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_protoimsg/chat/channel.rs b/crates/jacquard-api/src/app_protoimsg/chat/channel.rs index 99248a8b..78b95355 100644 --- a/crates/jacquard-api/src/app_protoimsg/chat/channel.rs +++ b/crates/jacquard-api/src/app_protoimsg/chat/channel.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// A channel within a chat room. Created by the room owner. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -230,7 +230,7 @@ impl LexiconSchema for Channel { pub mod channel_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -356,10 +356,7 @@ where St::Name: channel_state::IsUnset, { /// Set the `name` field (required) - pub fn name( - mut self, - value: impl Into, - ) -> ChannelBuilder> { + pub fn name(mut self, value: impl Into) -> ChannelBuilder> { self._fields.2 = Option::Some(value.into()); ChannelBuilder { _state: PhantomData, @@ -384,10 +381,7 @@ impl ChannelBuilder { impl ChannelBuilder { /// Set the `postPolicy` field (optional) - pub fn post_policy( - mut self, - value: impl Into>>, - ) -> Self { + pub fn post_policy(mut self, value: impl Into>>) -> Self { self._fields.4 = value.into(); self } @@ -451,10 +445,10 @@ where } fn lexicon_doc_app_protoimsg_chat_channel() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.protoimsg.chat.channel"), @@ -463,28 +457,25 @@ fn lexicon_doc_app_protoimsg_chat_channel() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static( - "A channel within a chat room. Created by the room owner.", - ), - ), + description: Some(CowStr::new_static( + "A channel within a chat room. Created by the room owner.", + )), key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("room"), SmolStr::new_static("name"), - SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("room"), + SmolStr::new_static("name"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("createdAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Timestamp of channel creation."), - ), + description: Some(CowStr::new_static( + "Timestamp of channel creation.", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -492,9 +483,9 @@ fn lexicon_doc_app_protoimsg_chat_channel() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("description"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("What the channel is about."), - ), + description: Some(CowStr::new_static( + "What the channel is about.", + )), max_length: Some(500usize), ..Default::default() }), @@ -502,9 +493,9 @@ fn lexicon_doc_app_protoimsg_chat_channel() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("name"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Display name for the channel."), - ), + description: Some(CowStr::new_static( + "Display name for the channel.", + )), max_length: Some(100usize), ..Default::default() }), @@ -519,20 +510,18 @@ fn lexicon_doc_app_protoimsg_chat_channel() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("postPolicy"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Who can post messages in this channel."), - ), + description: Some(CowStr::new_static( + "Who can post messages in this channel.", + )), ..Default::default() }), ); map.insert( SmolStr::new_static("room"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "AT-URI of the room this channel belongs to.", - ), - ), + description: Some(CowStr::new_static( + "AT-URI of the room this channel belongs to.", + )), format: Some(LexStringFormat::AtUri), ..Default::default() }), @@ -548,4 +537,4 @@ fn lexicon_doc_app_protoimsg_chat_channel() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_protoimsg/chat/community.rs b/crates/jacquard-api/src/app_protoimsg/chat/community.rs index 74d7779a..ae8f8956 100644 --- a/crates/jacquard-api/src/app_protoimsg/chat/community.rs +++ b/crates/jacquard-api/src/app_protoimsg/chat/community.rs @@ -10,13 +10,13 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::collection::{Collection, RecordError}; -use jacquard_common::types::string::{Did, AtUri, Cid, Datetime}; +use jacquard_common::types::string::{AtUri, Cid, Datetime, Did}; use jacquard_common::types::uri::{RecordUri, UriError}; use jacquard_common::types::value::Data; use jacquard_common::xrpc::XrpcResp; @@ -24,14 +24,17 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::app_protoimsg::chat::community; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::app_protoimsg::chat::community; +use serde::{Deserialize, Serialize}; /// A named group of community members. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct CommunityGroup { ///Whether this is an inner circle group for presence visibility. Defaults to `false`. #[serde(skip_serializing_if = "Option::is_none")] @@ -48,7 +51,10 @@ pub struct CommunityGroup { /// A member in a community group. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct CommunityMember { ///When this member was added. pub added_at: Datetime, @@ -202,7 +208,7 @@ fn _default_community_group_is_inner_circle() -> Option { pub mod community_group_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -247,7 +253,11 @@ pub mod community_group_state { /// Builder for constructing an instance of this type. pub struct CommunityGroupBuilder { _state: PhantomData St>, - _fields: (Option, Option>>, Option), + _fields: ( + Option, + Option>>, + Option, + ), _type: PhantomData S>, } @@ -336,10 +346,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> CommunityGroup { + pub fn build_with_data(self, extra_data: BTreeMap>) -> CommunityGroup { CommunityGroup { is_inner_circle: self._fields.0.or_else(|| Some(false)), members: self._fields.1.unwrap(), @@ -350,10 +357,10 @@ where } fn lexicon_doc_app_protoimsg_chat_community() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.protoimsg.chat.community"), @@ -362,12 +369,11 @@ fn lexicon_doc_app_protoimsg_chat_community() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("communityGroup"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("A named group of community members."), - ), - required: Some( - vec![SmolStr::new_static("name"), SmolStr::new_static("members")], - ), + description: Some(CowStr::new_static("A named group of community members.")), + required: Some(vec![ + SmolStr::new_static("name"), + SmolStr::new_static("members"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -380,9 +386,7 @@ fn lexicon_doc_app_protoimsg_chat_community() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("members"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static("DIDs of group members."), - ), + description: Some(CowStr::new_static("DIDs of group members.")), items: LexArrayItem::Ref(LexRef { r#ref: CowStr::new_static("#communityMember"), ..Default::default() @@ -407,21 +411,20 @@ fn lexicon_doc_app_protoimsg_chat_community() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("communityMember"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("A member in a community group."), - ), - required: Some( - vec![SmolStr::new_static("did"), SmolStr::new_static("addedAt")], - ), + description: Some(CowStr::new_static("A member in a community group.")), + required: Some(vec![ + SmolStr::new_static("did"), + SmolStr::new_static("addedAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("addedAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("When this member was added."), - ), + description: Some(CowStr::new_static( + "When this member was added.", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -484,7 +487,7 @@ fn lexicon_doc_app_protoimsg_chat_community() -> LexiconDoc<'static> { pub mod community_member_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -604,10 +607,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> CommunityMember { + pub fn build_with_data(self, extra_data: BTreeMap>) -> CommunityMember { CommunityMember { added_at: self._fields.0.unwrap(), did: self._fields.1.unwrap(), @@ -618,7 +618,7 @@ where pub mod community_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -705,13 +705,10 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> Community { + pub fn build_with_data(self, extra_data: BTreeMap>) -> Community { Community { groups: self._fields.0.unwrap(), extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_protoimsg/chat/message.rs b/crates/jacquard-api/src/app_protoimsg/chat/message.rs index c2066af5..377c2e7b 100644 --- a/crates/jacquard-api/src/app_protoimsg/chat/message.rs +++ b/crates/jacquard-api/src/app_protoimsg/chat/message.rs @@ -10,14 +10,14 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::blob::BlobRef; use jacquard_common::types::collection::{Collection, RecordError}; -use jacquard_common::types::string::{Did, AtUri, Cid, Datetime, UriValue}; +use jacquard_common::types::string::{AtUri, Cid, Datetime, Did, UriValue}; use jacquard_common::types::uri::{RecordUri, UriError}; use jacquard_common::types::value::Data; use jacquard_common::xrpc::XrpcResp; @@ -25,14 +25,17 @@ use jacquard_derive::{IntoStatic, lexicon, open_union}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::app_protoimsg::chat::message; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::app_protoimsg::chat::message; +use serde::{Deserialize, Serialize}; /// Width and height for layout before media loads. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct AspectRatio { pub height: i64, pub width: i64, @@ -43,7 +46,10 @@ pub struct AspectRatio { /// Facet feature for a block quotation. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Blockquote { #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, @@ -52,7 +58,10 @@ pub struct Blockquote { /// Facet feature for bold text. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Bold { #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, @@ -61,7 +70,10 @@ pub struct Bold { /// Specifies the sub-string range a facet feature applies to. Start index is inclusive, end index is exclusive. Indices are zero-indexed, counting bytes of the UTF-8 encoded text. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ByteSlice { pub byte_end: i64, pub byte_start: i64, @@ -72,7 +84,10 @@ pub struct ByteSlice { /// Facet feature for a code block. The text contains the code content. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct CodeBlock { ///Programming language for syntax highlighting. #[serde(skip_serializing_if = "Option::is_none")] @@ -84,7 +99,10 @@ pub struct CodeBlock { /// Facet feature for inline code. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct CodeInline { #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, @@ -93,7 +111,10 @@ pub struct CodeInline { /// External link card. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ExternalEmbed { ///Description or summary. #[serde(skip_serializing_if = "Option::is_none")] @@ -112,7 +133,10 @@ pub struct ExternalEmbed { /// Embedded images. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ImageEmbed { pub images: Vec>, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -122,7 +146,10 @@ pub struct ImageEmbed { /// A single embedded image. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ImageItem { ///Alt text for accessibility. pub alt: S, @@ -137,7 +164,10 @@ pub struct ImageItem { /// Facet feature for italic text. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Italic { #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, @@ -146,7 +176,10 @@ pub struct Italic { /// Facet feature for a URL. The text URL may have been simplified or truncated, but the facet reference should be a complete URL. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Link { pub uri: UriValue, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -182,7 +215,6 @@ pub struct Message { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -209,7 +241,10 @@ pub struct MessageGetRecordOutput { /// Facet feature for mention of another account. The text is usually a handle, including a '@' prefix, but the facet reference is a DID. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Mention { pub did: Did, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -219,7 +254,10 @@ pub struct Mention { /// Thread reply reference with root and parent for efficient deep thread traversal. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ReplyRef { ///AT-URI of the direct parent message being replied to. pub parent: AtUri, @@ -232,7 +270,10 @@ pub struct ReplyRef { /// Annotation of a sub-string within rich text. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct RichTextFacet { pub features: Vec>, pub index: message::ByteSlice, @@ -240,7 +281,6 @@ pub struct RichTextFacet { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -268,7 +308,10 @@ pub enum RichTextFacetFeaturesItem { /// Facet feature for strikethrough text. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Strikethrough { #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, @@ -277,7 +320,10 @@ pub struct Strikethrough { /// Facet feature for a hashtag. The text usually includes a '#' prefix, but the facet reference should not. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Tag { pub tag: S, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -287,7 +333,10 @@ pub struct Tag { /// Embedded video. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct VideoEmbed { ///Alt text for accessibility. #[serde(skip_serializing_if = "Option::is_none")] @@ -486,25 +535,20 @@ impl LexiconSchema for ExternalEmbed { { let mime = value.blob().mime_type.as_str(); let accepted: &[&str] = &["image/png", "image/jpeg"]; - let matched = accepted - .iter() - .any(|pattern| { - if *pattern == "*/*" { - true - } else if pattern.ends_with("/*") { - let prefix = &pattern[..pattern.len() - 2]; - mime.starts_with(prefix) - && mime.as_bytes().get(prefix.len()) == Some(&b'/') - } else { - mime == *pattern - } - }); + let matched = accepted.iter().any(|pattern| { + if *pattern == "*/*" { + true + } else if pattern.ends_with("/*") { + let prefix = &pattern[..pattern.len() - 2]; + mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/') + } else { + mime == *pattern + } + }); if !matched { return Err(ConstraintError::BlobMimeTypeNotAccepted { path: ValidationPath::from_field("thumb"), - accepted: vec![ - "image/png".to_string(), "image/jpeg".to_string() - ], + accepted: vec!["image/png".to_string(), "image/jpeg".to_string()], actual: mime.to_string(), }); } @@ -590,31 +634,25 @@ impl LexiconSchema for ImageItem { let value = &self.image; { let mime = value.blob().mime_type.as_str(); - let accepted: &[&str] = &[ - "image/png", - "image/jpeg", - "image/gif", - "image/webp", - ]; - let matched = accepted - .iter() - .any(|pattern| { - if *pattern == "*/*" { - true - } else if pattern.ends_with("/*") { - let prefix = &pattern[..pattern.len() - 2]; - mime.starts_with(prefix) - && mime.as_bytes().get(prefix.len()) == Some(&b'/') - } else { - mime == *pattern - } - }); + let accepted: &[&str] = &["image/png", "image/jpeg", "image/gif", "image/webp"]; + let matched = accepted.iter().any(|pattern| { + if *pattern == "*/*" { + true + } else if pattern.ends_with("/*") { + let prefix = &pattern[..pattern.len() - 2]; + mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/') + } else { + mime == *pattern + } + }); if !matched { return Err(ConstraintError::BlobMimeTypeNotAccepted { path: ValidationPath::from_field("image"), accepted: vec![ - "image/png".to_string(), "image/jpeg".to_string(), - "image/gif".to_string(), "image/webp".to_string() + "image/png".to_string(), + "image/jpeg".to_string(), + "image/gif".to_string(), + "image/webp".to_string(), ], actual: mime.to_string(), }); @@ -857,25 +895,20 @@ impl LexiconSchema for VideoEmbed { { let mime = value.blob().mime_type.as_str(); let accepted: &[&str] = &["image/png", "image/jpeg"]; - let matched = accepted - .iter() - .any(|pattern| { - if *pattern == "*/*" { - true - } else if pattern.ends_with("/*") { - let prefix = &pattern[..pattern.len() - 2]; - mime.starts_with(prefix) - && mime.as_bytes().get(prefix.len()) == Some(&b'/') - } else { - mime == *pattern - } - }); + let matched = accepted.iter().any(|pattern| { + if *pattern == "*/*" { + true + } else if pattern.ends_with("/*") { + let prefix = &pattern[..pattern.len() - 2]; + mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/') + } else { + mime == *pattern + } + }); if !matched { return Err(ConstraintError::BlobMimeTypeNotAccepted { path: ValidationPath::from_field("thumbnail"), - accepted: vec![ - "image/png".to_string(), "image/jpeg".to_string() - ], + accepted: vec!["image/png".to_string(), "image/jpeg".to_string()], actual: mime.to_string(), }); } @@ -899,25 +932,20 @@ impl LexiconSchema for VideoEmbed { { let mime = value.blob().mime_type.as_str(); let accepted: &[&str] = &["video/mp4", "video/webm"]; - let matched = accepted - .iter() - .any(|pattern| { - if *pattern == "*/*" { - true - } else if pattern.ends_with("/*") { - let prefix = &pattern[..pattern.len() - 2]; - mime.starts_with(prefix) - && mime.as_bytes().get(prefix.len()) == Some(&b'/') - } else { - mime == *pattern - } - }); + let matched = accepted.iter().any(|pattern| { + if *pattern == "*/*" { + true + } else if pattern.ends_with("/*") { + let prefix = &pattern[..pattern.len() - 2]; + mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/') + } else { + mime == *pattern + } + }); if !matched { return Err(ConstraintError::BlobMimeTypeNotAccepted { path: ValidationPath::from_field("video"), - accepted: vec![ - "video/mp4".to_string(), "video/webm".to_string() - ], + accepted: vec!["video/mp4".to_string(), "video/webm".to_string()], actual: mime.to_string(), }); } @@ -929,7 +957,7 @@ impl LexiconSchema for VideoEmbed { pub mod aspect_ratio_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -1049,10 +1077,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> AspectRatio { + pub fn build_with_data(self, extra_data: BTreeMap>) -> AspectRatio { AspectRatio { height: self._fields.0.unwrap(), width: self._fields.1.unwrap(), @@ -1062,10 +1087,10 @@ where } fn lexicon_doc_app_protoimsg_chat_message() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.protoimsg.chat.message"), @@ -1074,14 +1099,13 @@ fn lexicon_doc_app_protoimsg_chat_message() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("aspectRatio"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "Width and height for layout before media loads.", - ), - ), - required: Some( - vec![SmolStr::new_static("width"), SmolStr::new_static("height")], - ), + description: Some(CowStr::new_static( + "Width and height for layout before media loads.", + )), + required: Some(vec![ + SmolStr::new_static("width"), + SmolStr::new_static("height"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -1107,9 +1131,7 @@ fn lexicon_doc_app_protoimsg_chat_message() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("blockquote"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("Facet feature for a block quotation."), - ), + description: Some(CowStr::new_static("Facet feature for a block quotation.")), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -1121,9 +1143,7 @@ fn lexicon_doc_app_protoimsg_chat_message() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("bold"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("Facet feature for bold text."), - ), + description: Some(CowStr::new_static("Facet feature for bold text.")), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -1171,22 +1191,18 @@ fn lexicon_doc_app_protoimsg_chat_message() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("codeBlock"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "Facet feature for a code block. The text contains the code content.", - ), - ), + description: Some(CowStr::new_static( + "Facet feature for a code block. The text contains the code content.", + )), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("lang"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Programming language for syntax highlighting.", - ), - ), + description: Some(CowStr::new_static( + "Programming language for syntax highlighting.", + )), max_length: Some(50usize), ..Default::default() }), @@ -1199,9 +1215,7 @@ fn lexicon_doc_app_protoimsg_chat_message() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("codeInline"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("Facet feature for inline code."), - ), + description: Some(CowStr::new_static("Facet feature for inline code.")), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -1214,32 +1228,33 @@ fn lexicon_doc_app_protoimsg_chat_message() -> LexiconDoc<'static> { SmolStr::new_static("externalEmbed"), LexUserType::Object(LexObject { description: Some(CowStr::new_static("External link card.")), - required: Some( - vec![SmolStr::new_static("uri"), SmolStr::new_static("title")], - ), + required: Some(vec![ + SmolStr::new_static("uri"), + SmolStr::new_static("title"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("description"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Description or summary."), - ), + description: Some(CowStr::new_static("Description or summary.")), max_length: Some(1000usize), ..Default::default() }), ); map.insert( SmolStr::new_static("thumb"), - LexObjectProperty::Blob(LexBlob { ..Default::default() }), + LexObjectProperty::Blob(LexBlob { + ..Default::default() + }), ); map.insert( SmolStr::new_static("title"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Title of the external content."), - ), + description: Some(CowStr::new_static( + "Title of the external content.", + )), max_length: Some(300usize), ..Default::default() }), @@ -1247,9 +1262,9 @@ fn lexicon_doc_app_protoimsg_chat_message() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("uri"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("URL of the external content."), - ), + description: Some(CowStr::new_static( + "URL of the external content.", + )), format: Some(LexStringFormat::Uri), ..Default::default() }), @@ -1287,18 +1302,19 @@ fn lexicon_doc_app_protoimsg_chat_message() -> LexiconDoc<'static> { SmolStr::new_static("imageItem"), LexUserType::Object(LexObject { description: Some(CowStr::new_static("A single embedded image.")), - required: Some( - vec![SmolStr::new_static("image"), SmolStr::new_static("alt")], - ), + required: Some(vec![ + SmolStr::new_static("image"), + SmolStr::new_static("alt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("alt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Alt text for accessibility."), - ), + description: Some(CowStr::new_static( + "Alt text for accessibility.", + )), max_length: Some(2000usize), ..Default::default() }), @@ -1312,7 +1328,9 @@ fn lexicon_doc_app_protoimsg_chat_message() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("image"), - LexObjectProperty::Blob(LexBlob { ..Default::default() }), + LexObjectProperty::Blob(LexBlob { + ..Default::default() + }), ); map }, @@ -1322,9 +1340,7 @@ fn lexicon_doc_app_protoimsg_chat_message() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("italic"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("Facet feature for italic text."), - ), + description: Some(CowStr::new_static("Facet feature for italic text.")), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -1522,16 +1538,13 @@ fn lexicon_doc_app_protoimsg_chat_message() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("richTextFacet"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "Annotation of a sub-string within rich text.", - ), - ), - required: Some( - vec![ - SmolStr::new_static("index"), SmolStr::new_static("features") - ], - ), + description: Some(CowStr::new_static( + "Annotation of a sub-string within rich text.", + )), + required: Some(vec![ + SmolStr::new_static("index"), + SmolStr::new_static("features"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -1540,13 +1553,15 @@ fn lexicon_doc_app_protoimsg_chat_message() -> LexiconDoc<'static> { LexObjectProperty::Array(LexArray { items: LexArrayItem::Union(LexRefUnion { refs: vec![ - CowStr::new_static("#mention"), CowStr::new_static("#link"), - CowStr::new_static("#tag"), CowStr::new_static("#bold"), + CowStr::new_static("#mention"), + CowStr::new_static("#link"), + CowStr::new_static("#tag"), + CowStr::new_static("#bold"), CowStr::new_static("#italic"), CowStr::new_static("#strikethrough"), CowStr::new_static("#codeInline"), CowStr::new_static("#codeBlock"), - CowStr::new_static("#blockquote") + CowStr::new_static("#blockquote"), ], ..Default::default() }), @@ -1568,9 +1583,7 @@ fn lexicon_doc_app_protoimsg_chat_message() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("strikethrough"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("Facet feature for strikethrough text."), - ), + description: Some(CowStr::new_static("Facet feature for strikethrough text.")), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -1615,9 +1628,9 @@ fn lexicon_doc_app_protoimsg_chat_message() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("alt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Alt text for accessibility."), - ), + description: Some(CowStr::new_static( + "Alt text for accessibility.", + )), max_length: Some(2000usize), ..Default::default() }), @@ -1631,11 +1644,15 @@ fn lexicon_doc_app_protoimsg_chat_message() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("thumbnail"), - LexObjectProperty::Blob(LexBlob { ..Default::default() }), + LexObjectProperty::Blob(LexBlob { + ..Default::default() + }), ); map.insert( SmolStr::new_static("video"), - LexObjectProperty::Blob(LexBlob { ..Default::default() }), + LexObjectProperty::Blob(LexBlob { + ..Default::default() + }), ); map }, @@ -1650,7 +1667,7 @@ fn lexicon_doc_app_protoimsg_chat_message() -> LexiconDoc<'static> { pub mod byte_slice_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -1770,10 +1787,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> ByteSlice { + pub fn build_with_data(self, extra_data: BTreeMap>) -> ByteSlice { ByteSlice { byte_end: self._fields.0.unwrap(), byte_start: self._fields.1.unwrap(), @@ -1784,7 +1798,7 @@ where pub mod external_embed_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -1829,7 +1843,12 @@ pub mod external_embed_state { /// Builder for constructing an instance of this type. pub struct ExternalEmbedBuilder { _state: PhantomData St>, - _fields: (Option, Option>, Option, Option>), + _fields: ( + Option, + Option>, + Option, + Option>, + ), _type: PhantomData S>, } @@ -1932,10 +1951,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> ExternalEmbed { + pub fn build_with_data(self, extra_data: BTreeMap>) -> ExternalEmbed { ExternalEmbed { description: self._fields.0, thumb: self._fields.1, @@ -1948,7 +1964,7 @@ where pub mod image_embed_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -2035,10 +2051,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> ImageEmbed { + pub fn build_with_data(self, extra_data: BTreeMap>) -> ImageEmbed { ImageEmbed { images: self._fields.0.unwrap(), extra_data: Some(extra_data), @@ -2048,7 +2061,7 @@ where pub mod image_item_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -2093,7 +2106,11 @@ pub mod image_item_state { /// Builder for constructing an instance of this type. pub struct ImageItemBuilder { _state: PhantomData St>, - _fields: (Option, Option>, Option>), + _fields: ( + Option, + Option>, + Option>, + ), _type: PhantomData S>, } @@ -2121,10 +2138,7 @@ where St::Alt: image_item_state::IsUnset, { /// Set the `alt` field (required) - pub fn alt( - mut self, - value: impl Into, - ) -> ImageItemBuilder> { + pub fn alt(mut self, value: impl Into) -> ImageItemBuilder> { self._fields.0 = Option::Some(value.into()); ImageItemBuilder { _state: PhantomData, @@ -2136,10 +2150,7 @@ where impl ImageItemBuilder { /// Set the `aspectRatio` field (optional) - pub fn aspect_ratio( - mut self, - value: impl Into>>, - ) -> Self { + pub fn aspect_ratio(mut self, value: impl Into>>) -> Self { self._fields.1 = value.into(); self } @@ -2185,10 +2196,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> ImageItem { + pub fn build_with_data(self, extra_data: BTreeMap>) -> ImageItem { ImageItem { alt: self._fields.0.unwrap(), aspect_ratio: self._fields.1, @@ -2200,7 +2208,7 @@ where pub mod link_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -2261,10 +2269,7 @@ where St::Uri: link_state::IsUnset, { /// Set the `uri` field (required) - pub fn uri( - mut self, - value: impl Into>, - ) -> LinkBuilder> { + pub fn uri(mut self, value: impl Into>) -> LinkBuilder> { self._fields.0 = Option::Some(value.into()); LinkBuilder { _state: PhantomData, @@ -2297,7 +2302,7 @@ where pub mod message_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -2438,18 +2443,12 @@ impl MessageBuilder { impl MessageBuilder { /// Set the `facets` field (optional) - pub fn facets( - mut self, - value: impl Into>>>, - ) -> Self { + pub fn facets(mut self, value: impl Into>>>) -> Self { self._fields.3 = value.into(); self } /// Set the `facets` field to an Option value (optional) - pub fn maybe_facets( - mut self, - value: Option>>, - ) -> Self { + pub fn maybe_facets(mut self, value: Option>>) -> Self { self._fields.3 = value; self } @@ -2474,10 +2473,7 @@ where St::Text: message_state::IsUnset, { /// Set the `text` field (required) - pub fn text( - mut self, - value: impl Into, - ) -> MessageBuilder> { + pub fn text(mut self, value: impl Into) -> MessageBuilder> { self._fields.5 = Option::Some(value.into()); MessageBuilder { _state: PhantomData, @@ -2522,7 +2518,7 @@ where pub mod mention_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -2583,10 +2579,7 @@ where St::Did: mention_state::IsUnset, { /// Set the `did` field (required) - pub fn did( - mut self, - value: impl Into>, - ) -> MentionBuilder> { + pub fn did(mut self, value: impl Into>) -> MentionBuilder> { self._fields.0 = Option::Some(value.into()); MentionBuilder { _state: PhantomData, @@ -2619,7 +2612,7 @@ where pub mod reply_ref_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -2750,7 +2743,7 @@ where pub mod rich_text_facet_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -2795,7 +2788,10 @@ pub mod rich_text_facet_state { /// Builder for constructing an instance of this type. pub struct RichTextFacetBuilder { _state: PhantomData St>, - _fields: (Option>>, Option>), + _fields: ( + Option>>, + Option>, + ), _type: PhantomData S>, } @@ -2870,10 +2866,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> RichTextFacet { + pub fn build_with_data(self, extra_data: BTreeMap>) -> RichTextFacet { RichTextFacet { features: self._fields.0.unwrap(), index: self._fields.1.unwrap(), @@ -2884,7 +2877,7 @@ where pub mod video_embed_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -2959,10 +2952,7 @@ impl VideoEmbedBuilder { impl VideoEmbedBuilder { /// Set the `aspectRatio` field (optional) - pub fn aspect_ratio( - mut self, - value: impl Into>>, - ) -> Self { + pub fn aspect_ratio(mut self, value: impl Into>>) -> Self { self._fields.1 = value.into(); self } @@ -3021,10 +3011,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> VideoEmbed { + pub fn build_with_data(self, extra_data: BTreeMap>) -> VideoEmbed { VideoEmbed { alt: self._fields.0, aspect_ratio: self._fields.1, @@ -3033,4 +3020,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_protoimsg/chat/poll.rs b/crates/jacquard-api/src/app_protoimsg/chat/poll.rs index 892d1607..c74002c8 100644 --- a/crates/jacquard-api/src/app_protoimsg/chat/poll.rs +++ b/crates/jacquard-api/src/app_protoimsg/chat/poll.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// A poll within a chat channel. Lives in the creator's repo. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -154,7 +154,7 @@ fn _default_poll_allow_multiple() -> Option { pub mod poll_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -347,10 +347,7 @@ where St::Question: poll_state::IsUnset, { /// Set the `question` field (required) - pub fn question( - mut self, - value: impl Into, - ) -> PollBuilder> { + pub fn question(mut self, value: impl Into) -> PollBuilder> { self._fields.5 = Option::Some(value.into()); PollBuilder { _state: PhantomData, @@ -395,10 +392,10 @@ where } fn lexicon_doc_app_protoimsg_chat_poll() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.protoimsg.chat.poll"), @@ -407,21 +404,17 @@ fn lexicon_doc_app_protoimsg_chat_poll() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static( - "A poll within a chat channel. Lives in the creator's repo.", - ), - ), + description: Some(CowStr::new_static( + "A poll within a chat channel. Lives in the creator's repo.", + )), key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("channel"), - SmolStr::new_static("question"), - SmolStr::new_static("options"), - SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("channel"), + SmolStr::new_static("question"), + SmolStr::new_static("options"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -434,11 +427,9 @@ fn lexicon_doc_app_protoimsg_chat_poll() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("channel"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "AT-URI of the channel this poll belongs to.", - ), - ), + description: Some(CowStr::new_static( + "AT-URI of the channel this poll belongs to.", + )), format: Some(LexStringFormat::AtUri), ..Default::default() }), @@ -446,9 +437,9 @@ fn lexicon_doc_app_protoimsg_chat_poll() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("createdAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Timestamp of poll creation."), - ), + description: Some(CowStr::new_static( + "Timestamp of poll creation.", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -456,11 +447,9 @@ fn lexicon_doc_app_protoimsg_chat_poll() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("expiresAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "When the poll closes. Omit for no expiry.", - ), - ), + description: Some(CowStr::new_static( + "When the poll closes. Omit for no expiry.", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -468,9 +457,7 @@ fn lexicon_doc_app_protoimsg_chat_poll() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("options"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static("Poll answer options."), - ), + description: Some(CowStr::new_static("Poll answer options.")), items: LexArrayItem::String(LexString { max_length: Some(100usize), ..Default::default() @@ -499,4 +486,4 @@ fn lexicon_doc_app_protoimsg_chat_poll() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_protoimsg/chat/presence.rs b/crates/jacquard-api/src/app_protoimsg/chat/presence.rs index cb32e47c..ca1eb4ce 100644 --- a/crates/jacquard-api/src/app_protoimsg/chat/presence.rs +++ b/crates/jacquard-api/src/app_protoimsg/chat/presence.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// User's current presence status. Lives in their repo, updated by their client. IMPORTANT: visibleTo is intentionally excluded — it is a privacy preference and must remain server-side only. Writing it to the PDS would publicly expose who the user is hiding from. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -210,7 +210,7 @@ impl LexiconSchema for Presence { pub mod presence_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -355,10 +355,10 @@ where } fn lexicon_doc_app_protoimsg_chat_presence() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.protoimsg.chat.presence"), @@ -423,4 +423,4 @@ fn lexicon_doc_app_protoimsg_chat_presence() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_protoimsg/chat/role.rs b/crates/jacquard-api/src/app_protoimsg/chat/role.rs index 5099e3f6..9b3a90d8 100644 --- a/crates/jacquard-api/src/app_protoimsg/chat/role.rs +++ b/crates/jacquard-api/src/app_protoimsg/chat/role.rs @@ -10,13 +10,13 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::collection::{Collection, RecordError}; -use jacquard_common::types::string::{Did, AtUri, Cid, Datetime}; +use jacquard_common::types::string::{AtUri, Cid, Datetime, Did}; use jacquard_common::types::uri::{RecordUri, UriError}; use jacquard_common::types::value::Data; use jacquard_common::xrpc::XrpcResp; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// Assign a moderator role to a user for a specific room. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -189,7 +189,7 @@ impl LexiconSchema for Role { pub mod role_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -264,7 +264,12 @@ pub mod role_state { /// Builder for constructing an instance of this type. pub struct RoleBuilder { _state: PhantomData St>, - _fields: (Option, Option>, Option>, Option>), + _fields: ( + Option, + Option>, + Option>, + Option>, + ), _type: PhantomData S>, } @@ -330,10 +335,7 @@ where St::Room: role_state::IsUnset, { /// Set the `room` field (required) - pub fn room( - mut self, - value: impl Into>, - ) -> RoleBuilder> { + pub fn room(mut self, value: impl Into>) -> RoleBuilder> { self._fields.2 = Option::Some(value.into()); RoleBuilder { _state: PhantomData, @@ -393,10 +395,10 @@ where } fn lexicon_doc_app_protoimsg_chat_role() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.protoimsg.chat.role"), @@ -405,29 +407,26 @@ fn lexicon_doc_app_protoimsg_chat_role() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static( - "Assign a moderator role to a user for a specific room.", - ), - ), + description: Some(CowStr::new_static( + "Assign a moderator role to a user for a specific room.", + )), key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("room"), SmolStr::new_static("subject"), - SmolStr::new_static("role"), - SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("room"), + SmolStr::new_static("subject"), + SmolStr::new_static("role"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("createdAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Timestamp of role assignment."), - ), + description: Some(CowStr::new_static( + "Timestamp of role assignment.", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -435,18 +434,16 @@ fn lexicon_doc_app_protoimsg_chat_role() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("role"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The role being assigned."), - ), + description: Some(CowStr::new_static( + "The role being assigned.", + )), ..Default::default() }), ); map.insert( SmolStr::new_static("room"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("AT-URI of the room."), - ), + description: Some(CowStr::new_static("AT-URI of the room.")), format: Some(LexStringFormat::AtUri), ..Default::default() }), @@ -454,11 +451,9 @@ fn lexicon_doc_app_protoimsg_chat_role() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("subject"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "DID of the user being assigned the role.", - ), - ), + description: Some(CowStr::new_static( + "DID of the user being assigned the role.", + )), format: Some(LexStringFormat::Did), ..Default::default() }), @@ -474,4 +469,4 @@ fn lexicon_doc_app_protoimsg_chat_role() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_protoimsg/chat/room.rs b/crates/jacquard-api/src/app_protoimsg/chat/room.rs index a42fbd99..cab68d98 100644 --- a/crates/jacquard-api/src/app_protoimsg/chat/room.rs +++ b/crates/jacquard-api/src/app_protoimsg/chat/room.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::app_protoimsg::chat::room; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::app_protoimsg::chat::room; +use serde::{Deserialize, Serialize}; /// Declares a chat room. Created by whoever starts the room. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -159,7 +159,10 @@ pub struct RoomGetRecordOutput { /// Configurable room settings. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct RoomSettings { ///When true, only users on the room allowlist can send messages. Defaults to `false`. #[serde(skip_serializing_if = "Option::is_none")] @@ -258,9 +261,7 @@ where RoomSettingsVisibility::Public => RoomSettingsVisibility::Public, RoomSettingsVisibility::Unlisted => RoomSettingsVisibility::Unlisted, RoomSettingsVisibility::Private => RoomSettingsVisibility::Private, - RoomSettingsVisibility::Other(v) => { - RoomSettingsVisibility::Other(v.into_static()) - } + RoomSettingsVisibility::Other(v) => RoomSettingsVisibility::Other(v.into_static()), } } } @@ -390,7 +391,7 @@ impl LexiconSchema for RoomSettings { pub mod room_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -546,10 +547,7 @@ where St::Name: room_state::IsUnset, { /// Set the `name` field (required) - pub fn name( - mut self, - value: impl Into, - ) -> RoomBuilder> { + pub fn name(mut self, value: impl Into) -> RoomBuilder> { self._fields.3 = Option::Some(value.into()); RoomBuilder { _state: PhantomData, @@ -597,10 +595,7 @@ where St::Topic: room_state::IsUnset, { /// Set the `topic` field (required) - pub fn topic( - mut self, - value: impl Into, - ) -> RoomBuilder> { + pub fn topic(mut self, value: impl Into) -> RoomBuilder> { self._fields.6 = Option::Some(value.into()); RoomBuilder { _state: PhantomData, @@ -647,10 +642,10 @@ where } fn lexicon_doc_app_protoimsg_chat_room() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.protoimsg.chat.room"), @@ -824,4 +819,4 @@ impl Default for RoomSettings { extra_data: Default::default(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_protoimsg/chat/vote.rs b/crates/jacquard-api/src/app_protoimsg/chat/vote.rs index 861d606f..eb0131ba 100644 --- a/crates/jacquard-api/src/app_protoimsg/chat/vote.rs +++ b/crates/jacquard-api/src/app_protoimsg/chat/vote.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// A vote on a poll. Lives in the voter's repo. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -119,7 +119,7 @@ impl LexiconSchema for Vote { pub mod vote_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -225,10 +225,7 @@ where St::Poll: vote_state::IsUnset, { /// Set the `poll` field (required) - pub fn poll( - mut self, - value: impl Into>, - ) -> VoteBuilder> { + pub fn poll(mut self, value: impl Into>) -> VoteBuilder> { self._fields.1 = Option::Some(value.into()); VoteBuilder { _state: PhantomData, @@ -285,10 +282,10 @@ where } fn lexicon_doc_app_protoimsg_chat_vote() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.protoimsg.chat.vote"), @@ -297,20 +294,16 @@ fn lexicon_doc_app_protoimsg_chat_vote() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static( - "A vote on a poll. Lives in the voter's repo.", - ), - ), + description: Some(CowStr::new_static( + "A vote on a poll. Lives in the voter's repo.", + )), key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("poll"), - SmolStr::new_static("selectedOptions"), - SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("poll"), + SmolStr::new_static("selectedOptions"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -325,9 +318,9 @@ fn lexicon_doc_app_protoimsg_chat_vote() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("poll"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("AT-URI of the poll being voted on."), - ), + description: Some(CowStr::new_static( + "AT-URI of the poll being voted on.", + )), format: Some(LexStringFormat::AtUri), ..Default::default() }), @@ -335,9 +328,9 @@ fn lexicon_doc_app_protoimsg_chat_vote() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("selectedOptions"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static("Indices of selected options (0-based)."), - ), + description: Some(CowStr::new_static( + "Indices of selected options (0-based).", + )), items: LexArrayItem::Integer(LexInteger { ..Default::default() }), @@ -356,4 +349,4 @@ fn lexicon_doc_app_protoimsg_chat_vote() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky.rs b/crates/jacquard-api/src/app_rocksky.rs index c7299299..5c9df8c0 100644 --- a/crates/jacquard-api/src/app_rocksky.rs +++ b/crates/jacquard-api/src/app_rocksky.rs @@ -20,4 +20,4 @@ pub mod scrobble; pub mod shout; pub mod song; pub mod spotify; -pub mod stats; \ No newline at end of file +pub mod stats; diff --git a/crates/jacquard-api/src/app_rocksky/actor.rs b/crates/jacquard-api/src/app_rocksky/actor.rs index 65cc1ee2..c3eba9b1 100644 --- a/crates/jacquard-api/src/app_rocksky/actor.rs +++ b/crates/jacquard-api/src/app_rocksky/actor.rs @@ -15,10 +15,9 @@ pub mod get_actor_scrobbles; pub mod get_actor_songs; pub mod get_profile; - #[allow(unused_imports)] use alloc::collections::BTreeMap; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -29,14 +28,17 @@ use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::app_rocksky::actor; use crate::app_rocksky::artist; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ArtistViewBasic { #[serde(skip_serializing_if = "Option::is_none")] pub id: Option, @@ -56,9 +58,11 @@ pub struct ArtistViewBasic { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct CompatibilityViewBasic { #[serde(skip_serializing_if = "Option::is_none")] pub compatibility_level: Option, @@ -78,9 +82,11 @@ pub struct CompatibilityViewBasic { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct NeighbourViewBasic { ///The URL of the actor's avatar image. #[serde(skip_serializing_if = "Option::is_none")] @@ -109,9 +115,11 @@ pub struct NeighbourViewBasic { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ProfileViewBasic { ///The URL of the actor's avatar image. #[serde(skip_serializing_if = "Option::is_none")] @@ -138,9 +146,11 @@ pub struct ProfileViewBasic { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ProfileViewDetailed { ///The URL of the actor's avatar image. #[serde(skip_serializing_if = "Option::is_none")] @@ -243,10 +253,10 @@ impl LexiconSchema for ProfileViewDetailed { } fn lexicon_doc_app_rocksky_actor_defs() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.rocksky.actor.defs"), @@ -260,11 +270,15 @@ fn lexicon_doc_app_rocksky_actor_defs() -> LexiconDoc<'static> { let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("id"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("name"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("picture"), @@ -374,24 +388,30 @@ fn lexicon_doc_app_rocksky_actor_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("avatar"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The URL of the actor's avatar image."), - ), + description: Some(CowStr::new_static( + "The URL of the actor's avatar image.", + )), format: Some(LexStringFormat::Uri), ..Default::default() }), ); map.insert( SmolStr::new_static("did"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("displayName"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("handle"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("sharedArtistsCount"), @@ -408,11 +428,9 @@ fn lexicon_doc_app_rocksky_actor_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("topSharedArtistNames"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static( - "The top shared artist names with the actor.", - ), - ), + description: Some(CowStr::new_static( + "The top shared artist names with the actor.", + )), items: LexArrayItem::String(LexString { ..Default::default() }), @@ -422,11 +440,9 @@ fn lexicon_doc_app_rocksky_actor_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("topSharedArtistsDetails"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static( - "The top shared artist details with the actor.", - ), - ), + description: Some(CowStr::new_static( + "The top shared artist details with the actor.", + )), items: LexArrayItem::Ref(LexRef { r#ref: CowStr::new_static( "app.rocksky.artist.defs#artistViewBasic", @@ -438,7 +454,9 @@ fn lexicon_doc_app_rocksky_actor_defs() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("userId"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map }, @@ -454,9 +472,9 @@ fn lexicon_doc_app_rocksky_actor_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("avatar"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The URL of the actor's avatar image."), - ), + description: Some(CowStr::new_static( + "The URL of the actor's avatar image.", + )), format: Some(LexStringFormat::Uri), ..Default::default() }), @@ -464,11 +482,9 @@ fn lexicon_doc_app_rocksky_actor_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("createdAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "The date and time when the actor was created.", - ), - ), + description: Some(CowStr::new_static( + "The date and time when the actor was created.", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -476,47 +492,41 @@ fn lexicon_doc_app_rocksky_actor_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("did"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The DID of the actor."), - ), + description: Some(CowStr::new_static("The DID of the actor.")), ..Default::default() }), ); map.insert( SmolStr::new_static("displayName"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The display name of the actor."), - ), + description: Some(CowStr::new_static( + "The display name of the actor.", + )), ..Default::default() }), ); map.insert( SmolStr::new_static("handle"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The handle of the actor."), - ), + description: Some(CowStr::new_static("The handle of the actor.")), ..Default::default() }), ); map.insert( SmolStr::new_static("id"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The unique identifier of the actor."), - ), + description: Some(CowStr::new_static( + "The unique identifier of the actor.", + )), ..Default::default() }), ); map.insert( SmolStr::new_static("updatedAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "The date and time when the actor was last updated.", - ), - ), + description: Some(CowStr::new_static( + "The date and time when the actor was last updated.", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -535,9 +545,9 @@ fn lexicon_doc_app_rocksky_actor_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("avatar"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The URL of the actor's avatar image."), - ), + description: Some(CowStr::new_static( + "The URL of the actor's avatar image.", + )), format: Some(LexStringFormat::Uri), ..Default::default() }), @@ -545,11 +555,9 @@ fn lexicon_doc_app_rocksky_actor_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("createdAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "The date and time when the actor was created.", - ), - ), + description: Some(CowStr::new_static( + "The date and time when the actor was created.", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -557,47 +565,41 @@ fn lexicon_doc_app_rocksky_actor_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("did"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The DID of the actor."), - ), + description: Some(CowStr::new_static("The DID of the actor.")), ..Default::default() }), ); map.insert( SmolStr::new_static("displayName"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The display name of the actor."), - ), + description: Some(CowStr::new_static( + "The display name of the actor.", + )), ..Default::default() }), ); map.insert( SmolStr::new_static("handle"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The handle of the actor."), - ), + description: Some(CowStr::new_static("The handle of the actor.")), ..Default::default() }), ); map.insert( SmolStr::new_static("id"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The unique identifier of the actor."), - ), + description: Some(CowStr::new_static( + "The unique identifier of the actor.", + )), ..Default::default() }), ); map.insert( SmolStr::new_static("updatedAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "The date and time when the actor was last updated.", - ), - ), + description: Some(CowStr::new_static( + "The date and time when the actor was last updated.", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -611,4 +613,4 @@ fn lexicon_doc_app_rocksky_actor_defs() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/actor/get_actor_albums.rs b/crates/jacquard-api/src/app_rocksky/actor/get_actor_albums.rs index 27ab5678..169508fe 100644 --- a/crates/jacquard-api/src/app_rocksky/actor/get_actor_albums.rs +++ b/crates/jacquard-api/src/app_rocksky/actor/get_actor_albums.rs @@ -8,19 +8,22 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_rocksky::album::AlbumViewBasic; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::ident::AtIdentifier; use jacquard_common::types::string::Datetime; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_rocksky::album::AlbumViewBasic; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetActorAlbums { pub did: AtIdentifier, #[serde(skip_serializing_if = "Option::is_none")] @@ -35,9 +38,11 @@ pub struct GetActorAlbums { pub start_date: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetActorAlbumsOutput { #[serde(skip_serializing_if = "Option::is_none")] pub albums: Option>>, @@ -71,7 +76,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetActorAlbumsRequest { pub mod get_actor_albums_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -218,4 +223,4 @@ where start_date: self._fields.4, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/actor/get_actor_artists.rs b/crates/jacquard-api/src/app_rocksky/actor/get_actor_artists.rs index 5b90c9ef..2b09bce6 100644 --- a/crates/jacquard-api/src/app_rocksky/actor/get_actor_artists.rs +++ b/crates/jacquard-api/src/app_rocksky/actor/get_actor_artists.rs @@ -8,19 +8,22 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_rocksky::artist::ArtistViewBasic; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::ident::AtIdentifier; use jacquard_common::types::string::Datetime; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_rocksky::artist::ArtistViewBasic; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetActorArtists { pub did: AtIdentifier, #[serde(skip_serializing_if = "Option::is_none")] @@ -35,9 +38,11 @@ pub struct GetActorArtists { pub start_date: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetActorArtistsOutput { #[serde(skip_serializing_if = "Option::is_none")] pub artists: Option>>, @@ -71,7 +76,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetActorArtistsRequest { pub mod get_actor_artists_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -218,4 +223,4 @@ where start_date: self._fields.4, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/actor/get_actor_compatibility.rs b/crates/jacquard-api/src/app_rocksky/actor/get_actor_compatibility.rs index 5a3b22f7..0ac7f5aa 100644 --- a/crates/jacquard-api/src/app_rocksky/actor/get_actor_compatibility.rs +++ b/crates/jacquard-api/src/app_rocksky/actor/get_actor_compatibility.rs @@ -8,25 +8,30 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_rocksky::actor::CompatibilityViewBasic; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::ident::AtIdentifier; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_rocksky::actor::CompatibilityViewBasic; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetActorCompatibility { pub did: AtIdentifier, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetActorCompatibilityOutput { #[serde(skip_serializing_if = "Option::is_none")] pub compatibility: Option>, @@ -60,7 +65,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetActorCompatibilityRequest { pub mod get_actor_compatibility_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -91,10 +96,7 @@ pub mod get_actor_compatibility_state { } /// Builder for constructing an instance of this type. -pub struct GetActorCompatibilityBuilder< - S: BosStr, - St: get_actor_compatibility_state::State, -> { +pub struct GetActorCompatibilityBuilder { _state: PhantomData St>, _fields: (Option>,), _type: PhantomData S>, @@ -102,10 +104,7 @@ pub struct GetActorCompatibilityBuilder< impl GetActorCompatibility { /// Create a new builder for this type. - pub fn new() -> GetActorCompatibilityBuilder< - S, - get_actor_compatibility_state::Empty, - > { + pub fn new() -> GetActorCompatibilityBuilder { GetActorCompatibilityBuilder::new() } } @@ -151,4 +150,4 @@ where did: self._fields.0.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/actor/get_actor_loved_songs.rs b/crates/jacquard-api/src/app_rocksky/actor/get_actor_loved_songs.rs index 30a80807..87be8edc 100644 --- a/crates/jacquard-api/src/app_rocksky/actor/get_actor_loved_songs.rs +++ b/crates/jacquard-api/src/app_rocksky/actor/get_actor_loved_songs.rs @@ -8,18 +8,21 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_rocksky::song::SongViewBasic; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::ident::AtIdentifier; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_rocksky::song::SongViewBasic; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetActorLovedSongs { pub did: AtIdentifier, ///(min: 1) @@ -30,9 +33,11 @@ pub struct GetActorLovedSongs { pub offset: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetActorLovedSongsOutput { #[serde(skip_serializing_if = "Option::is_none")] pub tracks: Option>>, @@ -66,7 +71,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetActorLovedSongsRequest { pub mod get_actor_loved_songs_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -140,10 +145,7 @@ where } } -impl< - S: BosStr, - St: get_actor_loved_songs_state::State, -> GetActorLovedSongsBuilder { +impl GetActorLovedSongsBuilder { /// Set the `limit` field (optional) pub fn limit(mut self, value: impl Into>) -> Self { self._fields.1 = value.into(); @@ -156,10 +158,7 @@ impl< } } -impl< - S: BosStr, - St: get_actor_loved_songs_state::State, -> GetActorLovedSongsBuilder { +impl GetActorLovedSongsBuilder { /// Set the `offset` field (optional) pub fn offset(mut self, value: impl Into>) -> Self { self._fields.2 = value.into(); @@ -185,4 +184,4 @@ where offset: self._fields.2, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/actor/get_actor_neighbours.rs b/crates/jacquard-api/src/app_rocksky/actor/get_actor_neighbours.rs index def4ae47..b61654f3 100644 --- a/crates/jacquard-api/src/app_rocksky/actor/get_actor_neighbours.rs +++ b/crates/jacquard-api/src/app_rocksky/actor/get_actor_neighbours.rs @@ -8,25 +8,30 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_rocksky::actor::NeighbourViewBasic; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::ident::AtIdentifier; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_rocksky::actor::NeighbourViewBasic; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetActorNeighbours { pub did: AtIdentifier, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetActorNeighboursOutput { #[serde(skip_serializing_if = "Option::is_none")] pub neighbours: Option>>, @@ -60,7 +65,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetActorNeighboursRequest { pub mod get_actor_neighbours_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -145,4 +150,4 @@ where did: self._fields.0.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/actor/get_actor_playlists.rs b/crates/jacquard-api/src/app_rocksky/actor/get_actor_playlists.rs index 6674f58f..ed79c3ed 100644 --- a/crates/jacquard-api/src/app_rocksky/actor/get_actor_playlists.rs +++ b/crates/jacquard-api/src/app_rocksky/actor/get_actor_playlists.rs @@ -8,18 +8,21 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_rocksky::playlist::PlaylistViewBasic; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::ident::AtIdentifier; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_rocksky::playlist::PlaylistViewBasic; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetActorPlaylists { pub did: AtIdentifier, ///(min: 1) @@ -30,9 +33,11 @@ pub struct GetActorPlaylists { pub offset: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetActorPlaylistsOutput { #[serde(skip_serializing_if = "Option::is_none")] pub playlists: Option>>, @@ -66,7 +71,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetActorPlaylistsRequest { pub mod get_actor_playlists_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -179,4 +184,4 @@ where offset: self._fields.2, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/actor/get_actor_scrobbles.rs b/crates/jacquard-api/src/app_rocksky/actor/get_actor_scrobbles.rs index a5688860..81ef672a 100644 --- a/crates/jacquard-api/src/app_rocksky/actor/get_actor_scrobbles.rs +++ b/crates/jacquard-api/src/app_rocksky/actor/get_actor_scrobbles.rs @@ -8,18 +8,21 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_rocksky::scrobble::ScrobbleViewBasic; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::ident::AtIdentifier; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_rocksky::scrobble::ScrobbleViewBasic; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetActorScrobbles { pub did: AtIdentifier, ///(min: 1) @@ -30,9 +33,11 @@ pub struct GetActorScrobbles { pub offset: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetActorScrobblesOutput { #[serde(skip_serializing_if = "Option::is_none")] pub scrobbles: Option>>, @@ -66,7 +71,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetActorScrobblesRequest { pub mod get_actor_scrobbles_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -179,4 +184,4 @@ where offset: self._fields.2, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/actor/get_actor_songs.rs b/crates/jacquard-api/src/app_rocksky/actor/get_actor_songs.rs index 686d500f..0930e30b 100644 --- a/crates/jacquard-api/src/app_rocksky/actor/get_actor_songs.rs +++ b/crates/jacquard-api/src/app_rocksky/actor/get_actor_songs.rs @@ -8,19 +8,22 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_rocksky::song::SongViewBasic; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::ident::AtIdentifier; use jacquard_common::types::string::Datetime; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_rocksky::song::SongViewBasic; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetActorSongs { pub did: AtIdentifier, #[serde(skip_serializing_if = "Option::is_none")] @@ -35,9 +38,11 @@ pub struct GetActorSongs { pub start_date: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetActorSongsOutput { #[serde(skip_serializing_if = "Option::is_none")] pub songs: Option>>, @@ -71,7 +76,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetActorSongsRequest { pub mod get_actor_songs_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -218,4 +223,4 @@ where start_date: self._fields.4, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/actor/get_profile.rs b/crates/jacquard-api/src/app_rocksky/actor/get_profile.rs index cc5dee44..f2d57fd2 100644 --- a/crates/jacquard-api/src/app_rocksky/actor/get_profile.rs +++ b/crates/jacquard-api/src/app_rocksky/actor/get_profile.rs @@ -8,26 +8,31 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_rocksky::actor::ProfileViewDetailed; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::ident::AtIdentifier; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_rocksky::actor::ProfileViewDetailed; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetProfile { #[serde(skip_serializing_if = "Option::is_none")] pub did: Option>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetProfileOutput { #[serde(flatten)] pub value: ProfileViewDetailed, @@ -61,7 +66,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetProfileRequest { pub mod get_profile_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -122,6 +127,8 @@ where { /// Build the final struct. pub fn build(self) -> GetProfile { - GetProfile { did: self._fields.0 } + GetProfile { + did: self._fields.0, + } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/album.rs b/crates/jacquard-api/src/app_rocksky/album.rs index c2583ef9..96d2df18 100644 --- a/crates/jacquard-api/src/app_rocksky/album.rs +++ b/crates/jacquard-api/src/app_rocksky/album.rs @@ -9,13 +9,12 @@ pub mod get_album; pub mod get_album_tracks; pub mod get_albums; - #[allow(unused_imports)] use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -32,7 +31,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// A declaration of an album. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -97,9 +96,11 @@ pub struct AlbumGetRecordOutput { pub value: Album, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct AlbumViewBasic { ///The URL of the album art image. #[serde(skip_serializing_if = "Option::is_none")] @@ -138,9 +139,11 @@ pub struct AlbumViewBasic { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct AlbumViewDetailed { ///The URL of the album art image. #[serde(skip_serializing_if = "Option::is_none")] @@ -243,25 +246,20 @@ impl LexiconSchema for Album { { let mime = value.blob().mime_type.as_str(); let accepted: &[&str] = &["image/png", "image/jpeg"]; - let matched = accepted - .iter() - .any(|pattern| { - if *pattern == "*/*" { - true - } else if pattern.ends_with("/*") { - let prefix = &pattern[..pattern.len() - 2]; - mime.starts_with(prefix) - && mime.as_bytes().get(prefix.len()) == Some(&b'/') - } else { - mime == *pattern - } - }); + let matched = accepted.iter().any(|pattern| { + if *pattern == "*/*" { + true + } else if pattern.ends_with("/*") { + let prefix = &pattern[..pattern.len() - 2]; + mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/') + } else { + mime == *pattern + } + }); if !matched { return Err(ConstraintError::BlobMimeTypeNotAccepted { path: ValidationPath::from_field("album_art"), - accepted: vec![ - "image/png".to_string(), "image/jpeg".to_string() - ], + accepted: vec!["image/png".to_string(), "image/jpeg".to_string()], actual: mime.to_string(), }); } @@ -393,7 +391,7 @@ impl LexiconSchema for AlbumViewDetailed { pub mod album_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -484,20 +482,7 @@ impl AlbumBuilder { AlbumBuilder { _state: PhantomData, _fields: ( - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, ), _type: PhantomData, } @@ -549,10 +534,7 @@ where St::Artist: album_state::IsUnset, { /// Set the `artist` field (required) - pub fn artist( - mut self, - value: impl Into, - ) -> AlbumBuilder> { + pub fn artist(mut self, value: impl Into) -> AlbumBuilder> { self._fields.3 = Option::Some(value.into()); AlbumBuilder { _state: PhantomData, @@ -665,10 +647,7 @@ where St::Title: album_state::IsUnset, { /// Set the `title` field (required) - pub fn title( - mut self, - value: impl Into, - ) -> AlbumBuilder> { + pub fn title(mut self, value: impl Into) -> AlbumBuilder> { self._fields.11 = Option::Some(value.into()); AlbumBuilder { _state: PhantomData, @@ -754,10 +733,10 @@ where } fn lexicon_doc_app_rocksky_album() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.rocksky.album"), @@ -769,25 +748,26 @@ fn lexicon_doc_app_rocksky_album() -> LexiconDoc<'static> { description: Some(CowStr::new_static("A declaration of an album.")), key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("title"), SmolStr::new_static("artist"), - SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("title"), + SmolStr::new_static("artist"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("albumArt"), - LexObjectProperty::Blob(LexBlob { ..Default::default() }), + LexObjectProperty::Blob(LexBlob { + ..Default::default() + }), ); map.insert( SmolStr::new_static("albumArtUrl"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The URL of the album art of the album."), - ), + description: Some(CowStr::new_static( + "The URL of the album art of the album.", + )), format: Some(LexStringFormat::Uri), ..Default::default() }), @@ -795,9 +775,9 @@ fn lexicon_doc_app_rocksky_album() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("appleMusicLink"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The Apple Music link of the album."), - ), + description: Some(CowStr::new_static( + "The Apple Music link of the album.", + )), format: Some(LexStringFormat::Uri), ..Default::default() }), @@ -805,9 +785,9 @@ fn lexicon_doc_app_rocksky_album() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("artist"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The artist of the album."), - ), + description: Some(CowStr::new_static( + "The artist of the album.", + )), min_length: Some(1usize), max_length: Some(256usize), ..Default::default() @@ -816,11 +796,9 @@ fn lexicon_doc_app_rocksky_album() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("createdAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "The date and time when the album was created.", - ), - ), + description: Some(CowStr::new_static( + "The date and time when the album was created.", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -834,9 +812,9 @@ fn lexicon_doc_app_rocksky_album() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("genre"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The genre of the album."), - ), + description: Some(CowStr::new_static( + "The genre of the album.", + )), max_length: Some(256usize), ..Default::default() }), @@ -844,9 +822,9 @@ fn lexicon_doc_app_rocksky_album() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("releaseDate"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The release date of the album."), - ), + description: Some(CowStr::new_static( + "The release date of the album.", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -854,9 +832,9 @@ fn lexicon_doc_app_rocksky_album() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("spotifyLink"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The Spotify link of the album."), - ), + description: Some(CowStr::new_static( + "The Spotify link of the album.", + )), format: Some(LexStringFormat::Uri), ..Default::default() }), @@ -864,9 +842,7 @@ fn lexicon_doc_app_rocksky_album() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("tags"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static("The tags of the album."), - ), + description: Some(CowStr::new_static("The tags of the album.")), items: LexArrayItem::String(LexString { min_length: Some(1usize), max_length: Some(256usize), @@ -878,9 +854,9 @@ fn lexicon_doc_app_rocksky_album() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("tidalLink"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The tidal link of the album."), - ), + description: Some(CowStr::new_static( + "The tidal link of the album.", + )), format: Some(LexStringFormat::Uri), ..Default::default() }), @@ -888,9 +864,9 @@ fn lexicon_doc_app_rocksky_album() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("title"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The title of the album."), - ), + description: Some(CowStr::new_static( + "The title of the album.", + )), min_length: Some(1usize), max_length: Some(512usize), ..Default::default() @@ -905,9 +881,9 @@ fn lexicon_doc_app_rocksky_album() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("youtubeLink"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The YouTube link of the album."), - ), + description: Some(CowStr::new_static( + "The YouTube link of the album.", + )), format: Some(LexStringFormat::Uri), ..Default::default() }), @@ -926,10 +902,10 @@ fn lexicon_doc_app_rocksky_album() -> LexiconDoc<'static> { } fn lexicon_doc_app_rocksky_album_defs() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.rocksky.album.defs"), @@ -944,9 +920,9 @@ fn lexicon_doc_app_rocksky_album_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("albumArt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The URL of the album art image."), - ), + description: Some(CowStr::new_static( + "The URL of the album art image.", + )), format: Some(LexStringFormat::Uri), ..Default::default() }), @@ -954,18 +930,16 @@ fn lexicon_doc_app_rocksky_album_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("artist"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The artist of the album."), - ), + description: Some(CowStr::new_static("The artist of the album.")), ..Default::default() }), ); map.insert( SmolStr::new_static("artistUri"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The URI of the album's artist."), - ), + description: Some(CowStr::new_static( + "The URI of the album's artist.", + )), format: Some(LexStringFormat::AtUri), ..Default::default() }), @@ -973,9 +947,9 @@ fn lexicon_doc_app_rocksky_album_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("id"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The unique identifier of the album."), - ), + description: Some(CowStr::new_static( + "The unique identifier of the album.", + )), ..Default::default() }), ); @@ -989,27 +963,25 @@ fn lexicon_doc_app_rocksky_album_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("releaseDate"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The release date of the album."), - ), + description: Some(CowStr::new_static( + "The release date of the album.", + )), ..Default::default() }), ); map.insert( SmolStr::new_static("sha256"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The SHA256 hash of the album."), - ), + description: Some(CowStr::new_static( + "The SHA256 hash of the album.", + )), ..Default::default() }), ); map.insert( SmolStr::new_static("title"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The title of the album."), - ), + description: Some(CowStr::new_static("The title of the album.")), ..Default::default() }), ); @@ -1023,9 +995,7 @@ fn lexicon_doc_app_rocksky_album_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("uri"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The URI of the album."), - ), + description: Some(CowStr::new_static("The URI of the album.")), format: Some(LexStringFormat::AtUri), ..Default::default() }), @@ -1050,9 +1020,9 @@ fn lexicon_doc_app_rocksky_album_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("albumArt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The URL of the album art image."), - ), + description: Some(CowStr::new_static( + "The URL of the album art image.", + )), format: Some(LexStringFormat::Uri), ..Default::default() }), @@ -1060,18 +1030,16 @@ fn lexicon_doc_app_rocksky_album_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("artist"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The artist of the album."), - ), + description: Some(CowStr::new_static("The artist of the album.")), ..Default::default() }), ); map.insert( SmolStr::new_static("artistUri"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The URI of the album's artist."), - ), + description: Some(CowStr::new_static( + "The URI of the album's artist.", + )), format: Some(LexStringFormat::AtUri), ..Default::default() }), @@ -1079,9 +1047,9 @@ fn lexicon_doc_app_rocksky_album_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("id"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The unique identifier of the album."), - ), + description: Some(CowStr::new_static( + "The unique identifier of the album.", + )), ..Default::default() }), ); @@ -1095,18 +1063,18 @@ fn lexicon_doc_app_rocksky_album_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("releaseDate"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The release date of the album."), - ), + description: Some(CowStr::new_static( + "The release date of the album.", + )), ..Default::default() }), ); map.insert( SmolStr::new_static("sha256"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The SHA256 hash of the album."), - ), + description: Some(CowStr::new_static( + "The SHA256 hash of the album.", + )), ..Default::default() }), ); @@ -1122,9 +1090,7 @@ fn lexicon_doc_app_rocksky_album_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("title"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The title of the album."), - ), + description: Some(CowStr::new_static("The title of the album.")), ..Default::default() }), ); @@ -1150,9 +1116,7 @@ fn lexicon_doc_app_rocksky_album_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("uri"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The URI of the album."), - ), + description: Some(CowStr::new_static("The URI of the album.")), format: Some(LexStringFormat::AtUri), ..Default::default() }), @@ -1172,4 +1136,4 @@ fn lexicon_doc_app_rocksky_album_defs() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/album/get_album.rs b/crates/jacquard-api/src/app_rocksky/album/get_album.rs index 3e2c0ddd..efcec420 100644 --- a/crates/jacquard-api/src/app_rocksky/album/get_album.rs +++ b/crates/jacquard-api/src/app_rocksky/album/get_album.rs @@ -8,25 +8,30 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_rocksky::album::AlbumViewDetailed; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::AtUri; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_rocksky::album::AlbumViewDetailed; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetAlbum { pub uri: AtUri, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetAlbumOutput { #[serde(flatten)] pub value: AlbumViewDetailed, @@ -60,7 +65,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetAlbumRequest { pub mod get_album_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -145,4 +150,4 @@ where uri: self._fields.0.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/album/get_album_tracks.rs b/crates/jacquard-api/src/app_rocksky/album/get_album_tracks.rs index 34438b16..0c928e60 100644 --- a/crates/jacquard-api/src/app_rocksky/album/get_album_tracks.rs +++ b/crates/jacquard-api/src/app_rocksky/album/get_album_tracks.rs @@ -8,25 +8,30 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_rocksky::song::SongViewBasic; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::AtUri; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_rocksky::song::SongViewBasic; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetAlbumTracks { pub uri: AtUri, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetAlbumTracksOutput { #[serde(skip_serializing_if = "Option::is_none")] pub tracks: Option>>, @@ -60,7 +65,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetAlbumTracksRequest { pub mod get_album_tracks_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -145,4 +150,4 @@ where uri: self._fields.0.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/album/get_albums.rs b/crates/jacquard-api/src/app_rocksky/album/get_albums.rs index 255034da..848ecb35 100644 --- a/crates/jacquard-api/src/app_rocksky/album/get_albums.rs +++ b/crates/jacquard-api/src/app_rocksky/album/get_albums.rs @@ -8,17 +8,20 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_rocksky::album::AlbumViewBasic; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_rocksky::album::AlbumViewBasic; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetAlbums { #[serde(skip_serializing_if = "Option::is_none")] pub genre: Option, @@ -30,9 +33,11 @@ pub struct GetAlbums { pub offset: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetAlbumsOutput { #[serde(skip_serializing_if = "Option::is_none")] pub albums: Option>>, @@ -66,7 +71,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetAlbumsRequest { pub mod get_albums_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -159,4 +164,4 @@ where offset: self._fields.2, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/apikey.rs b/crates/jacquard-api/src/app_rocksky/apikey.rs index 22a60d62..8f2baa4b 100644 --- a/crates/jacquard-api/src/app_rocksky/apikey.rs +++ b/crates/jacquard-api/src/app_rocksky/apikey.rs @@ -10,10 +10,9 @@ pub mod get_apikeys; pub mod remove_apikey; pub mod update_apikey; - #[allow(unused_imports)] use alloc::collections::BTreeMap; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,10 +25,13 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ApiKeyView { ///The date and time when the API key was created. #[serde(skip_serializing_if = "Option::is_none")] @@ -63,10 +65,10 @@ impl LexiconSchema for ApiKeyView { } fn lexicon_doc_app_rocksky_apikey_defs() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.rocksky.apikey.defs"), @@ -81,11 +83,9 @@ fn lexicon_doc_app_rocksky_apikey_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("createdAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "The date and time when the API key was created.", - ), - ), + description: Some(CowStr::new_static( + "The date and time when the API key was created.", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -93,27 +93,25 @@ fn lexicon_doc_app_rocksky_apikey_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("description"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("A description for the API key."), - ), + description: Some(CowStr::new_static( + "A description for the API key.", + )), ..Default::default() }), ); map.insert( SmolStr::new_static("id"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The unique identifier of the API key."), - ), + description: Some(CowStr::new_static( + "The unique identifier of the API key.", + )), ..Default::default() }), ); map.insert( SmolStr::new_static("name"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The name of the API key."), - ), + description: Some(CowStr::new_static("The name of the API key.")), ..Default::default() }), ); @@ -126,4 +124,4 @@ fn lexicon_doc_app_rocksky_apikey_defs() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/apikey/create_apikey.rs b/crates/jacquard-api/src/app_rocksky/apikey/create_apikey.rs index 35aaa3ee..8a6ba81d 100644 --- a/crates/jacquard-api/src/app_rocksky/apikey/create_apikey.rs +++ b/crates/jacquard-api/src/app_rocksky/apikey/create_apikey.rs @@ -10,14 +10,17 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct CreateApikey { ///A description for the API key. #[serde(skip_serializing_if = "Option::is_none")] @@ -28,9 +31,11 @@ pub struct CreateApikey { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct CreateApikeyOutput { #[serde(flatten)] pub value: Data, @@ -49,9 +54,8 @@ impl jacquard_common::xrpc::XrpcResp for CreateApikeyResponse { impl jacquard_common::xrpc::XrpcRequest for CreateApikey { const NSID: &'static str = "app.rocksky.apikey.createApikey"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = CreateApikeyResponse; } @@ -59,9 +63,8 @@ impl jacquard_common::xrpc::XrpcRequest for CreateApikey { pub struct CreateApikeyRequest; impl jacquard_common::xrpc::XrpcEndpoint for CreateApikeyRequest { const PATH: &'static str = "/xrpc/app.rocksky.apikey.createApikey"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = CreateApikey; type Response = CreateApikeyResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/apikey/get_apikeys.rs b/crates/jacquard-api/src/app_rocksky/apikey/get_apikeys.rs index 8adb45a6..f0a57ae5 100644 --- a/crates/jacquard-api/src/app_rocksky/apikey/get_apikeys.rs +++ b/crates/jacquard-api/src/app_rocksky/apikey/get_apikeys.rs @@ -10,11 +10,11 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(rename_all = "camelCase")] @@ -25,9 +25,11 @@ pub struct GetApikeys { pub offset: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetApikeysOutput { #[serde(skip_serializing_if = "Option::is_none")] pub api_keys: Option>>, @@ -61,7 +63,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetApikeysRequest { pub mod get_apikeys_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -138,4 +140,4 @@ where offset: self._fields.1, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/apikey/remove_apikey.rs b/crates/jacquard-api/src/app_rocksky/apikey/remove_apikey.rs index ae8c7dfe..8cd708a9 100644 --- a/crates/jacquard-api/src/app_rocksky/apikey/remove_apikey.rs +++ b/crates/jacquard-api/src/app_rocksky/apikey/remove_apikey.rs @@ -10,21 +10,26 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct RemoveApikeyParams { pub id: S, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct RemoveApikeyOutput { #[serde(flatten)] pub value: Data, @@ -47,9 +52,8 @@ impl jacquard_common::xrpc::XrpcResp for RemoveApikeyResponse { impl jacquard_common::xrpc::XrpcRequest for RemoveApikey { const NSID: &'static str = "app.rocksky.apikey.removeApikey"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = RemoveApikeyResponse; } @@ -57,16 +61,15 @@ impl jacquard_common::xrpc::XrpcRequest for RemoveApikey { pub struct RemoveApikeyRequest; impl jacquard_common::xrpc::XrpcEndpoint for RemoveApikeyRequest { const PATH: &'static str = "/xrpc/app.rocksky.apikey.removeApikey"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = RemoveApikey; type Response = RemoveApikeyResponse; } pub mod remove_apikey_params_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -151,4 +154,4 @@ where id: self._fields.0.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/apikey/update_apikey.rs b/crates/jacquard-api/src/app_rocksky/apikey/update_apikey.rs index 82d9eb90..66e2a6ce 100644 --- a/crates/jacquard-api/src/app_rocksky/apikey/update_apikey.rs +++ b/crates/jacquard-api/src/app_rocksky/apikey/update_apikey.rs @@ -10,14 +10,17 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct UpdateApikey { ///A new description for the API key. #[serde(skip_serializing_if = "Option::is_none")] @@ -30,9 +33,11 @@ pub struct UpdateApikey { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct UpdateApikeyOutput { #[serde(flatten)] pub value: Data, @@ -51,9 +56,8 @@ impl jacquard_common::xrpc::XrpcResp for UpdateApikeyResponse { impl jacquard_common::xrpc::XrpcRequest for UpdateApikey { const NSID: &'static str = "app.rocksky.apikey.updateApikey"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = UpdateApikeyResponse; } @@ -61,9 +65,8 @@ impl jacquard_common::xrpc::XrpcRequest for UpdateApikey { pub struct UpdateApikeyRequest; impl jacquard_common::xrpc::XrpcEndpoint for UpdateApikeyRequest { const PATH: &'static str = "/xrpc/app.rocksky.apikey.updateApikey"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = UpdateApikey; type Response = UpdateApikeyResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/artist.rs b/crates/jacquard-api/src/app_rocksky/artist.rs index 9c978e19..50732294 100644 --- a/crates/jacquard-api/src/app_rocksky/artist.rs +++ b/crates/jacquard-api/src/app_rocksky/artist.rs @@ -10,13 +10,12 @@ pub mod get_artist_albums; pub mod get_artist_tracks; pub mod get_artists; - #[allow(unused_imports)] use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -31,10 +30,10 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::app_rocksky::artist; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::app_rocksky::artist; +use serde::{Deserialize, Serialize}; /// A declaration of an artist. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -85,9 +84,11 @@ pub struct ArtistGetRecordOutput { pub value: Artist, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ArtistMbid { ///The MusicBrainz Identifier (MBID) of the artist. #[serde(skip_serializing_if = "Option::is_none")] @@ -99,9 +100,11 @@ pub struct ArtistMbid { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ArtistViewBasic { ///The unique identifier of the artist. #[serde(skip_serializing_if = "Option::is_none")] @@ -130,9 +133,11 @@ pub struct ArtistViewBasic { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ArtistViewDetailed { ///The unique identifier of the artist. #[serde(skip_serializing_if = "Option::is_none")] @@ -161,9 +166,11 @@ pub struct ArtistViewDetailed { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ListenerViewBasic { ///The URL of the listener's avatar image. #[serde(skip_serializing_if = "Option::is_none")] @@ -192,9 +199,11 @@ pub struct ListenerViewBasic { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct SongViewBasic { ///The number of times the song has been played. #[serde(skip_serializing_if = "Option::is_none")] @@ -311,25 +320,20 @@ impl LexiconSchema for Artist { { let mime = value.blob().mime_type.as_str(); let accepted: &[&str] = &["image/png", "image/jpeg"]; - let matched = accepted - .iter() - .any(|pattern| { - if *pattern == "*/*" { - true - } else if pattern.ends_with("/*") { - let prefix = &pattern[..pattern.len() - 2]; - mime.starts_with(prefix) - && mime.as_bytes().get(prefix.len()) == Some(&b'/') - } else { - mime == *pattern - } - }); + let matched = accepted.iter().any(|pattern| { + if *pattern == "*/*" { + true + } else if pattern.ends_with("/*") { + let prefix = &pattern[..pattern.len() - 2]; + mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/') + } else { + mime == *pattern + } + }); if !matched { return Err(ConstraintError::BlobMimeTypeNotAccepted { path: ValidationPath::from_field("picture"), - accepted: vec![ - "image/png".to_string(), "image/jpeg".to_string() - ], + accepted: vec!["image/png".to_string(), "image/jpeg".to_string()], actual: mime.to_string(), }); } @@ -499,7 +503,7 @@ impl LexiconSchema for SongViewBasic { pub mod artist_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -653,10 +657,7 @@ where St::Name: artist_state::IsUnset, { /// Set the `name` field (required) - pub fn name( - mut self, - value: impl Into, - ) -> ArtistBuilder> { + pub fn name(mut self, value: impl Into) -> ArtistBuilder> { self._fields.5 = Option::Some(value.into()); ArtistBuilder { _state: PhantomData, @@ -744,10 +745,10 @@ where } fn lexicon_doc_app_rocksky_artist() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.rocksky.artist"), @@ -759,21 +760,19 @@ fn lexicon_doc_app_rocksky_artist() -> LexiconDoc<'static> { description: Some(CowStr::new_static("A declaration of an artist.")), key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("name"), - SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("name"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("bio"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The biography of the artist."), - ), + description: Some(CowStr::new_static( + "The biography of the artist.", + )), max_length: Some(1000usize), ..Default::default() }), @@ -781,9 +780,9 @@ fn lexicon_doc_app_rocksky_artist() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("born"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The birth date of the artist."), - ), + description: Some(CowStr::new_static( + "The birth date of the artist.", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -791,9 +790,9 @@ fn lexicon_doc_app_rocksky_artist() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("bornIn"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The birth place of the artist."), - ), + description: Some(CowStr::new_static( + "The birth place of the artist.", + )), max_length: Some(256usize), ..Default::default() }), @@ -801,9 +800,9 @@ fn lexicon_doc_app_rocksky_artist() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("createdAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The date when the artist was created."), - ), + description: Some(CowStr::new_static( + "The date when the artist was created.", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -811,9 +810,9 @@ fn lexicon_doc_app_rocksky_artist() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("died"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The death date of the artist."), - ), + description: Some(CowStr::new_static( + "The death date of the artist.", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -821,9 +820,9 @@ fn lexicon_doc_app_rocksky_artist() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("name"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The name of the artist."), - ), + description: Some(CowStr::new_static( + "The name of the artist.", + )), min_length: Some(1usize), max_length: Some(512usize), ..Default::default() @@ -831,14 +830,16 @@ fn lexicon_doc_app_rocksky_artist() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("picture"), - LexObjectProperty::Blob(LexBlob { ..Default::default() }), + LexObjectProperty::Blob(LexBlob { + ..Default::default() + }), ); map.insert( SmolStr::new_static("pictureUrl"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The URL of the picture of the artist."), - ), + description: Some(CowStr::new_static( + "The URL of the picture of the artist.", + )), format: Some(LexStringFormat::Uri), ..Default::default() }), @@ -846,9 +847,9 @@ fn lexicon_doc_app_rocksky_artist() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("tags"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static("The tags of the artist."), - ), + description: Some(CowStr::new_static( + "The tags of the artist.", + )), items: LexArrayItem::String(LexString { min_length: Some(1usize), max_length: Some(256usize), @@ -871,10 +872,10 @@ fn lexicon_doc_app_rocksky_artist() -> LexiconDoc<'static> { } fn lexicon_doc_app_rocksky_artist_defs() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.rocksky.artist.defs"), @@ -889,20 +890,16 @@ fn lexicon_doc_app_rocksky_artist_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("mbid"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "The MusicBrainz Identifier (MBID) of the artist.", - ), - ), + description: Some(CowStr::new_static( + "The MusicBrainz Identifier (MBID) of the artist.", + )), ..Default::default() }), ); map.insert( SmolStr::new_static("name"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The name of the artist."), - ), + description: Some(CowStr::new_static("The name of the artist.")), min_length: Some(1usize), max_length: Some(256usize), ..Default::default() @@ -922,27 +919,23 @@ fn lexicon_doc_app_rocksky_artist_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("id"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The unique identifier of the artist."), - ), + description: Some(CowStr::new_static( + "The unique identifier of the artist.", + )), ..Default::default() }), ); map.insert( SmolStr::new_static("name"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The name of the artist."), - ), + description: Some(CowStr::new_static("The name of the artist.")), ..Default::default() }), ); map.insert( SmolStr::new_static("picture"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The picture of the artist."), - ), + description: Some(CowStr::new_static("The picture of the artist.")), ..Default::default() }), ); @@ -956,9 +949,9 @@ fn lexicon_doc_app_rocksky_artist_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("sha256"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The SHA256 hash of the artist."), - ), + description: Some(CowStr::new_static( + "The SHA256 hash of the artist.", + )), ..Default::default() }), ); @@ -981,9 +974,7 @@ fn lexicon_doc_app_rocksky_artist_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("uri"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The URI of the artist."), - ), + description: Some(CowStr::new_static("The URI of the artist.")), format: Some(LexStringFormat::AtUri), ..Default::default() }), @@ -1002,27 +993,23 @@ fn lexicon_doc_app_rocksky_artist_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("id"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The unique identifier of the artist."), - ), + description: Some(CowStr::new_static( + "The unique identifier of the artist.", + )), ..Default::default() }), ); map.insert( SmolStr::new_static("name"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The name of the artist."), - ), + description: Some(CowStr::new_static("The name of the artist.")), ..Default::default() }), ); map.insert( SmolStr::new_static("picture"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The picture of the artist."), - ), + description: Some(CowStr::new_static("The picture of the artist.")), ..Default::default() }), ); @@ -1036,9 +1023,9 @@ fn lexicon_doc_app_rocksky_artist_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("sha256"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The SHA256 hash of the artist."), - ), + description: Some(CowStr::new_static( + "The SHA256 hash of the artist.", + )), ..Default::default() }), ); @@ -1061,9 +1048,7 @@ fn lexicon_doc_app_rocksky_artist_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("uri"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The URI of the artist."), - ), + description: Some(CowStr::new_static("The URI of the artist.")), format: Some(LexStringFormat::AtUri), ..Default::default() }), @@ -1082,11 +1067,9 @@ fn lexicon_doc_app_rocksky_artist_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("avatar"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "The URL of the listener's avatar image.", - ), - ), + description: Some(CowStr::new_static( + "The URL of the listener's avatar image.", + )), format: Some(LexStringFormat::Uri), ..Default::default() }), @@ -1094,45 +1077,41 @@ fn lexicon_doc_app_rocksky_artist_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("did"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The DID of the listener."), - ), + description: Some(CowStr::new_static("The DID of the listener.")), ..Default::default() }), ); map.insert( SmolStr::new_static("displayName"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The display name of the listener."), - ), + description: Some(CowStr::new_static( + "The display name of the listener.", + )), ..Default::default() }), ); map.insert( SmolStr::new_static("handle"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The handle of the listener."), - ), + description: Some(CowStr::new_static( + "The handle of the listener.", + )), ..Default::default() }), ); map.insert( SmolStr::new_static("id"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The unique identifier of the actor."), - ), + description: Some(CowStr::new_static( + "The unique identifier of the actor.", + )), ..Default::default() }), ); map.insert( SmolStr::new_static("mostListenedSong"), LexObjectProperty::Ref(LexRef { - r#ref: CowStr::new_static( - "app.rocksky.artist.defs#songViewBasic", - ), + r#ref: CowStr::new_static("app.rocksky.artist.defs#songViewBasic"), ..Default::default() }), ); @@ -1171,18 +1150,14 @@ fn lexicon_doc_app_rocksky_artist_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("title"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The title of the song."), - ), + description: Some(CowStr::new_static("The title of the song.")), ..Default::default() }), ); map.insert( SmolStr::new_static("uri"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The URI of the song."), - ), + description: Some(CowStr::new_static("The URI of the song.")), format: Some(LexStringFormat::AtUri), ..Default::default() }), @@ -1196,4 +1171,4 @@ fn lexicon_doc_app_rocksky_artist_defs() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/artist/get_artist.rs b/crates/jacquard-api/src/app_rocksky/artist/get_artist.rs index 21719bbd..20a91692 100644 --- a/crates/jacquard-api/src/app_rocksky/artist/get_artist.rs +++ b/crates/jacquard-api/src/app_rocksky/artist/get_artist.rs @@ -8,25 +8,30 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_rocksky::artist::ArtistViewDetailed; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::AtUri; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_rocksky::artist::ArtistViewDetailed; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetArtist { pub uri: AtUri, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetArtistOutput { #[serde(flatten)] pub value: ArtistViewDetailed, @@ -60,7 +65,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetArtistRequest { pub mod get_artist_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -145,4 +150,4 @@ where uri: self._fields.0.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/artist/get_artist_albums.rs b/crates/jacquard-api/src/app_rocksky/artist/get_artist_albums.rs index 8a3cb69f..6a1c141f 100644 --- a/crates/jacquard-api/src/app_rocksky/artist/get_artist_albums.rs +++ b/crates/jacquard-api/src/app_rocksky/artist/get_artist_albums.rs @@ -8,25 +8,30 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_rocksky::album::AlbumViewBasic; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::AtUri; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_rocksky::album::AlbumViewBasic; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetArtistAlbums { pub uri: AtUri, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetArtistAlbumsOutput { #[serde(skip_serializing_if = "Option::is_none")] pub albums: Option>>, @@ -60,7 +65,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetArtistAlbumsRequest { pub mod get_artist_albums_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -145,4 +150,4 @@ where uri: self._fields.0.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/artist/get_artist_tracks.rs b/crates/jacquard-api/src/app_rocksky/artist/get_artist_tracks.rs index afe2ca12..ee97a87e 100644 --- a/crates/jacquard-api/src/app_rocksky/artist/get_artist_tracks.rs +++ b/crates/jacquard-api/src/app_rocksky/artist/get_artist_tracks.rs @@ -8,18 +8,21 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_rocksky::song::SongViewBasic; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::AtUri; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_rocksky::song::SongViewBasic; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetArtistTracks { ///(min: 1) #[serde(skip_serializing_if = "Option::is_none")] @@ -31,9 +34,11 @@ pub struct GetArtistTracks { pub uri: Option>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetArtistTracksOutput { #[serde(skip_serializing_if = "Option::is_none")] pub tracks: Option>>, @@ -67,7 +72,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetArtistTracksRequest { pub mod get_artist_tracks_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -160,4 +165,4 @@ where uri: self._fields.2, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/artist/get_artists.rs b/crates/jacquard-api/src/app_rocksky/artist/get_artists.rs index e44429f1..c9b69d08 100644 --- a/crates/jacquard-api/src/app_rocksky/artist/get_artists.rs +++ b/crates/jacquard-api/src/app_rocksky/artist/get_artists.rs @@ -8,17 +8,20 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_rocksky::artist::ArtistViewBasic; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_rocksky::artist::ArtistViewBasic; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetArtists { #[serde(skip_serializing_if = "Option::is_none")] pub genre: Option, @@ -32,9 +35,11 @@ pub struct GetArtists { pub offset: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetArtistsOutput { #[serde(skip_serializing_if = "Option::is_none")] pub artists: Option>>, @@ -68,7 +73,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetArtistsRequest { pub mod get_artists_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -175,4 +180,4 @@ where offset: self._fields.3, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/charts.rs b/crates/jacquard-api/src/app_rocksky/charts.rs index 009facf3..37cb76f2 100644 --- a/crates/jacquard-api/src/app_rocksky/charts.rs +++ b/crates/jacquard-api/src/app_rocksky/charts.rs @@ -9,7 +9,6 @@ pub mod get_scrobbles_chart; pub mod get_top_artists; pub mod get_top_tracks; - #[allow(unused_imports)] use alloc::collections::BTreeMap; use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; @@ -23,13 +22,16 @@ use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::app_rocksky::charts; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::app_rocksky::charts; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ChartsView { #[serde(skip_serializing_if = "Option::is_none")] pub scrobbles: Option>>, @@ -37,9 +39,11 @@ pub struct ChartsView { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ScrobbleViewBasic { ///The number of scrobbles on this date. #[serde(skip_serializing_if = "Option::is_none")] @@ -82,10 +86,10 @@ impl LexiconSchema for ScrobbleViewBasic { } fn lexicon_doc_app_rocksky_charts_defs() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.rocksky.charts.defs"), @@ -129,9 +133,7 @@ fn lexicon_doc_app_rocksky_charts_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("date"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The date of the scrobble."), - ), + description: Some(CowStr::new_static("The date of the scrobble.")), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -145,4 +147,4 @@ fn lexicon_doc_app_rocksky_charts_defs() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/charts/get_scrobbles_chart.rs b/crates/jacquard-api/src/app_rocksky/charts/get_scrobbles_chart.rs index 8406c83e..1a5cbcb0 100644 --- a/crates/jacquard-api/src/app_rocksky/charts/get_scrobbles_chart.rs +++ b/crates/jacquard-api/src/app_rocksky/charts/get_scrobbles_chart.rs @@ -8,19 +8,22 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_rocksky::charts::ChartsView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::ident::AtIdentifier; use jacquard_common::types::string::AtUri; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_rocksky::charts::ChartsView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetScrobblesChart { #[serde(skip_serializing_if = "Option::is_none")] pub albumuri: Option>, @@ -34,9 +37,11 @@ pub struct GetScrobblesChart { pub songuri: Option>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetScrobblesChartOutput { #[serde(flatten)] pub value: ChartsView, @@ -70,7 +75,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetScrobblesChartRequest { pub mod get_scrobbles_chart_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -197,4 +202,4 @@ where songuri: self._fields.4, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/charts/get_top_artists.rs b/crates/jacquard-api/src/app_rocksky/charts/get_top_artists.rs index 84c63d55..7a181fc8 100644 --- a/crates/jacquard-api/src/app_rocksky/charts/get_top_artists.rs +++ b/crates/jacquard-api/src/app_rocksky/charts/get_top_artists.rs @@ -8,15 +8,15 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_rocksky::artist::ArtistViewBasic; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::Datetime; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_rocksky::artist::ArtistViewBasic; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(rename_all = "camelCase")] @@ -33,9 +33,11 @@ pub struct GetTopArtists { pub start_date: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetTopArtistsOutput { #[serde(skip_serializing_if = "Option::is_none")] pub artists: Option>>, @@ -69,7 +71,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetTopArtistsRequest { pub mod get_top_artists_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -174,4 +176,4 @@ where start_date: self._fields.3, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/charts/get_top_tracks.rs b/crates/jacquard-api/src/app_rocksky/charts/get_top_tracks.rs index 82de5aac..bdb9938e 100644 --- a/crates/jacquard-api/src/app_rocksky/charts/get_top_tracks.rs +++ b/crates/jacquard-api/src/app_rocksky/charts/get_top_tracks.rs @@ -8,15 +8,15 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_rocksky::song::SongViewBasic; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::Datetime; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_rocksky::song::SongViewBasic; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(rename_all = "camelCase")] @@ -33,9 +33,11 @@ pub struct GetTopTracks { pub start_date: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetTopTracksOutput { #[serde(skip_serializing_if = "Option::is_none")] pub tracks: Option>>, @@ -69,7 +71,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetTopTracksRequest { pub mod get_top_tracks_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -174,4 +176,4 @@ where start_date: self._fields.3, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/dropbox.rs b/crates/jacquard-api/src/app_rocksky/dropbox.rs index 0ec9ba8a..aa8b3db4 100644 --- a/crates/jacquard-api/src/app_rocksky/dropbox.rs +++ b/crates/jacquard-api/src/app_rocksky/dropbox.rs @@ -10,10 +10,9 @@ pub mod get_files; pub mod get_metadata; pub mod get_temporary_link; - #[allow(unused_imports)] use alloc::collections::BTreeMap; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,13 +23,16 @@ use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::app_rocksky::dropbox; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::app_rocksky::dropbox; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct FileListView { ///A list of files in the Dropbox. #[serde(skip_serializing_if = "Option::is_none")] @@ -39,9 +41,11 @@ pub struct FileListView { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct FileView { ///The last modified date and time of the file on the client. #[serde(skip_serializing_if = "Option::is_none")] @@ -65,9 +69,11 @@ pub struct FileView { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct TemporaryLinkView { ///The temporary link to access the file. #[serde(skip_serializing_if = "Option::is_none")] @@ -122,10 +128,10 @@ impl LexiconSchema for TemporaryLinkView { } fn lexicon_doc_app_rocksky_dropbox_defs() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.rocksky.dropbox.defs"), @@ -140,13 +146,11 @@ fn lexicon_doc_app_rocksky_dropbox_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("files"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static("A list of files in the Dropbox."), - ), + description: Some(CowStr::new_static( + "A list of files in the Dropbox.", + )), items: LexArrayItem::Ref(LexRef { - r#ref: CowStr::new_static( - "app.rocksky.dropbox.defs#fileView", - ), + r#ref: CowStr::new_static("app.rocksky.dropbox.defs#fileView"), ..Default::default() }), ..Default::default() @@ -166,11 +170,9 @@ fn lexicon_doc_app_rocksky_dropbox_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("clientModified"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "The last modified date and time of the file on the client.", - ), - ), + description: Some(CowStr::new_static( + "The last modified date and time of the file on the client.", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -178,47 +180,43 @@ fn lexicon_doc_app_rocksky_dropbox_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("id"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The unique identifier of the file."), - ), + description: Some(CowStr::new_static( + "The unique identifier of the file.", + )), ..Default::default() }), ); map.insert( SmolStr::new_static("name"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The name of the file."), - ), + description: Some(CowStr::new_static("The name of the file.")), ..Default::default() }), ); map.insert( SmolStr::new_static("pathDisplay"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The display path of the file."), - ), + description: Some(CowStr::new_static( + "The display path of the file.", + )), ..Default::default() }), ); map.insert( SmolStr::new_static("pathLower"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The lowercased path of the file."), - ), + description: Some(CowStr::new_static( + "The lowercased path of the file.", + )), ..Default::default() }), ); map.insert( SmolStr::new_static("serverModified"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "The last modified date and time of the file on the server.", - ), - ), + description: Some(CowStr::new_static( + "The last modified date and time of the file on the server.", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -237,9 +235,9 @@ fn lexicon_doc_app_rocksky_dropbox_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("link"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The temporary link to access the file."), - ), + description: Some(CowStr::new_static( + "The temporary link to access the file.", + )), format: Some(LexStringFormat::Uri), ..Default::default() }), @@ -253,4 +251,4 @@ fn lexicon_doc_app_rocksky_dropbox_defs() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/dropbox/download_file.rs b/crates/jacquard-api/src/app_rocksky/dropbox/download_file.rs index 0543dd74..c76170c5 100644 --- a/crates/jacquard-api/src/app_rocksky/dropbox/download_file.rs +++ b/crates/jacquard-api/src/app_rocksky/dropbox/download_file.rs @@ -10,20 +10,22 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::bytes::Bytes; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DownloadFile { pub file_id: S, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(rename_all = "camelCase")] pub struct DownloadFileOutput { @@ -75,7 +77,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for DownloadFileRequest { pub mod download_file_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -160,4 +162,4 @@ where file_id: self._fields.0.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/dropbox/get_files.rs b/crates/jacquard-api/src/app_rocksky/dropbox/get_files.rs index 889d520d..49527b87 100644 --- a/crates/jacquard-api/src/app_rocksky/dropbox/get_files.rs +++ b/crates/jacquard-api/src/app_rocksky/dropbox/get_files.rs @@ -8,25 +8,30 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_rocksky::dropbox::FileListView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_rocksky::dropbox::FileListView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetFiles { #[serde(skip_serializing_if = "Option::is_none")] pub at: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetFilesOutput { #[serde(flatten)] pub value: FileListView, @@ -60,7 +65,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetFilesRequest { pub mod get_files_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -123,4 +128,4 @@ where pub fn build(self) -> GetFiles { GetFiles { at: self._fields.0 } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/dropbox/get_metadata.rs b/crates/jacquard-api/src/app_rocksky/dropbox/get_metadata.rs index e473547d..f1359131 100644 --- a/crates/jacquard-api/src/app_rocksky/dropbox/get_metadata.rs +++ b/crates/jacquard-api/src/app_rocksky/dropbox/get_metadata.rs @@ -8,24 +8,29 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_rocksky::dropbox::FileView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_rocksky::dropbox::FileView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetMetadata { pub path: S, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetMetadataOutput { #[serde(flatten)] pub value: FileView, @@ -59,7 +64,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetMetadataRequest { pub mod get_metadata_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -144,4 +149,4 @@ where path: self._fields.0.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/dropbox/get_temporary_link.rs b/crates/jacquard-api/src/app_rocksky/dropbox/get_temporary_link.rs index 57e1caf0..23d009fc 100644 --- a/crates/jacquard-api/src/app_rocksky/dropbox/get_temporary_link.rs +++ b/crates/jacquard-api/src/app_rocksky/dropbox/get_temporary_link.rs @@ -8,24 +8,29 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_rocksky::dropbox::TemporaryLinkView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_rocksky::dropbox::TemporaryLinkView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetTemporaryLink { pub path: S, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetTemporaryLinkOutput { #[serde(flatten)] pub value: TemporaryLinkView, @@ -59,7 +64,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetTemporaryLinkRequest { pub mod get_temporary_link_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -144,4 +149,4 @@ where path: self._fields.0.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/feed.rs b/crates/jacquard-api/src/app_rocksky/feed.rs index 59882f4d..0f8ec096 100644 --- a/crates/jacquard-api/src/app_rocksky/feed.rs +++ b/crates/jacquard-api/src/app_rocksky/feed.rs @@ -14,10 +14,9 @@ pub mod get_now_playings; pub mod get_stories; pub mod search; - #[allow(unused_imports)] use alloc::collections::BTreeMap; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -29,19 +28,22 @@ use jacquard_derive::{IntoStatic, open_union}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::app_rocksky::actor::ProfileViewBasic; use crate::app_rocksky::album::AlbumViewBasic; use crate::app_rocksky::artist::ArtistViewBasic; +use crate::app_rocksky::feed; use crate::app_rocksky::playlist::PlaylistViewBasic; use crate::app_rocksky::scrobble::ScrobbleViewBasic; use crate::app_rocksky::song::SongViewBasic; -use crate::app_rocksky::feed; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct FeedGeneratorView { #[serde(skip_serializing_if = "Option::is_none")] pub avatar: Option>, @@ -59,9 +61,11 @@ pub struct FeedGeneratorView { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct FeedGeneratorsView { #[serde(skip_serializing_if = "Option::is_none")] pub feeds: Option>>, @@ -69,9 +73,11 @@ pub struct FeedGeneratorsView { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct FeedItemView { #[serde(skip_serializing_if = "Option::is_none")] pub scrobble: Option>, @@ -79,9 +85,11 @@ pub struct FeedItemView { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct FeedUriView { ///The feed URI. #[serde(skip_serializing_if = "Option::is_none")] @@ -90,9 +98,11 @@ pub struct FeedUriView { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct FeedView { ///The pagination cursor for the next set of results. #[serde(skip_serializing_if = "Option::is_none")] @@ -103,9 +113,11 @@ pub struct FeedView { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct NowPlayingView { #[serde(skip_serializing_if = "Option::is_none")] pub album: Option, @@ -141,9 +153,11 @@ pub struct NowPlayingView { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct NowPlayingsView { #[serde(skip_serializing_if = "Option::is_none")] pub now_playings: Option>>, @@ -151,9 +165,11 @@ pub struct NowPlayingsView { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct SearchResultsView { #[serde(skip_serializing_if = "Option::is_none")] pub estimated_total_hits: Option, @@ -169,7 +185,6 @@ pub struct SearchResultsView { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -307,10 +322,10 @@ impl LexiconSchema for SearchResultsView { } fn lexicon_doc_app_rocksky_feed_defs() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.rocksky.feed.defs"), @@ -340,15 +355,21 @@ fn lexicon_doc_app_rocksky_feed_defs() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("description"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("id"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("name"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("uri"), @@ -433,11 +454,9 @@ fn lexicon_doc_app_rocksky_feed_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("cursor"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "The pagination cursor for the next set of results.", - ), - ), + description: Some(CowStr::new_static( + "The pagination cursor for the next set of results.", + )), ..Default::default() }), ); @@ -445,9 +464,7 @@ fn lexicon_doc_app_rocksky_feed_defs() -> LexiconDoc<'static> { SmolStr::new_static("feed"), LexObjectProperty::Array(LexArray { items: LexArrayItem::Ref(LexRef { - r#ref: CowStr::new_static( - "app.rocksky.feed.defs#feedItemView", - ), + r#ref: CowStr::new_static("app.rocksky.feed.defs#feedItemView"), ..Default::default() }), ..Default::default() @@ -466,7 +483,9 @@ fn lexicon_doc_app_rocksky_feed_defs() -> LexiconDoc<'static> { let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("album"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("albumArt"), @@ -477,7 +496,9 @@ fn lexicon_doc_app_rocksky_feed_defs() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("albumArtist"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("albumUri"), @@ -488,7 +509,9 @@ fn lexicon_doc_app_rocksky_feed_defs() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("artist"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("artistUri"), @@ -506,7 +529,9 @@ fn lexicon_doc_app_rocksky_feed_defs() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("createdAt"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("did"), @@ -517,19 +542,27 @@ fn lexicon_doc_app_rocksky_feed_defs() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("handle"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("id"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("title"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("trackId"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("trackUri"), @@ -592,9 +625,15 @@ fn lexicon_doc_app_rocksky_feed_defs() -> LexiconDoc<'static> { refs: vec![ CowStr::new_static("app.rocksky.song.defs#songViewBasic"), CowStr::new_static("app.rocksky.album.defs#albumViewBasic"), - CowStr::new_static("app.rocksky.artist.defs#artistViewBasic"), - CowStr::new_static("app.rocksky.playlist.defs#playlistViewBasic"), - CowStr::new_static("app.rocksky.actor.defs#profileViewBasic") + CowStr::new_static( + "app.rocksky.artist.defs#artistViewBasic", + ), + CowStr::new_static( + "app.rocksky.playlist.defs#playlistViewBasic", + ), + CowStr::new_static( + "app.rocksky.actor.defs#profileViewBasic", + ), ], ..Default::default() }), @@ -628,4 +667,4 @@ fn lexicon_doc_app_rocksky_feed_defs() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/feed/generator.rs b/crates/jacquard-api/src/app_rocksky/feed/generator.rs index 2f48301f..5a6d6e01 100644 --- a/crates/jacquard-api/src/app_rocksky/feed/generator.rs +++ b/crates/jacquard-api/src/app_rocksky/feed/generator.rs @@ -10,14 +10,14 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::blob::BlobRef; use jacquard_common::types::collection::{Collection, RecordError}; -use jacquard_common::types::string::{Did, AtUri, Cid, Datetime}; +use jacquard_common::types::string::{AtUri, Cid, Datetime, Did}; use jacquard_common::types::uri::{RecordUri, UriError}; use jacquard_common::types::value::Data; use jacquard_common::xrpc::XrpcResp; @@ -27,7 +27,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// Record declaring of the existence of a feed generator, and containing metadata about it. The record can exist in any repository. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -120,25 +120,20 @@ impl LexiconSchema for Generator { { let mime = value.blob().mime_type.as_str(); let accepted: &[&str] = &["image/png", "image/jpeg"]; - let matched = accepted - .iter() - .any(|pattern| { - if *pattern == "*/*" { - true - } else if pattern.ends_with("/*") { - let prefix = &pattern[..pattern.len() - 2]; - mime.starts_with(prefix) - && mime.as_bytes().get(prefix.len()) == Some(&b'/') - } else { - mime == *pattern - } - }); + let matched = accepted.iter().any(|pattern| { + if *pattern == "*/*" { + true + } else if pattern.ends_with("/*") { + let prefix = &pattern[..pattern.len() - 2]; + mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/') + } else { + mime == *pattern + } + }); if !matched { return Err(ConstraintError::BlobMimeTypeNotAccepted { path: ValidationPath::from_field("avatar"), - accepted: vec![ - "image/png".to_string(), "image/jpeg".to_string() - ], + accepted: vec!["image/png".to_string(), "image/jpeg".to_string()], actual: mime.to_string(), }); } @@ -196,7 +191,7 @@ impl LexiconSchema for Generator { pub mod generator_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -385,10 +380,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> Generator { + pub fn build_with_data(self, extra_data: BTreeMap>) -> Generator { Generator { avatar: self._fields.0, created_at: self._fields.1.unwrap(), @@ -401,10 +393,10 @@ where } fn lexicon_doc_app_rocksky_feed_generator() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.rocksky.feed.generator"), @@ -475,4 +467,4 @@ fn lexicon_doc_app_rocksky_feed_generator() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/feed/get_feed.rs b/crates/jacquard-api/src/app_rocksky/feed/get_feed.rs index 947957b1..31e400be 100644 --- a/crates/jacquard-api/src/app_rocksky/feed/get_feed.rs +++ b/crates/jacquard-api/src/app_rocksky/feed/get_feed.rs @@ -8,18 +8,21 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_rocksky::feed::FeedView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::AtUri; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_rocksky::feed::FeedView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetFeed { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -29,9 +32,11 @@ pub struct GetFeed { pub limit: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetFeedOutput { #[serde(flatten)] pub value: FeedView, @@ -65,7 +70,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetFeedRequest { pub mod get_feed_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -178,4 +183,4 @@ where limit: self._fields.2, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/feed/get_feed_generator.rs b/crates/jacquard-api/src/app_rocksky/feed/get_feed_generator.rs index d0ead43d..3a46f651 100644 --- a/crates/jacquard-api/src/app_rocksky/feed/get_feed_generator.rs +++ b/crates/jacquard-api/src/app_rocksky/feed/get_feed_generator.rs @@ -8,25 +8,30 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_rocksky::feed::FeedGeneratorView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::AtUri; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_rocksky::feed::FeedGeneratorView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetFeedGenerator { pub feed: AtUri, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetFeedGeneratorOutput { #[serde(skip_serializing_if = "Option::is_none")] pub view: Option>, @@ -60,7 +65,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetFeedGeneratorRequest { pub mod get_feed_generator_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -145,4 +150,4 @@ where feed: self._fields.0.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/feed/get_feed_generators.rs b/crates/jacquard-api/src/app_rocksky/feed/get_feed_generators.rs index 81168db5..9d7e54fd 100644 --- a/crates/jacquard-api/src/app_rocksky/feed/get_feed_generators.rs +++ b/crates/jacquard-api/src/app_rocksky/feed/get_feed_generators.rs @@ -8,14 +8,14 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_rocksky::feed::FeedGeneratorsView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_rocksky::feed::FeedGeneratorsView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(rename_all = "camelCase")] @@ -25,9 +25,11 @@ pub struct GetFeedGenerators { pub size: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetFeedGeneratorsOutput { #[serde(flatten)] pub value: FeedGeneratorsView, @@ -61,7 +63,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetFeedGeneratorsRequest { pub mod get_feed_generators_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -124,4 +126,4 @@ where size: self._fields.0, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/feed/get_feed_skeleton.rs b/crates/jacquard-api/src/app_rocksky/feed/get_feed_skeleton.rs index bfbae5ba..69899a86 100644 --- a/crates/jacquard-api/src/app_rocksky/feed/get_feed_skeleton.rs +++ b/crates/jacquard-api/src/app_rocksky/feed/get_feed_skeleton.rs @@ -8,18 +8,21 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_rocksky::scrobble::ScrobbleViewBasic; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::AtUri; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_rocksky::scrobble::ScrobbleViewBasic; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetFeedSkeleton { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -32,9 +35,11 @@ pub struct GetFeedSkeleton { pub offset: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetFeedSkeletonOutput { ///The pagination cursor for the next set of results. #[serde(skip_serializing_if = "Option::is_none")] @@ -71,7 +76,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetFeedSkeletonRequest { pub mod get_feed_skeleton_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -198,4 +203,4 @@ where offset: self._fields.3, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/feed/get_now_playings.rs b/crates/jacquard-api/src/app_rocksky/feed/get_now_playings.rs index b262ea24..99cac374 100644 --- a/crates/jacquard-api/src/app_rocksky/feed/get_now_playings.rs +++ b/crates/jacquard-api/src/app_rocksky/feed/get_now_playings.rs @@ -8,14 +8,14 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_rocksky::feed::NowPlayingsView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_rocksky::feed::NowPlayingsView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(rename_all = "camelCase")] @@ -25,9 +25,11 @@ pub struct GetNowPlayings { pub size: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetNowPlayingsOutput { #[serde(flatten)] pub value: NowPlayingsView, @@ -61,7 +63,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetNowPlayingsRequest { pub mod get_now_playings_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -124,4 +126,4 @@ where size: self._fields.0, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/feed/get_stories.rs b/crates/jacquard-api/src/app_rocksky/feed/get_stories.rs index 0b56c035..ac91dba9 100644 --- a/crates/jacquard-api/src/app_rocksky/feed/get_stories.rs +++ b/crates/jacquard-api/src/app_rocksky/feed/get_stories.rs @@ -10,11 +10,11 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(rename_all = "camelCase")] @@ -24,9 +24,11 @@ pub struct GetStories { pub size: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetStoriesOutput { #[serde(flatten)] pub value: Data, @@ -60,7 +62,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetStoriesRequest { pub mod get_stories_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -119,6 +121,8 @@ where { /// Build the final struct. pub fn build(self) -> GetStories { - GetStories { size: self._fields.0 } + GetStories { + size: self._fields.0, + } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/feed/search.rs b/crates/jacquard-api/src/app_rocksky/feed/search.rs index afd0542f..2ff39ba4 100644 --- a/crates/jacquard-api/src/app_rocksky/feed/search.rs +++ b/crates/jacquard-api/src/app_rocksky/feed/search.rs @@ -8,24 +8,29 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_rocksky::feed::SearchResultsView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_rocksky::feed::SearchResultsView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Search { pub query: S, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct SearchOutput { #[serde(flatten)] pub value: SearchResultsView, @@ -59,7 +64,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for SearchRequest { pub mod search_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -120,10 +125,7 @@ where St::Query: search_state::IsUnset, { /// Set the `query` field (required) - pub fn query( - mut self, - value: impl Into, - ) -> SearchBuilder> { + pub fn query(mut self, value: impl Into) -> SearchBuilder> { self._fields.0 = Option::Some(value.into()); SearchBuilder { _state: PhantomData, @@ -144,4 +146,4 @@ where query: self._fields.0.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/googledrive.rs b/crates/jacquard-api/src/app_rocksky/googledrive.rs index 42ed1fc3..7102b5d8 100644 --- a/crates/jacquard-api/src/app_rocksky/googledrive.rs +++ b/crates/jacquard-api/src/app_rocksky/googledrive.rs @@ -9,10 +9,9 @@ pub mod download_file; pub mod get_file; pub mod get_files; - #[allow(unused_imports)] use alloc::collections::BTreeMap; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -22,13 +21,16 @@ use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::app_rocksky::googledrive; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::app_rocksky::googledrive; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct FileListView { #[serde(skip_serializing_if = "Option::is_none")] pub files: Option>>, @@ -36,9 +38,11 @@ pub struct FileListView { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct FileView { ///The unique identifier of the file. #[serde(skip_serializing_if = "Option::is_none")] @@ -78,10 +82,10 @@ impl LexiconSchema for FileView { } fn lexicon_doc_app_rocksky_googledrive_defs() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.rocksky.googledrive.defs"), @@ -119,9 +123,9 @@ fn lexicon_doc_app_rocksky_googledrive_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("id"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The unique identifier of the file."), - ), + description: Some(CowStr::new_static( + "The unique identifier of the file.", + )), ..Default::default() }), ); @@ -134,4 +138,4 @@ fn lexicon_doc_app_rocksky_googledrive_defs() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/googledrive/download_file.rs b/crates/jacquard-api/src/app_rocksky/googledrive/download_file.rs index 03cf2713..bf85af3e 100644 --- a/crates/jacquard-api/src/app_rocksky/googledrive/download_file.rs +++ b/crates/jacquard-api/src/app_rocksky/googledrive/download_file.rs @@ -10,20 +10,22 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::bytes::Bytes; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DownloadFile { pub file_id: S, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(rename_all = "camelCase")] pub struct DownloadFileOutput { @@ -75,7 +77,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for DownloadFileRequest { pub mod download_file_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -160,4 +162,4 @@ where file_id: self._fields.0.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/googledrive/get_file.rs b/crates/jacquard-api/src/app_rocksky/googledrive/get_file.rs index 1da28e3a..232ad987 100644 --- a/crates/jacquard-api/src/app_rocksky/googledrive/get_file.rs +++ b/crates/jacquard-api/src/app_rocksky/googledrive/get_file.rs @@ -8,24 +8,29 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_rocksky::googledrive::FileView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_rocksky::googledrive::FileView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetFile { pub file_id: S, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetFileOutput { #[serde(flatten)] pub value: FileView, @@ -59,7 +64,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetFileRequest { pub mod get_file_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -144,4 +149,4 @@ where file_id: self._fields.0.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/googledrive/get_files.rs b/crates/jacquard-api/src/app_rocksky/googledrive/get_files.rs index 7c2582ce..fb778f29 100644 --- a/crates/jacquard-api/src/app_rocksky/googledrive/get_files.rs +++ b/crates/jacquard-api/src/app_rocksky/googledrive/get_files.rs @@ -8,25 +8,30 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_rocksky::googledrive::FileListView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_rocksky::googledrive::FileListView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetFiles { #[serde(skip_serializing_if = "Option::is_none")] pub at: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetFilesOutput { #[serde(flatten)] pub value: FileListView, @@ -60,7 +65,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetFilesRequest { pub mod get_files_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -123,4 +128,4 @@ where pub fn build(self) -> GetFiles { GetFiles { at: self._fields.0 } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/graph.rs b/crates/jacquard-api/src/app_rocksky/graph.rs index 63c6043b..c26e612d 100644 --- a/crates/jacquard-api/src/app_rocksky/graph.rs +++ b/crates/jacquard-api/src/app_rocksky/graph.rs @@ -3,4 +3,4 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. -pub mod follow; \ No newline at end of file +pub mod follow; diff --git a/crates/jacquard-api/src/app_rocksky/graph/follow.rs b/crates/jacquard-api/src/app_rocksky/graph/follow.rs index f1c792aa..5514c56a 100644 --- a/crates/jacquard-api/src/app_rocksky/graph/follow.rs +++ b/crates/jacquard-api/src/app_rocksky/graph/follow.rs @@ -10,13 +10,13 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::collection::{Collection, RecordError}; -use jacquard_common::types::string::{Did, AtUri, Cid, Datetime}; +use jacquard_common::types::string::{AtUri, Cid, Datetime, Did}; use jacquard_common::types::uri::{RecordUri, UriError}; use jacquard_common::types::value::Data; use jacquard_common::xrpc::XrpcResp; @@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::com_atproto::repo::strong_ref::StrongRef; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::com_atproto::repo::strong_ref::StrongRef; +use serde::{Deserialize, Serialize}; /// Record declaring a social 'follow' relationship of another account. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -107,7 +107,7 @@ impl LexiconSchema for Follow { pub mod follow_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -252,10 +252,10 @@ where } fn lexicon_doc_app_rocksky_graph_follow() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.rocksky.graph.follow"), @@ -264,19 +264,15 @@ fn lexicon_doc_app_rocksky_graph_follow() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static( - "Record declaring a social 'follow' relationship of another account.", - ), - ), + description: Some(CowStr::new_static( + "Record declaring a social 'follow' relationship of another account.", + )), key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("createdAt"), - SmolStr::new_static("subject") - ], - ), + required: Some(vec![ + SmolStr::new_static("createdAt"), + SmolStr::new_static("subject"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -312,4 +308,4 @@ fn lexicon_doc_app_rocksky_graph_follow() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/like.rs b/crates/jacquard-api/src/app_rocksky/like.rs index 5b8c59d7..b2f65c37 100644 --- a/crates/jacquard-api/src/app_rocksky/like.rs +++ b/crates/jacquard-api/src/app_rocksky/like.rs @@ -10,13 +10,12 @@ pub mod dislike_song; pub mod like_shout; pub mod like_song; - #[allow(unused_imports)] use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -30,10 +29,10 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::com_atproto::repo::strong_ref::StrongRef; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::com_atproto::repo::strong_ref::StrongRef; +use serde::{Deserialize, Serialize}; /// A declaration of a like. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -112,7 +111,7 @@ impl LexiconSchema for Like { pub mod like_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -242,10 +241,10 @@ where } fn lexicon_doc_app_rocksky_like() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.rocksky.like"), @@ -257,21 +256,19 @@ fn lexicon_doc_app_rocksky_like() -> LexiconDoc<'static> { description: Some(CowStr::new_static("A declaration of a like.")), key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("createdAt"), - SmolStr::new_static("subject") - ], - ), + required: Some(vec![ + SmolStr::new_static("createdAt"), + SmolStr::new_static("subject"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("createdAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The date when the like was created."), - ), + description: Some(CowStr::new_static( + "The date when the like was created.", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -294,4 +291,4 @@ fn lexicon_doc_app_rocksky_like() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/like/dislike_shout.rs b/crates/jacquard-api/src/app_rocksky/like/dislike_shout.rs index 762d5583..6bad6e4d 100644 --- a/crates/jacquard-api/src/app_rocksky/like/dislike_shout.rs +++ b/crates/jacquard-api/src/app_rocksky/like/dislike_shout.rs @@ -8,18 +8,21 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_rocksky::shout::ShoutView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::AtUri; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_rocksky::shout::ShoutView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DislikeShout { ///The unique identifier of the shout to dislike #[serde(skip_serializing_if = "Option::is_none")] @@ -28,9 +31,11 @@ pub struct DislikeShout { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DislikeShoutOutput { #[serde(flatten)] pub value: ShoutView, @@ -49,9 +54,8 @@ impl jacquard_common::xrpc::XrpcResp for DislikeShoutResponse { impl jacquard_common::xrpc::XrpcRequest for DislikeShout { const NSID: &'static str = "app.rocksky.like.dislikeShout"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = DislikeShoutResponse; } @@ -59,9 +63,8 @@ impl jacquard_common::xrpc::XrpcRequest for DislikeShout { pub struct DislikeShoutRequest; impl jacquard_common::xrpc::XrpcEndpoint for DislikeShoutRequest { const PATH: &'static str = "/xrpc/app.rocksky.like.dislikeShout"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = DislikeShout; type Response = DislikeShoutResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/like/dislike_song.rs b/crates/jacquard-api/src/app_rocksky/like/dislike_song.rs index 4f4ddbe9..5efc2e8f 100644 --- a/crates/jacquard-api/src/app_rocksky/like/dislike_song.rs +++ b/crates/jacquard-api/src/app_rocksky/like/dislike_song.rs @@ -8,18 +8,21 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_rocksky::song::SongViewDetailed; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::AtUri; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_rocksky::song::SongViewDetailed; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DislikeSong { ///The unique identifier of the song to dislike #[serde(skip_serializing_if = "Option::is_none")] @@ -28,9 +31,11 @@ pub struct DislikeSong { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DislikeSongOutput { #[serde(flatten)] pub value: SongViewDetailed, @@ -49,9 +54,8 @@ impl jacquard_common::xrpc::XrpcResp for DislikeSongResponse { impl jacquard_common::xrpc::XrpcRequest for DislikeSong { const NSID: &'static str = "app.rocksky.like.dislikeSong"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = DislikeSongResponse; } @@ -59,9 +63,8 @@ impl jacquard_common::xrpc::XrpcRequest for DislikeSong { pub struct DislikeSongRequest; impl jacquard_common::xrpc::XrpcEndpoint for DislikeSongRequest { const PATH: &'static str = "/xrpc/app.rocksky.like.dislikeSong"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = DislikeSong; type Response = DislikeSongResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/like/like_shout.rs b/crates/jacquard-api/src/app_rocksky/like/like_shout.rs index 0e8f8067..278c95d0 100644 --- a/crates/jacquard-api/src/app_rocksky/like/like_shout.rs +++ b/crates/jacquard-api/src/app_rocksky/like/like_shout.rs @@ -8,18 +8,21 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_rocksky::shout::ShoutView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::AtUri; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_rocksky::shout::ShoutView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct LikeShout { ///The unique identifier of the shout to like #[serde(skip_serializing_if = "Option::is_none")] @@ -28,9 +31,11 @@ pub struct LikeShout { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct LikeShoutOutput { #[serde(flatten)] pub value: ShoutView, @@ -49,9 +54,8 @@ impl jacquard_common::xrpc::XrpcResp for LikeShoutResponse { impl jacquard_common::xrpc::XrpcRequest for LikeShout { const NSID: &'static str = "app.rocksky.like.likeShout"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = LikeShoutResponse; } @@ -59,9 +63,8 @@ impl jacquard_common::xrpc::XrpcRequest for LikeShout { pub struct LikeShoutRequest; impl jacquard_common::xrpc::XrpcEndpoint for LikeShoutRequest { const PATH: &'static str = "/xrpc/app.rocksky.like.likeShout"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = LikeShout; type Response = LikeShoutResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/like/like_song.rs b/crates/jacquard-api/src/app_rocksky/like/like_song.rs index b31e9e89..cfb7514e 100644 --- a/crates/jacquard-api/src/app_rocksky/like/like_song.rs +++ b/crates/jacquard-api/src/app_rocksky/like/like_song.rs @@ -8,18 +8,21 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_rocksky::song::SongViewDetailed; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::AtUri; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_rocksky::song::SongViewDetailed; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct LikeSong { ///The unique identifier of the song to like #[serde(skip_serializing_if = "Option::is_none")] @@ -28,9 +31,11 @@ pub struct LikeSong { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct LikeSongOutput { #[serde(flatten)] pub value: SongViewDetailed, @@ -49,9 +54,8 @@ impl jacquard_common::xrpc::XrpcResp for LikeSongResponse { impl jacquard_common::xrpc::XrpcRequest for LikeSong { const NSID: &'static str = "app.rocksky.like.likeSong"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = LikeSongResponse; } @@ -59,9 +63,8 @@ impl jacquard_common::xrpc::XrpcRequest for LikeSong { pub struct LikeSongRequest; impl jacquard_common::xrpc::XrpcEndpoint for LikeSongRequest { const PATH: &'static str = "/xrpc/app.rocksky.like.likeSong"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = LikeSong; type Response = LikeSongResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/player.rs b/crates/jacquard-api/src/app_rocksky/player.rs index 93b83022..c8e6993c 100644 --- a/crates/jacquard-api/src/app_rocksky/player.rs +++ b/crates/jacquard-api/src/app_rocksky/player.rs @@ -12,10 +12,9 @@ pub mod play; pub mod previous; pub mod seek; - #[allow(unused_imports)] use alloc::collections::BTreeMap; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -27,10 +26,13 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct CurrentlyPlayingViewDetailed { ///The title of the currently playing track #[serde(skip_serializing_if = "Option::is_none")] @@ -39,9 +41,11 @@ pub struct CurrentlyPlayingViewDetailed { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct PlaybackQueueViewDetailed { #[serde(skip_serializing_if = "Option::is_none")] pub tracks: Option>>, @@ -80,10 +84,10 @@ impl LexiconSchema for PlaybackQueueViewDetailed { } fn lexicon_doc_app_rocksky_player_defs() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.rocksky.player.defs"), @@ -98,11 +102,9 @@ fn lexicon_doc_app_rocksky_player_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("title"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "The title of the currently playing track", - ), - ), + description: Some(CowStr::new_static( + "The title of the currently playing track", + )), ..Default::default() }), ); @@ -138,4 +140,4 @@ fn lexicon_doc_app_rocksky_player_defs() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/player/get_currently_playing.rs b/crates/jacquard-api/src/app_rocksky/player/get_currently_playing.rs index c0e4f710..51c5ea96 100644 --- a/crates/jacquard-api/src/app_rocksky/player/get_currently_playing.rs +++ b/crates/jacquard-api/src/app_rocksky/player/get_currently_playing.rs @@ -8,18 +8,21 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_rocksky::player::CurrentlyPlayingViewDetailed; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::ident::AtIdentifier; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_rocksky::player::CurrentlyPlayingViewDetailed; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetCurrentlyPlaying { #[serde(skip_serializing_if = "Option::is_none")] pub actor: Option>, @@ -27,9 +30,11 @@ pub struct GetCurrentlyPlaying { pub player_id: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetCurrentlyPlayingOutput { #[serde(flatten)] pub value: CurrentlyPlayingViewDetailed, @@ -63,7 +68,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetCurrentlyPlayingRequest { pub mod get_currently_playing_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -81,10 +86,7 @@ pub mod get_currently_playing_state { } /// Builder for constructing an instance of this type. -pub struct GetCurrentlyPlayingBuilder< - S: BosStr, - St: get_currently_playing_state::State, -> { +pub struct GetCurrentlyPlayingBuilder { _state: PhantomData St>, _fields: (Option>, Option), _type: PhantomData S>, @@ -108,10 +110,7 @@ impl GetCurrentlyPlayingBuilder GetCurrentlyPlayingBuilder { +impl GetCurrentlyPlayingBuilder { /// Set the `actor` field (optional) pub fn actor(mut self, value: impl Into>>) -> Self { self._fields.0 = value.into(); @@ -124,10 +123,7 @@ impl< } } -impl< - S: BosStr, - St: get_currently_playing_state::State, -> GetCurrentlyPlayingBuilder { +impl GetCurrentlyPlayingBuilder { /// Set the `playerId` field (optional) pub fn player_id(mut self, value: impl Into>) -> Self { self._fields.1 = value.into(); @@ -151,4 +147,4 @@ where player_id: self._fields.1, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/player/next.rs b/crates/jacquard-api/src/app_rocksky/player/next.rs index 339f2c16..44880cdc 100644 --- a/crates/jacquard-api/src/app_rocksky/player/next.rs +++ b/crates/jacquard-api/src/app_rocksky/player/next.rs @@ -10,14 +10,17 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct NextParams { #[serde(skip_serializing_if = "Option::is_none")] pub player_id: Option, @@ -38,9 +41,8 @@ impl jacquard_common::xrpc::XrpcResp for NextResponse { impl jacquard_common::xrpc::XrpcRequest for Next { const NSID: &'static str = "app.rocksky.player.next"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = NextResponse; } @@ -48,16 +50,15 @@ impl jacquard_common::xrpc::XrpcRequest for Next { pub struct NextRequest; impl jacquard_common::xrpc::XrpcEndpoint for NextRequest { const PATH: &'static str = "/xrpc/app.rocksky.player.next"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = Next; type Response = NextResponse; } pub mod next_params_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -122,4 +123,4 @@ where player_id: self._fields.0, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/player/pause.rs b/crates/jacquard-api/src/app_rocksky/player/pause.rs index 5ce4aa05..a281308b 100644 --- a/crates/jacquard-api/src/app_rocksky/player/pause.rs +++ b/crates/jacquard-api/src/app_rocksky/player/pause.rs @@ -10,14 +10,17 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct PauseParams { #[serde(skip_serializing_if = "Option::is_none")] pub player_id: Option, @@ -38,9 +41,8 @@ impl jacquard_common::xrpc::XrpcResp for PauseResponse { impl jacquard_common::xrpc::XrpcRequest for Pause { const NSID: &'static str = "app.rocksky.player.pause"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = PauseResponse; } @@ -48,16 +50,15 @@ impl jacquard_common::xrpc::XrpcRequest for Pause { pub struct PauseRequest; impl jacquard_common::xrpc::XrpcEndpoint for PauseRequest { const PATH: &'static str = "/xrpc/app.rocksky.player.pause"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = Pause; type Response = PauseResponse; } pub mod pause_params_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -122,4 +123,4 @@ where player_id: self._fields.0, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/player/play.rs b/crates/jacquard-api/src/app_rocksky/player/play.rs index ab5f46f1..830c3b2d 100644 --- a/crates/jacquard-api/src/app_rocksky/player/play.rs +++ b/crates/jacquard-api/src/app_rocksky/player/play.rs @@ -10,14 +10,17 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct PlayParams { #[serde(skip_serializing_if = "Option::is_none")] pub player_id: Option, @@ -38,9 +41,8 @@ impl jacquard_common::xrpc::XrpcResp for PlayResponse { impl jacquard_common::xrpc::XrpcRequest for Play { const NSID: &'static str = "app.rocksky.player.play"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = PlayResponse; } @@ -48,16 +50,15 @@ impl jacquard_common::xrpc::XrpcRequest for Play { pub struct PlayRequest; impl jacquard_common::xrpc::XrpcEndpoint for PlayRequest { const PATH: &'static str = "/xrpc/app.rocksky.player.play"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = Play; type Response = PlayResponse; } pub mod play_params_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -122,4 +123,4 @@ where player_id: self._fields.0, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/player/previous.rs b/crates/jacquard-api/src/app_rocksky/player/previous.rs index 88071934..582b0e23 100644 --- a/crates/jacquard-api/src/app_rocksky/player/previous.rs +++ b/crates/jacquard-api/src/app_rocksky/player/previous.rs @@ -10,14 +10,17 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct PreviousParams { #[serde(skip_serializing_if = "Option::is_none")] pub player_id: Option, @@ -38,9 +41,8 @@ impl jacquard_common::xrpc::XrpcResp for PreviousResponse { impl jacquard_common::xrpc::XrpcRequest for Previous { const NSID: &'static str = "app.rocksky.player.previous"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = PreviousResponse; } @@ -48,16 +50,15 @@ impl jacquard_common::xrpc::XrpcRequest for Previous { pub struct PreviousRequest; impl jacquard_common::xrpc::XrpcEndpoint for PreviousRequest { const PATH: &'static str = "/xrpc/app.rocksky.player.previous"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = Previous; type Response = PreviousResponse; } pub mod previous_params_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -122,4 +123,4 @@ where player_id: self._fields.0, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/player/seek.rs b/crates/jacquard-api/src/app_rocksky/player/seek.rs index d88d7993..24d49cdd 100644 --- a/crates/jacquard-api/src/app_rocksky/player/seek.rs +++ b/crates/jacquard-api/src/app_rocksky/player/seek.rs @@ -10,14 +10,17 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct SeekParams { #[serde(skip_serializing_if = "Option::is_none")] pub player_id: Option, @@ -39,9 +42,8 @@ impl jacquard_common::xrpc::XrpcResp for SeekResponse { impl jacquard_common::xrpc::XrpcRequest for Seek { const NSID: &'static str = "app.rocksky.player.seek"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = SeekResponse; } @@ -49,16 +51,15 @@ impl jacquard_common::xrpc::XrpcRequest for Seek { pub struct SeekRequest; impl jacquard_common::xrpc::XrpcEndpoint for SeekRequest { const PATH: &'static str = "/xrpc/app.rocksky.player.seek"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = Seek; type Response = SeekResponse; } pub mod seek_params_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -157,4 +158,4 @@ where position: self._fields.1.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/playlist.rs b/crates/jacquard-api/src/app_rocksky/playlist.rs index 2cfcdc2a..c1deda22 100644 --- a/crates/jacquard-api/src/app_rocksky/playlist.rs +++ b/crates/jacquard-api/src/app_rocksky/playlist.rs @@ -8,13 +8,12 @@ pub mod get_playlist; pub mod get_playlists; - #[allow(unused_imports)] use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -30,10 +29,10 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::app_rocksky::song::SongViewBasic; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::app_rocksky::song::SongViewBasic; +use serde::{Deserialize, Serialize}; /// A declaration of a playlist. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -87,7 +86,10 @@ pub struct PlaylistGetRecordOutput { /// Basic view of a playlist, including its metadata #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct PlaylistViewBasic { ///The URL of the cover image for the playlist. #[serde(skip_serializing_if = "Option::is_none")] @@ -129,7 +131,10 @@ pub struct PlaylistViewBasic { /// Detailed view of a playlist, including its tracks and metadata #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct PlaylistViewDetailed { ///The URL of the cover image for the playlist. #[serde(skip_serializing_if = "Option::is_none")] @@ -270,25 +275,20 @@ impl LexiconSchema for Playlist { { let mime = value.blob().mime_type.as_str(); let accepted: &[&str] = &["image/png", "image/jpeg"]; - let matched = accepted - .iter() - .any(|pattern| { - if *pattern == "*/*" { - true - } else if pattern.ends_with("/*") { - let prefix = &pattern[..pattern.len() - 2]; - mime.starts_with(prefix) - && mime.as_bytes().get(prefix.len()) == Some(&b'/') - } else { - mime == *pattern - } - }); + let matched = accepted.iter().any(|pattern| { + if *pattern == "*/*" { + true + } else if pattern.ends_with("/*") { + let prefix = &pattern[..pattern.len() - 2]; + mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/') + } else { + mime == *pattern + } + }); if !matched { return Err(ConstraintError::BlobMimeTypeNotAccepted { path: ValidationPath::from_field("picture"), - accepted: vec![ - "image/png".to_string(), "image/jpeg".to_string() - ], + accepted: vec!["image/png".to_string(), "image/jpeg".to_string()], actual: mime.to_string(), }); } @@ -339,7 +339,7 @@ impl LexiconSchema for PlaylistViewDetailed { pub mod playlist_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -467,10 +467,7 @@ where St::Name: playlist_state::IsUnset, { /// Set the `name` field (required) - pub fn name( - mut self, - value: impl Into, - ) -> PlaylistBuilder> { + pub fn name(mut self, value: impl Into) -> PlaylistBuilder> { self._fields.3 = Option::Some(value.into()); PlaylistBuilder { _state: PhantomData, @@ -584,10 +581,10 @@ where } fn lexicon_doc_app_rocksky_playlist() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.rocksky.playlist"), @@ -596,35 +593,31 @@ fn lexicon_doc_app_rocksky_playlist() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static("A declaration of a playlist."), - ), + description: Some(CowStr::new_static("A declaration of a playlist.")), key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("name"), - SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("name"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("appleMusicLink"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The Apple Music link of the playlist."), - ), + description: Some(CowStr::new_static( + "The Apple Music link of the playlist.", + )), ..Default::default() }), ); map.insert( SmolStr::new_static("createdAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The date the playlist was created."), - ), + description: Some(CowStr::new_static( + "The date the playlist was created.", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -632,9 +625,9 @@ fn lexicon_doc_app_rocksky_playlist() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("description"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The playlist description."), - ), + description: Some(CowStr::new_static( + "The playlist description.", + )), min_length: Some(1usize), max_length: Some(256usize), ..Default::default() @@ -643,9 +636,9 @@ fn lexicon_doc_app_rocksky_playlist() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("name"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The name of the playlist."), - ), + description: Some(CowStr::new_static( + "The name of the playlist.", + )), min_length: Some(1usize), max_length: Some(512usize), ..Default::default() @@ -653,32 +646,34 @@ fn lexicon_doc_app_rocksky_playlist() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("picture"), - LexObjectProperty::Blob(LexBlob { ..Default::default() }), + LexObjectProperty::Blob(LexBlob { + ..Default::default() + }), ); map.insert( SmolStr::new_static("spotifyLink"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The Spotify link of the playlist."), - ), + description: Some(CowStr::new_static( + "The Spotify link of the playlist.", + )), ..Default::default() }), ); map.insert( SmolStr::new_static("tidalLink"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The Tidal link of the playlist."), - ), + description: Some(CowStr::new_static( + "The Tidal link of the playlist.", + )), ..Default::default() }), ); map.insert( SmolStr::new_static("tracks"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static("The tracks in the playlist."), - ), + description: Some(CowStr::new_static( + "The tracks in the playlist.", + )), items: LexArrayItem::Ref(LexRef { r#ref: CowStr::new_static("app.rocksky.song#record"), ..Default::default() @@ -689,9 +684,9 @@ fn lexicon_doc_app_rocksky_playlist() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("youtubeLink"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The YouTube link of the playlist."), - ), + description: Some(CowStr::new_static( + "The YouTube link of the playlist.", + )), ..Default::default() }), ); @@ -709,10 +704,10 @@ fn lexicon_doc_app_rocksky_playlist() -> LexiconDoc<'static> { } fn lexicon_doc_app_rocksky_playlist_defs() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.rocksky.playlist.defs"), @@ -721,22 +716,18 @@ fn lexicon_doc_app_rocksky_playlist_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("playlistViewBasic"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "Basic view of a playlist, including its metadata", - ), - ), + description: Some(CowStr::new_static( + "Basic view of a playlist, including its metadata", + )), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("coverImageUrl"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "The URL of the cover image for the playlist.", - ), - ), + description: Some(CowStr::new_static( + "The URL of the cover image for the playlist.", + )), format: Some(LexStringFormat::Uri), ..Default::default() }), @@ -744,11 +735,9 @@ fn lexicon_doc_app_rocksky_playlist_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("createdAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "The date and time when the playlist was created.", - ), - ), + description: Some(CowStr::new_static( + "The date and time when the playlist was created.", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -756,11 +745,9 @@ fn lexicon_doc_app_rocksky_playlist_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("curatorAvatarUrl"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "The URL of the avatar image of the curator.", - ), - ), + description: Some(CowStr::new_static( + "The URL of the avatar image of the curator.", + )), format: Some(LexStringFormat::Uri), ..Default::default() }), @@ -768,11 +755,9 @@ fn lexicon_doc_app_rocksky_playlist_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("curatorDid"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "The DID of the curator of the playlist.", - ), - ), + description: Some(CowStr::new_static( + "The DID of the curator of the playlist.", + )), format: Some(LexStringFormat::AtIdentifier), ..Default::default() }), @@ -780,11 +765,9 @@ fn lexicon_doc_app_rocksky_playlist_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("curatorHandle"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "The handle of the curator of the playlist.", - ), - ), + description: Some(CowStr::new_static( + "The handle of the curator of the playlist.", + )), format: Some(LexStringFormat::AtIdentifier), ..Default::default() }), @@ -792,38 +775,34 @@ fn lexicon_doc_app_rocksky_playlist_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("curatorName"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "The name of the curator of the playlist.", - ), - ), + description: Some(CowStr::new_static( + "The name of the curator of the playlist.", + )), ..Default::default() }), ); map.insert( SmolStr::new_static("description"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("A description of the playlist."), - ), + description: Some(CowStr::new_static( + "A description of the playlist.", + )), ..Default::default() }), ); map.insert( SmolStr::new_static("id"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The unique identifier of the playlist."), - ), + description: Some(CowStr::new_static( + "The unique identifier of the playlist.", + )), ..Default::default() }), ); map.insert( SmolStr::new_static("title"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The title of the playlist."), - ), + description: Some(CowStr::new_static("The title of the playlist.")), ..Default::default() }), ); @@ -837,9 +816,7 @@ fn lexicon_doc_app_rocksky_playlist_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("uri"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The URI of the playlist."), - ), + description: Some(CowStr::new_static("The URI of the playlist.")), format: Some(LexStringFormat::AtUri), ..Default::default() }), @@ -852,22 +829,18 @@ fn lexicon_doc_app_rocksky_playlist_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("playlistViewDetailed"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "Detailed view of a playlist, including its tracks and metadata", - ), - ), + description: Some(CowStr::new_static( + "Detailed view of a playlist, including its tracks and metadata", + )), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("coverImageUrl"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "The URL of the cover image for the playlist.", - ), - ), + description: Some(CowStr::new_static( + "The URL of the cover image for the playlist.", + )), format: Some(LexStringFormat::Uri), ..Default::default() }), @@ -875,11 +848,9 @@ fn lexicon_doc_app_rocksky_playlist_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("createdAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "The date and time when the playlist was created.", - ), - ), + description: Some(CowStr::new_static( + "The date and time when the playlist was created.", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -887,11 +858,9 @@ fn lexicon_doc_app_rocksky_playlist_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("curatorAvatarUrl"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "The URL of the avatar image of the curator.", - ), - ), + description: Some(CowStr::new_static( + "The URL of the avatar image of the curator.", + )), format: Some(LexStringFormat::Uri), ..Default::default() }), @@ -899,11 +868,9 @@ fn lexicon_doc_app_rocksky_playlist_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("curatorDid"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "The DID of the curator of the playlist.", - ), - ), + description: Some(CowStr::new_static( + "The DID of the curator of the playlist.", + )), format: Some(LexStringFormat::AtIdentifier), ..Default::default() }), @@ -911,11 +878,9 @@ fn lexicon_doc_app_rocksky_playlist_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("curatorHandle"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "The handle of the curator of the playlist.", - ), - ), + description: Some(CowStr::new_static( + "The handle of the curator of the playlist.", + )), format: Some(LexStringFormat::AtIdentifier), ..Default::default() }), @@ -923,47 +888,43 @@ fn lexicon_doc_app_rocksky_playlist_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("curatorName"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "The name of the curator of the playlist.", - ), - ), + description: Some(CowStr::new_static( + "The name of the curator of the playlist.", + )), ..Default::default() }), ); map.insert( SmolStr::new_static("description"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("A description of the playlist."), - ), + description: Some(CowStr::new_static( + "A description of the playlist.", + )), ..Default::default() }), ); map.insert( SmolStr::new_static("id"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The unique identifier of the playlist."), - ), + description: Some(CowStr::new_static( + "The unique identifier of the playlist.", + )), ..Default::default() }), ); map.insert( SmolStr::new_static("title"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The title of the playlist."), - ), + description: Some(CowStr::new_static("The title of the playlist.")), ..Default::default() }), ); map.insert( SmolStr::new_static("tracks"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static("A list of tracks in the playlist."), - ), + description: Some(CowStr::new_static( + "A list of tracks in the playlist.", + )), items: LexArrayItem::Ref(LexRef { r#ref: CowStr::new_static( "app.rocksky.song.defs#songViewBasic", @@ -976,9 +937,7 @@ fn lexicon_doc_app_rocksky_playlist_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("uri"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The URI of the playlist."), - ), + description: Some(CowStr::new_static("The URI of the playlist.")), format: Some(LexStringFormat::AtUri), ..Default::default() }), @@ -992,4 +951,4 @@ fn lexicon_doc_app_rocksky_playlist_defs() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/playlist/get_playlist.rs b/crates/jacquard-api/src/app_rocksky/playlist/get_playlist.rs index 5cb38133..87601852 100644 --- a/crates/jacquard-api/src/app_rocksky/playlist/get_playlist.rs +++ b/crates/jacquard-api/src/app_rocksky/playlist/get_playlist.rs @@ -8,25 +8,30 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_rocksky::playlist::PlaylistViewDetailed; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::AtUri; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_rocksky::playlist::PlaylistViewDetailed; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetPlaylist { pub uri: AtUri, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetPlaylistOutput { #[serde(flatten)] pub value: PlaylistViewDetailed, @@ -60,7 +65,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetPlaylistRequest { pub mod get_playlist_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -145,4 +150,4 @@ where uri: self._fields.0.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/playlist/get_playlists.rs b/crates/jacquard-api/src/app_rocksky/playlist/get_playlists.rs index d1b585e4..919ac84e 100644 --- a/crates/jacquard-api/src/app_rocksky/playlist/get_playlists.rs +++ b/crates/jacquard-api/src/app_rocksky/playlist/get_playlists.rs @@ -8,14 +8,14 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_rocksky::playlist::PlaylistViewBasic; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_rocksky::playlist::PlaylistViewBasic; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(rename_all = "camelCase")] @@ -26,9 +26,11 @@ pub struct GetPlaylists { pub offset: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetPlaylistsOutput { #[serde(skip_serializing_if = "Option::is_none")] pub playlists: Option>>, @@ -62,7 +64,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetPlaylistsRequest { pub mod get_playlists_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -139,4 +141,4 @@ where offset: self._fields.1, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/radio.rs b/crates/jacquard-api/src/app_rocksky/radio.rs index 196a50f3..c6f2b3e3 100644 --- a/crates/jacquard-api/src/app_rocksky/radio.rs +++ b/crates/jacquard-api/src/app_rocksky/radio.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -27,7 +27,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// A declaration of a radio station. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -71,9 +71,11 @@ pub struct RadioGetRecordOutput { pub value: Radio, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct RadioViewBasic { ///The date and time when the radio was created. #[serde(skip_serializing_if = "Option::is_none")] @@ -91,9 +93,11 @@ pub struct RadioViewBasic { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct RadioViewDetailed { ///The date and time when the radio was created. #[serde(skip_serializing_if = "Option::is_none")] @@ -223,25 +227,20 @@ impl LexiconSchema for Radio { { let mime = value.blob().mime_type.as_str(); let accepted: &[&str] = &["image/png", "image/jpeg"]; - let matched = accepted - .iter() - .any(|pattern| { - if *pattern == "*/*" { - true - } else if pattern.ends_with("/*") { - let prefix = &pattern[..pattern.len() - 2]; - mime.starts_with(prefix) - && mime.as_bytes().get(prefix.len()) == Some(&b'/') - } else { - mime == *pattern - } - }); + let matched = accepted.iter().any(|pattern| { + if *pattern == "*/*" { + true + } else if pattern.ends_with("/*") { + let prefix = &pattern[..pattern.len() - 2]; + mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/') + } else { + mime == *pattern + } + }); if !matched { return Err(ConstraintError::BlobMimeTypeNotAccepted { path: ValidationPath::from_field("logo"), - accepted: vec![ - "image/png".to_string(), "image/jpeg".to_string() - ], + accepted: vec!["image/png".to_string(), "image/jpeg".to_string()], actual: mime.to_string(), }); } @@ -305,7 +304,7 @@ impl LexiconSchema for RadioViewDetailed { pub mod radio_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -458,10 +457,7 @@ where St::Name: radio_state::IsUnset, { /// Set the `name` field (required) - pub fn name( - mut self, - value: impl Into, - ) -> RadioBuilder> { + pub fn name(mut self, value: impl Into) -> RadioBuilder> { self._fields.4 = Option::Some(value.into()); RadioBuilder { _state: PhantomData, @@ -539,10 +535,10 @@ where } fn lexicon_doc_app_rocksky_radio() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.rocksky.radio"), @@ -551,28 +547,23 @@ fn lexicon_doc_app_rocksky_radio() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static("A declaration of a radio station."), - ), + description: Some(CowStr::new_static("A declaration of a radio station.")), key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("name"), SmolStr::new_static("url"), - SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("name"), + SmolStr::new_static("url"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("createdAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "The date when the radio station was created.", - ), - ), + description: Some(CowStr::new_static( + "The date when the radio station was created.", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -580,9 +571,9 @@ fn lexicon_doc_app_rocksky_radio() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("description"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("A description of the radio station."), - ), + description: Some(CowStr::new_static( + "A description of the radio station.", + )), min_length: Some(1usize), max_length: Some(1000usize), ..Default::default() @@ -591,9 +582,9 @@ fn lexicon_doc_app_rocksky_radio() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("genre"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The genre of the radio station."), - ), + description: Some(CowStr::new_static( + "The genre of the radio station.", + )), min_length: Some(1usize), max_length: Some(256usize), ..Default::default() @@ -601,14 +592,16 @@ fn lexicon_doc_app_rocksky_radio() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("logo"), - LexObjectProperty::Blob(LexBlob { ..Default::default() }), + LexObjectProperty::Blob(LexBlob { + ..Default::default() + }), ); map.insert( SmolStr::new_static("name"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The name of the radio station."), - ), + description: Some(CowStr::new_static( + "The name of the radio station.", + )), min_length: Some(1usize), max_length: Some(512usize), ..Default::default() @@ -617,9 +610,9 @@ fn lexicon_doc_app_rocksky_radio() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("url"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The URL of the radio station."), - ), + description: Some(CowStr::new_static( + "The URL of the radio station.", + )), format: Some(LexStringFormat::Uri), ..Default::default() }), @@ -627,9 +620,9 @@ fn lexicon_doc_app_rocksky_radio() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("website"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The website of the radio station."), - ), + description: Some(CowStr::new_static( + "The website of the radio station.", + )), format: Some(LexStringFormat::Uri), ..Default::default() }), @@ -648,10 +641,10 @@ fn lexicon_doc_app_rocksky_radio() -> LexiconDoc<'static> { } fn lexicon_doc_app_rocksky_radio_defs() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.rocksky.radio.defs"), @@ -666,11 +659,9 @@ fn lexicon_doc_app_rocksky_radio_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("createdAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "The date and time when the radio was created.", - ), - ), + description: Some(CowStr::new_static( + "The date and time when the radio was created.", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -678,27 +669,25 @@ fn lexicon_doc_app_rocksky_radio_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("description"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("A brief description of the radio."), - ), + description: Some(CowStr::new_static( + "A brief description of the radio.", + )), ..Default::default() }), ); map.insert( SmolStr::new_static("id"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The unique identifier of the radio."), - ), + description: Some(CowStr::new_static( + "The unique identifier of the radio.", + )), ..Default::default() }), ); map.insert( SmolStr::new_static("name"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The name of the radio."), - ), + description: Some(CowStr::new_static("The name of the radio.")), ..Default::default() }), ); @@ -716,11 +705,9 @@ fn lexicon_doc_app_rocksky_radio_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("createdAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "The date and time when the radio was created.", - ), - ), + description: Some(CowStr::new_static( + "The date and time when the radio was created.", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -728,54 +715,50 @@ fn lexicon_doc_app_rocksky_radio_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("description"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("A brief description of the radio."), - ), + description: Some(CowStr::new_static( + "A brief description of the radio.", + )), ..Default::default() }), ); map.insert( SmolStr::new_static("genre"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The genre of the radio."), - ), + description: Some(CowStr::new_static("The genre of the radio.")), ..Default::default() }), ); map.insert( SmolStr::new_static("id"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The unique identifier of the radio."), - ), + description: Some(CowStr::new_static( + "The unique identifier of the radio.", + )), ..Default::default() }), ); map.insert( SmolStr::new_static("logo"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The logo of the radio station."), - ), + description: Some(CowStr::new_static( + "The logo of the radio station.", + )), ..Default::default() }), ); map.insert( SmolStr::new_static("name"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The name of the radio."), - ), + description: Some(CowStr::new_static("The name of the radio.")), ..Default::default() }), ); map.insert( SmolStr::new_static("url"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The streaming URL of the radio."), - ), + description: Some(CowStr::new_static( + "The streaming URL of the radio.", + )), format: Some(LexStringFormat::Uri), ..Default::default() }), @@ -783,9 +766,7 @@ fn lexicon_doc_app_rocksky_radio_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("website"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The website of the radio."), - ), + description: Some(CowStr::new_static("The website of the radio.")), format: Some(LexStringFormat::Uri), ..Default::default() }), @@ -799,4 +780,4 @@ fn lexicon_doc_app_rocksky_radio_defs() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/scrobble.rs b/crates/jacquard-api/src/app_rocksky/scrobble.rs index f156f991..1a703954 100644 --- a/crates/jacquard-api/src/app_rocksky/scrobble.rs +++ b/crates/jacquard-api/src/app_rocksky/scrobble.rs @@ -9,13 +9,12 @@ pub mod create_scrobble; pub mod get_scrobble; pub mod get_scrobbles; - #[allow(unused_imports)] use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -30,11 +29,11 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::app_rocksky::artist::ArtistMbid; use crate::app_rocksky::artist::ArtistViewBasic; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; /// A declaration of a scrobble. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -129,9 +128,11 @@ pub struct ScrobbleGetRecordOutput { pub value: Scrobble, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ScrobbleViewBasic { ///The album of the song. #[serde(skip_serializing_if = "Option::is_none")] @@ -180,9 +181,11 @@ pub struct ScrobbleViewBasic { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ScrobbleViewDetailed { ///The album of the song. #[serde(skip_serializing_if = "Option::is_none")] @@ -311,25 +314,20 @@ impl LexiconSchema for Scrobble { { let mime = value.blob().mime_type.as_str(); let accepted: &[&str] = &["image/png", "image/jpeg"]; - let matched = accepted - .iter() - .any(|pattern| { - if *pattern == "*/*" { - true - } else if pattern.ends_with("/*") { - let prefix = &pattern[..pattern.len() - 2]; - mime.starts_with(prefix) - && mime.as_bytes().get(prefix.len()) == Some(&b'/') - } else { - mime == *pattern - } - }); + let matched = accepted.iter().any(|pattern| { + if *pattern == "*/*" { + true + } else if pattern.ends_with("/*") { + let prefix = &pattern[..pattern.len() - 2]; + mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/') + } else { + mime == *pattern + } + }); if !matched { return Err(ConstraintError::BlobMimeTypeNotAccepted { path: ValidationPath::from_field("album_art"), - accepted: vec![ - "image/png".to_string(), "image/jpeg".to_string() - ], + accepted: vec!["image/png".to_string(), "image/jpeg".to_string()], actual: mime.to_string(), }); } @@ -525,7 +523,7 @@ impl LexiconSchema for ScrobbleViewDetailed { pub mod scrobble_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -681,31 +679,8 @@ impl ScrobbleBuilder { ScrobbleBuilder { _state: PhantomData, _fields: ( - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, ), _type: PhantomData, } @@ -1148,10 +1123,10 @@ where } fn lexicon_doc_app_rocksky_scrobble() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.rocksky.scrobble"), @@ -1160,29 +1135,24 @@ fn lexicon_doc_app_rocksky_scrobble() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static("A declaration of a scrobble."), - ), + description: Some(CowStr::new_static("A declaration of a scrobble.")), key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("title"), SmolStr::new_static("artist"), - SmolStr::new_static("album"), - SmolStr::new_static("albumArtist"), - SmolStr::new_static("duration"), - SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("title"), + SmolStr::new_static("artist"), + SmolStr::new_static("album"), + SmolStr::new_static("albumArtist"), + SmolStr::new_static("duration"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("album"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The album of the song."), - ), + description: Some(CowStr::new_static("The album of the song.")), min_length: Some(1usize), max_length: Some(256usize), ..Default::default() @@ -1190,14 +1160,16 @@ fn lexicon_doc_app_rocksky_scrobble() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("albumArt"), - LexObjectProperty::Blob(LexBlob { ..Default::default() }), + LexObjectProperty::Blob(LexBlob { + ..Default::default() + }), ); map.insert( SmolStr::new_static("albumArtUrl"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The URL of the album art of the song."), - ), + description: Some(CowStr::new_static( + "The URL of the album art of the song.", + )), format: Some(LexStringFormat::Uri), ..Default::default() }), @@ -1205,9 +1177,9 @@ fn lexicon_doc_app_rocksky_scrobble() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("albumArtist"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The album artist of the song."), - ), + description: Some(CowStr::new_static( + "The album artist of the song.", + )), min_length: Some(1usize), max_length: Some(256usize), ..Default::default() @@ -1216,9 +1188,9 @@ fn lexicon_doc_app_rocksky_scrobble() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("appleMusicLink"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The Apple Music link of the song."), - ), + description: Some(CowStr::new_static( + "The Apple Music link of the song.", + )), format: Some(LexStringFormat::Uri), ..Default::default() }), @@ -1226,9 +1198,9 @@ fn lexicon_doc_app_rocksky_scrobble() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("artist"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The artist of the song."), - ), + description: Some(CowStr::new_static( + "The artist of the song.", + )), min_length: Some(1usize), max_length: Some(256usize), ..Default::default() @@ -1237,11 +1209,9 @@ fn lexicon_doc_app_rocksky_scrobble() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("artists"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static( - "The artists of the song with MusicBrainz IDs.", - ), - ), + description: Some(CowStr::new_static( + "The artists of the song with MusicBrainz IDs.", + )), items: LexArrayItem::Ref(LexRef { r#ref: CowStr::new_static( "app.rocksky.artist.defs#artistMbid", @@ -1254,9 +1224,9 @@ fn lexicon_doc_app_rocksky_scrobble() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("composer"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The composer of the song."), - ), + description: Some(CowStr::new_static( + "The composer of the song.", + )), max_length: Some(256usize), ..Default::default() }), @@ -1264,9 +1234,9 @@ fn lexicon_doc_app_rocksky_scrobble() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("copyrightMessage"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The copyright message of the song."), - ), + description: Some(CowStr::new_static( + "The copyright message of the song.", + )), max_length: Some(256usize), ..Default::default() }), @@ -1274,9 +1244,9 @@ fn lexicon_doc_app_rocksky_scrobble() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("createdAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The date when the song was created."), - ), + description: Some(CowStr::new_static( + "The date when the song was created.", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -1298,9 +1268,7 @@ fn lexicon_doc_app_rocksky_scrobble() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("genre"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The genre of the song."), - ), + description: Some(CowStr::new_static("The genre of the song.")), max_length: Some(256usize), ..Default::default() }), @@ -1308,9 +1276,7 @@ fn lexicon_doc_app_rocksky_scrobble() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("label"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The label of the song."), - ), + description: Some(CowStr::new_static("The label of the song.")), max_length: Some(256usize), ..Default::default() }), @@ -1318,9 +1284,9 @@ fn lexicon_doc_app_rocksky_scrobble() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("lyrics"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The lyrics of the song."), - ), + description: Some(CowStr::new_static( + "The lyrics of the song.", + )), max_length: Some(10000usize), ..Default::default() }), @@ -1328,18 +1294,18 @@ fn lexicon_doc_app_rocksky_scrobble() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("mbid"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The MusicBrainz ID of the song."), - ), + description: Some(CowStr::new_static( + "The MusicBrainz ID of the song.", + )), ..Default::default() }), ); map.insert( SmolStr::new_static("releaseDate"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The release date of the song."), - ), + description: Some(CowStr::new_static( + "The release date of the song.", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -1347,9 +1313,9 @@ fn lexicon_doc_app_rocksky_scrobble() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("spotifyLink"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The Spotify link of the song."), - ), + description: Some(CowStr::new_static( + "The Spotify link of the song.", + )), format: Some(LexStringFormat::Uri), ..Default::default() }), @@ -1357,9 +1323,7 @@ fn lexicon_doc_app_rocksky_scrobble() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("tags"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static("The tags of the song."), - ), + description: Some(CowStr::new_static("The tags of the song.")), items: LexArrayItem::String(LexString { min_length: Some(1usize), max_length: Some(256usize), @@ -1371,9 +1335,9 @@ fn lexicon_doc_app_rocksky_scrobble() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("tidalLink"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The Tidal link of the song."), - ), + description: Some(CowStr::new_static( + "The Tidal link of the song.", + )), format: Some(LexStringFormat::Uri), ..Default::default() }), @@ -1381,9 +1345,7 @@ fn lexicon_doc_app_rocksky_scrobble() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("title"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The title of the song."), - ), + description: Some(CowStr::new_static("The title of the song.")), min_length: Some(1usize), max_length: Some(512usize), ..Default::default() @@ -1399,9 +1361,9 @@ fn lexicon_doc_app_rocksky_scrobble() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("wiki"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Informations about the song"), - ), + description: Some(CowStr::new_static( + "Informations about the song", + )), max_length: Some(10000usize), ..Default::default() }), @@ -1415,9 +1377,9 @@ fn lexicon_doc_app_rocksky_scrobble() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("youtubeLink"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The YouTube link of the song."), - ), + description: Some(CowStr::new_static( + "The YouTube link of the song.", + )), format: Some(LexStringFormat::Uri), ..Default::default() }), @@ -1436,10 +1398,10 @@ fn lexicon_doc_app_rocksky_scrobble() -> LexiconDoc<'static> { } fn lexicon_doc_app_rocksky_scrobble_defs() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.rocksky.scrobble.defs"), @@ -1454,18 +1416,14 @@ fn lexicon_doc_app_rocksky_scrobble_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("album"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The album of the song."), - ), + description: Some(CowStr::new_static("The album of the song.")), ..Default::default() }), ); map.insert( SmolStr::new_static("albumUri"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The URI of the album."), - ), + description: Some(CowStr::new_static("The URI of the album.")), format: Some(LexStringFormat::AtUri), ..Default::default() }), @@ -1473,18 +1431,14 @@ fn lexicon_doc_app_rocksky_scrobble_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("artist"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The artist of the song."), - ), + description: Some(CowStr::new_static("The artist of the song.")), ..Default::default() }), ); map.insert( SmolStr::new_static("artistUri"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The URI of the artist."), - ), + description: Some(CowStr::new_static("The URI of the artist.")), format: Some(LexStringFormat::AtUri), ..Default::default() }), @@ -1492,9 +1446,9 @@ fn lexicon_doc_app_rocksky_scrobble_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("cover"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The album art URL of the song."), - ), + description: Some(CowStr::new_static( + "The album art URL of the song.", + )), format: Some(LexStringFormat::Uri), ..Default::default() }), @@ -1502,11 +1456,9 @@ fn lexicon_doc_app_rocksky_scrobble_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("date"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "The timestamp when the scrobble was created.", - ), - ), + description: Some(CowStr::new_static( + "The timestamp when the scrobble was created.", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -1514,9 +1466,9 @@ fn lexicon_doc_app_rocksky_scrobble_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("id"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The unique identifier of the scrobble."), - ), + description: Some(CowStr::new_static( + "The unique identifier of the scrobble.", + )), ..Default::default() }), ); @@ -1535,27 +1487,23 @@ fn lexicon_doc_app_rocksky_scrobble_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("sha256"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The SHA256 hash of the scrobble data."), - ), + description: Some(CowStr::new_static( + "The SHA256 hash of the scrobble data.", + )), ..Default::default() }), ); map.insert( SmolStr::new_static("title"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The title of the scrobble."), - ), + description: Some(CowStr::new_static("The title of the scrobble.")), ..Default::default() }), ); map.insert( SmolStr::new_static("uri"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The URI of the scrobble."), - ), + description: Some(CowStr::new_static("The URI of the scrobble.")), format: Some(LexStringFormat::Uri), ..Default::default() }), @@ -1563,22 +1511,18 @@ fn lexicon_doc_app_rocksky_scrobble_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("user"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "The handle of the user who created the scrobble.", - ), - ), + description: Some(CowStr::new_static( + "The handle of the user who created the scrobble.", + )), ..Default::default() }), ); map.insert( SmolStr::new_static("userAvatar"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "The avatar URL of the user who created the scrobble.", - ), - ), + description: Some(CowStr::new_static( + "The avatar URL of the user who created the scrobble.", + )), format: Some(LexStringFormat::Uri), ..Default::default() }), @@ -1586,11 +1530,9 @@ fn lexicon_doc_app_rocksky_scrobble_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("userDisplayName"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "The display name of the user who created the scrobble.", - ), - ), + description: Some(CowStr::new_static( + "The display name of the user who created the scrobble.", + )), ..Default::default() }), ); @@ -1608,18 +1550,14 @@ fn lexicon_doc_app_rocksky_scrobble_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("album"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The album of the song."), - ), + description: Some(CowStr::new_static("The album of the song.")), ..Default::default() }), ); map.insert( SmolStr::new_static("albumUri"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The URI of the album."), - ), + description: Some(CowStr::new_static("The URI of the album.")), format: Some(LexStringFormat::AtUri), ..Default::default() }), @@ -1627,18 +1565,14 @@ fn lexicon_doc_app_rocksky_scrobble_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("artist"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The artist of the song."), - ), + description: Some(CowStr::new_static("The artist of the song.")), ..Default::default() }), ); map.insert( SmolStr::new_static("artistUri"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The URI of the artist."), - ), + description: Some(CowStr::new_static("The URI of the artist.")), format: Some(LexStringFormat::AtUri), ..Default::default() }), @@ -1658,9 +1592,9 @@ fn lexicon_doc_app_rocksky_scrobble_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("cover"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The album art URL of the song."), - ), + description: Some(CowStr::new_static( + "The album art URL of the song.", + )), format: Some(LexStringFormat::Uri), ..Default::default() }), @@ -1668,11 +1602,9 @@ fn lexicon_doc_app_rocksky_scrobble_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("date"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "The timestamp when the scrobble was created.", - ), - ), + description: Some(CowStr::new_static( + "The timestamp when the scrobble was created.", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -1680,9 +1612,9 @@ fn lexicon_doc_app_rocksky_scrobble_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("id"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The unique identifier of the scrobble."), - ), + description: Some(CowStr::new_static( + "The unique identifier of the scrobble.", + )), ..Default::default() }), ); @@ -1701,27 +1633,23 @@ fn lexicon_doc_app_rocksky_scrobble_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("sha256"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The SHA256 hash of the scrobble data."), - ), + description: Some(CowStr::new_static( + "The SHA256 hash of the scrobble data.", + )), ..Default::default() }), ); map.insert( SmolStr::new_static("title"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The title of the scrobble."), - ), + description: Some(CowStr::new_static("The title of the scrobble.")), ..Default::default() }), ); map.insert( SmolStr::new_static("uri"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The URI of the scrobble."), - ), + description: Some(CowStr::new_static("The URI of the scrobble.")), format: Some(LexStringFormat::Uri), ..Default::default() }), @@ -1729,11 +1657,9 @@ fn lexicon_doc_app_rocksky_scrobble_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("user"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "The handle of the user who created the scrobble.", - ), - ), + description: Some(CowStr::new_static( + "The handle of the user who created the scrobble.", + )), ..Default::default() }), ); @@ -1746,4 +1672,4 @@ fn lexicon_doc_app_rocksky_scrobble_defs() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/scrobble/create_scrobble.rs b/crates/jacquard-api/src/app_rocksky/scrobble/create_scrobble.rs index 2bd03f5f..88ae7837 100644 --- a/crates/jacquard-api/src/app_rocksky/scrobble/create_scrobble.rs +++ b/crates/jacquard-api/src/app_rocksky/scrobble/create_scrobble.rs @@ -8,18 +8,21 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_rocksky::scrobble::ScrobbleViewBasic; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::UriValue; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_rocksky::scrobble::ScrobbleViewBasic; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct CreateScrobble { ///The album of the track being scrobbled #[serde(skip_serializing_if = "Option::is_none")] @@ -89,9 +92,11 @@ pub struct CreateScrobble { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct CreateScrobbleOutput { #[serde(flatten)] pub value: ScrobbleViewBasic, @@ -110,9 +115,8 @@ impl jacquard_common::xrpc::XrpcResp for CreateScrobbleResponse { impl jacquard_common::xrpc::XrpcRequest for CreateScrobble { const NSID: &'static str = "app.rocksky.scrobble.createScrobble"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = CreateScrobbleResponse; } @@ -120,9 +124,8 @@ impl jacquard_common::xrpc::XrpcRequest for CreateScrobble { pub struct CreateScrobbleRequest; impl jacquard_common::xrpc::XrpcEndpoint for CreateScrobbleRequest { const PATH: &'static str = "/xrpc/app.rocksky.scrobble.createScrobble"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = CreateScrobble; type Response = CreateScrobbleResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/scrobble/get_scrobble.rs b/crates/jacquard-api/src/app_rocksky/scrobble/get_scrobble.rs index c9405f15..da17b1fa 100644 --- a/crates/jacquard-api/src/app_rocksky/scrobble/get_scrobble.rs +++ b/crates/jacquard-api/src/app_rocksky/scrobble/get_scrobble.rs @@ -8,25 +8,30 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_rocksky::scrobble::ScrobbleViewDetailed; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::AtUri; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_rocksky::scrobble::ScrobbleViewDetailed; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetScrobble { pub uri: AtUri, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetScrobbleOutput { #[serde(flatten)] pub value: ScrobbleViewDetailed, @@ -60,7 +65,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetScrobbleRequest { pub mod get_scrobble_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -145,4 +150,4 @@ where uri: self._fields.0.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/scrobble/get_scrobbles.rs b/crates/jacquard-api/src/app_rocksky/scrobble/get_scrobbles.rs index 993a12a7..551ab69a 100644 --- a/crates/jacquard-api/src/app_rocksky/scrobble/get_scrobbles.rs +++ b/crates/jacquard-api/src/app_rocksky/scrobble/get_scrobbles.rs @@ -8,18 +8,21 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_rocksky::scrobble::ScrobbleViewBasic; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::ident::AtIdentifier; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_rocksky::scrobble::ScrobbleViewBasic; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetScrobbles { #[serde(skip_serializing_if = "Option::is_none")] pub did: Option>, @@ -33,9 +36,11 @@ pub struct GetScrobbles { pub offset: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetScrobblesOutput { #[serde(skip_serializing_if = "Option::is_none")] pub scrobbles: Option>>, @@ -69,7 +74,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetScrobblesRequest { pub mod get_scrobbles_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -89,7 +94,12 @@ pub mod get_scrobbles_state { /// Builder for constructing an instance of this type. pub struct GetScrobblesBuilder { _state: PhantomData St>, - _fields: (Option>, Option, Option, Option), + _fields: ( + Option>, + Option, + Option, + Option, + ), _type: PhantomData S>, } @@ -176,4 +186,4 @@ where offset: self._fields.3, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/shout.rs b/crates/jacquard-api/src/app_rocksky/shout.rs index 4828d3cc..cb5ac9a7 100644 --- a/crates/jacquard-api/src/app_rocksky/shout.rs +++ b/crates/jacquard-api/src/app_rocksky/shout.rs @@ -15,13 +15,12 @@ pub mod remove_shout; pub mod reply_shout; pub mod report_shout; - #[allow(unused_imports)] use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -36,11 +35,11 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::app_rocksky::shout; +use crate::com_atproto::repo::strong_ref::StrongRef; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::com_atproto::repo::strong_ref::StrongRef; -use crate::app_rocksky::shout; +use serde::{Deserialize, Serialize}; /// A declaration of a shout. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -73,9 +72,11 @@ pub struct ShoutGetRecordOutput { pub value: Shout, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Author { ///The URL of the author's avatar image. #[serde(skip_serializing_if = "Option::is_none")] @@ -96,9 +97,11 @@ pub struct Author { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ShoutView { ///The author of the shout. #[serde(skip_serializing_if = "Option::is_none")] @@ -221,7 +224,7 @@ impl LexiconSchema for ShoutView { pub mod shout_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -280,7 +283,12 @@ pub mod shout_state { /// Builder for constructing an instance of this type. pub struct ShoutBuilder { _state: PhantomData St>, - _fields: (Option, Option, Option>, Option>), + _fields: ( + Option, + Option, + Option>, + Option>, + ), _type: PhantomData S>, } @@ -327,10 +335,7 @@ where St::Message: shout_state::IsUnset, { /// Set the `message` field (required) - pub fn message( - mut self, - value: impl Into, - ) -> ShoutBuilder> { + pub fn message(mut self, value: impl Into) -> ShoutBuilder> { self._fields.1 = Option::Some(value.into()); ShoutBuilder { _state: PhantomData, @@ -402,10 +407,10 @@ where } fn lexicon_doc_app_rocksky_shout() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.rocksky.shout"), @@ -417,22 +422,20 @@ fn lexicon_doc_app_rocksky_shout() -> LexiconDoc<'static> { description: Some(CowStr::new_static("A declaration of a shout.")), key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("message"), - SmolStr::new_static("createdAt"), - SmolStr::new_static("subject") - ], - ), + required: Some(vec![ + SmolStr::new_static("message"), + SmolStr::new_static("createdAt"), + SmolStr::new_static("subject"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("createdAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The date when the shout was created."), - ), + description: Some(CowStr::new_static( + "The date when the shout was created.", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -440,9 +443,9 @@ fn lexicon_doc_app_rocksky_shout() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("message"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The message of the shout."), - ), + description: Some(CowStr::new_static( + "The message of the shout.", + )), min_length: Some(1usize), max_length: Some(1000usize), ..Default::default() @@ -476,10 +479,10 @@ fn lexicon_doc_app_rocksky_shout() -> LexiconDoc<'static> { } fn lexicon_doc_app_rocksky_shout_defs() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.rocksky.shout.defs"), @@ -494,9 +497,9 @@ fn lexicon_doc_app_rocksky_shout_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("avatar"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The URL of the author's avatar image."), - ), + description: Some(CowStr::new_static( + "The URL of the author's avatar image.", + )), format: Some(LexStringFormat::Uri), ..Default::default() }), @@ -504,11 +507,9 @@ fn lexicon_doc_app_rocksky_shout_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("did"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "The decentralized identifier (DID) of the author.", - ), - ), + description: Some(CowStr::new_static( + "The decentralized identifier (DID) of the author.", + )), format: Some(LexStringFormat::AtIdentifier), ..Default::default() }), @@ -516,18 +517,16 @@ fn lexicon_doc_app_rocksky_shout_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("displayName"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The display name of the author."), - ), + description: Some(CowStr::new_static( + "The display name of the author.", + )), ..Default::default() }), ); map.insert( SmolStr::new_static("handle"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The handle of the author."), - ), + description: Some(CowStr::new_static("The handle of the author.")), format: Some(LexStringFormat::AtIdentifier), ..Default::default() }), @@ -535,9 +534,9 @@ fn lexicon_doc_app_rocksky_shout_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("id"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The unique identifier of the author."), - ), + description: Some(CowStr::new_static( + "The unique identifier of the author.", + )), ..Default::default() }), ); @@ -609,4 +608,4 @@ fn lexicon_doc_app_rocksky_shout_defs() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/shout/create_shout.rs b/crates/jacquard-api/src/app_rocksky/shout/create_shout.rs index 13776afe..42a08910 100644 --- a/crates/jacquard-api/src/app_rocksky/shout/create_shout.rs +++ b/crates/jacquard-api/src/app_rocksky/shout/create_shout.rs @@ -8,17 +8,20 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_rocksky::shout::ShoutView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_rocksky::shout::ShoutView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct CreateShout { ///The content of the shout #[serde(skip_serializing_if = "Option::is_none")] @@ -27,9 +30,11 @@ pub struct CreateShout { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct CreateShoutOutput { #[serde(flatten)] pub value: ShoutView, @@ -48,9 +53,8 @@ impl jacquard_common::xrpc::XrpcResp for CreateShoutResponse { impl jacquard_common::xrpc::XrpcRequest for CreateShout { const NSID: &'static str = "app.rocksky.shout.createShout"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = CreateShoutResponse; } @@ -58,9 +62,8 @@ impl jacquard_common::xrpc::XrpcRequest for CreateShout { pub struct CreateShoutRequest; impl jacquard_common::xrpc::XrpcEndpoint for CreateShoutRequest { const PATH: &'static str = "/xrpc/app.rocksky.shout.createShout"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = CreateShout; type Response = CreateShoutResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/shout/get_album_shouts.rs b/crates/jacquard-api/src/app_rocksky/shout/get_album_shouts.rs index 50840a52..e2fa8ec6 100644 --- a/crates/jacquard-api/src/app_rocksky/shout/get_album_shouts.rs +++ b/crates/jacquard-api/src/app_rocksky/shout/get_album_shouts.rs @@ -10,15 +10,18 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::AtUri; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetAlbumShouts { ///(min: 1) #[serde(skip_serializing_if = "Option::is_none")] @@ -29,9 +32,11 @@ pub struct GetAlbumShouts { pub uri: AtUri, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetAlbumShoutsOutput { #[serde(skip_serializing_if = "Option::is_none")] pub shouts: Option>>, @@ -65,7 +70,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetAlbumShoutsRequest { pub mod get_album_shouts_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -178,4 +183,4 @@ where uri: self._fields.2.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/shout/get_artist_shouts.rs b/crates/jacquard-api/src/app_rocksky/shout/get_artist_shouts.rs index dfbec0b9..ffeb4160 100644 --- a/crates/jacquard-api/src/app_rocksky/shout/get_artist_shouts.rs +++ b/crates/jacquard-api/src/app_rocksky/shout/get_artist_shouts.rs @@ -10,15 +10,18 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::AtUri; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetArtistShouts { ///(min: 1) #[serde(skip_serializing_if = "Option::is_none")] @@ -29,9 +32,11 @@ pub struct GetArtistShouts { pub uri: AtUri, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetArtistShoutsOutput { #[serde(skip_serializing_if = "Option::is_none")] pub shouts: Option>>, @@ -65,7 +70,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetArtistShoutsRequest { pub mod get_artist_shouts_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -178,4 +183,4 @@ where uri: self._fields.2.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/shout/get_profile_shouts.rs b/crates/jacquard-api/src/app_rocksky/shout/get_profile_shouts.rs index f5091efe..a50125d4 100644 --- a/crates/jacquard-api/src/app_rocksky/shout/get_profile_shouts.rs +++ b/crates/jacquard-api/src/app_rocksky/shout/get_profile_shouts.rs @@ -10,15 +10,18 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::ident::AtIdentifier; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetProfileShouts { pub did: AtIdentifier, ///(min: 1) @@ -29,9 +32,11 @@ pub struct GetProfileShouts { pub offset: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetProfileShoutsOutput { #[serde(skip_serializing_if = "Option::is_none")] pub shouts: Option>>, @@ -65,7 +70,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetProfileShoutsRequest { pub mod get_profile_shouts_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -178,4 +183,4 @@ where offset: self._fields.2, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/shout/get_shout_replies.rs b/crates/jacquard-api/src/app_rocksky/shout/get_shout_replies.rs index 663d065f..72cff3ba 100644 --- a/crates/jacquard-api/src/app_rocksky/shout/get_shout_replies.rs +++ b/crates/jacquard-api/src/app_rocksky/shout/get_shout_replies.rs @@ -10,15 +10,18 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::AtUri; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetShoutReplies { ///(min: 1) #[serde(skip_serializing_if = "Option::is_none")] @@ -29,9 +32,11 @@ pub struct GetShoutReplies { pub uri: AtUri, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetShoutRepliesOutput { #[serde(skip_serializing_if = "Option::is_none")] pub shouts: Option>>, @@ -65,7 +70,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetShoutRepliesRequest { pub mod get_shout_replies_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -178,4 +183,4 @@ where uri: self._fields.2.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/shout/get_track_shouts.rs b/crates/jacquard-api/src/app_rocksky/shout/get_track_shouts.rs index 86aab74c..66988794 100644 --- a/crates/jacquard-api/src/app_rocksky/shout/get_track_shouts.rs +++ b/crates/jacquard-api/src/app_rocksky/shout/get_track_shouts.rs @@ -10,22 +10,27 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::AtUri; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetTrackShouts { pub uri: AtUri, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetTrackShoutsOutput { #[serde(skip_serializing_if = "Option::is_none")] pub shouts: Option>>, @@ -59,7 +64,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetTrackShoutsRequest { pub mod get_track_shouts_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -144,4 +149,4 @@ where uri: self._fields.0.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/shout/remove_shout.rs b/crates/jacquard-api/src/app_rocksky/shout/remove_shout.rs index 4b4cecdd..1746bcd2 100644 --- a/crates/jacquard-api/src/app_rocksky/shout/remove_shout.rs +++ b/crates/jacquard-api/src/app_rocksky/shout/remove_shout.rs @@ -8,24 +8,29 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_rocksky::shout::ShoutView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_rocksky::shout::ShoutView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct RemoveShoutParams { pub id: S, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct RemoveShoutOutput { #[serde(flatten)] pub value: ShoutView, @@ -48,9 +53,8 @@ impl jacquard_common::xrpc::XrpcResp for RemoveShoutResponse { impl jacquard_common::xrpc::XrpcRequest for RemoveShout { const NSID: &'static str = "app.rocksky.shout.removeShout"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = RemoveShoutResponse; } @@ -58,16 +62,15 @@ impl jacquard_common::xrpc::XrpcRequest for RemoveShout { pub struct RemoveShoutRequest; impl jacquard_common::xrpc::XrpcEndpoint for RemoveShoutRequest { const PATH: &'static str = "/xrpc/app.rocksky.shout.removeShout"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = RemoveShout; type Response = RemoveShoutResponse; } pub mod remove_shout_params_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -152,4 +155,4 @@ where id: self._fields.0.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/shout/reply_shout.rs b/crates/jacquard-api/src/app_rocksky/shout/reply_shout.rs index 76d4e419..1d30f7aa 100644 --- a/crates/jacquard-api/src/app_rocksky/shout/reply_shout.rs +++ b/crates/jacquard-api/src/app_rocksky/shout/reply_shout.rs @@ -8,17 +8,20 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_rocksky::shout::ShoutView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_rocksky::shout::ShoutView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ReplyShout { ///The content of the reply pub message: S, @@ -28,9 +31,11 @@ pub struct ReplyShout { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ReplyShoutOutput { #[serde(flatten)] pub value: ShoutView, @@ -49,9 +54,8 @@ impl jacquard_common::xrpc::XrpcResp for ReplyShoutResponse { impl jacquard_common::xrpc::XrpcRequest for ReplyShout { const NSID: &'static str = "app.rocksky.shout.replyShout"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = ReplyShoutResponse; } @@ -59,9 +63,8 @@ impl jacquard_common::xrpc::XrpcRequest for ReplyShout { pub struct ReplyShoutRequest; impl jacquard_common::xrpc::XrpcEndpoint for ReplyShoutRequest { const PATH: &'static str = "/xrpc/app.rocksky.shout.replyShout"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = ReplyShout; type Response = ReplyShoutResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/shout/report_shout.rs b/crates/jacquard-api/src/app_rocksky/shout/report_shout.rs index fa08c071..2272fe11 100644 --- a/crates/jacquard-api/src/app_rocksky/shout/report_shout.rs +++ b/crates/jacquard-api/src/app_rocksky/shout/report_shout.rs @@ -8,17 +8,20 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_rocksky::shout::ShoutView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_rocksky::shout::ShoutView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ReportShout { ///The reason for reporting the shout #[serde(skip_serializing_if = "Option::is_none")] @@ -29,9 +32,11 @@ pub struct ReportShout { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ReportShoutOutput { #[serde(flatten)] pub value: ShoutView, @@ -50,9 +55,8 @@ impl jacquard_common::xrpc::XrpcResp for ReportShoutResponse { impl jacquard_common::xrpc::XrpcRequest for ReportShout { const NSID: &'static str = "app.rocksky.shout.reportShout"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = ReportShoutResponse; } @@ -60,9 +64,8 @@ impl jacquard_common::xrpc::XrpcRequest for ReportShout { pub struct ReportShoutRequest; impl jacquard_common::xrpc::XrpcEndpoint for ReportShoutRequest { const PATH: &'static str = "/xrpc/app.rocksky.shout.reportShout"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = ReportShout; type Response = ReportShoutResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/song.rs b/crates/jacquard-api/src/app_rocksky/song.rs index 1c05723f..8ca7f649 100644 --- a/crates/jacquard-api/src/app_rocksky/song.rs +++ b/crates/jacquard-api/src/app_rocksky/song.rs @@ -10,13 +10,12 @@ pub mod get_song; pub mod get_songs; pub mod match_song; - #[allow(unused_imports)] use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -31,10 +30,10 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::app_rocksky::artist::ArtistMbid; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::app_rocksky::artist::ArtistMbid; +use serde::{Deserialize, Serialize}; /// A declaration of a song. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -129,9 +128,11 @@ pub struct SongGetRecordOutput { pub value: Song, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct SongViewBasic { ///The album of the song. #[serde(skip_serializing_if = "Option::is_none")] @@ -187,9 +188,11 @@ pub struct SongViewBasic { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct SongViewDetailed { ///The album of the song. #[serde(skip_serializing_if = "Option::is_none")] @@ -327,25 +330,20 @@ impl LexiconSchema for Song { { let mime = value.blob().mime_type.as_str(); let accepted: &[&str] = &["image/png", "image/jpeg"]; - let matched = accepted - .iter() - .any(|pattern| { - if *pattern == "*/*" { - true - } else if pattern.ends_with("/*") { - let prefix = &pattern[..pattern.len() - 2]; - mime.starts_with(prefix) - && mime.as_bytes().get(prefix.len()) == Some(&b'/') - } else { - mime == *pattern - } - }); + let matched = accepted.iter().any(|pattern| { + if *pattern == "*/*" { + true + } else if pattern.ends_with("/*") { + let prefix = &pattern[..pattern.len() - 2]; + mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/') + } else { + mime == *pattern + } + }); if !matched { return Err(ConstraintError::BlobMimeTypeNotAccepted { path: ValidationPath::from_field("album_art"), - accepted: vec![ - "image/png".to_string(), "image/jpeg".to_string() - ], + accepted: vec!["image/png".to_string(), "image/jpeg".to_string()], actual: mime.to_string(), }); } @@ -587,7 +585,7 @@ impl LexiconSchema for SongViewDetailed { pub mod song_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -743,31 +741,8 @@ impl SongBuilder { SongBuilder { _state: PhantomData, _fields: ( - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, ), _type: PhantomData, } @@ -780,10 +755,7 @@ where St::Album: song_state::IsUnset, { /// Set the `album` field (required) - pub fn album( - mut self, - value: impl Into, - ) -> SongBuilder> { + pub fn album(mut self, value: impl Into) -> SongBuilder> { self._fields.0 = Option::Some(value.into()); SongBuilder { _state: PhantomData, @@ -857,10 +829,7 @@ where St::Artist: song_state::IsUnset, { /// Set the `artist` field (required) - pub fn artist( - mut self, - value: impl Into, - ) -> SongBuilder> { + pub fn artist(mut self, value: impl Into) -> SongBuilder> { self._fields.5 = Option::Some(value.into()); SongBuilder { _state: PhantomData, @@ -1070,10 +1039,7 @@ where St::Title: song_state::IsUnset, { /// Set the `title` field (required) - pub fn title( - mut self, - value: impl Into, - ) -> SongBuilder> { + pub fn title(mut self, value: impl Into) -> SongBuilder> { self._fields.20 = Option::Some(value.into()); SongBuilder { _state: PhantomData, @@ -1210,10 +1176,10 @@ where } fn lexicon_doc_app_rocksky_song() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.rocksky.song"), @@ -1225,24 +1191,21 @@ fn lexicon_doc_app_rocksky_song() -> LexiconDoc<'static> { description: Some(CowStr::new_static("A declaration of a song.")), key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("title"), SmolStr::new_static("artist"), - SmolStr::new_static("album"), - SmolStr::new_static("albumArtist"), - SmolStr::new_static("duration"), - SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("title"), + SmolStr::new_static("artist"), + SmolStr::new_static("album"), + SmolStr::new_static("albumArtist"), + SmolStr::new_static("duration"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("album"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The album of the song."), - ), + description: Some(CowStr::new_static("The album of the song.")), min_length: Some(1usize), max_length: Some(256usize), ..Default::default() @@ -1250,14 +1213,16 @@ fn lexicon_doc_app_rocksky_song() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("albumArt"), - LexObjectProperty::Blob(LexBlob { ..Default::default() }), + LexObjectProperty::Blob(LexBlob { + ..Default::default() + }), ); map.insert( SmolStr::new_static("albumArtUrl"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The URL of the album art of the song."), - ), + description: Some(CowStr::new_static( + "The URL of the album art of the song.", + )), format: Some(LexStringFormat::Uri), ..Default::default() }), @@ -1265,9 +1230,9 @@ fn lexicon_doc_app_rocksky_song() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("albumArtist"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The album artist of the song."), - ), + description: Some(CowStr::new_static( + "The album artist of the song.", + )), min_length: Some(1usize), max_length: Some(256usize), ..Default::default() @@ -1276,9 +1241,9 @@ fn lexicon_doc_app_rocksky_song() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("appleMusicLink"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The Apple Music link of the song."), - ), + description: Some(CowStr::new_static( + "The Apple Music link of the song.", + )), format: Some(LexStringFormat::Uri), ..Default::default() }), @@ -1286,9 +1251,9 @@ fn lexicon_doc_app_rocksky_song() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("artist"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The artist of the song."), - ), + description: Some(CowStr::new_static( + "The artist of the song.", + )), min_length: Some(1usize), max_length: Some(256usize), ..Default::default() @@ -1297,11 +1262,9 @@ fn lexicon_doc_app_rocksky_song() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("artists"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static( - "The artists of the song with MusicBrainz IDs.", - ), - ), + description: Some(CowStr::new_static( + "The artists of the song with MusicBrainz IDs.", + )), items: LexArrayItem::Ref(LexRef { r#ref: CowStr::new_static( "app.rocksky.artist.defs#artistMbid", @@ -1314,9 +1277,9 @@ fn lexicon_doc_app_rocksky_song() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("composer"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The composer of the song."), - ), + description: Some(CowStr::new_static( + "The composer of the song.", + )), max_length: Some(256usize), ..Default::default() }), @@ -1324,9 +1287,9 @@ fn lexicon_doc_app_rocksky_song() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("copyrightMessage"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The copyright message of the song."), - ), + description: Some(CowStr::new_static( + "The copyright message of the song.", + )), max_length: Some(256usize), ..Default::default() }), @@ -1334,9 +1297,9 @@ fn lexicon_doc_app_rocksky_song() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("createdAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The date when the song was created."), - ), + description: Some(CowStr::new_static( + "The date when the song was created.", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -1358,9 +1321,7 @@ fn lexicon_doc_app_rocksky_song() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("genre"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The genre of the song."), - ), + description: Some(CowStr::new_static("The genre of the song.")), min_length: Some(1usize), max_length: Some(256usize), ..Default::default() @@ -1369,9 +1330,7 @@ fn lexicon_doc_app_rocksky_song() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("label"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The label of the song."), - ), + description: Some(CowStr::new_static("The label of the song.")), max_length: Some(256usize), ..Default::default() }), @@ -1379,9 +1338,9 @@ fn lexicon_doc_app_rocksky_song() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("lyrics"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The lyrics of the song."), - ), + description: Some(CowStr::new_static( + "The lyrics of the song.", + )), max_length: Some(10000usize), ..Default::default() }), @@ -1389,18 +1348,18 @@ fn lexicon_doc_app_rocksky_song() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("mbid"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The MusicBrainz ID of the song."), - ), + description: Some(CowStr::new_static( + "The MusicBrainz ID of the song.", + )), ..Default::default() }), ); map.insert( SmolStr::new_static("releaseDate"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The release date of the song."), - ), + description: Some(CowStr::new_static( + "The release date of the song.", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -1408,9 +1367,9 @@ fn lexicon_doc_app_rocksky_song() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("spotifyLink"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The Spotify link of the song."), - ), + description: Some(CowStr::new_static( + "The Spotify link of the song.", + )), format: Some(LexStringFormat::Uri), ..Default::default() }), @@ -1418,9 +1377,7 @@ fn lexicon_doc_app_rocksky_song() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("tags"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static("The tags of the song."), - ), + description: Some(CowStr::new_static("The tags of the song.")), items: LexArrayItem::String(LexString { min_length: Some(1usize), max_length: Some(256usize), @@ -1432,9 +1389,9 @@ fn lexicon_doc_app_rocksky_song() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("tidalLink"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The Tidal link of the song."), - ), + description: Some(CowStr::new_static( + "The Tidal link of the song.", + )), format: Some(LexStringFormat::Uri), ..Default::default() }), @@ -1442,9 +1399,7 @@ fn lexicon_doc_app_rocksky_song() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("title"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The title of the song."), - ), + description: Some(CowStr::new_static("The title of the song.")), min_length: Some(1usize), max_length: Some(512usize), ..Default::default() @@ -1460,9 +1415,9 @@ fn lexicon_doc_app_rocksky_song() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("wiki"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Informations about the song"), - ), + description: Some(CowStr::new_static( + "Informations about the song", + )), max_length: Some(10000usize), ..Default::default() }), @@ -1476,9 +1431,9 @@ fn lexicon_doc_app_rocksky_song() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("youtubeLink"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The YouTube link of the song."), - ), + description: Some(CowStr::new_static( + "The YouTube link of the song.", + )), format: Some(LexStringFormat::Uri), ..Default::default() }), @@ -1497,10 +1452,10 @@ fn lexicon_doc_app_rocksky_song() -> LexiconDoc<'static> { } fn lexicon_doc_app_rocksky_song_defs() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.rocksky.song.defs"), @@ -1515,18 +1470,16 @@ fn lexicon_doc_app_rocksky_song_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("album"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The album of the song."), - ), + description: Some(CowStr::new_static("The album of the song.")), ..Default::default() }), ); map.insert( SmolStr::new_static("albumArt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The URL of the album art image."), - ), + description: Some(CowStr::new_static( + "The URL of the album art image.", + )), format: Some(LexStringFormat::Uri), ..Default::default() }), @@ -1534,22 +1487,18 @@ fn lexicon_doc_app_rocksky_song_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("albumArtist"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "The artist of the album the song belongs to.", - ), - ), + description: Some(CowStr::new_static( + "The artist of the album the song belongs to.", + )), ..Default::default() }), ); map.insert( SmolStr::new_static("albumUri"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "The URI of the album the song belongs to.", - ), - ), + description: Some(CowStr::new_static( + "The URI of the album the song belongs to.", + )), format: Some(LexStringFormat::AtUri), ..Default::default() }), @@ -1557,18 +1506,16 @@ fn lexicon_doc_app_rocksky_song_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("artist"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The artist of the song."), - ), + description: Some(CowStr::new_static("The artist of the song.")), ..Default::default() }), ); map.insert( SmolStr::new_static("artistUri"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The URI of the artist of the song."), - ), + description: Some(CowStr::new_static( + "The URI of the artist of the song.", + )), format: Some(LexStringFormat::AtUri), ..Default::default() }), @@ -1576,11 +1523,9 @@ fn lexicon_doc_app_rocksky_song_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("createdAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "The timestamp when the song was created.", - ), - ), + description: Some(CowStr::new_static( + "The timestamp when the song was created.", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -1600,9 +1545,9 @@ fn lexicon_doc_app_rocksky_song_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("id"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The unique identifier of the song."), - ), + description: Some(CowStr::new_static( + "The unique identifier of the song.", + )), ..Default::default() }), ); @@ -1616,9 +1561,9 @@ fn lexicon_doc_app_rocksky_song_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("sha256"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The SHA256 hash of the song."), - ), + description: Some(CowStr::new_static( + "The SHA256 hash of the song.", + )), ..Default::default() }), ); @@ -1634,9 +1579,7 @@ fn lexicon_doc_app_rocksky_song_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("title"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The title of the song."), - ), + description: Some(CowStr::new_static("The title of the song.")), ..Default::default() }), ); @@ -1656,9 +1599,7 @@ fn lexicon_doc_app_rocksky_song_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("uri"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The URI of the song."), - ), + description: Some(CowStr::new_static("The URI of the song.")), format: Some(LexStringFormat::AtUri), ..Default::default() }), @@ -1677,18 +1618,16 @@ fn lexicon_doc_app_rocksky_song_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("album"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The album of the song."), - ), + description: Some(CowStr::new_static("The album of the song.")), ..Default::default() }), ); map.insert( SmolStr::new_static("albumArt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The URL of the album art image."), - ), + description: Some(CowStr::new_static( + "The URL of the album art image.", + )), format: Some(LexStringFormat::Uri), ..Default::default() }), @@ -1696,22 +1635,18 @@ fn lexicon_doc_app_rocksky_song_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("albumArtist"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "The artist of the album the song belongs to.", - ), - ), + description: Some(CowStr::new_static( + "The artist of the album the song belongs to.", + )), ..Default::default() }), ); map.insert( SmolStr::new_static("albumUri"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "The URI of the album the song belongs to.", - ), - ), + description: Some(CowStr::new_static( + "The URI of the album the song belongs to.", + )), format: Some(LexStringFormat::AtUri), ..Default::default() }), @@ -1719,18 +1654,16 @@ fn lexicon_doc_app_rocksky_song_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("artist"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The artist of the song."), - ), + description: Some(CowStr::new_static("The artist of the song.")), ..Default::default() }), ); map.insert( SmolStr::new_static("artistUri"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The URI of the artist of the song."), - ), + description: Some(CowStr::new_static( + "The URI of the artist of the song.", + )), format: Some(LexStringFormat::AtUri), ..Default::default() }), @@ -1738,11 +1671,9 @@ fn lexicon_doc_app_rocksky_song_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("createdAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "The timestamp when the song was created.", - ), - ), + description: Some(CowStr::new_static( + "The timestamp when the song was created.", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -1762,9 +1693,9 @@ fn lexicon_doc_app_rocksky_song_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("id"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The unique identifier of the song."), - ), + description: Some(CowStr::new_static( + "The unique identifier of the song.", + )), ..Default::default() }), ); @@ -1778,9 +1709,9 @@ fn lexicon_doc_app_rocksky_song_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("sha256"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The SHA256 hash of the song."), - ), + description: Some(CowStr::new_static( + "The SHA256 hash of the song.", + )), ..Default::default() }), ); @@ -1796,9 +1727,7 @@ fn lexicon_doc_app_rocksky_song_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("title"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The title of the song."), - ), + description: Some(CowStr::new_static("The title of the song.")), ..Default::default() }), ); @@ -1818,9 +1747,7 @@ fn lexicon_doc_app_rocksky_song_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("uri"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The URI of the song."), - ), + description: Some(CowStr::new_static("The URI of the song.")), format: Some(LexStringFormat::AtUri), ..Default::default() }), @@ -1834,4 +1761,4 @@ fn lexicon_doc_app_rocksky_song_defs() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/song/create_song.rs b/crates/jacquard-api/src/app_rocksky/song/create_song.rs index 6fba6e09..28fa1cbc 100644 --- a/crates/jacquard-api/src/app_rocksky/song/create_song.rs +++ b/crates/jacquard-api/src/app_rocksky/song/create_song.rs @@ -8,18 +8,21 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_rocksky::song::SongViewDetailed; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::UriValue; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_rocksky::song::SongViewDetailed; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct CreateSong { ///The album of the song, if applicable pub album: S, @@ -57,9 +60,11 @@ pub struct CreateSong { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct CreateSongOutput { #[serde(flatten)] pub value: SongViewDetailed, @@ -78,9 +83,8 @@ impl jacquard_common::xrpc::XrpcResp for CreateSongResponse { impl jacquard_common::xrpc::XrpcRequest for CreateSong { const NSID: &'static str = "app.rocksky.song.createSong"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = CreateSongResponse; } @@ -88,9 +92,8 @@ impl jacquard_common::xrpc::XrpcRequest for CreateSong { pub struct CreateSongRequest; impl jacquard_common::xrpc::XrpcEndpoint for CreateSongRequest { const PATH: &'static str = "/xrpc/app.rocksky.song.createSong"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = CreateSong; type Response = CreateSongResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/song/get_song.rs b/crates/jacquard-api/src/app_rocksky/song/get_song.rs index 473b8caa..5756ee7f 100644 --- a/crates/jacquard-api/src/app_rocksky/song/get_song.rs +++ b/crates/jacquard-api/src/app_rocksky/song/get_song.rs @@ -8,25 +8,30 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_rocksky::song::SongViewDetailed; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::AtUri; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_rocksky::song::SongViewDetailed; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetSong { pub uri: AtUri, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetSongOutput { #[serde(flatten)] pub value: SongViewDetailed, @@ -60,7 +65,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetSongRequest { pub mod get_song_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -145,4 +150,4 @@ where uri: self._fields.0.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/song/get_songs.rs b/crates/jacquard-api/src/app_rocksky/song/get_songs.rs index 0fb4a5fe..ef0bbe42 100644 --- a/crates/jacquard-api/src/app_rocksky/song/get_songs.rs +++ b/crates/jacquard-api/src/app_rocksky/song/get_songs.rs @@ -8,17 +8,20 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_rocksky::song::SongViewBasic; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_rocksky::song::SongViewBasic; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetSongs { #[serde(skip_serializing_if = "Option::is_none")] pub genre: Option, @@ -30,9 +33,11 @@ pub struct GetSongs { pub offset: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetSongsOutput { #[serde(skip_serializing_if = "Option::is_none")] pub songs: Option>>, @@ -66,7 +71,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetSongsRequest { pub mod get_songs_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -159,4 +164,4 @@ where offset: self._fields.2, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/song/match_song.rs b/crates/jacquard-api/src/app_rocksky/song/match_song.rs index 102bd5e7..2719b5e3 100644 --- a/crates/jacquard-api/src/app_rocksky/song/match_song.rs +++ b/crates/jacquard-api/src/app_rocksky/song/match_song.rs @@ -8,25 +8,30 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_rocksky::song::SongViewDetailed; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_rocksky::song::SongViewDetailed; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct MatchSong { pub artist: S, pub title: S, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct MatchSongOutput { #[serde(flatten)] pub value: SongViewDetailed, @@ -60,7 +65,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for MatchSongRequest { pub mod match_song_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -178,4 +183,4 @@ where title: self._fields.1.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/spotify.rs b/crates/jacquard-api/src/app_rocksky/spotify.rs index 2bda01b1..84a60d9f 100644 --- a/crates/jacquard-api/src/app_rocksky/spotify.rs +++ b/crates/jacquard-api/src/app_rocksky/spotify.rs @@ -12,10 +12,9 @@ pub mod play; pub mod previous; pub mod seek; - #[allow(unused_imports)] use alloc::collections::BTreeMap; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -27,10 +26,13 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct SpotifyTrackView { ///The name of the album. #[serde(skip_serializing_if = "Option::is_none")] @@ -70,10 +72,10 @@ impl LexiconSchema for SpotifyTrackView { } fn lexicon_doc_app_rocksky_spotify_defs() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.rocksky.spotify.defs"), @@ -88,18 +90,14 @@ fn lexicon_doc_app_rocksky_spotify_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("album"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The name of the album."), - ), + description: Some(CowStr::new_static("The name of the album.")), ..Default::default() }), ); map.insert( SmolStr::new_static("artist"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The name of the artist."), - ), + description: Some(CowStr::new_static("The name of the artist.")), ..Default::default() }), ); @@ -112,29 +110,25 @@ fn lexicon_doc_app_rocksky_spotify_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("id"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "The unique identifier of the Spotify track.", - ), - ), + description: Some(CowStr::new_static( + "The unique identifier of the Spotify track.", + )), ..Default::default() }), ); map.insert( SmolStr::new_static("name"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The name of the track."), - ), + description: Some(CowStr::new_static("The name of the track.")), ..Default::default() }), ); map.insert( SmolStr::new_static("previewUrl"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("A URL to a preview of the track."), - ), + description: Some(CowStr::new_static( + "A URL to a preview of the track.", + )), ..Default::default() }), ); @@ -147,4 +141,4 @@ fn lexicon_doc_app_rocksky_spotify_defs() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/spotify/get_currently_playing.rs b/crates/jacquard-api/src/app_rocksky/spotify/get_currently_playing.rs index 5acbab06..47baa4e2 100644 --- a/crates/jacquard-api/src/app_rocksky/spotify/get_currently_playing.rs +++ b/crates/jacquard-api/src/app_rocksky/spotify/get_currently_playing.rs @@ -8,26 +8,31 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_rocksky::player::CurrentlyPlayingViewDetailed; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::ident::AtIdentifier; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_rocksky::player::CurrentlyPlayingViewDetailed; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetCurrentlyPlaying { #[serde(skip_serializing_if = "Option::is_none")] pub actor: Option>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetCurrentlyPlayingOutput { #[serde(flatten)] pub value: CurrentlyPlayingViewDetailed, @@ -61,7 +66,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetCurrentlyPlayingRequest { pub mod get_currently_playing_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -79,10 +84,7 @@ pub mod get_currently_playing_state { } /// Builder for constructing an instance of this type. -pub struct GetCurrentlyPlayingBuilder< - S: BosStr, - St: get_currently_playing_state::State, -> { +pub struct GetCurrentlyPlayingBuilder { _state: PhantomData St>, _fields: (Option>,), _type: PhantomData S>, @@ -106,10 +108,7 @@ impl GetCurrentlyPlayingBuilder GetCurrentlyPlayingBuilder { +impl GetCurrentlyPlayingBuilder { /// Set the `actor` field (optional) pub fn actor(mut self, value: impl Into>>) -> Self { self._fields.0 = value.into(); @@ -132,4 +131,4 @@ where actor: self._fields.0, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/spotify/next.rs b/crates/jacquard-api/src/app_rocksky/spotify/next.rs index 165ef240..4100438f 100644 --- a/crates/jacquard-api/src/app_rocksky/spotify/next.rs +++ b/crates/jacquard-api/src/app_rocksky/spotify/next.rs @@ -10,11 +10,11 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// XRPC request marker type. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Copy)] @@ -30,9 +30,8 @@ impl jacquard_common::xrpc::XrpcResp for NextResponse { impl jacquard_common::xrpc::XrpcRequest for Next { const NSID: &'static str = "app.rocksky.spotify.next"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = NextResponse; } @@ -40,9 +39,8 @@ impl jacquard_common::xrpc::XrpcRequest for Next { pub struct NextRequest; impl jacquard_common::xrpc::XrpcEndpoint for NextRequest { const PATH: &'static str = "/xrpc/app.rocksky.spotify.next"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = Next; type Response = NextResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/spotify/pause.rs b/crates/jacquard-api/src/app_rocksky/spotify/pause.rs index 29d0f7a0..787372eb 100644 --- a/crates/jacquard-api/src/app_rocksky/spotify/pause.rs +++ b/crates/jacquard-api/src/app_rocksky/spotify/pause.rs @@ -10,11 +10,11 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// XRPC request marker type. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Copy)] @@ -30,9 +30,8 @@ impl jacquard_common::xrpc::XrpcResp for PauseResponse { impl jacquard_common::xrpc::XrpcRequest for Pause { const NSID: &'static str = "app.rocksky.spotify.pause"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = PauseResponse; } @@ -40,9 +39,8 @@ impl jacquard_common::xrpc::XrpcRequest for Pause { pub struct PauseRequest; impl jacquard_common::xrpc::XrpcEndpoint for PauseRequest { const PATH: &'static str = "/xrpc/app.rocksky.spotify.pause"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = Pause; type Response = PauseResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/spotify/play.rs b/crates/jacquard-api/src/app_rocksky/spotify/play.rs index c45e51d2..d24801f5 100644 --- a/crates/jacquard-api/src/app_rocksky/spotify/play.rs +++ b/crates/jacquard-api/src/app_rocksky/spotify/play.rs @@ -10,11 +10,11 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// XRPC request marker type. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Copy)] @@ -30,9 +30,8 @@ impl jacquard_common::xrpc::XrpcResp for PlayResponse { impl jacquard_common::xrpc::XrpcRequest for Play { const NSID: &'static str = "app.rocksky.spotify.play"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = PlayResponse; } @@ -40,9 +39,8 @@ impl jacquard_common::xrpc::XrpcRequest for Play { pub struct PlayRequest; impl jacquard_common::xrpc::XrpcEndpoint for PlayRequest { const PATH: &'static str = "/xrpc/app.rocksky.spotify.play"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = Play; type Response = PlayResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/spotify/previous.rs b/crates/jacquard-api/src/app_rocksky/spotify/previous.rs index 23776c03..6bac5509 100644 --- a/crates/jacquard-api/src/app_rocksky/spotify/previous.rs +++ b/crates/jacquard-api/src/app_rocksky/spotify/previous.rs @@ -10,11 +10,11 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// XRPC request marker type. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Copy)] @@ -30,9 +30,8 @@ impl jacquard_common::xrpc::XrpcResp for PreviousResponse { impl jacquard_common::xrpc::XrpcRequest for Previous { const NSID: &'static str = "app.rocksky.spotify.previous"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = PreviousResponse; } @@ -40,9 +39,8 @@ impl jacquard_common::xrpc::XrpcRequest for Previous { pub struct PreviousRequest; impl jacquard_common::xrpc::XrpcEndpoint for PreviousRequest { const PATH: &'static str = "/xrpc/app.rocksky.spotify.previous"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = Previous; type Response = PreviousResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/spotify/seek.rs b/crates/jacquard-api/src/app_rocksky/spotify/seek.rs index da2f64ba..b07efae1 100644 --- a/crates/jacquard-api/src/app_rocksky/spotify/seek.rs +++ b/crates/jacquard-api/src/app_rocksky/spotify/seek.rs @@ -10,11 +10,11 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(rename_all = "camelCase")] @@ -37,9 +37,8 @@ impl jacquard_common::xrpc::XrpcResp for SeekResponse { impl jacquard_common::xrpc::XrpcRequest for Seek { const NSID: &'static str = "app.rocksky.spotify.seek"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = SeekResponse; } @@ -47,16 +46,15 @@ impl jacquard_common::xrpc::XrpcRequest for Seek { pub struct SeekRequest; impl jacquard_common::xrpc::XrpcEndpoint for SeekRequest { const PATH: &'static str = "/xrpc/app.rocksky.spotify.seek"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = Seek; type Response = SeekResponse; } pub mod seek_params_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -138,4 +136,4 @@ where position: self._fields.0.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/stats.rs b/crates/jacquard-api/src/app_rocksky/stats.rs index 3c65113b..6f24b762 100644 --- a/crates/jacquard-api/src/app_rocksky/stats.rs +++ b/crates/jacquard-api/src/app_rocksky/stats.rs @@ -7,7 +7,6 @@ pub mod get_stats; - #[allow(unused_imports)] use alloc::collections::BTreeMap; use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; @@ -22,10 +21,13 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct StatsView { ///The total number of unique albums scrobbled. #[serde(skip_serializing_if = "Option::is_none")] @@ -62,10 +64,10 @@ impl LexiconSchema for StatsView { } fn lexicon_doc_app_rocksky_stats_defs() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("app.rocksky.stats.defs"), @@ -116,4 +118,4 @@ fn lexicon_doc_app_rocksky_stats_defs() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/app_rocksky/stats/get_stats.rs b/crates/jacquard-api/src/app_rocksky/stats/get_stats.rs index b90b680b..4fe80556 100644 --- a/crates/jacquard-api/src/app_rocksky/stats/get_stats.rs +++ b/crates/jacquard-api/src/app_rocksky/stats/get_stats.rs @@ -8,25 +8,30 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::app_rocksky::stats::StatsView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::ident::AtIdentifier; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::app_rocksky::stats::StatsView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetStats { pub did: AtIdentifier, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetStatsOutput { #[serde(flatten)] pub value: StatsView, @@ -60,7 +65,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetStatsRequest { pub mod get_stats_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -145,4 +150,4 @@ where did: self._fields.0.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/art_cllctv.rs b/crates/jacquard-api/src/art_cllctv.rs index f43a85d2..601c4534 100644 --- a/crates/jacquard-api/src/art_cllctv.rs +++ b/crates/jacquard-api/src/art_cllctv.rs @@ -5,4 +5,4 @@ pub mod content; pub mod embed; -pub mod feed; \ No newline at end of file +pub mod feed; diff --git a/crates/jacquard-api/src/art_cllctv/content.rs b/crates/jacquard-api/src/art_cllctv/content.rs index f9be1837..fcac75d6 100644 --- a/crates/jacquard-api/src/art_cllctv/content.rs +++ b/crates/jacquard-api/src/art_cllctv/content.rs @@ -4,4 +4,4 @@ // Any manual changes will be overwritten on the next regeneration. pub mod markdoc; -pub mod plaintext; \ No newline at end of file +pub mod plaintext; diff --git a/crates/jacquard-api/src/art_cllctv/content/markdoc.rs b/crates/jacquard-api/src/art_cllctv/content/markdoc.rs index f6699b3d..f005bec3 100644 --- a/crates/jacquard-api/src/art_cllctv/content/markdoc.rs +++ b/crates/jacquard-api/src/art_cllctv/content/markdoc.rs @@ -7,7 +7,7 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -17,13 +17,16 @@ use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::app_bsky::richtext::facet::Facet; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::richtext::facet::Facet; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Markdoc { #[serde(skip_serializing_if = "Option::is_none")] pub facets: Option>>, @@ -48,10 +51,10 @@ impl LexiconSchema for Markdoc { } fn lexicon_doc_art_cllctv_content_markdoc() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("art.cllctv.content.markdoc"), @@ -76,7 +79,9 @@ fn lexicon_doc_art_cllctv_content_markdoc() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("markdoc"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map }, @@ -87,4 +92,4 @@ fn lexicon_doc_art_cllctv_content_markdoc() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/art_cllctv/content/plaintext.rs b/crates/jacquard-api/src/art_cllctv/content/plaintext.rs index 17368227..88b35772 100644 --- a/crates/jacquard-api/src/art_cllctv/content/plaintext.rs +++ b/crates/jacquard-api/src/art_cllctv/content/plaintext.rs @@ -7,7 +7,7 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -17,13 +17,16 @@ use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::app_bsky::richtext::facet::Facet; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::richtext::facet::Facet; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Plaintext { #[serde(skip_serializing_if = "Option::is_none")] pub facets: Option>>, @@ -48,10 +51,10 @@ impl LexiconSchema for Plaintext { } fn lexicon_doc_art_cllctv_content_plaintext() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("art.cllctv.content.plaintext"), @@ -76,7 +79,9 @@ fn lexicon_doc_art_cllctv_content_plaintext() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("plaintext"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map }, @@ -87,4 +92,4 @@ fn lexicon_doc_art_cllctv_content_plaintext() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/art_cllctv/embed.rs b/crates/jacquard-api/src/art_cllctv/embed.rs index b5c5e4ba..3bf51ab3 100644 --- a/crates/jacquard-api/src/art_cllctv/embed.rs +++ b/crates/jacquard-api/src/art_cllctv/embed.rs @@ -9,10 +9,9 @@ pub mod external; pub mod external_video; pub mod images; - #[allow(unused_imports)] use alloc::collections::BTreeMap; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -22,13 +21,16 @@ use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::art_cllctv::embed; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::art_cllctv::embed; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Tombstone { #[serde(skip_serializing_if = "Option::is_none")] pub camera: Option>, @@ -42,9 +44,11 @@ pub struct Tombstone { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct TombstoneCamera { #[serde(skip_serializing_if = "Option::is_none")] pub make: Option, @@ -54,9 +58,11 @@ pub struct TombstoneCamera { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct TombstoneDimensions { #[serde(skip_serializing_if = "Option::is_none")] pub depth: Option, @@ -70,9 +76,11 @@ pub struct TombstoneDimensions { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct TombstoneLens { #[serde(skip_serializing_if = "Option::is_none")] pub exposure_time: Option, @@ -147,10 +155,10 @@ impl LexiconSchema for TombstoneLens { } fn lexicon_doc_art_cllctv_embed_defs() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("art.cllctv.embed.defs"), @@ -205,11 +213,15 @@ fn lexicon_doc_art_cllctv_embed_defs() -> LexiconDoc<'static> { let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("make"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("model"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map }, @@ -236,7 +248,9 @@ fn lexicon_doc_art_cllctv_embed_defs() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("unit"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("width"), @@ -257,19 +271,27 @@ fn lexicon_doc_art_cllctv_embed_defs() -> LexiconDoc<'static> { let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("exposureTime"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("fnumber"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("focalLength"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("iso"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map }, @@ -280,4 +302,4 @@ fn lexicon_doc_art_cllctv_embed_defs() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/art_cllctv/embed/external.rs b/crates/jacquard-api/src/art_cllctv/embed/external.rs index 6128d44b..63b5740e 100644 --- a/crates/jacquard-api/src/art_cllctv/embed/external.rs +++ b/crates/jacquard-api/src/art_cllctv/embed/external.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,10 +24,13 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct External { pub description: S, #[serde(skip_serializing_if = "Option::is_none")] @@ -40,9 +43,11 @@ pub struct External { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct View { pub description: S, #[serde(skip_serializing_if = "Option::is_none")] @@ -80,19 +85,16 @@ impl LexiconSchema for External { { let mime = value.blob().mime_type.as_str(); let accepted: &[&str] = &["image/*"]; - let matched = accepted - .iter() - .any(|pattern| { - if *pattern == "*/*" { - true - } else if pattern.ends_with("/*") { - let prefix = &pattern[..pattern.len() - 2]; - mime.starts_with(prefix) - && mime.as_bytes().get(prefix.len()) == Some(&b'/') - } else { - mime == *pattern - } - }); + let matched = accepted.iter().any(|pattern| { + if *pattern == "*/*" { + true + } else if pattern.ends_with("/*") { + let prefix = &pattern[..pattern.len() - 2]; + mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/') + } else { + mime == *pattern + } + }); if !matched { return Err(ConstraintError::BlobMimeTypeNotAccepted { path: ValidationPath::from_field("thumb"), @@ -145,7 +147,7 @@ impl LexiconSchema for View { pub mod external_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -204,7 +206,13 @@ pub mod external_state { /// Builder for constructing an instance of this type. pub struct ExternalBuilder { _state: PhantomData St>, - _fields: (Option, Option>, Option, Option, Option>), + _fields: ( + Option, + Option>, + Option, + Option, + Option>, + ), _type: PhantomData S>, } @@ -341,10 +349,10 @@ where } fn lexicon_doc_art_cllctv_embed_external() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("art.cllctv.embed.external"), @@ -353,22 +361,25 @@ fn lexicon_doc_art_cllctv_embed_external() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("uri"), SmolStr::new_static("title"), - SmolStr::new_static("description") - ], - ), + required: Some(vec![ + SmolStr::new_static("uri"), + SmolStr::new_static("title"), + SmolStr::new_static("description"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("description"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("thumb"), - LexObjectProperty::Blob(LexBlob { ..Default::default() }), + LexObjectProperty::Blob(LexBlob { + ..Default::default() + }), ); map.insert( SmolStr::new_static("thumbHash"), @@ -380,7 +391,9 @@ fn lexicon_doc_art_cllctv_embed_external() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("title"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("uri"), @@ -397,18 +410,19 @@ fn lexicon_doc_art_cllctv_embed_external() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("view"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("uri"), SmolStr::new_static("title"), - SmolStr::new_static("description") - ], - ), + required: Some(vec![ + SmolStr::new_static("uri"), + SmolStr::new_static("title"), + SmolStr::new_static("description"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("description"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("thumb"), @@ -419,7 +433,9 @@ fn lexicon_doc_art_cllctv_embed_external() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("title"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("uri"), @@ -441,7 +457,7 @@ fn lexicon_doc_art_cllctv_embed_external() -> LexiconDoc<'static> { pub mod view_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -500,7 +516,12 @@ pub mod view_state { /// Builder for constructing an instance of this type. pub struct ViewBuilder { _state: PhantomData St>, - _fields: (Option, Option>, Option, Option>), + _fields: ( + Option, + Option>, + Option, + Option>, + ), _type: PhantomData S>, } @@ -560,10 +581,7 @@ where St::Title: view_state::IsUnset, { /// Set the `title` field (required) - pub fn title( - mut self, - value: impl Into, - ) -> ViewBuilder> { + pub fn title(mut self, value: impl Into) -> ViewBuilder> { self._fields.2 = Option::Some(value.into()); ViewBuilder { _state: PhantomData, @@ -579,10 +597,7 @@ where St::Uri: view_state::IsUnset, { /// Set the `uri` field (required) - pub fn uri( - mut self, - value: impl Into>, - ) -> ViewBuilder> { + pub fn uri(mut self, value: impl Into>) -> ViewBuilder> { self._fields.3 = Option::Some(value.into()); ViewBuilder { _state: PhantomData, @@ -619,4 +634,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/art_cllctv/embed/external_video.rs b/crates/jacquard-api/src/art_cllctv/embed/external_video.rs index 676a5c4b..306118ff 100644 --- a/crates/jacquard-api/src/art_cllctv/embed/external_video.rs +++ b/crates/jacquard-api/src/art_cllctv/embed/external_video.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,10 +24,13 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ExternalVideo { #[serde(skip_serializing_if = "Option::is_none")] pub id: Option, @@ -42,9 +45,11 @@ pub struct ExternalVideo { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct View { #[serde(skip_serializing_if = "Option::is_none")] pub id: Option, @@ -84,19 +89,16 @@ impl LexiconSchema for ExternalVideo { { let mime = value.blob().mime_type.as_str(); let accepted: &[&str] = &["image/*"]; - let matched = accepted - .iter() - .any(|pattern| { - if *pattern == "*/*" { - true - } else if pattern.ends_with("/*") { - let prefix = &pattern[..pattern.len() - 2]; - mime.starts_with(prefix) - && mime.as_bytes().get(prefix.len()) == Some(&b'/') - } else { - mime == *pattern - } - }); + let matched = accepted.iter().any(|pattern| { + if *pattern == "*/*" { + true + } else if pattern.ends_with("/*") { + let prefix = &pattern[..pattern.len() - 2]; + mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/') + } else { + mime == *pattern + } + }); if !matched { return Err(ConstraintError::BlobMimeTypeNotAccepted { path: ValidationPath::from_field("thumb"), @@ -149,7 +151,7 @@ impl LexiconSchema for View { pub mod external_video_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -182,7 +184,13 @@ pub mod external_video_state { /// Builder for constructing an instance of this type. pub struct ExternalVideoBuilder { _state: PhantomData St>, - _fields: (Option, Option, Option>, Option, Option>), + _fields: ( + Option, + Option, + Option>, + Option, + Option>, + ), _type: PhantomData S>, } @@ -292,10 +300,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> ExternalVideo { + pub fn build_with_data(self, extra_data: BTreeMap>) -> ExternalVideo { ExternalVideo { id: self._fields.0, service: self._fields.1, @@ -308,10 +313,10 @@ where } fn lexicon_doc_art_cllctv_embed_externalVideo() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("art.cllctv.embed.externalVideo"), @@ -326,15 +331,21 @@ fn lexicon_doc_art_cllctv_embed_externalVideo() -> LexiconDoc<'static> { let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("id"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("service"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("thumb"), - LexObjectProperty::Blob(LexBlob { ..Default::default() }), + LexObjectProperty::Blob(LexBlob { + ..Default::default() + }), ); map.insert( SmolStr::new_static("thumbHash"), @@ -365,11 +376,15 @@ fn lexicon_doc_art_cllctv_embed_externalVideo() -> LexiconDoc<'static> { let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("id"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("service"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("thumb"), @@ -398,7 +413,7 @@ fn lexicon_doc_art_cllctv_embed_externalVideo() -> LexiconDoc<'static> { pub mod view_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -431,7 +446,12 @@ pub mod view_state { /// Builder for constructing an instance of this type. pub struct ViewBuilder { _state: PhantomData St>, - _fields: (Option, Option, Option>, Option>), + _fields: ( + Option, + Option, + Option>, + Option>, + ), _type: PhantomData S>, } @@ -498,10 +518,7 @@ where St::Uri: view_state::IsUnset, { /// Set the `uri` field (required) - pub fn uri( - mut self, - value: impl Into>, - ) -> ViewBuilder> { + pub fn uri(mut self, value: impl Into>) -> ViewBuilder> { self._fields.3 = Option::Some(value.into()); ViewBuilder { _state: PhantomData, @@ -536,4 +553,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/art_cllctv/embed/images.rs b/crates/jacquard-api/src/art_cllctv/embed/images.rs index f9d82357..a15c7cbc 100644 --- a/crates/jacquard-api/src/art_cllctv/embed/images.rs +++ b/crates/jacquard-api/src/art_cllctv/embed/images.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -22,15 +22,18 @@ use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::app_bsky::embed::AspectRatio; use crate::art_cllctv::embed::Tombstone; use crate::art_cllctv::embed::images; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Image { ///Alt text description of the image, for accessibility. pub alt: S, @@ -45,27 +48,33 @@ pub struct Image { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Images { pub images: Vec>, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct View { pub images: Vec>, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ViewImage { ///Alt text description of the image, for accessibility. pub alt: S, @@ -110,19 +119,16 @@ impl LexiconSchema for Image { { let mime = value.blob().mime_type.as_str(); let accepted: &[&str] = &["image/*"]; - let matched = accepted - .iter() - .any(|pattern| { - if *pattern == "*/*" { - true - } else if pattern.ends_with("/*") { - let prefix = &pattern[..pattern.len() - 2]; - mime.starts_with(prefix) - && mime.as_bytes().get(prefix.len()) == Some(&b'/') - } else { - mime == *pattern - } - }); + let matched = accepted.iter().any(|pattern| { + if *pattern == "*/*" { + true + } else if pattern.ends_with("/*") { + let prefix = &pattern[..pattern.len() - 2]; + mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/') + } else { + mime == *pattern + } + }); if !matched { return Err(ConstraintError::BlobMimeTypeNotAccepted { path: ValidationPath::from_field("image"), @@ -227,7 +233,7 @@ impl LexiconSchema for ViewImage { pub mod image_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -306,10 +312,7 @@ where St::Alt: image_state::IsUnset, { /// Set the `alt` field (required) - pub fn alt( - mut self, - value: impl Into, - ) -> ImageBuilder> { + pub fn alt(mut self, value: impl Into) -> ImageBuilder> { self._fields.0 = Option::Some(value.into()); ImageBuilder { _state: PhantomData, @@ -408,10 +411,10 @@ where } fn lexicon_doc_art_cllctv_embed_images() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("art.cllctv.embed.images"), @@ -420,35 +423,34 @@ fn lexicon_doc_art_cllctv_embed_images() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("image"), LexUserType::Object(LexObject { - required: Some( - vec![SmolStr::new_static("image"), SmolStr::new_static("alt")], - ), + required: Some(vec![ + SmolStr::new_static("image"), + SmolStr::new_static("alt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("alt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Alt text description of the image, for accessibility.", - ), - ), + description: Some(CowStr::new_static( + "Alt text description of the image, for accessibility.", + )), ..Default::default() }), ); map.insert( SmolStr::new_static("aspectRatio"), LexObjectProperty::Ref(LexRef { - r#ref: CowStr::new_static( - "app.bsky.embed.defs#aspectRatio", - ), + r#ref: CowStr::new_static("app.bsky.embed.defs#aspectRatio"), ..Default::default() }), ); map.insert( SmolStr::new_static("image"), - LexObjectProperty::Blob(LexBlob { ..Default::default() }), + LexObjectProperty::Blob(LexBlob { + ..Default::default() + }), ); map.insert( SmolStr::new_static("imageHash"), @@ -461,9 +463,7 @@ fn lexicon_doc_art_cllctv_embed_images() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("tombstone"), LexObjectProperty::Ref(LexRef { - r#ref: CowStr::new_static( - "art.cllctv.embed.defs#tombstone", - ), + r#ref: CowStr::new_static("art.cllctv.embed.defs#tombstone"), ..Default::default() }), ); @@ -596,7 +596,7 @@ fn lexicon_doc_art_cllctv_embed_images() -> LexiconDoc<'static> { pub mod images_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -693,7 +693,7 @@ where pub mod view_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -790,7 +790,7 @@ where pub mod view_image_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -883,10 +883,7 @@ where St::Alt: view_image_state::IsUnset, { /// Set the `alt` field (required) - pub fn alt( - mut self, - value: impl Into, - ) -> ViewImageBuilder> { + pub fn alt(mut self, value: impl Into) -> ViewImageBuilder> { self._fields.0 = Option::Some(value.into()); ViewImageBuilder { _state: PhantomData, @@ -979,10 +976,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> ViewImage { + pub fn build_with_data(self, extra_data: BTreeMap>) -> ViewImage { ViewImage { alt: self._fields.0.unwrap(), aspect_ratio: self._fields.1, @@ -992,4 +986,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/art_cllctv/feed.rs b/crates/jacquard-api/src/art_cllctv/feed.rs index 57758f1e..c25d9ff9 100644 --- a/crates/jacquard-api/src/art_cllctv/feed.rs +++ b/crates/jacquard-api/src/art_cllctv/feed.rs @@ -4,4 +4,4 @@ // Any manual changes will be overwritten on the next regeneration. pub mod pin; -pub mod post; \ No newline at end of file +pub mod post; diff --git a/crates/jacquard-api/src/art_cllctv/feed/pin.rs b/crates/jacquard-api/src/art_cllctv/feed/pin.rs index a7a26388..b73b07a6 100644 --- a/crates/jacquard-api/src/art_cllctv/feed/pin.rs +++ b/crates/jacquard-api/src/art_cllctv/feed/pin.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::com_atproto::repo::strong_ref::StrongRef; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::com_atproto::repo::strong_ref::StrongRef; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde( @@ -104,7 +104,7 @@ impl LexiconSchema for Pin { pub mod pin_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -234,10 +234,10 @@ where } fn lexicon_doc_art_cllctv_feed_pin() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("art.cllctv.feed.pin"), @@ -248,12 +248,10 @@ fn lexicon_doc_art_cllctv_feed_pin() -> LexiconDoc<'static> { LexUserType::Record(LexRecord { key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("subject"), - SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("subject"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -282,4 +280,4 @@ fn lexicon_doc_art_cllctv_feed_pin() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/art_cllctv/feed/post.rs b/crates/jacquard-api/src/art_cllctv/feed/post.rs index 51c86d01..be9e23fe 100644 --- a/crates/jacquard-api/src/art_cllctv/feed/post.rs +++ b/crates/jacquard-api/src/art_cllctv/feed/post.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -25,20 +25,23 @@ use jacquard_derive::{IntoStatic, lexicon, open_union}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::art_cllctv::content::markdoc::Markdoc; use crate::art_cllctv::content::plaintext::Plaintext; use crate::art_cllctv::embed::Tombstone; use crate::art_cllctv::embed::external::External; use crate::art_cllctv::embed::external_video::ExternalVideo; use crate::art_cllctv::embed::images::Images; -use crate::com_atproto::label::SelfLabels; use crate::art_cllctv::feed::post; +use crate::com_atproto::label::SelfLabels; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Category { pub group: S, #[serde(skip_serializing_if = "Option::is_none")] @@ -84,7 +87,6 @@ pub struct Post { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -95,7 +97,6 @@ pub enum PostContent { Markdoc(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -226,19 +227,16 @@ impl LexiconSchema for Post { { let mime = value.blob().mime_type.as_str(); let accepted: &[&str] = &["image/png"]; - let matched = accepted - .iter() - .any(|pattern| { - if *pattern == "*/*" { - true - } else if pattern.ends_with("/*") { - let prefix = &pattern[..pattern.len() - 2]; - mime.starts_with(prefix) - && mime.as_bytes().get(prefix.len()) == Some(&b'/') - } else { - mime == *pattern - } - }); + let matched = accepted.iter().any(|pattern| { + if *pattern == "*/*" { + true + } else if pattern.ends_with("/*") { + let prefix = &pattern[..pattern.len() - 2]; + mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/') + } else { + mime == *pattern + } + }); if !matched { return Err(ConstraintError::BlobMimeTypeNotAccepted { path: ValidationPath::from_field("og_image"), @@ -275,10 +273,10 @@ impl LexiconSchema for Post { } fn lexicon_doc_art_cllctv_feed_post() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("art.cllctv.feed.post"), @@ -293,7 +291,9 @@ fn lexicon_doc_art_cllctv_feed_post() -> LexiconDoc<'static> { let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("group"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("labels"), @@ -437,7 +437,7 @@ fn lexicon_doc_art_cllctv_feed_post() -> LexiconDoc<'static> { pub mod post_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -498,7 +498,9 @@ impl PostBuilder { pub fn new() -> Self { PostBuilder { _state: PhantomData, - _fields: (None, None, None, None, None, None, None, None, None, None, None), + _fields: ( + None, None, None, None, None, None, None, None, None, None, None, + ), _type: PhantomData, } } @@ -692,4 +694,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/at_dropb.rs b/crates/jacquard-api/src/at_dropb.rs index 36c22305..6c1e6559 100644 --- a/crates/jacquard-api/src/at_dropb.rs +++ b/crates/jacquard-api/src/at_dropb.rs @@ -3,4 +3,4 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. -pub mod file; \ No newline at end of file +pub mod file; diff --git a/crates/jacquard-api/src/at_dropb/file.rs b/crates/jacquard-api/src/at_dropb/file.rs index cb6f4644..6b1a05fe 100644 --- a/crates/jacquard-api/src/at_dropb/file.rs +++ b/crates/jacquard-api/src/at_dropb/file.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -27,7 +27,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// A file #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -111,19 +111,16 @@ impl LexiconSchema for File { { let mime = value.blob().mime_type.as_str(); let accepted: &[&str] = &["*/*"]; - let matched = accepted - .iter() - .any(|pattern| { - if *pattern == "*/*" { - true - } else if pattern.ends_with("/*") { - let prefix = &pattern[..pattern.len() - 2]; - mime.starts_with(prefix) - && mime.as_bytes().get(prefix.len()) == Some(&b'/') - } else { - mime == *pattern - } - }); + let matched = accepted.iter().any(|pattern| { + if *pattern == "*/*" { + true + } else if pattern.ends_with("/*") { + let prefix = &pattern[..pattern.len() - 2]; + mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/') + } else { + mime == *pattern + } + }); if !matched { return Err(ConstraintError::BlobMimeTypeNotAccepted { path: ValidationPath::from_field("blob"), @@ -159,19 +156,16 @@ impl LexiconSchema for File { { let mime = value.blob().mime_type.as_str(); let accepted: &[&str] = &["image/*"]; - let matched = accepted - .iter() - .any(|pattern| { - if *pattern == "*/*" { - true - } else if pattern.ends_with("/*") { - let prefix = &pattern[..pattern.len() - 2]; - mime.starts_with(prefix) - && mime.as_bytes().get(prefix.len()) == Some(&b'/') - } else { - mime == *pattern - } - }); + let matched = accepted.iter().any(|pattern| { + if *pattern == "*/*" { + true + } else if pattern.ends_with("/*") { + let prefix = &pattern[..pattern.len() - 2]; + mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/') + } else { + mime == *pattern + } + }); if !matched { return Err(ConstraintError::BlobMimeTypeNotAccepted { path: ValidationPath::from_field("thumbnail"), @@ -187,7 +181,7 @@ impl LexiconSchema for File { pub mod file_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -254,10 +248,7 @@ where St::Blob: file_state::IsUnset, { /// Set the `blob` field (required) - pub fn blob( - mut self, - value: impl Into>, - ) -> FileBuilder> { + pub fn blob(mut self, value: impl Into>) -> FileBuilder> { self._fields.0 = Option::Some(value.into()); FileBuilder { _state: PhantomData, @@ -349,10 +340,10 @@ where } fn lexicon_doc_at_dropb_file() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("at.dropb.file"), @@ -370,7 +361,9 @@ fn lexicon_doc_at_dropb_file() -> LexiconDoc<'static> { let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("blob"), - LexObjectProperty::Blob(LexBlob { ..Default::default() }), + LexObjectProperty::Blob(LexBlob { + ..Default::default() + }), ); map.insert( SmolStr::new_static("createdAt"), @@ -388,7 +381,9 @@ fn lexicon_doc_at_dropb_file() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("thumbnail"), - LexObjectProperty::Blob(LexBlob { ..Default::default() }), + LexObjectProperty::Blob(LexBlob { + ..Default::default() + }), ); map.insert( SmolStr::new_static("updatedAt"), @@ -408,4 +403,4 @@ fn lexicon_doc_at_dropb_file() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/at_inlay.rs b/crates/jacquard-api/src/at_inlay.rs index 9df6e963..8ca3b494 100644 --- a/crates/jacquard-api/src/at_inlay.rs +++ b/crates/jacquard-api/src/at_inlay.rs @@ -16,13 +16,12 @@ pub mod placeholder; pub mod slot; pub mod throw; - #[allow(unused_imports)] use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -33,14 +32,17 @@ use jacquard_derive::{IntoStatic, open_union}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::at_inlay; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::at_inlay; +use serde::{Deserialize, Serialize}; /// Cache lifetime and invalidation tags returned by XRPC components. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct CachePolicy { ///How frequently the underlying data changes #[serde(skip_serializing_if = "Option::is_none")] @@ -139,7 +141,6 @@ where } } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -153,7 +154,10 @@ pub enum CachePolicyTagsItem { /// A renderable Inlay element. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Element { ///Stable key that identifies the component among its siblings. #[serde(skip_serializing_if = "Option::is_none")] @@ -170,7 +174,10 @@ pub struct Element { /// Standard response from a component render call. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Response { ///Cache lifetime and invalidation tags pub cache: at_inlay::CachePolicy, @@ -183,7 +190,10 @@ pub struct Response { /// Cache tag: depend on backlink relationships to a subject. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct TagLink { ///Collection NSID of the linking records. Omit for any collection. #[serde(skip_serializing_if = "Option::is_none")] @@ -197,7 +207,10 @@ pub struct TagLink { /// Cache tag: depend on a specific record, collection, or identity. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct TagRecord { ///AT URI at record, collection, or identity granularity pub uri: AtUri, @@ -205,9 +218,11 @@ pub struct TagRecord { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ViaValtown { ///Val Town val UUID pub val_id: S, @@ -337,10 +352,10 @@ impl LexiconSchema for ViaValtown { } fn lexicon_doc_at_inlay_defs() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("at.inlay.defs"), @@ -349,22 +364,18 @@ fn lexicon_doc_at_inlay_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("cachePolicy"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "Cache lifetime and invalidation tags returned by XRPC components.", - ), - ), + description: Some(CowStr::new_static( + "Cache lifetime and invalidation tags returned by XRPC components.", + )), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("life"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "How frequently the underlying data changes", - ), - ), + description: Some(CowStr::new_static( + "How frequently the underlying data changes", + )), max_length: Some(32usize), ..Default::default() }), @@ -372,15 +383,13 @@ fn lexicon_doc_at_inlay_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("tags"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static( - "Data dependencies for cache invalidation", - ), - ), + description: Some(CowStr::new_static( + "Data dependencies for cache invalidation", + )), items: LexArrayItem::Union(LexRefUnion { refs: vec![ CowStr::new_static("#tagRecord"), - CowStr::new_static("#tagLink") + CowStr::new_static("#tagLink"), ], ..Default::default() }), @@ -403,11 +412,9 @@ fn lexicon_doc_at_inlay_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("key"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Stable key that identifies the component among its siblings.", - ), - ), + description: Some(CowStr::new_static( + "Stable key that identifies the component among its siblings.", + )), max_length: Some(256usize), ..Default::default() }), @@ -421,9 +428,9 @@ fn lexicon_doc_at_inlay_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("type"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("NSID of the component to render."), - ), + description: Some(CowStr::new_static( + "NSID of the component to render.", + )), format: Some(LexStringFormat::Nsid), ..Default::default() }), @@ -436,14 +443,13 @@ fn lexicon_doc_at_inlay_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("response"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "Standard response from a component render call.", - ), - ), - required: Some( - vec![SmolStr::new_static("node"), SmolStr::new_static("cache")], - ), + description: Some(CowStr::new_static( + "Standard response from a component render call.", + )), + required: Some(vec![ + SmolStr::new_static("node"), + SmolStr::new_static("cache"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -508,11 +514,9 @@ fn lexicon_doc_at_inlay_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("tagRecord"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "Cache tag: depend on a specific record, collection, or identity.", - ), - ), + description: Some(CowStr::new_static( + "Cache tag: depend on a specific record, collection, or identity.", + )), required: Some(vec![SmolStr::new_static("uri")]), properties: { #[allow(unused_mut)] @@ -520,11 +524,9 @@ fn lexicon_doc_at_inlay_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("uri"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "AT URI at record, collection, or identity granularity", - ), - ), + description: Some(CowStr::new_static( + "AT URI at record, collection, or identity granularity", + )), format: Some(LexStringFormat::AtUri), ..Default::default() }), @@ -562,7 +564,7 @@ fn lexicon_doc_at_inlay_defs() -> LexiconDoc<'static> { pub mod element_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -689,7 +691,7 @@ where pub mod response_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -734,7 +736,10 @@ pub mod response_state { /// Builder for constructing an instance of this type. pub struct ResponseBuilder { _state: PhantomData St>, - _fields: (Option>, Option>), + _fields: ( + Option>, + Option>, + ), _type: PhantomData S>, } @@ -820,7 +825,7 @@ where pub mod tag_link_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -932,7 +937,7 @@ where pub mod tag_record_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -1019,13 +1024,10 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> TagRecord { + pub fn build_with_data(self, extra_data: BTreeMap>) -> TagRecord { TagRecord { uri: self._fields.0.unwrap(), extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/at_inlay/binding.rs b/crates/jacquard-api/src/at_inlay/binding.rs index e241be3b..aae0749d 100644 --- a/crates/jacquard-api/src/at_inlay/binding.rs +++ b/crates/jacquard-api/src/at_inlay/binding.rs @@ -8,17 +8,20 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::at_inlay::Response; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::at_inlay::Response; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Binding { ///Path segments to resolve against scope pub path: Vec, @@ -26,9 +29,11 @@ pub struct Binding { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct BindingOutput { #[serde(flatten)] pub value: Response, @@ -47,9 +52,8 @@ impl jacquard_common::xrpc::XrpcResp for BindingResponse { impl jacquard_common::xrpc::XrpcRequest for Binding { const NSID: &'static str = "at.inlay.Binding"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = BindingResponse; } @@ -57,16 +61,15 @@ impl jacquard_common::xrpc::XrpcRequest for Binding { pub struct BindingRequest; impl jacquard_common::xrpc::XrpcEndpoint for BindingRequest { const PATH: &'static str = "/xrpc/at.inlay.Binding"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = Binding; type Response = BindingResponse; } pub mod binding_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -159,4 +162,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/at_inlay/component.rs b/crates/jacquard-api/src/at_inlay/component.rs index 983c8ab5..11e7cd45 100644 --- a/crates/jacquard-api/src/at_inlay/component.rs +++ b/crates/jacquard-api/src/at_inlay/component.rs @@ -10,13 +10,13 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::collection::{Collection, RecordError}; -use jacquard_common::types::string::{Did, AtUri, Nsid, Cid, Datetime}; +use jacquard_common::types::string::{AtUri, Cid, Datetime, Did, Nsid}; use jacquard_common::types::uri::{RecordUri, UriError}; use jacquard_common::types::value::Data; use jacquard_common::xrpc::XrpcResp; @@ -24,15 +24,18 @@ use jacquard_derive::{IntoStatic, lexicon, open_union}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::at_inlay::ViaValtown; use crate::at_inlay::component; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; /// Component rendered by calling a remote XRPC endpoint #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct BodyExternal { ///DID of the service hosting this component pub did: Did, @@ -43,7 +46,10 @@ pub struct BodyExternal { /// Component rendered by the host from a serialized element tree #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct BodyTemplate { ///Serialized element tree with bindings pub node: Data, @@ -86,7 +92,6 @@ pub struct Component { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -111,7 +116,10 @@ pub struct ComponentGetRecordOutput { /// Declares what data this component views and which prop receives it. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct View { ///Data types this view accepts. pub accepts: Vec>, @@ -121,7 +129,6 @@ pub struct View { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -135,7 +142,10 @@ pub enum ViewAcceptsItem { /// View accepts a primitive value type. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ViewPrimitive { ///String format constraint. Only applies when type is 'string'. #[serde(skip_serializing_if = "Option::is_none")] @@ -359,7 +369,10 @@ where /// View accepts individual records of a collection. Omit collection for a generic record view. When rkey is present, the component accepts bare DIDs (expanded to full AT URIs) and appears on identity pages. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ViewRecord { ///The collection this component views. Omit for any-collection. #[serde(skip_serializing_if = "Option::is_none")] @@ -571,7 +584,7 @@ impl LexiconSchema for ViewRecord { pub mod body_external_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -658,10 +671,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> BodyExternal { + pub fn build_with_data(self, extra_data: BTreeMap>) -> BodyExternal { BodyExternal { did: self._fields.0.unwrap(), extra_data: Some(extra_data), @@ -670,10 +680,10 @@ where } fn lexicon_doc_at_inlay_component() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("at.inlay.component"), @@ -682,11 +692,9 @@ fn lexicon_doc_at_inlay_component() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("bodyExternal"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "Component rendered by calling a remote XRPC endpoint", - ), - ), + description: Some(CowStr::new_static( + "Component rendered by calling a remote XRPC endpoint", + )), required: Some(vec![SmolStr::new_static("did")]), properties: { #[allow(unused_mut)] @@ -694,11 +702,9 @@ fn lexicon_doc_at_inlay_component() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("did"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "DID of the service hosting this component", - ), - ), + description: Some(CowStr::new_static( + "DID of the service hosting this component", + )), format: Some(LexStringFormat::Did), ..Default::default() }), @@ -711,11 +717,9 @@ fn lexicon_doc_at_inlay_component() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("bodyTemplate"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "Component rendered by the host from a serialized element tree", - ), - ), + description: Some(CowStr::new_static( + "Component rendered by the host from a serialized element tree", + )), required: Some(vec![SmolStr::new_static("node")]), properties: { #[allow(unused_mut)] @@ -841,27 +845,26 @@ fn lexicon_doc_at_inlay_component() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("view"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "Declares what data this component views and which prop receives it.", - ), - ), - required: Some( - vec![SmolStr::new_static("prop"), SmolStr::new_static("accepts")], - ), + description: Some(CowStr::new_static( + "Declares what data this component views and which prop receives it.", + )), + required: Some(vec![ + SmolStr::new_static("prop"), + SmolStr::new_static("accepts"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("accepts"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static("Data types this view accepts."), - ), + description: Some(CowStr::new_static( + "Data types this view accepts.", + )), items: LexArrayItem::Union(LexRefUnion { refs: vec![ CowStr::new_static("#viewRecord"), - CowStr::new_static("#viewPrimitive") + CowStr::new_static("#viewPrimitive"), ], ..Default::default() }), @@ -872,11 +875,9 @@ fn lexicon_doc_at_inlay_component() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("prop"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Which component prop receives the view data.", - ), - ), + description: Some(CowStr::new_static( + "Which component prop receives the view data.", + )), max_length: Some(256usize), ..Default::default() }), @@ -889,9 +890,7 @@ fn lexicon_doc_at_inlay_component() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("viewPrimitive"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("View accepts a primitive value type."), - ), + description: Some(CowStr::new_static("View accepts a primitive value type.")), required: Some(vec![SmolStr::new_static("type")]), properties: { #[allow(unused_mut)] @@ -899,11 +898,9 @@ fn lexicon_doc_at_inlay_component() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("format"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "String format constraint. Only applies when type is 'string'.", - ), - ), + description: Some(CowStr::new_static( + "String format constraint. Only applies when type is 'string'.", + )), max_length: Some(64usize), ..Default::default() }), @@ -911,9 +908,7 @@ fn lexicon_doc_at_inlay_component() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("type"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Lexicon primitive type."), - ), + description: Some(CowStr::new_static("Lexicon primitive type.")), max_length: Some(128usize), ..Default::default() }), @@ -971,7 +966,7 @@ fn lexicon_doc_at_inlay_component() -> LexiconDoc<'static> { pub mod body_template_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -1058,10 +1053,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> BodyTemplate { + pub fn build_with_data(self, extra_data: BTreeMap>) -> BodyTemplate { BodyTemplate { node: self._fields.0.unwrap(), extra_data: Some(extra_data), @@ -1071,7 +1063,7 @@ where pub mod component_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -1265,10 +1257,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> Component { + pub fn build_with_data(self, extra_data: BTreeMap>) -> Component { Component { body: self._fields.0, created_at: self._fields.1, @@ -1285,7 +1274,7 @@ where pub mod view_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -1377,10 +1366,7 @@ where St::Prop: view_state::IsUnset, { /// Set the `prop` field (required) - pub fn prop( - mut self, - value: impl Into, - ) -> ViewBuilder> { + pub fn prop(mut self, value: impl Into) -> ViewBuilder> { self._fields.1 = Option::Some(value.into()); ViewBuilder { _state: PhantomData, @@ -1412,4 +1398,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/at_inlay/fragment.rs b/crates/jacquard-api/src/at_inlay/fragment.rs index b9c19416..b26a06a8 100644 --- a/crates/jacquard-api/src/at_inlay/fragment.rs +++ b/crates/jacquard-api/src/at_inlay/fragment.rs @@ -8,26 +8,31 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::at_inlay::Response; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::at_inlay::Response; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Fragment { pub children: Data, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct FragmentOutput { #[serde(flatten)] pub value: Response, @@ -46,9 +51,8 @@ impl jacquard_common::xrpc::XrpcResp for FragmentResponse { impl jacquard_common::xrpc::XrpcRequest for Fragment { const NSID: &'static str = "at.inlay.Fragment"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = FragmentResponse; } @@ -56,16 +60,15 @@ impl jacquard_common::xrpc::XrpcRequest for Fragment { pub struct FragmentRequest; impl jacquard_common::xrpc::XrpcEndpoint for FragmentRequest { const PATH: &'static str = "/xrpc/at.inlay.Fragment"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = Fragment; type Response = FragmentResponse; } pub mod fragment_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -158,4 +161,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/at_inlay/loading.rs b/crates/jacquard-api/src/at_inlay/loading.rs index fdc2a5c1..74aa3d45 100644 --- a/crates/jacquard-api/src/at_inlay/loading.rs +++ b/crates/jacquard-api/src/at_inlay/loading.rs @@ -8,18 +8,21 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::at_inlay::Element; +use crate::at_inlay::Response; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::at_inlay::Element; -use crate::at_inlay::Response; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Loading { pub children: Data, pub fallback: Element, @@ -27,9 +30,11 @@ pub struct Loading { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct LoadingOutput { #[serde(flatten)] pub value: Response, @@ -48,9 +53,8 @@ impl jacquard_common::xrpc::XrpcResp for LoadingResponse { impl jacquard_common::xrpc::XrpcRequest for Loading { const NSID: &'static str = "at.inlay.Loading"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = LoadingResponse; } @@ -58,16 +62,15 @@ impl jacquard_common::xrpc::XrpcRequest for Loading { pub struct LoadingRequest; impl jacquard_common::xrpc::XrpcEndpoint for LoadingRequest { const PATH: &'static str = "/xrpc/at.inlay.Loading"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = Loading; type Response = LoadingResponse; } pub mod loading_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -194,4 +197,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/at_inlay/maybe.rs b/crates/jacquard-api/src/at_inlay/maybe.rs index 191d0e74..491d8e0a 100644 --- a/crates/jacquard-api/src/at_inlay/maybe.rs +++ b/crates/jacquard-api/src/at_inlay/maybe.rs @@ -8,18 +8,21 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::at_inlay::Element; +use crate::at_inlay::Response; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::at_inlay::Element; -use crate::at_inlay::Response; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Maybe { pub children: Data, #[serde(skip_serializing_if = "Option::is_none")] @@ -28,9 +31,11 @@ pub struct Maybe { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct MaybeOutput { #[serde(flatten)] pub value: Response, @@ -49,9 +54,8 @@ impl jacquard_common::xrpc::XrpcResp for MaybeResponse { impl jacquard_common::xrpc::XrpcRequest for Maybe { const NSID: &'static str = "at.inlay.Maybe"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = MaybeResponse; } @@ -59,16 +63,15 @@ impl jacquard_common::xrpc::XrpcRequest for Maybe { pub struct MaybeRequest; impl jacquard_common::xrpc::XrpcEndpoint for MaybeRequest { const PATH: &'static str = "/xrpc/at.inlay.Maybe"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = Maybe; type Response = MaybeResponse; } pub mod maybe_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -176,4 +179,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/at_inlay/missing.rs b/crates/jacquard-api/src/at_inlay/missing.rs index b46205a2..b82e15b2 100644 --- a/crates/jacquard-api/src/at_inlay/missing.rs +++ b/crates/jacquard-api/src/at_inlay/missing.rs @@ -8,17 +8,20 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::at_inlay::Response; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::at_inlay::Response; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Missing { ///Path segments identifying what is missing pub path: Vec, @@ -26,9 +29,11 @@ pub struct Missing { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct MissingOutput { #[serde(flatten)] pub value: Response, @@ -47,9 +52,8 @@ impl jacquard_common::xrpc::XrpcResp for MissingResponse { impl jacquard_common::xrpc::XrpcRequest for Missing { const NSID: &'static str = "at.inlay.Missing"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = MissingResponse; } @@ -57,16 +61,15 @@ impl jacquard_common::xrpc::XrpcRequest for Missing { pub struct MissingRequest; impl jacquard_common::xrpc::XrpcEndpoint for MissingRequest { const PATH: &'static str = "/xrpc/at.inlay.Missing"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = Missing; type Response = MissingResponse; } pub mod missing_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -159,4 +162,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/at_inlay/pack.rs b/crates/jacquard-api/src/at_inlay/pack.rs index 0357daae..933d99f9 100644 --- a/crates/jacquard-api/src/at_inlay/pack.rs +++ b/crates/jacquard-api/src/at_inlay/pack.rs @@ -10,13 +10,13 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::collection::{Collection, RecordError}; -use jacquard_common::types::string::{AtUri, Nsid, Cid, Datetime}; +use jacquard_common::types::string::{AtUri, Cid, Datetime, Nsid}; use jacquard_common::types::uri::{RecordUri, UriError}; use jacquard_common::types::value::Data; use jacquard_common::xrpc::XrpcResp; @@ -24,13 +24,16 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::at_inlay::pack; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::at_inlay::pack; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Export { ///AT-URI of the component record pub component: AtUri, @@ -147,7 +150,7 @@ impl LexiconSchema for Pack { pub mod export_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -277,10 +280,10 @@ where } fn lexicon_doc_at_inlay_pack() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("at.inlay.pack"), @@ -289,20 +292,19 @@ fn lexicon_doc_at_inlay_pack() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("export"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("type"), SmolStr::new_static("component") - ], - ), + required: Some(vec![ + SmolStr::new_static("type"), + SmolStr::new_static("component"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("component"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("AT-URI of the component record"), - ), + description: Some(CowStr::new_static( + "AT-URI of the component record", + )), format: Some(LexStringFormat::AtUri), ..Default::default() }), @@ -310,9 +312,9 @@ fn lexicon_doc_at_inlay_pack() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("type"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("NSID of the type being exported"), - ), + description: Some(CowStr::new_static( + "NSID of the type being exported", + )), format: Some(LexStringFormat::Nsid), ..Default::default() }), @@ -325,16 +327,13 @@ fn lexicon_doc_at_inlay_pack() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static("A list of type to component exports"), - ), + description: Some(CowStr::new_static("A list of type to component exports")), key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("name"), SmolStr::new_static("exports") - ], - ), + required: Some(vec![ + SmolStr::new_static("name"), + SmolStr::new_static("exports"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -348,9 +347,9 @@ fn lexicon_doc_at_inlay_pack() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("exports"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static("Type to component mappings"), - ), + description: Some(CowStr::new_static( + "Type to component mappings", + )), items: LexArrayItem::Ref(LexRef { r#ref: CowStr::new_static("#export"), ..Default::default() @@ -361,11 +360,9 @@ fn lexicon_doc_at_inlay_pack() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("name"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Short slug for the pack (e.g. \"core\", \"ui\")", - ), - ), + description: Some(CowStr::new_static( + "Short slug for the pack (e.g. \"core\", \"ui\")", + )), max_length: Some(64usize), ..Default::default() }), @@ -385,7 +382,7 @@ fn lexicon_doc_at_inlay_pack() -> LexiconDoc<'static> { pub mod pack_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -490,10 +487,7 @@ where St::Name: pack_state::IsUnset, { /// Set the `name` field (required) - pub fn name( - mut self, - value: impl Into, - ) -> PackBuilder> { + pub fn name(mut self, value: impl Into) -> PackBuilder> { self._fields.2 = Option::Some(value.into()); PackBuilder { _state: PhantomData, @@ -527,4 +521,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/at_inlay/placeholder.rs b/crates/jacquard-api/src/at_inlay/placeholder.rs index 26fc3b94..11414b84 100644 --- a/crates/jacquard-api/src/at_inlay/placeholder.rs +++ b/crates/jacquard-api/src/at_inlay/placeholder.rs @@ -8,18 +8,21 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::at_inlay::Element; +use crate::at_inlay::Response; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::at_inlay::Element; -use crate::at_inlay::Response; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Placeholder { pub children: Vec>, pub fallback: Element, @@ -27,9 +30,11 @@ pub struct Placeholder { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct PlaceholderOutput { #[serde(flatten)] pub value: Response, @@ -48,9 +53,8 @@ impl jacquard_common::xrpc::XrpcResp for PlaceholderResponse { impl jacquard_common::xrpc::XrpcRequest for Placeholder { const NSID: &'static str = "at.inlay.Placeholder"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = PlaceholderResponse; } @@ -58,16 +62,15 @@ impl jacquard_common::xrpc::XrpcRequest for Placeholder { pub struct PlaceholderRequest; impl jacquard_common::xrpc::XrpcEndpoint for PlaceholderRequest { const PATH: &'static str = "/xrpc/at.inlay.Placeholder"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = Placeholder; type Response = PlaceholderResponse; } pub mod placeholder_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -187,14 +190,11 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> Placeholder { + pub fn build_with_data(self, extra_data: BTreeMap>) -> Placeholder { Placeholder { children: self._fields.0.unwrap(), fallback: self._fields.1.unwrap(), extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/at_inlay/slot.rs b/crates/jacquard-api/src/at_inlay/slot.rs index 04c52c1a..0dd9bff0 100644 --- a/crates/jacquard-api/src/at_inlay/slot.rs +++ b/crates/jacquard-api/src/at_inlay/slot.rs @@ -8,17 +8,20 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::at_inlay::Response; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::at_inlay::Response; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Slot { ///Key into the host's stash map pub id: S, @@ -26,9 +29,11 @@ pub struct Slot { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct SlotOutput { #[serde(flatten)] pub value: Response, @@ -47,9 +52,8 @@ impl jacquard_common::xrpc::XrpcResp for SlotResponse { impl jacquard_common::xrpc::XrpcRequest for Slot { const NSID: &'static str = "at.inlay.Slot"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = SlotResponse; } @@ -57,9 +61,8 @@ impl jacquard_common::xrpc::XrpcRequest for Slot { pub struct SlotRequest; impl jacquard_common::xrpc::XrpcEndpoint for SlotRequest { const PATH: &'static str = "/xrpc/at.inlay.Slot"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = Slot; type Response = SlotResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/at_inlay/throw.rs b/crates/jacquard-api/src/at_inlay/throw.rs index b1531ee4..4fd19293 100644 --- a/crates/jacquard-api/src/at_inlay/throw.rs +++ b/crates/jacquard-api/src/at_inlay/throw.rs @@ -8,17 +8,20 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::at_inlay::Response; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::at_inlay::Response; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Throw { ///Human-readable error message pub message: S, @@ -29,9 +32,11 @@ pub struct Throw { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ThrowOutput { #[serde(flatten)] pub value: Response, @@ -50,9 +55,8 @@ impl jacquard_common::xrpc::XrpcResp for ThrowResponse { impl jacquard_common::xrpc::XrpcRequest for Throw { const NSID: &'static str = "at.inlay.Throw"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = ThrowResponse; } @@ -60,9 +64,8 @@ impl jacquard_common::xrpc::XrpcRequest for Throw { pub struct ThrowRequest; impl jacquard_common::xrpc::XrpcEndpoint for ThrowRequest { const PATH: &'static str = "/xrpc/at.inlay.Throw"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = Throw; type Response = ThrowResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/at_margin.rs b/crates/jacquard-api/src/at_margin.rs index 8ab8ca32..fc7f93a2 100644 --- a/crates/jacquard-api/src/at_margin.rs +++ b/crates/jacquard-api/src/at_margin.rs @@ -10,4 +10,4 @@ pub mod collection_item; pub mod like; pub mod preferences; pub mod profile; -pub mod reply; \ No newline at end of file +pub mod reply; diff --git a/crates/jacquard-api/src/at_margin/annotation.rs b/crates/jacquard-api/src/at_margin/annotation.rs index 937b015a..359b1eee 100644 --- a/crates/jacquard-api/src/at_margin/annotation.rs +++ b/crates/jacquard-api/src/at_margin/annotation.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,15 +24,18 @@ use jacquard_derive::{IntoStatic, lexicon, open_union}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::at_margin::annotation; +use crate::com_atproto::label::SelfLabels; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::com_atproto::label::SelfLabels; -use crate::at_margin::annotation; +use serde::{Deserialize, Serialize}; /// Annotation body - the content of the annotation #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Body { ///MIME type of the body content Defaults to `"text/plain"`. #[serde(skip_serializing_if = "Option::is_none")] @@ -54,7 +57,10 @@ pub struct Body { /// W3C CssSelector - select DOM elements by CSS selector #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct CssSelector { #[serde(skip_serializing_if = "Option::is_none")] pub r#type: Option, @@ -67,7 +73,10 @@ pub struct CssSelector { /// W3C FragmentSelector - select by URI fragment #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct FragmentSelector { ///Specification the fragment conforms to #[serde(skip_serializing_if = "Option::is_none")] @@ -83,7 +92,10 @@ pub struct FragmentSelector { /// The client/agent that created this record #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Generator { #[serde(skip_serializing_if = "Option::is_none")] pub homepage: Option>, @@ -236,9 +248,7 @@ where AnnotationMotivation::Editing => AnnotationMotivation::Editing, AnnotationMotivation::Questioning => AnnotationMotivation::Questioning, AnnotationMotivation::Assessing => AnnotationMotivation::Assessing, - AnnotationMotivation::Other(v) => { - AnnotationMotivation::Other(v.into_static()) - } + AnnotationMotivation::Other(v) => AnnotationMotivation::Other(v.into_static()), } } } @@ -257,7 +267,10 @@ pub struct AnnotationGetRecordOutput { /// W3C RangeSelector - select range between two selectors #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct RangeSelector { ///Selector for range end pub end_selector: RangeSelectorEndSelector, @@ -269,7 +282,6 @@ pub struct RangeSelector { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -284,7 +296,6 @@ pub enum RangeSelectorEndSelector { XpathSelector(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -302,7 +313,10 @@ pub enum RangeSelectorStartSelector { /// W3C SpecificResource - the target with optional selector #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Target { ///Selector to identify the specific segment #[serde(skip_serializing_if = "Option::is_none")] @@ -322,7 +336,6 @@ pub struct Target { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -344,7 +357,10 @@ pub enum TargetSelector { /// W3C TextPositionSelector - select by character offsets #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct TextPositionSelector { ///Ending character position (exclusive) pub end: i64, @@ -359,7 +375,10 @@ pub struct TextPositionSelector { /// W3C TextQuoteSelector - select text by quoting it with context #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct TextQuoteSelector { ///The exact text to match pub exact: S, @@ -378,7 +397,10 @@ pub struct TextQuoteSelector { /// W3C TimeState - record when content was captured #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct TimeState { ///URL to cached/archived version #[serde(skip_serializing_if = "Option::is_none")] @@ -393,7 +415,10 @@ pub struct TimeState { /// W3C XPathSelector - select by XPath expression #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct XpathSelector { #[serde(skip_serializing_if = "Option::is_none")] pub r#type: Option, @@ -781,10 +806,10 @@ impl Default for Body { } fn lexicon_doc_at_margin_annotation() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("at.margin.annotation"), @@ -793,20 +818,18 @@ fn lexicon_doc_at_margin_annotation() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("body"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "Annotation body - the content of the annotation", - ), - ), + description: Some(CowStr::new_static( + "Annotation body - the content of the annotation", + )), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("format"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("MIME type of the body content"), - ), + description: Some(CowStr::new_static( + "MIME type of the body content", + )), ..Default::default() }), ); @@ -820,9 +843,9 @@ fn lexicon_doc_at_margin_annotation() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("uri"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Reference to external body content"), - ), + description: Some(CowStr::new_static( + "Reference to external body content", + )), format: Some(LexStringFormat::Uri), ..Default::default() }), @@ -830,9 +853,9 @@ fn lexicon_doc_at_margin_annotation() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("value"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Text content of the annotation"), - ), + description: Some(CowStr::new_static( + "Text content of the annotation", + )), max_length: Some(10000usize), max_graphemes: Some(3000usize), ..Default::default() @@ -846,25 +869,23 @@ fn lexicon_doc_at_margin_annotation() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("cssSelector"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "W3C CssSelector - select DOM elements by CSS selector", - ), - ), + description: Some(CowStr::new_static( + "W3C CssSelector - select DOM elements by CSS selector", + )), required: Some(vec![SmolStr::new_static("value")]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("type"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("value"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("CSS selector string"), - ), + description: Some(CowStr::new_static("CSS selector string")), max_length: Some(2000usize), ..Default::default() }), @@ -877,11 +898,9 @@ fn lexicon_doc_at_margin_annotation() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("fragmentSelector"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "W3C FragmentSelector - select by URI fragment", - ), - ), + description: Some(CowStr::new_static( + "W3C FragmentSelector - select by URI fragment", + )), required: Some(vec![SmolStr::new_static("value")]), properties: { #[allow(unused_mut)] @@ -889,23 +908,23 @@ fn lexicon_doc_at_margin_annotation() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("conformsTo"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Specification the fragment conforms to"), - ), + description: Some(CowStr::new_static( + "Specification the fragment conforms to", + )), format: Some(LexStringFormat::Uri), ..Default::default() }), ); map.insert( SmolStr::new_static("type"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("value"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Fragment identifier value"), - ), + description: Some(CowStr::new_static("Fragment identifier value")), max_length: Some(1000usize), ..Default::default() }), @@ -918,9 +937,9 @@ fn lexicon_doc_at_margin_annotation() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("generator"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("The client/agent that created this record"), - ), + description: Some(CowStr::new_static( + "The client/agent that created this record", + )), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -940,7 +959,9 @@ fn lexicon_doc_at_margin_annotation() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("name"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map }, @@ -1049,31 +1070,25 @@ fn lexicon_doc_at_margin_annotation() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("rangeSelector"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "W3C RangeSelector - select range between two selectors", - ), - ), - required: Some( - vec![ - SmolStr::new_static("startSelector"), - SmolStr::new_static("endSelector") - ], - ), + description: Some(CowStr::new_static( + "W3C RangeSelector - select range between two selectors", + )), + required: Some(vec![ + SmolStr::new_static("startSelector"), + SmolStr::new_static("endSelector"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("endSelector"), LexObjectProperty::Union(LexRefUnion { - description: Some( - CowStr::new_static("Selector for range end"), - ), + description: Some(CowStr::new_static("Selector for range end")), refs: vec![ CowStr::new_static("#textQuoteSelector"), CowStr::new_static("#textPositionSelector"), CowStr::new_static("#cssSelector"), - CowStr::new_static("#xpathSelector") + CowStr::new_static("#xpathSelector"), ], ..Default::default() }), @@ -1081,21 +1096,21 @@ fn lexicon_doc_at_margin_annotation() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("startSelector"), LexObjectProperty::Union(LexRefUnion { - description: Some( - CowStr::new_static("Selector for range start"), - ), + description: Some(CowStr::new_static("Selector for range start")), refs: vec![ CowStr::new_static("#textQuoteSelector"), CowStr::new_static("#textPositionSelector"), CowStr::new_static("#cssSelector"), - CowStr::new_static("#xpathSelector") + CowStr::new_static("#xpathSelector"), ], ..Default::default() }), ); map.insert( SmolStr::new_static("type"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map }, @@ -1105,11 +1120,9 @@ fn lexicon_doc_at_margin_annotation() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("target"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "W3C SpecificResource - the target with optional selector", - ), - ), + description: Some(CowStr::new_static( + "W3C SpecificResource - the target with optional selector", + )), required: Some(vec![SmolStr::new_static("source")]), properties: { #[allow(unused_mut)] @@ -1117,18 +1130,16 @@ fn lexicon_doc_at_margin_annotation() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("selector"), LexObjectProperty::Union(LexRefUnion { - description: Some( - CowStr::new_static( - "Selector to identify the specific segment", - ), - ), + description: Some(CowStr::new_static( + "Selector to identify the specific segment", + )), refs: vec![ CowStr::new_static("#textQuoteSelector"), CowStr::new_static("#textPositionSelector"), CowStr::new_static("#cssSelector"), CowStr::new_static("#xpathSelector"), CowStr::new_static("#fragmentSelector"), - CowStr::new_static("#rangeSelector") + CowStr::new_static("#rangeSelector"), ], ..Default::default() }), @@ -1136,9 +1147,7 @@ fn lexicon_doc_at_margin_annotation() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("source"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The URL being annotated"), - ), + description: Some(CowStr::new_static("The URL being annotated")), format: Some(LexStringFormat::Uri), ..Default::default() }), @@ -1146,11 +1155,9 @@ fn lexicon_doc_at_margin_annotation() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("sourceHash"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "SHA256 hash of normalized URL for indexing", - ), - ), + description: Some(CowStr::new_static( + "SHA256 hash of normalized URL for indexing", + )), ..Default::default() }), ); @@ -1164,9 +1171,9 @@ fn lexicon_doc_at_margin_annotation() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("title"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Page title at time of annotation"), - ), + description: Some(CowStr::new_static( + "Page title at time of annotation", + )), max_length: Some(500usize), ..Default::default() }), @@ -1179,14 +1186,13 @@ fn lexicon_doc_at_margin_annotation() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("textPositionSelector"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "W3C TextPositionSelector - select by character offsets", - ), - ), - required: Some( - vec![SmolStr::new_static("start"), SmolStr::new_static("end")], - ), + description: Some(CowStr::new_static( + "W3C TextPositionSelector - select by character offsets", + )), + required: Some(vec![ + SmolStr::new_static("start"), + SmolStr::new_static("end"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -1206,7 +1212,9 @@ fn lexicon_doc_at_margin_annotation() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("type"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map }, @@ -1216,11 +1224,9 @@ fn lexicon_doc_at_margin_annotation() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("textQuoteSelector"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "W3C TextQuoteSelector - select text by quoting it with context", - ), - ), + description: Some(CowStr::new_static( + "W3C TextQuoteSelector - select text by quoting it with context", + )), required: Some(vec![SmolStr::new_static("exact")]), properties: { #[allow(unused_mut)] @@ -1228,9 +1234,7 @@ fn lexicon_doc_at_margin_annotation() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("exact"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The exact text to match"), - ), + description: Some(CowStr::new_static("The exact text to match")), max_length: Some(5000usize), max_graphemes: Some(1500usize), ..Default::default() @@ -1239,9 +1243,9 @@ fn lexicon_doc_at_margin_annotation() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("prefix"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Text immediately before the selection"), - ), + description: Some(CowStr::new_static( + "Text immediately before the selection", + )), max_length: Some(500usize), max_graphemes: Some(150usize), ..Default::default() @@ -1250,9 +1254,9 @@ fn lexicon_doc_at_margin_annotation() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("suffix"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Text immediately after the selection"), - ), + description: Some(CowStr::new_static( + "Text immediately after the selection", + )), max_length: Some(500usize), max_graphemes: Some(150usize), ..Default::default() @@ -1260,7 +1264,9 @@ fn lexicon_doc_at_margin_annotation() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("type"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map }, @@ -1270,20 +1276,18 @@ fn lexicon_doc_at_margin_annotation() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("timeState"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "W3C TimeState - record when content was captured", - ), - ), + description: Some(CowStr::new_static( + "W3C TimeState - record when content was captured", + )), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("cached"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("URL to cached/archived version"), - ), + description: Some(CowStr::new_static( + "URL to cached/archived version", + )), format: Some(LexStringFormat::Uri), ..Default::default() }), @@ -1291,9 +1295,9 @@ fn lexicon_doc_at_margin_annotation() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("sourceDate"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("When the source was accessed"), - ), + description: Some(CowStr::new_static( + "When the source was accessed", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -1306,18 +1310,18 @@ fn lexicon_doc_at_margin_annotation() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("xpathSelector"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "W3C XPathSelector - select by XPath expression", - ), - ), + description: Some(CowStr::new_static( + "W3C XPathSelector - select by XPath expression", + )), required: Some(vec![SmolStr::new_static("value")]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("type"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("value"), @@ -1340,7 +1344,7 @@ fn lexicon_doc_at_margin_annotation() -> LexiconDoc<'static> { pub mod annotation_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -1450,10 +1454,7 @@ where impl AnnotationBuilder { /// Set the `generator` field (optional) - pub fn generator( - mut self, - value: impl Into>>, - ) -> Self { + pub fn generator(mut self, value: impl Into>>) -> Self { self._fields.2 = value.into(); self } @@ -1479,10 +1480,7 @@ impl AnnotationBuilder { impl AnnotationBuilder { /// Set the `motivation` field (optional) - pub fn motivation( - mut self, - value: impl Into>>, - ) -> Self { + pub fn motivation(mut self, value: impl Into>>) -> Self { self._fields.4 = value.into(); self } @@ -1559,10 +1557,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> Annotation { + pub fn build_with_data(self, extra_data: BTreeMap>) -> Annotation { Annotation { body: self._fields.0, created_at: self._fields.1.unwrap(), @@ -1579,7 +1574,7 @@ where pub mod range_selector_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -1717,10 +1712,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> RangeSelector { + pub fn build_with_data(self, extra_data: BTreeMap>) -> RangeSelector { RangeSelector { end_selector: self._fields.0.unwrap(), start_selector: self._fields.1.unwrap(), @@ -1732,7 +1724,7 @@ where pub mod target_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -1895,7 +1887,7 @@ where pub mod text_position_selector_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -1938,10 +1930,7 @@ pub mod text_position_selector_state { } /// Builder for constructing an instance of this type. -pub struct TextPositionSelectorBuilder< - S: BosStr, - St: text_position_selector_state::State, -> { +pub struct TextPositionSelectorBuilder { _state: PhantomData St>, _fields: (Option, Option, Option), _type: PhantomData S>, @@ -2003,10 +1992,7 @@ where } } -impl< - S: BosStr, - St: text_position_selector_state::State, -> TextPositionSelectorBuilder { +impl TextPositionSelectorBuilder { /// Set the `type` field (optional) pub fn r#type(mut self, value: impl Into>) -> Self { self._fields.2 = value.into(); @@ -2046,4 +2032,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/at_margin/apikey.rs b/crates/jacquard-api/src/at_margin/apikey.rs index ac6abdd3..4aa79a4b 100644 --- a/crates/jacquard-api/src/at_margin/apikey.rs +++ b/crates/jacquard-api/src/at_margin/apikey.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// An API key hash for the Margin application. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -118,7 +118,7 @@ impl LexiconSchema for Apikey { pub mod apikey_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -243,10 +243,7 @@ where St::Name: apikey_state::IsUnset, { /// Set the `name` field (required) - pub fn name( - mut self, - value: impl Into, - ) -> ApikeyBuilder> { + pub fn name(mut self, value: impl Into) -> ApikeyBuilder> { self._fields.2 = Option::Some(value.into()); ApikeyBuilder { _state: PhantomData, @@ -284,10 +281,10 @@ where } fn lexicon_doc_at_margin_apikey() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("at.margin.apikey"), @@ -296,17 +293,16 @@ fn lexicon_doc_at_margin_apikey() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static("An API key hash for the Margin application."), - ), + description: Some(CowStr::new_static( + "An API key hash for the Margin application.", + )), key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("name"), SmolStr::new_static("keyHash"), - SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("name"), + SmolStr::new_static("keyHash"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -320,18 +316,18 @@ fn lexicon_doc_at_margin_apikey() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("keyHash"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("SHA256 hash of the API key."), - ), + description: Some(CowStr::new_static( + "SHA256 hash of the API key.", + )), ..Default::default() }), ); map.insert( SmolStr::new_static("name"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Human-readable name for the API key."), - ), + description: Some(CowStr::new_static( + "Human-readable name for the API key.", + )), max_length: Some(64usize), ..Default::default() }), @@ -347,4 +343,4 @@ fn lexicon_doc_at_margin_apikey() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/at_margin/collection.rs b/crates/jacquard-api/src/at_margin/collection.rs index ae9ee95c..e29f5f5d 100644 --- a/crates/jacquard-api/src/at_margin/collection.rs +++ b/crates/jacquard-api/src/at_margin/collection.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// A named collection for organizing annotations #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -179,7 +179,7 @@ impl LexiconSchema for Collection { pub mod collection_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -327,10 +327,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> Collection { + pub fn build_with_data(self, extra_data: BTreeMap>) -> Collection { Collection { created_at: self._fields.0.unwrap(), description: self._fields.1, @@ -342,10 +339,10 @@ where } fn lexicon_doc_at_margin_collection() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("at.margin.collection"), @@ -354,19 +351,15 @@ fn lexicon_doc_at_margin_collection() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static( - "A named collection for organizing annotations", - ), - ), + description: Some(CowStr::new_static( + "A named collection for organizing annotations", + )), key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("name"), - SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("name"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -380,9 +373,7 @@ fn lexicon_doc_at_margin_collection() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("description"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Collection description"), - ), + description: Some(CowStr::new_static("Collection description")), max_length: Some(500usize), max_graphemes: Some(150usize), ..Default::default() @@ -391,11 +382,9 @@ fn lexicon_doc_at_margin_collection() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("icon"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Emoji icon or icon identifier for the collection", - ), - ), + description: Some(CowStr::new_static( + "Emoji icon or icon identifier for the collection", + )), max_length: Some(100usize), max_graphemes: Some(100usize), ..Default::default() @@ -421,4 +410,4 @@ fn lexicon_doc_at_margin_collection() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/at_margin/collection_item.rs b/crates/jacquard-api/src/at_margin/collection_item.rs index abe02d5d..8320bdde 100644 --- a/crates/jacquard-api/src/at_margin/collection_item.rs +++ b/crates/jacquard-api/src/at_margin/collection_item.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// Associates an annotation with a collection #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -119,7 +119,7 @@ impl LexiconSchema for CollectionItem { pub mod collection_item_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -178,7 +178,12 @@ pub mod collection_item_state { /// Builder for constructing an instance of this type. pub struct CollectionItemBuilder { _state: PhantomData St>, - _fields: (Option>, Option>, Option, Option), + _fields: ( + Option>, + Option>, + Option, + Option, + ), _type: PhantomData S>, } @@ -288,10 +293,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> CollectionItem { + pub fn build_with_data(self, extra_data: BTreeMap>) -> CollectionItem { CollectionItem { annotation: self._fields.0.unwrap(), collection: self._fields.1.unwrap(), @@ -303,10 +305,10 @@ where } fn lexicon_doc_at_margin_collectionItem() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("at.margin.collectionItem"), @@ -315,29 +317,25 @@ fn lexicon_doc_at_margin_collectionItem() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static("Associates an annotation with a collection"), - ), + description: Some(CowStr::new_static( + "Associates an annotation with a collection", + )), key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("collection"), - SmolStr::new_static("annotation"), - SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("collection"), + SmolStr::new_static("annotation"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("annotation"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "AT URI of the annotation, highlight, or bookmark", - ), - ), + description: Some(CowStr::new_static( + "AT URI of the annotation, highlight, or bookmark", + )), format: Some(LexStringFormat::AtUri), ..Default::default() }), @@ -345,9 +343,9 @@ fn lexicon_doc_at_margin_collectionItem() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("collection"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("AT URI of the collection"), - ), + description: Some(CowStr::new_static( + "AT URI of the collection", + )), format: Some(LexStringFormat::AtUri), ..Default::default() }), @@ -377,4 +375,4 @@ fn lexicon_doc_at_margin_collectionItem() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/at_margin/like.rs b/crates/jacquard-api/src/at_margin/like.rs index 25a34140..e9578021 100644 --- a/crates/jacquard-api/src/at_margin/like.rs +++ b/crates/jacquard-api/src/at_margin/like.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::at_margin::like; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::at_margin::like; +use serde::{Deserialize, Serialize}; /// A like on an annotation or reply #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -56,9 +56,11 @@ pub struct LikeGetRecordOutput { pub value: Like, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct SubjectRef { pub cid: Cid, pub uri: AtUri, @@ -131,7 +133,7 @@ impl LexiconSchema for SubjectRef { pub mod like_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -261,10 +263,10 @@ where } fn lexicon_doc_at_margin_like() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("at.margin.like"), @@ -273,17 +275,13 @@ fn lexicon_doc_at_margin_like() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static("A like on an annotation or reply"), - ), + description: Some(CowStr::new_static("A like on an annotation or reply")), key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("subject"), - SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("subject"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -311,9 +309,7 @@ fn lexicon_doc_at_margin_like() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("subjectRef"), LexUserType::Object(LexObject { - required: Some( - vec![SmolStr::new_static("uri"), SmolStr::new_static("cid")], - ), + required: Some(vec![SmolStr::new_static("uri"), SmolStr::new_static("cid")]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -344,7 +340,7 @@ fn lexicon_doc_at_margin_like() -> LexiconDoc<'static> { pub mod subject_ref_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -464,14 +460,11 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> SubjectRef { + pub fn build_with_data(self, extra_data: BTreeMap>) -> SubjectRef { SubjectRef { cid: self._fields.0.unwrap(), uri: self._fields.1.unwrap(), extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/at_margin/preferences.rs b/crates/jacquard-api/src/at_margin/preferences.rs index 72580558..a88d39d3 100644 --- a/crates/jacquard-api/src/at_margin/preferences.rs +++ b/crates/jacquard-api/src/at_margin/preferences.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,13 +24,16 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::at_margin::preferences; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::at_margin::preferences; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct LabelPreference { ///The label identifier (e.g. sexual, violence, spam). pub label: S, @@ -93,8 +96,7 @@ impl Serialize for LabelPreferenceVisibility { } } -impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> -for LabelPreferenceVisibility { +impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> for LabelPreferenceVisibility { fn deserialize(deserializer: D) -> Result where D: serde::Deserializer<'de>, @@ -128,9 +130,11 @@ where } } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct LabelerSubscription { ///DID of the labeler service. pub did: S, @@ -285,10 +289,10 @@ impl LexiconSchema for Preferences { } fn lexicon_doc_at_margin_preferences() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("at.margin.preferences"), @@ -297,44 +301,38 @@ fn lexicon_doc_at_margin_preferences() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("labelPreference"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("labelerDid"), - SmolStr::new_static("label"), - SmolStr::new_static("visibility") - ], - ), + required: Some(vec![ + SmolStr::new_static("labelerDid"), + SmolStr::new_static("label"), + SmolStr::new_static("visibility"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("label"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "The label identifier (e.g. sexual, violence, spam).", - ), - ), + description: Some(CowStr::new_static( + "The label identifier (e.g. sexual, violence, spam).", + )), ..Default::default() }), ); map.insert( SmolStr::new_static("labelerDid"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("DID of the labeler service."), - ), + description: Some(CowStr::new_static( + "DID of the labeler service.", + )), ..Default::default() }), ); map.insert( SmolStr::new_static("visibility"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "How to handle content with this label: hide, warn, or ignore.", - ), - ), + description: Some(CowStr::new_static( + "How to handle content with this label: hide, warn, or ignore.", + )), ..Default::default() }), ); @@ -353,9 +351,9 @@ fn lexicon_doc_at_margin_preferences() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("did"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("DID of the labeler service."), - ), + description: Some(CowStr::new_static( + "DID of the labeler service.", + )), ..Default::default() }), ); @@ -454,7 +452,7 @@ fn lexicon_doc_at_margin_preferences() -> LexiconDoc<'static> { pub mod preferences_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -536,10 +534,7 @@ where impl PreferencesBuilder { /// Set the `disableExternalLinkWarning` field (optional) - pub fn disable_external_link_warning( - mut self, - value: impl Into>, - ) -> Self { + pub fn disable_external_link_warning(mut self, value: impl Into>) -> Self { self._fields.1 = value.into(); self } @@ -552,18 +547,12 @@ impl PreferencesBuilder { impl PreferencesBuilder { /// Set the `externalLinkSkippedHostnames` field (optional) - pub fn external_link_skipped_hostnames( - mut self, - value: impl Into>>, - ) -> Self { + pub fn external_link_skipped_hostnames(mut self, value: impl Into>>) -> Self { self._fields.2 = value.into(); self } /// Set the `externalLinkSkippedHostnames` field to an Option value (optional) - pub fn maybe_external_link_skipped_hostnames( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_external_link_skipped_hostnames(mut self, value: Option>) -> Self { self._fields.2 = value; self } @@ -624,10 +613,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> Preferences { + pub fn build_with_data(self, extra_data: BTreeMap>) -> Preferences { Preferences { created_at: self._fields.0.unwrap(), disable_external_link_warning: self._fields.1, @@ -637,4 +623,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/at_margin/profile.rs b/crates/jacquard-api/src/at_margin/profile.rs index b759ac69..7c915064 100644 --- a/crates/jacquard-api/src/at_margin/profile.rs +++ b/crates/jacquard-api/src/at_margin/profile.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -27,7 +27,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// A profile for a user on the Margin network. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -129,25 +129,20 @@ impl LexiconSchema for Profile { { let mime = value.blob().mime_type.as_str(); let accepted: &[&str] = &["image/png", "image/jpeg"]; - let matched = accepted - .iter() - .any(|pattern| { - if *pattern == "*/*" { - true - } else if pattern.ends_with("/*") { - let prefix = &pattern[..pattern.len() - 2]; - mime.starts_with(prefix) - && mime.as_bytes().get(prefix.len()) == Some(&b'/') - } else { - mime == *pattern - } - }); + let matched = accepted.iter().any(|pattern| { + if *pattern == "*/*" { + true + } else if pattern.ends_with("/*") { + let prefix = &pattern[..pattern.len() - 2]; + mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/') + } else { + mime == *pattern + } + }); if !matched { return Err(ConstraintError::BlobMimeTypeNotAccepted { path: ValidationPath::from_field("avatar"), - accepted: vec![ - "image/png".to_string(), "image/jpeg".to_string() - ], + accepted: vec!["image/png".to_string(), "image/jpeg".to_string()], actual: mime.to_string(), }); } @@ -199,7 +194,7 @@ impl LexiconSchema for Profile { pub mod profile_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -377,10 +372,10 @@ where } fn lexicon_doc_at_margin_profile() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("at.margin.profile"), @@ -389,9 +384,9 @@ fn lexicon_doc_at_margin_profile() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static("A profile for a user on the Margin network."), - ), + description: Some(CowStr::new_static( + "A profile for a user on the Margin network.", + )), key: Some(CowStr::new_static("literal:self")), record: LexRecordRecord::Object(LexObject { required: Some(vec![SmolStr::new_static("createdAt")]), @@ -400,14 +395,16 @@ fn lexicon_doc_at_margin_profile() -> LexiconDoc<'static> { let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("avatar"), - LexObjectProperty::Blob(LexBlob { ..Default::default() }), + LexObjectProperty::Blob(LexBlob { + ..Default::default() + }), ); map.insert( SmolStr::new_static("bio"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("User biography or description."), - ), + description: Some(CowStr::new_static( + "User biography or description.", + )), max_length: Some(5000usize), ..Default::default() }), @@ -422,9 +419,9 @@ fn lexicon_doc_at_margin_profile() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("displayName"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Display name for the user."), - ), + description: Some(CowStr::new_static( + "Display name for the user.", + )), max_length: Some(640usize), ..Default::default() }), @@ -432,11 +429,9 @@ fn lexicon_doc_at_margin_profile() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("links"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static( - "List of other relevant links (e.g. GitHub, Bluesky, etc).", - ), - ), + description: Some(CowStr::new_static( + "List of other relevant links (e.g. GitHub, Bluesky, etc).", + )), items: LexArrayItem::String(LexString { max_length: Some(1000usize), ..Default::default() @@ -464,4 +459,4 @@ fn lexicon_doc_at_margin_profile() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/at_margin/reply.rs b/crates/jacquard-api/src/at_margin/reply.rs index d0863b89..1f910800 100644 --- a/crates/jacquard-api/src/at_margin/reply.rs +++ b/crates/jacquard-api/src/at_margin/reply.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::at_margin::reply; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::at_margin::reply; +use serde::{Deserialize, Serialize}; /// A reply to an annotation (motivation: replying) #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -67,7 +67,10 @@ pub struct ReplyGetRecordOutput { /// Strong reference to an annotation or reply #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ReplyRef { pub cid: Cid, pub uri: AtUri, @@ -168,7 +171,7 @@ fn _default_reply_format() -> ::core::option::Option { pub mod reply_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -347,10 +350,7 @@ where St::Text: reply_state::IsUnset, { /// Set the `text` field (required) - pub fn text( - mut self, - value: impl Into, - ) -> ReplyBuilder> { + pub fn text(mut self, value: impl Into) -> ReplyBuilder> { self._fields.4 = Option::Some(value.into()); ReplyBuilder { _state: PhantomData, @@ -372,7 +372,10 @@ where pub fn build(self) -> Reply { Reply { created_at: self._fields.0.unwrap(), - format: self._fields.1.or_else(|| Some(S::from_static("text/plain"))), + format: self + ._fields + .1 + .or_else(|| Some(S::from_static("text/plain"))), parent: self._fields.2.unwrap(), root: self._fields.3.unwrap(), text: self._fields.4.unwrap(), @@ -383,7 +386,10 @@ where pub fn build_with_data(self, extra_data: BTreeMap>) -> Reply { Reply { created_at: self._fields.0.unwrap(), - format: self._fields.1.or_else(|| Some(S::from_static("text/plain"))), + format: self + ._fields + .1 + .or_else(|| Some(S::from_static("text/plain"))), parent: self._fields.2.unwrap(), root: self._fields.3.unwrap(), text: self._fields.4.unwrap(), @@ -393,10 +399,10 @@ where } fn lexicon_doc_at_margin_reply() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("at.margin.reply"), @@ -405,20 +411,17 @@ fn lexicon_doc_at_margin_reply() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static( - "A reply to an annotation (motivation: replying)", - ), - ), + description: Some(CowStr::new_static( + "A reply to an annotation (motivation: replying)", + )), key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("parent"), SmolStr::new_static("root"), - SmolStr::new_static("text"), - SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("parent"), + SmolStr::new_static("root"), + SmolStr::new_static("text"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -432,9 +435,9 @@ fn lexicon_doc_at_margin_reply() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("format"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("MIME type of the text content"), - ), + description: Some(CowStr::new_static( + "MIME type of the text content", + )), ..Default::default() }), ); @@ -471,12 +474,10 @@ fn lexicon_doc_at_margin_reply() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("replyRef"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("Strong reference to an annotation or reply"), - ), - required: Some( - vec![SmolStr::new_static("uri"), SmolStr::new_static("cid")], - ), + description: Some(CowStr::new_static( + "Strong reference to an annotation or reply", + )), + required: Some(vec![SmolStr::new_static("uri"), SmolStr::new_static("cid")]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -507,7 +508,7 @@ fn lexicon_doc_at_margin_reply() -> LexiconDoc<'static> { pub mod reply_ref_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -634,4 +635,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/at_noted.rs b/crates/jacquard-api/src/at_noted.rs index 30764e85..5d81196c 100644 --- a/crates/jacquard-api/src/at_noted.rs +++ b/crates/jacquard-api/src/at_noted.rs @@ -4,4 +4,4 @@ // Any manual changes will be overwritten on the next regeneration. pub mod link; -pub mod post; \ No newline at end of file +pub mod post; diff --git a/crates/jacquard-api/src/at_noted/link.rs b/crates/jacquard-api/src/at_noted/link.rs index a50be543..b05eec6a 100644 --- a/crates/jacquard-api/src/at_noted/link.rs +++ b/crates/jacquard-api/src/at_noted/link.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde( @@ -109,7 +109,7 @@ impl LexiconSchema for Link { pub mod link_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -246,10 +246,7 @@ where St::Url: link_state::IsUnset, { /// Set the `url` field (required) - pub fn url( - mut self, - value: impl Into>, - ) -> LinkBuilder> { + pub fn url(mut self, value: impl Into>) -> LinkBuilder> { self._fields.4 = Option::Some(value.into()); LinkBuilder { _state: PhantomData, @@ -290,10 +287,10 @@ where } fn lexicon_doc_at_noted_link() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("at.noted.link"), @@ -304,11 +301,10 @@ fn lexicon_doc_at_noted_link() -> LexiconDoc<'static> { LexUserType::Record(LexRecord { key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("url"), SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("url"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -358,4 +354,4 @@ fn lexicon_doc_at_noted_link() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/at_noted/post.rs b/crates/jacquard-api/src/at_noted/post.rs index e88acd0c..e2615ae8 100644 --- a/crates/jacquard-api/src/at_noted/post.rs +++ b/crates/jacquard-api/src/at_noted/post.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde( @@ -111,7 +111,7 @@ impl LexiconSchema for Post { pub mod post_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -230,10 +230,7 @@ where St::Slug: post_state::IsUnset, { /// Set the `slug` field (required) - pub fn slug( - mut self, - value: impl Into, - ) -> PostBuilder> { + pub fn slug(mut self, value: impl Into) -> PostBuilder> { self._fields.3 = Option::Some(value.into()); PostBuilder { _state: PhantomData, @@ -262,10 +259,7 @@ where St::Title: post_state::IsUnset, { /// Set the `title` field (required) - pub fn title( - mut self, - value: impl Into, - ) -> PostBuilder> { + pub fn title(mut self, value: impl Into) -> PostBuilder> { self._fields.5 = Option::Some(value.into()); PostBuilder { _state: PhantomData, @@ -308,10 +302,10 @@ where } fn lexicon_doc_at_noted_post() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("at.noted.post"), @@ -322,11 +316,10 @@ fn lexicon_doc_at_noted_post() -> LexiconDoc<'static> { LexUserType::Record(LexRecord { key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("title"), SmolStr::new_static("slug") - ], - ), + required: Some(vec![ + SmolStr::new_static("title"), + SmolStr::new_static("slug"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -381,4 +374,4 @@ fn lexicon_doc_at_noted_post() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/at_pasteb.rs b/crates/jacquard-api/src/at_pasteb.rs index e256fa0a..c26bb5d0 100644 --- a/crates/jacquard-api/src/at_pasteb.rs +++ b/crates/jacquard-api/src/at_pasteb.rs @@ -3,4 +3,4 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. -pub mod paste; \ No newline at end of file +pub mod paste; diff --git a/crates/jacquard-api/src/at_pasteb/paste.rs b/crates/jacquard-api/src/at_pasteb/paste.rs index c75cc4d0..32709eae 100644 --- a/crates/jacquard-api/src/at_pasteb/paste.rs +++ b/crates/jacquard-api/src/at_pasteb/paste.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -27,7 +27,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// A paste #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -116,19 +116,16 @@ impl LexiconSchema for Paste { { let mime = value.blob().mime_type.as_str(); let accepted: &[&str] = &["*/*"]; - let matched = accepted - .iter() - .any(|pattern| { - if *pattern == "*/*" { - true - } else if pattern.ends_with("/*") { - let prefix = &pattern[..pattern.len() - 2]; - mime.starts_with(prefix) - && mime.as_bytes().get(prefix.len()) == Some(&b'/') - } else { - mime == *pattern - } - }); + let matched = accepted.iter().any(|pattern| { + if *pattern == "*/*" { + true + } else if pattern.ends_with("/*") { + let prefix = &pattern[..pattern.len() - 2]; + mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/') + } else { + mime == *pattern + } + }); if !matched { return Err(ConstraintError::BlobMimeTypeNotAccepted { path: ValidationPath::from_field("content"), @@ -186,19 +183,16 @@ impl LexiconSchema for Paste { { let mime = value.blob().mime_type.as_str(); let accepted: &[&str] = &["image/webp"]; - let matched = accepted - .iter() - .any(|pattern| { - if *pattern == "*/*" { - true - } else if pattern.ends_with("/*") { - let prefix = &pattern[..pattern.len() - 2]; - mime.starts_with(prefix) - && mime.as_bytes().get(prefix.len()) == Some(&b'/') - } else { - mime == *pattern - } - }); + let matched = accepted.iter().any(|pattern| { + if *pattern == "*/*" { + true + } else if pattern.ends_with("/*") { + let prefix = &pattern[..pattern.len() - 2]; + mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/') + } else { + mime == *pattern + } + }); if !matched { return Err(ConstraintError::BlobMimeTypeNotAccepted { path: ValidationPath::from_field("thumbnail"), @@ -224,7 +218,7 @@ impl LexiconSchema for Paste { pub mod paste_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -437,10 +431,10 @@ where } fn lexicon_doc_at_pasteb_paste() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("at.pasteb.paste"), @@ -452,18 +446,18 @@ fn lexicon_doc_at_pasteb_paste() -> LexiconDoc<'static> { description: Some(CowStr::new_static("A paste")), key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("content"), - SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("content"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("content"), - LexObjectProperty::Blob(LexBlob { ..Default::default() }), + LexObjectProperty::Blob(LexBlob { + ..Default::default() + }), ); map.insert( SmolStr::new_static("createdAt"), @@ -475,9 +469,9 @@ fn lexicon_doc_at_pasteb_paste() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("description"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Optional description of the paste"), - ), + description: Some(CowStr::new_static( + "Optional description of the paste", + )), max_length: Some(2048usize), max_graphemes: Some(1024usize), ..Default::default() @@ -486,18 +480,18 @@ fn lexicon_doc_at_pasteb_paste() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("lang"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Language/syntax identifier for highlighting", - ), - ), + description: Some(CowStr::new_static( + "Language/syntax identifier for highlighting", + )), max_length: Some(32usize), ..Default::default() }), ); map.insert( SmolStr::new_static("thumbnail"), - LexObjectProperty::Blob(LexBlob { ..Default::default() }), + LexObjectProperty::Blob(LexBlob { + ..Default::default() + }), ); map.insert( SmolStr::new_static("title"), @@ -524,4 +518,4 @@ fn lexicon_doc_at_pasteb_paste() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/at_podping.rs b/crates/jacquard-api/src/at_podping.rs index d8f65041..1880fcc9 100644 --- a/crates/jacquard-api/src/at_podping.rs +++ b/crates/jacquard-api/src/at_podping.rs @@ -3,4 +3,4 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. -pub mod records; \ No newline at end of file +pub mod records; diff --git a/crates/jacquard-api/src/at_podping/records.rs b/crates/jacquard-api/src/at_podping/records.rs index f6e03789..14093444 100644 --- a/crates/jacquard-api/src/at_podping/records.rs +++ b/crates/jacquard-api/src/at_podping/records.rs @@ -4,4 +4,4 @@ // Any manual changes will be overwritten on the next regeneration. pub mod podping; -pub mod startup; \ No newline at end of file +pub mod startup; diff --git a/crates/jacquard-api/src/at_podping/records/podping.rs b/crates/jacquard-api/src/at_podping/records/podping.rs index 3bbbdd13..6843386e 100644 --- a/crates/jacquard-api/src/at_podping/records/podping.rs +++ b/crates/jacquard-api/src/at_podping/records/podping.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// Normalized podping fields, supporting podping v0 through v1.1. Record TID timestamp should represent when the event was received, useful for global ordering. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -118,7 +118,7 @@ impl LexiconSchema for Podping { pub mod podping_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -400,10 +400,10 @@ where } fn lexicon_doc_at_podping_records_podping() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("at.podping.records.podping"), @@ -517,4 +517,4 @@ fn lexicon_doc_at_podping_records_podping() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/at_podping/records/startup.rs b/crates/jacquard-api/src/at_podping/records/startup.rs index f3dc3f64..d473cb69 100644 --- a/crates/jacquard-api/src/at_podping/records/startup.rs +++ b/crates/jacquard-api/src/at_podping/records/startup.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// Normalized podping startup fields. Record TID timestamp should represent when the event was received, useful for global ordering. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -132,7 +132,7 @@ impl LexiconSchema for Startup { pub mod startup_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -219,7 +219,9 @@ impl StartupBuilder { pub fn new() -> Self { StartupBuilder { _state: PhantomData, - _fields: (None, None, None, None, None, None, None, None, None, None, None), + _fields: ( + None, None, None, None, None, None, None, None, None, None, None, + ), _type: PhantomData, } } @@ -430,10 +432,10 @@ where } fn lexicon_doc_at_podping_records_startup() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("at.podping.records.startup"), @@ -574,4 +576,4 @@ fn lexicon_doc_at_podping_records_startup() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/at_unthread.rs b/crates/jacquard-api/src/at_unthread.rs index 5bb922d5..a6b26e60 100644 --- a/crates/jacquard-api/src/at_unthread.rs +++ b/crates/jacquard-api/src/at_unthread.rs @@ -3,4 +3,4 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. -pub mod document; \ No newline at end of file +pub mod document; diff --git a/crates/jacquard-api/src/at_unthread/document.rs b/crates/jacquard-api/src/at_unthread/document.rs index 46d3d154..9471f73c 100644 --- a/crates/jacquard-api/src/at_unthread/document.rs +++ b/crates/jacquard-api/src/at_unthread/document.rs @@ -6,4 +6,4 @@ pub mod delete_draft; pub mod get_draft; pub mod list_drafts; -pub mod put_draft; \ No newline at end of file +pub mod put_draft; diff --git a/crates/jacquard-api/src/at_unthread/document/delete_draft.rs b/crates/jacquard-api/src/at_unthread/document/delete_draft.rs index 77a04fb5..1ea85539 100644 --- a/crates/jacquard-api/src/at_unthread/document/delete_draft.rs +++ b/crates/jacquard-api/src/at_unthread/document/delete_draft.rs @@ -10,14 +10,17 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DeleteDraft { ///TID of the draft to delete. pub tid: S, @@ -25,34 +28,30 @@ pub struct DeleteDraft { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DeleteDraftOutput { pub success: bool, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum DeleteDraftError { #[serde(rename = "DraftNotFound")] DraftNotFound(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for DeleteDraftError { @@ -87,9 +86,8 @@ impl jacquard_common::xrpc::XrpcResp for DeleteDraftResponse { impl jacquard_common::xrpc::XrpcRequest for DeleteDraft { const NSID: &'static str = "at.unthread.document.deleteDraft"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = DeleteDraftResponse; } @@ -97,9 +95,8 @@ impl jacquard_common::xrpc::XrpcRequest for DeleteDraft { pub struct DeleteDraftRequest; impl jacquard_common::xrpc::XrpcEndpoint for DeleteDraftRequest { const PATH: &'static str = "/xrpc/at.unthread.document.deleteDraft"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = DeleteDraft; type Response = DeleteDraftResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/at_unthread/document/get_draft.rs b/crates/jacquard-api/src/at_unthread/document/get_draft.rs index af694722..1e664564 100644 --- a/crates/jacquard-api/src/at_unthread/document/get_draft.rs +++ b/crates/jacquard-api/src/at_unthread/document/get_draft.rs @@ -8,24 +8,29 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::at_unthread::document::put_draft::DraftView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; -use crate::at_unthread::document::put_draft::DraftView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetDraft { pub tid: S, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetDraftOutput { #[serde(flatten)] pub value: DraftView, @@ -33,25 +38,19 @@ pub struct GetDraftOutput { pub extra_data: Option>>, } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum GetDraftError { #[serde(rename = "DraftNotFound")] DraftNotFound(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for GetDraftError { @@ -101,7 +100,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetDraftRequest { pub mod get_draft_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -162,10 +161,7 @@ where St::Tid: get_draft_state::IsUnset, { /// Set the `tid` field (required) - pub fn tid( - mut self, - value: impl Into, - ) -> GetDraftBuilder> { + pub fn tid(mut self, value: impl Into) -> GetDraftBuilder> { self._fields.0 = Option::Some(value.into()); GetDraftBuilder { _state: PhantomData, @@ -186,4 +182,4 @@ where tid: self._fields.0.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/at_unthread/document/list_drafts.rs b/crates/jacquard-api/src/at_unthread/document/list_drafts.rs index 10ca3fe7..2b8ca25c 100644 --- a/crates/jacquard-api/src/at_unthread/document/list_drafts.rs +++ b/crates/jacquard-api/src/at_unthread/document/list_drafts.rs @@ -8,17 +8,20 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::at_unthread::document::put_draft::DraftView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::at_unthread::document::put_draft::DraftView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ListDrafts { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -28,9 +31,11 @@ pub struct ListDrafts { pub limit: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ListDraftsOutput { ///Pagination cursor for the next page. #[serde(skip_serializing_if = "Option::is_none")] @@ -70,7 +75,7 @@ fn _default_limit() -> Option { pub mod list_drafts_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -149,4 +154,4 @@ where limit: self._fields.1, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/at_unthread/document/put_draft.rs b/crates/jacquard-api/src/at_unthread/document/put_draft.rs index e843be78..45865ed1 100644 --- a/crates/jacquard-api/src/at_unthread/document/put_draft.rs +++ b/crates/jacquard-api/src/at_unthread/document/put_draft.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -23,10 +23,13 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DraftView { pub content: S, pub created_at: Datetime, @@ -36,9 +39,11 @@ pub struct DraftView { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct PutDraft { ///Markdown content of the draft. pub content: S, @@ -49,9 +54,11 @@ pub struct PutDraft { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct PutDraftOutput { #[serde(flatten)] pub value: Data, @@ -59,25 +66,19 @@ pub struct PutDraftOutput { pub extra_data: Option>>, } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum PutDraftError { #[serde(rename = "DraftNotFound")] DraftNotFound(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for PutDraftError { @@ -127,9 +128,8 @@ impl jacquard_common::xrpc::XrpcResp for PutDraftResponse { impl jacquard_common::xrpc::XrpcRequest for PutDraft { const NSID: &'static str = "at.unthread.document.putDraft"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = PutDraftResponse; } @@ -137,16 +137,15 @@ impl jacquard_common::xrpc::XrpcRequest for PutDraft { pub struct PutDraftRequest; impl jacquard_common::xrpc::XrpcEndpoint for PutDraftRequest { const PATH: &'static str = "/xrpc/at.unthread.document.putDraft"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = PutDraft; type Response = PutDraftResponse; } pub mod draft_view_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -287,10 +286,7 @@ where St::Tid: draft_view_state::IsUnset, { /// Set the `tid` field (required) - pub fn tid( - mut self, - value: impl Into, - ) -> DraftViewBuilder> { + pub fn tid(mut self, value: impl Into) -> DraftViewBuilder> { self._fields.2 = Option::Some(value.into()); DraftViewBuilder { _state: PhantomData, @@ -338,10 +334,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> DraftView { + pub fn build_with_data(self, extra_data: BTreeMap>) -> DraftView { DraftView { content: self._fields.0.unwrap(), created_at: self._fields.1.unwrap(), @@ -353,10 +346,10 @@ where } fn lexicon_doc_at_unthread_document_putDraft() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("at.unthread.document.putDraft"), @@ -365,19 +358,20 @@ fn lexicon_doc_at_unthread_document_putDraft() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("draftView"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("tid"), SmolStr::new_static("content"), - SmolStr::new_static("createdAt"), - SmolStr::new_static("updatedAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("tid"), + SmolStr::new_static("content"), + SmolStr::new_static("createdAt"), + SmolStr::new_static("updatedAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("content"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("createdAt"), @@ -388,7 +382,9 @@ fn lexicon_doc_at_unthread_document_putDraft() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("tid"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("updatedAt"), @@ -447,4 +443,4 @@ fn lexicon_doc_at_unthread_document_putDraft() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/at_youandme.rs b/crates/jacquard-api/src/at_youandme.rs index 645d1f18..3cac5ca0 100644 --- a/crates/jacquard-api/src/at_youandme.rs +++ b/crates/jacquard-api/src/at_youandme.rs @@ -3,4 +3,4 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. -pub mod connection; \ No newline at end of file +pub mod connection; diff --git a/crates/jacquard-api/src/at_youandme/connection.rs b/crates/jacquard-api/src/at_youandme/connection.rs index 4807e053..e9fb4857 100644 --- a/crates/jacquard-api/src/at_youandme/connection.rs +++ b/crates/jacquard-api/src/at_youandme/connection.rs @@ -10,13 +10,13 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::collection::{Collection, RecordError}; -use jacquard_common::types::string::{Did, AtUri, Cid, Datetime}; +use jacquard_common::types::string::{AtUri, Cid, Datetime, Did}; use jacquard_common::types::uri::{RecordUri, UriError}; use jacquard_common::types::value::Data; use jacquard_common::xrpc::XrpcResp; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// A connection created by scanning someone's QR code #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -105,7 +105,7 @@ impl LexiconSchema for Connection { pub mod connection_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -225,10 +225,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> Connection { + pub fn build_with_data(self, extra_data: BTreeMap>) -> Connection { Connection { created_at: self._fields.0.unwrap(), subject: self._fields.1.unwrap(), @@ -238,10 +235,10 @@ where } fn lexicon_doc_at_youandme_connection() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("at.youandme.connection"), @@ -250,19 +247,15 @@ fn lexicon_doc_at_youandme_connection() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static( - "A connection created by scanning someone's QR code", - ), - ), + description: Some(CowStr::new_static( + "A connection created by scanning someone's QR code", + )), key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("subject"), - SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("subject"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -276,9 +269,9 @@ fn lexicon_doc_at_youandme_connection() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("subject"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("DID of the connected user"), - ), + description: Some(CowStr::new_static( + "DID of the connected user", + )), format: Some(LexStringFormat::Did), ..Default::default() }), @@ -294,4 +287,4 @@ fn lexicon_doc_at_youandme_connection() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/beauty_cybernetic.rs b/crates/jacquard-api/src/beauty_cybernetic.rs index 2c7fbe30..a30f7333 100644 --- a/crates/jacquard-api/src/beauty_cybernetic.rs +++ b/crates/jacquard-api/src/beauty_cybernetic.rs @@ -3,4 +3,4 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. -pub mod trustcow; \ No newline at end of file +pub mod trustcow; diff --git a/crates/jacquard-api/src/beauty_cybernetic/trustcow.rs b/crates/jacquard-api/src/beauty_cybernetic/trustcow.rs index 840b2990..3d060ec7 100644 --- a/crates/jacquard-api/src/beauty_cybernetic/trustcow.rs +++ b/crates/jacquard-api/src/beauty_cybernetic/trustcow.rs @@ -5,4 +5,4 @@ pub mod review; pub mod transaction; -pub mod warrant; \ No newline at end of file +pub mod warrant; diff --git a/crates/jacquard-api/src/beauty_cybernetic/trustcow/review.rs b/crates/jacquard-api/src/beauty_cybernetic/trustcow/review.rs index 0e247e19..4302d6f6 100644 --- a/crates/jacquard-api/src/beauty_cybernetic/trustcow/review.rs +++ b/crates/jacquard-api/src/beauty_cybernetic/trustcow/review.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// A review connected to a verified transaction, can only be created by one of the transaction parties #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -236,7 +236,7 @@ impl LexiconSchema for Review { pub mod review_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -377,10 +377,7 @@ where impl ReviewBuilder { /// Set the `reviewerRole` field (optional) - pub fn reviewer_role( - mut self, - value: impl Into>>, - ) -> Self { + pub fn reviewer_role(mut self, value: impl Into>>) -> Self { self._fields.3 = value.into(); self } @@ -457,10 +454,10 @@ where } fn lexicon_doc_beauty_cybernetic_trustcow_review() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("beauty.cybernetic.trustcow.review"), @@ -556,4 +553,4 @@ fn lexicon_doc_beauty_cybernetic_trustcow_review() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/beauty_cybernetic/trustcow/transaction.rs b/crates/jacquard-api/src/beauty_cybernetic/trustcow/transaction.rs index de800f5f..75e766fa 100644 --- a/crates/jacquard-api/src/beauty_cybernetic/trustcow/transaction.rs +++ b/crates/jacquard-api/src/beauty_cybernetic/trustcow/transaction.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// A verified transaction between two ATProto identities that must be stored in both parties' PDS #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -150,7 +150,7 @@ impl LexiconSchema for Transaction { pub mod transaction_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -392,10 +392,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> Transaction { + pub fn build_with_data(self, extra_data: BTreeMap>) -> Transaction { Transaction { amount: self._fields.0, created_at: self._fields.1.unwrap(), @@ -410,10 +407,10 @@ where } fn lexicon_doc_beauty_cybernetic_trustcow_transaction() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("beauty.cybernetic.trustcow.transaction"), @@ -525,4 +522,4 @@ fn lexicon_doc_beauty_cybernetic_trustcow_transaction() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/beauty_cybernetic/trustcow/warrant.rs b/crates/jacquard-api/src/beauty_cybernetic/trustcow/warrant.rs index e3867cd7..7f4079db 100644 --- a/crates/jacquard-api/src/beauty_cybernetic/trustcow/warrant.rs +++ b/crates/jacquard-api/src/beauty_cybernetic/trustcow/warrant.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// A warrant where one ATProto identity vouches for the trustworthiness of another identity #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -306,7 +306,7 @@ impl LexiconSchema for Warrant { pub mod warrant_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -446,10 +446,7 @@ where impl WarrantBuilder { /// Set the `trustLevel` field (optional) - pub fn trust_level( - mut self, - value: impl Into>>, - ) -> Self { + pub fn trust_level(mut self, value: impl Into>>) -> Self { self._fields.4 = value.into(); self } @@ -462,10 +459,7 @@ impl WarrantBuilder { impl WarrantBuilder { /// Set the `warrantType` field (optional) - pub fn warrant_type( - mut self, - value: impl Into>>, - ) -> Self { + pub fn warrant_type(mut self, value: impl Into>>) -> Self { self._fields.5 = value.into(); self } @@ -509,10 +503,10 @@ where } fn lexicon_doc_beauty_cybernetic_trustcow_warrant() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("beauty.cybernetic.trustcow.warrant"), @@ -610,4 +604,4 @@ fn lexicon_doc_beauty_cybernetic_trustcow_warrant() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/blog_pckt.rs b/crates/jacquard-api/src/blog_pckt.rs index 2c29b431..7e5b9a21 100644 --- a/crates/jacquard-api/src/blog_pckt.rs +++ b/crates/jacquard-api/src/blog_pckt.rs @@ -12,4 +12,4 @@ pub mod mark; pub mod post; pub mod publication; pub mod richtext; -pub mod theme; \ No newline at end of file +pub mod theme; diff --git a/crates/jacquard-api/src/blog_pckt/block.rs b/crates/jacquard-api/src/blog_pckt/block.rs index 65a9c45d..b1f997f5 100644 --- a/crates/jacquard-api/src/blog_pckt/block.rs +++ b/crates/jacquard-api/src/blog_pckt/block.rs @@ -24,4 +24,4 @@ pub mod table_row; pub mod task_item; pub mod task_list; pub mod text; -pub mod website; \ No newline at end of file +pub mod website; diff --git a/crates/jacquard-api/src/blog_pckt/block/blockquote.rs b/crates/jacquard-api/src/blog_pckt/block/blockquote.rs index 43ea04c6..7da1dff0 100644 --- a/crates/jacquard-api/src/blog_pckt/block/blockquote.rs +++ b/crates/jacquard-api/src/blog_pckt/block/blockquote.rs @@ -20,13 +20,16 @@ use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::blog_pckt::block::text::Text; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::blog_pckt::block::text::Text; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Blockquote { ///Array of text blocks pub content: Vec>, @@ -51,7 +54,7 @@ impl LexiconSchema for Blockquote { pub mod blockquote_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -138,10 +141,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> Blockquote { + pub fn build_with_data(self, extra_data: BTreeMap>) -> Blockquote { Blockquote { content: self._fields.0.unwrap(), extra_data: Some(extra_data), @@ -150,10 +150,10 @@ where } fn lexicon_doc_blog_pckt_block_blockquote() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("blog.pckt.block.blockquote"), @@ -169,9 +169,7 @@ fn lexicon_doc_blog_pckt_block_blockquote() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("content"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static("Array of text blocks"), - ), + description: Some(CowStr::new_static("Array of text blocks")), items: LexArrayItem::Union(LexRefUnion { refs: vec![CowStr::new_static("blog.pckt.block.text")], closed: Some(false), @@ -189,4 +187,4 @@ fn lexicon_doc_blog_pckt_block_blockquote() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/blog_pckt/block/bluesky_embed.rs b/crates/jacquard-api/src/blog_pckt/block/bluesky_embed.rs index f7243f9e..6b54acbc 100644 --- a/crates/jacquard-api/src/blog_pckt/block/bluesky_embed.rs +++ b/crates/jacquard-api/src/blog_pckt/block/bluesky_embed.rs @@ -20,13 +20,16 @@ use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::com_atproto::repo::strong_ref::StrongRef; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::com_atproto::repo::strong_ref::StrongRef; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct BlueskyEmbed { ///Strong reference to the Bluesky post pub post_ref: StrongRef, @@ -51,7 +54,7 @@ impl LexiconSchema for BlueskyEmbed { pub mod bluesky_embed_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -138,10 +141,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> BlueskyEmbed { + pub fn build_with_data(self, extra_data: BTreeMap>) -> BlueskyEmbed { BlueskyEmbed { post_ref: self._fields.0.unwrap(), extra_data: Some(extra_data), @@ -150,10 +150,10 @@ where } fn lexicon_doc_blog_pckt_block_blueskyEmbed() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("blog.pckt.block.blueskyEmbed"), @@ -182,4 +182,4 @@ fn lexicon_doc_blog_pckt_block_blueskyEmbed() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/blog_pckt/block/bullet_list.rs b/crates/jacquard-api/src/blog_pckt/block/bullet_list.rs index dc64ef15..58ccda8f 100644 --- a/crates/jacquard-api/src/blog_pckt/block/bullet_list.rs +++ b/crates/jacquard-api/src/blog_pckt/block/bullet_list.rs @@ -20,13 +20,16 @@ use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::blog_pckt::block::list_item::ListItem; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::blog_pckt::block::list_item::ListItem; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct BulletList { ///Array of list items pub content: Vec>, @@ -51,7 +54,7 @@ impl LexiconSchema for BulletList { pub mod bullet_list_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -138,10 +141,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> BulletList { + pub fn build_with_data(self, extra_data: BTreeMap>) -> BulletList { BulletList { content: self._fields.0.unwrap(), extra_data: Some(extra_data), @@ -150,10 +150,10 @@ where } fn lexicon_doc_blog_pckt_block_bulletList() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("blog.pckt.block.bulletList"), @@ -169,9 +169,7 @@ fn lexicon_doc_blog_pckt_block_bulletList() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("content"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static("Array of list items"), - ), + description: Some(CowStr::new_static("Array of list items")), items: LexArrayItem::Ref(LexRef { r#ref: CowStr::new_static("blog.pckt.block.listItem"), ..Default::default() @@ -188,4 +186,4 @@ fn lexicon_doc_blog_pckt_block_bulletList() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/blog_pckt/block/code_block.rs b/crates/jacquard-api/src/blog_pckt/block/code_block.rs index 58ddedb1..85e3692d 100644 --- a/crates/jacquard-api/src/blog_pckt/block/code_block.rs +++ b/crates/jacquard-api/src/blog_pckt/block/code_block.rs @@ -7,7 +7,7 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -19,10 +19,13 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct CodeBlock { ///Programming language for syntax highlighting #[serde(skip_serializing_if = "Option::is_none")] @@ -59,10 +62,10 @@ impl LexiconSchema for CodeBlock { } fn lexicon_doc_blog_pckt_block_codeBlock() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("blog.pckt.block.codeBlock"), @@ -78,11 +81,9 @@ fn lexicon_doc_blog_pckt_block_codeBlock() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("language"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Programming language for syntax highlighting", - ), - ), + description: Some(CowStr::new_static( + "Programming language for syntax highlighting", + )), max_length: Some(50usize), ..Default::default() }), @@ -103,4 +104,4 @@ fn lexicon_doc_blog_pckt_block_codeBlock() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/blog_pckt/block/gallery.rs b/crates/jacquard-api/src/blog_pckt/block/gallery.rs index 8305dd41..e0ee38c6 100644 --- a/crates/jacquard-api/src/blog_pckt/block/gallery.rs +++ b/crates/jacquard-api/src/blog_pckt/block/gallery.rs @@ -23,10 +23,13 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Gallery { ///Reference to a blog.pckt.gallery record pub r#ref: AtUri, @@ -51,7 +54,7 @@ impl LexiconSchema for Gallery { pub mod gallery_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -147,10 +150,10 @@ where } fn lexicon_doc_blog_pckt_block_gallery() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("blog.pckt.block.gallery"), @@ -166,11 +169,9 @@ fn lexicon_doc_blog_pckt_block_gallery() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("ref"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Reference to a blog.pckt.gallery record", - ), - ), + description: Some(CowStr::new_static( + "Reference to a blog.pckt.gallery record", + )), format: Some(LexStringFormat::AtUri), ..Default::default() }), @@ -184,4 +185,4 @@ fn lexicon_doc_blog_pckt_block_gallery() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/blog_pckt/block/hard_break.rs b/crates/jacquard-api/src/blog_pckt/block/hard_break.rs index 1a0c45ab..7eacf61e 100644 --- a/crates/jacquard-api/src/blog_pckt/block/hard_break.rs +++ b/crates/jacquard-api/src/blog_pckt/block/hard_break.rs @@ -19,10 +19,13 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct HardBreak { #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, @@ -44,10 +47,10 @@ impl LexiconSchema for HardBreak { } fn lexicon_doc_blog_pckt_block_hardBreak() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("blog.pckt.block.hardBreak"), @@ -69,4 +72,4 @@ fn lexicon_doc_blog_pckt_block_hardBreak() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/blog_pckt/block/heading.rs b/crates/jacquard-api/src/blog_pckt/block/heading.rs index 110169cd..48421395 100644 --- a/crates/jacquard-api/src/blog_pckt/block/heading.rs +++ b/crates/jacquard-api/src/blog_pckt/block/heading.rs @@ -7,7 +7,7 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -17,13 +17,16 @@ use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::blog_pckt::richtext::facet::Facet; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::blog_pckt::richtext::facet::Facet; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Heading { ///Facets for text formatting and features #[serde(skip_serializing_if = "Option::is_none")] @@ -71,10 +74,10 @@ impl LexiconSchema for Heading { } fn lexicon_doc_blog_pckt_block_heading() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("blog.pckt.block.heading"), @@ -90,11 +93,9 @@ fn lexicon_doc_blog_pckt_block_heading() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("facets"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static( - "Facets for text formatting and features", - ), - ), + description: Some(CowStr::new_static( + "Facets for text formatting and features", + )), items: LexArrayItem::Ref(LexRef { r#ref: CowStr::new_static("blog.pckt.richtext.facet"), ..Default::default() @@ -113,9 +114,9 @@ fn lexicon_doc_blog_pckt_block_heading() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("plaintext"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The plain text content of the heading"), - ), + description: Some(CowStr::new_static( + "The plain text content of the heading", + )), ..Default::default() }), ); @@ -128,4 +129,4 @@ fn lexicon_doc_blog_pckt_block_heading() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/blog_pckt/block/horizontal_rule.rs b/crates/jacquard-api/src/blog_pckt/block/horizontal_rule.rs index df92ad3e..dee858a1 100644 --- a/crates/jacquard-api/src/blog_pckt/block/horizontal_rule.rs +++ b/crates/jacquard-api/src/blog_pckt/block/horizontal_rule.rs @@ -19,10 +19,13 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct HorizontalRule { #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, @@ -44,10 +47,10 @@ impl LexiconSchema for HorizontalRule { } fn lexicon_doc_blog_pckt_block_horizontalRule() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("blog.pckt.block.horizontalRule"), @@ -69,4 +72,4 @@ fn lexicon_doc_blog_pckt_block_horizontalRule() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/blog_pckt/block/iframe.rs b/crates/jacquard-api/src/blog_pckt/block/iframe.rs index 725fd611..29d87ff2 100644 --- a/crates/jacquard-api/src/blog_pckt/block/iframe.rs +++ b/crates/jacquard-api/src/blog_pckt/block/iframe.rs @@ -23,10 +23,13 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Iframe { ///Height of the embed in pixels #[serde(skip_serializing_if = "Option::is_none")] @@ -72,7 +75,7 @@ impl LexiconSchema for Iframe { pub mod iframe_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -183,10 +186,10 @@ where } fn lexicon_doc_blog_pckt_block_iframe() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("blog.pckt.block.iframe"), @@ -210,9 +213,9 @@ fn lexicon_doc_blog_pckt_block_iframe() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("url"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The URL of the content to embed"), - ), + description: Some(CowStr::new_static( + "The URL of the content to embed", + )), format: Some(LexStringFormat::Uri), ..Default::default() }), @@ -226,4 +229,4 @@ fn lexicon_doc_blog_pckt_block_iframe() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/blog_pckt/block/image.rs b/crates/jacquard-api/src/blog_pckt/block/image.rs index 54a68b83..059befd5 100644 --- a/crates/jacquard-api/src/blog_pckt/block/image.rs +++ b/crates/jacquard-api/src/blog_pckt/block/image.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -21,14 +21,17 @@ use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::blog_pckt::block::image; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::blog_pckt::block::image; +use serde::{Deserialize, Serialize}; /// Image aspect ratio represented as width and height dimensions #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct AspectRatio { ///Height component of aspect ratio pub height: i64, @@ -41,7 +44,10 @@ pub struct AspectRatio { /// Image attributes #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ImageAttrs { ///Horizontal alignment of the image within its container #[serde(skip_serializing_if = "Option::is_none")] @@ -64,9 +70,11 @@ pub struct ImageAttrs { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Image { ///Image attributes pub attrs: image::ImageAttrs, @@ -158,19 +166,16 @@ impl LexiconSchema for ImageAttrs { { let mime = value.blob().mime_type.as_str(); let accepted: &[&str] = &["image/*"]; - let matched = accepted - .iter() - .any(|pattern| { - if *pattern == "*/*" { - true - } else if pattern.ends_with("/*") { - let prefix = &pattern[..pattern.len() - 2]; - mime.starts_with(prefix) - && mime.as_bytes().get(prefix.len()) == Some(&b'/') - } else { - mime == *pattern - } - }); + let matched = accepted.iter().any(|pattern| { + if *pattern == "*/*" { + true + } else if pattern.ends_with("/*") { + let prefix = &pattern[..pattern.len() - 2]; + mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/') + } else { + mime == *pattern + } + }); if !matched { return Err(ConstraintError::BlobMimeTypeNotAccepted { path: ValidationPath::from_field("blob"), @@ -234,7 +239,7 @@ impl LexiconSchema for Image { pub mod aspect_ratio_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -354,10 +359,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> AspectRatio { + pub fn build_with_data(self, extra_data: BTreeMap>) -> AspectRatio { AspectRatio { height: self._fields.0.unwrap(), width: self._fields.1.unwrap(), @@ -367,10 +369,10 @@ where } fn lexicon_doc_blog_pckt_block_image() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("blog.pckt.block.image"), @@ -379,14 +381,13 @@ fn lexicon_doc_blog_pckt_block_image() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("aspectRatio"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "Image aspect ratio represented as width and height dimensions", - ), - ), - required: Some( - vec![SmolStr::new_static("width"), SmolStr::new_static("height")], - ), + description: Some(CowStr::new_static( + "Image aspect ratio represented as width and height dimensions", + )), + required: Some(vec![ + SmolStr::new_static("width"), + SmolStr::new_static("height"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -509,7 +510,7 @@ fn lexicon_doc_blog_pckt_block_image() -> LexiconDoc<'static> { pub mod image_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -602,4 +603,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/blog_pckt/block/list_item.rs b/crates/jacquard-api/src/blog_pckt/block/list_item.rs index 473c8cbb..009df8ea 100644 --- a/crates/jacquard-api/src/blog_pckt/block/list_item.rs +++ b/crates/jacquard-api/src/blog_pckt/block/list_item.rs @@ -20,15 +20,18 @@ use jacquard_derive::{IntoStatic, open_union}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::blog_pckt::block::bullet_list::BulletList; use crate::blog_pckt::block::ordered_list::OrderedList; use crate::blog_pckt::block::text::Text; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ListItem { ///Array of block content (text or nested lists) pub content: Vec>, @@ -36,7 +39,6 @@ pub struct ListItem { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -66,7 +68,7 @@ impl LexiconSchema for ListItem { pub mod list_item_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -162,10 +164,10 @@ where } fn lexicon_doc_blog_pckt_block_listItem() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("blog.pckt.block.listItem"), @@ -181,16 +183,14 @@ fn lexicon_doc_blog_pckt_block_listItem() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("content"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static( - "Array of block content (text or nested lists)", - ), - ), + description: Some(CowStr::new_static( + "Array of block content (text or nested lists)", + )), items: LexArrayItem::Union(LexRefUnion { refs: vec![ CowStr::new_static("blog.pckt.block.text"), CowStr::new_static("blog.pckt.block.bulletList"), - CowStr::new_static("blog.pckt.block.orderedList") + CowStr::new_static("blog.pckt.block.orderedList"), ], closed: Some(false), ..Default::default() @@ -207,4 +207,4 @@ fn lexicon_doc_blog_pckt_block_listItem() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/blog_pckt/block/mention.rs b/crates/jacquard-api/src/blog_pckt/block/mention.rs index 82a9e9a4..bb291714 100644 --- a/crates/jacquard-api/src/blog_pckt/block/mention.rs +++ b/crates/jacquard-api/src/blog_pckt/block/mention.rs @@ -23,10 +23,13 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Mention { ///The DID of the mentioned user (e.g., did:plc:abc123xyz). This is the canonical reference that persists even if the user changes their handle, following app.bsky.richtext.facet#mention pub did: Did, @@ -64,7 +67,7 @@ impl LexiconSchema for Mention { pub mod mention_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -137,10 +140,7 @@ where St::Did: mention_state::IsUnset, { /// Set the `did` field (required) - pub fn did( - mut self, - value: impl Into>, - ) -> MentionBuilder> { + pub fn did(mut self, value: impl Into>) -> MentionBuilder> { self._fields.0 = Option::Some(value.into()); MentionBuilder { _state: PhantomData, @@ -194,10 +194,10 @@ where } fn lexicon_doc_blog_pckt_block_mention() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("blog.pckt.block.mention"), @@ -246,4 +246,4 @@ fn lexicon_doc_blog_pckt_block_mention() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/blog_pckt/block/ordered_list.rs b/crates/jacquard-api/src/blog_pckt/block/ordered_list.rs index 0ff63350..b0fb9c17 100644 --- a/crates/jacquard-api/src/blog_pckt/block/ordered_list.rs +++ b/crates/jacquard-api/src/blog_pckt/block/ordered_list.rs @@ -20,13 +20,16 @@ use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::blog_pckt::block::list_item::ListItem; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::blog_pckt::block::list_item::ListItem; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct OrderedList { ///Array of list items pub content: Vec>, @@ -63,7 +66,7 @@ impl LexiconSchema for OrderedList { pub mod ordered_list_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -164,10 +167,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> OrderedList { + pub fn build_with_data(self, extra_data: BTreeMap>) -> OrderedList { OrderedList { content: self._fields.0.unwrap(), start: self._fields.1, @@ -177,10 +177,10 @@ where } fn lexicon_doc_blog_pckt_block_orderedList() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("blog.pckt.block.orderedList"), @@ -196,9 +196,7 @@ fn lexicon_doc_blog_pckt_block_orderedList() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("content"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static("Array of list items"), - ), + description: Some(CowStr::new_static("Array of list items")), items: LexArrayItem::Ref(LexRef { r#ref: CowStr::new_static("blog.pckt.block.listItem"), ..Default::default() @@ -222,4 +220,4 @@ fn lexicon_doc_blog_pckt_block_orderedList() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/blog_pckt/block/paragraph.rs b/crates/jacquard-api/src/blog_pckt/block/paragraph.rs index e1347604..8eaf67c3 100644 --- a/crates/jacquard-api/src/blog_pckt/block/paragraph.rs +++ b/crates/jacquard-api/src/blog_pckt/block/paragraph.rs @@ -17,16 +17,19 @@ use jacquard_derive::{IntoStatic, open_union}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::blog_pckt::block::hard_break::HardBreak; use crate::blog_pckt::block::mention::Mention; use crate::blog_pckt::block::text::Text; use crate::blog_pckt::richtext::facet::Facet; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Paragraph { ///Array of inline content nodes (text, hard breaks, and mentions) #[serde(skip_serializing_if = "Option::is_none")] @@ -38,7 +41,6 @@ pub struct Paragraph { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -67,10 +69,10 @@ impl LexiconSchema for Paragraph { } fn lexicon_doc_blog_pckt_block_paragraph() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("blog.pckt.block.paragraph"), @@ -126,4 +128,4 @@ fn lexicon_doc_blog_pckt_block_paragraph() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/blog_pckt/block/table.rs b/crates/jacquard-api/src/blog_pckt/block/table.rs index 1c82d8a7..7c7f4e56 100644 --- a/crates/jacquard-api/src/blog_pckt/block/table.rs +++ b/crates/jacquard-api/src/blog_pckt/block/table.rs @@ -20,13 +20,16 @@ use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::blog_pckt::block::table_row::TableRow; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::blog_pckt::block::table_row::TableRow; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Table { ///Array of table rows pub content: Vec>, @@ -51,7 +54,7 @@ impl LexiconSchema for Table { pub mod table_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -147,10 +150,10 @@ where } fn lexicon_doc_blog_pckt_block_table() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("blog.pckt.block.table"), @@ -166,9 +169,7 @@ fn lexicon_doc_blog_pckt_block_table() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("content"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static("Array of table rows"), - ), + description: Some(CowStr::new_static("Array of table rows")), items: LexArrayItem::Ref(LexRef { r#ref: CowStr::new_static("blog.pckt.block.tableRow"), ..Default::default() @@ -185,4 +186,4 @@ fn lexicon_doc_blog_pckt_block_table() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/blog_pckt/block/table_cell.rs b/crates/jacquard-api/src/blog_pckt/block/table_cell.rs index e24dcaa0..700336d9 100644 --- a/crates/jacquard-api/src/blog_pckt/block/table_cell.rs +++ b/crates/jacquard-api/src/blog_pckt/block/table_cell.rs @@ -20,13 +20,16 @@ use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::blog_pckt::block::text::Text; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::blog_pckt::block::text::Text; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct TableCell { ///Number of columns this cell spans #[serde(skip_serializing_if = "Option::is_none")] @@ -75,7 +78,7 @@ impl LexiconSchema for TableCell { pub mod table_cell_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -190,10 +193,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> TableCell { + pub fn build_with_data(self, extra_data: BTreeMap>) -> TableCell { TableCell { colspan: self._fields.0, content: self._fields.1.unwrap(), @@ -204,10 +204,10 @@ where } fn lexicon_doc_blog_pckt_block_tableCell() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("blog.pckt.block.tableCell"), @@ -230,11 +230,9 @@ fn lexicon_doc_blog_pckt_block_tableCell() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("content"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static( - "Array of block content (typically text)", - ), - ), + description: Some(CowStr::new_static( + "Array of block content (typically text)", + )), items: LexArrayItem::Union(LexRefUnion { refs: vec![CowStr::new_static("blog.pckt.block.text")], closed: Some(false), @@ -259,4 +257,4 @@ fn lexicon_doc_blog_pckt_block_tableCell() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/blog_pckt/block/table_header.rs b/crates/jacquard-api/src/blog_pckt/block/table_header.rs index dfc42146..35463c07 100644 --- a/crates/jacquard-api/src/blog_pckt/block/table_header.rs +++ b/crates/jacquard-api/src/blog_pckt/block/table_header.rs @@ -20,13 +20,16 @@ use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::blog_pckt::block::text::Text; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::blog_pckt::block::text::Text; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct TableHeader { ///Number of columns this cell spans #[serde(skip_serializing_if = "Option::is_none")] @@ -75,7 +78,7 @@ impl LexiconSchema for TableHeader { pub mod table_header_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -190,10 +193,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> TableHeader { + pub fn build_with_data(self, extra_data: BTreeMap>) -> TableHeader { TableHeader { colspan: self._fields.0, content: self._fields.1.unwrap(), @@ -204,10 +204,10 @@ where } fn lexicon_doc_blog_pckt_block_tableHeader() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("blog.pckt.block.tableHeader"), @@ -230,11 +230,9 @@ fn lexicon_doc_blog_pckt_block_tableHeader() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("content"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static( - "Array of block content (typically text)", - ), - ), + description: Some(CowStr::new_static( + "Array of block content (typically text)", + )), items: LexArrayItem::Union(LexRefUnion { refs: vec![CowStr::new_static("blog.pckt.block.text")], closed: Some(false), @@ -259,4 +257,4 @@ fn lexicon_doc_blog_pckt_block_tableHeader() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/blog_pckt/block/table_row.rs b/crates/jacquard-api/src/blog_pckt/block/table_row.rs index d156ca20..2e07019a 100644 --- a/crates/jacquard-api/src/blog_pckt/block/table_row.rs +++ b/crates/jacquard-api/src/blog_pckt/block/table_row.rs @@ -20,14 +20,17 @@ use jacquard_derive::{IntoStatic, open_union}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::blog_pckt::block::table_cell::TableCell; use crate::blog_pckt::block::table_header::TableHeader; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct TableRow { ///Array of table cells or header cells pub content: Vec>, @@ -35,7 +38,6 @@ pub struct TableRow { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -63,7 +65,7 @@ impl LexiconSchema for TableRow { pub mod table_row_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -159,10 +161,10 @@ where } fn lexicon_doc_blog_pckt_block_tableRow() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("blog.pckt.block.tableRow"), @@ -178,13 +180,13 @@ fn lexicon_doc_blog_pckt_block_tableRow() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("content"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static("Array of table cells or header cells"), - ), + description: Some(CowStr::new_static( + "Array of table cells or header cells", + )), items: LexArrayItem::Union(LexRefUnion { refs: vec![ CowStr::new_static("blog.pckt.block.tableCell"), - CowStr::new_static("blog.pckt.block.tableHeader") + CowStr::new_static("blog.pckt.block.tableHeader"), ], closed: Some(false), ..Default::default() @@ -201,4 +203,4 @@ fn lexicon_doc_blog_pckt_block_tableRow() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/blog_pckt/block/task_item.rs b/crates/jacquard-api/src/blog_pckt/block/task_item.rs index 1541dfa3..cb2eea04 100644 --- a/crates/jacquard-api/src/blog_pckt/block/task_item.rs +++ b/crates/jacquard-api/src/blog_pckt/block/task_item.rs @@ -20,13 +20,16 @@ use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::blog_pckt::block::text::Text; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::blog_pckt::block::text::Text; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct TaskItem { ///Whether the task is completed pub checked: bool, @@ -53,7 +56,7 @@ impl LexiconSchema for TaskItem { pub mod task_item_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -183,10 +186,10 @@ where } fn lexicon_doc_blog_pckt_block_taskItem() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("blog.pckt.block.taskItem"), @@ -195,12 +198,10 @@ fn lexicon_doc_blog_pckt_block_taskItem() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("checked"), - SmolStr::new_static("content") - ], - ), + required: Some(vec![ + SmolStr::new_static("checked"), + SmolStr::new_static("content"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -213,9 +214,7 @@ fn lexicon_doc_blog_pckt_block_taskItem() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("content"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static("Array of text blocks"), - ), + description: Some(CowStr::new_static("Array of text blocks")), items: LexArrayItem::Union(LexRefUnion { refs: vec![CowStr::new_static("blog.pckt.block.text")], closed: Some(false), @@ -233,4 +232,4 @@ fn lexicon_doc_blog_pckt_block_taskItem() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/blog_pckt/block/task_list.rs b/crates/jacquard-api/src/blog_pckt/block/task_list.rs index 98e0ed36..976dbd59 100644 --- a/crates/jacquard-api/src/blog_pckt/block/task_list.rs +++ b/crates/jacquard-api/src/blog_pckt/block/task_list.rs @@ -20,13 +20,16 @@ use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::blog_pckt::block::task_item::TaskItem; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::blog_pckt::block::task_item::TaskItem; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct TaskList { ///Array of task items pub content: Vec>, @@ -51,7 +54,7 @@ impl LexiconSchema for TaskList { pub mod task_list_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -147,10 +150,10 @@ where } fn lexicon_doc_blog_pckt_block_taskList() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("blog.pckt.block.taskList"), @@ -166,9 +169,7 @@ fn lexicon_doc_blog_pckt_block_taskList() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("content"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static("Array of task items"), - ), + description: Some(CowStr::new_static("Array of task items")), items: LexArrayItem::Ref(LexRef { r#ref: CowStr::new_static("blog.pckt.block.taskItem"), ..Default::default() @@ -185,4 +186,4 @@ fn lexicon_doc_blog_pckt_block_taskList() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/blog_pckt/block/text.rs b/crates/jacquard-api/src/blog_pckt/block/text.rs index d83a0e92..6e09375d 100644 --- a/crates/jacquard-api/src/blog_pckt/block/text.rs +++ b/crates/jacquard-api/src/blog_pckt/block/text.rs @@ -7,7 +7,7 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -17,13 +17,16 @@ use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::blog_pckt::richtext::facet::Facet; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::blog_pckt::richtext::facet::Facet; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Text { ///Facets for text formatting and features #[serde(skip_serializing_if = "Option::is_none")] @@ -50,10 +53,10 @@ impl LexiconSchema for Text { } fn lexicon_doc_blog_pckt_block_text() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("blog.pckt.block.text"), @@ -69,11 +72,9 @@ fn lexicon_doc_blog_pckt_block_text() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("facets"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static( - "Facets for text formatting and features", - ), - ), + description: Some(CowStr::new_static( + "Facets for text formatting and features", + )), items: LexArrayItem::Ref(LexRef { r#ref: CowStr::new_static("blog.pckt.richtext.facet"), ..Default::default() @@ -84,9 +85,7 @@ fn lexicon_doc_blog_pckt_block_text() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("plaintext"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The plain text content"), - ), + description: Some(CowStr::new_static("The plain text content")), ..Default::default() }), ); @@ -99,4 +98,4 @@ fn lexicon_doc_blog_pckt_block_text() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/blog_pckt/block/website.rs b/crates/jacquard-api/src/blog_pckt/block/website.rs index 4a9ea9aa..8e054bb1 100644 --- a/crates/jacquard-api/src/blog_pckt/block/website.rs +++ b/crates/jacquard-api/src/blog_pckt/block/website.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -23,10 +23,13 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Website { ///A brief description of the website or page #[serde(skip_serializing_if = "Option::is_none")] @@ -60,7 +63,7 @@ impl LexiconSchema for Website { pub mod website_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -93,7 +96,12 @@ pub mod website_state { /// Builder for constructing an instance of this type. pub struct WebsiteBuilder { _state: PhantomData St>, - _fields: (Option, Option>, Option>, Option), + _fields: ( + Option, + Option>, + Option>, + Option, + ), _type: PhantomData S>, } @@ -201,10 +209,10 @@ where } fn lexicon_doc_blog_pckt_block_website() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("blog.pckt.block.website"), @@ -220,20 +228,16 @@ fn lexicon_doc_blog_pckt_block_website() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("description"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "A brief description of the website or page", - ), - ), + description: Some(CowStr::new_static( + "A brief description of the website or page", + )), ..Default::default() }), ); map.insert( SmolStr::new_static("previewImage"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("URL of the preview image"), - ), + description: Some(CowStr::new_static("URL of the preview image")), format: Some(LexStringFormat::Uri), ..Default::default() }), @@ -241,9 +245,7 @@ fn lexicon_doc_blog_pckt_block_website() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("src"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The URL of the website"), - ), + description: Some(CowStr::new_static("The URL of the website")), format: Some(LexStringFormat::Uri), ..Default::default() }), @@ -251,9 +253,9 @@ fn lexicon_doc_blog_pckt_block_website() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("title"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The title of the website or page"), - ), + description: Some(CowStr::new_static( + "The title of the website or page", + )), ..Default::default() }), ); @@ -266,4 +268,4 @@ fn lexicon_doc_blog_pckt_block_website() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/blog_pckt/blog.rs b/crates/jacquard-api/src/blog_pckt/blog.rs index c80c5cf1..cc0719cd 100644 --- a/crates/jacquard-api/src/blog_pckt/blog.rs +++ b/crates/jacquard-api/src/blog_pckt/blog.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -25,10 +25,10 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::blog_pckt::blog; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::blog_pckt::blog; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde( @@ -66,9 +66,11 @@ pub struct BlogGetRecordOutput { pub value: Blog, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Palette { #[serde(skip_serializing_if = "Option::is_none")] pub accent: Option, @@ -84,9 +86,11 @@ pub struct Palette { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Theme { #[serde(skip_serializing_if = "Option::is_none")] pub dark: Option>, @@ -146,19 +150,16 @@ impl LexiconSchema for Blog { { let mime = value.blob().mime_type.as_str(); let accepted: &[&str] = &["image/*"]; - let matched = accepted - .iter() - .any(|pattern| { - if *pattern == "*/*" { - true - } else if pattern.ends_with("/*") { - let prefix = &pattern[..pattern.len() - 2]; - mime.starts_with(prefix) - && mime.as_bytes().get(prefix.len()) == Some(&b'/') - } else { - mime == *pattern - } - }); + let matched = accepted.iter().any(|pattern| { + if *pattern == "*/*" { + true + } else if pattern.ends_with("/*") { + let prefix = &pattern[..pattern.len() - 2]; + mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/') + } else { + mime == *pattern + } + }); if !matched { return Err(ConstraintError::BlobMimeTypeNotAccepted { path: ValidationPath::from_field("icon"), @@ -204,7 +205,7 @@ impl LexiconSchema for Theme { pub mod blog_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -299,10 +300,7 @@ where St::Name: blog_state::IsUnset, { /// Set the `name` field (required) - pub fn name( - mut self, - value: impl Into, - ) -> BlogBuilder> { + pub fn name(mut self, value: impl Into) -> BlogBuilder> { self._fields.2 = Option::Some(value.into()); BlogBuilder { _state: PhantomData, @@ -398,10 +396,10 @@ where } fn lexicon_doc_blog_pckt_blog() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("blog.pckt.blog"), @@ -424,7 +422,9 @@ fn lexicon_doc_blog_pckt_blog() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("icon"), - LexObjectProperty::Blob(LexBlob { ..Default::default() }), + LexObjectProperty::Blob(LexBlob { + ..Default::default() + }), ); map.insert( SmolStr::new_static("name"), @@ -475,23 +475,33 @@ fn lexicon_doc_blog_pckt_blog() -> LexiconDoc<'static> { let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("accent"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("background"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("link"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("surfaceHover"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("text"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map }, @@ -513,7 +523,9 @@ fn lexicon_doc_blog_pckt_blog() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("font"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("light"), @@ -531,4 +543,4 @@ fn lexicon_doc_blog_pckt_blog() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/blog_pckt/content.rs b/crates/jacquard-api/src/blog_pckt/content.rs index 5d2cc086..9c0641c5 100644 --- a/crates/jacquard-api/src/blog_pckt/content.rs +++ b/crates/jacquard-api/src/blog_pckt/content.rs @@ -20,11 +20,14 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// Hybrid content storage: inline for small content (≤20KB), blob for large content (>20KB) #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Content { ///Reference to external JSON blob containing content (extended mode, used when content > 20KB) #[serde(skip_serializing_if = "Option::is_none")] @@ -55,10 +58,10 @@ impl LexiconSchema for Content { } fn lexicon_doc_blog_pckt_content() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("blog.pckt.content"), @@ -116,4 +119,4 @@ fn lexicon_doc_blog_pckt_content() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/blog_pckt/document.rs b/crates/jacquard-api/src/blog_pckt/document.rs index 1ad53aff..dbfb8e30 100644 --- a/crates/jacquard-api/src/blog_pckt/document.rs +++ b/crates/jacquard-api/src/blog_pckt/document.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::com_atproto::repo::strong_ref::StrongRef; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::com_atproto::repo::strong_ref::StrongRef; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde( @@ -104,7 +104,7 @@ impl LexiconSchema for Document { pub mod document_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -234,10 +234,10 @@ where } fn lexicon_doc_blog_pckt_document() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("blog.pckt.document"), @@ -248,11 +248,10 @@ fn lexicon_doc_blog_pckt_document() -> LexiconDoc<'static> { LexUserType::Record(LexRecord { key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("document"), SmolStr::new_static("site") - ], - ), + required: Some(vec![ + SmolStr::new_static("document"), + SmolStr::new_static("site"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -281,4 +280,4 @@ fn lexicon_doc_blog_pckt_document() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/blog_pckt/gallery.rs b/crates/jacquard-api/src/blog_pckt/gallery.rs index d7ba346c..57a2d088 100644 --- a/crates/jacquard-api/src/blog_pckt/gallery.rs +++ b/crates/jacquard-api/src/blog_pckt/gallery.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::blog_pckt::block::image::ImageAttrs; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::blog_pckt::block::image::ImageAttrs; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde( @@ -177,7 +177,7 @@ impl LexiconSchema for Gallery { pub mod gallery_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -318,10 +318,10 @@ where } fn lexicon_doc_blog_pckt_gallery() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("blog.pckt.gallery"), @@ -399,4 +399,4 @@ fn lexicon_doc_blog_pckt_gallery() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/blog_pckt/mark.rs b/crates/jacquard-api/src/blog_pckt/mark.rs index 744ee79c..854672bf 100644 --- a/crates/jacquard-api/src/blog_pckt/mark.rs +++ b/crates/jacquard-api/src/blog_pckt/mark.rs @@ -8,4 +8,4 @@ pub mod code; pub mod italic; pub mod link; pub mod strike; -pub mod underline; \ No newline at end of file +pub mod underline; diff --git a/crates/jacquard-api/src/blog_pckt/mark/bold.rs b/crates/jacquard-api/src/blog_pckt/mark/bold.rs index 74bf8624..47caac1b 100644 --- a/crates/jacquard-api/src/blog_pckt/mark/bold.rs +++ b/crates/jacquard-api/src/blog_pckt/mark/bold.rs @@ -19,10 +19,13 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Bold { #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, @@ -44,10 +47,10 @@ impl LexiconSchema for Bold { } fn lexicon_doc_blog_pckt_mark_bold() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("blog.pckt.mark.bold"), @@ -69,4 +72,4 @@ fn lexicon_doc_blog_pckt_mark_bold() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/blog_pckt/mark/code.rs b/crates/jacquard-api/src/blog_pckt/mark/code.rs index 7b1ec507..c16c97f9 100644 --- a/crates/jacquard-api/src/blog_pckt/mark/code.rs +++ b/crates/jacquard-api/src/blog_pckt/mark/code.rs @@ -19,10 +19,13 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Code { #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, @@ -44,10 +47,10 @@ impl LexiconSchema for Code { } fn lexicon_doc_blog_pckt_mark_code() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("blog.pckt.mark.code"), @@ -69,4 +72,4 @@ fn lexicon_doc_blog_pckt_mark_code() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/blog_pckt/mark/italic.rs b/crates/jacquard-api/src/blog_pckt/mark/italic.rs index 93f367b1..1efb1b4d 100644 --- a/crates/jacquard-api/src/blog_pckt/mark/italic.rs +++ b/crates/jacquard-api/src/blog_pckt/mark/italic.rs @@ -19,10 +19,13 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Italic { #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, @@ -44,10 +47,10 @@ impl LexiconSchema for Italic { } fn lexicon_doc_blog_pckt_mark_italic() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("blog.pckt.mark.italic"), @@ -69,4 +72,4 @@ fn lexicon_doc_blog_pckt_mark_italic() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/blog_pckt/mark/link.rs b/crates/jacquard-api/src/blog_pckt/mark/link.rs index fd4e13b5..df9f7e04 100644 --- a/crates/jacquard-api/src/blog_pckt/mark/link.rs +++ b/crates/jacquard-api/src/blog_pckt/mark/link.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -21,14 +21,17 @@ use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::blog_pckt::mark::link; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::blog_pckt::mark::link; +use serde::{Deserialize, Serialize}; /// Link attributes #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct LinkAttrs { ///The URL destination of the hyperlink pub href: UriValue, @@ -45,9 +48,11 @@ pub struct LinkAttrs { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Link { ///Link attributes that define the hyperlink behavior and destination pub attrs: link::LinkAttrs, @@ -128,7 +133,7 @@ impl LexiconSchema for Link { pub mod link_attrs_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -257,10 +262,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> LinkAttrs { + pub fn build_with_data(self, extra_data: BTreeMap>) -> LinkAttrs { LinkAttrs { href: self._fields.0.unwrap(), rel: self._fields.1, @@ -272,10 +274,10 @@ where } fn lexicon_doc_blog_pckt_mark_link() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("blog.pckt.mark.link"), @@ -368,7 +370,7 @@ fn lexicon_doc_blog_pckt_mark_link() -> LexiconDoc<'static> { pub mod link_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -461,4 +463,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/blog_pckt/mark/strike.rs b/crates/jacquard-api/src/blog_pckt/mark/strike.rs index 415b232b..c051fb81 100644 --- a/crates/jacquard-api/src/blog_pckt/mark/strike.rs +++ b/crates/jacquard-api/src/blog_pckt/mark/strike.rs @@ -19,10 +19,13 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Strike { #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, @@ -44,10 +47,10 @@ impl LexiconSchema for Strike { } fn lexicon_doc_blog_pckt_mark_strike() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("blog.pckt.mark.strike"), @@ -69,4 +72,4 @@ fn lexicon_doc_blog_pckt_mark_strike() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/blog_pckt/mark/underline.rs b/crates/jacquard-api/src/blog_pckt/mark/underline.rs index c7d31e32..b98e9929 100644 --- a/crates/jacquard-api/src/blog_pckt/mark/underline.rs +++ b/crates/jacquard-api/src/blog_pckt/mark/underline.rs @@ -19,10 +19,13 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Underline { #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, @@ -44,10 +47,10 @@ impl LexiconSchema for Underline { } fn lexicon_doc_blog_pckt_mark_underline() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("blog.pckt.mark.underline"), @@ -69,4 +72,4 @@ fn lexicon_doc_blog_pckt_mark_underline() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/blog_pckt/post.rs b/crates/jacquard-api/src/blog_pckt/post.rs index a8f66aa6..41d9699e 100644 --- a/crates/jacquard-api/src/blog_pckt/post.rs +++ b/crates/jacquard-api/src/blog_pckt/post.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -25,10 +25,10 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::com_atproto::repo::strong_ref::StrongRef; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::com_atproto::repo::strong_ref::StrongRef; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde( @@ -117,19 +117,16 @@ impl LexiconSchema for Post { { let mime = value.blob().mime_type.as_str(); let accepted: &[&str] = &["image/*"]; - let matched = accepted - .iter() - .any(|pattern| { - if *pattern == "*/*" { - true - } else if pattern.ends_with("/*") { - let prefix = &pattern[..pattern.len() - 2]; - mime.starts_with(prefix) - && mime.as_bytes().get(prefix.len()) == Some(&b'/') - } else { - mime == *pattern - } - }); + let matched = accepted.iter().any(|pattern| { + if *pattern == "*/*" { + true + } else if pattern.ends_with("/*") { + let prefix = &pattern[..pattern.len() - 2]; + mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/') + } else { + mime == *pattern + } + }); if !matched { return Err(ConstraintError::BlobMimeTypeNotAccepted { path: ValidationPath::from_field("cover"), @@ -145,7 +142,7 @@ impl LexiconSchema for Post { pub mod post_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -362,10 +359,7 @@ where St::Title: post_state::IsUnset, { /// Set the `title` field (required) - pub fn title( - mut self, - value: impl Into, - ) -> PostBuilder> { + pub fn title(mut self, value: impl Into) -> PostBuilder> { self._fields.7 = Option::Some(value.into()); PostBuilder { _state: PhantomData, @@ -394,10 +388,7 @@ where St::Url: post_state::IsUnset, { /// Set the `url` field (required) - pub fn url( - mut self, - value: impl Into>, - ) -> PostBuilder> { + pub fn url(mut self, value: impl Into>) -> PostBuilder> { self._fields.9 = Option::Some(value.into()); PostBuilder { _state: PhantomData, @@ -450,10 +441,10 @@ where } fn lexicon_doc_blog_pckt_post() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("blog.pckt.post"), @@ -464,12 +455,12 @@ fn lexicon_doc_blog_pckt_post() -> LexiconDoc<'static> { LexUserType::Record(LexRecord { key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("title"), SmolStr::new_static("blocks"), - SmolStr::new_static("url"), SmolStr::new_static("blog") - ], - ), + required: Some(vec![ + SmolStr::new_static("title"), + SmolStr::new_static("blocks"), + SmolStr::new_static("url"), + SmolStr::new_static("blog"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -496,12 +487,16 @@ fn lexicon_doc_blog_pckt_post() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("cover"), - LexObjectProperty::Blob(LexBlob { ..Default::default() }), + LexObjectProperty::Blob(LexBlob { + ..Default::default() + }), ); map.insert( SmolStr::new_static("images"), LexObjectProperty::Array(LexArray { - items: LexArrayItem::Blob(LexBlob { ..Default::default() }), + items: LexArrayItem::Blob(LexBlob { + ..Default::default() + }), ..Default::default() }), ); @@ -552,4 +547,4 @@ fn lexicon_doc_blog_pckt_post() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/blog_pckt/publication.rs b/crates/jacquard-api/src/blog_pckt/publication.rs index e8107910..8ab94532 100644 --- a/crates/jacquard-api/src/blog_pckt/publication.rs +++ b/crates/jacquard-api/src/blog_pckt/publication.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::com_atproto::repo::strong_ref::StrongRef; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::com_atproto::repo::strong_ref::StrongRef; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde( @@ -103,7 +103,7 @@ impl LexiconSchema for Publication { pub mod publication_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -190,10 +190,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> Publication { + pub fn build_with_data(self, extra_data: BTreeMap>) -> Publication { Publication { publication: self._fields.0.unwrap(), extra_data: Some(extra_data), @@ -202,10 +199,10 @@ where } fn lexicon_doc_blog_pckt_publication() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("blog.pckt.publication"), @@ -238,4 +235,4 @@ fn lexicon_doc_blog_pckt_publication() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/blog_pckt/richtext.rs b/crates/jacquard-api/src/blog_pckt/richtext.rs index b7b3177b..3bf124e6 100644 --- a/crates/jacquard-api/src/blog_pckt/richtext.rs +++ b/crates/jacquard-api/src/blog_pckt/richtext.rs @@ -3,4 +3,4 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. -pub mod facet; \ No newline at end of file +pub mod facet; diff --git a/crates/jacquard-api/src/blog_pckt/richtext/facet.rs b/crates/jacquard-api/src/blog_pckt/richtext/facet.rs index 98f518a6..9023e645 100644 --- a/crates/jacquard-api/src/blog_pckt/richtext/facet.rs +++ b/crates/jacquard-api/src/blog_pckt/richtext/facet.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -21,14 +21,17 @@ use jacquard_derive::{IntoStatic, open_union}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::blog_pckt::richtext::facet; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::blog_pckt::richtext::facet; +use serde::{Deserialize, Serialize}; /// Facet feature for mentioning an AT URI #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct AtMention { pub at_uri: UriValue, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -38,7 +41,10 @@ pub struct AtMention { /// Facet feature for bold text #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Bold { #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, @@ -47,7 +53,10 @@ pub struct Bold { /// Specifies the sub-string range a facet feature applies to. Start index is inclusive, end index is exclusive. Indices are zero-indexed, counting bytes of the UTF-8 encoded text. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ByteSlice { pub byte_end: i64, pub byte_start: i64, @@ -58,7 +67,10 @@ pub struct ByteSlice { /// Facet feature for inline code #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Code { #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, @@ -67,7 +79,10 @@ pub struct Code { /// Facet feature for mentioning a DID #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DidMention { pub did: Did, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -77,7 +92,10 @@ pub struct DidMention { /// Facet feature for highlighted text #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Highlight { #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, @@ -86,7 +104,10 @@ pub struct Highlight { /// Facet feature for an identifier. Used for linking to a segment #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Id { #[serde(skip_serializing_if = "Option::is_none")] pub id: Option, @@ -97,7 +118,10 @@ pub struct Id { /// Facet feature for italic text #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Italic { #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, @@ -106,16 +130,21 @@ pub struct Italic { /// Facet feature for a URL. The text URL may have been simplified or truncated, but the facet reference should be a complete URL. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Link { pub uri: S, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Facet { pub features: Vec>, pub index: facet::ByteSlice, @@ -123,7 +152,6 @@ pub struct Facet { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -153,7 +181,10 @@ pub enum FacetFeaturesItem { /// Facet feature for strikethrough markup #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Strikethrough { #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, @@ -162,7 +193,10 @@ pub struct Strikethrough { /// Facet feature for underline markup #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Underline { #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, @@ -370,7 +404,7 @@ impl LexiconSchema for Underline { pub mod at_mention_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -457,10 +491,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> AtMention { + pub fn build_with_data(self, extra_data: BTreeMap>) -> AtMention { AtMention { at_uri: self._fields.0.unwrap(), extra_data: Some(extra_data), @@ -469,10 +500,10 @@ where } fn lexicon_doc_blog_pckt_richtext_facet() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("blog.pckt.richtext.facet"), @@ -481,9 +512,7 @@ fn lexicon_doc_blog_pckt_richtext_facet() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("atMention"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("Facet feature for mentioning an AT URI"), - ), + description: Some(CowStr::new_static("Facet feature for mentioning an AT URI")), required: Some(vec![SmolStr::new_static("atURI")]), properties: { #[allow(unused_mut)] @@ -551,9 +580,7 @@ fn lexicon_doc_blog_pckt_richtext_facet() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("code"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("Facet feature for inline code"), - ), + description: Some(CowStr::new_static("Facet feature for inline code")), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -565,9 +592,7 @@ fn lexicon_doc_blog_pckt_richtext_facet() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("didMention"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("Facet feature for mentioning a DID"), - ), + description: Some(CowStr::new_static("Facet feature for mentioning a DID")), required: Some(vec![SmolStr::new_static("did")]), properties: { #[allow(unused_mut)] @@ -587,9 +612,7 @@ fn lexicon_doc_blog_pckt_richtext_facet() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("highlight"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("Facet feature for highlighted text"), - ), + description: Some(CowStr::new_static("Facet feature for highlighted text")), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -601,17 +624,17 @@ fn lexicon_doc_blog_pckt_richtext_facet() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("id"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "Facet feature for an identifier. Used for linking to a segment", - ), - ), + description: Some(CowStr::new_static( + "Facet feature for an identifier. Used for linking to a segment", + )), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("id"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map }, @@ -621,9 +644,7 @@ fn lexicon_doc_blog_pckt_richtext_facet() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("italic"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("Facet feature for italic text"), - ), + description: Some(CowStr::new_static("Facet feature for italic text")), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -656,11 +677,10 @@ fn lexicon_doc_blog_pckt_richtext_facet() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("index"), SmolStr::new_static("features") - ], - ), + required: Some(vec![ + SmolStr::new_static("index"), + SmolStr::new_static("features"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -676,8 +696,9 @@ fn lexicon_doc_blog_pckt_richtext_facet() -> LexiconDoc<'static> { CowStr::new_static("#highlight"), CowStr::new_static("#underline"), CowStr::new_static("#strikethrough"), - CowStr::new_static("#id"), CowStr::new_static("#bold"), - CowStr::new_static("#italic") + CowStr::new_static("#id"), + CowStr::new_static("#bold"), + CowStr::new_static("#italic"), ], ..Default::default() }), @@ -699,9 +720,7 @@ fn lexicon_doc_blog_pckt_richtext_facet() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("strikethrough"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("Facet feature for strikethrough markup"), - ), + description: Some(CowStr::new_static("Facet feature for strikethrough markup")), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -713,9 +732,7 @@ fn lexicon_doc_blog_pckt_richtext_facet() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("underline"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("Facet feature for underline markup"), - ), + description: Some(CowStr::new_static("Facet feature for underline markup")), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -732,7 +749,7 @@ fn lexicon_doc_blog_pckt_richtext_facet() -> LexiconDoc<'static> { pub mod byte_slice_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -852,10 +869,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> ByteSlice { + pub fn build_with_data(self, extra_data: BTreeMap>) -> ByteSlice { ByteSlice { byte_end: self._fields.0.unwrap(), byte_start: self._fields.1.unwrap(), @@ -866,7 +880,7 @@ where pub mod did_mention_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -953,10 +967,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> DidMention { + pub fn build_with_data(self, extra_data: BTreeMap>) -> DidMention { DidMention { did: self._fields.0.unwrap(), extra_data: Some(extra_data), @@ -966,7 +977,7 @@ where pub mod facet_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -1011,7 +1022,10 @@ pub mod facet_state { /// Builder for constructing an instance of this type. pub struct FacetBuilder { _state: PhantomData St>, - _fields: (Option>>, Option>), + _fields: ( + Option>>, + Option>, + ), _type: PhantomData S>, } @@ -1093,4 +1107,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/blog_pckt/theme.rs b/crates/jacquard-api/src/blog_pckt/theme.rs index 5e2bcb5d..808a35ee 100644 --- a/crates/jacquard-api/src/blog_pckt/theme.rs +++ b/crates/jacquard-api/src/blog_pckt/theme.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -20,14 +20,17 @@ use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::blog_pckt::theme; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::blog_pckt::theme; +use serde::{Deserialize, Serialize}; /// Theme configuration for a blog publication #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Theme { ///Dark mode color palette pub dark: theme::Palette, @@ -46,7 +49,10 @@ pub struct Theme { /// Color palette with CSS hex values #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Palette { ///Accent color (hex value) pub accent: S, @@ -177,7 +183,7 @@ impl LexiconSchema for Palette { pub mod theme_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -342,10 +348,10 @@ where } fn lexicon_doc_blog_pckt_theme() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("blog.pckt.theme"), @@ -354,12 +360,13 @@ fn lexicon_doc_blog_pckt_theme() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("Theme configuration for a blog publication"), - ), - required: Some( - vec![SmolStr::new_static("light"), SmolStr::new_static("dark")], - ), + description: Some(CowStr::new_static( + "Theme configuration for a blog publication", + )), + required: Some(vec![ + SmolStr::new_static("light"), + SmolStr::new_static("dark"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -373,9 +380,9 @@ fn lexicon_doc_blog_pckt_theme() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("font"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Font family name (optional)"), - ), + description: Some(CowStr::new_static( + "Font family name (optional)", + )), max_length: Some(100usize), ..Default::default() }), @@ -403,26 +410,21 @@ fn lexicon_doc_blog_pckt_theme() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("palette"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("Color palette with CSS hex values"), - ), - required: Some( - vec![ - SmolStr::new_static("link"), SmolStr::new_static("text"), - SmolStr::new_static("accent"), - SmolStr::new_static("background"), - SmolStr::new_static("surfaceHover") - ], - ), + description: Some(CowStr::new_static("Color palette with CSS hex values")), + required: Some(vec![ + SmolStr::new_static("link"), + SmolStr::new_static("text"), + SmolStr::new_static("accent"), + SmolStr::new_static("background"), + SmolStr::new_static("surfaceHover"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("accent"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Accent color (hex value)"), - ), + description: Some(CowStr::new_static("Accent color (hex value)")), max_length: Some(7usize), ..Default::default() }), @@ -430,9 +432,9 @@ fn lexicon_doc_blog_pckt_theme() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("background"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Background color (hex value)"), - ), + description: Some(CowStr::new_static( + "Background color (hex value)", + )), max_length: Some(7usize), ..Default::default() }), @@ -440,9 +442,7 @@ fn lexicon_doc_blog_pckt_theme() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("link"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Link color (hex value)"), - ), + description: Some(CowStr::new_static("Link color (hex value)")), max_length: Some(7usize), ..Default::default() }), @@ -450,9 +450,9 @@ fn lexicon_doc_blog_pckt_theme() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("surfaceHover"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Surface hover color (hex value)"), - ), + description: Some(CowStr::new_static( + "Surface hover color (hex value)", + )), max_length: Some(7usize), ..Default::default() }), @@ -460,9 +460,9 @@ fn lexicon_doc_blog_pckt_theme() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("text"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Primary text color (hex value)"), - ), + description: Some(CowStr::new_static( + "Primary text color (hex value)", + )), max_length: Some(7usize), ..Default::default() }), @@ -476,4 +476,4 @@ fn lexicon_doc_blog_pckt_theme() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/blue__2048.rs b/crates/jacquard-api/src/blue__2048.rs index b6fde637..9c850139 100644 --- a/crates/jacquard-api/src/blue__2048.rs +++ b/crates/jacquard-api/src/blue__2048.rs @@ -10,13 +10,12 @@ pub mod key; pub mod player; pub mod verification; - #[allow(unused_imports)] use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -29,11 +28,14 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// The sync status for a record used to help sync between your ATProto record and local record. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct SyncStatus { pub created_at: Datetime, ///A XXH3 hash of the record to tell if anything has changed @@ -67,7 +69,7 @@ fn _default_sync_status_synced_with_at_repo() -> bool { pub mod sync_status_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -259,10 +261,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> SyncStatus { + pub fn build_with_data(self, extra_data: BTreeMap>) -> SyncStatus { SyncStatus { created_at: self._fields.0.unwrap(), hash: self._fields.1.unwrap(), @@ -274,10 +273,10 @@ where } fn lexicon_doc_blue_2048_defs() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("blue.2048.defs"), @@ -342,4 +341,4 @@ fn lexicon_doc_blue_2048_defs() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/blue__2048/game.rs b/crates/jacquard-api/src/blue__2048/game.rs index 593034e7..c9e35c2c 100644 --- a/crates/jacquard-api/src/blue__2048/game.rs +++ b/crates/jacquard-api/src/blue__2048/game.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::blue__2048::SyncStatus; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::blue__2048::SyncStatus; +use serde::{Deserialize, Serialize}; /// A declaration of an instance of a at://2048 game #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -129,7 +129,7 @@ fn _default_game_won() -> bool { pub mod game_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -372,10 +372,7 @@ where St::Won: game_state::IsUnset, { /// Set the `won` field (required) - pub fn won( - mut self, - value: impl Into, - ) -> GameBuilder> { + pub fn won(mut self, value: impl Into) -> GameBuilder> { self._fields.5 = Option::Some(value.into()); GameBuilder { _state: PhantomData, @@ -422,10 +419,10 @@ where } fn lexicon_doc_blue_2048_game() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("blue.2048.game"), @@ -508,4 +505,4 @@ fn lexicon_doc_blue_2048_game() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/blue__2048/key.rs b/crates/jacquard-api/src/blue__2048/key.rs index c5bc05ca..69d9fc06 100644 --- a/crates/jacquard-api/src/blue__2048/key.rs +++ b/crates/jacquard-api/src/blue__2048/key.rs @@ -8,13 +8,12 @@ pub mod game; pub mod player; - #[allow(unused_imports)] use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -27,11 +26,14 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// A record that holds a did:key used to verify records. Use the collection to know the type of verification. Example blue.2048.key.game is for blue.2048.game records #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Key { pub created_at: Datetime, ///A did:key used to verify records came from an at://2048 authority @@ -43,7 +45,10 @@ pub struct Key { /// a signature for an at://2048 record meaning it has been verified by a service. Most likely @2048.blue #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct SignatureRef { ///The at://uri for the public did:key to verify this record. This also counts as the authority of the verification (example @2048.blue). As well as the type of verification by the collection name (blue.2048.key.game). pub at_uri: S, @@ -86,7 +91,7 @@ impl LexiconSchema for SignatureRef { pub mod key_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -213,10 +218,10 @@ where } fn lexicon_doc_blue_2048_key_defs() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("blue.2048.key.defs"), @@ -321,7 +326,7 @@ fn lexicon_doc_blue_2048_key_defs() -> LexiconDoc<'static> { pub mod signature_ref_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -476,10 +481,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> SignatureRef { + pub fn build_with_data(self, extra_data: BTreeMap>) -> SignatureRef { SignatureRef { at_uri: self._fields.0.unwrap(), created_at: self._fields.1.unwrap(), @@ -487,4 +489,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/blue__2048/key/game.rs b/crates/jacquard-api/src/blue__2048/key/game.rs index 84979b07..eb6d8521 100644 --- a/crates/jacquard-api/src/blue__2048/key/game.rs +++ b/crates/jacquard-api/src/blue__2048/key/game.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::blue__2048::key::Key; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::blue__2048::key::Key; +use serde::{Deserialize, Serialize}; /// A record that holds a did:key for verifying a players game. This is intended to be written at a verification authorities repo #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -106,7 +106,7 @@ impl LexiconSchema for Game { pub mod game_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -198,10 +198,7 @@ where St::Key: game_state::IsUnset, { /// Set the `key` field (required) - pub fn key( - mut self, - value: impl Into>, - ) -> GameBuilder> { + pub fn key(mut self, value: impl Into>) -> GameBuilder> { self._fields.1 = Option::Some(value.into()); GameBuilder { _state: PhantomData, @@ -236,10 +233,10 @@ where } fn lexicon_doc_blue_2048_key_game() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("blue.2048.key.game"), @@ -288,4 +285,4 @@ fn lexicon_doc_blue_2048_key_game() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/blue__2048/key/player.rs b/crates/jacquard-api/src/blue__2048/key/player.rs index 9129460f..451a104c 100644 --- a/crates/jacquard-api/src/blue__2048/key/player.rs +++ b/crates/jacquard-api/src/blue__2048/key/player.rs @@ -3,4 +3,4 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. -pub mod stats; \ No newline at end of file +pub mod stats; diff --git a/crates/jacquard-api/src/blue__2048/key/player/stats.rs b/crates/jacquard-api/src/blue__2048/key/player/stats.rs index 3bb458d4..ced7d34e 100644 --- a/crates/jacquard-api/src/blue__2048/key/player/stats.rs +++ b/crates/jacquard-api/src/blue__2048/key/player/stats.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::blue__2048::key::Key; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::blue__2048::key::Key; +use serde::{Deserialize, Serialize}; /// A record that holds a did:key for verifying a players stats. This is intended to be written at a verification authorities repo #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -106,7 +106,7 @@ impl LexiconSchema for Stats { pub mod stats_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -198,10 +198,7 @@ where St::Key: stats_state::IsUnset, { /// Set the `key` field (required) - pub fn key( - mut self, - value: impl Into>, - ) -> StatsBuilder> { + pub fn key(mut self, value: impl Into>) -> StatsBuilder> { self._fields.1 = Option::Some(value.into()); StatsBuilder { _state: PhantomData, @@ -236,10 +233,10 @@ where } fn lexicon_doc_blue_2048_key_player_stats() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("blue.2048.key.player.stats"), @@ -288,4 +285,4 @@ fn lexicon_doc_blue_2048_key_player_stats() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/blue__2048/player.rs b/crates/jacquard-api/src/blue__2048/player.rs index 5c6c6cb5..61578a98 100644 --- a/crates/jacquard-api/src/blue__2048/player.rs +++ b/crates/jacquard-api/src/blue__2048/player.rs @@ -4,4 +4,4 @@ // Any manual changes will be overwritten on the next regeneration. pub mod profile; -pub mod stats; \ No newline at end of file +pub mod stats; diff --git a/crates/jacquard-api/src/blue__2048/player/profile.rs b/crates/jacquard-api/src/blue__2048/player/profile.rs index 17dbdcb8..79ef236d 100644 --- a/crates/jacquard-api/src/blue__2048/player/profile.rs +++ b/crates/jacquard-api/src/blue__2048/player/profile.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::blue__2048::SyncStatus; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::blue__2048::SyncStatus; +use serde::{Deserialize, Serialize}; /// A declaration of a at://2048 player's profile #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -113,7 +113,7 @@ fn _default_profile_solo_play() -> bool { pub mod profile_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -279,10 +279,10 @@ where } fn lexicon_doc_blue_2048_player_profile() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("blue.2048.player.profile"), @@ -291,20 +291,16 @@ fn lexicon_doc_blue_2048_player_profile() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static( - "A declaration of a at://2048 player's profile", - ), - ), + description: Some(CowStr::new_static( + "A declaration of a at://2048 player's profile", + )), key: Some(CowStr::new_static("literal:self")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("soloPlay"), - SmolStr::new_static("syncStatus"), - SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("soloPlay"), + SmolStr::new_static("syncStatus"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -339,4 +335,4 @@ fn lexicon_doc_blue_2048_player_profile() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/blue__2048/player/stats.rs b/crates/jacquard-api/src/blue__2048/player/stats.rs index 71dc3f3e..6c763ecb 100644 --- a/crates/jacquard-api/src/blue__2048/player/stats.rs +++ b/crates/jacquard-api/src/blue__2048/player/stats.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::blue__2048::SyncStatus; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::blue__2048::SyncStatus; +use serde::{Deserialize, Serialize}; /// A declaration of a at://2048 player's stats over the course of their playtime #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -155,7 +155,7 @@ fn _default_stats_total_score() -> i64 { pub mod stats_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -244,27 +244,21 @@ pub mod stats_state { type GamesPlayed = St::GamesPlayed; } ///State transition - sets the `times_twenty_forty_eight_been_found` field to Set - pub struct SetTimesTwentyFortyEightBeenFound( - PhantomData St>, - ); + pub struct SetTimesTwentyFortyEightBeenFound(PhantomData St>); impl sealed::Sealed for SetTimesTwentyFortyEightBeenFound {} impl State for SetTimesTwentyFortyEightBeenFound { type CreatedAt = St::CreatedAt; type SyncStatus = St::SyncStatus; type HighestScore = St::HighestScore; type HighestNumberBlock = St::HighestNumberBlock; - type TimesTwentyFortyEightBeenFound = Set< - members::times_twenty_forty_eight_been_found, - >; + type TimesTwentyFortyEightBeenFound = Set; type LeastMovesToFindTwentyFortyEight = St::LeastMovesToFindTwentyFortyEight; type AverageScore = St::AverageScore; type TotalScore = St::TotalScore; type GamesPlayed = St::GamesPlayed; } ///State transition - sets the `least_moves_to_find_twenty_forty_eight` field to Set - pub struct SetLeastMovesToFindTwentyFortyEight( - PhantomData St>, - ); + pub struct SetLeastMovesToFindTwentyFortyEight(PhantomData St>); impl sealed::Sealed for SetLeastMovesToFindTwentyFortyEight {} impl State for SetLeastMovesToFindTwentyFortyEight { type CreatedAt = St::CreatedAt; @@ -272,9 +266,8 @@ pub mod stats_state { type HighestScore = St::HighestScore; type HighestNumberBlock = St::HighestNumberBlock; type TimesTwentyFortyEightBeenFound = St::TimesTwentyFortyEightBeenFound; - type LeastMovesToFindTwentyFortyEight = Set< - members::least_moves_to_find_twenty_forty_eight, - >; + type LeastMovesToFindTwentyFortyEight = + Set; type AverageScore = St::AverageScore; type TotalScore = St::TotalScore; type GamesPlayed = St::GamesPlayed; @@ -597,10 +590,10 @@ where } fn lexicon_doc_blue_2048_player_stats() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("blue.2048.player.stats"), @@ -699,4 +692,4 @@ fn lexicon_doc_blue_2048_player_stats() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/blue__2048/verification.rs b/crates/jacquard-api/src/blue__2048/verification.rs index 6330fc80..d764f4f7 100644 --- a/crates/jacquard-api/src/blue__2048/verification.rs +++ b/crates/jacquard-api/src/blue__2048/verification.rs @@ -8,18 +8,17 @@ pub mod game; pub mod stats; - #[allow(unused_imports)] use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; use jacquard_common::deps::smol_str::SmolStr; -use jacquard_common::types::string::{Did, AtUri, Datetime}; +use jacquard_common::types::string::{AtUri, Datetime, Did}; use jacquard_common::types::value::Data; use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; @@ -27,11 +26,14 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// Holds the signature for another record showing it has verified it to the best of it's ability and it should be trusted if the signatures match. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct VerificationRef { pub created_at: Datetime, ///The at://uri for the public did:key to verify the remote record. This also counts as the authority of the verification (example @2048.blue). As well as the type of verification by the collection name (blue.2048.key.game). @@ -63,7 +65,7 @@ impl LexiconSchema for VerificationRef { pub mod verification_ref_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -300,10 +302,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> VerificationRef { + pub fn build_with_data(self, extra_data: BTreeMap>) -> VerificationRef { VerificationRef { created_at: self._fields.0.unwrap(), key_ref: self._fields.1.unwrap(), @@ -316,10 +315,10 @@ where } fn lexicon_doc_blue_2048_verification_defs() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("blue.2048.verification.defs"), @@ -408,4 +407,4 @@ fn lexicon_doc_blue_2048_verification_defs() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/blue__2048/verification/game.rs b/crates/jacquard-api/src/blue__2048/verification/game.rs index 9c45d1c7..b014d1f5 100644 --- a/crates/jacquard-api/src/blue__2048/verification/game.rs +++ b/crates/jacquard-api/src/blue__2048/verification/game.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::blue__2048::verification::VerificationRef; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::blue__2048::verification::VerificationRef; +use serde::{Deserialize, Serialize}; /// A record that holds a verification of a game record saying the owner of the repo has verified that it is a valid game played. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -108,7 +108,7 @@ impl LexiconSchema for Game { pub mod game_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -199,10 +199,10 @@ where } fn lexicon_doc_blue_2048_verification_game() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("blue.2048.verification.game"), @@ -248,4 +248,4 @@ fn lexicon_doc_blue_2048_verification_game() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/blue__2048/verification/stats.rs b/crates/jacquard-api/src/blue__2048/verification/stats.rs index 98047900..2a6cec98 100644 --- a/crates/jacquard-api/src/blue__2048/verification/stats.rs +++ b/crates/jacquard-api/src/blue__2048/verification/stats.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::blue__2048::verification::VerificationRef; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::blue__2048::verification::VerificationRef; +use serde::{Deserialize, Serialize}; /// A record that holds a verification of a stats record saying the owner of the repo has verified that it is a valid and most likely not tampered with. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -108,7 +108,7 @@ impl LexiconSchema for Stats { pub mod stats_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -199,10 +199,10 @@ where } fn lexicon_doc_blue_2048_verification_stats() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("blue.2048.verification.stats"), @@ -248,4 +248,4 @@ fn lexicon_doc_blue_2048_verification_stats() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/blue_atplane.rs b/crates/jacquard-api/src/blue_atplane.rs index 2fb1acdb..899e9fb9 100644 --- a/crates/jacquard-api/src/blue_atplane.rs +++ b/crates/jacquard-api/src/blue_atplane.rs @@ -3,4 +3,4 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. -pub mod fav_client; \ No newline at end of file +pub mod fav_client; diff --git a/crates/jacquard-api/src/blue_atplane/fav_client.rs b/crates/jacquard-api/src/blue_atplane/fav_client.rs index dcdfbc5e..2dd1829f 100644 --- a/crates/jacquard-api/src/blue_atplane/fav_client.rs +++ b/crates/jacquard-api/src/blue_atplane/fav_client.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// A declaration of a favorite client. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -115,7 +115,7 @@ impl LexiconSchema for FavClient { pub mod fav_client_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -202,10 +202,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> FavClient { + pub fn build_with_data(self, extra_data: BTreeMap>) -> FavClient { FavClient { fav_client: self._fields.0.unwrap(), extra_data: Some(extra_data), @@ -214,10 +211,10 @@ where } fn lexicon_doc_blue_atplane_favClient() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("blue.atplane.favClient"), @@ -226,9 +223,7 @@ fn lexicon_doc_blue_atplane_favClient() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static("A declaration of a favorite client."), - ), + description: Some(CowStr::new_static("A declaration of a favorite client.")), key: Some(CowStr::new_static("literal:self")), record: LexRecordRecord::Object(LexObject { required: Some(vec![SmolStr::new_static("favClient")]), @@ -238,9 +233,9 @@ fn lexicon_doc_blue_atplane_favClient() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("favClient"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Set to your favorite client."), - ), + description: Some(CowStr::new_static( + "Set to your favorite client.", + )), max_length: Some(32usize), ..Default::default() }), @@ -256,4 +251,4 @@ fn lexicon_doc_blue_atplane_favClient() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/blue_atplay.rs b/crates/jacquard-api/src/blue_atplay.rs index a82096c3..933d9a16 100644 --- a/crates/jacquard-api/src/blue_atplay.rs +++ b/crates/jacquard-api/src/blue_atplay.rs @@ -3,4 +3,4 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. -pub mod score; \ No newline at end of file +pub mod score; diff --git a/crates/jacquard-api/src/blue_atplay/score.rs b/crates/jacquard-api/src/blue_atplay/score.rs index ff3f42b3..c0078095 100644 --- a/crates/jacquard-api/src/blue_atplay/score.rs +++ b/crates/jacquard-api/src/blue_atplay/score.rs @@ -10,8 +10,8 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::bytes::Bytes; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,11 +24,14 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// Attestation signature proving a score was submitted through ATPlay SDK #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Attestation { ///Timestamp when the attestation was created (optional) #[serde(skip_serializing_if = "Option::is_none")] @@ -70,7 +73,7 @@ impl LexiconSchema for Attestation { pub mod attestation_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -204,10 +207,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> Attestation { + pub fn build_with_data(self, extra_data: BTreeMap>) -> Attestation { Attestation { attested_at: self._fields.0, key: self._fields.1.unwrap(), @@ -218,10 +218,10 @@ where } fn lexicon_doc_blue_atplay_score_defs() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("blue.atplay.score.defs"), @@ -230,27 +230,22 @@ fn lexicon_doc_blue_atplay_score_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("attestation"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "Attestation signature proving a score was submitted through ATPlay SDK", - ), - ), - required: Some( - vec![ - SmolStr::new_static("key"), SmolStr::new_static("signature") - ], - ), + description: Some(CowStr::new_static( + "Attestation signature proving a score was submitted through ATPlay SDK", + )), + required: Some(vec![ + SmolStr::new_static("key"), + SmolStr::new_static("signature"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("attestedAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Timestamp when the attestation was created (optional)", - ), - ), + description: Some(CowStr::new_static( + "Timestamp when the attestation was created (optional)", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -258,11 +253,9 @@ fn lexicon_doc_blue_atplay_score_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("key"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "DID key reference for verifying the signature", - ), - ), + description: Some(CowStr::new_static( + "DID key reference for verifying the signature", + )), max_length: Some(512usize), ..Default::default() }), @@ -283,4 +276,4 @@ fn lexicon_doc_blue_atplay_score_defs() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/blue_atroom.rs b/crates/jacquard-api/src/blue_atroom.rs index 389b015e..7c93a4ea 100644 --- a/crates/jacquard-api/src/blue_atroom.rs +++ b/crates/jacquard-api/src/blue_atroom.rs @@ -3,4 +3,4 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. -pub mod room; \ No newline at end of file +pub mod room; diff --git a/crates/jacquard-api/src/blue_atroom/room.rs b/crates/jacquard-api/src/blue_atroom/room.rs index 21cfd39b..c42df47a 100644 --- a/crates/jacquard-api/src/blue_atroom/room.rs +++ b/crates/jacquard-api/src/blue_atroom/room.rs @@ -4,4 +4,4 @@ // Any manual changes will be overwritten on the next regeneration. pub mod layout; -pub mod object; \ No newline at end of file +pub mod object; diff --git a/crates/jacquard-api/src/blue_atroom/room/layout.rs b/crates/jacquard-api/src/blue_atroom/room/layout.rs index 2940ccd1..a9893e30 100644 --- a/crates/jacquard-api/src/blue_atroom/room/layout.rs +++ b/crates/jacquard-api/src/blue_atroom/room/layout.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,15 +24,18 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::blue_atroom::room::layout; +use crate::com_atproto::repo::strong_ref::StrongRef; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::com_atproto::repo::strong_ref::StrongRef; -use crate::blue_atroom::room::layout; +use serde::{Deserialize, Serialize}; /// RGB color with 8-bit channels. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Color { pub blue: i64, pub green: i64, @@ -41,9 +44,11 @@ pub struct Color { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Floor { pub surface: layout::Surface, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -53,7 +58,10 @@ pub struct Floor { /// A placed object in the room. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Furnishing { ///Strong reference to a blue.atroom.room.object record. pub object: StrongRef, @@ -96,9 +104,11 @@ pub struct LayoutGetRecordOutput { pub value: Layout, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Surface { pub color: layout::Color, ///Texture identifier. @@ -114,7 +124,10 @@ pub struct Surface { /// Wall configuration. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Wall { ///Wall height in millimeters. pub height: i64, @@ -405,7 +418,7 @@ impl LexiconSchema for Wall { pub mod color_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -492,10 +505,7 @@ where St::Blue: color_state::IsUnset, { /// Set the `blue` field (required) - pub fn blue( - mut self, - value: impl Into, - ) -> ColorBuilder> { + pub fn blue(mut self, value: impl Into) -> ColorBuilder> { self._fields.0 = Option::Some(value.into()); ColorBuilder { _state: PhantomData, @@ -511,10 +521,7 @@ where St::Green: color_state::IsUnset, { /// Set the `green` field (required) - pub fn green( - mut self, - value: impl Into, - ) -> ColorBuilder> { + pub fn green(mut self, value: impl Into) -> ColorBuilder> { self._fields.1 = Option::Some(value.into()); ColorBuilder { _state: PhantomData, @@ -530,10 +537,7 @@ where St::Red: color_state::IsUnset, { /// Set the `red` field (required) - pub fn red( - mut self, - value: impl Into, - ) -> ColorBuilder> { + pub fn red(mut self, value: impl Into) -> ColorBuilder> { self._fields.2 = Option::Some(value.into()); ColorBuilder { _state: PhantomData, @@ -571,10 +575,10 @@ where } fn lexicon_doc_blue_atroom_room_layout() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("blue.atroom.room.layout"), @@ -583,15 +587,12 @@ fn lexicon_doc_blue_atroom_room_layout() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("color"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("RGB color with 8-bit channels."), - ), - required: Some( - vec![ - SmolStr::new_static("red"), SmolStr::new_static("green"), - SmolStr::new_static("blue") - ], - ), + description: Some(CowStr::new_static("RGB color with 8-bit channels.")), + required: Some(vec![ + SmolStr::new_static("red"), + SmolStr::new_static("green"), + SmolStr::new_static("blue"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -646,16 +647,12 @@ fn lexicon_doc_blue_atroom_room_layout() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("furnishing"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("A placed object in the room."), - ), - required: Some( - vec![ - SmolStr::new_static("object"), - SmolStr::new_static("position"), - SmolStr::new_static("rotation") - ], - ), + description: Some(CowStr::new_static("A placed object in the room.")), + required: Some(vec![ + SmolStr::new_static("object"), + SmolStr::new_static("position"), + SmolStr::new_static("rotation"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -669,9 +666,9 @@ fn lexicon_doc_blue_atroom_room_layout() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("position"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static("Position [x, y, z] in millimeters."), - ), + description: Some(CowStr::new_static( + "Position [x, y, z] in millimeters.", + )), items: LexArrayItem::Integer(LexInteger { ..Default::default() }), @@ -683,9 +680,9 @@ fn lexicon_doc_blue_atroom_room_layout() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("rotation"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static("Euler rotation [x, y, z] in degrees."), - ), + description: Some(CowStr::new_static( + "Euler rotation [x, y, z] in degrees.", + )), items: LexArrayItem::Integer(LexInteger { ..Default::default() }), @@ -702,19 +699,16 @@ fn lexicon_doc_blue_atroom_room_layout() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static("A room layout with placed objects."), - ), + description: Some(CowStr::new_static("A room layout with placed objects.")), key: Some(CowStr::new_static("any")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("size"), SmolStr::new_static("floor"), - SmolStr::new_static("wall"), - SmolStr::new_static("furnishings"), - SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("size"), + SmolStr::new_static("floor"), + SmolStr::new_static("wall"), + SmolStr::new_static("furnishings"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -782,18 +776,14 @@ fn lexicon_doc_blue_atroom_room_layout() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("texture"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Texture identifier."), - ), + description: Some(CowStr::new_static("Texture identifier.")), ..Default::default() }), ); map.insert( SmolStr::new_static("textureTiling"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static("Texture tiling [u, v]."), - ), + description: Some(CowStr::new_static("Texture tiling [u, v].")), items: LexArrayItem::Integer(LexInteger { ..Default::default() }), @@ -811,13 +801,11 @@ fn lexicon_doc_blue_atroom_room_layout() -> LexiconDoc<'static> { SmolStr::new_static("wall"), LexUserType::Object(LexObject { description: Some(CowStr::new_static("Wall configuration.")), - required: Some( - vec![ - SmolStr::new_static("height"), - SmolStr::new_static("thickness"), - SmolStr::new_static("surface") - ], - ), + required: Some(vec![ + SmolStr::new_static("height"), + SmolStr::new_static("thickness"), + SmolStr::new_static("surface"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -853,7 +841,7 @@ fn lexicon_doc_blue_atroom_room_layout() -> LexiconDoc<'static> { pub mod floor_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -950,7 +938,7 @@ where pub mod furnishing_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -1105,10 +1093,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> Furnishing { + pub fn build_with_data(self, extra_data: BTreeMap>) -> Furnishing { Furnishing { object: self._fields.0.unwrap(), position: self._fields.1.unwrap(), @@ -1120,7 +1105,7 @@ where pub mod layout_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -1304,10 +1289,7 @@ where St::Size: layout_state::IsUnset, { /// Set the `size` field (required) - pub fn size( - mut self, - value: impl Into, - ) -> LayoutBuilder> { + pub fn size(mut self, value: impl Into) -> LayoutBuilder> { self._fields.3 = Option::Some(value.into()); LayoutBuilder { _state: PhantomData, @@ -1371,7 +1353,7 @@ where pub mod surface_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -1498,7 +1480,7 @@ where pub mod wall_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -1585,10 +1567,7 @@ where St::Height: wall_state::IsUnset, { /// Set the `height` field (required) - pub fn height( - mut self, - value: impl Into, - ) -> WallBuilder> { + pub fn height(mut self, value: impl Into) -> WallBuilder> { self._fields.0 = Option::Some(value.into()); WallBuilder { _state: PhantomData, @@ -1661,4 +1640,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/blue_atroom/room/object.rs b/crates/jacquard-api/src/blue_atroom/room/object.rs index 163fe525..b0426212 100644 --- a/crates/jacquard-api/src/blue_atroom/room/object.rs +++ b/crates/jacquard-api/src/blue_atroom/room/object.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -25,13 +25,16 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::blue_atroom::room::object; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::blue_atroom::room::object; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct LocalizedName { pub lang: S, pub value: S, @@ -169,19 +172,16 @@ impl LexiconSchema for Object { { let mime = value.blob().mime_type.as_str(); let accepted: &[&str] = &["model/gltf-binary"]; - let matched = accepted - .iter() - .any(|pattern| { - if *pattern == "*/*" { - true - } else if pattern.ends_with("/*") { - let prefix = &pattern[..pattern.len() - 2]; - mime.starts_with(prefix) - && mime.as_bytes().get(prefix.len()) == Some(&b'/') - } else { - mime == *pattern - } - }); + let matched = accepted.iter().any(|pattern| { + if *pattern == "*/*" { + true + } else if pattern.ends_with("/*") { + let prefix = &pattern[..pattern.len() - 2]; + mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/') + } else { + mime == *pattern + } + }); if !matched { return Err(ConstraintError::BlobMimeTypeNotAccepted { path: ValidationPath::from_field("model"), @@ -227,10 +227,10 @@ impl LexiconSchema for Object { } fn lexicon_doc_blue_atroom_room_object() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("blue.atroom.room.object"), @@ -239,9 +239,10 @@ fn lexicon_doc_blue_atroom_room_object() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("localizedName"), LexUserType::Object(LexObject { - required: Some( - vec![SmolStr::new_static("lang"), SmolStr::new_static("value")], - ), + required: Some(vec![ + SmolStr::new_static("lang"), + SmolStr::new_static("value"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -267,18 +268,17 @@ fn lexicon_doc_blue_atroom_room_object() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static("A 3D object that can be placed in a room."), - ), + description: Some(CowStr::new_static( + "A 3D object that can be placed in a room.", + )), key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("name"), SmolStr::new_static("model"), - SmolStr::new_static("scale"), - SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("name"), + SmolStr::new_static("model"), + SmolStr::new_static("scale"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -291,7 +291,9 @@ fn lexicon_doc_blue_atroom_room_object() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("model"), - LexObjectProperty::Blob(LexBlob { ..Default::default() }), + LexObjectProperty::Blob(LexBlob { + ..Default::default() + }), ); map.insert( SmolStr::new_static("name"), @@ -333,7 +335,7 @@ fn lexicon_doc_blue_atroom_room_object() -> LexiconDoc<'static> { pub mod object_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -480,10 +482,7 @@ where St::Name: object_state::IsUnset, { /// Set the `name` field (required) - pub fn name( - mut self, - value: impl Into, - ) -> ObjectBuilder> { + pub fn name(mut self, value: impl Into) -> ObjectBuilder> { self._fields.2 = Option::Some(value.into()); ObjectBuilder { _state: PhantomData, @@ -495,18 +494,12 @@ where impl ObjectBuilder { /// Set the `nameLangs` field (optional) - pub fn name_langs( - mut self, - value: impl Into>>>, - ) -> Self { + pub fn name_langs(mut self, value: impl Into>>>) -> Self { self._fields.3 = value.into(); self } /// Set the `nameLangs` field to an Option value (optional) - pub fn maybe_name_langs( - mut self, - value: Option>>, - ) -> Self { + pub fn maybe_name_langs(mut self, value: Option>>) -> Self { self._fields.3 = value; self } @@ -518,10 +511,7 @@ where St::Scale: object_state::IsUnset, { /// Set the `scale` field (required) - pub fn scale( - mut self, - value: impl Into, - ) -> ObjectBuilder> { + pub fn scale(mut self, value: impl Into) -> ObjectBuilder> { self._fields.4 = Option::Some(value.into()); ObjectBuilder { _state: PhantomData, @@ -561,4 +551,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/blue_backyard.rs b/crates/jacquard-api/src/blue_backyard.rs index 24bfd763..381d231d 100644 --- a/crates/jacquard-api/src/blue_backyard.rs +++ b/crates/jacquard-api/src/blue_backyard.rs @@ -6,4 +6,4 @@ pub mod actor; pub mod feed; pub mod graph; -pub mod richtext; \ No newline at end of file +pub mod richtext; diff --git a/crates/jacquard-api/src/blue_backyard/actor.rs b/crates/jacquard-api/src/blue_backyard/actor.rs index 534c9681..1cb60f21 100644 --- a/crates/jacquard-api/src/blue_backyard/actor.rs +++ b/crates/jacquard-api/src/blue_backyard/actor.rs @@ -3,4 +3,4 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. -pub mod profile; \ No newline at end of file +pub mod profile; diff --git a/crates/jacquard-api/src/blue_backyard/actor/profile.rs b/crates/jacquard-api/src/blue_backyard/actor/profile.rs index 500d5912..5cc40cf7 100644 --- a/crates/jacquard-api/src/blue_backyard/actor/profile.rs +++ b/crates/jacquard-api/src/blue_backyard/actor/profile.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -27,7 +27,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// A declaration of a Backyard account profile. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -131,25 +131,20 @@ impl LexiconSchema for Profile { { let mime = value.blob().mime_type.as_str(); let accepted: &[&str] = &["image/png", "image/jpeg"]; - let matched = accepted - .iter() - .any(|pattern| { - if *pattern == "*/*" { - true - } else if pattern.ends_with("/*") { - let prefix = &pattern[..pattern.len() - 2]; - mime.starts_with(prefix) - && mime.as_bytes().get(prefix.len()) == Some(&b'/') - } else { - mime == *pattern - } - }); + let matched = accepted.iter().any(|pattern| { + if *pattern == "*/*" { + true + } else if pattern.ends_with("/*") { + let prefix = &pattern[..pattern.len() - 2]; + mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/') + } else { + mime == *pattern + } + }); if !matched { return Err(ConstraintError::BlobMimeTypeNotAccepted { path: ValidationPath::from_field("avatar"), - accepted: vec![ - "image/png".to_string(), "image/jpeg".to_string() - ], + accepted: vec!["image/png".to_string(), "image/jpeg".to_string()], actual: mime.to_string(), }); } @@ -171,25 +166,20 @@ impl LexiconSchema for Profile { { let mime = value.blob().mime_type.as_str(); let accepted: &[&str] = &["image/png", "image/jpeg"]; - let matched = accepted - .iter() - .any(|pattern| { - if *pattern == "*/*" { - true - } else if pattern.ends_with("/*") { - let prefix = &pattern[..pattern.len() - 2]; - mime.starts_with(prefix) - && mime.as_bytes().get(prefix.len()) == Some(&b'/') - } else { - mime == *pattern - } - }); + let matched = accepted.iter().any(|pattern| { + if *pattern == "*/*" { + true + } else if pattern.ends_with("/*") { + let prefix = &pattern[..pattern.len() - 2]; + mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/') + } else { + mime == *pattern + } + }); if !matched { return Err(ConstraintError::BlobMimeTypeNotAccepted { path: ValidationPath::from_field("banner"), - accepted: vec![ - "image/png".to_string(), "image/jpeg".to_string() - ], + accepted: vec!["image/png".to_string(), "image/jpeg".to_string()], actual: mime.to_string(), }); } @@ -267,7 +257,7 @@ impl LexiconSchema for Profile { pub mod profile_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -425,10 +415,10 @@ where } fn lexicon_doc_blue_backyard_actor_profile() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("blue.backyard.actor.profile"), @@ -437,11 +427,9 @@ fn lexicon_doc_blue_backyard_actor_profile() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static( - "A declaration of a Backyard account profile.", - ), - ), + description: Some(CowStr::new_static( + "A declaration of a Backyard account profile.", + )), key: Some(CowStr::new_static("literal:self")), record: LexRecordRecord::Object(LexObject { properties: { @@ -449,20 +437,22 @@ fn lexicon_doc_blue_backyard_actor_profile() -> LexiconDoc<'static> { let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("avatar"), - LexObjectProperty::Blob(LexBlob { ..Default::default() }), + LexObjectProperty::Blob(LexBlob { + ..Default::default() + }), ); map.insert( SmolStr::new_static("banner"), - LexObjectProperty::Blob(LexBlob { ..Default::default() }), + LexObjectProperty::Blob(LexBlob { + ..Default::default() + }), ); map.insert( SmolStr::new_static("createdAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "When the profile was initially created.", - ), - ), + description: Some(CowStr::new_static( + "When the profile was initially created.", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -470,11 +460,9 @@ fn lexicon_doc_blue_backyard_actor_profile() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("description"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Free-form profile description text (bio).", - ), - ), + description: Some(CowStr::new_static( + "Free-form profile description text (bio).", + )), max_length: Some(2560usize), max_graphemes: Some(256usize), ..Default::default() @@ -483,9 +471,9 @@ fn lexicon_doc_blue_backyard_actor_profile() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("displayName"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Display name for the user."), - ), + description: Some(CowStr::new_static( + "Display name for the user.", + )), max_length: Some(640usize), max_graphemes: Some(64usize), ..Default::default() @@ -494,9 +482,9 @@ fn lexicon_doc_blue_backyard_actor_profile() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("pronouns"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("User's preferred pronouns."), - ), + description: Some(CowStr::new_static( + "User's preferred pronouns.", + )), max_length: Some(640usize), max_graphemes: Some(64usize), ..Default::default() @@ -513,4 +501,4 @@ fn lexicon_doc_blue_backyard_actor_profile() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/blue_backyard/feed.rs b/crates/jacquard-api/src/blue_backyard/feed.rs index 02082367..74d7c0f2 100644 --- a/crates/jacquard-api/src/blue_backyard/feed.rs +++ b/crates/jacquard-api/src/blue_backyard/feed.rs @@ -6,4 +6,4 @@ pub mod comment; pub mod like; pub mod post; -pub mod reblog; \ No newline at end of file +pub mod reblog; diff --git a/crates/jacquard-api/src/blue_backyard/feed/comment.rs b/crates/jacquard-api/src/blue_backyard/feed/comment.rs index 5181781e..95fc48c2 100644 --- a/crates/jacquard-api/src/blue_backyard/feed/comment.rs +++ b/crates/jacquard-api/src/blue_backyard/feed/comment.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,11 +24,11 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::blue_backyard::richtext::facet::Facet; use crate::com_atproto::repo::strong_ref::StrongRef; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; /// A comment (note) on a Backyard post or reblog. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -141,7 +141,7 @@ impl LexiconSchema for Comment { pub mod comment_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -334,10 +334,7 @@ where St::Text: comment_state::IsUnset, { /// Set the `text` field (required) - pub fn text( - mut self, - value: impl Into, - ) -> CommentBuilder> { + pub fn text(mut self, value: impl Into) -> CommentBuilder> { self._fields.5 = Option::Some(value.into()); CommentBuilder { _state: PhantomData, @@ -382,10 +379,10 @@ where } fn lexicon_doc_blue_backyard_feed_comment() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("blue.backyard.feed.comment"), @@ -394,20 +391,17 @@ fn lexicon_doc_blue_backyard_feed_comment() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static( - "A comment (note) on a Backyard post or reblog.", - ), - ), + description: Some(CowStr::new_static( + "A comment (note) on a Backyard post or reblog.", + )), key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("text"), SmolStr::new_static("subject"), - SmolStr::new_static("root"), - SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("text"), + SmolStr::new_static("subject"), + SmolStr::new_static("root"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -421,11 +415,9 @@ fn lexicon_doc_blue_backyard_feed_comment() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("facets"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static( - "Annotations of text (mentions, URLs, hashtags).", - ), - ), + description: Some(CowStr::new_static( + "Annotations of text (mentions, URLs, hashtags).", + )), items: LexArrayItem::Ref(LexRef { r#ref: CowStr::new_static("blue.backyard.richtext.facet"), ..Default::default() @@ -457,9 +449,9 @@ fn lexicon_doc_blue_backyard_feed_comment() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("text"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The text content of the comment."), - ), + description: Some(CowStr::new_static( + "The text content of the comment.", + )), max_length: Some(10000usize), max_graphemes: Some(1000usize), ..Default::default() @@ -476,4 +468,4 @@ fn lexicon_doc_blue_backyard_feed_comment() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/blue_backyard/feed/like.rs b/crates/jacquard-api/src/blue_backyard/feed/like.rs index 7d69a9bf..94ff2821 100644 --- a/crates/jacquard-api/src/blue_backyard/feed/like.rs +++ b/crates/jacquard-api/src/blue_backyard/feed/like.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::com_atproto::repo::strong_ref::StrongRef; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::com_atproto::repo::strong_ref::StrongRef; +use serde::{Deserialize, Serialize}; /// Record declaring a 'like' of a subject record. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -106,7 +106,7 @@ impl LexiconSchema for Like { pub mod like_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -236,10 +236,10 @@ where } fn lexicon_doc_blue_backyard_feed_like() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("blue.backyard.feed.like"), @@ -248,19 +248,15 @@ fn lexicon_doc_blue_backyard_feed_like() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static( - "Record declaring a 'like' of a subject record.", - ), - ), + description: Some(CowStr::new_static( + "Record declaring a 'like' of a subject record.", + )), key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("subject"), - SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("subject"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -289,4 +285,4 @@ fn lexicon_doc_blue_backyard_feed_like() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/blue_backyard/feed/post.rs b/crates/jacquard-api/src/blue_backyard/feed/post.rs index 2cc9d58f..8e57aaf4 100644 --- a/crates/jacquard-api/src/blue_backyard/feed/post.rs +++ b/crates/jacquard-api/src/blue_backyard/feed/post.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -25,15 +25,18 @@ use jacquard_derive::{IntoStatic, lexicon, open_union}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::blue_backyard::feed::post; +use crate::blue_backyard::richtext::facet::Facet; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::blue_backyard::richtext::facet::Facet; -use crate::blue_backyard::feed::post; +use serde::{Deserialize, Serialize}; /// Width and height of the media, used for layout before the blob is loaded. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct AspectRatio { pub height: i64, pub width: i64, @@ -44,7 +47,10 @@ pub struct AspectRatio { /// An inline URL embed (link preview). #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct EmbedBlock { ///The URL to embed as a link preview. pub url: UriValue, @@ -55,7 +61,10 @@ pub struct EmbedBlock { /// An inline image or video. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ImageBlock { ///Alt text description for accessibility. #[serde(skip_serializing_if = "Option::is_none")] @@ -92,7 +101,6 @@ pub struct Post { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -119,7 +127,10 @@ pub struct PostGetRecordOutput { /// A block of rich text content. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct TextBlock { ///Annotations of text (mentions, URLs, hashtags, formatting). #[serde(skip_serializing_if = "Option::is_none")] @@ -245,27 +256,27 @@ impl LexiconSchema for ImageBlock { "video/mp4", "video/webm", ]; - let matched = accepted - .iter() - .any(|pattern| { - if *pattern == "*/*" { - true - } else if pattern.ends_with("/*") { - let prefix = &pattern[..pattern.len() - 2]; - mime.starts_with(prefix) - && mime.as_bytes().get(prefix.len()) == Some(&b'/') - } else { - mime == *pattern - } - }); + let matched = accepted.iter().any(|pattern| { + if *pattern == "*/*" { + true + } else if pattern.ends_with("/*") { + let prefix = &pattern[..pattern.len() - 2]; + mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/') + } else { + mime == *pattern + } + }); if !matched { return Err(ConstraintError::BlobMimeTypeNotAccepted { path: ValidationPath::from_field("blob"), accepted: vec![ - "image/png".to_string(), "image/jpeg".to_string(), - "image/gif".to_string(), "image/webp".to_string(), - "image/avif".to_string(), "video/mp4".to_string(), - "video/webm".to_string() + "image/png".to_string(), + "image/jpeg".to_string(), + "image/gif".to_string(), + "image/webp".to_string(), + "image/avif".to_string(), + "video/mp4".to_string(), + "video/webm".to_string(), ], actual: mime.to_string(), }); @@ -412,7 +423,7 @@ impl LexiconSchema for TextBlock { pub mod aspect_ratio_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -532,10 +543,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> AspectRatio { + pub fn build_with_data(self, extra_data: BTreeMap>) -> AspectRatio { AspectRatio { height: self._fields.0.unwrap(), width: self._fields.1.unwrap(), @@ -545,10 +553,10 @@ where } fn lexicon_doc_blue_backyard_feed_post() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("blue.backyard.feed.post"), @@ -557,14 +565,13 @@ fn lexicon_doc_blue_backyard_feed_post() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("aspectRatio"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "Width and height of the media, used for layout before the blob is loaded.", - ), - ), - required: Some( - vec![SmolStr::new_static("width"), SmolStr::new_static("height")], - ), + description: Some(CowStr::new_static( + "Width and height of the media, used for layout before the blob is loaded.", + )), + required: Some(vec![ + SmolStr::new_static("width"), + SmolStr::new_static("height"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -590,9 +597,7 @@ fn lexicon_doc_blue_backyard_feed_post() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("embedBlock"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("An inline URL embed (link preview)."), - ), + description: Some(CowStr::new_static("An inline URL embed (link preview).")), required: Some(vec![SmolStr::new_static("url")]), properties: { #[allow(unused_mut)] @@ -600,9 +605,9 @@ fn lexicon_doc_blue_backyard_feed_post() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("url"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The URL to embed as a link preview."), - ), + description: Some(CowStr::new_static( + "The URL to embed as a link preview.", + )), format: Some(LexStringFormat::Uri), ..Default::default() }), @@ -751,9 +756,7 @@ fn lexicon_doc_blue_backyard_feed_post() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("textBlock"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("A block of rich text content."), - ), + description: Some(CowStr::new_static("A block of rich text content.")), required: Some(vec![SmolStr::new_static("text")]), properties: { #[allow(unused_mut)] @@ -761,11 +764,9 @@ fn lexicon_doc_blue_backyard_feed_post() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("facets"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static( - "Annotations of text (mentions, URLs, hashtags, formatting).", - ), - ), + description: Some(CowStr::new_static( + "Annotations of text (mentions, URLs, hashtags, formatting).", + )), items: LexArrayItem::Ref(LexRef { r#ref: CowStr::new_static("blue.backyard.richtext.facet"), ..Default::default() @@ -776,9 +777,9 @@ fn lexicon_doc_blue_backyard_feed_post() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("text"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The text content of this block."), - ), + description: Some(CowStr::new_static( + "The text content of this block.", + )), max_length: Some(30000usize), max_graphemes: Some(3000usize), ..Default::default() @@ -797,7 +798,7 @@ fn lexicon_doc_blue_backyard_feed_post() -> LexiconDoc<'static> { pub mod embed_block_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -884,10 +885,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> EmbedBlock { + pub fn build_with_data(self, extra_data: BTreeMap>) -> EmbedBlock { EmbedBlock { url: self._fields.0.unwrap(), extra_data: Some(extra_data), @@ -897,7 +895,7 @@ where pub mod image_block_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -942,7 +940,12 @@ pub mod image_block_state { /// Builder for constructing an instance of this type. pub struct ImageBlockBuilder { _state: PhantomData St>, - _fields: (Option, Option>, Option>, Option), + _fields: ( + Option, + Option>, + Option>, + Option, + ), _type: PhantomData S>, } @@ -979,10 +982,7 @@ impl ImageBlockBuilder { impl ImageBlockBuilder { /// Set the `aspectRatio` field (optional) - pub fn aspect_ratio( - mut self, - value: impl Into>>, - ) -> Self { + pub fn aspect_ratio(mut self, value: impl Into>>) -> Self { self._fields.1 = value.into(); self } @@ -1048,10 +1048,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> ImageBlock { + pub fn build_with_data(self, extra_data: BTreeMap>) -> ImageBlock { ImageBlock { alt: self._fields.0, aspect_ratio: self._fields.1, @@ -1064,7 +1061,7 @@ where pub mod post_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -1226,4 +1223,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/blue_backyard/feed/reblog.rs b/crates/jacquard-api/src/blue_backyard/feed/reblog.rs index c084874a..8fc23d35 100644 --- a/crates/jacquard-api/src/blue_backyard/feed/reblog.rs +++ b/crates/jacquard-api/src/blue_backyard/feed/reblog.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,13 +24,13 @@ use jacquard_derive::{IntoStatic, lexicon, open_union}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::blue_backyard::feed::post::EmbedBlock; use crate::blue_backyard::feed::post::ImageBlock; use crate::blue_backyard::feed::post::TextBlock; use crate::com_atproto::repo::strong_ref::StrongRef; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; /// A reblog of a Backyard post with optional additions. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -54,7 +54,6 @@ pub struct Reblog { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -148,7 +147,7 @@ impl LexiconSchema for Reblog { pub mod reblog_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -222,10 +221,7 @@ impl ReblogBuilder { impl ReblogBuilder { /// Set the `content` field (optional) - pub fn content( - mut self, - value: impl Into>>>, - ) -> Self { + pub fn content(mut self, value: impl Into>>>) -> Self { self._fields.0 = value.into(); self } @@ -316,10 +312,10 @@ where } fn lexicon_doc_blue_backyard_feed_reblog() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("blue.backyard.feed.reblog"), @@ -406,4 +402,4 @@ fn lexicon_doc_blue_backyard_feed_reblog() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/blue_backyard/graph.rs b/crates/jacquard-api/src/blue_backyard/graph.rs index 453be7dd..98015409 100644 --- a/crates/jacquard-api/src/blue_backyard/graph.rs +++ b/crates/jacquard-api/src/blue_backyard/graph.rs @@ -4,4 +4,4 @@ // Any manual changes will be overwritten on the next regeneration. pub mod block; -pub mod follow; \ No newline at end of file +pub mod follow; diff --git a/crates/jacquard-api/src/blue_backyard/graph/block.rs b/crates/jacquard-api/src/blue_backyard/graph/block.rs index 898de39a..86135c02 100644 --- a/crates/jacquard-api/src/blue_backyard/graph/block.rs +++ b/crates/jacquard-api/src/blue_backyard/graph/block.rs @@ -10,13 +10,13 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::collection::{Collection, RecordError}; -use jacquard_common::types::string::{Did, AtUri, Cid, Datetime}; +use jacquard_common::types::string::{AtUri, Cid, Datetime, Did}; use jacquard_common::types::uri::{RecordUri, UriError}; use jacquard_common::types::value::Data; use jacquard_common::xrpc::XrpcResp; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// Record declaring a block of another account. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -105,7 +105,7 @@ impl LexiconSchema for Block { pub mod block_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -235,10 +235,10 @@ where } fn lexicon_doc_blue_backyard_graph_block() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("blue.backyard.graph.block"), @@ -247,19 +247,15 @@ fn lexicon_doc_blue_backyard_graph_block() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static( - "Record declaring a block of another account.", - ), - ), + description: Some(CowStr::new_static( + "Record declaring a block of another account.", + )), key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("subject"), - SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("subject"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -273,9 +269,9 @@ fn lexicon_doc_blue_backyard_graph_block() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("subject"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("DID of the account being blocked."), - ), + description: Some(CowStr::new_static( + "DID of the account being blocked.", + )), format: Some(LexStringFormat::Did), ..Default::default() }), @@ -291,4 +287,4 @@ fn lexicon_doc_blue_backyard_graph_block() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/blue_backyard/graph/follow.rs b/crates/jacquard-api/src/blue_backyard/graph/follow.rs index a8ded76b..09dd80a7 100644 --- a/crates/jacquard-api/src/blue_backyard/graph/follow.rs +++ b/crates/jacquard-api/src/blue_backyard/graph/follow.rs @@ -10,13 +10,13 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::collection::{Collection, RecordError}; -use jacquard_common::types::string::{Did, AtUri, Cid, Datetime}; +use jacquard_common::types::string::{AtUri, Cid, Datetime, Did}; use jacquard_common::types::uri::{RecordUri, UriError}; use jacquard_common::types::value::Data; use jacquard_common::xrpc::XrpcResp; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// Record declaring a social 'follow' of another account. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -105,7 +105,7 @@ impl LexiconSchema for Follow { pub mod follow_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -235,10 +235,10 @@ where } fn lexicon_doc_blue_backyard_graph_follow() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("blue.backyard.graph.follow"), @@ -247,19 +247,15 @@ fn lexicon_doc_blue_backyard_graph_follow() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static( - "Record declaring a social 'follow' of another account.", - ), - ), + description: Some(CowStr::new_static( + "Record declaring a social 'follow' of another account.", + )), key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("subject"), - SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("subject"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -273,9 +269,9 @@ fn lexicon_doc_blue_backyard_graph_follow() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("subject"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("DID of the account being followed."), - ), + description: Some(CowStr::new_static( + "DID of the account being followed.", + )), format: Some(LexStringFormat::Did), ..Default::default() }), @@ -291,4 +287,4 @@ fn lexicon_doc_blue_backyard_graph_follow() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/blue_backyard/richtext.rs b/crates/jacquard-api/src/blue_backyard/richtext.rs index b7b3177b..3bf124e6 100644 --- a/crates/jacquard-api/src/blue_backyard/richtext.rs +++ b/crates/jacquard-api/src/blue_backyard/richtext.rs @@ -3,4 +3,4 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. -pub mod facet; \ No newline at end of file +pub mod facet; diff --git a/crates/jacquard-api/src/blue_backyard/richtext/facet.rs b/crates/jacquard-api/src/blue_backyard/richtext/facet.rs index 4fc94d4c..0a474d8e 100644 --- a/crates/jacquard-api/src/blue_backyard/richtext/facet.rs +++ b/crates/jacquard-api/src/blue_backyard/richtext/facet.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -21,14 +21,17 @@ use jacquard_derive::{IntoStatic, open_union}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::blue_backyard::richtext::facet; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::blue_backyard::richtext::facet; +use serde::{Deserialize, Serialize}; /// Facet feature for bold text formatting. Spec candidate per Paul Frazee. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Bold { #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, @@ -37,7 +40,10 @@ pub struct Bold { /// Specifies a sub-string in a utf-8 string by byte index. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ByteSlice { pub byte_end: i64, pub byte_start: i64, @@ -48,7 +54,10 @@ pub struct ByteSlice { /// Facet feature for italic text formatting. Spec candidate per Paul Frazee. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Italic { #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, @@ -57,7 +66,10 @@ pub struct Italic { /// Facet feature for a URL link. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Link { pub uri: UriValue, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -67,7 +79,10 @@ pub struct Link { /// Annotation of a sub-string within rich text. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Facet { ///The feature types applied to this text range (e.g. link, mention, formatting). pub features: Vec>, @@ -76,7 +91,6 @@ pub struct Facet { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -100,7 +114,10 @@ pub enum FacetFeaturesItem { /// Facet feature for mention of another account. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Mention { pub did: Did, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -110,7 +127,10 @@ pub struct Mention { /// Facet feature for strikethrough text formatting. Spec candidate per Paul Frazee. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Strikethrough { #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, @@ -119,7 +139,10 @@ pub struct Strikethrough { /// Facet feature for a hashtag. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Tag { pub tag: S, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -129,7 +152,10 @@ pub struct Tag { /// Facet feature for underline text formatting. Spec candidate per Paul Frazee. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Underline { #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, @@ -315,10 +341,10 @@ impl LexiconSchema for Underline { } fn lexicon_doc_blue_backyard_richtext_facet() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("blue.backyard.richtext.facet"), @@ -327,11 +353,9 @@ fn lexicon_doc_blue_backyard_richtext_facet() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("bold"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "Facet feature for bold text formatting. Spec candidate per Paul Frazee.", - ), - ), + description: Some(CowStr::new_static( + "Facet feature for bold text formatting. Spec candidate per Paul Frazee.", + )), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -343,17 +367,13 @@ fn lexicon_doc_blue_backyard_richtext_facet() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("byteSlice"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "Specifies a sub-string in a utf-8 string by byte index.", - ), - ), - required: Some( - vec![ - SmolStr::new_static("byteStart"), - SmolStr::new_static("byteEnd") - ], - ), + description: Some(CowStr::new_static( + "Specifies a sub-string in a utf-8 string by byte index.", + )), + required: Some(vec![ + SmolStr::new_static("byteStart"), + SmolStr::new_static("byteEnd"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -379,11 +399,9 @@ fn lexicon_doc_blue_backyard_richtext_facet() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("italic"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "Facet feature for italic text formatting. Spec candidate per Paul Frazee.", - ), - ), + description: Some(CowStr::new_static( + "Facet feature for italic text formatting. Spec candidate per Paul Frazee.", + )), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -395,9 +413,7 @@ fn lexicon_doc_blue_backyard_richtext_facet() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("link"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("Facet feature for a URL link."), - ), + description: Some(CowStr::new_static("Facet feature for a URL link.")), required: Some(vec![SmolStr::new_static("uri")]), properties: { #[allow(unused_mut)] @@ -466,11 +482,9 @@ fn lexicon_doc_blue_backyard_richtext_facet() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("mention"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "Facet feature for mention of another account.", - ), - ), + description: Some(CowStr::new_static( + "Facet feature for mention of another account.", + )), required: Some(vec![SmolStr::new_static("did")]), properties: { #[allow(unused_mut)] @@ -506,9 +520,7 @@ fn lexicon_doc_blue_backyard_richtext_facet() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("tag"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("Facet feature for a hashtag."), - ), + description: Some(CowStr::new_static("Facet feature for a hashtag.")), required: Some(vec![SmolStr::new_static("tag")]), properties: { #[allow(unused_mut)] @@ -550,7 +562,7 @@ fn lexicon_doc_blue_backyard_richtext_facet() -> LexiconDoc<'static> { pub mod byte_slice_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -670,10 +682,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> ByteSlice { + pub fn build_with_data(self, extra_data: BTreeMap>) -> ByteSlice { ByteSlice { byte_end: self._fields.0.unwrap(), byte_start: self._fields.1.unwrap(), @@ -684,7 +693,7 @@ where pub mod link_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -745,10 +754,7 @@ where St::Uri: link_state::IsUnset, { /// Set the `uri` field (required) - pub fn uri( - mut self, - value: impl Into>, - ) -> LinkBuilder> { + pub fn uri(mut self, value: impl Into>) -> LinkBuilder> { self._fields.0 = Option::Some(value.into()); LinkBuilder { _state: PhantomData, @@ -781,7 +787,7 @@ where pub mod facet_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -826,7 +832,10 @@ pub mod facet_state { /// Builder for constructing an instance of this type. pub struct FacetBuilder { _state: PhantomData St>, - _fields: (Option>>, Option>), + _fields: ( + Option>>, + Option>, + ), _type: PhantomData S>, } @@ -912,7 +921,7 @@ where pub mod mention_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -973,10 +982,7 @@ where St::Did: mention_state::IsUnset, { /// Set the `did` field (required) - pub fn did( - mut self, - value: impl Into>, - ) -> MentionBuilder> { + pub fn did(mut self, value: impl Into>) -> MentionBuilder> { self._fields.0 = Option::Some(value.into()); MentionBuilder { _state: PhantomData, @@ -1005,4 +1011,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/blue_linkat.rs b/crates/jacquard-api/src/blue_linkat.rs index 2b948c65..11e0f8a0 100644 --- a/crates/jacquard-api/src/blue_linkat.rs +++ b/crates/jacquard-api/src/blue_linkat.rs @@ -3,4 +3,4 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. -pub mod board; \ No newline at end of file +pub mod board; diff --git a/crates/jacquard-api/src/blue_linkat/board.rs b/crates/jacquard-api/src/blue_linkat/board.rs index 72b29177..1065bbf8 100644 --- a/crates/jacquard-api/src/blue_linkat/board.rs +++ b/crates/jacquard-api/src/blue_linkat/board.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,13 +24,16 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::blue_linkat::board; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::blue_linkat::board; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Card { ///Emoji of the card #[serde(skip_serializing_if = "Option::is_none")] @@ -136,10 +139,10 @@ impl LexiconSchema for Board { } fn lexicon_doc_blue_linkat_board() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("blue.linkat.board"), @@ -180,9 +183,9 @@ fn lexicon_doc_blue_linkat_board() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static("Record containing a cards of your profile."), - ), + description: Some(CowStr::new_static( + "Record containing a cards of your profile.", + )), key: Some(CowStr::new_static("literal:self")), record: LexRecordRecord::Object(LexObject { required: Some(vec![SmolStr::new_static("cards")]), @@ -192,9 +195,9 @@ fn lexicon_doc_blue_linkat_board() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("cards"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static("List of cards in the board."), - ), + description: Some(CowStr::new_static( + "List of cards in the board.", + )), items: LexArrayItem::Ref(LexRef { r#ref: CowStr::new_static("#card"), ..Default::default() @@ -217,7 +220,7 @@ fn lexicon_doc_blue_linkat_board() -> LexiconDoc<'static> { pub mod board_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -310,4 +313,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/blue_recipes.rs b/crates/jacquard-api/src/blue_recipes.rs index cd9ae06a..ae2edf6b 100644 --- a/crates/jacquard-api/src/blue_recipes.rs +++ b/crates/jacquard-api/src/blue_recipes.rs @@ -4,4 +4,4 @@ // Any manual changes will be overwritten on the next regeneration. pub mod actor; -pub mod feed; \ No newline at end of file +pub mod feed; diff --git a/crates/jacquard-api/src/blue_recipes/actor.rs b/crates/jacquard-api/src/blue_recipes/actor.rs index 79563667..9aa0ebec 100644 --- a/crates/jacquard-api/src/blue_recipes/actor.rs +++ b/crates/jacquard-api/src/blue_recipes/actor.rs @@ -7,13 +7,12 @@ pub mod profile; - #[allow(unused_imports)] use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -27,10 +26,13 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ProfileViewBasic { ///Small image to be displayed on the profile. #[serde(skip_serializing_if = "Option::is_none")] @@ -74,25 +76,20 @@ impl LexiconSchema for ProfileViewBasic { { let mime = value.blob().mime_type.as_str(); let accepted: &[&str] = &["image/png", "image/jpeg"]; - let matched = accepted - .iter() - .any(|pattern| { - if *pattern == "*/*" { - true - } else if pattern.ends_with("/*") { - let prefix = &pattern[..pattern.len() - 2]; - mime.starts_with(prefix) - && mime.as_bytes().get(prefix.len()) == Some(&b'/') - } else { - mime == *pattern - } - }); + let matched = accepted.iter().any(|pattern| { + if *pattern == "*/*" { + true + } else if pattern.ends_with("/*") { + let prefix = &pattern[..pattern.len() - 2]; + mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/') + } else { + mime == *pattern + } + }); if !matched { return Err(ConstraintError::BlobMimeTypeNotAccepted { path: ValidationPath::from_field("avatar"), - accepted: vec![ - "image/png".to_string(), "image/jpeg".to_string() - ], + accepted: vec!["image/png".to_string(), "image/jpeg".to_string()], actual: mime.to_string(), }); } @@ -126,7 +123,7 @@ impl LexiconSchema for ProfileViewBasic { pub mod profile_view_basic_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -309,10 +306,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> ProfileViewBasic { + pub fn build_with_data(self, extra_data: BTreeMap>) -> ProfileViewBasic { ProfileViewBasic { avatar: self._fields.0, created_at: self._fields.1, @@ -326,10 +320,10 @@ where } fn lexicon_doc_blue_recipes_actor_defs() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("blue.recipes.actor.defs"), @@ -338,19 +332,24 @@ fn lexicon_doc_blue_recipes_actor_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("profileViewBasic"), LexUserType::Object(LexObject { - required: Some( - vec![SmolStr::new_static("did"), SmolStr::new_static("handle")], - ), + required: Some(vec![ + SmolStr::new_static("did"), + SmolStr::new_static("handle"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("avatar"), - LexObjectProperty::Blob(LexBlob { ..Default::default() }), + LexObjectProperty::Blob(LexBlob { + ..Default::default() + }), ); map.insert( SmolStr::new_static("createdAt"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("did"), @@ -376,7 +375,9 @@ fn lexicon_doc_blue_recipes_actor_defs() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("pronouns"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map }, @@ -387,4 +388,4 @@ fn lexicon_doc_blue_recipes_actor_defs() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/blue_recipes/actor/profile.rs b/crates/jacquard-api/src/blue_recipes/actor/profile.rs index 652770b9..ea449da0 100644 --- a/crates/jacquard-api/src/blue_recipes/actor/profile.rs +++ b/crates/jacquard-api/src/blue_recipes/actor/profile.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -27,7 +27,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde( @@ -129,25 +129,20 @@ impl LexiconSchema for Profile { { let mime = value.blob().mime_type.as_str(); let accepted: &[&str] = &["image/png", "image/jpeg"]; - let matched = accepted - .iter() - .any(|pattern| { - if *pattern == "*/*" { - true - } else if pattern.ends_with("/*") { - let prefix = &pattern[..pattern.len() - 2]; - mime.starts_with(prefix) - && mime.as_bytes().get(prefix.len()) == Some(&b'/') - } else { - mime == *pattern - } - }); + let matched = accepted.iter().any(|pattern| { + if *pattern == "*/*" { + true + } else if pattern.ends_with("/*") { + let prefix = &pattern[..pattern.len() - 2]; + mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/') + } else { + mime == *pattern + } + }); if !matched { return Err(ConstraintError::BlobMimeTypeNotAccepted { path: ValidationPath::from_field("avatar"), - accepted: vec![ - "image/png".to_string(), "image/jpeg".to_string() - ], + accepted: vec!["image/png".to_string(), "image/jpeg".to_string()], actual: mime.to_string(), }); } @@ -169,25 +164,20 @@ impl LexiconSchema for Profile { { let mime = value.blob().mime_type.as_str(); let accepted: &[&str] = &["image/png", "image/jpeg"]; - let matched = accepted - .iter() - .any(|pattern| { - if *pattern == "*/*" { - true - } else if pattern.ends_with("/*") { - let prefix = &pattern[..pattern.len() - 2]; - mime.starts_with(prefix) - && mime.as_bytes().get(prefix.len()) == Some(&b'/') - } else { - mime == *pattern - } - }); + let matched = accepted.iter().any(|pattern| { + if *pattern == "*/*" { + true + } else if pattern.ends_with("/*") { + let prefix = &pattern[..pattern.len() - 2]; + mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/') + } else { + mime == *pattern + } + }); if !matched { return Err(ConstraintError::BlobMimeTypeNotAccepted { path: ValidationPath::from_field("banner"), - accepted: vec![ - "image/png".to_string(), "image/jpeg".to_string() - ], + accepted: vec!["image/png".to_string(), "image/jpeg".to_string()], actual: mime.to_string(), }); } @@ -267,7 +257,7 @@ impl LexiconSchema for Profile { pub mod profile_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -461,10 +451,10 @@ where } fn lexicon_doc_blue_recipes_actor_profile() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("blue.recipes.actor.profile"), @@ -481,11 +471,15 @@ fn lexicon_doc_blue_recipes_actor_profile() -> LexiconDoc<'static> { let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("avatar"), - LexObjectProperty::Blob(LexBlob { ..Default::default() }), + LexObjectProperty::Blob(LexBlob { + ..Default::default() + }), ); map.insert( SmolStr::new_static("banner"), - LexObjectProperty::Blob(LexBlob { ..Default::default() }), + LexObjectProperty::Blob(LexBlob { + ..Default::default() + }), ); map.insert( SmolStr::new_static("createdAt"), @@ -496,9 +490,9 @@ fn lexicon_doc_blue_recipes_actor_profile() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("description"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Free-form profile description text."), - ), + description: Some(CowStr::new_static( + "Free-form profile description text.", + )), max_length: Some(2500usize), max_graphemes: Some(256usize), ..Default::default() @@ -515,9 +509,9 @@ fn lexicon_doc_blue_recipes_actor_profile() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("pronouns"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Free-form text to describe pronouns."), - ), + description: Some(CowStr::new_static( + "Free-form text to describe pronouns.", + )), max_length: Some(200usize), max_graphemes: Some(20usize), ..Default::default() @@ -540,4 +534,4 @@ fn lexicon_doc_blue_recipes_actor_profile() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/blue_recipes/feed.rs b/crates/jacquard-api/src/blue_recipes/feed.rs index 3f44526b..236964db 100644 --- a/crates/jacquard-api/src/blue_recipes/feed.rs +++ b/crates/jacquard-api/src/blue_recipes/feed.rs @@ -9,7 +9,6 @@ pub mod get_recipe; pub mod get_recipes; pub mod recipe; - #[allow(unused_imports)] use alloc::collections::BTreeMap; @@ -26,14 +25,17 @@ use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::blue_recipes::actor::ProfileViewBasic; use crate::blue_recipes::feed::recipe::Recipe; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct NotFoundRecipe { pub not_found: bool, pub uri: AtUri, @@ -44,7 +46,10 @@ pub struct NotFoundRecipe { /// Response model for fetching multiple recipes. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct RecipeView { pub author: ProfileViewBasic, pub cid: Cid, @@ -87,7 +92,7 @@ impl LexiconSchema for RecipeView { pub mod not_found_recipe_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -207,10 +212,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> NotFoundRecipe { + pub fn build_with_data(self, extra_data: BTreeMap>) -> NotFoundRecipe { NotFoundRecipe { not_found: self._fields.0.unwrap(), uri: self._fields.1.unwrap(), @@ -220,10 +222,10 @@ where } fn lexicon_doc_blue_recipes_feed_defs() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("blue.recipes.feed.defs"), @@ -232,9 +234,10 @@ fn lexicon_doc_blue_recipes_feed_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("notFoundRecipe"), LexUserType::Object(LexObject { - required: Some( - vec![SmolStr::new_static("uri"), SmolStr::new_static("notFound")], - ), + required: Some(vec![ + SmolStr::new_static("uri"), + SmolStr::new_static("notFound"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -259,18 +262,16 @@ fn lexicon_doc_blue_recipes_feed_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("recipeView"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "Response model for fetching multiple recipes.", - ), - ), - required: Some( - vec![ - SmolStr::new_static("uri"), SmolStr::new_static("cid"), - SmolStr::new_static("author"), SmolStr::new_static("record"), - SmolStr::new_static("indexedAt") - ], - ), + description: Some(CowStr::new_static( + "Response model for fetching multiple recipes.", + )), + required: Some(vec![ + SmolStr::new_static("uri"), + SmolStr::new_static("cid"), + SmolStr::new_static("author"), + SmolStr::new_static("record"), + SmolStr::new_static("indexedAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -324,7 +325,7 @@ fn lexicon_doc_blue_recipes_feed_defs() -> LexiconDoc<'static> { pub mod recipe_view_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -561,10 +562,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> RecipeView { + pub fn build_with_data(self, extra_data: BTreeMap>) -> RecipeView { RecipeView { author: self._fields.0.unwrap(), cid: self._fields.1.unwrap(), @@ -574,4 +572,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/blue_recipes/feed/get_recipe.rs b/crates/jacquard-api/src/blue_recipes/feed/get_recipe.rs index 5c359be4..d8a45d31 100644 --- a/crates/jacquard-api/src/blue_recipes/feed/get_recipe.rs +++ b/crates/jacquard-api/src/blue_recipes/feed/get_recipe.rs @@ -8,43 +8,39 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::blue_recipes::feed::RecipeView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::AtUri; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; -use crate::blue_recipes::feed::RecipeView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetRecipe { pub uris: Vec>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetRecipeOutput { pub recipes: Vec>, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum GetRecipeError { #[serde(rename = "NotFound")] @@ -53,7 +49,10 @@ pub enum GetRecipeError { InvalidUri(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for GetRecipeError { @@ -110,7 +109,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetRecipeRequest { pub mod get_recipe_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -195,4 +194,4 @@ where uris: self._fields.0.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/blue_recipes/feed/get_recipes.rs b/crates/jacquard-api/src/blue_recipes/feed/get_recipes.rs index 1b4fea8c..ecf2a0a3 100644 --- a/crates/jacquard-api/src/blue_recipes/feed/get_recipes.rs +++ b/crates/jacquard-api/src/blue_recipes/feed/get_recipes.rs @@ -8,18 +8,21 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::blue_recipes::feed::RecipeView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::ident::AtIdentifier; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::blue_recipes::feed::RecipeView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetRecipes { #[serde(skip_serializing_if = "Option::is_none")] pub author: Option>, @@ -31,9 +34,11 @@ pub struct GetRecipes { pub limit: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetRecipesOutput { pub next_cursor: S, pub recipes: Vec>, @@ -71,7 +76,7 @@ fn _default_limit() -> Option { pub mod get_recipes_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -164,4 +169,4 @@ where limit: self._fields.2, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/blue_recipes/feed/recipe.rs b/crates/jacquard-api/src/blue_recipes/feed/recipe.rs index 236c4dfb..55cfb33c 100644 --- a/crates/jacquard-api/src/blue_recipes/feed/recipe.rs +++ b/crates/jacquard-api/src/blue_recipes/feed/recipe.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -25,13 +25,16 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::blue_recipes::feed::recipe; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::blue_recipes::feed::recipe; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Ingredient { ///The amount of the ingredient needed. #[serde(skip_serializing_if = "Option::is_none")] @@ -84,9 +87,11 @@ pub struct RecipeGetRecordOutput { pub value: Recipe, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Step { ///The instruction to provide to the user. pub text: S, @@ -215,25 +220,20 @@ impl LexiconSchema for Recipe { { let mime = value.blob().mime_type.as_str(); let accepted: &[&str] = &["image/png", "image/jpeg"]; - let matched = accepted - .iter() - .any(|pattern| { - if *pattern == "*/*" { - true - } else if pattern.ends_with("/*") { - let prefix = &pattern[..pattern.len() - 2]; - mime.starts_with(prefix) - && mime.as_bytes().get(prefix.len()) == Some(&b'/') - } else { - mime == *pattern - } - }); + let matched = accepted.iter().any(|pattern| { + if *pattern == "*/*" { + true + } else if pattern.ends_with("/*") { + let prefix = &pattern[..pattern.len() - 2]; + mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/') + } else { + mime == *pattern + } + }); if !matched { return Err(ConstraintError::BlobMimeTypeNotAccepted { path: ValidationPath::from_field("image"), - accepted: vec![ - "image/png".to_string(), "image/jpeg".to_string() - ], + accepted: vec!["image/png".to_string(), "image/jpeg".to_string()], actual: mime.to_string(), }); } @@ -307,10 +307,10 @@ impl LexiconSchema for Step { } fn lexicon_doc_blue_recipes_feed_recipe() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("blue.recipes.feed.recipe"), @@ -326,18 +326,18 @@ fn lexicon_doc_blue_recipes_feed_recipe() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("amount"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The amount of the ingredient needed."), - ), + description: Some(CowStr::new_static( + "The amount of the ingredient needed.", + )), ..Default::default() }), ); map.insert( SmolStr::new_static("name"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The name of the ingredient."), - ), + description: Some(CowStr::new_static( + "The name of the ingredient.", + )), max_length: Some(3000usize), max_graphemes: Some(300usize), ..Default::default() @@ -354,12 +354,11 @@ fn lexicon_doc_blue_recipes_feed_recipe() -> LexiconDoc<'static> { description: Some(CowStr::new_static("Record containing a recipe.")), key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("title"), SmolStr::new_static("steps"), - SmolStr::new_static("ingredients") - ], - ), + required: Some(vec![ + SmolStr::new_static("title"), + SmolStr::new_static("steps"), + SmolStr::new_static("ingredients"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -372,9 +371,9 @@ fn lexicon_doc_blue_recipes_feed_recipe() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("description"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Free-form recipe description text."), - ), + description: Some(CowStr::new_static( + "Free-form recipe description text.", + )), max_length: Some(3000usize), max_graphemes: Some(300usize), ..Default::default() @@ -382,7 +381,9 @@ fn lexicon_doc_blue_recipes_feed_recipe() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("image"), - LexObjectProperty::Blob(LexBlob { ..Default::default() }), + LexObjectProperty::Blob(LexBlob { + ..Default::default() + }), ); map.insert( SmolStr::new_static("ingredients"), @@ -441,11 +442,9 @@ fn lexicon_doc_blue_recipes_feed_recipe() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("text"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "The instruction to provide to the user.", - ), - ), + description: Some(CowStr::new_static( + "The instruction to provide to the user.", + )), max_length: Some(5000usize), max_graphemes: Some(500usize), ..Default::default() @@ -464,7 +463,7 @@ fn lexicon_doc_blue_recipes_feed_recipe() -> LexiconDoc<'static> { pub mod recipe_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -663,10 +662,7 @@ where St::Title: recipe_state::IsUnset, { /// Set the `title` field (required) - pub fn title( - mut self, - value: impl Into, - ) -> RecipeBuilder> { + pub fn title(mut self, value: impl Into) -> RecipeBuilder> { self._fields.7 = Option::Some(value.into()); RecipeBuilder { _state: PhantomData, @@ -711,4 +707,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/blue_rito.rs b/crates/jacquard-api/src/blue_rito.rs index f40297a7..6e161475 100644 --- a/crates/jacquard-api/src/blue_rito.rs +++ b/crates/jacquard-api/src/blue_rito.rs @@ -5,4 +5,4 @@ pub mod feed; pub mod label; -pub mod service; \ No newline at end of file +pub mod service; diff --git a/crates/jacquard-api/src/blue_rito/feed.rs b/crates/jacquard-api/src/blue_rito/feed.rs index 3c723f58..5053f2fc 100644 --- a/crates/jacquard-api/src/blue_rito/feed.rs +++ b/crates/jacquard-api/src/blue_rito/feed.rs @@ -4,4 +4,4 @@ // Any manual changes will be overwritten on the next regeneration. pub mod bookmark; -pub mod like; \ No newline at end of file +pub mod like; diff --git a/crates/jacquard-api/src/blue_rito/feed/bookmark.rs b/crates/jacquard-api/src/blue_rito/feed/bookmark.rs index 7f602493..f3ce6793 100644 --- a/crates/jacquard-api/src/blue_rito/feed/bookmark.rs +++ b/crates/jacquard-api/src/blue_rito/feed/bookmark.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,13 +24,16 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::blue_rito::feed::bookmark; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::blue_rito::feed::bookmark; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Locale { ///URI's comment. It can use GitHub Flavored Markdown. #[serde(skip_serializing_if = "Option::is_none")] @@ -226,10 +229,10 @@ impl LexiconSchema for Bookmark { } fn lexicon_doc_blue_rito_feed_bookmark() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("blue.rito.feed.bookmark"), @@ -238,20 +241,19 @@ fn lexicon_doc_blue_rito_feed_bookmark() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("locale"), LexUserType::Object(LexObject { - required: Some( - vec![SmolStr::new_static("lang"), SmolStr::new_static("title")], - ), + required: Some(vec![ + SmolStr::new_static("lang"), + SmolStr::new_static("title"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("comment"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "URI's comment. It can use GitHub Flavored Markdown.", - ), - ), + description: Some(CowStr::new_static( + "URI's comment. It can use GitHub Flavored Markdown.", + )), max_length: Some(100000usize), max_graphemes: Some(10000usize), ..Default::default() @@ -381,7 +383,7 @@ fn lexicon_doc_blue_rito_feed_bookmark() -> LexiconDoc<'static> { pub mod bookmark_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -612,4 +614,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/blue_rito/feed/like.rs b/crates/jacquard-api/src/blue_rito/feed/like.rs index 7c7177c7..81395327 100644 --- a/crates/jacquard-api/src/blue_rito/feed/like.rs +++ b/crates/jacquard-api/src/blue_rito/feed/like.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// Records a like. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -104,7 +104,7 @@ impl LexiconSchema for Like { pub mod like_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -234,10 +234,10 @@ where } fn lexicon_doc_blue_rito_feed_like() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("blue.rito.feed.like"), @@ -249,12 +249,10 @@ fn lexicon_doc_blue_rito_feed_like() -> LexiconDoc<'static> { description: Some(CowStr::new_static("Records a like.")), key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("subject"), - SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("subject"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -283,4 +281,4 @@ fn lexicon_doc_blue_rito_feed_like() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/blue_rito/label.rs b/crates/jacquard-api/src/blue_rito/label.rs index 2622510f..2b77c27f 100644 --- a/crates/jacquard-api/src/blue_rito/label.rs +++ b/crates/jacquard-api/src/blue_rito/label.rs @@ -3,4 +3,4 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. -pub mod auto; \ No newline at end of file +pub mod auto; diff --git a/crates/jacquard-api/src/blue_rito/label/auto.rs b/crates/jacquard-api/src/blue_rito/label/auto.rs index 9829a9cf..7f8c1b5f 100644 --- a/crates/jacquard-api/src/blue_rito/label/auto.rs +++ b/crates/jacquard-api/src/blue_rito/label/auto.rs @@ -4,4 +4,4 @@ // Any manual changes will be overwritten on the next regeneration. pub mod like; -pub mod post; \ No newline at end of file +pub mod post; diff --git a/crates/jacquard-api/src/blue_rito/label/auto/like.rs b/crates/jacquard-api/src/blue_rito/label/auto/like.rs index cc491ade..ad870453 100644 --- a/crates/jacquard-api/src/blue_rito/label/auto/like.rs +++ b/crates/jacquard-api/src/blue_rito/label/auto/like.rs @@ -7,13 +7,12 @@ pub mod settings; - #[allow(unused_imports)] use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -29,7 +28,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// Setting Like based auto labeling. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -108,7 +107,7 @@ impl LexiconSchema for Like { pub mod like_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -238,10 +237,10 @@ where } fn lexicon_doc_blue_rito_label_auto_like() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("blue.rito.label.auto.like"), @@ -294,4 +293,4 @@ fn lexicon_doc_blue_rito_label_auto_like() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/blue_rito/label/auto/like/settings.rs b/crates/jacquard-api/src/blue_rito/label/auto/like/settings.rs index 3d0e570d..bf212eda 100644 --- a/crates/jacquard-api/src/blue_rito/label/auto/like/settings.rs +++ b/crates/jacquard-api/src/blue_rito/label/auto/like/settings.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::blue_rito::label::auto::like::settings; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::blue_rito::label::auto::like::settings; +use serde::{Deserialize, Serialize}; /// Setting Like based auto labeling. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -59,9 +59,11 @@ pub struct SettingsGetRecordOutput { pub value: Settings, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct PostRef { ///CID of the post pub cid: S, @@ -136,7 +138,7 @@ impl LexiconSchema for PostRef { pub mod settings_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -285,10 +287,10 @@ where } fn lexicon_doc_blue_rito_label_auto_like_settings() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("blue.rito.label.auto.like.settings"), @@ -297,29 +299,25 @@ fn lexicon_doc_blue_rito_label_auto_like_settings() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static("Setting Like based auto labeling."), - ), + description: Some(CowStr::new_static("Setting Like based auto labeling.")), key: Some(CowStr::new_static("literal:self")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("apply"), - SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("apply"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("apply"), LexObjectProperty::Union(LexRefUnion { - description: Some( - CowStr::new_static("The post to apply the label to"), - ), - refs: vec![ - CowStr::new_static("blue.rito.label.auto.like.settings#postRef") - ], + description: Some(CowStr::new_static( + "The post to apply the label to", + )), + refs: vec![CowStr::new_static( + "blue.rito.label.auto.like.settings#postRef", + )], ..Default::default() }), ); @@ -333,12 +331,12 @@ fn lexicon_doc_blue_rito_label_auto_like_settings() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("delete"), LexObjectProperty::Union(LexRefUnion { - description: Some( - CowStr::new_static("The post to remove the label from"), - ), - refs: vec![ - CowStr::new_static("blue.rito.label.auto.like.settings#postRef") - ], + description: Some(CowStr::new_static( + "The post to remove the label from", + )), + refs: vec![CowStr::new_static( + "blue.rito.label.auto.like.settings#postRef", + )], ..Default::default() }), ); @@ -352,9 +350,7 @@ fn lexicon_doc_blue_rito_label_auto_like_settings() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("postRef"), LexUserType::Object(LexObject { - required: Some( - vec![SmolStr::new_static("uri"), SmolStr::new_static("cid")], - ), + required: Some(vec![SmolStr::new_static("uri"), SmolStr::new_static("cid")]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -386,7 +382,7 @@ fn lexicon_doc_blue_rito_label_auto_like_settings() -> LexiconDoc<'static> { pub mod post_ref_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -459,10 +455,7 @@ where St::Cid: post_ref_state::IsUnset, { /// Set the `cid` field (required) - pub fn cid( - mut self, - value: impl Into, - ) -> PostRefBuilder> { + pub fn cid(mut self, value: impl Into) -> PostRefBuilder> { self._fields.0 = Option::Some(value.into()); PostRefBuilder { _state: PhantomData, @@ -513,4 +506,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/blue_rito/label/auto/post.rs b/crates/jacquard-api/src/blue_rito/label/auto/post.rs index 3a23ad4b..e476a73d 100644 --- a/crates/jacquard-api/src/blue_rito/label/auto/post.rs +++ b/crates/jacquard-api/src/blue_rito/label/auto/post.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// Setting Post based auto labeling. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -114,7 +114,7 @@ impl LexiconSchema for Post { pub mod post_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -207,7 +207,14 @@ pub mod post_state { /// Builder for constructing an instance of this type. pub struct PostBuilder { _state: PhantomData St>, - _fields: (Option, Option, Option, Option, Option, Option), + _fields: ( + Option, + Option, + Option, + Option, + Option, + Option, + ), _type: PhantomData S>, } @@ -324,10 +331,7 @@ where St::Label: post_state::IsUnset, { /// Set the `label` field (required) - pub fn label( - mut self, - value: impl Into, - ) -> PostBuilder> { + pub fn label(mut self, value: impl Into) -> PostBuilder> { self._fields.5 = Option::Some(value.into()); PostBuilder { _state: PhantomData, @@ -373,10 +377,10 @@ where } fn lexicon_doc_blue_rito_label_auto_post() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("blue.rito.label.auto.post"), @@ -466,4 +470,4 @@ fn lexicon_doc_blue_rito_label_auto_post() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/blue_rito/service.rs b/crates/jacquard-api/src/blue_rito/service.rs index 0df04601..c70654da 100644 --- a/crates/jacquard-api/src/blue_rito/service.rs +++ b/crates/jacquard-api/src/blue_rito/service.rs @@ -4,4 +4,4 @@ // Any manual changes will be overwritten on the next regeneration. pub mod get_schema; -pub mod schema; \ No newline at end of file +pub mod schema; diff --git a/crates/jacquard-api/src/blue_rito/service/get_schema.rs b/crates/jacquard-api/src/blue_rito/service/get_schema.rs index c467e3f1..97ad9853 100644 --- a/crates/jacquard-api/src/blue_rito/service/get_schema.rs +++ b/crates/jacquard-api/src/blue_rito/service/get_schema.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -21,13 +21,16 @@ use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::blue_rito::service::get_schema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::blue_rito::service::get_schema; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Langs { #[serde(skip_serializing_if = "Option::is_none")] pub comment: Option, @@ -38,9 +41,11 @@ pub struct Langs { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetSchema { pub nsid: S, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -50,7 +55,10 @@ pub struct GetSchema { /// Returns the Bookmark data for the given NSID. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetSchemaOutput { ///Comments with titles, content, and moderation in multiple languages. pub comments: Vec>, @@ -104,9 +112,8 @@ impl jacquard_common::xrpc::XrpcResp for GetSchemaResponse { impl jacquard_common::xrpc::XrpcRequest for GetSchema { const NSID: &'static str = "blue.rito.service.getSchema"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = GetSchemaResponse; } @@ -114,16 +121,15 @@ impl jacquard_common::xrpc::XrpcRequest for GetSchema { pub struct GetSchemaRequest; impl jacquard_common::xrpc::XrpcEndpoint for GetSchemaRequest { const PATH: &'static str = "/xrpc/blue.rito.service.getSchema"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = GetSchema; type Response = GetSchemaResponse; } pub mod langs_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -223,10 +229,7 @@ where St::Lang: langs_state::IsUnset, { /// Set the `lang` field (required) - pub fn lang( - mut self, - value: impl Into, - ) -> LangsBuilder> { + pub fn lang(mut self, value: impl Into) -> LangsBuilder> { self._fields.1 = Option::Some(value.into()); LangsBuilder { _state: PhantomData, @@ -261,10 +264,7 @@ where St::Title: langs_state::IsUnset, { /// Set the `title` field (required) - pub fn title( - mut self, - value: impl Into, - ) -> LangsBuilder> { + pub fn title(mut self, value: impl Into) -> LangsBuilder> { self._fields.3 = Option::Some(value.into()); LangsBuilder { _state: PhantomData, @@ -304,10 +304,10 @@ where } fn lexicon_doc_blue_rito_service_getSchema() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("blue.rito.service.getSchema"), @@ -316,22 +316,25 @@ fn lexicon_doc_blue_rito_service_getSchema() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("langs"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("lang"), SmolStr::new_static("title"), - SmolStr::new_static("moderation") - ], - ), + required: Some(vec![ + SmolStr::new_static("lang"), + SmolStr::new_static("title"), + SmolStr::new_static("moderation"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("comment"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("lang"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("moderation"), @@ -344,7 +347,9 @@ fn lexicon_doc_blue_rito_service_getSchema() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("title"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map }, @@ -356,23 +361,21 @@ fn lexicon_doc_blue_rito_service_getSchema() -> LexiconDoc<'static> { LexUserType::XrpcProcedure(LexXrpcProcedure { input: Some(LexXrpcBody { encoding: CowStr::new_static("application/json"), - schema: Some( - LexXrpcBodySchema::Object(LexObject { - required: Some(vec![SmolStr::new_static("nsid")]), - properties: { - #[allow(unused_mut)] - let mut map = BTreeMap::new(); - map.insert( - SmolStr::new_static("nsid"), - LexObjectProperty::String(LexString { - ..Default::default() - }), - ); - map - }, - ..Default::default() - }), - ), + schema: Some(LexXrpcBodySchema::Object(LexObject { + required: Some(vec![SmolStr::new_static("nsid")]), + properties: { + #[allow(unused_mut)] + let mut map = BTreeMap::new(); + map.insert( + SmolStr::new_static("nsid"), + LexObjectProperty::String(LexString { + ..Default::default() + }), + ); + map + }, + ..Default::default() + })), ..Default::default() }), ..Default::default() @@ -382,4 +385,4 @@ fn lexicon_doc_blue_rito_service_getSchema() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/blue_rito/service/schema.rs b/crates/jacquard-api/src/blue_rito/service/schema.rs index d163d878..30845b95 100644 --- a/crates/jacquard-api/src/blue_rito/service/schema.rs +++ b/crates/jacquard-api/src/blue_rito/service/schema.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// This record defines the schema associated with a specific NSID. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -104,7 +104,7 @@ impl LexiconSchema for Schema { pub mod schema_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -200,10 +200,10 @@ where } fn lexicon_doc_blue_rito_service_schema() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("blue.rito.service.schema"), @@ -246,4 +246,4 @@ fn lexicon_doc_blue_rito_service_schema() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/blue_skytalk.rs b/crates/jacquard-api/src/blue_skytalk.rs index cc904216..a1175cfa 100644 --- a/crates/jacquard-api/src/blue_skytalk.rs +++ b/crates/jacquard-api/src/blue_skytalk.rs @@ -3,4 +3,4 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. -pub mod talk; \ No newline at end of file +pub mod talk; diff --git a/crates/jacquard-api/src/blue_skytalk/talk.rs b/crates/jacquard-api/src/blue_skytalk/talk.rs index a50799fd..d4888fb1 100644 --- a/crates/jacquard-api/src/blue_skytalk/talk.rs +++ b/crates/jacquard-api/src/blue_skytalk/talk.rs @@ -4,4 +4,4 @@ // Any manual changes will be overwritten on the next regeneration. pub mod comment; -pub mod thread; \ No newline at end of file +pub mod thread; diff --git a/crates/jacquard-api/src/blue_skytalk/talk/comment.rs b/crates/jacquard-api/src/blue_skytalk/talk/comment.rs index 98e3b4e7..3dd6a442 100644 --- a/crates/jacquard-api/src/blue_skytalk/talk/comment.rs +++ b/crates/jacquard-api/src/blue_skytalk/talk/comment.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -27,7 +27,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// A post (response) in a thread #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -146,7 +146,7 @@ impl LexiconSchema for Comment { pub mod comment_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -205,7 +205,12 @@ pub mod comment_state { /// Builder for constructing an instance of this type. pub struct CommentBuilder { _state: PhantomData St>, - _fields: (Option>>, Option, Option, Option>), + _fields: ( + Option>>, + Option, + Option, + Option>, + ), _type: PhantomData S>, } @@ -265,10 +270,7 @@ where St::Text: comment_state::IsUnset, { /// Set the `text` field (required) - pub fn text( - mut self, - value: impl Into, - ) -> CommentBuilder> { + pub fn text(mut self, value: impl Into) -> CommentBuilder> { self._fields.2 = Option::Some(value.into()); CommentBuilder { _state: PhantomData, @@ -327,10 +329,10 @@ where } fn lexicon_doc_blue_skytalk_talk_comment() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("blue.skytalk.talk.comment"), @@ -339,30 +341,26 @@ fn lexicon_doc_blue_skytalk_talk_comment() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static("A post (response) in a thread"), - ), + description: Some(CowStr::new_static("A post (response) in a thread")), key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("threadUri"), - SmolStr::new_static("text"), - SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("threadUri"), + SmolStr::new_static("text"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("blobs"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static( - "Optional attached media (image or audio)", - ), - ), - items: LexArrayItem::Blob(LexBlob { ..Default::default() }), + description: Some(CowStr::new_static( + "Optional attached media (image or audio)", + )), + items: LexArrayItem::Blob(LexBlob { + ..Default::default() + }), max_length: Some(1usize), ..Default::default() }), @@ -370,9 +368,9 @@ fn lexicon_doc_blue_skytalk_talk_comment() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("createdAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Timestamp of post creation"), - ), + description: Some(CowStr::new_static( + "Timestamp of post creation", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -380,9 +378,9 @@ fn lexicon_doc_blue_skytalk_talk_comment() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("text"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The content of the post"), - ), + description: Some(CowStr::new_static( + "The content of the post", + )), max_length: Some(4000usize), max_graphemes: Some(40000usize), ..Default::default() @@ -391,11 +389,9 @@ fn lexicon_doc_blue_skytalk_talk_comment() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("threadUri"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "AT URI of the thread this post belongs to", - ), - ), + description: Some(CowStr::new_static( + "AT URI of the thread this post belongs to", + )), format: Some(LexStringFormat::AtUri), ..Default::default() }), @@ -411,4 +407,4 @@ fn lexicon_doc_blue_skytalk_talk_comment() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/blue_skytalk/talk/thread.rs b/crates/jacquard-api/src/blue_skytalk/talk/thread.rs index d62d0b87..e448bac7 100644 --- a/crates/jacquard-api/src/blue_skytalk/talk/thread.rs +++ b/crates/jacquard-api/src/blue_skytalk/talk/thread.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -27,7 +27,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// A thread in a channel #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -171,7 +171,7 @@ impl LexiconSchema for Thread { pub mod thread_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -328,10 +328,7 @@ where St::Title: thread_state::IsUnset, { /// Set the `title` field (required) - pub fn title( - mut self, - value: impl Into, - ) -> ThreadBuilder> { + pub fn title(mut self, value: impl Into) -> ThreadBuilder> { self._fields.4 = Option::Some(value.into()); ThreadBuilder { _state: PhantomData, @@ -373,10 +370,10 @@ where } fn lexicon_doc_blue_skytalk_talk_thread() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("blue.skytalk.talk.thread"), @@ -388,25 +385,23 @@ fn lexicon_doc_blue_skytalk_talk_thread() -> LexiconDoc<'static> { description: Some(CowStr::new_static("A thread in a channel")), key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("channelId"), - SmolStr::new_static("title"), - SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("channelId"), + SmolStr::new_static("title"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("blobs"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static( - "Optional attached media (image or audio)", - ), - ), - items: LexArrayItem::Blob(LexBlob { ..Default::default() }), + description: Some(CowStr::new_static( + "Optional attached media (image or audio)", + )), + items: LexArrayItem::Blob(LexBlob { + ..Default::default() + }), max_length: Some(1usize), ..Default::default() }), @@ -414,18 +409,18 @@ fn lexicon_doc_blue_skytalk_talk_thread() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("channelId"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The channel this thread belongs to"), - ), + description: Some(CowStr::new_static( + "The channel this thread belongs to", + )), ..Default::default() }), ); map.insert( SmolStr::new_static("createdAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Timestamp of thread creation"), - ), + description: Some(CowStr::new_static( + "Timestamp of thread creation", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -433,9 +428,9 @@ fn lexicon_doc_blue_skytalk_talk_thread() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("text"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The text content of the thread"), - ), + description: Some(CowStr::new_static( + "The text content of the thread", + )), max_length: Some(4000usize), max_graphemes: Some(40000usize), ..Default::default() @@ -444,9 +439,9 @@ fn lexicon_doc_blue_skytalk_talk_thread() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("title"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The title of the thread"), - ), + description: Some(CowStr::new_static( + "The title of the thread", + )), max_length: Some(300usize), max_graphemes: Some(3000usize), ..Default::default() @@ -463,4 +458,4 @@ fn lexicon_doc_blue_skytalk_talk_thread() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/blue_zio.rs b/crates/jacquard-api/src/blue_zio.rs index 9372537d..d8ec3390 100644 --- a/crates/jacquard-api/src/blue_zio.rs +++ b/crates/jacquard-api/src/blue_zio.rs @@ -3,4 +3,4 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. -pub mod atfile; \ No newline at end of file +pub mod atfile; diff --git a/crates/jacquard-api/src/blue_zio/atfile.rs b/crates/jacquard-api/src/blue_zio/atfile.rs index 53c01f05..b1aa667b 100644 --- a/crates/jacquard-api/src/blue_zio/atfile.rs +++ b/crates/jacquard-api/src/blue_zio/atfile.rs @@ -5,4 +5,4 @@ pub mod finger; pub mod lock; -pub mod meta; \ No newline at end of file +pub mod meta; diff --git a/crates/jacquard-api/src/blue_zio/atfile/finger.rs b/crates/jacquard-api/src/blue_zio/atfile/finger.rs index a2aee04d..eba76d2a 100644 --- a/crates/jacquard-api/src/blue_zio/atfile/finger.rs +++ b/crates/jacquard-api/src/blue_zio/atfile/finger.rs @@ -7,7 +7,7 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -19,11 +19,14 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// A fingerprint of a browser upload. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Browser { #[serde(skip_serializing_if = "Option::is_none")] pub id: Option, @@ -36,7 +39,10 @@ pub struct Browser { /// A fingerprint of a machine upload. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Machine { #[serde(skip_serializing_if = "Option::is_none")] pub app: Option, @@ -81,10 +87,10 @@ impl LexiconSchema for Machine { } fn lexicon_doc_blue_zio_atfile_finger() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("blue.zio.atfile.finger"), @@ -93,19 +99,21 @@ fn lexicon_doc_blue_zio_atfile_finger() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("browser"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("A fingerprint of a browser upload."), - ), + description: Some(CowStr::new_static("A fingerprint of a browser upload.")), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("id"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("userAgent"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map }, @@ -115,27 +123,33 @@ fn lexicon_doc_blue_zio_atfile_finger() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("machine"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("A fingerprint of a machine upload."), - ), + description: Some(CowStr::new_static("A fingerprint of a machine upload.")), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("app"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("host"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("id"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("os"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map }, @@ -146,4 +160,4 @@ fn lexicon_doc_blue_zio_atfile_finger() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/blue_zio/atfile/lock.rs b/crates/jacquard-api/src/blue_zio/atfile/lock.rs index c06ee408..a320df02 100644 --- a/crates/jacquard-api/src/blue_zio/atfile/lock.rs +++ b/crates/jacquard-api/src/blue_zio/atfile/lock.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// A reference to a locked file. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -104,7 +104,7 @@ impl LexiconSchema for Lock { pub mod lock_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -180,10 +180,10 @@ where } fn lexicon_doc_blue_zio_atfile_lock() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("blue.zio.atfile.lock"), @@ -192,9 +192,7 @@ fn lexicon_doc_blue_zio_atfile_lock() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static("A reference to a locked file."), - ), + description: Some(CowStr::new_static("A reference to a locked file.")), key: Some(CowStr::new_static("any")), record: LexRecordRecord::Object(LexObject { properties: { @@ -217,4 +215,4 @@ fn lexicon_doc_blue_zio_atfile_lock() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/blue_zio/atfile/meta.rs b/crates/jacquard-api/src/blue_zio/atfile/meta.rs index 48bfa416..e2f26a58 100644 --- a/crates/jacquard-api/src/blue_zio/atfile/meta.rs +++ b/crates/jacquard-api/src/blue_zio/atfile/meta.rs @@ -7,7 +7,7 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -19,11 +19,14 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// Unknown metadata for an uploaded file. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Unknown { #[serde(skip_serializing_if = "Option::is_none")] pub reason: Option, @@ -47,10 +50,10 @@ impl LexiconSchema for Unknown { } fn lexicon_doc_blue_zio_atfile_meta() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("blue.zio.atfile.meta"), @@ -59,15 +62,15 @@ fn lexicon_doc_blue_zio_atfile_meta() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("unknown"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("Unknown metadata for an uploaded file."), - ), + description: Some(CowStr::new_static("Unknown metadata for an uploaded file.")), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("reason"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map }, @@ -78,4 +81,4 @@ fn lexicon_doc_blue_zio_atfile_meta() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/bond_biblio.rs b/crates/jacquard-api/src/bond_biblio.rs index 2efa67c8..1a84aa1a 100644 --- a/crates/jacquard-api/src/bond_biblio.rs +++ b/crates/jacquard-api/src/bond_biblio.rs @@ -9,10 +9,9 @@ pub mod book; pub mod list; pub mod stamp; - #[allow(unused_imports)] use alloc::collections::BTreeMap; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,11 +23,14 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// A required book for a reading list, specified by title and authors for fuzzy matching #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct BookRequirement { ///Author name(s), tab-separated for multiple pub authors: S, @@ -101,10 +103,10 @@ impl LexiconSchema for BookRequirement { } fn lexicon_doc_bond_biblio_defs() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("bond.biblio.defs"), @@ -156,4 +158,4 @@ fn lexicon_doc_bond_biblio_defs() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/bond_biblio/book.rs b/crates/jacquard-api/src/bond_biblio/book.rs index 49ad967d..aa95568c 100644 --- a/crates/jacquard-api/src/bond_biblio/book.rs +++ b/crates/jacquard-api/src/bond_biblio/book.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// A book in the user's library #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -146,7 +146,7 @@ impl LexiconSchema for Book { pub mod book_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -205,7 +205,12 @@ pub mod book_state { /// Builder for constructing an instance of this type. pub struct BookBuilder { _state: PhantomData St>, - _fields: (Option, Option, Option>>, Option), + _fields: ( + Option, + Option, + Option>>, + Option, + ), _type: PhantomData S>, } @@ -233,10 +238,7 @@ where St::Authors: book_state::IsUnset, { /// Set the `authors` field (required) - pub fn authors( - mut self, - value: impl Into, - ) -> BookBuilder> { + pub fn authors(mut self, value: impl Into) -> BookBuilder> { self._fields.0 = Option::Some(value.into()); BookBuilder { _state: PhantomData, @@ -284,10 +286,7 @@ where St::Title: book_state::IsUnset, { /// Set the `title` field (required) - pub fn title( - mut self, - value: impl Into, - ) -> BookBuilder> { + pub fn title(mut self, value: impl Into) -> BookBuilder> { self._fields.3 = Option::Some(value.into()); BookBuilder { _state: PhantomData, @@ -327,10 +326,10 @@ where } fn lexicon_doc_bond_biblio_book() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("bond.biblio.book"), @@ -411,4 +410,4 @@ fn lexicon_doc_bond_biblio_book() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/bond_biblio/list.rs b/crates/jacquard-api/src/bond_biblio/list.rs index d2912284..476f0314 100644 --- a/crates/jacquard-api/src/bond_biblio/list.rs +++ b/crates/jacquard-api/src/bond_biblio/list.rs @@ -10,13 +10,13 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::collection::{Collection, RecordError}; -use jacquard_common::types::string::{Did, AtUri, Cid, Datetime}; +use jacquard_common::types::string::{AtUri, Cid, Datetime, Did}; use jacquard_common::types::uri::{RecordUri, UriError}; use jacquard_common::types::value::Data; use jacquard_common::xrpc::XrpcResp; @@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::bond_biblio::BookRequirement; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::bond_biblio::BookRequirement; +use serde::{Deserialize, Serialize}; /// A reading list curated by a librarian #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -162,7 +162,7 @@ impl LexiconSchema for List { pub mod list_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -379,10 +379,7 @@ where St::Title: list_state::IsUnset, { /// Set the `title` field (required) - pub fn title( - mut self, - value: impl Into, - ) -> ListBuilder> { + pub fn title(mut self, value: impl Into) -> ListBuilder> { self._fields.5 = Option::Some(value.into()); ListBuilder { _state: PhantomData, @@ -428,10 +425,10 @@ where } fn lexicon_doc_bond_biblio_list() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("bond.biblio.list"), @@ -440,31 +437,25 @@ fn lexicon_doc_bond_biblio_list() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static("A reading list curated by a librarian"), - ), + description: Some(CowStr::new_static("A reading list curated by a librarian")), key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("title"), - SmolStr::new_static("librarians"), - SmolStr::new_static("books"), - SmolStr::new_static("duedate"), - SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("title"), + SmolStr::new_static("librarians"), + SmolStr::new_static("books"), + SmolStr::new_static("duedate"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("books"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static( - "Required books for this reading challenge", - ), - ), + description: Some(CowStr::new_static( + "Required books for this reading challenge", + )), items: LexArrayItem::Ref(LexRef { r#ref: CowStr::new_static( "bond.biblio.defs#bookRequirement", @@ -477,9 +468,9 @@ fn lexicon_doc_bond_biblio_list() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("createdAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("When this list was created"), - ), + description: Some(CowStr::new_static( + "When this list was created", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -487,9 +478,9 @@ fn lexicon_doc_bond_biblio_list() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("description"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Description of the reading challenge"), - ), + description: Some(CowStr::new_static( + "Description of the reading challenge", + )), max_length: Some(2000usize), max_graphemes: Some(1000usize), ..Default::default() @@ -498,11 +489,9 @@ fn lexicon_doc_bond_biblio_list() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("duedate"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Deadline for completing the reading challenge", - ), - ), + description: Some(CowStr::new_static( + "Deadline for completing the reading challenge", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -510,11 +499,9 @@ fn lexicon_doc_bond_biblio_list() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("librarians"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static( - "DIDs of users who can issue stamps for this list", - ), - ), + description: Some(CowStr::new_static( + "DIDs of users who can issue stamps for this list", + )), items: LexArrayItem::String(LexString { format: Some(LexStringFormat::Did), ..Default::default() @@ -525,9 +512,9 @@ fn lexicon_doc_bond_biblio_list() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("title"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Display name for the reading list"), - ), + description: Some(CowStr::new_static( + "Display name for the reading list", + )), max_length: Some(200usize), max_graphemes: Some(100usize), ..Default::default() @@ -544,4 +531,4 @@ fn lexicon_doc_bond_biblio_list() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/bond_biblio/stamp.rs b/crates/jacquard-api/src/bond_biblio/stamp.rs index 045745db..57fd204e 100644 --- a/crates/jacquard-api/src/bond_biblio/stamp.rs +++ b/crates/jacquard-api/src/bond_biblio/stamp.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// A completion attestation issued by a librarian #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -108,7 +108,7 @@ impl LexiconSchema for Stamp { pub mod stamp_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -195,10 +195,7 @@ where St::Book: stamp_state::IsUnset, { /// Set the `book` field (required) - pub fn book( - mut self, - value: impl Into>, - ) -> StampBuilder> { + pub fn book(mut self, value: impl Into>) -> StampBuilder> { self._fields.0 = Option::Some(value.into()); StampBuilder { _state: PhantomData, @@ -233,10 +230,7 @@ where St::List: stamp_state::IsUnset, { /// Set the `list` field (required) - pub fn list( - mut self, - value: impl Into>, - ) -> StampBuilder> { + pub fn list(mut self, value: impl Into>) -> StampBuilder> { self._fields.2 = Option::Some(value.into()); StampBuilder { _state: PhantomData, @@ -274,10 +268,10 @@ where } fn lexicon_doc_bond_biblio_stamp() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("bond.biblio.stamp"), @@ -347,4 +341,4 @@ fn lexicon_doc_bond_biblio_stamp() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/builder_types.rs b/crates/jacquard-api/src/builder_types.rs index cd45c2e4..dea82dc8 100644 --- a/crates/jacquard-api/src/builder_types.rs +++ b/crates/jacquard-api/src/builder_types.rs @@ -42,4 +42,4 @@ mod private { pub trait Sealed {} impl Sealed for super::Set {} impl Sealed for super::Unset {} -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/buzz_bookhive.rs b/crates/jacquard-api/src/buzz_bookhive.rs index c760db70..125aaee2 100644 --- a/crates/jacquard-api/src/buzz_bookhive.rs +++ b/crates/jacquard-api/src/buzz_bookhive.rs @@ -14,13 +14,12 @@ pub mod hive_book; pub mod list_genres; pub mod search_books; - #[allow(unused_imports)] use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -31,11 +30,11 @@ use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::buzz_bookhive; +use crate::com_atproto::repo::strong_ref::StrongRef; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::com_atproto::repo::strong_ref::StrongRef; -use crate::buzz_bookhive; +use serde::{Deserialize, Serialize}; /// User has abandoned the book #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Hash)] @@ -46,9 +45,11 @@ impl core::fmt::Display for Abandoned { } } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Activity { pub created_at: Datetime, ///The hive id of the book @@ -64,7 +65,6 @@ pub struct Activity { pub extra_data: Option>>, } - #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum ActivityType { Review, @@ -153,7 +153,10 @@ where /// External identifiers for a book #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct BookIdentifiers { ///Goodreads book ID #[serde(skip_serializing_if = "Option::is_none")] @@ -174,7 +177,10 @@ pub struct BookIdentifiers { /// Reading progress tracking data #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct BookProgress { ///Current chapter the user is on #[serde(skip_serializing_if = "Option::is_none")] @@ -197,9 +203,11 @@ pub struct BookProgress { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Comment { pub book: StrongRef, ///The content of the comment. @@ -235,9 +243,11 @@ impl core::fmt::Display for Owned { } } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Profile { #[serde(skip_serializing_if = "Option::is_none")] pub avatar: Option, @@ -264,9 +274,11 @@ impl core::fmt::Display for Reading { } } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Review { ///The date the review was created pub created_at: Datetime, @@ -283,9 +295,11 @@ pub struct Review { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct UserBook { ///The authors of the book (tab separated) pub authors: S, @@ -331,7 +345,6 @@ pub struct UserBook { pub extra_data: Option>>, } - #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum UserBookStatus { Finished, @@ -738,7 +751,7 @@ impl LexiconSchema for UserBook { pub mod activity_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -1031,10 +1044,10 @@ where } fn lexicon_doc_buzz_bookhive_defs() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("buzz.bookhive.defs"), @@ -1042,20 +1055,21 @@ fn lexicon_doc_buzz_bookhive_defs() -> LexiconDoc<'static> { let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("abandoned"), - LexUserType::Token(LexToken { ..Default::default() }), + LexUserType::Token(LexToken { + ..Default::default() + }), ); map.insert( SmolStr::new_static("activity"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("type"), - SmolStr::new_static("createdAt"), - SmolStr::new_static("hiveId"), SmolStr::new_static("title"), - SmolStr::new_static("userDid"), - SmolStr::new_static("userHandle") - ], - ), + required: Some(vec![ + SmolStr::new_static("type"), + SmolStr::new_static("createdAt"), + SmolStr::new_static("hiveId"), + SmolStr::new_static("title"), + SmolStr::new_static("userDid"), + SmolStr::new_static("userHandle"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -1069,42 +1083,38 @@ fn lexicon_doc_buzz_bookhive_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("hiveId"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The hive id of the book"), - ), + description: Some(CowStr::new_static("The hive id of the book")), ..Default::default() }), ); map.insert( SmolStr::new_static("title"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The title of the book"), - ), + description: Some(CowStr::new_static("The title of the book")), ..Default::default() }), ); map.insert( SmolStr::new_static("type"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("userDid"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The DID of the user who added the book"), - ), + description: Some(CowStr::new_static( + "The DID of the user who added the book", + )), ..Default::default() }), ); map.insert( SmolStr::new_static("userHandle"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "The handle of the user who added the book", - ), - ), + description: Some(CowStr::new_static( + "The handle of the user who added the book", + )), ..Default::default() }), ); @@ -1116,9 +1126,7 @@ fn lexicon_doc_buzz_bookhive_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("bookIdentifiers"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("External identifiers for a book"), - ), + description: Some(CowStr::new_static("External identifiers for a book")), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -1132,9 +1140,7 @@ fn lexicon_doc_buzz_bookhive_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("hiveId"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("BookHive's internal ID"), - ), + description: Some(CowStr::new_static("BookHive's internal ID")), ..Default::default() }), ); @@ -1160,9 +1166,7 @@ fn lexicon_doc_buzz_bookhive_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("bookProgress"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("Reading progress tracking data"), - ), + description: Some(CowStr::new_static("Reading progress tracking data")), required: Some(vec![SmolStr::new_static("updatedAt")]), properties: { #[allow(unused_mut)] @@ -1206,9 +1210,9 @@ fn lexicon_doc_buzz_bookhive_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("updatedAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("When the progress was last updated"), - ), + description: Some(CowStr::new_static( + "When the progress was last updated", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -1298,29 +1302,33 @@ fn lexicon_doc_buzz_bookhive_defs() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("finished"), - LexUserType::Token(LexToken { ..Default::default() }), + LexUserType::Token(LexToken { + ..Default::default() + }), ); map.insert( SmolStr::new_static("owned"), - LexUserType::Token(LexToken { ..Default::default() }), + LexUserType::Token(LexToken { + ..Default::default() + }), ); map.insert( SmolStr::new_static("profile"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("displayName"), - SmolStr::new_static("handle"), - SmolStr::new_static("booksRead"), - SmolStr::new_static("reviews") - ], - ), + required: Some(vec![ + SmolStr::new_static("displayName"), + SmolStr::new_static("handle"), + SmolStr::new_static("booksRead"), + SmolStr::new_static("reviews"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("avatar"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("booksRead"), @@ -1331,15 +1339,21 @@ fn lexicon_doc_buzz_bookhive_defs() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("description"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("displayName"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("handle"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("isFollowing"), @@ -1361,27 +1375,28 @@ fn lexicon_doc_buzz_bookhive_defs() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("reading"), - LexUserType::Token(LexToken { ..Default::default() }), + LexUserType::Token(LexToken { + ..Default::default() + }), ); map.insert( SmolStr::new_static("review"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("review"), - SmolStr::new_static("createdAt"), SmolStr::new_static("did"), - SmolStr::new_static("handle") - ], - ), + required: Some(vec![ + SmolStr::new_static("review"), + SmolStr::new_static("createdAt"), + SmolStr::new_static("did"), + SmolStr::new_static("handle"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("createdAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The date the review was created"), - ), + description: Some(CowStr::new_static( + "The date the review was created", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -1389,22 +1404,18 @@ fn lexicon_doc_buzz_bookhive_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("did"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "The DID of the user who made the review", - ), - ), + description: Some(CowStr::new_static( + "The DID of the user who made the review", + )), ..Default::default() }), ); map.insert( SmolStr::new_static("handle"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "The handle of the user who made the review", - ), - ), + description: Some(CowStr::new_static( + "The handle of the user who made the review", + )), ..Default::default() }), ); @@ -1599,7 +1610,9 @@ fn lexicon_doc_buzz_bookhive_defs() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("wantToRead"), - LexUserType::Token(LexToken { ..Default::default() }), + LexUserType::Token(LexToken { + ..Default::default() + }), ); map }, @@ -1609,7 +1622,7 @@ fn lexicon_doc_buzz_bookhive_defs() -> LexiconDoc<'static> { pub mod book_progress_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -1773,10 +1786,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> BookProgress { + pub fn build_with_data(self, extra_data: BTreeMap>) -> BookProgress { BookProgress { current_chapter: self._fields.0, current_page: self._fields.1, @@ -1791,7 +1801,7 @@ where pub mod comment_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -1996,10 +2006,7 @@ where St::Did: comment_state::IsUnset, { /// Set the `did` field (required) - pub fn did( - mut self, - value: impl Into, - ) -> CommentBuilder> { + pub fn did(mut self, value: impl Into) -> CommentBuilder> { self._fields.3 = Option::Some(value.into()); CommentBuilder { _state: PhantomData, @@ -2085,7 +2092,7 @@ where pub mod profile_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -2343,7 +2350,7 @@ where pub mod review_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -2418,7 +2425,13 @@ pub mod review_state { /// Builder for constructing an instance of this type. pub struct ReviewBuilder { _state: PhantomData St>, - _fields: (Option, Option, Option, Option, Option), + _fields: ( + Option, + Option, + Option, + Option, + Option, + ), _type: PhantomData S>, } @@ -2465,10 +2478,7 @@ where St::Did: review_state::IsUnset, { /// Set the `did` field (required) - pub fn did( - mut self, - value: impl Into, - ) -> ReviewBuilder> { + pub fn did(mut self, value: impl Into) -> ReviewBuilder> { self._fields.1 = Option::Some(value.into()); ReviewBuilder { _state: PhantomData, @@ -2484,10 +2494,7 @@ where St::Handle: review_state::IsUnset, { /// Set the `handle` field (required) - pub fn handle( - mut self, - value: impl Into, - ) -> ReviewBuilder> { + pub fn handle(mut self, value: impl Into) -> ReviewBuilder> { self._fields.2 = Option::Some(value.into()); ReviewBuilder { _state: PhantomData, @@ -2503,10 +2510,7 @@ where St::Review: review_state::IsUnset, { /// Set the `review` field (required) - pub fn review( - mut self, - value: impl Into, - ) -> ReviewBuilder> { + pub fn review(mut self, value: impl Into) -> ReviewBuilder> { self._fields.3 = Option::Some(value.into()); ReviewBuilder { _state: PhantomData, @@ -2563,7 +2567,7 @@ where pub mod user_book_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -2710,22 +2714,8 @@ impl UserBookBuilder { UserBookBuilder { _state: PhantomData, _fields: ( - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, ), _type: PhantomData, } @@ -2761,10 +2751,7 @@ impl UserBookBuilder { self } /// Set the `bookProgress` field to an Option value (optional) - pub fn maybe_book_progress( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_book_progress(mut self, value: Option>) -> Self { self._fields.1 = value; self } @@ -3036,4 +3023,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/buzz_bookhive/book.rs b/crates/jacquard-api/src/buzz_bookhive/book.rs index 9424212b..eb3a94b0 100644 --- a/crates/jacquard-api/src/buzz_bookhive/book.rs +++ b/crates/jacquard-api/src/buzz_bookhive/book.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -25,10 +25,10 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::buzz_bookhive::BookProgress; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::buzz_bookhive::BookProgress; +use serde::{Deserialize, Serialize}; /// A book in the user's library #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -70,7 +70,6 @@ pub struct Book { pub extra_data: Option>>, } - #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum BookStatus { Finished, @@ -253,25 +252,20 @@ impl LexiconSchema for Book { { let mime = value.blob().mime_type.as_str(); let accepted: &[&str] = &["image/png", "image/jpeg"]; - let matched = accepted - .iter() - .any(|pattern| { - if *pattern == "*/*" { - true - } else if pattern.ends_with("/*") { - let prefix = &pattern[..pattern.len() - 2]; - mime.starts_with(prefix) - && mime.as_bytes().get(prefix.len()) == Some(&b'/') - } else { - mime == *pattern - } - }); + let matched = accepted.iter().any(|pattern| { + if *pattern == "*/*" { + true + } else if pattern.ends_with("/*") { + let prefix = &pattern[..pattern.len() - 2]; + mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/') + } else { + mime == *pattern + } + }); if !matched { return Err(ConstraintError::BlobMimeTypeNotAccepted { path: ValidationPath::from_field("cover"), - accepted: vec![ - "image/png".to_string(), "image/jpeg".to_string() - ], + accepted: vec!["image/png".to_string(), "image/jpeg".to_string()], actual: mime.to_string(), }); } @@ -335,7 +329,7 @@ impl LexiconSchema for Book { pub mod book_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -438,7 +432,9 @@ impl BookBuilder { pub fn new() -> Self { BookBuilder { _state: PhantomData, - _fields: (None, None, None, None, None, None, None, None, None, None, None), + _fields: ( + None, None, None, None, None, None, None, None, None, None, None, + ), _type: PhantomData, } } @@ -450,10 +446,7 @@ where St::Authors: book_state::IsUnset, { /// Set the `authors` field (required) - pub fn authors( - mut self, - value: impl Into, - ) -> BookBuilder> { + pub fn authors(mut self, value: impl Into) -> BookBuilder> { self._fields.0 = Option::Some(value.into()); BookBuilder { _state: PhantomData, @@ -527,10 +520,7 @@ where St::HiveId: book_state::IsUnset, { /// Set the `hiveId` field (required) - pub fn hive_id( - mut self, - value: impl Into, - ) -> BookBuilder> { + pub fn hive_id(mut self, value: impl Into) -> BookBuilder> { self._fields.5 = Option::Some(value.into()); BookBuilder { _state: PhantomData, @@ -598,10 +588,7 @@ where St::Title: book_state::IsUnset, { /// Set the `title` field (required) - pub fn title( - mut self, - value: impl Into, - ) -> BookBuilder> { + pub fn title(mut self, value: impl Into) -> BookBuilder> { self._fields.10 = Option::Some(value.into()); BookBuilder { _state: PhantomData, @@ -656,10 +643,10 @@ where } fn lexicon_doc_buzz_bookhive_book() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("buzz.bookhive.book"), @@ -796,4 +783,4 @@ fn lexicon_doc_buzz_bookhive_book() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/buzz_bookhive/buzz.rs b/crates/jacquard-api/src/buzz_bookhive/buzz.rs index a64eb6a7..2f91fdd7 100644 --- a/crates/jacquard-api/src/buzz_bookhive/buzz.rs +++ b/crates/jacquard-api/src/buzz_bookhive/buzz.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::com_atproto::repo::strong_ref::StrongRef; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::com_atproto::repo::strong_ref::StrongRef; +use serde::{Deserialize, Serialize}; /// Record containing a Bookhive comment. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -133,7 +133,7 @@ impl LexiconSchema for Buzz { pub mod buzz_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -208,7 +208,12 @@ pub mod buzz_state { /// Builder for constructing an instance of this type. pub struct BuzzBuilder { _state: PhantomData St>, - _fields: (Option>, Option, Option, Option>), + _fields: ( + Option>, + Option, + Option, + Option>, + ), _type: PhantomData S>, } @@ -255,10 +260,7 @@ where St::Comment: buzz_state::IsUnset, { /// Set the `comment` field (required) - pub fn comment( - mut self, - value: impl Into, - ) -> BuzzBuilder> { + pub fn comment(mut self, value: impl Into) -> BuzzBuilder> { self._fields.1 = Option::Some(value.into()); BuzzBuilder { _state: PhantomData, @@ -337,10 +339,10 @@ where } fn lexicon_doc_buzz_bookhive_buzz() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("buzz.bookhive.buzz"), @@ -412,4 +414,4 @@ fn lexicon_doc_buzz_bookhive_buzz() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/buzz_bookhive/get_book.rs b/crates/jacquard-api/src/buzz_bookhive/get_book.rs index 17ddee15..cacc557e 100644 --- a/crates/jacquard-api/src/buzz_bookhive/get_book.rs +++ b/crates/jacquard-api/src/buzz_bookhive/get_book.rs @@ -8,23 +8,26 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::buzz_bookhive::Activity; +use crate::buzz_bookhive::BookProgress; +use crate::buzz_bookhive::Comment; +use crate::buzz_bookhive::Review; +use crate::buzz_bookhive::hive_book::HiveBook; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::blob::BlobRef; use jacquard_common::types::string::Datetime; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::buzz_bookhive::Activity; -use crate::buzz_bookhive::BookProgress; -use crate::buzz_bookhive::Comment; -use crate::buzz_bookhive::Review; -use crate::buzz_bookhive::hive_book::HiveBook; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetBook { #[serde(skip_serializing_if = "Option::is_none")] pub goodreads_id: Option, @@ -36,9 +39,11 @@ pub struct GetBook { pub isbn13: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetBookOutput { ///Other users' activity on the book #[serde(skip_serializing_if = "Option::is_none")] @@ -75,7 +80,6 @@ pub struct GetBookOutput { pub extra_data: Option>>, } - #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum GetBookOutputStatus { Finished, @@ -191,7 +195,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetBookRequest { pub mod get_book_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -298,4 +302,4 @@ where isbn13: self._fields.3, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/buzz_bookhive/get_book_identifiers.rs b/crates/jacquard-api/src/buzz_bookhive/get_book_identifiers.rs index 4c238777..489c1970 100644 --- a/crates/jacquard-api/src/buzz_bookhive/get_book_identifiers.rs +++ b/crates/jacquard-api/src/buzz_bookhive/get_book_identifiers.rs @@ -8,17 +8,20 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::buzz_bookhive::BookIdentifiers; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::buzz_bookhive::BookIdentifiers; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetBookIdentifiers { #[serde(skip_serializing_if = "Option::is_none")] pub goodreads_id: Option, @@ -30,9 +33,11 @@ pub struct GetBookIdentifiers { pub isbn13: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetBookIdentifiersOutput { pub book_identifiers: BookIdentifiers, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -65,7 +70,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetBookIdentifiersRequest { pub mod get_book_identifiers_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -172,4 +177,4 @@ where isbn13: self._fields.3, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/buzz_bookhive/get_profile.rs b/crates/jacquard-api/src/buzz_bookhive/get_profile.rs index 8cb9fb38..85643fd5 100644 --- a/crates/jacquard-api/src/buzz_bookhive/get_profile.rs +++ b/crates/jacquard-api/src/buzz_bookhive/get_profile.rs @@ -8,19 +8,22 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::buzz_bookhive::Activity; +use crate::buzz_bookhive::Profile; +use crate::buzz_bookhive::UserBook; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::buzz_bookhive::Activity; -use crate::buzz_bookhive::Profile; -use crate::buzz_bookhive::UserBook; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetProfile { #[serde(skip_serializing_if = "Option::is_none")] pub did: Option, @@ -28,9 +31,11 @@ pub struct GetProfile { pub handle: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetProfileOutput { ///The user's activity pub activity: Vec>, @@ -70,7 +75,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetProfileRequest { pub mod get_profile_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -149,4 +154,4 @@ where handle: self._fields.1, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/buzz_bookhive/hive_book.rs b/crates/jacquard-api/src/buzz_bookhive/hive_book.rs index 760a1a7b..83a38d04 100644 --- a/crates/jacquard-api/src/buzz_bookhive/hive_book.rs +++ b/crates/jacquard-api/src/buzz_bookhive/hive_book.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::buzz_bookhive::BookIdentifiers; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::buzz_bookhive::BookIdentifiers; +use serde::{Deserialize, Serialize}; /// A book within the hive #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -209,7 +209,7 @@ impl LexiconSchema for HiveBook { pub mod hive_book_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -354,20 +354,7 @@ impl HiveBookBuilder { HiveBookBuilder { _state: PhantomData, _fields: ( - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, ), _type: PhantomData, } @@ -444,10 +431,7 @@ where St::Id: hive_book_state::IsUnset, { /// Set the `id` field (required) - pub fn id( - mut self, - value: impl Into, - ) -> HiveBookBuilder> { + pub fn id(mut self, value: impl Into) -> HiveBookBuilder> { self._fields.4 = Option::Some(value.into()); HiveBookBuilder { _state: PhantomData, @@ -645,10 +629,10 @@ where } fn lexicon_doc_buzz_bookhive_hiveBook() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("buzz.bookhive.hiveBook"), @@ -812,4 +796,4 @@ fn lexicon_doc_buzz_bookhive_hiveBook() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/buzz_bookhive/list_genres.rs b/crates/jacquard-api/src/buzz_bookhive/list_genres.rs index feef4f3f..cc172649 100644 --- a/crates/jacquard-api/src/buzz_bookhive/list_genres.rs +++ b/crates/jacquard-api/src/buzz_bookhive/list_genres.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -20,13 +20,16 @@ use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::buzz_bookhive::list_genres; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::buzz_bookhive::list_genres; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GenreWithCount { ///Number of books in this genre pub count: i64, @@ -36,7 +39,6 @@ pub struct GenreWithCount { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(rename_all = "camelCase")] pub struct ListGenres { @@ -52,9 +54,11 @@ pub struct ListGenres { pub offset: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ListGenresOutput { pub genres: Vec>, ///Next offset for pagination @@ -105,7 +109,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for ListGenresRequest { pub mod genre_with_count_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -225,10 +229,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> GenreWithCount { + pub fn build_with_data(self, extra_data: BTreeMap>) -> GenreWithCount { GenreWithCount { count: self._fields.0.unwrap(), genre: self._fields.1.unwrap(), @@ -238,10 +239,10 @@ where } fn lexicon_doc_buzz_bookhive_listGenres() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("buzz.bookhive.listGenres"), @@ -250,9 +251,10 @@ fn lexicon_doc_buzz_bookhive_listGenres() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("genreWithCount"), LexUserType::Object(LexObject { - required: Some( - vec![SmolStr::new_static("genre"), SmolStr::new_static("count")], - ), + required: Some(vec![ + SmolStr::new_static("genre"), + SmolStr::new_static("count"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -277,34 +279,32 @@ fn lexicon_doc_buzz_bookhive_listGenres() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::XrpcQuery(LexXrpcQuery { - parameters: Some( - LexXrpcQueryParameter::Params(LexXrpcParameters { - properties: { - #[allow(unused_mut)] - let mut map = BTreeMap::new(); - map.insert( - SmolStr::new_static("limit"), - LexXrpcParametersProperty::Integer(LexInteger { - ..Default::default() - }), - ); - map.insert( - SmolStr::new_static("minBooks"), - LexXrpcParametersProperty::Integer(LexInteger { - ..Default::default() - }), - ); - map.insert( - SmolStr::new_static("offset"), - LexXrpcParametersProperty::Integer(LexInteger { - ..Default::default() - }), - ); - map - }, - ..Default::default() - }), - ), + parameters: Some(LexXrpcQueryParameter::Params(LexXrpcParameters { + properties: { + #[allow(unused_mut)] + let mut map = BTreeMap::new(); + map.insert( + SmolStr::new_static("limit"), + LexXrpcParametersProperty::Integer(LexInteger { + ..Default::default() + }), + ); + map.insert( + SmolStr::new_static("minBooks"), + LexXrpcParametersProperty::Integer(LexInteger { + ..Default::default() + }), + ); + map.insert( + SmolStr::new_static("offset"), + LexXrpcParametersProperty::Integer(LexInteger { + ..Default::default() + }), + ); + map + }, + ..Default::default() + })), ..Default::default() }), ); @@ -324,7 +324,7 @@ fn _default_min_books() -> Option { pub mod list_genres_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -415,4 +415,4 @@ where offset: self._fields.2, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/buzz_bookhive/search_books.rs b/crates/jacquard-api/src/buzz_bookhive/search_books.rs index 2a852b2b..c065cc1b 100644 --- a/crates/jacquard-api/src/buzz_bookhive/search_books.rs +++ b/crates/jacquard-api/src/buzz_bookhive/search_books.rs @@ -8,17 +8,20 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::buzz_bookhive::hive_book::HiveBook; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::buzz_bookhive::hive_book::HiveBook; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct SearchBooks { #[serde(skip_serializing_if = "Option::is_none")] pub genre: Option, @@ -34,9 +37,11 @@ pub struct SearchBooks { pub q: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct SearchBooksOutput { pub books: Vec>, ///The next offset to use for pagination (result of limit + offset) @@ -76,7 +81,7 @@ fn _default_limit() -> Option { pub mod search_books_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -197,4 +202,4 @@ where q: self._fields.4, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/ca_jmaingot.rs b/crates/jacquard-api/src/ca_jmaingot.rs index f19294d0..182e3374 100644 --- a/crates/jacquard-api/src/ca_jmaingot.rs +++ b/crates/jacquard-api/src/ca_jmaingot.rs @@ -3,4 +3,4 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. -pub mod board_game_play; \ No newline at end of file +pub mod board_game_play; diff --git a/crates/jacquard-api/src/ca_jmaingot/board_game_play.rs b/crates/jacquard-api/src/ca_jmaingot/board_game_play.rs index f5f90455..1c71648f 100644 --- a/crates/jacquard-api/src/ca_jmaingot/board_game_play.rs +++ b/crates/jacquard-api/src/ca_jmaingot/board_game_play.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// A single board game play #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -107,7 +107,7 @@ impl LexiconSchema for BoardGamePlay { pub mod board_game_play_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -262,10 +262,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> BoardGamePlay { + pub fn build_with_data(self, extra_data: BTreeMap>) -> BoardGamePlay { BoardGamePlay { bgg_id: self._fields.0.unwrap(), name: self._fields.1.unwrap(), @@ -276,10 +273,10 @@ where } fn lexicon_doc_ca_jmaingot_boardGamePlay() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("ca.jmaingot.boardGamePlay"), @@ -338,4 +335,4 @@ fn lexicon_doc_ca_jmaingot_boardGamePlay() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/cat_vt3e.rs b/crates/jacquard-api/src/cat_vt3e.rs index f19b93e0..d91bc30d 100644 --- a/crates/jacquard-api/src/cat_vt3e.rs +++ b/crates/jacquard-api/src/cat_vt3e.rs @@ -3,4 +3,4 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. -pub mod gallery; \ No newline at end of file +pub mod gallery; diff --git a/crates/jacquard-api/src/cat_vt3e/gallery.rs b/crates/jacquard-api/src/cat_vt3e/gallery.rs index 8357272a..afbc1d1c 100644 --- a/crates/jacquard-api/src/cat_vt3e/gallery.rs +++ b/crates/jacquard-api/src/cat_vt3e/gallery.rs @@ -5,4 +5,4 @@ pub mod group; pub mod group_item; -pub mod image; \ No newline at end of file +pub mod image; diff --git a/crates/jacquard-api/src/cat_vt3e/gallery/group.rs b/crates/jacquard-api/src/cat_vt3e/gallery/group.rs index d10257c3..c5be7666 100644 --- a/crates/jacquard-api/src/cat_vt3e/gallery/group.rs +++ b/crates/jacquard-api/src/cat_vt3e/gallery/group.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// defines a group of images in the gallery #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -127,7 +127,7 @@ impl LexiconSchema for Group { pub mod group_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -253,10 +253,10 @@ where } fn lexicon_doc_cat_vt3e_gallery_group() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("cat.vt3e.gallery.group"), @@ -265,9 +265,9 @@ fn lexicon_doc_cat_vt3e_gallery_group() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static("defines a group of images in the gallery"), - ), + description: Some(CowStr::new_static( + "defines a group of images in the gallery", + )), key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { required: Some(vec![SmolStr::new_static("createdAt")]), @@ -306,4 +306,4 @@ fn lexicon_doc_cat_vt3e_gallery_group() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/cat_vt3e/gallery/group_item.rs b/crates/jacquard-api/src/cat_vt3e/gallery/group_item.rs index 73b68a56..cce87efc 100644 --- a/crates/jacquard-api/src/cat_vt3e/gallery/group_item.rs +++ b/crates/jacquard-api/src/cat_vt3e/gallery/group_item.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// defines an item in a gallery group #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -109,7 +109,7 @@ impl LexiconSchema for GroupItem { pub mod group_item_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -168,7 +168,12 @@ pub mod group_item_state { /// Builder for constructing an instance of this type. pub struct GroupItemBuilder { _state: PhantomData St>, - _fields: (Option, Option>, Option>, Option), + _fields: ( + Option, + Option>, + Option>, + Option, + ), _type: PhantomData S>, } @@ -278,10 +283,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> GroupItem { + pub fn build_with_data(self, extra_data: BTreeMap>) -> GroupItem { GroupItem { added_at: self._fields.0.unwrap(), group: self._fields.1.unwrap(), @@ -293,10 +295,10 @@ where } fn lexicon_doc_cat_vt3e_gallery_groupItem() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("cat.vt3e.gallery.groupItem"), @@ -305,17 +307,14 @@ fn lexicon_doc_cat_vt3e_gallery_groupItem() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static("defines an item in a gallery group"), - ), + description: Some(CowStr::new_static("defines an item in a gallery group")), key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("group"), SmolStr::new_static("image"), - SmolStr::new_static("addedAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("group"), + SmolStr::new_static("image"), + SmolStr::new_static("addedAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -329,11 +328,9 @@ fn lexicon_doc_cat_vt3e_gallery_groupItem() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("group"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "uri of the group that the image belongs to", - ), - ), + description: Some(CowStr::new_static( + "uri of the group that the image belongs to", + )), format: Some(LexStringFormat::AtUri), ..Default::default() }), @@ -341,11 +338,9 @@ fn lexicon_doc_cat_vt3e_gallery_groupItem() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("image"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "uri of the image that this item represents", - ), - ), + description: Some(CowStr::new_static( + "uri of the image that this item represents", + )), format: Some(LexStringFormat::AtUri), ..Default::default() }), @@ -367,4 +362,4 @@ fn lexicon_doc_cat_vt3e_gallery_groupItem() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/cat_vt3e/gallery/image.rs b/crates/jacquard-api/src/cat_vt3e/gallery/image.rs index 4d14ac77..aa60eaa6 100644 --- a/crates/jacquard-api/src/cat_vt3e/gallery/image.rs +++ b/crates/jacquard-api/src/cat_vt3e/gallery/image.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -27,7 +27,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// defines an image in the gallery #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -158,19 +158,16 @@ impl LexiconSchema for Image { { let mime = value.blob().mime_type.as_str(); let accepted: &[&str] = &["image/*"]; - let matched = accepted - .iter() - .any(|pattern| { - if *pattern == "*/*" { - true - } else if pattern.ends_with("/*") { - let prefix = &pattern[..pattern.len() - 2]; - mime.starts_with(prefix) - && mime.as_bytes().get(prefix.len()) == Some(&b'/') - } else { - mime == *pattern - } - }); + let matched = accepted.iter().any(|pattern| { + if *pattern == "*/*" { + true + } else if pattern.ends_with("/*") { + let prefix = &pattern[..pattern.len() - 2]; + mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/') + } else { + mime == *pattern + } + }); if !matched { return Err(ConstraintError::BlobMimeTypeNotAccepted { path: ValidationPath::from_field("image"), @@ -196,7 +193,7 @@ impl LexiconSchema for Image { pub mod image_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -271,18 +268,7 @@ impl ImageBuilder { ImageBuilder { _state: PhantomData, _fields: ( - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, + None, None, None, None, None, None, None, None, None, None, None, None, ), _type: PhantomData, } @@ -502,10 +488,10 @@ where } fn lexicon_doc_cat_vt3e_gallery_image() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("cat.vt3e.gallery.image"), @@ -618,4 +604,4 @@ fn lexicon_doc_cat_vt3e_gallery_image() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/ch_indiemusi.rs b/crates/jacquard-api/src/ch_indiemusi.rs index f891799e..aa4f8cde 100644 --- a/crates/jacquard-api/src/ch_indiemusi.rs +++ b/crates/jacquard-api/src/ch_indiemusi.rs @@ -4,4 +4,4 @@ // Any manual changes will be overwritten on the next regeneration. pub mod alpha; -pub mod social; \ No newline at end of file +pub mod social; diff --git a/crates/jacquard-api/src/ch_indiemusi/alpha.rs b/crates/jacquard-api/src/ch_indiemusi/alpha.rs index 5db9cec9..6b15c911 100644 --- a/crates/jacquard-api/src/ch_indiemusi/alpha.rs +++ b/crates/jacquard-api/src/ch_indiemusi/alpha.rs @@ -8,4 +8,4 @@ pub mod grant; pub mod recording; pub mod release; pub mod song; -pub mod track; \ No newline at end of file +pub mod track; diff --git a/crates/jacquard-api/src/ch_indiemusi/alpha/actor.rs b/crates/jacquard-api/src/ch_indiemusi/alpha/actor.rs index 51bf62a1..8deb3638 100644 --- a/crates/jacquard-api/src/ch_indiemusi/alpha/actor.rs +++ b/crates/jacquard-api/src/ch_indiemusi/alpha/actor.rs @@ -5,4 +5,4 @@ pub mod artist; pub mod master_owner; -pub mod publishing_owner; \ No newline at end of file +pub mod publishing_owner; diff --git a/crates/jacquard-api/src/ch_indiemusi/alpha/actor/artist.rs b/crates/jacquard-api/src/ch_indiemusi/alpha/actor/artist.rs index b9c20241..270a7693 100644 --- a/crates/jacquard-api/src/ch_indiemusi/alpha/actor/artist.rs +++ b/crates/jacquard-api/src/ch_indiemusi/alpha/actor/artist.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// An artist or band who performs music #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -114,7 +114,7 @@ impl LexiconSchema for Artist { pub mod artist_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -190,10 +190,10 @@ where } fn lexicon_doc_ch_indiemusi_alpha_actor_artist() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("ch.indiemusi.alpha.actor.artist"), @@ -202,9 +202,7 @@ fn lexicon_doc_ch_indiemusi_alpha_actor_artist() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static("An artist or band who performs music"), - ), + description: Some(CowStr::new_static("An artist or band who performs music")), key: Some(CowStr::new_static("literal:self")), record: LexRecordRecord::Object(LexObject { properties: { @@ -228,4 +226,4 @@ fn lexicon_doc_ch_indiemusi_alpha_actor_artist() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/ch_indiemusi/alpha/actor/master_owner.rs b/crates/jacquard-api/src/ch_indiemusi/alpha/actor/master_owner.rs index 07803b86..8a7d560b 100644 --- a/crates/jacquard-api/src/ch_indiemusi/alpha/actor/master_owner.rs +++ b/crates/jacquard-api/src/ch_indiemusi/alpha/actor/master_owner.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// The entity (person or company) that owns the master recording rights #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -114,7 +114,7 @@ impl LexiconSchema for MasterOwner { pub mod master_owner_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -201,10 +201,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> MasterOwner { + pub fn build_with_data(self, extra_data: BTreeMap>) -> MasterOwner { MasterOwner { name: self._fields.0.unwrap(), extra_data: Some(extra_data), @@ -213,10 +210,10 @@ where } fn lexicon_doc_ch_indiemusi_alpha_actor_masterOwner() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("ch.indiemusi.alpha.actor.masterOwner"), @@ -225,11 +222,9 @@ fn lexicon_doc_ch_indiemusi_alpha_actor_masterOwner() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static( - "The entity (person or company) that owns the master recording rights", - ), - ), + description: Some(CowStr::new_static( + "The entity (person or company) that owns the master recording rights", + )), key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { required: Some(vec![SmolStr::new_static("name")]), @@ -254,4 +249,4 @@ fn lexicon_doc_ch_indiemusi_alpha_actor_masterOwner() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/ch_indiemusi/alpha/actor/publishing_owner.rs b/crates/jacquard-api/src/ch_indiemusi/alpha/actor/publishing_owner.rs index 588f93aa..0ede862b 100644 --- a/crates/jacquard-api/src/ch_indiemusi/alpha/actor/publishing_owner.rs +++ b/crates/jacquard-api/src/ch_indiemusi/alpha/actor/publishing_owner.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// A songwriter, composer, or music publisher who owns the publishing rights to a song or musical work #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -163,7 +163,7 @@ impl LexiconSchema for PublishingOwner { pub mod publishing_owner_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -286,10 +286,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> PublishingOwner { + pub fn build_with_data(self, extra_data: BTreeMap>) -> PublishingOwner { PublishingOwner { collecting_society: self._fields.0, company_name: self._fields.1, @@ -302,10 +299,10 @@ where } fn lexicon_doc_ch_indiemusi_alpha_actor_publishingOwner() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("ch.indiemusi.alpha.actor.publishingOwner"), @@ -375,4 +372,4 @@ fn lexicon_doc_ch_indiemusi_alpha_actor_publishingOwner() -> LexiconDoc<'static> }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/ch_indiemusi/alpha/grant.rs b/crates/jacquard-api/src/ch_indiemusi/alpha/grant.rs index 11b4e8ac..21c41499 100644 --- a/crates/jacquard-api/src/ch_indiemusi/alpha/grant.rs +++ b/crates/jacquard-api/src/ch_indiemusi/alpha/grant.rs @@ -10,13 +10,13 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::collection::{Collection, RecordError}; -use jacquard_common::types::string::{Did, AtUri, Cid, Datetime}; +use jacquard_common::types::string::{AtUri, Cid, Datetime, Did}; use jacquard_common::types::uri::{RecordUri, UriError}; use jacquard_common::types::value::Data; use jacquard_common::xrpc::XrpcResp; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// A cryptographic grant allowing a streaming service to decrypt the artist's music catalog. This record contains the master content key encrypted with the service's public key. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -164,7 +164,7 @@ fn _default_grant_wrapping_algorithm() -> ::core::option::Opti pub mod grant_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -363,10 +363,7 @@ where service_did: self._fields.2.unwrap(), wrapped_master_key: self._fields.3.unwrap(), wrapped_master_key_iv: self._fields.4, - wrapping_algorithm: self - ._fields - .5 - .or_else(|| Some(S::from_static("RSA-OAEP"))), + wrapping_algorithm: self._fields.5.or_else(|| Some(S::from_static("RSA-OAEP"))), extra_data: Default::default(), } } @@ -378,20 +375,17 @@ where service_did: self._fields.2.unwrap(), wrapped_master_key: self._fields.3.unwrap(), wrapped_master_key_iv: self._fields.4, - wrapping_algorithm: self - ._fields - .5 - .or_else(|| Some(S::from_static("RSA-OAEP"))), + wrapping_algorithm: self._fields.5.or_else(|| Some(S::from_static("RSA-OAEP"))), extra_data: Some(extra_data), } } } fn lexicon_doc_ch_indiemusi_alpha_grant() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("ch.indiemusi.alpha.grant"), @@ -499,4 +493,4 @@ fn lexicon_doc_ch_indiemusi_alpha_grant() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/ch_indiemusi/alpha/recording.rs b/crates/jacquard-api/src/ch_indiemusi/alpha/recording.rs index 6b5972a6..6d9da3ec 100644 --- a/crates/jacquard-api/src/ch_indiemusi/alpha/recording.rs +++ b/crates/jacquard-api/src/ch_indiemusi/alpha/recording.rs @@ -10,14 +10,14 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::blob::BlobRef; use jacquard_common::types::collection::{Collection, RecordError}; -use jacquard_common::types::string::{Did, AtUri, Cid}; +use jacquard_common::types::string::{AtUri, Cid, Did}; use jacquard_common::types::uri::{RecordUri, UriError}; use jacquard_common::types::value::Data; use jacquard_common::xrpc::XrpcResp; @@ -25,17 +25,20 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::ch_indiemusi::alpha::actor::master_owner::MasterOwner; -use crate::ch_indiemusi::alpha::song::Song; use crate::ch_indiemusi::alpha::actor::artist; +use crate::ch_indiemusi::alpha::actor::master_owner::MasterOwner; use crate::ch_indiemusi::alpha::recording; +use crate::ch_indiemusi::alpha::song::Song; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; /// Information about an artist contributing to the recording #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Artist { #[serde(skip_serializing_if = "Option::is_none")] pub artist: Option>, @@ -88,7 +91,10 @@ pub struct RecordingGetRecordOutput { /// Information about the master owner #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct MasterOwnerInfo { #[serde(skip_serializing_if = "Option::is_none")] pub did: Option>, @@ -232,10 +238,10 @@ impl LexiconSchema for MasterOwnerInfo { } fn lexicon_doc_ch_indiemusi_alpha_recording() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("ch.indiemusi.alpha.recording"), @@ -244,11 +250,9 @@ fn lexicon_doc_ch_indiemusi_alpha_recording() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("artist"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "Information about an artist contributing to the recording", - ), - ), + description: Some(CowStr::new_static( + "Information about an artist contributing to the recording", + )), required: Some(vec![SmolStr::new_static("name")]), properties: { #[allow(unused_mut)] @@ -256,9 +260,7 @@ fn lexicon_doc_ch_indiemusi_alpha_recording() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("artist"), LexObjectProperty::Ref(LexRef { - r#ref: CowStr::new_static( - "ch.indiemusi.alpha.actor.artist", - ), + r#ref: CowStr::new_static("ch.indiemusi.alpha.actor.artist"), ..Default::default() }), ); @@ -363,9 +365,7 @@ fn lexicon_doc_ch_indiemusi_alpha_recording() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("masterOwnerInfo"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("Information about the master owner"), - ), + description: Some(CowStr::new_static("Information about the master owner")), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -379,9 +379,7 @@ fn lexicon_doc_ch_indiemusi_alpha_recording() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("masterOwner"), LexObjectProperty::Ref(LexRef { - r#ref: CowStr::new_static( - "ch.indiemusi.alpha.actor.masterOwner", - ), + r#ref: CowStr::new_static("ch.indiemusi.alpha.actor.masterOwner"), ..Default::default() }), ); @@ -405,7 +403,7 @@ fn lexicon_doc_ch_indiemusi_alpha_recording() -> LexiconDoc<'static> { pub mod recording_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -540,18 +538,12 @@ impl RecordingBuilder { impl RecordingBuilder { /// Set the `masterOwner` field (optional) - pub fn master_owner( - mut self, - value: impl Into>>, - ) -> Self { + pub fn master_owner(mut self, value: impl Into>>) -> Self { self._fields.4 = value.into(); self } /// Set the `masterOwner` field to an Option value (optional) - pub fn maybe_master_owner( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_master_owner(mut self, value: Option>) -> Self { self._fields.4 = value; self } @@ -609,10 +601,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> Recording { + pub fn build_with_data(self, extra_data: BTreeMap>) -> Recording { Recording { artists: self._fields.0.unwrap(), audio_file: self._fields.1, @@ -624,4 +613,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/ch_indiemusi/alpha/release.rs b/crates/jacquard-api/src/ch_indiemusi/alpha/release.rs index 1541dfb2..8ec0647f 100644 --- a/crates/jacquard-api/src/ch_indiemusi/alpha/release.rs +++ b/crates/jacquard-api/src/ch_indiemusi/alpha/release.rs @@ -10,14 +10,14 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::blob::BlobRef; use jacquard_common::types::collection::{Collection, RecordError}; -use jacquard_common::types::string::{Did, AtUri, Cid, Datetime}; +use jacquard_common::types::string::{AtUri, Cid, Datetime, Did}; use jacquard_common::types::uri::{RecordUri, UriError}; use jacquard_common::types::value::Data; use jacquard_common::xrpc::XrpcResp; @@ -25,16 +25,19 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::ch_indiemusi::alpha::recording::Recording; use crate::ch_indiemusi::alpha::actor::artist; +use crate::ch_indiemusi::alpha::recording::Recording; use crate::ch_indiemusi::alpha::release; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; /// Information about an artist contributing to the release #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Artist { #[serde(skip_serializing_if = "Option::is_none")] pub artist: Option>, @@ -199,10 +202,10 @@ impl LexiconSchema for Release { } fn lexicon_doc_ch_indiemusi_alpha_release() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("ch.indiemusi.alpha.release"), @@ -211,11 +214,9 @@ fn lexicon_doc_ch_indiemusi_alpha_release() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("artist"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "Information about an artist contributing to the release", - ), - ), + description: Some(CowStr::new_static( + "Information about an artist contributing to the release", + )), required: Some(vec![SmolStr::new_static("name")]), properties: { #[allow(unused_mut)] @@ -223,9 +224,7 @@ fn lexicon_doc_ch_indiemusi_alpha_release() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("artist"), LexObjectProperty::Ref(LexRef { - r#ref: CowStr::new_static( - "ch.indiemusi.alpha.actor.artist", - ), + r#ref: CowStr::new_static("ch.indiemusi.alpha.actor.artist"), ..Default::default() }), ); @@ -340,7 +339,7 @@ fn lexicon_doc_ch_indiemusi_alpha_release() -> LexiconDoc<'static> { pub mod release_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -511,10 +510,7 @@ where St::Title: release_state::IsUnset, { /// Set the `title` field (required) - pub fn title( - mut self, - value: impl Into, - ) -> ReleaseBuilder> { + pub fn title(mut self, value: impl Into) -> ReleaseBuilder> { self._fields.5 = Option::Some(value.into()); ReleaseBuilder { _state: PhantomData, @@ -555,4 +551,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/ch_indiemusi/alpha/song.rs b/crates/jacquard-api/src/ch_indiemusi/alpha/song.rs index 8841298d..1a6b2e47 100644 --- a/crates/jacquard-api/src/ch_indiemusi/alpha/song.rs +++ b/crates/jacquard-api/src/ch_indiemusi/alpha/song.rs @@ -10,13 +10,13 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::collection::{Collection, RecordError}; -use jacquard_common::types::string::{Did, AtUri, Cid}; +use jacquard_common::types::string::{AtUri, Cid, Did}; use jacquard_common::types::uri::{RecordUri, UriError}; use jacquard_common::types::value::Data; use jacquard_common::xrpc::XrpcResp; @@ -24,15 +24,18 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::ch_indiemusi::alpha::actor::publishing_owner::PublishingOwner; use crate::ch_indiemusi::alpha::song; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; /// An interested party associated with the song (author, composer, publisher) #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct InterestedParty { #[serde(skip_serializing_if = "Option::is_none")] pub collecting_society: Option, @@ -224,10 +227,10 @@ impl LexiconSchema for Song { } fn lexicon_doc_ch_indiemusi_alpha_song() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("ch.indiemusi.alpha.song"), @@ -379,7 +382,7 @@ fn lexicon_doc_ch_indiemusi_alpha_song() -> LexiconDoc<'static> { pub mod song_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -484,10 +487,7 @@ where St::Title: song_state::IsUnset, { /// Set the `title` field (required) - pub fn title( - mut self, - value: impl Into, - ) -> SongBuilder> { + pub fn title(mut self, value: impl Into) -> SongBuilder> { self._fields.2 = Option::Some(value.into()); SongBuilder { _state: PhantomData, @@ -521,4 +521,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/ch_indiemusi/alpha/track.rs b/crates/jacquard-api/src/ch_indiemusi/alpha/track.rs index 23d5b3c2..dc08ec46 100644 --- a/crates/jacquard-api/src/ch_indiemusi/alpha/track.rs +++ b/crates/jacquard-api/src/ch_indiemusi/alpha/track.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -27,7 +27,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// An encrypted audio track. The audio blob is encrypted with AES-GCM-256, and the decryption key is wrapped and stored in grant records. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -114,25 +114,23 @@ impl LexiconSchema for Track { { let mime = value.blob().mime_type.as_str(); let accepted: &[&str] = &["audio/wav", "audio/mpeg", "audio/flac"]; - let matched = accepted - .iter() - .any(|pattern| { - if *pattern == "*/*" { - true - } else if pattern.ends_with("/*") { - let prefix = &pattern[..pattern.len() - 2]; - mime.starts_with(prefix) - && mime.as_bytes().get(prefix.len()) == Some(&b'/') - } else { - mime == *pattern - } - }); + let matched = accepted.iter().any(|pattern| { + if *pattern == "*/*" { + true + } else if pattern.ends_with("/*") { + let prefix = &pattern[..pattern.len() - 2]; + mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/') + } else { + mime == *pattern + } + }); if !matched { return Err(ConstraintError::BlobMimeTypeNotAccepted { path: ValidationPath::from_field("audio_blob"), accepted: vec![ - "audio/wav".to_string(), "audio/mpeg".to_string(), - "audio/flac".to_string() + "audio/wav".to_string(), + "audio/mpeg".to_string(), + "audio/flac".to_string(), ], actual: mime.to_string(), }); @@ -181,7 +179,7 @@ fn _default_track_encryption_algorithm() -> ::core::option::Op pub mod track_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -256,7 +254,13 @@ pub mod track_state { /// Builder for constructing an instance of this type. pub struct TrackBuilder { _state: PhantomData St>, - _fields: (Option>, Option, Option, Option, Option), + _fields: ( + Option>, + Option, + Option, + Option, + Option, + ), _type: PhantomData S>, } @@ -354,10 +358,7 @@ where St::Title: track_state::IsUnset, { /// Set the `title` field (required) - pub fn title( - mut self, - value: impl Into, - ) -> TrackBuilder> { + pub fn title(mut self, value: impl Into) -> TrackBuilder> { self._fields.4 = Option::Some(value.into()); TrackBuilder { _state: PhantomData, @@ -406,10 +407,10 @@ where } fn lexicon_doc_ch_indiemusi_alpha_track() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("ch.indiemusi.alpha.track"), @@ -493,4 +494,4 @@ fn lexicon_doc_ch_indiemusi_alpha_track() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/ch_indiemusi/social.rs b/crates/jacquard-api/src/ch_indiemusi/social.rs index c92f81af..3ed1b8b1 100644 --- a/crates/jacquard-api/src/ch_indiemusi/social.rs +++ b/crates/jacquard-api/src/ch_indiemusi/social.rs @@ -4,4 +4,4 @@ // Any manual changes will be overwritten on the next regeneration. pub mod join; -pub mod song; \ No newline at end of file +pub mod song; diff --git a/crates/jacquard-api/src/ch_indiemusi/social/join.rs b/crates/jacquard-api/src/ch_indiemusi/social/join.rs index a787d49d..5e2a32d0 100644 --- a/crates/jacquard-api/src/ch_indiemusi/social/join.rs +++ b/crates/jacquard-api/src/ch_indiemusi/social/join.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// Sign that you want to join a social listing experience of a specific song #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -104,7 +104,7 @@ impl LexiconSchema for Join { pub mod join_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -165,10 +165,7 @@ where St::Song: join_state::IsUnset, { /// Set the `song` field (required) - pub fn song( - mut self, - value: impl Into>, - ) -> JoinBuilder> { + pub fn song(mut self, value: impl Into>) -> JoinBuilder> { self._fields.0 = Option::Some(value.into()); JoinBuilder { _state: PhantomData, @@ -200,10 +197,10 @@ where } fn lexicon_doc_ch_indiemusi_social_join() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("ch.indiemusi.social.join"), @@ -246,4 +243,4 @@ fn lexicon_doc_ch_indiemusi_social_join() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/ch_indiemusi/social/song.rs b/crates/jacquard-api/src/ch_indiemusi/social/song.rs index 95eac739..737de3cc 100644 --- a/crates/jacquard-api/src/ch_indiemusi/social/song.rs +++ b/crates/jacquard-api/src/ch_indiemusi/social/song.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// A social song, that needs a groups of listeners to be fully enjoyed. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -151,7 +151,7 @@ impl LexiconSchema for Song { pub mod song_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -243,10 +243,7 @@ where St::Name: song_state::IsUnset, { /// Set the `name` field (required) - pub fn name( - mut self, - value: impl Into, - ) -> SongBuilder> { + pub fn name(mut self, value: impl Into) -> SongBuilder> { self._fields.1 = Option::Some(value.into()); SongBuilder { _state: PhantomData, @@ -281,10 +278,10 @@ where } fn lexicon_doc_ch_indiemusi_social_song() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("ch.indiemusi.social.song"), @@ -293,19 +290,15 @@ fn lexicon_doc_ch_indiemusi_social_song() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static( - "A social song, that needs a groups of listeners to be fully enjoyed.", - ), - ), + description: Some(CowStr::new_static( + "A social song, that needs a groups of listeners to be fully enjoyed.", + )), key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("name"), - SmolStr::new_static("joinersNeeded") - ], - ), + required: Some(vec![ + SmolStr::new_static("name"), + SmolStr::new_static("joinersNeeded"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -337,4 +330,4 @@ fn lexicon_doc_ch_indiemusi_social_song() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/chat_bsky.rs b/crates/jacquard-api/src/chat_bsky.rs index a47a07d1..daf0f808 100644 --- a/crates/jacquard-api/src/chat_bsky.rs +++ b/crates/jacquard-api/src/chat_bsky.rs @@ -5,4 +5,4 @@ pub mod actor; pub mod convo; -pub mod moderation; \ No newline at end of file +pub mod moderation; diff --git a/crates/jacquard-api/src/chat_bsky/actor.rs b/crates/jacquard-api/src/chat_bsky/actor.rs index c6f9fc38..0a2881d3 100644 --- a/crates/jacquard-api/src/chat_bsky/actor.rs +++ b/crates/jacquard-api/src/chat_bsky/actor.rs @@ -9,13 +9,12 @@ pub mod declaration; pub mod delete_account; pub mod export_account_data; - #[allow(unused_imports)] use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,16 +25,19 @@ use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::app_bsky::actor::ProfileAssociated; use crate::app_bsky::actor::VerificationState; use crate::app_bsky::actor::ViewerState; use crate::com_atproto::label::Label; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ProfileViewBasic { #[serde(skip_serializing_if = "Option::is_none")] pub associated: Option>, @@ -97,7 +99,7 @@ impl LexiconSchema for ProfileViewBasic { pub mod profile_view_basic_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -279,10 +281,7 @@ impl ProfileViewBasicBuilder ProfileViewBasicBuilder { /// Set the `verification` field (optional) - pub fn verification( - mut self, - value: impl Into>>, - ) -> Self { + pub fn verification(mut self, value: impl Into>>) -> Self { self._fields.7 = value.into(); self } @@ -328,10 +327,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> ProfileViewBasic { + pub fn build_with_data(self, extra_data: BTreeMap>) -> ProfileViewBasic { ProfileViewBasic { associated: self._fields.0, avatar: self._fields.1, @@ -348,10 +344,10 @@ where } fn lexicon_doc_chat_bsky_actor_defs() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("chat.bsky.actor.defs"), @@ -360,18 +356,17 @@ fn lexicon_doc_chat_bsky_actor_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("profileViewBasic"), LexUserType::Object(LexObject { - required: Some( - vec![SmolStr::new_static("did"), SmolStr::new_static("handle")], - ), + required: Some(vec![ + SmolStr::new_static("did"), + SmolStr::new_static("handle"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("associated"), LexObjectProperty::Ref(LexRef { - r#ref: CowStr::new_static( - "app.bsky.actor.defs#profileAssociated", - ), + r#ref: CowStr::new_static("app.bsky.actor.defs#profileAssociated"), ..Default::default() }), ); @@ -423,18 +418,14 @@ fn lexicon_doc_chat_bsky_actor_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("verification"), LexObjectProperty::Ref(LexRef { - r#ref: CowStr::new_static( - "app.bsky.actor.defs#verificationState", - ), + r#ref: CowStr::new_static("app.bsky.actor.defs#verificationState"), ..Default::default() }), ); map.insert( SmolStr::new_static("viewer"), LexObjectProperty::Ref(LexRef { - r#ref: CowStr::new_static( - "app.bsky.actor.defs#viewerState", - ), + r#ref: CowStr::new_static("app.bsky.actor.defs#viewerState"), ..Default::default() }), ); @@ -447,4 +438,4 @@ fn lexicon_doc_chat_bsky_actor_defs() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/chat_bsky/actor/declaration.rs b/crates/jacquard-api/src/chat_bsky/actor/declaration.rs index 0783c872..62dcc2f1 100644 --- a/crates/jacquard-api/src/chat_bsky/actor/declaration.rs +++ b/crates/jacquard-api/src/chat_bsky/actor/declaration.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// A declaration of a Bluesky chat account. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -42,7 +42,6 @@ pub struct Declaration { pub extra_data: Option>>, } - #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum DeclarationAllowIncoming { All, @@ -92,8 +91,7 @@ impl Serialize for DeclarationAllowIncoming { } } -impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> -for DeclarationAllowIncoming { +impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> for DeclarationAllowIncoming { fn deserialize(deserializer: D) -> Result where D: serde::Deserializer<'de>, @@ -120,9 +118,7 @@ where DeclarationAllowIncoming::All => DeclarationAllowIncoming::All, DeclarationAllowIncoming::None => DeclarationAllowIncoming::None, DeclarationAllowIncoming::Following => DeclarationAllowIncoming::Following, - DeclarationAllowIncoming::Other(v) => { - DeclarationAllowIncoming::Other(v.into_static()) - } + DeclarationAllowIncoming::Other(v) => DeclarationAllowIncoming::Other(v.into_static()), } } } @@ -188,7 +184,7 @@ impl LexiconSchema for Declaration { pub mod declaration_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -275,10 +271,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> Declaration { + pub fn build_with_data(self, extra_data: BTreeMap>) -> Declaration { Declaration { allow_incoming: self._fields.0.unwrap(), extra_data: Some(extra_data), @@ -287,10 +280,10 @@ where } fn lexicon_doc_chat_bsky_actor_declaration() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("chat.bsky.actor.declaration"), @@ -299,9 +292,9 @@ fn lexicon_doc_chat_bsky_actor_declaration() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static("A declaration of a Bluesky chat account."), - ), + description: Some(CowStr::new_static( + "A declaration of a Bluesky chat account.", + )), key: Some(CowStr::new_static("literal:self")), record: LexRecordRecord::Object(LexObject { required: Some(vec![SmolStr::new_static("allowIncoming")]), @@ -325,4 +318,4 @@ fn lexicon_doc_chat_bsky_actor_declaration() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/chat_bsky/actor/delete_account.rs b/crates/jacquard-api/src/chat_bsky/actor/delete_account.rs index dfb01769..6fa6be1c 100644 --- a/crates/jacquard-api/src/chat_bsky/actor/delete_account.rs +++ b/crates/jacquard-api/src/chat_bsky/actor/delete_account.rs @@ -10,14 +10,17 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DeleteAccountOutput { #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, @@ -38,9 +41,8 @@ impl jacquard_common::xrpc::XrpcResp for DeleteAccountResponse { impl jacquard_common::xrpc::XrpcRequest for DeleteAccount { const NSID: &'static str = "chat.bsky.actor.deleteAccount"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = DeleteAccountResponse; } @@ -48,9 +50,8 @@ impl jacquard_common::xrpc::XrpcRequest for DeleteAccount { pub struct DeleteAccountRequest; impl jacquard_common::xrpc::XrpcEndpoint for DeleteAccountRequest { const PATH: &'static str = "/xrpc/chat.bsky.actor.deleteAccount"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = DeleteAccount; type Response = DeleteAccountResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/chat_bsky/actor/export_account_data.rs b/crates/jacquard-api/src/chat_bsky/actor/export_account_data.rs index 156b1623..c9b3dfcd 100644 --- a/crates/jacquard-api/src/chat_bsky/actor/export_account_data.rs +++ b/crates/jacquard-api/src/chat_bsky/actor/export_account_data.rs @@ -10,12 +10,12 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::bytes::Bytes; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(rename_all = "camelCase")] @@ -68,4 +68,4 @@ impl jacquard_common::xrpc::XrpcEndpoint for ExportAccountDataRequest { const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Query; type Request = ExportAccountData; type Response = ExportAccountDataResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/chat_bsky/convo.rs b/crates/jacquard-api/src/chat_bsky/convo.rs index 4e19ff2a..fd8e9789 100644 --- a/crates/jacquard-api/src/chat_bsky/convo.rs +++ b/crates/jacquard-api/src/chat_bsky/convo.rs @@ -23,34 +23,36 @@ pub mod unmute_convo; pub mod update_all_read; pub mod update_read; - #[allow(unused_imports)] use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; use jacquard_common::deps::smol_str::SmolStr; -use jacquard_common::types::string::{Did, Datetime}; +use jacquard_common::types::string::{Datetime, Did}; use jacquard_common::types::value::Data; use jacquard_derive::{IntoStatic, open_union}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::app_bsky::embed::record::Record; use crate::app_bsky::embed::record::View; use crate::app_bsky::richtext::facet::Facet; use crate::chat_bsky::actor::ProfileViewBasic; use crate::chat_bsky::convo; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ConvoView { pub id: S, #[serde(skip_serializing_if = "Option::is_none")] @@ -67,7 +69,6 @@ pub struct ConvoView { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -78,7 +79,6 @@ pub enum ConvoViewLastMessage { DeletedMessageView(Box>), } - #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum ConvoViewStatus { Request, @@ -156,9 +156,11 @@ where } } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DeletedMessageView { pub id: S, pub rev: S, @@ -168,9 +170,11 @@ pub struct DeletedMessageView { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct LogAcceptConvo { pub convo_id: S, pub rev: S, @@ -178,9 +182,11 @@ pub struct LogAcceptConvo { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct LogAddReaction { pub convo_id: S, pub message: LogAddReactionMessage, @@ -190,7 +196,6 @@ pub struct LogAddReaction { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -201,9 +206,11 @@ pub enum LogAddReactionMessage { DeletedMessageView(Box>), } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct LogBeginConvo { pub convo_id: S, pub rev: S, @@ -211,9 +218,11 @@ pub struct LogBeginConvo { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct LogCreateMessage { pub convo_id: S, pub message: LogCreateMessageMessage, @@ -222,7 +231,6 @@ pub struct LogCreateMessage { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -233,9 +241,11 @@ pub enum LogCreateMessageMessage { DeletedMessageView(Box>), } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct LogDeleteMessage { pub convo_id: S, pub message: LogDeleteMessageMessage, @@ -244,7 +254,6 @@ pub struct LogDeleteMessage { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -255,9 +264,11 @@ pub enum LogDeleteMessageMessage { DeletedMessageView(Box>), } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct LogLeaveConvo { pub convo_id: S, pub rev: S, @@ -265,9 +276,11 @@ pub struct LogLeaveConvo { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct LogMuteConvo { pub convo_id: S, pub rev: S, @@ -275,9 +288,11 @@ pub struct LogMuteConvo { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct LogReadMessage { pub convo_id: S, pub message: LogReadMessageMessage, @@ -286,7 +301,6 @@ pub struct LogReadMessage { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -297,9 +311,11 @@ pub enum LogReadMessageMessage { DeletedMessageView(Box>), } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct LogRemoveReaction { pub convo_id: S, pub message: LogRemoveReactionMessage, @@ -309,7 +325,6 @@ pub struct LogRemoveReaction { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -320,9 +335,11 @@ pub enum LogRemoveReactionMessage { DeletedMessageView(Box>), } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct LogUnmuteConvo { pub convo_id: S, pub rev: S, @@ -330,9 +347,11 @@ pub struct LogUnmuteConvo { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct MessageAndReactionView { pub message: convo::MessageView, pub reaction: convo::ReactionView, @@ -340,9 +359,11 @@ pub struct MessageAndReactionView { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct MessageInput { #[serde(skip_serializing_if = "Option::is_none")] pub embed: Option>, @@ -354,9 +375,11 @@ pub struct MessageInput { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct MessageRef { pub convo_id: S, pub did: Did, @@ -365,9 +388,11 @@ pub struct MessageRef { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct MessageView { #[serde(skip_serializing_if = "Option::is_none")] pub embed: Option>, @@ -386,18 +411,22 @@ pub struct MessageView { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct MessageViewSender { pub did: Did, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ReactionView { pub created_at: Datetime, pub sender: convo::ReactionViewSender, @@ -406,9 +435,11 @@ pub struct ReactionView { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ReactionViewSender { pub did: Did, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -750,7 +781,7 @@ impl LexiconSchema for ReactionViewSender { pub mod convo_view_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -880,10 +911,7 @@ where St::Id: convo_view_state::IsUnset, { /// Set the `id` field (required) - pub fn id( - mut self, - value: impl Into, - ) -> ConvoViewBuilder> { + pub fn id(mut self, value: impl Into) -> ConvoViewBuilder> { self._fields.0 = Option::Some(value.into()); ConvoViewBuilder { _state: PhantomData, @@ -895,10 +923,7 @@ where impl ConvoViewBuilder { /// Set the `lastMessage` field (optional) - pub fn last_message( - mut self, - value: impl Into>>, - ) -> Self { + pub fn last_message(mut self, value: impl Into>>) -> Self { self._fields.1 = value.into(); self } @@ -919,10 +944,7 @@ impl ConvoViewBuilder { self } /// Set the `lastReaction` field to an Option value (optional) - pub fn maybe_last_reaction( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_last_reaction(mut self, value: Option>) -> Self { self._fields.2 = value; self } @@ -972,10 +994,7 @@ where St::Rev: convo_view_state::IsUnset, { /// Set the `rev` field (required) - pub fn rev( - mut self, - value: impl Into, - ) -> ConvoViewBuilder> { + pub fn rev(mut self, value: impl Into) -> ConvoViewBuilder> { self._fields.5 = Option::Some(value.into()); ConvoViewBuilder { _state: PhantomData, @@ -1041,10 +1060,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> ConvoView { + pub fn build_with_data(self, extra_data: BTreeMap>) -> ConvoView { ConvoView { id: self._fields.0.unwrap(), last_message: self._fields.1, @@ -1060,10 +1076,10 @@ where } fn lexicon_doc_chat_bsky_convo_defs() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("chat.bsky.convo.defs"), @@ -1072,26 +1088,28 @@ fn lexicon_doc_chat_bsky_convo_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("convoView"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("id"), SmolStr::new_static("rev"), - SmolStr::new_static("members"), SmolStr::new_static("muted"), - SmolStr::new_static("unreadCount") - ], - ), + required: Some(vec![ + SmolStr::new_static("id"), + SmolStr::new_static("rev"), + SmolStr::new_static("members"), + SmolStr::new_static("muted"), + SmolStr::new_static("unreadCount"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("id"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("lastMessage"), LexObjectProperty::Union(LexRefUnion { refs: vec![ CowStr::new_static("#messageView"), - CowStr::new_static("#deletedMessageView") + CowStr::new_static("#deletedMessageView"), ], ..Default::default() }), @@ -1123,11 +1141,15 @@ fn lexicon_doc_chat_bsky_convo_defs() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("rev"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("status"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("unreadCount"), @@ -1143,22 +1165,26 @@ fn lexicon_doc_chat_bsky_convo_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("deletedMessageView"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("id"), SmolStr::new_static("rev"), - SmolStr::new_static("sender"), SmolStr::new_static("sentAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("id"), + SmolStr::new_static("rev"), + SmolStr::new_static("sender"), + SmolStr::new_static("sentAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("id"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("rev"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("sender"), @@ -1182,19 +1208,24 @@ fn lexicon_doc_chat_bsky_convo_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("logAcceptConvo"), LexUserType::Object(LexObject { - required: Some( - vec![SmolStr::new_static("rev"), SmolStr::new_static("convoId")], - ), + required: Some(vec![ + SmolStr::new_static("rev"), + SmolStr::new_static("convoId"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("convoId"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("rev"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map }, @@ -1204,26 +1235,27 @@ fn lexicon_doc_chat_bsky_convo_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("logAddReaction"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("rev"), SmolStr::new_static("convoId"), - SmolStr::new_static("message"), - SmolStr::new_static("reaction") - ], - ), + required: Some(vec![ + SmolStr::new_static("rev"), + SmolStr::new_static("convoId"), + SmolStr::new_static("message"), + SmolStr::new_static("reaction"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("convoId"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("message"), LexObjectProperty::Union(LexRefUnion { refs: vec![ CowStr::new_static("#messageView"), - CowStr::new_static("#deletedMessageView") + CowStr::new_static("#deletedMessageView"), ], ..Default::default() }), @@ -1237,7 +1269,9 @@ fn lexicon_doc_chat_bsky_convo_defs() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("rev"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map }, @@ -1247,19 +1281,24 @@ fn lexicon_doc_chat_bsky_convo_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("logBeginConvo"), LexUserType::Object(LexObject { - required: Some( - vec![SmolStr::new_static("rev"), SmolStr::new_static("convoId")], - ), + required: Some(vec![ + SmolStr::new_static("rev"), + SmolStr::new_static("convoId"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("convoId"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("rev"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map }, @@ -1269,32 +1308,35 @@ fn lexicon_doc_chat_bsky_convo_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("logCreateMessage"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("rev"), SmolStr::new_static("convoId"), - SmolStr::new_static("message") - ], - ), + required: Some(vec![ + SmolStr::new_static("rev"), + SmolStr::new_static("convoId"), + SmolStr::new_static("message"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("convoId"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("message"), LexObjectProperty::Union(LexRefUnion { refs: vec![ CowStr::new_static("#messageView"), - CowStr::new_static("#deletedMessageView") + CowStr::new_static("#deletedMessageView"), ], ..Default::default() }), ); map.insert( SmolStr::new_static("rev"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map }, @@ -1304,32 +1346,35 @@ fn lexicon_doc_chat_bsky_convo_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("logDeleteMessage"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("rev"), SmolStr::new_static("convoId"), - SmolStr::new_static("message") - ], - ), + required: Some(vec![ + SmolStr::new_static("rev"), + SmolStr::new_static("convoId"), + SmolStr::new_static("message"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("convoId"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("message"), LexObjectProperty::Union(LexRefUnion { refs: vec![ CowStr::new_static("#messageView"), - CowStr::new_static("#deletedMessageView") + CowStr::new_static("#deletedMessageView"), ], ..Default::default() }), ); map.insert( SmolStr::new_static("rev"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map }, @@ -1339,19 +1384,24 @@ fn lexicon_doc_chat_bsky_convo_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("logLeaveConvo"), LexUserType::Object(LexObject { - required: Some( - vec![SmolStr::new_static("rev"), SmolStr::new_static("convoId")], - ), + required: Some(vec![ + SmolStr::new_static("rev"), + SmolStr::new_static("convoId"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("convoId"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("rev"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map }, @@ -1361,19 +1411,24 @@ fn lexicon_doc_chat_bsky_convo_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("logMuteConvo"), LexUserType::Object(LexObject { - required: Some( - vec![SmolStr::new_static("rev"), SmolStr::new_static("convoId")], - ), + required: Some(vec![ + SmolStr::new_static("rev"), + SmolStr::new_static("convoId"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("convoId"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("rev"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map }, @@ -1383,32 +1438,35 @@ fn lexicon_doc_chat_bsky_convo_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("logReadMessage"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("rev"), SmolStr::new_static("convoId"), - SmolStr::new_static("message") - ], - ), + required: Some(vec![ + SmolStr::new_static("rev"), + SmolStr::new_static("convoId"), + SmolStr::new_static("message"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("convoId"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("message"), LexObjectProperty::Union(LexRefUnion { refs: vec![ CowStr::new_static("#messageView"), - CowStr::new_static("#deletedMessageView") + CowStr::new_static("#deletedMessageView"), ], ..Default::default() }), ); map.insert( SmolStr::new_static("rev"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map }, @@ -1418,26 +1476,27 @@ fn lexicon_doc_chat_bsky_convo_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("logRemoveReaction"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("rev"), SmolStr::new_static("convoId"), - SmolStr::new_static("message"), - SmolStr::new_static("reaction") - ], - ), + required: Some(vec![ + SmolStr::new_static("rev"), + SmolStr::new_static("convoId"), + SmolStr::new_static("message"), + SmolStr::new_static("reaction"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("convoId"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("message"), LexObjectProperty::Union(LexRefUnion { refs: vec![ CowStr::new_static("#messageView"), - CowStr::new_static("#deletedMessageView") + CowStr::new_static("#deletedMessageView"), ], ..Default::default() }), @@ -1451,7 +1510,9 @@ fn lexicon_doc_chat_bsky_convo_defs() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("rev"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map }, @@ -1461,19 +1522,24 @@ fn lexicon_doc_chat_bsky_convo_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("logUnmuteConvo"), LexUserType::Object(LexObject { - required: Some( - vec![SmolStr::new_static("rev"), SmolStr::new_static("convoId")], - ), + required: Some(vec![ + SmolStr::new_static("rev"), + SmolStr::new_static("convoId"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("convoId"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("rev"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map }, @@ -1483,12 +1549,10 @@ fn lexicon_doc_chat_bsky_convo_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("messageAndReactionView"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("message"), - SmolStr::new_static("reaction") - ], - ), + required: Some(vec![ + SmolStr::new_static("message"), + SmolStr::new_static("reaction"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -1528,11 +1592,9 @@ fn lexicon_doc_chat_bsky_convo_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("facets"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static( - "Annotations of text (mentions, URLs, hashtags, etc)", - ), - ), + description: Some(CowStr::new_static( + "Annotations of text (mentions, URLs, hashtags, etc)", + )), items: LexArrayItem::Ref(LexRef { r#ref: CowStr::new_static("app.bsky.richtext.facet"), ..Default::default() @@ -1556,18 +1618,19 @@ fn lexicon_doc_chat_bsky_convo_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("messageRef"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("did"), SmolStr::new_static("messageId"), - SmolStr::new_static("convoId") - ], - ), + required: Some(vec![ + SmolStr::new_static("did"), + SmolStr::new_static("messageId"), + SmolStr::new_static("convoId"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("convoId"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("did"), @@ -1578,7 +1641,9 @@ fn lexicon_doc_chat_bsky_convo_defs() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("messageId"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map }, @@ -1694,12 +1759,11 @@ fn lexicon_doc_chat_bsky_convo_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("reactionView"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("value"), SmolStr::new_static("sender"), - SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("value"), + SmolStr::new_static("sender"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -1719,7 +1783,9 @@ fn lexicon_doc_chat_bsky_convo_defs() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("value"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map }, @@ -1753,7 +1819,7 @@ fn lexicon_doc_chat_bsky_convo_defs() -> LexiconDoc<'static> { pub mod deleted_message_view_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -1950,10 +2016,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> DeletedMessageView { + pub fn build_with_data(self, extra_data: BTreeMap>) -> DeletedMessageView { DeletedMessageView { id: self._fields.0.unwrap(), rev: self._fields.1.unwrap(), @@ -1966,7 +2029,7 @@ where pub mod log_add_reaction_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -2163,10 +2226,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> LogAddReaction { + pub fn build_with_data(self, extra_data: BTreeMap>) -> LogAddReaction { LogAddReaction { convo_id: self._fields.0.unwrap(), message: self._fields.1.unwrap(), @@ -2179,7 +2239,7 @@ where pub mod log_create_message_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -2334,10 +2394,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> LogCreateMessage { + pub fn build_with_data(self, extra_data: BTreeMap>) -> LogCreateMessage { LogCreateMessage { convo_id: self._fields.0.unwrap(), message: self._fields.1.unwrap(), @@ -2349,7 +2406,7 @@ where pub mod log_delete_message_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -2504,10 +2561,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> LogDeleteMessage { + pub fn build_with_data(self, extra_data: BTreeMap>) -> LogDeleteMessage { LogDeleteMessage { convo_id: self._fields.0.unwrap(), message: self._fields.1.unwrap(), @@ -2519,7 +2573,7 @@ where pub mod log_read_message_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -2674,10 +2728,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> LogReadMessage { + pub fn build_with_data(self, extra_data: BTreeMap>) -> LogReadMessage { LogReadMessage { convo_id: self._fields.0.unwrap(), message: self._fields.1.unwrap(), @@ -2689,7 +2740,7 @@ where pub mod log_remove_reaction_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -2886,10 +2937,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> LogRemoveReaction { + pub fn build_with_data(self, extra_data: BTreeMap>) -> LogRemoveReaction { LogRemoveReaction { convo_id: self._fields.0.unwrap(), message: self._fields.1.unwrap(), @@ -2902,7 +2950,7 @@ where pub mod message_and_reaction_view_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -2945,28 +2993,23 @@ pub mod message_and_reaction_view_state { } /// Builder for constructing an instance of this type. -pub struct MessageAndReactionViewBuilder< - S: BosStr, - St: message_and_reaction_view_state::State, -> { +pub struct MessageAndReactionViewBuilder { _state: PhantomData St>, - _fields: (Option>, Option>), + _fields: ( + Option>, + Option>, + ), _type: PhantomData S>, } impl MessageAndReactionView { /// Create a new builder for this type. - pub fn new() -> MessageAndReactionViewBuilder< - S, - message_and_reaction_view_state::Empty, - > { + pub fn new() -> MessageAndReactionViewBuilder { MessageAndReactionViewBuilder::new() } } -impl< - S: BosStr, -> MessageAndReactionViewBuilder { +impl MessageAndReactionViewBuilder { /// Create a new builder with all fields unset. pub fn new() -> Self { MessageAndReactionViewBuilder { @@ -2986,10 +3029,7 @@ where pub fn message( mut self, value: impl Into>, - ) -> MessageAndReactionViewBuilder< - S, - message_and_reaction_view_state::SetMessage, - > { + ) -> MessageAndReactionViewBuilder> { self._fields.0 = Option::Some(value.into()); MessageAndReactionViewBuilder { _state: PhantomData, @@ -3008,10 +3048,7 @@ where pub fn reaction( mut self, value: impl Into>, - ) -> MessageAndReactionViewBuilder< - S, - message_and_reaction_view_state::SetReaction, - > { + ) -> MessageAndReactionViewBuilder> { self._fields.1 = Option::Some(value.into()); MessageAndReactionViewBuilder { _state: PhantomData, @@ -3050,7 +3087,7 @@ where pub mod message_ref_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -3205,10 +3242,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> MessageRef { + pub fn build_with_data(self, extra_data: BTreeMap>) -> MessageRef { MessageRef { convo_id: self._fields.0.unwrap(), did: self._fields.1.unwrap(), @@ -3220,7 +3254,7 @@ where pub mod message_view_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -3391,18 +3425,12 @@ where impl MessageViewBuilder { /// Set the `reactions` field (optional) - pub fn reactions( - mut self, - value: impl Into>>>, - ) -> Self { + pub fn reactions(mut self, value: impl Into>>>) -> Self { self._fields.3 = value.into(); self } /// Set the `reactions` field to an Option value (optional) - pub fn maybe_reactions( - mut self, - value: Option>>, - ) -> Self { + pub fn maybe_reactions(mut self, value: Option>>) -> Self { self._fields.3 = value; self } @@ -3508,10 +3536,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> MessageView { + pub fn build_with_data(self, extra_data: BTreeMap>) -> MessageView { MessageView { embed: self._fields.0, facets: self._fields.1, @@ -3528,7 +3553,7 @@ where pub mod message_view_sender_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -3615,10 +3640,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> MessageViewSender { + pub fn build_with_data(self, extra_data: BTreeMap>) -> MessageViewSender { MessageViewSender { did: self._fields.0.unwrap(), extra_data: Some(extra_data), @@ -3628,7 +3650,7 @@ where pub mod reaction_view_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -3687,7 +3709,11 @@ pub mod reaction_view_state { /// Builder for constructing an instance of this type. pub struct ReactionViewBuilder { _state: PhantomData St>, - _fields: (Option, Option>, Option), + _fields: ( + Option, + Option>, + Option, + ), _type: PhantomData S>, } @@ -3783,10 +3809,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> ReactionView { + pub fn build_with_data(self, extra_data: BTreeMap>) -> ReactionView { ReactionView { created_at: self._fields.0.unwrap(), sender: self._fields.1.unwrap(), @@ -3798,7 +3821,7 @@ where pub mod reaction_view_sender_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -3885,13 +3908,10 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> ReactionViewSender { + pub fn build_with_data(self, extra_data: BTreeMap>) -> ReactionViewSender { ReactionViewSender { did: self._fields.0.unwrap(), extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/chat_bsky/convo/accept_convo.rs b/crates/jacquard-api/src/chat_bsky/convo/accept_convo.rs index d87d2479..91b17b1a 100644 --- a/crates/jacquard-api/src/chat_bsky/convo/accept_convo.rs +++ b/crates/jacquard-api/src/chat_bsky/convo/accept_convo.rs @@ -10,23 +10,28 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct AcceptConvo { pub convo_id: S, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct AcceptConvoOutput { ///Rev when the convo was accepted. If not present, the convo was already accepted. #[serde(skip_serializing_if = "Option::is_none")] @@ -46,9 +51,8 @@ impl jacquard_common::xrpc::XrpcResp for AcceptConvoResponse { impl jacquard_common::xrpc::XrpcRequest for AcceptConvo { const NSID: &'static str = "chat.bsky.convo.acceptConvo"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = AcceptConvoResponse; } @@ -56,9 +60,8 @@ impl jacquard_common::xrpc::XrpcRequest for AcceptConvo { pub struct AcceptConvoRequest; impl jacquard_common::xrpc::XrpcEndpoint for AcceptConvoRequest { const PATH: &'static str = "/xrpc/chat.bsky.convo.acceptConvo"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = AcceptConvo; type Response = AcceptConvoResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/chat_bsky/convo/add_reaction.rs b/crates/jacquard-api/src/chat_bsky/convo/add_reaction.rs index 903505e7..29185845 100644 --- a/crates/jacquard-api/src/chat_bsky/convo/add_reaction.rs +++ b/crates/jacquard-api/src/chat_bsky/convo/add_reaction.rs @@ -8,17 +8,20 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::chat_bsky::convo::MessageView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; -use crate::chat_bsky::convo::MessageView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct AddReaction { pub convo_id: S, pub message_id: S, @@ -27,27 +30,20 @@ pub struct AddReaction { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct AddReactionOutput { pub message: MessageView, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum AddReactionError { /// Indicates that the message has been deleted and reactions can no longer be added/removed. @@ -61,7 +57,10 @@ pub enum AddReactionError { ReactionInvalidValue(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for AddReactionError { @@ -110,9 +109,8 @@ impl jacquard_common::xrpc::XrpcResp for AddReactionResponse { impl jacquard_common::xrpc::XrpcRequest for AddReaction { const NSID: &'static str = "chat.bsky.convo.addReaction"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = AddReactionResponse; } @@ -120,9 +118,8 @@ impl jacquard_common::xrpc::XrpcRequest for AddReaction { pub struct AddReactionRequest; impl jacquard_common::xrpc::XrpcEndpoint for AddReactionRequest { const PATH: &'static str = "/xrpc/chat.bsky.convo.addReaction"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = AddReaction; type Response = AddReactionResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/chat_bsky/convo/delete_message_for_self.rs b/crates/jacquard-api/src/chat_bsky/convo/delete_message_for_self.rs index a7452756..3fa4261b 100644 --- a/crates/jacquard-api/src/chat_bsky/convo/delete_message_for_self.rs +++ b/crates/jacquard-api/src/chat_bsky/convo/delete_message_for_self.rs @@ -8,17 +8,20 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::chat_bsky::convo::DeletedMessageView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::chat_bsky::convo::DeletedMessageView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DeleteMessageForSelf { pub convo_id: S, pub message_id: S, @@ -26,9 +29,11 @@ pub struct DeleteMessageForSelf { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DeleteMessageForSelfOutput { #[serde(flatten)] pub value: DeletedMessageView, @@ -47,9 +52,8 @@ impl jacquard_common::xrpc::XrpcResp for DeleteMessageForSelfResponse { impl jacquard_common::xrpc::XrpcRequest for DeleteMessageForSelf { const NSID: &'static str = "chat.bsky.convo.deleteMessageForSelf"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = DeleteMessageForSelfResponse; } @@ -57,9 +61,8 @@ impl jacquard_common::xrpc::XrpcRequest for DeleteMessageForSelf { pub struct DeleteMessageForSelfRequest; impl jacquard_common::xrpc::XrpcEndpoint for DeleteMessageForSelfRequest { const PATH: &'static str = "/xrpc/chat.bsky.convo.deleteMessageForSelf"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = DeleteMessageForSelf; type Response = DeleteMessageForSelfResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/chat_bsky/convo/get_convo.rs b/crates/jacquard-api/src/chat_bsky/convo/get_convo.rs index 2dc189ec..7ec3718f 100644 --- a/crates/jacquard-api/src/chat_bsky/convo/get_convo.rs +++ b/crates/jacquard-api/src/chat_bsky/convo/get_convo.rs @@ -8,24 +8,29 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::chat_bsky::convo::ConvoView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::chat_bsky::convo::ConvoView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetConvo { pub convo_id: S, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetConvoOutput { pub convo: ConvoView, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -58,7 +63,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetConvoRequest { pub mod get_convo_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -143,4 +148,4 @@ where convo_id: self._fields.0.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/chat_bsky/convo/get_convo_availability.rs b/crates/jacquard-api/src/chat_bsky/convo/get_convo_availability.rs index 5fb4e7dc..bf0f6e85 100644 --- a/crates/jacquard-api/src/chat_bsky/convo/get_convo_availability.rs +++ b/crates/jacquard-api/src/chat_bsky/convo/get_convo_availability.rs @@ -8,25 +8,30 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::chat_bsky::convo::ConvoView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::Did; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::chat_bsky::convo::ConvoView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetConvoAvailability { pub members: Vec>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetConvoAvailabilityOutput { pub can_chat: bool, #[serde(skip_serializing_if = "Option::is_none")] @@ -61,7 +66,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetConvoAvailabilityRequest { pub mod get_convo_availability_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -92,10 +97,7 @@ pub mod get_convo_availability_state { } /// Builder for constructing an instance of this type. -pub struct GetConvoAvailabilityBuilder< - S: BosStr, - St: get_convo_availability_state::State, -> { +pub struct GetConvoAvailabilityBuilder { _state: PhantomData St>, _fields: (Option>>,), _type: PhantomData S>, @@ -149,4 +151,4 @@ where members: self._fields.0.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/chat_bsky/convo/get_convo_for_members.rs b/crates/jacquard-api/src/chat_bsky/convo/get_convo_for_members.rs index 136acf75..93343abb 100644 --- a/crates/jacquard-api/src/chat_bsky/convo/get_convo_for_members.rs +++ b/crates/jacquard-api/src/chat_bsky/convo/get_convo_for_members.rs @@ -8,25 +8,30 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::chat_bsky::convo::ConvoView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::Did; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::chat_bsky::convo::ConvoView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetConvoForMembers { pub members: Vec>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetConvoForMembersOutput { pub convo: ConvoView, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -59,7 +64,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetConvoForMembersRequest { pub mod get_convo_for_members_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -144,4 +149,4 @@ where members: self._fields.0.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/chat_bsky/convo/get_log.rs b/crates/jacquard-api/src/chat_bsky/convo/get_log.rs index 52872bb1..db402788 100644 --- a/crates/jacquard-api/src/chat_bsky/convo/get_log.rs +++ b/crates/jacquard-api/src/chat_bsky/convo/get_log.rs @@ -8,13 +8,6 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; -#[allow(unused_imports)] -use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; -use jacquard_common::deps::smol_str::SmolStr; -use jacquard_common::types::value::Data; -use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; use crate::chat_bsky::convo::LogAcceptConvo; use crate::chat_bsky::convo::LogAddReaction; use crate::chat_bsky::convo::LogBeginConvo; @@ -25,17 +18,29 @@ use crate::chat_bsky::convo::LogMuteConvo; use crate::chat_bsky::convo::LogReadMessage; use crate::chat_bsky::convo::LogRemoveReaction; use crate::chat_bsky::convo::LogUnmuteConvo; +#[allow(unused_imports)] +use core::marker::PhantomData; +use jacquard_common::deps::smol_str::SmolStr; +use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; +use jacquard_derive::{IntoStatic, open_union}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetLog { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetLogOutput { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -44,7 +49,6 @@ pub struct GetLogOutput { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -97,7 +101,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetLogRequest { pub mod get_log_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -158,6 +162,8 @@ where { /// Build the final struct. pub fn build(self) -> GetLog { - GetLog { cursor: self._fields.0 } + GetLog { + cursor: self._fields.0, + } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/chat_bsky/convo/get_messages.rs b/crates/jacquard-api/src/chat_bsky/convo/get_messages.rs index 8c5515a1..a18168bd 100644 --- a/crates/jacquard-api/src/chat_bsky/convo/get_messages.rs +++ b/crates/jacquard-api/src/chat_bsky/convo/get_messages.rs @@ -8,18 +8,21 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::chat_bsky::convo::DeletedMessageView; +use crate::chat_bsky::convo::MessageView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; -use crate::chat_bsky::convo::DeletedMessageView; -use crate::chat_bsky::convo::MessageView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetMessages { pub convo_id: S, #[serde(skip_serializing_if = "Option::is_none")] @@ -30,9 +33,11 @@ pub struct GetMessages { pub limit: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetMessagesOutput { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -41,7 +46,6 @@ pub struct GetMessagesOutput { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -82,7 +86,7 @@ fn _default_limit() -> Option { pub mod get_messages_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -195,4 +199,4 @@ where limit: self._fields.2, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/chat_bsky/convo/leave_convo.rs b/crates/jacquard-api/src/chat_bsky/convo/leave_convo.rs index 8d451e83..2ec1647e 100644 --- a/crates/jacquard-api/src/chat_bsky/convo/leave_convo.rs +++ b/crates/jacquard-api/src/chat_bsky/convo/leave_convo.rs @@ -10,23 +10,28 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct LeaveConvo { pub convo_id: S, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct LeaveConvoOutput { pub convo_id: S, pub rev: S, @@ -45,9 +50,8 @@ impl jacquard_common::xrpc::XrpcResp for LeaveConvoResponse { impl jacquard_common::xrpc::XrpcRequest for LeaveConvo { const NSID: &'static str = "chat.bsky.convo.leaveConvo"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = LeaveConvoResponse; } @@ -55,9 +59,8 @@ impl jacquard_common::xrpc::XrpcRequest for LeaveConvo { pub struct LeaveConvoRequest; impl jacquard_common::xrpc::XrpcEndpoint for LeaveConvoRequest { const PATH: &'static str = "/xrpc/chat.bsky.convo.leaveConvo"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = LeaveConvo; type Response = LeaveConvoResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/chat_bsky/convo/list_convos.rs b/crates/jacquard-api/src/chat_bsky/convo/list_convos.rs index 5439faea..a0b11b3a 100644 --- a/crates/jacquard-api/src/chat_bsky/convo/list_convos.rs +++ b/crates/jacquard-api/src/chat_bsky/convo/list_convos.rs @@ -8,17 +8,20 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::chat_bsky::convo::ConvoView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::chat_bsky::convo::ConvoView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ListConvos { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -32,9 +35,11 @@ pub struct ListConvos { pub status: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ListConvosOutput { pub convos: Vec>, #[serde(skip_serializing_if = "Option::is_none")] @@ -73,7 +78,7 @@ fn _default_limit() -> Option { pub mod list_convos_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -180,4 +185,4 @@ where status: self._fields.3, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/chat_bsky/convo/mute_convo.rs b/crates/jacquard-api/src/chat_bsky/convo/mute_convo.rs index d1a5ee88..86a9f9a2 100644 --- a/crates/jacquard-api/src/chat_bsky/convo/mute_convo.rs +++ b/crates/jacquard-api/src/chat_bsky/convo/mute_convo.rs @@ -8,26 +8,31 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::chat_bsky::convo::ConvoView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::chat_bsky::convo::ConvoView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct MuteConvo { pub convo_id: S, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct MuteConvoOutput { pub convo: ConvoView, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -45,9 +50,8 @@ impl jacquard_common::xrpc::XrpcResp for MuteConvoResponse { impl jacquard_common::xrpc::XrpcRequest for MuteConvo { const NSID: &'static str = "chat.bsky.convo.muteConvo"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = MuteConvoResponse; } @@ -55,9 +59,8 @@ impl jacquard_common::xrpc::XrpcRequest for MuteConvo { pub struct MuteConvoRequest; impl jacquard_common::xrpc::XrpcEndpoint for MuteConvoRequest { const PATH: &'static str = "/xrpc/chat.bsky.convo.muteConvo"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = MuteConvo; type Response = MuteConvoResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/chat_bsky/convo/remove_reaction.rs b/crates/jacquard-api/src/chat_bsky/convo/remove_reaction.rs index 84ce10ac..6a6cf4ab 100644 --- a/crates/jacquard-api/src/chat_bsky/convo/remove_reaction.rs +++ b/crates/jacquard-api/src/chat_bsky/convo/remove_reaction.rs @@ -8,17 +8,20 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::chat_bsky::convo::MessageView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; -use crate::chat_bsky::convo::MessageView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct RemoveReaction { pub convo_id: S, pub message_id: S, @@ -27,27 +30,20 @@ pub struct RemoveReaction { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct RemoveReactionOutput { pub message: MessageView, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum RemoveReactionError { /// Indicates that the message has been deleted and reactions can no longer be added/removed. @@ -58,7 +54,10 @@ pub enum RemoveReactionError { ReactionInvalidValue(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for RemoveReactionError { @@ -100,9 +99,8 @@ impl jacquard_common::xrpc::XrpcResp for RemoveReactionResponse { impl jacquard_common::xrpc::XrpcRequest for RemoveReaction { const NSID: &'static str = "chat.bsky.convo.removeReaction"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = RemoveReactionResponse; } @@ -110,9 +108,8 @@ impl jacquard_common::xrpc::XrpcRequest for RemoveReaction { pub struct RemoveReactionRequest; impl jacquard_common::xrpc::XrpcEndpoint for RemoveReactionRequest { const PATH: &'static str = "/xrpc/chat.bsky.convo.removeReaction"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = RemoveReaction; type Response = RemoveReactionResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/chat_bsky/convo/send_message.rs b/crates/jacquard-api/src/chat_bsky/convo/send_message.rs index f809b344..9a522904 100644 --- a/crates/jacquard-api/src/chat_bsky/convo/send_message.rs +++ b/crates/jacquard-api/src/chat_bsky/convo/send_message.rs @@ -8,18 +8,21 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::chat_bsky::convo::MessageInput; +use crate::chat_bsky::convo::MessageView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::chat_bsky::convo::MessageInput; -use crate::chat_bsky::convo::MessageView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct SendMessage { pub convo_id: S, pub message: MessageInput, @@ -27,9 +30,11 @@ pub struct SendMessage { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct SendMessageOutput { #[serde(flatten)] pub value: MessageView, @@ -48,9 +53,8 @@ impl jacquard_common::xrpc::XrpcResp for SendMessageResponse { impl jacquard_common::xrpc::XrpcRequest for SendMessage { const NSID: &'static str = "chat.bsky.convo.sendMessage"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = SendMessageResponse; } @@ -58,16 +62,15 @@ impl jacquard_common::xrpc::XrpcRequest for SendMessage { pub struct SendMessageRequest; impl jacquard_common::xrpc::XrpcEndpoint for SendMessageRequest { const PATH: &'static str = "/xrpc/chat.bsky.convo.sendMessage"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = SendMessage; type Response = SendMessageResponse; } pub mod send_message_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -187,14 +190,11 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> SendMessage { + pub fn build_with_data(self, extra_data: BTreeMap>) -> SendMessage { SendMessage { convo_id: self._fields.0.unwrap(), message: self._fields.1.unwrap(), extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/chat_bsky/convo/send_message_batch.rs b/crates/jacquard-api/src/chat_bsky/convo/send_message_batch.rs index f85ec877..a51d1450 100644 --- a/crates/jacquard-api/src/chat_bsky/convo/send_message_batch.rs +++ b/crates/jacquard-api/src/chat_bsky/convo/send_message_batch.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -20,15 +20,18 @@ use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::chat_bsky::convo::MessageInput; use crate::chat_bsky::convo::MessageView; use crate::chat_bsky::convo::send_message_batch; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct BatchItem { pub convo_id: S, pub message: MessageInput, @@ -36,18 +39,22 @@ pub struct BatchItem { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct SendMessageBatch { pub items: Vec>, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct SendMessageBatchOutput { pub items: Vec>, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -80,9 +87,8 @@ impl jacquard_common::xrpc::XrpcResp for SendMessageBatchResponse { impl jacquard_common::xrpc::XrpcRequest for SendMessageBatch { const NSID: &'static str = "chat.bsky.convo.sendMessageBatch"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = SendMessageBatchResponse; } @@ -90,16 +96,15 @@ impl jacquard_common::xrpc::XrpcRequest for SendMessageBatch { pub struct SendMessageBatchRequest; impl jacquard_common::xrpc::XrpcEndpoint for SendMessageBatchRequest { const PATH: &'static str = "/xrpc/chat.bsky.convo.sendMessageBatch"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = SendMessageBatch; type Response = SendMessageBatchResponse; } pub mod batch_item_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -219,10 +224,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> BatchItem { + pub fn build_with_data(self, extra_data: BTreeMap>) -> BatchItem { BatchItem { convo_id: self._fields.0.unwrap(), message: self._fields.1.unwrap(), @@ -232,10 +234,10 @@ where } fn lexicon_doc_chat_bsky_convo_sendMessageBatch() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("chat.bsky.convo.sendMessageBatch"), @@ -244,25 +246,23 @@ fn lexicon_doc_chat_bsky_convo_sendMessageBatch() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("batchItem"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("convoId"), - SmolStr::new_static("message") - ], - ), + required: Some(vec![ + SmolStr::new_static("convoId"), + SmolStr::new_static("message"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("convoId"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("message"), LexObjectProperty::Ref(LexRef { - r#ref: CowStr::new_static( - "chat.bsky.convo.defs#messageInput", - ), + r#ref: CowStr::new_static("chat.bsky.convo.defs#messageInput"), ..Default::default() }), ); @@ -276,28 +276,26 @@ fn lexicon_doc_chat_bsky_convo_sendMessageBatch() -> LexiconDoc<'static> { LexUserType::XrpcProcedure(LexXrpcProcedure { input: Some(LexXrpcBody { encoding: CowStr::new_static("application/json"), - schema: Some( - LexXrpcBodySchema::Object(LexObject { - required: Some(vec![SmolStr::new_static("items")]), - properties: { - #[allow(unused_mut)] - let mut map = BTreeMap::new(); - map.insert( - SmolStr::new_static("items"), - LexObjectProperty::Array(LexArray { - items: LexArrayItem::Ref(LexRef { - r#ref: CowStr::new_static("#batchItem"), - ..Default::default() - }), - max_length: Some(100usize), + schema: Some(LexXrpcBodySchema::Object(LexObject { + required: Some(vec![SmolStr::new_static("items")]), + properties: { + #[allow(unused_mut)] + let mut map = BTreeMap::new(); + map.insert( + SmolStr::new_static("items"), + LexObjectProperty::Array(LexArray { + items: LexArrayItem::Ref(LexRef { + r#ref: CowStr::new_static("#batchItem"), ..Default::default() }), - ); - map - }, - ..Default::default() - }), - ), + max_length: Some(100usize), + ..Default::default() + }), + ); + map + }, + ..Default::default() + })), ..Default::default() }), ..Default::default() @@ -311,7 +309,7 @@ fn lexicon_doc_chat_bsky_convo_sendMessageBatch() -> LexiconDoc<'static> { pub mod send_message_batch_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -398,13 +396,10 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> SendMessageBatch { + pub fn build_with_data(self, extra_data: BTreeMap>) -> SendMessageBatch { SendMessageBatch { items: self._fields.0.unwrap(), extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/chat_bsky/convo/unmute_convo.rs b/crates/jacquard-api/src/chat_bsky/convo/unmute_convo.rs index 250a702a..670bb064 100644 --- a/crates/jacquard-api/src/chat_bsky/convo/unmute_convo.rs +++ b/crates/jacquard-api/src/chat_bsky/convo/unmute_convo.rs @@ -8,26 +8,31 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::chat_bsky::convo::ConvoView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::chat_bsky::convo::ConvoView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct UnmuteConvo { pub convo_id: S, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct UnmuteConvoOutput { pub convo: ConvoView, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -45,9 +50,8 @@ impl jacquard_common::xrpc::XrpcResp for UnmuteConvoResponse { impl jacquard_common::xrpc::XrpcRequest for UnmuteConvo { const NSID: &'static str = "chat.bsky.convo.unmuteConvo"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = UnmuteConvoResponse; } @@ -55,9 +59,8 @@ impl jacquard_common::xrpc::XrpcRequest for UnmuteConvo { pub struct UnmuteConvoRequest; impl jacquard_common::xrpc::XrpcEndpoint for UnmuteConvoRequest { const PATH: &'static str = "/xrpc/chat.bsky.convo.unmuteConvo"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = UnmuteConvo; type Response = UnmuteConvoResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/chat_bsky/convo/update_all_read.rs b/crates/jacquard-api/src/chat_bsky/convo/update_all_read.rs index 08637d5f..b804b38f 100644 --- a/crates/jacquard-api/src/chat_bsky/convo/update_all_read.rs +++ b/crates/jacquard-api/src/chat_bsky/convo/update_all_read.rs @@ -10,14 +10,17 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct UpdateAllRead { #[serde(skip_serializing_if = "Option::is_none")] pub status: Option>, @@ -25,7 +28,6 @@ pub struct UpdateAllRead { pub extra_data: Option>>, } - #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum UpdateAllReadStatus { Request, @@ -103,9 +105,11 @@ where } } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct UpdateAllReadOutput { ///The count of updated convos. pub updated_count: i64, @@ -124,9 +128,8 @@ impl jacquard_common::xrpc::XrpcResp for UpdateAllReadResponse { impl jacquard_common::xrpc::XrpcRequest for UpdateAllRead { const NSID: &'static str = "chat.bsky.convo.updateAllRead"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = UpdateAllReadResponse; } @@ -134,9 +137,8 @@ impl jacquard_common::xrpc::XrpcRequest for UpdateAllRead { pub struct UpdateAllReadRequest; impl jacquard_common::xrpc::XrpcEndpoint for UpdateAllReadRequest { const PATH: &'static str = "/xrpc/chat.bsky.convo.updateAllRead"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = UpdateAllRead; type Response = UpdateAllReadResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/chat_bsky/convo/update_read.rs b/crates/jacquard-api/src/chat_bsky/convo/update_read.rs index 7310d676..c952f3d5 100644 --- a/crates/jacquard-api/src/chat_bsky/convo/update_read.rs +++ b/crates/jacquard-api/src/chat_bsky/convo/update_read.rs @@ -8,17 +8,20 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::chat_bsky::convo::ConvoView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::chat_bsky::convo::ConvoView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct UpdateRead { pub convo_id: S, #[serde(skip_serializing_if = "Option::is_none")] @@ -27,9 +30,11 @@ pub struct UpdateRead { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct UpdateReadOutput { pub convo: ConvoView, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -47,9 +52,8 @@ impl jacquard_common::xrpc::XrpcResp for UpdateReadResponse { impl jacquard_common::xrpc::XrpcRequest for UpdateRead { const NSID: &'static str = "chat.bsky.convo.updateRead"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = UpdateReadResponse; } @@ -57,9 +61,8 @@ impl jacquard_common::xrpc::XrpcRequest for UpdateRead { pub struct UpdateReadRequest; impl jacquard_common::xrpc::XrpcEndpoint for UpdateReadRequest { const PATH: &'static str = "/xrpc/chat.bsky.convo.updateRead"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = UpdateRead; type Response = UpdateReadResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/chat_bsky/moderation.rs b/crates/jacquard-api/src/chat_bsky/moderation.rs index 6b847c84..44302825 100644 --- a/crates/jacquard-api/src/chat_bsky/moderation.rs +++ b/crates/jacquard-api/src/chat_bsky/moderation.rs @@ -5,4 +5,4 @@ pub mod get_actor_metadata; pub mod get_message_context; -pub mod update_actor_access; \ No newline at end of file +pub mod update_actor_access; diff --git a/crates/jacquard-api/src/chat_bsky/moderation/get_actor_metadata.rs b/crates/jacquard-api/src/chat_bsky/moderation/get_actor_metadata.rs index 9fb02527..e052a4a9 100644 --- a/crates/jacquard-api/src/chat_bsky/moderation/get_actor_metadata.rs +++ b/crates/jacquard-api/src/chat_bsky/moderation/get_actor_metadata.rs @@ -21,20 +21,25 @@ use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::chat_bsky::moderation::get_actor_metadata; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::chat_bsky::moderation::get_actor_metadata; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetActorMetadata { pub actor: Did, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetActorMetadataOutput { pub all: get_actor_metadata::Metadata, pub day: get_actor_metadata::Metadata, @@ -43,9 +48,11 @@ pub struct GetActorMetadataOutput { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Metadata { pub convos: i64, pub convos_started: i64, @@ -96,7 +103,7 @@ impl LexiconSchema for Metadata { pub mod get_actor_metadata_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -185,7 +192,7 @@ where pub mod metadata_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -389,10 +396,10 @@ where } fn lexicon_doc_chat_bsky_moderation_getActorMetadata() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("chat.bsky.moderation.getActorMetadata"), @@ -401,38 +408,34 @@ fn lexicon_doc_chat_bsky_moderation_getActorMetadata() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::XrpcQuery(LexXrpcQuery { - parameters: Some( - LexXrpcQueryParameter::Params(LexXrpcParameters { - required: Some(vec![SmolStr::new_static("actor")]), - properties: { - #[allow(unused_mut)] - let mut map = BTreeMap::new(); - map.insert( - SmolStr::new_static("actor"), - LexXrpcParametersProperty::String(LexString { - format: Some(LexStringFormat::Did), - ..Default::default() - }), - ); - map - }, - ..Default::default() - }), - ), + parameters: Some(LexXrpcQueryParameter::Params(LexXrpcParameters { + required: Some(vec![SmolStr::new_static("actor")]), + properties: { + #[allow(unused_mut)] + let mut map = BTreeMap::new(); + map.insert( + SmolStr::new_static("actor"), + LexXrpcParametersProperty::String(LexString { + format: Some(LexStringFormat::Did), + ..Default::default() + }), + ); + map + }, + ..Default::default() + })), ..Default::default() }), ); map.insert( SmolStr::new_static("metadata"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("messagesSent"), - SmolStr::new_static("messagesReceived"), - SmolStr::new_static("convos"), - SmolStr::new_static("convosStarted") - ], - ), + required: Some(vec![ + SmolStr::new_static("messagesSent"), + SmolStr::new_static("messagesReceived"), + SmolStr::new_static("convos"), + SmolStr::new_static("convosStarted"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -469,4 +472,4 @@ fn lexicon_doc_chat_bsky_moderation_getActorMetadata() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/chat_bsky/moderation/get_message_context.rs b/crates/jacquard-api/src/chat_bsky/moderation/get_message_context.rs index 5ebb15d5..d37af4e5 100644 --- a/crates/jacquard-api/src/chat_bsky/moderation/get_message_context.rs +++ b/crates/jacquard-api/src/chat_bsky/moderation/get_message_context.rs @@ -8,18 +8,21 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::chat_bsky::convo::DeletedMessageView; +use crate::chat_bsky::convo::MessageView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; -use crate::chat_bsky::convo::DeletedMessageView; -use crate::chat_bsky::convo::MessageView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetMessageContext { ///Defaults to `5`. #[serde(default = "_default_after")] @@ -34,16 +37,17 @@ pub struct GetMessageContext { pub message_id: S, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetMessageContextOutput { pub messages: Vec>, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -88,7 +92,7 @@ fn _default_before() -> Option { pub mod get_message_context_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -215,4 +219,4 @@ where message_id: self._fields.3.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/chat_bsky/moderation/update_actor_access.rs b/crates/jacquard-api/src/chat_bsky/moderation/update_actor_access.rs index 63f31d7b..0d3a5b3a 100644 --- a/crates/jacquard-api/src/chat_bsky/moderation/update_actor_access.rs +++ b/crates/jacquard-api/src/chat_bsky/moderation/update_actor_access.rs @@ -10,15 +10,18 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::Did; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct UpdateActorAccess { pub actor: Did, pub allow_access: bool, @@ -39,9 +42,8 @@ impl jacquard_common::xrpc::XrpcResp for UpdateActorAccessResponse { impl jacquard_common::xrpc::XrpcRequest for UpdateActorAccess { const NSID: &'static str = "chat.bsky.moderation.updateActorAccess"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = UpdateActorAccessResponse; } @@ -49,16 +51,15 @@ impl jacquard_common::xrpc::XrpcRequest for UpdateActorAccess { pub struct UpdateActorAccessRequest; impl jacquard_common::xrpc::XrpcEndpoint for UpdateActorAccessRequest { const PATH: &'static str = "/xrpc/chat.bsky.moderation.updateActorAccess"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = UpdateActorAccess; type Response = UpdateActorAccessResponse; } pub mod update_actor_access_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -192,10 +193,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> UpdateActorAccess { + pub fn build_with_data(self, extra_data: BTreeMap>) -> UpdateActorAccess { UpdateActorAccess { actor: self._fields.0.unwrap(), allow_access: self._fields.1.unwrap(), @@ -203,4 +201,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/chat_firehose.rs b/crates/jacquard-api/src/chat_firehose.rs index cd840e61..209ad76a 100644 --- a/crates/jacquard-api/src/chat_firehose.rs +++ b/crates/jacquard-api/src/chat_firehose.rs @@ -3,4 +3,4 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. -pub mod get_user_channels; \ No newline at end of file +pub mod get_user_channels; diff --git a/crates/jacquard-api/src/chat_firehose/get_user_channels.rs b/crates/jacquard-api/src/chat_firehose/get_user_channels.rs index ef91ca8f..e6268249 100644 --- a/crates/jacquard-api/src/chat_firehose/get_user_channels.rs +++ b/crates/jacquard-api/src/chat_firehose/get_user_channels.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -20,13 +20,16 @@ use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::chat_firehose::get_user_channels; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::chat_firehose::get_user_channels; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Channel { #[serde(skip_serializing_if = "Option::is_none")] pub name: Option, @@ -36,9 +39,11 @@ pub struct Channel { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetUserChannelsOutput { #[serde(skip_serializing_if = "Option::is_none")] pub channels: Option>>, @@ -90,10 +95,10 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetUserChannelsRequest { } fn lexicon_doc_chat_firehose_getUserChannels() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("chat.firehose.getUserChannels"), @@ -107,11 +112,15 @@ fn lexicon_doc_chat_firehose_getUserChannels() -> LexiconDoc<'static> { let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("name"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("uri"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map }, @@ -129,4 +138,4 @@ fn lexicon_doc_chat_firehose_getUserChannels() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/city_yoyle.rs b/crates/jacquard-api/src/city_yoyle.rs index cbaa2578..5d98b17f 100644 --- a/crates/jacquard-api/src/city_yoyle.rs +++ b/crates/jacquard-api/src/city_yoyle.rs @@ -3,4 +3,4 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. -pub mod status; \ No newline at end of file +pub mod status; diff --git a/crates/jacquard-api/src/city_yoyle/status.rs b/crates/jacquard-api/src/city_yoyle/status.rs index 7f3d6f24..7500708f 100644 --- a/crates/jacquard-api/src/city_yoyle/status.rs +++ b/crates/jacquard-api/src/city_yoyle/status.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// Short status update #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -129,7 +129,7 @@ impl LexiconSchema for Status { pub mod status_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -203,10 +203,7 @@ where St::Text: status_state::IsUnset, { /// Set the `text` field (required) - pub fn text( - mut self, - value: impl Into, - ) -> StatusBuilder> { + pub fn text(mut self, value: impl Into) -> StatusBuilder> { self._fields.1 = Option::Some(value.into()); StatusBuilder { _state: PhantomData, @@ -240,10 +237,10 @@ where } fn lexicon_doc_city_yoyle_status() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("city.yoyle.status"), @@ -285,4 +282,4 @@ fn lexicon_doc_city_yoyle_status() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/club_stellz.rs b/crates/jacquard-api/src/club_stellz.rs index 98f3c485..20708d42 100644 --- a/crates/jacquard-api/src/club_stellz.rs +++ b/crates/jacquard-api/src/club_stellz.rs @@ -3,4 +3,4 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. -pub mod evm; \ No newline at end of file +pub mod evm; diff --git a/crates/jacquard-api/src/club_stellz/evm.rs b/crates/jacquard-api/src/club_stellz/evm.rs index d90cc9cd..92f69546 100644 --- a/crates/jacquard-api/src/club_stellz/evm.rs +++ b/crates/jacquard-api/src/club_stellz/evm.rs @@ -3,4 +3,4 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. -pub mod address_control; \ No newline at end of file +pub mod address_control; diff --git a/crates/jacquard-api/src/club_stellz/evm/address_control.rs b/crates/jacquard-api/src/club_stellz/evm/address_control.rs index bad3139b..74306a10 100644 --- a/crates/jacquard-api/src/club_stellz/evm/address_control.rs +++ b/crates/jacquard-api/src/club_stellz/evm/address_control.rs @@ -10,8 +10,8 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::bytes::Bytes; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -22,13 +22,16 @@ use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::club_stellz::evm::address_control; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::club_stellz::evm::address_control; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct AddressControl { ///Ethereum address as bytes (20 bytes) #[serde(with = "jacquard_common::serde_bytes_helper")] @@ -44,9 +47,11 @@ pub struct AddressControl { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct SiweMessage { ///Ethereum address in 0x-prefixed, checksummed hex format pub address: S, @@ -155,7 +160,7 @@ impl LexiconSchema for SiweMessage { pub mod address_control_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -329,10 +334,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> AddressControl { + pub fn build_with_data(self, extra_data: BTreeMap>) -> AddressControl { AddressControl { address: self._fields.0.unwrap(), also_on: self._fields.1, @@ -344,10 +346,10 @@ where } fn lexicon_doc_club_stellz_evm_addressControl() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("club.stellz.evm.addressControl"), @@ -514,7 +516,7 @@ fn lexicon_doc_club_stellz_evm_addressControl() -> LexiconDoc<'static> { pub mod siwe_message_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -883,10 +885,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> SiweMessage { + pub fn build_with_data(self, extra_data: BTreeMap>) -> SiweMessage { SiweMessage { address: self._fields.0.unwrap(), chain_id: self._fields.1.unwrap(), @@ -899,4 +898,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com__5jiji.rs b/crates/jacquard-api/src/com__5jiji.rs index c7b0a859..7a00fc65 100644 --- a/crates/jacquard-api/src/com__5jiji.rs +++ b/crates/jacquard-api/src/com__5jiji.rs @@ -3,4 +3,4 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. -pub mod test; \ No newline at end of file +pub mod test; diff --git a/crates/jacquard-api/src/com__5jiji/test.rs b/crates/jacquard-api/src/com__5jiji/test.rs index 70ad8f5c..b582a119 100644 --- a/crates/jacquard-api/src/com__5jiji/test.rs +++ b/crates/jacquard-api/src/com__5jiji/test.rs @@ -5,4 +5,4 @@ pub mod list_videos; pub mod publish_video; -pub mod videos; \ No newline at end of file +pub mod videos; diff --git a/crates/jacquard-api/src/com__5jiji/test/list_videos.rs b/crates/jacquard-api/src/com__5jiji/test/list_videos.rs index 42915e44..558434ed 100644 --- a/crates/jacquard-api/src/com__5jiji/test/list_videos.rs +++ b/crates/jacquard-api/src/com__5jiji/test/list_videos.rs @@ -10,12 +10,12 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::bytes::Bytes; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(rename_all = "camelCase")] @@ -50,4 +50,4 @@ impl jacquard_common::xrpc::XrpcEndpoint for ListVideosRequest { const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Query; type Request = ListVideos; type Response = ListVideosResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com__5jiji/test/publish_video.rs b/crates/jacquard-api/src/com__5jiji/test/publish_video.rs index 81f5a7b2..e16a13d8 100644 --- a/crates/jacquard-api/src/com__5jiji/test/publish_video.rs +++ b/crates/jacquard-api/src/com__5jiji/test/publish_video.rs @@ -10,12 +10,12 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::bytes::Bytes; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(rename_all = "camelCase")] @@ -23,25 +23,15 @@ pub struct PublishVideo { pub body: Bytes, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(rename_all = "camelCase")] pub struct PublishVideoOutput { pub body: Bytes, } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum PublishVideoError { /// The uploaded file was not a video file (or couldn't get converted to a valid video @@ -49,7 +39,10 @@ pub enum PublishVideoError { NotAVideo(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for PublishVideoError { @@ -84,22 +77,16 @@ impl jacquard_common::xrpc::XrpcResp for PublishVideoResponse { impl jacquard_common::xrpc::XrpcRequest for PublishVideo { const NSID: &'static str = "com.5jiji.test.publishVideo"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "*/*", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("*/*"); type Response = PublishVideoResponse; - fn encode_body( - &self, - buffer: &mut Vec, - ) -> Result<(), jacquard_common::xrpc::EncodeError> + fn encode_body(&self, buffer: &mut Vec) -> Result<(), jacquard_common::xrpc::EncodeError> where Self: Serialize, { Ok(buffer.copy_from_slice(self.body.as_ref())) } - fn decode_body<'de>( - body: &'de [u8], - ) -> Result + fn decode_body<'de>(body: &'de [u8]) -> Result where Self: Deserialize<'de>, { @@ -113,9 +100,8 @@ impl jacquard_common::xrpc::XrpcRequest for PublishVideo { pub struct PublishVideoRequest; impl jacquard_common::xrpc::XrpcEndpoint for PublishVideoRequest { const PATH: &'static str = "/xrpc/com.5jiji.test.publishVideo"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "*/*", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("*/*"); type Request = PublishVideo; type Response = PublishVideoResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com__5jiji/test/videos.rs b/crates/jacquard-api/src/com__5jiji/test/videos.rs index 48c3eccc..741de009 100644 --- a/crates/jacquard-api/src/com__5jiji/test/videos.rs +++ b/crates/jacquard-api/src/com__5jiji/test/videos.rs @@ -10,13 +10,13 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::collection::{Collection, RecordError}; -use jacquard_common::types::string::{Did, AtUri, Cid}; +use jacquard_common::types::string::{AtUri, Cid, Did}; use jacquard_common::types::uri::{RecordUri, UriError}; use jacquard_common::types::value::Data; use jacquard_common::xrpc::XrpcResp; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// A video #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -118,7 +118,7 @@ impl LexiconSchema for Videos { pub mod videos_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -224,10 +224,7 @@ where St::Id: videos_state::IsUnset, { /// Set the `id` field (required) - pub fn id( - mut self, - value: impl Into>, - ) -> VideosBuilder> { + pub fn id(mut self, value: impl Into>) -> VideosBuilder> { self._fields.1 = Option::Some(value.into()); VideosBuilder { _state: PhantomData, @@ -243,10 +240,7 @@ where St::Title: videos_state::IsUnset, { /// Set the `title` field (required) - pub fn title( - mut self, - value: impl Into, - ) -> VideosBuilder> { + pub fn title(mut self, value: impl Into) -> VideosBuilder> { self._fields.2 = Option::Some(value.into()); VideosBuilder { _state: PhantomData, @@ -284,10 +278,10 @@ where } fn lexicon_doc_com_5jiji_test_videos() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("com.5jiji.test.videos"), @@ -299,12 +293,11 @@ fn lexicon_doc_com_5jiji_test_videos() -> LexiconDoc<'static> { description: Some(CowStr::new_static("A video")), key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("id"), SmolStr::new_static("title"), - SmolStr::new_static("creator") - ], - ), + required: Some(vec![ + SmolStr::new_static("id"), + SmolStr::new_static("title"), + SmolStr::new_static("creator"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -340,4 +333,4 @@ fn lexicon_doc_com_5jiji_test_videos() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_alephcubed.rs b/crates/jacquard-api/src/com_alephcubed.rs index 946c1793..0e39153c 100644 --- a/crates/jacquard-api/src/com_alephcubed.rs +++ b/crates/jacquard-api/src/com_alephcubed.rs @@ -3,4 +3,4 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. -pub mod starmark; \ No newline at end of file +pub mod starmark; diff --git a/crates/jacquard-api/src/com_alephcubed/starmark.rs b/crates/jacquard-api/src/com_alephcubed/starmark.rs index 17a79f88..6ba545f8 100644 --- a/crates/jacquard-api/src/com_alephcubed/starmark.rs +++ b/crates/jacquard-api/src/com_alephcubed/starmark.rs @@ -3,4 +3,4 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. -pub mod review; \ No newline at end of file +pub mod review; diff --git a/crates/jacquard-api/src/com_alephcubed/starmark/review.rs b/crates/jacquard-api/src/com_alephcubed/starmark/review.rs index ed1c63fa..aa65dad3 100644 --- a/crates/jacquard-api/src/com_alephcubed/starmark/review.rs +++ b/crates/jacquard-api/src/com_alephcubed/starmark/review.rs @@ -6,4 +6,4 @@ pub mod book; pub mod game; pub mod movie; -pub mod tvshow; \ No newline at end of file +pub mod tvshow; diff --git a/crates/jacquard-api/src/com_alephcubed/starmark/review/book.rs b/crates/jacquard-api/src/com_alephcubed/starmark/review/book.rs index 3804ea01..7f8ea5cd 100644 --- a/crates/jacquard-api/src/com_alephcubed/starmark/review/book.rs +++ b/crates/jacquard-api/src/com_alephcubed/starmark/review/book.rs @@ -7,7 +7,7 @@ use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// A type of media that can be reviewed #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Hash)] @@ -16,4 +16,4 @@ impl core::fmt::Display for Book { fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { write!(f, "main") } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_alephcubed/starmark/review/game.rs b/crates/jacquard-api/src/com_alephcubed/starmark/review/game.rs index 8908f801..5a31bbb5 100644 --- a/crates/jacquard-api/src/com_alephcubed/starmark/review/game.rs +++ b/crates/jacquard-api/src/com_alephcubed/starmark/review/game.rs @@ -7,7 +7,7 @@ use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// A type of media that can be reviewed #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Hash)] @@ -16,4 +16,4 @@ impl core::fmt::Display for Game { fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { write!(f, "main") } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_alephcubed/starmark/review/movie.rs b/crates/jacquard-api/src/com_alephcubed/starmark/review/movie.rs index 4ce72bbd..834aa8fe 100644 --- a/crates/jacquard-api/src/com_alephcubed/starmark/review/movie.rs +++ b/crates/jacquard-api/src/com_alephcubed/starmark/review/movie.rs @@ -7,7 +7,7 @@ use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// A type of media that can be reviewed #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Hash)] @@ -16,4 +16,4 @@ impl core::fmt::Display for Movie { fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { write!(f, "main") } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_alephcubed/starmark/review/tvshow.rs b/crates/jacquard-api/src/com_alephcubed/starmark/review/tvshow.rs index e38da336..0d4bda49 100644 --- a/crates/jacquard-api/src/com_alephcubed/starmark/review/tvshow.rs +++ b/crates/jacquard-api/src/com_alephcubed/starmark/review/tvshow.rs @@ -7,7 +7,7 @@ use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// A type of media that can be reviewed #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Hash)] @@ -16,4 +16,4 @@ impl core::fmt::Display for Tvshow { fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { write!(f, "main") } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto.rs b/crates/jacquard-api/src/com_atproto.rs index 871babe7..93bc7252 100644 --- a/crates/jacquard-api/src/com_atproto.rs +++ b/crates/jacquard-api/src/com_atproto.rs @@ -11,4 +11,4 @@ pub mod moderation; pub mod repo; pub mod server; pub mod sync; -pub mod temp; \ No newline at end of file +pub mod temp; diff --git a/crates/jacquard-api/src/com_atproto/admin.rs b/crates/jacquard-api/src/com_atproto/admin.rs index a801b50e..c632c2fc 100644 --- a/crates/jacquard-api/src/com_atproto/admin.rs +++ b/crates/jacquard-api/src/com_atproto/admin.rs @@ -21,31 +21,33 @@ pub mod update_account_password; pub mod update_account_signing_key; pub mod update_subject_status; - #[allow(unused_imports)] use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; use jacquard_common::deps::smol_str::SmolStr; -use jacquard_common::types::string::{Did, Handle, AtUri, Cid, Datetime}; +use jacquard_common::types::string::{AtUri, Cid, Datetime, Did, Handle}; use jacquard_common::types::value::Data; use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::com_atproto::admin; +use crate::com_atproto::server::InviteCode; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::com_atproto::server::InviteCode; -use crate::com_atproto::admin; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct AccountView { #[serde(skip_serializing_if = "Option::is_none")] pub deactivated_at: Option, @@ -72,9 +74,11 @@ pub struct AccountView { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct RepoBlobRef { pub cid: Cid, pub did: Did, @@ -84,18 +88,22 @@ pub struct RepoBlobRef { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct RepoRef { pub did: Did, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct StatusAttr { pub applied: bool, #[serde(skip_serializing_if = "Option::is_none")] @@ -104,9 +112,11 @@ pub struct StatusAttr { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ThreatSignature { pub property: S, pub value: S, @@ -191,7 +201,7 @@ impl LexiconSchema for ThreatSignature { pub mod account_view_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -280,18 +290,7 @@ impl AccountViewBuilder { AccountViewBuilder { _state: PhantomData, _fields: ( - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, + None, None, None, None, None, None, None, None, None, None, None, None, ), _type: PhantomData, } @@ -504,10 +503,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> AccountView { + pub fn build_with_data(self, extra_data: BTreeMap>) -> AccountView { AccountView { deactivated_at: self._fields.0, did: self._fields.1.unwrap(), @@ -527,10 +523,10 @@ where } fn lexicon_doc_com_atproto_admin_defs() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("com.atproto.admin.defs"), @@ -539,12 +535,11 @@ fn lexicon_doc_com_atproto_admin_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("accountView"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("did"), SmolStr::new_static("handle"), - SmolStr::new_static("indexedAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("did"), + SmolStr::new_static("handle"), + SmolStr::new_static("indexedAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -564,7 +559,9 @@ fn lexicon_doc_com_atproto_admin_defs() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("email"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("emailConfirmedAt"), @@ -589,14 +586,14 @@ fn lexicon_doc_com_atproto_admin_defs() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("inviteNote"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("invitedBy"), LexObjectProperty::Ref(LexRef { - r#ref: CowStr::new_static( - "com.atproto.server.defs#inviteCode", - ), + r#ref: CowStr::new_static("com.atproto.server.defs#inviteCode"), ..Default::default() }), ); @@ -604,9 +601,7 @@ fn lexicon_doc_com_atproto_admin_defs() -> LexiconDoc<'static> { SmolStr::new_static("invites"), LexObjectProperty::Array(LexArray { items: LexArrayItem::Ref(LexRef { - r#ref: CowStr::new_static( - "com.atproto.server.defs#inviteCode", - ), + r#ref: CowStr::new_static("com.atproto.server.defs#inviteCode"), ..Default::default() }), ..Default::default() @@ -645,9 +640,7 @@ fn lexicon_doc_com_atproto_admin_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("repoBlobRef"), LexUserType::Object(LexObject { - required: Some( - vec![SmolStr::new_static("did"), SmolStr::new_static("cid")], - ), + required: Some(vec![SmolStr::new_static("did"), SmolStr::new_static("cid")]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -711,7 +704,9 @@ fn lexicon_doc_com_atproto_admin_defs() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("ref"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map }, @@ -721,21 +716,24 @@ fn lexicon_doc_com_atproto_admin_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("threatSignature"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("property"), SmolStr::new_static("value") - ], - ), + required: Some(vec![ + SmolStr::new_static("property"), + SmolStr::new_static("value"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("property"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("value"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map }, @@ -750,7 +748,7 @@ fn lexicon_doc_com_atproto_admin_defs() -> LexiconDoc<'static> { pub mod repo_blob_ref_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -884,10 +882,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> RepoBlobRef { + pub fn build_with_data(self, extra_data: BTreeMap>) -> RepoBlobRef { RepoBlobRef { cid: self._fields.0.unwrap(), did: self._fields.1.unwrap(), @@ -899,7 +894,7 @@ where pub mod repo_ref_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -996,7 +991,7 @@ where pub mod status_attr_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -1097,14 +1092,11 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> StatusAttr { + pub fn build_with_data(self, extra_data: BTreeMap>) -> StatusAttr { StatusAttr { applied: self._fields.0.unwrap(), r#ref: self._fields.1, extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/admin/delete_account.rs b/crates/jacquard-api/src/com_atproto/admin/delete_account.rs index 37327447..28cc56f7 100644 --- a/crates/jacquard-api/src/com_atproto/admin/delete_account.rs +++ b/crates/jacquard-api/src/com_atproto/admin/delete_account.rs @@ -10,15 +10,18 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::Did; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DeleteAccount { pub did: Did, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -36,9 +39,8 @@ impl jacquard_common::xrpc::XrpcResp for DeleteAccountResponse { impl jacquard_common::xrpc::XrpcRequest for DeleteAccount { const NSID: &'static str = "com.atproto.admin.deleteAccount"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = DeleteAccountResponse; } @@ -46,16 +48,15 @@ impl jacquard_common::xrpc::XrpcRequest for DeleteAccount { pub struct DeleteAccountRequest; impl jacquard_common::xrpc::XrpcEndpoint for DeleteAccountRequest { const PATH: &'static str = "/xrpc/com.atproto.admin.deleteAccount"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = DeleteAccount; type Response = DeleteAccountResponse; } pub mod delete_account_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -142,13 +143,10 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> DeleteAccount { + pub fn build_with_data(self, extra_data: BTreeMap>) -> DeleteAccount { DeleteAccount { did: self._fields.0.unwrap(), extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/admin/disable_account_invites.rs b/crates/jacquard-api/src/com_atproto/admin/disable_account_invites.rs index 7a2cb298..87380bad 100644 --- a/crates/jacquard-api/src/com_atproto/admin/disable_account_invites.rs +++ b/crates/jacquard-api/src/com_atproto/admin/disable_account_invites.rs @@ -10,15 +10,18 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::Did; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DisableAccountInvites { pub account: Did, ///Optional reason for disabled invites. @@ -39,9 +42,8 @@ impl jacquard_common::xrpc::XrpcResp for DisableAccountInvitesResponse { impl jacquard_common::xrpc::XrpcRequest for DisableAccountInvites { const NSID: &'static str = "com.atproto.admin.disableAccountInvites"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = DisableAccountInvitesResponse; } @@ -49,16 +51,15 @@ impl jacquard_common::xrpc::XrpcRequest for DisableAccountInvites pub struct DisableAccountInvitesRequest; impl jacquard_common::xrpc::XrpcEndpoint for DisableAccountInvitesRequest { const PATH: &'static str = "/xrpc/com.atproto.admin.disableAccountInvites"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = DisableAccountInvites; type Response = DisableAccountInvitesResponse; } pub mod disable_account_invites_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -89,10 +90,7 @@ pub mod disable_account_invites_state { } /// Builder for constructing an instance of this type. -pub struct DisableAccountInvitesBuilder< - S: BosStr, - St: disable_account_invites_state::State, -> { +pub struct DisableAccountInvitesBuilder { _state: PhantomData St>, _fields: (Option>, Option), _type: PhantomData S>, @@ -100,10 +98,7 @@ pub struct DisableAccountInvitesBuilder< impl DisableAccountInvites { /// Create a new builder for this type. - pub fn new() -> DisableAccountInvitesBuilder< - S, - disable_account_invites_state::Empty, - > { + pub fn new() -> DisableAccountInvitesBuilder { DisableAccountInvitesBuilder::new() } } @@ -138,10 +133,7 @@ where } } -impl< - S: BosStr, - St: disable_account_invites_state::State, -> DisableAccountInvitesBuilder { +impl DisableAccountInvitesBuilder { /// Set the `note` field (optional) pub fn note(mut self, value: impl Into>) -> Self { self._fields.1 = value.into(); @@ -178,4 +170,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/admin/disable_invite_codes.rs b/crates/jacquard-api/src/com_atproto/admin/disable_invite_codes.rs index eebc236e..ebfd96ef 100644 --- a/crates/jacquard-api/src/com_atproto/admin/disable_invite_codes.rs +++ b/crates/jacquard-api/src/com_atproto/admin/disable_invite_codes.rs @@ -10,14 +10,17 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DisableInviteCodes { #[serde(skip_serializing_if = "Option::is_none")] pub accounts: Option>, @@ -38,9 +41,8 @@ impl jacquard_common::xrpc::XrpcResp for DisableInviteCodesResponse { impl jacquard_common::xrpc::XrpcRequest for DisableInviteCodes { const NSID: &'static str = "com.atproto.admin.disableInviteCodes"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = DisableInviteCodesResponse; } @@ -48,9 +50,8 @@ impl jacquard_common::xrpc::XrpcRequest for DisableInviteCodes { pub struct DisableInviteCodesRequest; impl jacquard_common::xrpc::XrpcEndpoint for DisableInviteCodesRequest { const PATH: &'static str = "/xrpc/com.atproto.admin.disableInviteCodes"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = DisableInviteCodes; type Response = DisableInviteCodesResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/admin/enable_account_invites.rs b/crates/jacquard-api/src/com_atproto/admin/enable_account_invites.rs index 6a17e71b..b7d62eee 100644 --- a/crates/jacquard-api/src/com_atproto/admin/enable_account_invites.rs +++ b/crates/jacquard-api/src/com_atproto/admin/enable_account_invites.rs @@ -10,15 +10,18 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::Did; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct EnableAccountInvites { pub account: Did, ///Optional reason for enabled invites. @@ -39,9 +42,8 @@ impl jacquard_common::xrpc::XrpcResp for EnableAccountInvitesResponse { impl jacquard_common::xrpc::XrpcRequest for EnableAccountInvites { const NSID: &'static str = "com.atproto.admin.enableAccountInvites"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = EnableAccountInvitesResponse; } @@ -49,16 +51,15 @@ impl jacquard_common::xrpc::XrpcRequest for EnableAccountInvites { pub struct EnableAccountInvitesRequest; impl jacquard_common::xrpc::XrpcEndpoint for EnableAccountInvitesRequest { const PATH: &'static str = "/xrpc/com.atproto.admin.enableAccountInvites"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = EnableAccountInvites; type Response = EnableAccountInvitesResponse; } pub mod enable_account_invites_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -89,10 +90,7 @@ pub mod enable_account_invites_state { } /// Builder for constructing an instance of this type. -pub struct EnableAccountInvitesBuilder< - S: BosStr, - St: enable_account_invites_state::State, -> { +pub struct EnableAccountInvitesBuilder { _state: PhantomData St>, _fields: (Option>, Option), _type: PhantomData S>, @@ -135,10 +133,7 @@ where } } -impl< - S: BosStr, - St: enable_account_invites_state::State, -> EnableAccountInvitesBuilder { +impl EnableAccountInvitesBuilder { /// Set the `note` field (optional) pub fn note(mut self, value: impl Into>) -> Self { self._fields.1 = value.into(); @@ -175,4 +170,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/admin/get_account_info.rs b/crates/jacquard-api/src/com_atproto/admin/get_account_info.rs index 0730b2e2..63a7639d 100644 --- a/crates/jacquard-api/src/com_atproto/admin/get_account_info.rs +++ b/crates/jacquard-api/src/com_atproto/admin/get_account_info.rs @@ -8,25 +8,30 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::com_atproto::admin::AccountView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::Did; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::com_atproto::admin::AccountView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetAccountInfo { pub did: Did, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetAccountInfoOutput { #[serde(flatten)] pub value: AccountView, @@ -60,7 +65,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetAccountInfoRequest { pub mod get_account_info_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -145,4 +150,4 @@ where did: self._fields.0.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/admin/get_account_infos.rs b/crates/jacquard-api/src/com_atproto/admin/get_account_infos.rs index 7411da7c..67c560c3 100644 --- a/crates/jacquard-api/src/com_atproto/admin/get_account_infos.rs +++ b/crates/jacquard-api/src/com_atproto/admin/get_account_infos.rs @@ -8,25 +8,30 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::com_atproto::admin::AccountView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::Did; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::com_atproto::admin::AccountView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetAccountInfos { pub dids: Vec>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetAccountInfosOutput { pub infos: Vec>, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -59,7 +64,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetAccountInfosRequest { pub mod get_account_infos_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -144,4 +149,4 @@ where dids: self._fields.0.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/admin/get_invite_codes.rs b/crates/jacquard-api/src/com_atproto/admin/get_invite_codes.rs index 978af5b0..fe51e759 100644 --- a/crates/jacquard-api/src/com_atproto/admin/get_invite_codes.rs +++ b/crates/jacquard-api/src/com_atproto/admin/get_invite_codes.rs @@ -8,17 +8,20 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::com_atproto::server::InviteCode; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::com_atproto::server::InviteCode; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetInviteCodes { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -32,9 +35,11 @@ pub struct GetInviteCodes { pub sort: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetInviteCodesOutput { pub codes: Vec>, #[serde(skip_serializing_if = "Option::is_none")] @@ -77,7 +82,7 @@ fn _default_sort() -> Option { pub mod get_invite_codes_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -170,4 +175,4 @@ where sort: self._fields.2, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/admin/get_subject_status.rs b/crates/jacquard-api/src/com_atproto/admin/get_subject_status.rs index 4dc375c2..00fec339 100644 --- a/crates/jacquard-api/src/com_atproto/admin/get_subject_status.rs +++ b/crates/jacquard-api/src/com_atproto/admin/get_subject_status.rs @@ -8,21 +8,24 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::com_atproto::admin::RepoBlobRef; +use crate::com_atproto::admin::RepoRef; +use crate::com_atproto::admin::StatusAttr; +use crate::com_atproto::repo::strong_ref::StrongRef; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; -use jacquard_common::types::string::{Did, AtUri, Cid}; +use jacquard_common::types::string::{AtUri, Cid, Did}; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; -use crate::com_atproto::admin::RepoBlobRef; -use crate::com_atproto::admin::RepoRef; -use crate::com_atproto::admin::StatusAttr; -use crate::com_atproto::repo::strong_ref::StrongRef; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetSubjectStatus { #[serde(skip_serializing_if = "Option::is_none")] pub blob: Option>, @@ -32,9 +35,11 @@ pub struct GetSubjectStatus { pub uri: Option>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetSubjectStatusOutput { #[serde(skip_serializing_if = "Option::is_none")] pub deactivated: Option>, @@ -45,7 +50,6 @@ pub struct GetSubjectStatusOutput { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -84,7 +88,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetSubjectStatusRequest { pub mod get_subject_status_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -177,4 +181,4 @@ where uri: self._fields.2, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/admin/search_accounts.rs b/crates/jacquard-api/src/com_atproto/admin/search_accounts.rs index 6c203096..fe86036e 100644 --- a/crates/jacquard-api/src/com_atproto/admin/search_accounts.rs +++ b/crates/jacquard-api/src/com_atproto/admin/search_accounts.rs @@ -8,17 +8,20 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::com_atproto::admin::AccountView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::com_atproto::admin::AccountView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct SearchAccounts { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -30,9 +33,11 @@ pub struct SearchAccounts { pub limit: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct SearchAccountsOutput { pub accounts: Vec>, #[serde(skip_serializing_if = "Option::is_none")] @@ -71,7 +76,7 @@ fn _default_limit() -> Option { pub mod search_accounts_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -164,4 +169,4 @@ where limit: self._fields.2, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/admin/send_email.rs b/crates/jacquard-api/src/com_atproto/admin/send_email.rs index b664007c..d1696453 100644 --- a/crates/jacquard-api/src/com_atproto/admin/send_email.rs +++ b/crates/jacquard-api/src/com_atproto/admin/send_email.rs @@ -10,15 +10,18 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::Did; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct SendEmail { ///Additional comment by the sender that won't be used in the email itself but helpful to provide more context for moderators/reviewers #[serde(skip_serializing_if = "Option::is_none")] @@ -32,9 +35,11 @@ pub struct SendEmail { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct SendEmailOutput { pub sent: bool, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -52,9 +57,8 @@ impl jacquard_common::xrpc::XrpcResp for SendEmailResponse { impl jacquard_common::xrpc::XrpcRequest for SendEmail { const NSID: &'static str = "com.atproto.admin.sendEmail"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = SendEmailResponse; } @@ -62,16 +66,15 @@ impl jacquard_common::xrpc::XrpcRequest for SendEmail { pub struct SendEmailRequest; impl jacquard_common::xrpc::XrpcEndpoint for SendEmailRequest { const PATH: &'static str = "/xrpc/com.atproto.admin.sendEmail"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = SendEmail; type Response = SendEmailResponse; } pub mod send_email_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -130,7 +133,13 @@ pub mod send_email_state { /// Builder for constructing an instance of this type. pub struct SendEmailBuilder { _state: PhantomData St>, - _fields: (Option, Option, Option>, Option>, Option), + _fields: ( + Option, + Option, + Option>, + Option>, + Option, + ), _type: PhantomData S>, } @@ -254,10 +263,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> SendEmail { + pub fn build_with_data(self, extra_data: BTreeMap>) -> SendEmail { SendEmail { comment: self._fields.0, content: self._fields.1.unwrap(), @@ -267,4 +273,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/admin/update_account_email.rs b/crates/jacquard-api/src/com_atproto/admin/update_account_email.rs index 5b519d4c..4071d3e3 100644 --- a/crates/jacquard-api/src/com_atproto/admin/update_account_email.rs +++ b/crates/jacquard-api/src/com_atproto/admin/update_account_email.rs @@ -10,15 +10,18 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::ident::AtIdentifier; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct UpdateAccountEmail { ///The handle or DID of the repo. pub account: AtIdentifier, @@ -38,9 +41,8 @@ impl jacquard_common::xrpc::XrpcResp for UpdateAccountEmailResponse { impl jacquard_common::xrpc::XrpcRequest for UpdateAccountEmail { const NSID: &'static str = "com.atproto.admin.updateAccountEmail"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = UpdateAccountEmailResponse; } @@ -48,16 +50,15 @@ impl jacquard_common::xrpc::XrpcRequest for UpdateAccountEmail { pub struct UpdateAccountEmailRequest; impl jacquard_common::xrpc::XrpcEndpoint for UpdateAccountEmailRequest { const PATH: &'static str = "/xrpc/com.atproto.admin.updateAccountEmail"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = UpdateAccountEmail; type Response = UpdateAccountEmailResponse; } pub mod update_account_email_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -177,14 +178,11 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> UpdateAccountEmail { + pub fn build_with_data(self, extra_data: BTreeMap>) -> UpdateAccountEmail { UpdateAccountEmail { account: self._fields.0.unwrap(), email: self._fields.1.unwrap(), extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/admin/update_account_handle.rs b/crates/jacquard-api/src/com_atproto/admin/update_account_handle.rs index 6027cdb2..04dcdeae 100644 --- a/crates/jacquard-api/src/com_atproto/admin/update_account_handle.rs +++ b/crates/jacquard-api/src/com_atproto/admin/update_account_handle.rs @@ -10,15 +10,18 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::{Did, Handle}; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct UpdateAccountHandle { pub did: Did, pub handle: Handle, @@ -37,9 +40,8 @@ impl jacquard_common::xrpc::XrpcResp for UpdateAccountHandleResponse { impl jacquard_common::xrpc::XrpcRequest for UpdateAccountHandle { const NSID: &'static str = "com.atproto.admin.updateAccountHandle"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = UpdateAccountHandleResponse; } @@ -47,16 +49,15 @@ impl jacquard_common::xrpc::XrpcRequest for UpdateAccountHandle { pub struct UpdateAccountHandleRequest; impl jacquard_common::xrpc::XrpcEndpoint for UpdateAccountHandleRequest { const PATH: &'static str = "/xrpc/com.atproto.admin.updateAccountHandle"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = UpdateAccountHandle; type Response = UpdateAccountHandleResponse; } pub mod update_account_handle_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -99,10 +100,7 @@ pub mod update_account_handle_state { } /// Builder for constructing an instance of this type. -pub struct UpdateAccountHandleBuilder< - S: BosStr, - St: update_account_handle_state::State, -> { +pub struct UpdateAccountHandleBuilder { _state: PhantomData St>, _fields: (Option>, Option>), _type: PhantomData S>, @@ -179,14 +177,11 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> UpdateAccountHandle { + pub fn build_with_data(self, extra_data: BTreeMap>) -> UpdateAccountHandle { UpdateAccountHandle { did: self._fields.0.unwrap(), handle: self._fields.1.unwrap(), extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/admin/update_account_password.rs b/crates/jacquard-api/src/com_atproto/admin/update_account_password.rs index 479b10eb..c206d94e 100644 --- a/crates/jacquard-api/src/com_atproto/admin/update_account_password.rs +++ b/crates/jacquard-api/src/com_atproto/admin/update_account_password.rs @@ -10,15 +10,18 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::Did; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct UpdateAccountPassword { pub did: Did, pub password: S, @@ -37,9 +40,8 @@ impl jacquard_common::xrpc::XrpcResp for UpdateAccountPasswordResponse { impl jacquard_common::xrpc::XrpcRequest for UpdateAccountPassword { const NSID: &'static str = "com.atproto.admin.updateAccountPassword"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = UpdateAccountPasswordResponse; } @@ -47,16 +49,15 @@ impl jacquard_common::xrpc::XrpcRequest for UpdateAccountPassword pub struct UpdateAccountPasswordRequest; impl jacquard_common::xrpc::XrpcEndpoint for UpdateAccountPasswordRequest { const PATH: &'static str = "/xrpc/com.atproto.admin.updateAccountPassword"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = UpdateAccountPassword; type Response = UpdateAccountPasswordResponse; } pub mod update_account_password_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -99,10 +100,7 @@ pub mod update_account_password_state { } /// Builder for constructing an instance of this type. -pub struct UpdateAccountPasswordBuilder< - S: BosStr, - St: update_account_password_state::State, -> { +pub struct UpdateAccountPasswordBuilder { _state: PhantomData St>, _fields: (Option>, Option), _type: PhantomData S>, @@ -110,10 +108,7 @@ pub struct UpdateAccountPasswordBuilder< impl UpdateAccountPassword { /// Create a new builder for this type. - pub fn new() -> UpdateAccountPasswordBuilder< - S, - update_account_password_state::Empty, - > { + pub fn new() -> UpdateAccountPasswordBuilder { UpdateAccountPasswordBuilder::new() } } @@ -157,10 +152,7 @@ where pub fn password( mut self, value: impl Into, - ) -> UpdateAccountPasswordBuilder< - S, - update_account_password_state::SetPassword, - > { + ) -> UpdateAccountPasswordBuilder> { self._fields.1 = Option::Some(value.into()); UpdateAccountPasswordBuilder { _state: PhantomData, @@ -195,4 +187,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/admin/update_account_signing_key.rs b/crates/jacquard-api/src/com_atproto/admin/update_account_signing_key.rs index 918f6645..34446a9f 100644 --- a/crates/jacquard-api/src/com_atproto/admin/update_account_signing_key.rs +++ b/crates/jacquard-api/src/com_atproto/admin/update_account_signing_key.rs @@ -10,15 +10,18 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::Did; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct UpdateAccountSigningKey { pub did: Did, ///Did-key formatted public key @@ -38,9 +41,8 @@ impl jacquard_common::xrpc::XrpcResp for UpdateAccountSigningKeyResponse { impl jacquard_common::xrpc::XrpcRequest for UpdateAccountSigningKey { const NSID: &'static str = "com.atproto.admin.updateAccountSigningKey"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = UpdateAccountSigningKeyResponse; } @@ -48,16 +50,15 @@ impl jacquard_common::xrpc::XrpcRequest for UpdateAccountSigningKey = UpdateAccountSigningKey; type Response = UpdateAccountSigningKeyResponse; } pub mod update_account_signing_key_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -100,10 +101,7 @@ pub mod update_account_signing_key_state { } /// Builder for constructing an instance of this type. -pub struct UpdateAccountSigningKeyBuilder< - S: BosStr, - St: update_account_signing_key_state::State, -> { +pub struct UpdateAccountSigningKeyBuilder { _state: PhantomData St>, _fields: (Option>, Option>), _type: PhantomData S>, @@ -111,17 +109,12 @@ pub struct UpdateAccountSigningKeyBuilder< impl UpdateAccountSigningKey { /// Create a new builder for this type. - pub fn new() -> UpdateAccountSigningKeyBuilder< - S, - update_account_signing_key_state::Empty, - > { + pub fn new() -> UpdateAccountSigningKeyBuilder { UpdateAccountSigningKeyBuilder::new() } } -impl< - S: BosStr, -> UpdateAccountSigningKeyBuilder { +impl UpdateAccountSigningKeyBuilder { /// Create a new builder with all fields unset. pub fn new() -> Self { UpdateAccountSigningKeyBuilder { @@ -141,10 +134,7 @@ where pub fn did( mut self, value: impl Into>, - ) -> UpdateAccountSigningKeyBuilder< - S, - update_account_signing_key_state::SetDid, - > { + ) -> UpdateAccountSigningKeyBuilder> { self._fields.0 = Option::Some(value.into()); UpdateAccountSigningKeyBuilder { _state: PhantomData, @@ -163,10 +153,8 @@ where pub fn signing_key( mut self, value: impl Into>, - ) -> UpdateAccountSigningKeyBuilder< - S, - update_account_signing_key_state::SetSigningKey, - > { + ) -> UpdateAccountSigningKeyBuilder> + { self._fields.1 = Option::Some(value.into()); UpdateAccountSigningKeyBuilder { _state: PhantomData, @@ -201,4 +189,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/admin/update_subject_status.rs b/crates/jacquard-api/src/com_atproto/admin/update_subject_status.rs index 5218fafa..f674dbaf 100644 --- a/crates/jacquard-api/src/com_atproto/admin/update_subject_status.rs +++ b/crates/jacquard-api/src/com_atproto/admin/update_subject_status.rs @@ -8,20 +8,23 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::com_atproto::admin::RepoBlobRef; +use crate::com_atproto::admin::RepoRef; +use crate::com_atproto::admin::StatusAttr; +use crate::com_atproto::repo::strong_ref::StrongRef; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; -use crate::com_atproto::admin::RepoBlobRef; -use crate::com_atproto::admin::RepoRef; -use crate::com_atproto::admin::StatusAttr; -use crate::com_atproto::repo::strong_ref::StrongRef; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct UpdateSubjectStatus { #[serde(skip_serializing_if = "Option::is_none")] pub deactivated: Option>, @@ -32,7 +35,6 @@ pub struct UpdateSubjectStatus { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -45,9 +47,11 @@ pub enum UpdateSubjectStatusSubject { RepoBlobRef(Box>), } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct UpdateSubjectStatusOutput { pub subject: UpdateSubjectStatusOutputSubject, #[serde(skip_serializing_if = "Option::is_none")] @@ -56,7 +60,6 @@ pub struct UpdateSubjectStatusOutput { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -80,9 +83,8 @@ impl jacquard_common::xrpc::XrpcResp for UpdateSubjectStatusResponse { impl jacquard_common::xrpc::XrpcRequest for UpdateSubjectStatus { const NSID: &'static str = "com.atproto.admin.updateSubjectStatus"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = UpdateSubjectStatusResponse; } @@ -90,16 +92,15 @@ impl jacquard_common::xrpc::XrpcRequest for UpdateSubjectStatus { pub struct UpdateSubjectStatusRequest; impl jacquard_common::xrpc::XrpcEndpoint for UpdateSubjectStatusRequest { const PATH: &'static str = "/xrpc/com.atproto.admin.updateSubjectStatus"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = UpdateSubjectStatus; type Response = UpdateSubjectStatusResponse; } pub mod update_subject_status_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -130,10 +131,7 @@ pub mod update_subject_status_state { } /// Builder for constructing an instance of this type. -pub struct UpdateSubjectStatusBuilder< - S: BosStr, - St: update_subject_status_state::State, -> { +pub struct UpdateSubjectStatusBuilder { _state: PhantomData St>, _fields: ( Option>, @@ -161,10 +159,7 @@ impl UpdateSubjectStatusBuilder UpdateSubjectStatusBuilder { +impl UpdateSubjectStatusBuilder { /// Set the `deactivated` field (optional) pub fn deactivated(mut self, value: impl Into>>) -> Self { self._fields.0 = value.into(); @@ -196,10 +191,7 @@ where } } -impl< - S: BosStr, - St: update_subject_status_state::State, -> UpdateSubjectStatusBuilder { +impl UpdateSubjectStatusBuilder { /// Set the `takedown` field (optional) pub fn takedown(mut self, value: impl Into>>) -> Self { self._fields.2 = value.into(); @@ -227,10 +219,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> UpdateSubjectStatus { + pub fn build_with_data(self, extra_data: BTreeMap>) -> UpdateSubjectStatus { UpdateSubjectStatus { deactivated: self._fields.0, subject: self._fields.1.unwrap(), @@ -238,4 +227,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/identity.rs b/crates/jacquard-api/src/com_atproto/identity.rs index 8d6dde9b..4bfa2a39 100644 --- a/crates/jacquard-api/src/com_atproto/identity.rs +++ b/crates/jacquard-api/src/com_atproto/identity.rs @@ -15,7 +15,6 @@ pub mod sign_plc_operation; pub mod submit_plc_operation; pub mod update_handle; - #[allow(unused_imports)] use alloc::collections::BTreeMap; @@ -34,10 +33,13 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct IdentityInfo { pub did: Did, ///The complete DID document for the identity. @@ -65,7 +67,7 @@ impl LexiconSchema for IdentityInfo { pub mod identity_info_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -220,10 +222,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> IdentityInfo { + pub fn build_with_data(self, extra_data: BTreeMap>) -> IdentityInfo { IdentityInfo { did: self._fields.0.unwrap(), did_doc: self._fields.1.unwrap(), @@ -234,10 +233,10 @@ where } fn lexicon_doc_com_atproto_identity_defs() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("com.atproto.identity.defs"), @@ -289,4 +288,4 @@ fn lexicon_doc_com_atproto_identity_defs() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/identity/get_recommended_did_credentials.rs b/crates/jacquard-api/src/com_atproto/identity/get_recommended_did_credentials.rs index 91a3fcb1..cd934dbe 100644 --- a/crates/jacquard-api/src/com_atproto/identity/get_recommended_did_credentials.rs +++ b/crates/jacquard-api/src/com_atproto/identity/get_recommended_did_credentials.rs @@ -10,14 +10,17 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetRecommendedDidCredentialsOutput { #[serde(skip_serializing_if = "Option::is_none")] pub also_known_as: Option>, @@ -58,4 +61,4 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetRecommendedDidCredentialsRequest const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Query; type Request = GetRecommendedDidCredentials; type Response = GetRecommendedDidCredentialsResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/identity/refresh_identity.rs b/crates/jacquard-api/src/com_atproto/identity/refresh_identity.rs index 44fc6549..4f55f3c0 100644 --- a/crates/jacquard-api/src/com_atproto/identity/refresh_identity.rs +++ b/crates/jacquard-api/src/com_atproto/identity/refresh_identity.rs @@ -8,27 +8,32 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::com_atproto::identity::IdentityInfo; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::ident::AtIdentifier; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; -use crate::com_atproto::identity::IdentityInfo; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct RefreshIdentity { pub identifier: AtIdentifier, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct RefreshIdentityOutput { #[serde(flatten)] pub value: IdentityInfo, @@ -36,18 +41,9 @@ pub struct RefreshIdentityOutput { pub extra_data: Option>>, } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum RefreshIdentityError { /// The resolution process confirmed that the handle does not resolve to any DID. @@ -61,7 +57,10 @@ pub enum RefreshIdentityError { DidDeactivated(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for RefreshIdentityError { @@ -110,9 +109,8 @@ impl jacquard_common::xrpc::XrpcResp for RefreshIdentityResponse { impl jacquard_common::xrpc::XrpcRequest for RefreshIdentity { const NSID: &'static str = "com.atproto.identity.refreshIdentity"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = RefreshIdentityResponse; } @@ -120,16 +118,15 @@ impl jacquard_common::xrpc::XrpcRequest for RefreshIdentity { pub struct RefreshIdentityRequest; impl jacquard_common::xrpc::XrpcEndpoint for RefreshIdentityRequest { const PATH: &'static str = "/xrpc/com.atproto.identity.refreshIdentity"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = RefreshIdentity; type Response = RefreshIdentityResponse; } pub mod refresh_identity_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -216,13 +213,10 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> RefreshIdentity { + pub fn build_with_data(self, extra_data: BTreeMap>) -> RefreshIdentity { RefreshIdentity { identifier: self._fields.0.unwrap(), extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/identity/request_plc_operation_signature.rs b/crates/jacquard-api/src/com_atproto/identity/request_plc_operation_signature.rs index 9fd93310..87e0f7ee 100644 --- a/crates/jacquard-api/src/com_atproto/identity/request_plc_operation_signature.rs +++ b/crates/jacquard-api/src/com_atproto/identity/request_plc_operation_signature.rs @@ -10,11 +10,11 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// XRPC request marker type. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Copy)] @@ -30,9 +30,8 @@ impl jacquard_common::xrpc::XrpcResp for RequestPlcOperationSignatureResponse { impl jacquard_common::xrpc::XrpcRequest for RequestPlcOperationSignature { const NSID: &'static str = "com.atproto.identity.requestPlcOperationSignature"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = RequestPlcOperationSignatureResponse; } @@ -40,9 +39,8 @@ impl jacquard_common::xrpc::XrpcRequest for RequestPlcOperationSignature { pub struct RequestPlcOperationSignatureRequest; impl jacquard_common::xrpc::XrpcEndpoint for RequestPlcOperationSignatureRequest { const PATH: &'static str = "/xrpc/com.atproto.identity.requestPlcOperationSignature"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = RequestPlcOperationSignature; type Response = RequestPlcOperationSignatureResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/identity/resolve_did.rs b/crates/jacquard-api/src/com_atproto/identity/resolve_did.rs index e6935ab7..5ccbef6c 100644 --- a/crates/jacquard-api/src/com_atproto/identity/resolve_did.rs +++ b/crates/jacquard-api/src/com_atproto/identity/resolve_did.rs @@ -10,22 +10,27 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::Did; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ResolveDid { pub did: Did, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ResolveDidOutput { ///The complete DID document for the identity. pub did_doc: Data, @@ -33,18 +38,9 @@ pub struct ResolveDidOutput { pub extra_data: Option>>, } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum ResolveDidError { /// The DID resolution process confirmed that there is no current DID. @@ -55,7 +51,10 @@ pub enum ResolveDidError { DidDeactivated(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for ResolveDidError { @@ -112,7 +111,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for ResolveDidRequest { pub mod resolve_did_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -197,4 +196,4 @@ where did: self._fields.0.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/identity/resolve_handle.rs b/crates/jacquard-api/src/com_atproto/identity/resolve_handle.rs index 26088b0b..a900153b 100644 --- a/crates/jacquard-api/src/com_atproto/identity/resolve_handle.rs +++ b/crates/jacquard-api/src/com_atproto/identity/resolve_handle.rs @@ -10,40 +10,36 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::{Did, Handle}; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ResolveHandle { pub handle: Handle, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ResolveHandleOutput { pub did: Did, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum ResolveHandleError { /// The resolution process confirmed that the handle does not resolve to any DID. @@ -51,7 +47,10 @@ pub enum ResolveHandleError { HandleNotFound(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for ResolveHandleError { @@ -101,7 +100,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for ResolveHandleRequest { pub mod resolve_handle_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -186,4 +185,4 @@ where handle: self._fields.0.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/identity/resolve_identity.rs b/crates/jacquard-api/src/com_atproto/identity/resolve_identity.rs index d77d0582..b6a88ddc 100644 --- a/crates/jacquard-api/src/com_atproto/identity/resolve_identity.rs +++ b/crates/jacquard-api/src/com_atproto/identity/resolve_identity.rs @@ -8,25 +8,30 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::com_atproto::identity::IdentityInfo; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::ident::AtIdentifier; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; -use crate::com_atproto::identity::IdentityInfo; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ResolveIdentity { pub identifier: AtIdentifier, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ResolveIdentityOutput { #[serde(flatten)] pub value: IdentityInfo, @@ -34,18 +39,9 @@ pub struct ResolveIdentityOutput { pub extra_data: Option>>, } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum ResolveIdentityError { /// The resolution process confirmed that the handle does not resolve to any DID. @@ -59,7 +55,10 @@ pub enum ResolveIdentityError { DidDeactivated(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for ResolveIdentityError { @@ -123,7 +122,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for ResolveIdentityRequest { pub mod resolve_identity_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -208,4 +207,4 @@ where identifier: self._fields.0.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/identity/sign_plc_operation.rs b/crates/jacquard-api/src/com_atproto/identity/sign_plc_operation.rs index 769829f6..c1f7fc29 100644 --- a/crates/jacquard-api/src/com_atproto/identity/sign_plc_operation.rs +++ b/crates/jacquard-api/src/com_atproto/identity/sign_plc_operation.rs @@ -10,14 +10,17 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct SignPlcOperation { #[serde(skip_serializing_if = "Option::is_none")] pub also_known_as: Option>, @@ -34,9 +37,11 @@ pub struct SignPlcOperation { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct SignPlcOperationOutput { ///A signed DID PLC operation. pub operation: Data, @@ -55,9 +60,8 @@ impl jacquard_common::xrpc::XrpcResp for SignPlcOperationResponse { impl jacquard_common::xrpc::XrpcRequest for SignPlcOperation { const NSID: &'static str = "com.atproto.identity.signPlcOperation"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = SignPlcOperationResponse; } @@ -65,9 +69,8 @@ impl jacquard_common::xrpc::XrpcRequest for SignPlcOperation { pub struct SignPlcOperationRequest; impl jacquard_common::xrpc::XrpcEndpoint for SignPlcOperationRequest { const PATH: &'static str = "/xrpc/com.atproto.identity.signPlcOperation"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = SignPlcOperation; type Response = SignPlcOperationResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/identity/submit_plc_operation.rs b/crates/jacquard-api/src/com_atproto/identity/submit_plc_operation.rs index e1df5220..3aa44d87 100644 --- a/crates/jacquard-api/src/com_atproto/identity/submit_plc_operation.rs +++ b/crates/jacquard-api/src/com_atproto/identity/submit_plc_operation.rs @@ -10,14 +10,17 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct SubmitPlcOperation { pub operation: Data, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -35,9 +38,8 @@ impl jacquard_common::xrpc::XrpcResp for SubmitPlcOperationResponse { impl jacquard_common::xrpc::XrpcRequest for SubmitPlcOperation { const NSID: &'static str = "com.atproto.identity.submitPlcOperation"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = SubmitPlcOperationResponse; } @@ -45,16 +47,15 @@ impl jacquard_common::xrpc::XrpcRequest for SubmitPlcOperation { pub struct SubmitPlcOperationRequest; impl jacquard_common::xrpc::XrpcEndpoint for SubmitPlcOperationRequest { const PATH: &'static str = "/xrpc/com.atproto.identity.submitPlcOperation"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = SubmitPlcOperation; type Response = SubmitPlcOperationResponse; } pub mod submit_plc_operation_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -141,13 +142,10 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> SubmitPlcOperation { + pub fn build_with_data(self, extra_data: BTreeMap>) -> SubmitPlcOperation { SubmitPlcOperation { operation: self._fields.0.unwrap(), extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/identity/update_handle.rs b/crates/jacquard-api/src/com_atproto/identity/update_handle.rs index c8d17325..9e820bec 100644 --- a/crates/jacquard-api/src/com_atproto/identity/update_handle.rs +++ b/crates/jacquard-api/src/com_atproto/identity/update_handle.rs @@ -10,15 +10,18 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::Handle; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct UpdateHandle { ///The new handle. pub handle: Handle, @@ -37,9 +40,8 @@ impl jacquard_common::xrpc::XrpcResp for UpdateHandleResponse { impl jacquard_common::xrpc::XrpcRequest for UpdateHandle { const NSID: &'static str = "com.atproto.identity.updateHandle"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = UpdateHandleResponse; } @@ -47,16 +49,15 @@ impl jacquard_common::xrpc::XrpcRequest for UpdateHandle { pub struct UpdateHandleRequest; impl jacquard_common::xrpc::XrpcEndpoint for UpdateHandleRequest { const PATH: &'static str = "/xrpc/com.atproto.identity.updateHandle"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = UpdateHandle; type Response = UpdateHandleResponse; } pub mod update_handle_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -143,13 +144,10 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> UpdateHandle { + pub fn build_with_data(self, extra_data: BTreeMap>) -> UpdateHandle { UpdateHandle { handle: self._fields.0.unwrap(), extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/label.rs b/crates/jacquard-api/src/com_atproto/label.rs index 0f5e9236..89ff792b 100644 --- a/crates/jacquard-api/src/com_atproto/label.rs +++ b/crates/jacquard-api/src/com_atproto/label.rs @@ -7,36 +7,37 @@ pub mod query_labels; - #[cfg(feature = "streaming")] pub mod subscribe_labels; - #[allow(unused_imports)] use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::bytes::Bytes; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; use jacquard_common::deps::smol_str::SmolStr; -use jacquard_common::types::string::{Did, Cid, Datetime, Language, UriValue}; +use jacquard_common::types::string::{Cid, Datetime, Did, Language, UriValue}; use jacquard_common::types::value::Data; use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::com_atproto::label; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::com_atproto::label; +use serde::{Deserialize, Serialize}; /// Metadata tag on an atproto resource (eg, repo or record). #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Label { ///Optionally, CID specifying the specific version of 'uri' resource this label applies to. #[serde(skip_serializing_if = "Option::is_none")] @@ -66,7 +67,6 @@ pub struct Label { pub extra_data: Option>>, } - #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum LabelValue { Hide, @@ -165,7 +165,10 @@ where /// Declares a label value and its expected interpretations and behaviors. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct LabelValueDefinition { ///Does the user need to have adult content enabled in order to configure this label? #[serde(skip_serializing_if = "Option::is_none")] @@ -235,8 +238,7 @@ impl Serialize for LabelValueDefinitionBlurs { } } -impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> -for LabelValueDefinitionBlurs { +impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> for LabelValueDefinitionBlurs { fn deserialize(deserializer: D) -> Result where D: serde::Deserializer<'de>, @@ -321,8 +323,7 @@ impl Serialize for LabelValueDefinitionDefaultSetting { } } -impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> -for LabelValueDefinitionDefaultSetting { +impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> for LabelValueDefinitionDefaultSetting { fn deserialize(deserializer: D) -> Result where D: serde::Deserializer<'de>, @@ -349,12 +350,8 @@ where LabelValueDefinitionDefaultSetting::Ignore => { LabelValueDefinitionDefaultSetting::Ignore } - LabelValueDefinitionDefaultSetting::Warn => { - LabelValueDefinitionDefaultSetting::Warn - } - LabelValueDefinitionDefaultSetting::Hide => { - LabelValueDefinitionDefaultSetting::Hide - } + LabelValueDefinitionDefaultSetting::Warn => LabelValueDefinitionDefaultSetting::Warn, + LabelValueDefinitionDefaultSetting::Hide => LabelValueDefinitionDefaultSetting::Hide, LabelValueDefinitionDefaultSetting::Other(v) => { LabelValueDefinitionDefaultSetting::Other(v.into_static()) } @@ -413,8 +410,7 @@ impl Serialize for LabelValueDefinitionSeverity { } } -impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> -for LabelValueDefinitionSeverity { +impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> for LabelValueDefinitionSeverity { fn deserialize(deserializer: D) -> Result where D: serde::Deserializer<'de>, @@ -451,7 +447,10 @@ where /// Strings which describe the label in the UI, localized into a specific language. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct LabelValueDefinitionStrings { ///A longer description of what the label means and why it might be applied. pub description: S, @@ -466,7 +465,10 @@ pub struct LabelValueDefinitionStrings { /// Metadata tag on an atproto record, published by the author within the record. Note that schemas should use #selfLabels, not #selfLabel. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct SelfLabel { ///The short string name of the value or type of this label. pub val: S, @@ -477,7 +479,10 @@ pub struct SelfLabel { /// Metadata tags on an atproto record, published by the author within the record. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct SelfLabels { pub values: Vec>, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -666,7 +671,7 @@ impl LexiconSchema for SelfLabels { pub mod label_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -792,10 +797,7 @@ where St::Cts: label_state::IsUnset, { /// Set the `cts` field (required) - pub fn cts( - mut self, - value: impl Into, - ) -> LabelBuilder> { + pub fn cts(mut self, value: impl Into) -> LabelBuilder> { self._fields.1 = Option::Some(value.into()); LabelBuilder { _state: PhantomData, @@ -850,10 +852,7 @@ where St::Src: label_state::IsUnset, { /// Set the `src` field (required) - pub fn src( - mut self, - value: impl Into>, - ) -> LabelBuilder> { + pub fn src(mut self, value: impl Into>) -> LabelBuilder> { self._fields.5 = Option::Some(value.into()); LabelBuilder { _state: PhantomData, @@ -888,10 +887,7 @@ where St::Val: label_state::IsUnset, { /// Set the `val` field (required) - pub fn val( - mut self, - value: impl Into, - ) -> LabelBuilder> { + pub fn val(mut self, value: impl Into) -> LabelBuilder> { self._fields.7 = Option::Some(value.into()); LabelBuilder { _state: PhantomData, @@ -955,10 +951,10 @@ where } fn lexicon_doc_com_atproto_label_defs() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("com.atproto.label.defs"), @@ -1074,7 +1070,9 @@ fn lexicon_doc_com_atproto_label_defs() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("labelValue"), - LexUserType::String(LexString { ..Default::default() }), + LexUserType::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("labelValueDefinition"), @@ -1284,7 +1282,7 @@ fn lexicon_doc_com_atproto_label_defs() -> LexiconDoc<'static> { pub mod label_value_definition_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -1357,10 +1355,7 @@ pub mod label_value_definition_state { } /// Builder for constructing an instance of this type. -pub struct LabelValueDefinitionBuilder< - S: BosStr, - St: label_value_definition_state::State, -> { +pub struct LabelValueDefinitionBuilder { _state: PhantomData St>, _fields: ( Option, @@ -1391,10 +1386,7 @@ impl LabelValueDefinitionBuilder LabelValueDefinitionBuilder { +impl LabelValueDefinitionBuilder { /// Set the `adultOnly` field (optional) pub fn adult_only(mut self, value: impl Into>) -> Self { self._fields.0 = value.into(); @@ -1426,10 +1418,7 @@ where } } -impl< - S: BosStr, - St: label_value_definition_state::State, -> LabelValueDefinitionBuilder { +impl LabelValueDefinitionBuilder { /// Set the `defaultSetting` field (optional) pub fn default_setting( mut self, @@ -1457,10 +1446,7 @@ where pub fn identifier( mut self, value: impl Into, - ) -> LabelValueDefinitionBuilder< - S, - label_value_definition_state::SetIdentifier, - > { + ) -> LabelValueDefinitionBuilder> { self._fields.3 = Option::Some(value.into()); LabelValueDefinitionBuilder { _state: PhantomData, @@ -1547,7 +1533,7 @@ where pub mod label_value_definition_strings_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -1615,17 +1601,13 @@ pub struct LabelValueDefinitionStringsBuilder< impl LabelValueDefinitionStrings { /// Create a new builder for this type. - pub fn new() -> LabelValueDefinitionStringsBuilder< - S, - label_value_definition_strings_state::Empty, - > { + pub fn new() + -> LabelValueDefinitionStringsBuilder { LabelValueDefinitionStringsBuilder::new() } } -impl< - S: BosStr, -> LabelValueDefinitionStringsBuilder { +impl LabelValueDefinitionStringsBuilder { /// Create a new builder with all fields unset. pub fn new() -> Self { LabelValueDefinitionStringsBuilder { @@ -1667,10 +1649,8 @@ where pub fn lang( mut self, value: impl Into, - ) -> LabelValueDefinitionStringsBuilder< - S, - label_value_definition_strings_state::SetLang, - > { + ) -> LabelValueDefinitionStringsBuilder> + { self._fields.1 = Option::Some(value.into()); LabelValueDefinitionStringsBuilder { _state: PhantomData, @@ -1689,10 +1669,8 @@ where pub fn name( mut self, value: impl Into, - ) -> LabelValueDefinitionStringsBuilder< - S, - label_value_definition_strings_state::SetName, - > { + ) -> LabelValueDefinitionStringsBuilder> + { self._fields.2 = Option::Some(value.into()); LabelValueDefinitionStringsBuilder { _state: PhantomData, @@ -1734,7 +1712,7 @@ where pub mod self_labels_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -1821,13 +1799,10 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> SelfLabels { + pub fn build_with_data(self, extra_data: BTreeMap>) -> SelfLabels { SelfLabels { values: self._fields.0.unwrap(), extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/label/query_labels.rs b/crates/jacquard-api/src/com_atproto/label/query_labels.rs index 6ed22ac3..ff033177 100644 --- a/crates/jacquard-api/src/com_atproto/label/query_labels.rs +++ b/crates/jacquard-api/src/com_atproto/label/query_labels.rs @@ -8,18 +8,21 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::com_atproto::label::Label; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::Did; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::com_atproto::label::Label; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct QueryLabels { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -32,9 +35,11 @@ pub struct QueryLabels { pub uri_patterns: Vec, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct QueryLabelsOutput { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -73,7 +78,7 @@ fn _default_limit() -> Option { pub mod query_labels_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -200,4 +205,4 @@ where uri_patterns: self._fields.3.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/label/subscribe_labels.rs b/crates/jacquard-api/src/com_atproto/label/subscribe_labels.rs index c879e752..26a60324 100644 --- a/crates/jacquard-api/src/com_atproto/label/subscribe_labels.rs +++ b/crates/jacquard-api/src/com_atproto/label/subscribe_labels.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -20,14 +20,17 @@ use jacquard_derive::{IntoStatic, open_union}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::com_atproto::label::Label; use crate::com_atproto::label::subscribe_labels; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Info { #[serde(skip_serializing_if = "Option::is_none")] pub message: Option, @@ -36,7 +39,6 @@ pub struct Info { pub extra_data: Option>>, } - #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum InfoName { OutdatedCursor, @@ -110,9 +112,11 @@ where } } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Labels { pub labels: Vec>, pub seq: i64, @@ -120,7 +124,6 @@ pub struct Labels { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(rename_all = "camelCase")] pub struct SubscribeLabels { @@ -128,7 +131,6 @@ pub struct SubscribeLabels { pub cursor: Option, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -147,50 +149,36 @@ impl SubscribeLabelsMessage { where S: serde::Deserialize<'de>, { - let (header, body) = jacquard_common::xrpc::subscription::parse_event_header( - bytes, - )?; + let (header, body) = jacquard_common::xrpc::subscription::parse_event_header(bytes)?; match header.t.as_str() { "#labels" => { - let variant = jacquard_common::deps::codegen::serde_ipld_dagcbor::from_slice( - body, - )?; + let variant = jacquard_common::deps::codegen::serde_ipld_dagcbor::from_slice(body)?; Ok(Self::Labels(Box::new(variant))) } "#info" => { - let variant = jacquard_common::deps::codegen::serde_ipld_dagcbor::from_slice( - body, - )?; + let variant = jacquard_common::deps::codegen::serde_ipld_dagcbor::from_slice(body)?; Ok(Self::Info(Box::new(variant))) } - unknown => { - Err( - jacquard_common::error::DecodeError::UnknownEventType(unknown.into()), - ) - } + unknown => Err(jacquard_common::error::DecodeError::UnknownEventType( + unknown.into(), + )), } } } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum SubscribeLabelsError { #[serde(rename = "FutureCursor")] FutureCursor(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for SubscribeLabelsError { @@ -249,7 +237,8 @@ impl LexiconSchema for Labels { pub struct SubscribeLabelsStream; impl jacquard_common::xrpc::SubscriptionResp for SubscribeLabelsStream { const NSID: &'static str = "com.atproto.label.subscribeLabels"; - const ENCODING: jacquard_common::xrpc::MessageEncoding = jacquard_common::xrpc::MessageEncoding::DagCbor; + const ENCODING: jacquard_common::xrpc::MessageEncoding = + jacquard_common::xrpc::MessageEncoding::DagCbor; type Message = SubscribeLabelsMessage; type Error = SubscribeLabelsError; fn decode_message<'de, S>( @@ -265,23 +254,25 @@ impl jacquard_common::xrpc::SubscriptionResp for SubscribeLabelsStream { impl jacquard_common::xrpc::XrpcSubscription for SubscribeLabels { const NSID: &'static str = "com.atproto.label.subscribeLabels"; - const ENCODING: jacquard_common::xrpc::MessageEncoding = jacquard_common::xrpc::MessageEncoding::DagCbor; + const ENCODING: jacquard_common::xrpc::MessageEncoding = + jacquard_common::xrpc::MessageEncoding::DagCbor; type Stream = SubscribeLabelsStream; } pub struct SubscribeLabelsEndpoint; impl jacquard_common::xrpc::SubscriptionEndpoint for SubscribeLabelsEndpoint { const PATH: &'static str = "/xrpc/com.atproto.label.subscribeLabels"; - const ENCODING: jacquard_common::xrpc::MessageEncoding = jacquard_common::xrpc::MessageEncoding::DagCbor; + const ENCODING: jacquard_common::xrpc::MessageEncoding = + jacquard_common::xrpc::MessageEncoding::DagCbor; type Params = SubscribeLabels; type Stream = SubscribeLabelsStream; } fn lexicon_doc_com_atproto_label_subscribeLabels() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("com.atproto.label.subscribeLabels"), @@ -296,11 +287,15 @@ fn lexicon_doc_com_atproto_label_subscribeLabels() -> LexiconDoc<'static> { let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("message"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("name"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map }, @@ -310,9 +305,10 @@ fn lexicon_doc_com_atproto_label_subscribeLabels() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("labels"), LexUserType::Object(LexObject { - required: Some( - vec![SmolStr::new_static("seq"), SmolStr::new_static("labels")], - ), + required: Some(vec![ + SmolStr::new_static("seq"), + SmolStr::new_static("labels"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -340,22 +336,20 @@ fn lexicon_doc_com_atproto_label_subscribeLabels() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::XrpcSubscription(LexXrpcSubscription { - parameters: Some( - LexXrpcSubscriptionParameter::Params(LexXrpcParameters { - properties: { - #[allow(unused_mut)] - let mut map = BTreeMap::new(); - map.insert( - SmolStr::new_static("cursor"), - LexXrpcParametersProperty::Integer(LexInteger { - ..Default::default() - }), - ); - map - }, - ..Default::default() - }), - ), + parameters: Some(LexXrpcSubscriptionParameter::Params(LexXrpcParameters { + properties: { + #[allow(unused_mut)] + let mut map = BTreeMap::new(); + map.insert( + SmolStr::new_static("cursor"), + LexXrpcParametersProperty::Integer(LexInteger { + ..Default::default() + }), + ); + map + }, + ..Default::default() + })), ..Default::default() }), ); @@ -367,7 +361,7 @@ fn lexicon_doc_com_atproto_label_subscribeLabels() -> LexiconDoc<'static> { pub mod labels_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -459,10 +453,7 @@ where St::Seq: labels_state::IsUnset, { /// Set the `seq` field (required) - pub fn seq( - mut self, - value: impl Into, - ) -> LabelsBuilder> { + pub fn seq(mut self, value: impl Into) -> LabelsBuilder> { self._fields.1 = Option::Some(value.into()); LabelsBuilder { _state: PhantomData, @@ -498,7 +489,7 @@ where pub mod subscribe_labels_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -561,4 +552,4 @@ where cursor: self._fields.0, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/lexicon.rs b/crates/jacquard-api/src/com_atproto/lexicon.rs index 409f66bd..5f8a2b88 100644 --- a/crates/jacquard-api/src/com_atproto/lexicon.rs +++ b/crates/jacquard-api/src/com_atproto/lexicon.rs @@ -4,4 +4,4 @@ // Any manual changes will be overwritten on the next regeneration. pub mod resolve_lexicon; -pub mod schema; \ No newline at end of file +pub mod schema; diff --git a/crates/jacquard-api/src/com_atproto/lexicon/resolve_lexicon.rs b/crates/jacquard-api/src/com_atproto/lexicon/resolve_lexicon.rs index 0dfd8965..013e45a5 100644 --- a/crates/jacquard-api/src/com_atproto/lexicon/resolve_lexicon.rs +++ b/crates/jacquard-api/src/com_atproto/lexicon/resolve_lexicon.rs @@ -8,25 +8,30 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::com_atproto::lexicon::schema::Schema; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; -use jacquard_common::types::string::{AtUri, Nsid, Cid}; +use jacquard_common::types::string::{AtUri, Cid, Nsid}; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; -use crate::com_atproto::lexicon::schema::Schema; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ResolveLexicon { pub nsid: Nsid, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ResolveLexiconOutput { ///The CID of the lexicon schema record. pub cid: Cid, @@ -38,18 +43,9 @@ pub struct ResolveLexiconOutput { pub extra_data: Option>>, } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum ResolveLexiconError { /// No lexicon was resolved for the NSID. @@ -57,7 +53,10 @@ pub enum ResolveLexiconError { LexiconNotFound(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for ResolveLexiconError { @@ -107,7 +106,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for ResolveLexiconRequest { pub mod resolve_lexicon_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -192,4 +191,4 @@ where nsid: self._fields.0.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/lexicon/schema.rs b/crates/jacquard-api/src/com_atproto/lexicon/schema.rs index e13a583f..80daba31 100644 --- a/crates/jacquard-api/src/com_atproto/lexicon/schema.rs +++ b/crates/jacquard-api/src/com_atproto/lexicon/schema.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// Representation of Lexicon schemas themselves, when published as atproto records. Note that the schema language is not defined in Lexicon; this meta schema currently only includes a single version field ('lexicon'). See the atproto specifications for description of the other expected top-level fields ('id', 'defs', etc). #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -104,7 +104,7 @@ impl LexiconSchema for Schema { pub mod schema_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -200,10 +200,10 @@ where } fn lexicon_doc_com_atproto_lexicon_schema() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("com.atproto.lexicon.schema"), @@ -240,4 +240,4 @@ fn lexicon_doc_com_atproto_lexicon_schema() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/moderation.rs b/crates/jacquard-api/src/com_atproto/moderation.rs index cd68e0c5..2b094540 100644 --- a/crates/jacquard-api/src/com_atproto/moderation.rs +++ b/crates/jacquard-api/src/com_atproto/moderation.rs @@ -7,9 +7,9 @@ pub mod create_report; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// Appeal a previously taken moderation action #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Hash)] @@ -70,7 +70,6 @@ impl core::fmt::Display for ReasonSpam { } } - #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum ReasonType { ComAtprotoModerationDefsReasonSpam, @@ -126,9 +125,7 @@ pub enum ReasonType { impl ReasonType { pub fn as_str(&self) -> &str { match self { - Self::ComAtprotoModerationDefsReasonSpam => { - "com.atproto.moderation.defs#reasonSpam" - } + Self::ComAtprotoModerationDefsReasonSpam => "com.atproto.moderation.defs#reasonSpam", Self::ComAtprotoModerationDefsReasonViolation => { "com.atproto.moderation.defs#reasonViolation" } @@ -138,21 +135,13 @@ impl ReasonType { Self::ComAtprotoModerationDefsReasonSexual => { "com.atproto.moderation.defs#reasonSexual" } - Self::ComAtprotoModerationDefsReasonRude => { - "com.atproto.moderation.defs#reasonRude" - } - Self::ComAtprotoModerationDefsReasonOther => { - "com.atproto.moderation.defs#reasonOther" - } + Self::ComAtprotoModerationDefsReasonRude => "com.atproto.moderation.defs#reasonRude", + Self::ComAtprotoModerationDefsReasonOther => "com.atproto.moderation.defs#reasonOther", Self::ComAtprotoModerationDefsReasonAppeal => { "com.atproto.moderation.defs#reasonAppeal" } - Self::ToolsOzoneReportDefsReasonAppeal => { - "tools.ozone.report.defs#reasonAppeal" - } - Self::ToolsOzoneReportDefsReasonOther => { - "tools.ozone.report.defs#reasonOther" - } + Self::ToolsOzoneReportDefsReasonAppeal => "tools.ozone.report.defs#reasonAppeal", + Self::ToolsOzoneReportDefsReasonOther => "tools.ozone.report.defs#reasonOther", Self::ToolsOzoneReportDefsReasonViolenceAnimal => { "tools.ozone.report.defs#reasonViolenceAnimal" } @@ -249,9 +238,7 @@ impl ReasonType { Self::ToolsOzoneReportDefsReasonRuleBanEvasion => { "tools.ozone.report.defs#reasonRuleBanEvasion" } - Self::ToolsOzoneReportDefsReasonRuleOther => { - "tools.ozone.report.defs#reasonRuleOther" - } + Self::ToolsOzoneReportDefsReasonRuleOther => "tools.ozone.report.defs#reasonRuleOther", Self::ToolsOzoneReportDefsReasonSelfHarmContent => { "tools.ozone.report.defs#reasonSelfHarmContent" } @@ -273,9 +260,7 @@ impl ReasonType { /// Construct from a string-like value, matching known values. pub fn from_value(s: S) -> Self { match s.as_ref() { - "com.atproto.moderation.defs#reasonSpam" => { - Self::ComAtprotoModerationDefsReasonSpam - } + "com.atproto.moderation.defs#reasonSpam" => Self::ComAtprotoModerationDefsReasonSpam, "com.atproto.moderation.defs#reasonViolation" => { Self::ComAtprotoModerationDefsReasonViolation } @@ -285,21 +270,13 @@ impl ReasonType { "com.atproto.moderation.defs#reasonSexual" => { Self::ComAtprotoModerationDefsReasonSexual } - "com.atproto.moderation.defs#reasonRude" => { - Self::ComAtprotoModerationDefsReasonRude - } - "com.atproto.moderation.defs#reasonOther" => { - Self::ComAtprotoModerationDefsReasonOther - } + "com.atproto.moderation.defs#reasonRude" => Self::ComAtprotoModerationDefsReasonRude, + "com.atproto.moderation.defs#reasonOther" => Self::ComAtprotoModerationDefsReasonOther, "com.atproto.moderation.defs#reasonAppeal" => { Self::ComAtprotoModerationDefsReasonAppeal } - "tools.ozone.report.defs#reasonAppeal" => { - Self::ToolsOzoneReportDefsReasonAppeal - } - "tools.ozone.report.defs#reasonOther" => { - Self::ToolsOzoneReportDefsReasonOther - } + "tools.ozone.report.defs#reasonAppeal" => Self::ToolsOzoneReportDefsReasonAppeal, + "tools.ozone.report.defs#reasonOther" => Self::ToolsOzoneReportDefsReasonOther, "tools.ozone.report.defs#reasonViolenceAnimal" => { Self::ToolsOzoneReportDefsReasonViolenceAnimal } @@ -396,9 +373,7 @@ impl ReasonType { "tools.ozone.report.defs#reasonRuleBanEvasion" => { Self::ToolsOzoneReportDefsReasonRuleBanEvasion } - "tools.ozone.report.defs#reasonRuleOther" => { - Self::ToolsOzoneReportDefsReasonRuleOther - } + "tools.ozone.report.defs#reasonRuleOther" => Self::ToolsOzoneReportDefsReasonRuleOther, "tools.ozone.report.defs#reasonSelfHarmContent" => { Self::ToolsOzoneReportDefsReasonSelfHarmContent } @@ -689,4 +664,4 @@ where SubjectType::Other(v) => SubjectType::Other(v.into_static()), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/moderation/create_report.rs b/crates/jacquard-api/src/com_atproto/moderation/create_report.rs index 142633f8..be31136c 100644 --- a/crates/jacquard-api/src/com_atproto/moderation/create_report.rs +++ b/crates/jacquard-api/src/com_atproto/moderation/create_report.rs @@ -10,27 +10,30 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; use jacquard_common::deps::smol_str::SmolStr; -use jacquard_common::types::string::{Did, Datetime}; +use jacquard_common::types::string::{Datetime, Did}; use jacquard_common::types::value::Data; use jacquard_derive::{IntoStatic, open_union}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::com_atproto::admin::RepoRef; use crate::com_atproto::moderation::ReasonType; -use crate::com_atproto::repo::strong_ref::StrongRef; use crate::com_atproto::moderation::create_report; +use crate::com_atproto::repo::strong_ref::StrongRef; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct CreateReport { #[serde(skip_serializing_if = "Option::is_none")] pub mod_tool: Option>, @@ -44,7 +47,6 @@ pub struct CreateReport { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -55,9 +57,11 @@ pub enum CreateReportSubject { StrongRef(Box>), } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct CreateReportOutput { pub created_at: Datetime, pub id: i64, @@ -70,7 +74,6 @@ pub struct CreateReportOutput { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -84,7 +87,10 @@ pub enum CreateReportOutputSubject { /// Moderation tool information for tracing the source of the action #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ModTool { ///Additional arbitrary metadata about the source #[serde(skip_serializing_if = "Option::is_none")] @@ -106,9 +112,8 @@ impl jacquard_common::xrpc::XrpcResp for CreateReportResponse { impl jacquard_common::xrpc::XrpcRequest for CreateReport { const NSID: &'static str = "com.atproto.moderation.createReport"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = CreateReportResponse; } @@ -116,9 +121,8 @@ impl jacquard_common::xrpc::XrpcRequest for CreateReport { pub struct CreateReportRequest; impl jacquard_common::xrpc::XrpcEndpoint for CreateReportRequest { const PATH: &'static str = "/xrpc/com.atproto.moderation.createReport"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = CreateReport; type Response = CreateReportResponse; } @@ -140,7 +144,7 @@ impl LexiconSchema for ModTool { pub mod create_report_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -214,10 +218,7 @@ impl CreateReportBuilder { impl CreateReportBuilder { /// Set the `modTool` field (optional) - pub fn mod_tool( - mut self, - value: impl Into>>, - ) -> Self { + pub fn mod_tool(mut self, value: impl Into>>) -> Self { self._fields.0 = value.into(); self } @@ -296,10 +297,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> CreateReport { + pub fn build_with_data(self, extra_data: BTreeMap>) -> CreateReport { CreateReport { mod_tool: self._fields.0, reason: self._fields.1, @@ -311,10 +309,10 @@ where } fn lexicon_doc_com_atproto_moderation_createReport() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("com.atproto.moderation.createReport"), @@ -325,61 +323,55 @@ fn lexicon_doc_com_atproto_moderation_createReport() -> LexiconDoc<'static> { LexUserType::XrpcProcedure(LexXrpcProcedure { input: Some(LexXrpcBody { encoding: CowStr::new_static("application/json"), - schema: Some( - LexXrpcBodySchema::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("reasonType"), - SmolStr::new_static("subject") - ], - ), - properties: { - #[allow(unused_mut)] - let mut map = BTreeMap::new(); - map.insert( - SmolStr::new_static("modTool"), - LexObjectProperty::Ref(LexRef { - r#ref: CowStr::new_static("#modTool"), - ..Default::default() - }), - ); - map.insert( - SmolStr::new_static("reason"), - LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Additional context about the content and violation.", - ), - ), - max_length: Some(20000usize), - max_graphemes: Some(2000usize), - ..Default::default() - }), - ); - map.insert( - SmolStr::new_static("reasonType"), - LexObjectProperty::Ref(LexRef { - r#ref: CowStr::new_static( - "com.atproto.moderation.defs#reasonType", - ), - ..Default::default() - }), - ); - map.insert( - SmolStr::new_static("subject"), - LexObjectProperty::Union(LexRefUnion { - refs: vec![ - CowStr::new_static("com.atproto.admin.defs#repoRef"), - CowStr::new_static("com.atproto.repo.strongRef") - ], - ..Default::default() - }), - ); - map - }, - ..Default::default() - }), - ), + schema: Some(LexXrpcBodySchema::Object(LexObject { + required: Some(vec![ + SmolStr::new_static("reasonType"), + SmolStr::new_static("subject"), + ]), + properties: { + #[allow(unused_mut)] + let mut map = BTreeMap::new(); + map.insert( + SmolStr::new_static("modTool"), + LexObjectProperty::Ref(LexRef { + r#ref: CowStr::new_static("#modTool"), + ..Default::default() + }), + ); + map.insert( + SmolStr::new_static("reason"), + LexObjectProperty::String(LexString { + description: Some(CowStr::new_static( + "Additional context about the content and violation.", + )), + max_length: Some(20000usize), + max_graphemes: Some(2000usize), + ..Default::default() + }), + ); + map.insert( + SmolStr::new_static("reasonType"), + LexObjectProperty::Ref(LexRef { + r#ref: CowStr::new_static( + "com.atproto.moderation.defs#reasonType", + ), + ..Default::default() + }), + ); + map.insert( + SmolStr::new_static("subject"), + LexObjectProperty::Union(LexRefUnion { + refs: vec![ + CowStr::new_static("com.atproto.admin.defs#repoRef"), + CowStr::new_static("com.atproto.repo.strongRef"), + ], + ..Default::default() + }), + ); + map + }, + ..Default::default() + })), ..Default::default() }), ..Default::default() @@ -423,4 +415,4 @@ fn lexicon_doc_com_atproto_moderation_createReport() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/repo.rs b/crates/jacquard-api/src/com_atproto/repo.rs index c4063aee..b2e44c50 100644 --- a/crates/jacquard-api/src/com_atproto/repo.rs +++ b/crates/jacquard-api/src/com_atproto/repo.rs @@ -17,7 +17,6 @@ pub mod put_record; pub mod strong_ref; pub mod upload_blob; - #[allow(unused_imports)] use alloc::collections::BTreeMap; @@ -28,7 +27,7 @@ use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; use jacquard_common::deps::smol_str::SmolStr; -use jacquard_common::types::string::{Tid, Cid}; +use jacquard_common::types::string::{Cid, Tid}; use jacquard_common::types::value::Data; use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; @@ -36,10 +35,13 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct CommitMeta { pub cid: Cid, pub rev: Tid, @@ -64,7 +66,7 @@ impl LexiconSchema for CommitMeta { pub mod commit_meta_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -184,10 +186,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> CommitMeta { + pub fn build_with_data(self, extra_data: BTreeMap>) -> CommitMeta { CommitMeta { cid: self._fields.0.unwrap(), rev: self._fields.1.unwrap(), @@ -197,10 +196,10 @@ where } fn lexicon_doc_com_atproto_repo_defs() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("com.atproto.repo.defs"), @@ -209,9 +208,7 @@ fn lexicon_doc_com_atproto_repo_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("commitMeta"), LexUserType::Object(LexObject { - required: Some( - vec![SmolStr::new_static("cid"), SmolStr::new_static("rev")], - ), + required: Some(vec![SmolStr::new_static("cid"), SmolStr::new_static("rev")]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -238,4 +235,4 @@ fn lexicon_doc_com_atproto_repo_defs() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/repo/apply_writes.rs b/crates/jacquard-api/src/com_atproto/repo/apply_writes.rs index 4d67b93b..6593bf16 100644 --- a/crates/jacquard-api/src/com_atproto/repo/apply_writes.rs +++ b/crates/jacquard-api/src/com_atproto/repo/apply_writes.rs @@ -10,27 +10,30 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::ident::AtIdentifier; -use jacquard_common::types::string::{AtUri, Nsid, Cid, RecordKey, Rkey}; +use jacquard_common::types::string::{AtUri, Cid, Nsid, RecordKey, Rkey}; use jacquard_common::types::value::Data; use jacquard_derive::{IntoStatic, open_union}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::com_atproto::repo::CommitMeta; use crate::com_atproto::repo::apply_writes; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; /// Operation which creates a new record. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Create { pub collection: Nsid, ///NOTE: maxLength is redundant with record-key format. Keeping it temporarily to ensure backwards compatibility. @@ -41,9 +44,11 @@ pub struct Create { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct CreateResult { pub cid: Cid, pub uri: AtUri, @@ -53,7 +58,6 @@ pub struct CreateResult { pub extra_data: Option>>, } - #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum CreateResultValidationStatus { Valid, @@ -100,8 +104,7 @@ impl Serialize for CreateResultValidationStatus { } } -impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> -for CreateResultValidationStatus { +impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> for CreateResultValidationStatus { fn deserialize(deserializer: D) -> Result where D: serde::Deserializer<'de>, @@ -126,9 +129,7 @@ where fn into_static(self) -> Self::Output { match self { CreateResultValidationStatus::Valid => CreateResultValidationStatus::Valid, - CreateResultValidationStatus::Unknown => { - CreateResultValidationStatus::Unknown - } + CreateResultValidationStatus::Unknown => CreateResultValidationStatus::Unknown, CreateResultValidationStatus::Other(v) => { CreateResultValidationStatus::Other(v.into_static()) } @@ -139,7 +140,10 @@ where /// Operation which deletes an existing record. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Delete { pub collection: Nsid, pub rkey: RecordKey>, @@ -147,17 +151,21 @@ pub struct Delete { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DeleteResult { #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ApplyWrites { ///The handle or DID of the repo (aka, current account). pub repo: AtIdentifier, @@ -172,7 +180,6 @@ pub struct ApplyWrites { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] pub enum ApplyWritesWritesItem { @@ -184,9 +191,11 @@ pub enum ApplyWritesWritesItem { Delete(Box>), } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ApplyWritesOutput { #[serde(skip_serializing_if = "Option::is_none")] pub commit: Option>, @@ -196,7 +205,6 @@ pub struct ApplyWritesOutput { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] pub enum ApplyWritesOutputResultsItem { @@ -208,18 +216,9 @@ pub enum ApplyWritesOutputResultsItem { DeleteResult(Box>), } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum ApplyWritesError { /// Indicates that the 'swapCommit' parameter did not match current commit. @@ -227,7 +226,10 @@ pub enum ApplyWritesError { InvalidSwap(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for ApplyWritesError { @@ -254,7 +256,10 @@ impl core::fmt::Display for ApplyWritesError { /// Operation which updates an existing record. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Update { pub collection: Nsid, pub rkey: RecordKey>, @@ -263,9 +268,11 @@ pub struct Update { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct UpdateResult { pub cid: Cid, pub uri: AtUri, @@ -275,7 +282,6 @@ pub struct UpdateResult { pub extra_data: Option>>, } - #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum UpdateResultValidationStatus { Valid, @@ -322,8 +328,7 @@ impl Serialize for UpdateResultValidationStatus { } } -impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> -for UpdateResultValidationStatus { +impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> for UpdateResultValidationStatus { fn deserialize(deserializer: D) -> Result where D: serde::Deserializer<'de>, @@ -348,9 +353,7 @@ where fn into_static(self) -> Self::Output { match self { UpdateResultValidationStatus::Valid => UpdateResultValidationStatus::Valid, - UpdateResultValidationStatus::Unknown => { - UpdateResultValidationStatus::Unknown - } + UpdateResultValidationStatus::Unknown => UpdateResultValidationStatus::Unknown, UpdateResultValidationStatus::Other(v) => { UpdateResultValidationStatus::Other(v.into_static()) } @@ -439,9 +442,8 @@ impl jacquard_common::xrpc::XrpcResp for ApplyWritesResponse { impl jacquard_common::xrpc::XrpcRequest for ApplyWrites { const NSID: &'static str = "com.atproto.repo.applyWrites"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = ApplyWritesResponse; } @@ -449,9 +451,8 @@ impl jacquard_common::xrpc::XrpcRequest for ApplyWrites { pub struct ApplyWritesRequest; impl jacquard_common::xrpc::XrpcEndpoint for ApplyWritesRequest { const PATH: &'static str = "/xrpc/com.atproto.repo.applyWrites"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = ApplyWrites; type Response = ApplyWritesResponse; } @@ -488,7 +489,7 @@ impl LexiconSchema for UpdateResult { pub mod create_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -633,10 +634,10 @@ where } fn lexicon_doc_com_atproto_repo_applyWrites() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("com.atproto.repo.applyWrites"), @@ -691,9 +692,7 @@ fn lexicon_doc_com_atproto_repo_applyWrites() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("createResult"), LexUserType::Object(LexObject { - required: Some( - vec![SmolStr::new_static("uri"), SmolStr::new_static("cid")], - ), + required: Some(vec![SmolStr::new_static("uri"), SmolStr::new_static("cid")]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -713,7 +712,9 @@ fn lexicon_doc_com_atproto_repo_applyWrites() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("validationStatus"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map }, @@ -723,15 +724,13 @@ fn lexicon_doc_com_atproto_repo_applyWrites() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("delete"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("Operation which deletes an existing record."), - ), - required: Some( - vec![ - SmolStr::new_static("collection"), - SmolStr::new_static("rkey") - ], - ), + description: Some(CowStr::new_static( + "Operation which deletes an existing record.", + )), + required: Some(vec![ + SmolStr::new_static("collection"), + SmolStr::new_static("rkey"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -838,15 +837,14 @@ fn lexicon_doc_com_atproto_repo_applyWrites() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("update"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("Operation which updates an existing record."), - ), - required: Some( - vec![ - SmolStr::new_static("collection"), - SmolStr::new_static("rkey"), SmolStr::new_static("value") - ], - ), + description: Some(CowStr::new_static( + "Operation which updates an existing record.", + )), + required: Some(vec![ + SmolStr::new_static("collection"), + SmolStr::new_static("rkey"), + SmolStr::new_static("value"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -878,9 +876,7 @@ fn lexicon_doc_com_atproto_repo_applyWrites() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("updateResult"), LexUserType::Object(LexObject { - required: Some( - vec![SmolStr::new_static("uri"), SmolStr::new_static("cid")], - ), + required: Some(vec![SmolStr::new_static("uri"), SmolStr::new_static("cid")]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -900,7 +896,9 @@ fn lexicon_doc_com_atproto_repo_applyWrites() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("validationStatus"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map }, @@ -915,7 +913,7 @@ fn lexicon_doc_com_atproto_repo_applyWrites() -> LexiconDoc<'static> { pub mod create_result_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -960,7 +958,11 @@ pub mod create_result_state { /// Builder for constructing an instance of this type. pub struct CreateResultBuilder { _state: PhantomData St>, - _fields: (Option>, Option>, Option>), + _fields: ( + Option>, + Option>, + Option>, + ), _type: PhantomData S>, } @@ -1055,10 +1057,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> CreateResult { + pub fn build_with_data(self, extra_data: BTreeMap>) -> CreateResult { CreateResult { cid: self._fields.0.unwrap(), uri: self._fields.1.unwrap(), @@ -1070,7 +1069,7 @@ where pub mod delete_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -1201,7 +1200,7 @@ where pub mod apply_writes_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -1354,10 +1353,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> ApplyWrites { + pub fn build_with_data(self, extra_data: BTreeMap>) -> ApplyWrites { ApplyWrites { repo: self._fields.0.unwrap(), swap_commit: self._fields.1, @@ -1370,7 +1366,7 @@ where pub mod update_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -1537,7 +1533,7 @@ where pub mod update_result_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -1582,7 +1578,11 @@ pub mod update_result_state { /// Builder for constructing an instance of this type. pub struct UpdateResultBuilder { _state: PhantomData St>, - _fields: (Option>, Option>, Option>), + _fields: ( + Option>, + Option>, + Option>, + ), _type: PhantomData S>, } @@ -1677,10 +1677,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> UpdateResult { + pub fn build_with_data(self, extra_data: BTreeMap>) -> UpdateResult { UpdateResult { cid: self._fields.0.unwrap(), uri: self._fields.1.unwrap(), @@ -1688,4 +1685,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/repo/create_record.rs b/crates/jacquard-api/src/com_atproto/repo/create_record.rs index 8c100643..4b38cc5b 100644 --- a/crates/jacquard-api/src/com_atproto/repo/create_record.rs +++ b/crates/jacquard-api/src/com_atproto/repo/create_record.rs @@ -8,19 +8,22 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::com_atproto::repo::CommitMeta; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::ident::AtIdentifier; -use jacquard_common::types::string::{AtUri, Nsid, Cid, RecordKey, Rkey}; +use jacquard_common::types::string::{AtUri, Cid, Nsid, RecordKey, Rkey}; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; -use crate::com_atproto::repo::CommitMeta; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct CreateRecord { ///The NSID of the record collection. pub collection: Nsid, @@ -41,9 +44,11 @@ pub struct CreateRecord { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct CreateRecordOutput { pub cid: Cid, #[serde(skip_serializing_if = "Option::is_none")] @@ -55,7 +60,6 @@ pub struct CreateRecordOutput { pub extra_data: Option>>, } - #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum CreateRecordOutputValidationStatus { Valid, @@ -102,8 +106,7 @@ impl Serialize for CreateRecordOutputValidationStatus { } } -impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> -for CreateRecordOutputValidationStatus { +impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> for CreateRecordOutputValidationStatus { fn deserialize(deserializer: D) -> Result where D: serde::Deserializer<'de>, @@ -127,9 +130,7 @@ where type Output = CreateRecordOutputValidationStatus; fn into_static(self) -> Self::Output { match self { - CreateRecordOutputValidationStatus::Valid => { - CreateRecordOutputValidationStatus::Valid - } + CreateRecordOutputValidationStatus::Valid => CreateRecordOutputValidationStatus::Valid, CreateRecordOutputValidationStatus::Unknown => { CreateRecordOutputValidationStatus::Unknown } @@ -140,18 +141,9 @@ where } } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum CreateRecordError { /// Indicates that 'swapCommit' didn't match current repo commit. @@ -159,7 +151,10 @@ pub enum CreateRecordError { InvalidSwap(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for CreateRecordError { @@ -194,9 +189,8 @@ impl jacquard_common::xrpc::XrpcResp for CreateRecordResponse { impl jacquard_common::xrpc::XrpcRequest for CreateRecord { const NSID: &'static str = "com.atproto.repo.createRecord"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = CreateRecordResponse; } @@ -204,16 +198,15 @@ impl jacquard_common::xrpc::XrpcRequest for CreateRecord { pub struct CreateRecordRequest; impl jacquard_common::xrpc::XrpcEndpoint for CreateRecordRequest { const PATH: &'static str = "/xrpc/com.atproto.repo.createRecord"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = CreateRecord; type Response = CreateRecordResponse; } pub mod create_record_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -417,10 +410,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> CreateRecord { + pub fn build_with_data(self, extra_data: BTreeMap>) -> CreateRecord { CreateRecord { collection: self._fields.0.unwrap(), record: self._fields.1.unwrap(), @@ -431,4 +421,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/repo/delete_record.rs b/crates/jacquard-api/src/com_atproto/repo/delete_record.rs index fa9f4e7c..25ce6f12 100644 --- a/crates/jacquard-api/src/com_atproto/repo/delete_record.rs +++ b/crates/jacquard-api/src/com_atproto/repo/delete_record.rs @@ -8,19 +8,22 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::com_atproto::repo::CommitMeta; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::ident::AtIdentifier; -use jacquard_common::types::string::{Nsid, Cid, RecordKey, Rkey}; +use jacquard_common::types::string::{Cid, Nsid, RecordKey, Rkey}; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; -use crate::com_atproto::repo::CommitMeta; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DeleteRecord { ///The NSID of the record collection. pub collection: Nsid, @@ -38,9 +41,11 @@ pub struct DeleteRecord { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DeleteRecordOutput { #[serde(skip_serializing_if = "Option::is_none")] pub commit: Option>, @@ -48,25 +53,19 @@ pub struct DeleteRecordOutput { pub extra_data: Option>>, } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum DeleteRecordError { #[serde(rename = "InvalidSwap")] InvalidSwap(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for DeleteRecordError { @@ -101,9 +100,8 @@ impl jacquard_common::xrpc::XrpcResp for DeleteRecordResponse { impl jacquard_common::xrpc::XrpcRequest for DeleteRecord { const NSID: &'static str = "com.atproto.repo.deleteRecord"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = DeleteRecordResponse; } @@ -111,16 +109,15 @@ impl jacquard_common::xrpc::XrpcRequest for DeleteRecord { pub struct DeleteRecordRequest; impl jacquard_common::xrpc::XrpcEndpoint for DeleteRecordRequest { const PATH: &'static str = "/xrpc/com.atproto.repo.deleteRecord"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = DeleteRecord; type Response = DeleteRecordResponse; } pub mod delete_record_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -309,10 +306,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> DeleteRecord { + pub fn build_with_data(self, extra_data: BTreeMap>) -> DeleteRecord { DeleteRecord { collection: self._fields.0.unwrap(), repo: self._fields.1.unwrap(), @@ -322,4 +316,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/repo/describe_repo.rs b/crates/jacquard-api/src/com_atproto/repo/describe_repo.rs index 5967c4fe..d8a2ad1a 100644 --- a/crates/jacquard-api/src/com_atproto/repo/describe_repo.rs +++ b/crates/jacquard-api/src/com_atproto/repo/describe_repo.rs @@ -10,23 +10,28 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::ident::AtIdentifier; use jacquard_common::types::string::{Did, Handle, Nsid}; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DescribeRepo { pub repo: AtIdentifier, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DescribeRepoOutput { ///List of all the collections (NSIDs) for which this repo contains at least one record. pub collections: Vec>, @@ -66,7 +71,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for DescribeRepoRequest { pub mod describe_repo_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -151,4 +156,4 @@ where repo: self._fields.0.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/repo/get_record.rs b/crates/jacquard-api/src/com_atproto/repo/get_record.rs index 9b1ecd72..4add0949 100644 --- a/crates/jacquard-api/src/com_atproto/repo/get_record.rs +++ b/crates/jacquard-api/src/com_atproto/repo/get_record.rs @@ -10,16 +10,19 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::ident::AtIdentifier; -use jacquard_common::types::string::{AtUri, Nsid, Cid, RecordKey, Rkey}; +use jacquard_common::types::string::{AtUri, Cid, Nsid, RecordKey, Rkey}; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetRecord { #[serde(skip_serializing_if = "Option::is_none")] pub cid: Option>, @@ -28,9 +31,11 @@ pub struct GetRecord { pub rkey: RecordKey>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetRecordOutput { #[serde(skip_serializing_if = "Option::is_none")] pub cid: Option>, @@ -40,25 +45,19 @@ pub struct GetRecordOutput { pub extra_data: Option>>, } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum GetRecordError { #[serde(rename = "RecordNotFound")] RecordNotFound(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for GetRecordError { @@ -108,7 +107,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetRecordRequest { pub mod get_record_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -280,4 +279,4 @@ where rkey: self._fields.3.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/repo/import_repo.rs b/crates/jacquard-api/src/com_atproto/repo/import_repo.rs index 3a33f3a6..dfb01806 100644 --- a/crates/jacquard-api/src/com_atproto/repo/import_repo.rs +++ b/crates/jacquard-api/src/com_atproto/repo/import_repo.rs @@ -10,12 +10,12 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::bytes::Bytes; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(rename_all = "camelCase")] @@ -34,22 +34,16 @@ impl jacquard_common::xrpc::XrpcResp for ImportRepoResponse { impl jacquard_common::xrpc::XrpcRequest for ImportRepo { const NSID: &'static str = "com.atproto.repo.importRepo"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/vnd.ipld.car", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/vnd.ipld.car"); type Response = ImportRepoResponse; - fn encode_body( - &self, - buffer: &mut Vec, - ) -> Result<(), jacquard_common::xrpc::EncodeError> + fn encode_body(&self, buffer: &mut Vec) -> Result<(), jacquard_common::xrpc::EncodeError> where Self: Serialize, { Ok(buffer.copy_from_slice(self.body.as_ref())) } - fn decode_body<'de>( - body: &'de [u8], - ) -> Result + fn decode_body<'de>(body: &'de [u8]) -> Result where Self: Deserialize<'de>, { @@ -63,9 +57,8 @@ impl jacquard_common::xrpc::XrpcRequest for ImportRepo { pub struct ImportRepoRequest; impl jacquard_common::xrpc::XrpcEndpoint for ImportRepoRequest { const PATH: &'static str = "/xrpc/com.atproto.repo.importRepo"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/vnd.ipld.car", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/vnd.ipld.car"); type Request = ImportRepo; type Response = ImportRepoResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/repo/list_missing_blobs.rs b/crates/jacquard-api/src/com_atproto/repo/list_missing_blobs.rs index cced8b06..ce27aa26 100644 --- a/crates/jacquard-api/src/com_atproto/repo/list_missing_blobs.rs +++ b/crates/jacquard-api/src/com_atproto/repo/list_missing_blobs.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -21,13 +21,16 @@ use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::com_atproto::repo::list_missing_blobs; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::com_atproto::repo::list_missing_blobs; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ListMissingBlobs { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -37,9 +40,11 @@ pub struct ListMissingBlobs { pub limit: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ListMissingBlobsOutput { pub blobs: Vec>, #[serde(skip_serializing_if = "Option::is_none")] @@ -48,9 +53,11 @@ pub struct ListMissingBlobsOutput { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct RecordBlob { pub cid: Cid, pub record_uri: AtUri, @@ -103,7 +110,7 @@ fn _default_limit() -> Option { pub mod list_missing_blobs_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -186,7 +193,7 @@ where pub mod record_blob_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -306,10 +313,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> RecordBlob { + pub fn build_with_data(self, extra_data: BTreeMap>) -> RecordBlob { RecordBlob { cid: self._fields.0.unwrap(), record_uri: self._fields.1.unwrap(), @@ -319,10 +323,10 @@ where } fn lexicon_doc_com_atproto_repo_listMissingBlobs() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("com.atproto.repo.listMissingBlobs"), @@ -331,39 +335,36 @@ fn lexicon_doc_com_atproto_repo_listMissingBlobs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::XrpcQuery(LexXrpcQuery { - parameters: Some( - LexXrpcQueryParameter::Params(LexXrpcParameters { - properties: { - #[allow(unused_mut)] - let mut map = BTreeMap::new(); - map.insert( - SmolStr::new_static("cursor"), - LexXrpcParametersProperty::String(LexString { - ..Default::default() - }), - ); - map.insert( - SmolStr::new_static("limit"), - LexXrpcParametersProperty::Integer(LexInteger { - ..Default::default() - }), - ); - map - }, - ..Default::default() - }), - ), + parameters: Some(LexXrpcQueryParameter::Params(LexXrpcParameters { + properties: { + #[allow(unused_mut)] + let mut map = BTreeMap::new(); + map.insert( + SmolStr::new_static("cursor"), + LexXrpcParametersProperty::String(LexString { + ..Default::default() + }), + ); + map.insert( + SmolStr::new_static("limit"), + LexXrpcParametersProperty::Integer(LexInteger { + ..Default::default() + }), + ); + map + }, + ..Default::default() + })), ..Default::default() }), ); map.insert( SmolStr::new_static("recordBlob"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("cid"), SmolStr::new_static("recordUri") - ], - ), + required: Some(vec![ + SmolStr::new_static("cid"), + SmolStr::new_static("recordUri"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -390,4 +391,4 @@ fn lexicon_doc_com_atproto_repo_listMissingBlobs() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/repo/list_records.rs b/crates/jacquard-api/src/com_atproto/repo/list_records.rs index 26732584..b1a49d57 100644 --- a/crates/jacquard-api/src/com_atproto/repo/list_records.rs +++ b/crates/jacquard-api/src/com_atproto/repo/list_records.rs @@ -10,25 +10,28 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::ident::AtIdentifier; -use jacquard_common::types::string::{AtUri, Nsid, Cid}; +use jacquard_common::types::string::{AtUri, Cid, Nsid}; use jacquard_common::types::value::Data; use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::com_atproto::repo::list_records; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::com_atproto::repo::list_records; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ListRecords { pub collection: Nsid, #[serde(skip_serializing_if = "Option::is_none")] @@ -42,9 +45,11 @@ pub struct ListRecords { pub reverse: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ListRecordsOutput { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -53,9 +58,11 @@ pub struct ListRecordsOutput { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Record { pub cid: Cid, pub uri: AtUri, @@ -109,7 +116,7 @@ fn _default_limit() -> Option { pub mod list_records_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -279,7 +286,7 @@ where pub mod record_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -366,10 +373,7 @@ where St::Cid: record_state::IsUnset, { /// Set the `cid` field (required) - pub fn cid( - mut self, - value: impl Into>, - ) -> RecordBuilder> { + pub fn cid(mut self, value: impl Into>) -> RecordBuilder> { self._fields.0 = Option::Some(value.into()); RecordBuilder { _state: PhantomData, @@ -385,10 +389,7 @@ where St::Uri: record_state::IsUnset, { /// Set the `uri` field (required) - pub fn uri( - mut self, - value: impl Into>, - ) -> RecordBuilder> { + pub fn uri(mut self, value: impl Into>) -> RecordBuilder> { self._fields.1 = Option::Some(value.into()); RecordBuilder { _state: PhantomData, @@ -445,10 +446,10 @@ where } fn lexicon_doc_com_atproto_repo_listRecords() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("com.atproto.repo.listRecords"), @@ -457,72 +458,67 @@ fn lexicon_doc_com_atproto_repo_listRecords() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::XrpcQuery(LexXrpcQuery { - parameters: Some( - LexXrpcQueryParameter::Params(LexXrpcParameters { - required: Some( - vec![ - SmolStr::new_static("repo"), - SmolStr::new_static("collection") - ], - ), - properties: { - #[allow(unused_mut)] - let mut map = BTreeMap::new(); - map.insert( - SmolStr::new_static("collection"), - LexXrpcParametersProperty::String(LexString { - description: Some( - CowStr::new_static("The NSID of the record type."), - ), - format: Some(LexStringFormat::Nsid), - ..Default::default() - }), - ); - map.insert( - SmolStr::new_static("cursor"), - LexXrpcParametersProperty::String(LexString { - ..Default::default() - }), - ); - map.insert( - SmolStr::new_static("limit"), - LexXrpcParametersProperty::Integer(LexInteger { - ..Default::default() - }), - ); - map.insert( - SmolStr::new_static("repo"), - LexXrpcParametersProperty::String(LexString { - description: Some( - CowStr::new_static("The handle or DID of the repo."), - ), - format: Some(LexStringFormat::AtIdentifier), - ..Default::default() - }), - ); - map.insert( - SmolStr::new_static("reverse"), - LexXrpcParametersProperty::Boolean(LexBoolean { - ..Default::default() - }), - ); - map - }, - ..Default::default() - }), - ), + parameters: Some(LexXrpcQueryParameter::Params(LexXrpcParameters { + required: Some(vec![ + SmolStr::new_static("repo"), + SmolStr::new_static("collection"), + ]), + properties: { + #[allow(unused_mut)] + let mut map = BTreeMap::new(); + map.insert( + SmolStr::new_static("collection"), + LexXrpcParametersProperty::String(LexString { + description: Some(CowStr::new_static( + "The NSID of the record type.", + )), + format: Some(LexStringFormat::Nsid), + ..Default::default() + }), + ); + map.insert( + SmolStr::new_static("cursor"), + LexXrpcParametersProperty::String(LexString { + ..Default::default() + }), + ); + map.insert( + SmolStr::new_static("limit"), + LexXrpcParametersProperty::Integer(LexInteger { + ..Default::default() + }), + ); + map.insert( + SmolStr::new_static("repo"), + LexXrpcParametersProperty::String(LexString { + description: Some(CowStr::new_static( + "The handle or DID of the repo.", + )), + format: Some(LexStringFormat::AtIdentifier), + ..Default::default() + }), + ); + map.insert( + SmolStr::new_static("reverse"), + LexXrpcParametersProperty::Boolean(LexBoolean { + ..Default::default() + }), + ); + map + }, + ..Default::default() + })), ..Default::default() }), ); map.insert( SmolStr::new_static("record"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("uri"), SmolStr::new_static("cid"), - SmolStr::new_static("value") - ], - ), + required: Some(vec![ + SmolStr::new_static("uri"), + SmolStr::new_static("cid"), + SmolStr::new_static("value"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -555,4 +551,4 @@ fn lexicon_doc_com_atproto_repo_listRecords() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/repo/put_record.rs b/crates/jacquard-api/src/com_atproto/repo/put_record.rs index 5e7e6597..ce19aafe 100644 --- a/crates/jacquard-api/src/com_atproto/repo/put_record.rs +++ b/crates/jacquard-api/src/com_atproto/repo/put_record.rs @@ -8,19 +8,22 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::com_atproto::repo::CommitMeta; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::ident::AtIdentifier; -use jacquard_common::types::string::{AtUri, Nsid, Cid, RecordKey, Rkey}; +use jacquard_common::types::string::{AtUri, Cid, Nsid, RecordKey, Rkey}; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; -use crate::com_atproto::repo::CommitMeta; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct PutRecord { ///The NSID of the record collection. pub collection: Nsid, @@ -43,9 +46,11 @@ pub struct PutRecord { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct PutRecordOutput { pub cid: Cid, #[serde(skip_serializing_if = "Option::is_none")] @@ -57,7 +62,6 @@ pub struct PutRecordOutput { pub extra_data: Option>>, } - #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum PutRecordOutputValidationStatus { Valid, @@ -104,8 +108,7 @@ impl Serialize for PutRecordOutputValidationStatus { } } -impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> -for PutRecordOutputValidationStatus { +impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> for PutRecordOutputValidationStatus { fn deserialize(deserializer: D) -> Result where D: serde::Deserializer<'de>, @@ -129,12 +132,8 @@ where type Output = PutRecordOutputValidationStatus; fn into_static(self) -> Self::Output { match self { - PutRecordOutputValidationStatus::Valid => { - PutRecordOutputValidationStatus::Valid - } - PutRecordOutputValidationStatus::Unknown => { - PutRecordOutputValidationStatus::Unknown - } + PutRecordOutputValidationStatus::Valid => PutRecordOutputValidationStatus::Valid, + PutRecordOutputValidationStatus::Unknown => PutRecordOutputValidationStatus::Unknown, PutRecordOutputValidationStatus::Other(v) => { PutRecordOutputValidationStatus::Other(v.into_static()) } @@ -142,25 +141,19 @@ where } } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum PutRecordError { #[serde(rename = "InvalidSwap")] InvalidSwap(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for PutRecordError { @@ -195,9 +188,8 @@ impl jacquard_common::xrpc::XrpcResp for PutRecordResponse { impl jacquard_common::xrpc::XrpcRequest for PutRecord { const NSID: &'static str = "com.atproto.repo.putRecord"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = PutRecordResponse; } @@ -205,16 +197,15 @@ impl jacquard_common::xrpc::XrpcRequest for PutRecord { pub struct PutRecordRequest; impl jacquard_common::xrpc::XrpcEndpoint for PutRecordRequest { const PATH: &'static str = "/xrpc/com.atproto.repo.putRecord"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = PutRecord; type Response = PutRecordResponse; } pub mod put_record_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -456,10 +447,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> PutRecord { + pub fn build_with_data(self, extra_data: BTreeMap>) -> PutRecord { PutRecord { collection: self._fields.0.unwrap(), record: self._fields.1.unwrap(), @@ -471,4 +459,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/repo/strong_ref.rs b/crates/jacquard-api/src/com_atproto/repo/strong_ref.rs index 8b7c0d75..973452fe 100644 --- a/crates/jacquard-api/src/com_atproto/repo/strong_ref.rs +++ b/crates/jacquard-api/src/com_atproto/repo/strong_ref.rs @@ -23,10 +23,13 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct StrongRef { pub cid: Cid, pub uri: AtUri, @@ -51,7 +54,7 @@ impl LexiconSchema for StrongRef { pub mod strong_ref_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -171,10 +174,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> StrongRef { + pub fn build_with_data(self, extra_data: BTreeMap>) -> StrongRef { StrongRef { cid: self._fields.0.unwrap(), uri: self._fields.1.unwrap(), @@ -184,10 +184,10 @@ where } fn lexicon_doc_com_atproto_repo_strongRef() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("com.atproto.repo.strongRef"), @@ -196,9 +196,7 @@ fn lexicon_doc_com_atproto_repo_strongRef() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Object(LexObject { - required: Some( - vec![SmolStr::new_static("uri"), SmolStr::new_static("cid")], - ), + required: Some(vec![SmolStr::new_static("uri"), SmolStr::new_static("cid")]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -225,4 +223,4 @@ fn lexicon_doc_com_atproto_repo_strongRef() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/repo/upload_blob.rs b/crates/jacquard-api/src/com_atproto/repo/upload_blob.rs index 3afcf441..204dee1c 100644 --- a/crates/jacquard-api/src/com_atproto/repo/upload_blob.rs +++ b/crates/jacquard-api/src/com_atproto/repo/upload_blob.rs @@ -10,13 +10,13 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::bytes::Bytes; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::blob::BlobRef; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(rename_all = "camelCase")] @@ -24,9 +24,11 @@ pub struct UploadBlob { pub body: Bytes, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct UploadBlobOutput { pub blob: BlobRef, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -44,22 +46,16 @@ impl jacquard_common::xrpc::XrpcResp for UploadBlobResponse { impl jacquard_common::xrpc::XrpcRequest for UploadBlob { const NSID: &'static str = "com.atproto.repo.uploadBlob"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "*/*", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("*/*"); type Response = UploadBlobResponse; - fn encode_body( - &self, - buffer: &mut Vec, - ) -> Result<(), jacquard_common::xrpc::EncodeError> + fn encode_body(&self, buffer: &mut Vec) -> Result<(), jacquard_common::xrpc::EncodeError> where Self: Serialize, { Ok(buffer.copy_from_slice(self.body.as_ref())) } - fn decode_body<'de>( - body: &'de [u8], - ) -> Result + fn decode_body<'de>(body: &'de [u8]) -> Result where Self: Deserialize<'de>, { @@ -73,9 +69,8 @@ impl jacquard_common::xrpc::XrpcRequest for UploadBlob { pub struct UploadBlobRequest; impl jacquard_common::xrpc::XrpcEndpoint for UploadBlobRequest { const PATH: &'static str = "/xrpc/com.atproto.repo.uploadBlob"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "*/*", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("*/*"); type Request = UploadBlob; type Response = UploadBlobResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/server.rs b/crates/jacquard-api/src/com_atproto/server.rs index ab36f756..564916fd 100644 --- a/crates/jacquard-api/src/com_atproto/server.rs +++ b/crates/jacquard-api/src/com_atproto/server.rs @@ -31,30 +31,32 @@ pub mod reset_password; pub mod revoke_app_password; pub mod update_email; - #[allow(unused_imports)] use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; use jacquard_common::deps::smol_str::SmolStr; -use jacquard_common::types::string::{Did, Datetime}; +use jacquard_common::types::string::{Datetime, Did}; use jacquard_common::types::value::Data; use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::com_atproto::server; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::com_atproto::server; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct InviteCode { pub available: i64, pub code: S, @@ -67,9 +69,11 @@ pub struct InviteCode { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct InviteCodeUse { pub used_at: Datetime, pub used_by: Did, @@ -109,7 +113,7 @@ impl LexiconSchema for InviteCodeUse { pub mod invite_code_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -432,10 +436,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> InviteCode { + pub fn build_with_data(self, extra_data: BTreeMap>) -> InviteCode { InviteCode { available: self._fields.0.unwrap(), code: self._fields.1.unwrap(), @@ -450,10 +451,10 @@ where } fn lexicon_doc_com_atproto_server_defs() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("com.atproto.server.defs"), @@ -462,16 +463,15 @@ fn lexicon_doc_com_atproto_server_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("inviteCode"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("code"), - SmolStr::new_static("available"), - SmolStr::new_static("disabled"), - SmolStr::new_static("forAccount"), - SmolStr::new_static("createdBy"), - SmolStr::new_static("createdAt"), SmolStr::new_static("uses") - ], - ), + required: Some(vec![ + SmolStr::new_static("code"), + SmolStr::new_static("available"), + SmolStr::new_static("disabled"), + SmolStr::new_static("forAccount"), + SmolStr::new_static("createdBy"), + SmolStr::new_static("createdAt"), + SmolStr::new_static("uses"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -483,7 +483,9 @@ fn lexicon_doc_com_atproto_server_defs() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("code"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("createdAt"), @@ -494,7 +496,9 @@ fn lexicon_doc_com_atproto_server_defs() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("createdBy"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("disabled"), @@ -504,7 +508,9 @@ fn lexicon_doc_com_atproto_server_defs() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("forAccount"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("uses"), @@ -524,11 +530,10 @@ fn lexicon_doc_com_atproto_server_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("inviteCodeUse"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("usedBy"), SmolStr::new_static("usedAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("usedBy"), + SmolStr::new_static("usedAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -559,7 +564,7 @@ fn lexicon_doc_com_atproto_server_defs() -> LexiconDoc<'static> { pub mod invite_code_use_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -679,14 +684,11 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> InviteCodeUse { + pub fn build_with_data(self, extra_data: BTreeMap>) -> InviteCodeUse { InviteCodeUse { used_at: self._fields.0.unwrap(), used_by: self._fields.1.unwrap(), extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/server/activate_account.rs b/crates/jacquard-api/src/com_atproto/server/activate_account.rs index 96a68ba7..97dfe34c 100644 --- a/crates/jacquard-api/src/com_atproto/server/activate_account.rs +++ b/crates/jacquard-api/src/com_atproto/server/activate_account.rs @@ -10,11 +10,11 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// XRPC request marker type. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Copy)] @@ -30,9 +30,8 @@ impl jacquard_common::xrpc::XrpcResp for ActivateAccountResponse { impl jacquard_common::xrpc::XrpcRequest for ActivateAccount { const NSID: &'static str = "com.atproto.server.activateAccount"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = ActivateAccountResponse; } @@ -40,9 +39,8 @@ impl jacquard_common::xrpc::XrpcRequest for ActivateAccount { pub struct ActivateAccountRequest; impl jacquard_common::xrpc::XrpcEndpoint for ActivateAccountRequest { const PATH: &'static str = "/xrpc/com.atproto.server.activateAccount"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = ActivateAccount; type Response = ActivateAccountResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/server/check_account_status.rs b/crates/jacquard-api/src/com_atproto/server/check_account_status.rs index 221f6def..3be09f72 100644 --- a/crates/jacquard-api/src/com_atproto/server/check_account_status.rs +++ b/crates/jacquard-api/src/com_atproto/server/check_account_status.rs @@ -10,15 +10,18 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::Cid; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct CheckAccountStatusOutput { pub activated: bool, pub expected_blobs: i64, @@ -59,4 +62,4 @@ impl jacquard_common::xrpc::XrpcEndpoint for CheckAccountStatusRequest { const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Query; type Request = CheckAccountStatus; type Response = CheckAccountStatusResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/server/confirm_email.rs b/crates/jacquard-api/src/com_atproto/server/confirm_email.rs index 69d28198..b4faa84c 100644 --- a/crates/jacquard-api/src/com_atproto/server/confirm_email.rs +++ b/crates/jacquard-api/src/com_atproto/server/confirm_email.rs @@ -10,14 +10,17 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ConfirmEmail { pub email: S, pub token: S, @@ -25,18 +28,9 @@ pub struct ConfirmEmail { pub extra_data: Option>>, } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum ConfirmEmailError { #[serde(rename = "AccountNotFound")] @@ -49,7 +43,10 @@ pub enum ConfirmEmailError { InvalidEmail(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for ConfirmEmailError { @@ -105,9 +102,8 @@ impl jacquard_common::xrpc::XrpcResp for ConfirmEmailResponse { impl jacquard_common::xrpc::XrpcRequest for ConfirmEmail { const NSID: &'static str = "com.atproto.server.confirmEmail"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = ConfirmEmailResponse; } @@ -115,9 +111,8 @@ impl jacquard_common::xrpc::XrpcRequest for ConfirmEmail { pub struct ConfirmEmailRequest; impl jacquard_common::xrpc::XrpcEndpoint for ConfirmEmailRequest { const PATH: &'static str = "/xrpc/com.atproto.server.confirmEmail"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = ConfirmEmail; type Response = ConfirmEmailResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/server/create_account.rs b/crates/jacquard-api/src/com_atproto/server/create_account.rs index 3dc0d0f3..5a1ed13a 100644 --- a/crates/jacquard-api/src/com_atproto/server/create_account.rs +++ b/crates/jacquard-api/src/com_atproto/server/create_account.rs @@ -10,15 +10,18 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::{Did, Handle}; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct CreateAccount { ///Pre-existing atproto DID, being imported to a new account. #[serde(skip_serializing_if = "Option::is_none")] @@ -46,9 +49,11 @@ pub struct CreateAccount { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct CreateAccountOutput { pub access_jwt: S, ///The DID of the new account. @@ -62,18 +67,9 @@ pub struct CreateAccountOutput { pub extra_data: Option>>, } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum CreateAccountError { #[serde(rename = "InvalidHandle")] @@ -92,7 +88,10 @@ pub enum CreateAccountError { IncompatibleDidDoc(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for CreateAccountError { @@ -169,9 +168,8 @@ impl jacquard_common::xrpc::XrpcResp for CreateAccountResponse { impl jacquard_common::xrpc::XrpcRequest for CreateAccount { const NSID: &'static str = "com.atproto.server.createAccount"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = CreateAccountResponse; } @@ -179,16 +177,15 @@ impl jacquard_common::xrpc::XrpcRequest for CreateAccount { pub struct CreateAccountRequest; impl jacquard_common::xrpc::XrpcEndpoint for CreateAccountRequest { const PATH: &'static str = "/xrpc/com.atproto.server.createAccount"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = CreateAccount; type Response = CreateAccountResponse; } pub mod create_account_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -397,10 +394,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> CreateAccount { + pub fn build_with_data(self, extra_data: BTreeMap>) -> CreateAccount { CreateAccount { did: self._fields.0, email: self._fields.1, @@ -414,4 +408,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/server/create_app_password.rs b/crates/jacquard-api/src/com_atproto/server/create_app_password.rs index 7a1d57aa..17e99217 100644 --- a/crates/jacquard-api/src/com_atproto/server/create_app_password.rs +++ b/crates/jacquard-api/src/com_atproto/server/create_app_password.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -21,13 +21,16 @@ use jacquard_derive::{IntoStatic, open_union}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::com_atproto::server::create_app_password; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::com_atproto::server::create_app_password; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct AppPassword { pub created_at: Datetime, pub name: S, @@ -38,9 +41,11 @@ pub struct AppPassword { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct CreateAppPassword { ///A short name for the App Password, to help distinguish them. pub name: S, @@ -51,9 +56,11 @@ pub struct CreateAppPassword { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct CreateAppPasswordOutput { #[serde(flatten)] pub value: Data, @@ -61,25 +68,19 @@ pub struct CreateAppPasswordOutput { pub extra_data: Option>>, } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum CreateAppPasswordError { #[serde(rename = "AccountTakedown")] AccountTakedown(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for CreateAppPasswordError { @@ -129,9 +130,8 @@ impl jacquard_common::xrpc::XrpcResp for CreateAppPasswordResponse { impl jacquard_common::xrpc::XrpcRequest for CreateAppPassword { const NSID: &'static str = "com.atproto.server.createAppPassword"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = CreateAppPasswordResponse; } @@ -139,16 +139,15 @@ impl jacquard_common::xrpc::XrpcRequest for CreateAppPassword { pub struct CreateAppPasswordRequest; impl jacquard_common::xrpc::XrpcEndpoint for CreateAppPasswordRequest { const PATH: &'static str = "/xrpc/com.atproto.server.createAppPassword"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = CreateAppPassword; type Response = CreateAppPasswordResponse; } pub mod app_password_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -317,10 +316,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> AppPassword { + pub fn build_with_data(self, extra_data: BTreeMap>) -> AppPassword { AppPassword { created_at: self._fields.0.unwrap(), name: self._fields.1.unwrap(), @@ -332,10 +328,10 @@ where } fn lexicon_doc_com_atproto_server_createAppPassword() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("com.atproto.server.createAppPassword"), @@ -344,12 +340,11 @@ fn lexicon_doc_com_atproto_server_createAppPassword() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("appPassword"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("name"), SmolStr::new_static("password"), - SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("name"), + SmolStr::new_static("password"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -362,11 +357,15 @@ fn lexicon_doc_com_atproto_server_createAppPassword() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("name"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("password"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("privileged"), @@ -421,4 +420,4 @@ fn lexicon_doc_com_atproto_server_createAppPassword() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/server/create_invite_code.rs b/crates/jacquard-api/src/com_atproto/server/create_invite_code.rs index 7d1c6c05..e74d6619 100644 --- a/crates/jacquard-api/src/com_atproto/server/create_invite_code.rs +++ b/crates/jacquard-api/src/com_atproto/server/create_invite_code.rs @@ -10,15 +10,18 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::Did; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct CreateInviteCode { #[serde(skip_serializing_if = "Option::is_none")] pub for_account: Option>, @@ -27,9 +30,11 @@ pub struct CreateInviteCode { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct CreateInviteCodeOutput { pub code: S, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -47,9 +52,8 @@ impl jacquard_common::xrpc::XrpcResp for CreateInviteCodeResponse { impl jacquard_common::xrpc::XrpcRequest for CreateInviteCode { const NSID: &'static str = "com.atproto.server.createInviteCode"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = CreateInviteCodeResponse; } @@ -57,16 +61,15 @@ impl jacquard_common::xrpc::XrpcRequest for CreateInviteCode { pub struct CreateInviteCodeRequest; impl jacquard_common::xrpc::XrpcEndpoint for CreateInviteCodeRequest { const PATH: &'static str = "/xrpc/com.atproto.server.createInviteCode"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = CreateInviteCode; type Response = CreateInviteCodeResponse; } pub mod create_invite_code_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -167,14 +170,11 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> CreateInviteCode { + pub fn build_with_data(self, extra_data: BTreeMap>) -> CreateInviteCode { CreateInviteCode { for_account: self._fields.0, use_count: self._fields.1.unwrap(), extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/server/create_invite_codes.rs b/crates/jacquard-api/src/com_atproto/server/create_invite_codes.rs index 98f60787..ec47699f 100644 --- a/crates/jacquard-api/src/com_atproto/server/create_invite_codes.rs +++ b/crates/jacquard-api/src/com_atproto/server/create_invite_codes.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -21,13 +21,16 @@ use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::com_atproto::server::create_invite_codes; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::com_atproto::server::create_invite_codes; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct AccountCodes { pub account: S, pub codes: Vec, @@ -35,9 +38,11 @@ pub struct AccountCodes { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct CreateInviteCodes { /// Defaults to `1`. #[serde(default = "_default_create_invite_codes_code_count")] @@ -49,9 +54,11 @@ pub struct CreateInviteCodes { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct CreateInviteCodesOutput { pub codes: Vec>, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -84,9 +91,8 @@ impl jacquard_common::xrpc::XrpcResp for CreateInviteCodesResponse { impl jacquard_common::xrpc::XrpcRequest for CreateInviteCodes { const NSID: &'static str = "com.atproto.server.createInviteCodes"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = CreateInviteCodesResponse; } @@ -94,16 +100,15 @@ impl jacquard_common::xrpc::XrpcRequest for CreateInviteCodes { pub struct CreateInviteCodesRequest; impl jacquard_common::xrpc::XrpcEndpoint for CreateInviteCodesRequest { const PATH: &'static str = "/xrpc/com.atproto.server.createInviteCodes"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = CreateInviteCodes; type Response = CreateInviteCodesResponse; } pub mod account_codes_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -223,10 +228,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> AccountCodes { + pub fn build_with_data(self, extra_data: BTreeMap>) -> AccountCodes { AccountCodes { account: self._fields.0.unwrap(), codes: self._fields.1.unwrap(), @@ -236,10 +238,10 @@ where } fn lexicon_doc_com_atproto_server_createInviteCodes() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("com.atproto.server.createInviteCodes"), @@ -248,17 +250,18 @@ fn lexicon_doc_com_atproto_server_createInviteCodes() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("accountCodes"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("account"), SmolStr::new_static("codes") - ], - ), + required: Some(vec![ + SmolStr::new_static("account"), + SmolStr::new_static("codes"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("account"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("codes"), @@ -279,44 +282,40 @@ fn lexicon_doc_com_atproto_server_createInviteCodes() -> LexiconDoc<'static> { LexUserType::XrpcProcedure(LexXrpcProcedure { input: Some(LexXrpcBody { encoding: CowStr::new_static("application/json"), - schema: Some( - LexXrpcBodySchema::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("codeCount"), - SmolStr::new_static("useCount") - ], - ), - properties: { - #[allow(unused_mut)] - let mut map = BTreeMap::new(); - map.insert( - SmolStr::new_static("codeCount"), - LexObjectProperty::Integer(LexInteger { + schema: Some(LexXrpcBodySchema::Object(LexObject { + required: Some(vec![ + SmolStr::new_static("codeCount"), + SmolStr::new_static("useCount"), + ]), + properties: { + #[allow(unused_mut)] + let mut map = BTreeMap::new(); + map.insert( + SmolStr::new_static("codeCount"), + LexObjectProperty::Integer(LexInteger { + ..Default::default() + }), + ); + map.insert( + SmolStr::new_static("forAccounts"), + LexObjectProperty::Array(LexArray { + items: LexArrayItem::String(LexString { + format: Some(LexStringFormat::Did), ..Default::default() }), - ); - map.insert( - SmolStr::new_static("forAccounts"), - LexObjectProperty::Array(LexArray { - items: LexArrayItem::String(LexString { - format: Some(LexStringFormat::Did), - ..Default::default() - }), - ..Default::default() - }), - ); - map.insert( - SmolStr::new_static("useCount"), - LexObjectProperty::Integer(LexInteger { - ..Default::default() - }), - ); - map - }, - ..Default::default() - }), - ), + ..Default::default() + }), + ); + map.insert( + SmolStr::new_static("useCount"), + LexObjectProperty::Integer(LexInteger { + ..Default::default() + }), + ); + map + }, + ..Default::default() + })), ..Default::default() }), ..Default::default() @@ -334,7 +333,7 @@ fn _default_create_invite_codes_code_count() -> i64 { pub mod create_invite_codes_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -468,10 +467,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> CreateInviteCodes { + pub fn build_with_data(self, extra_data: BTreeMap>) -> CreateInviteCodes { CreateInviteCodes { code_count: self._fields.0.unwrap(), for_accounts: self._fields.1, @@ -479,4 +475,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/server/create_session.rs b/crates/jacquard-api/src/com_atproto/server/create_session.rs index a4299740..fba208a3 100644 --- a/crates/jacquard-api/src/com_atproto/server/create_session.rs +++ b/crates/jacquard-api/src/com_atproto/server/create_session.rs @@ -10,15 +10,18 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::{Did, Handle}; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct CreateSession { ///When true, instead of throwing error for takendown accounts, a valid response with a narrow scoped token will be returned #[serde(skip_serializing_if = "Option::is_none")] @@ -32,9 +35,11 @@ pub struct CreateSession { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct CreateSessionOutput { pub access_jwt: S, #[serde(skip_serializing_if = "Option::is_none")] @@ -108,8 +113,7 @@ impl Serialize for CreateSessionOutputStatus { } } -impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> -for CreateSessionOutputStatus { +impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> for CreateSessionOutputStatus { fn deserialize(deserializer: D) -> Result where D: serde::Deserializer<'de>, @@ -135,9 +139,7 @@ where match self { CreateSessionOutputStatus::Takendown => CreateSessionOutputStatus::Takendown, CreateSessionOutputStatus::Suspended => CreateSessionOutputStatus::Suspended, - CreateSessionOutputStatus::Deactivated => { - CreateSessionOutputStatus::Deactivated - } + CreateSessionOutputStatus::Deactivated => CreateSessionOutputStatus::Deactivated, CreateSessionOutputStatus::Other(v) => { CreateSessionOutputStatus::Other(v.into_static()) } @@ -145,18 +147,9 @@ where } } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum CreateSessionError { #[serde(rename = "AccountTakedown")] @@ -165,7 +158,10 @@ pub enum CreateSessionError { AuthFactorTokenRequired(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for CreateSessionError { @@ -207,9 +203,8 @@ impl jacquard_common::xrpc::XrpcResp for CreateSessionResponse { impl jacquard_common::xrpc::XrpcRequest for CreateSession { const NSID: &'static str = "com.atproto.server.createSession"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = CreateSessionResponse; } @@ -217,9 +212,8 @@ impl jacquard_common::xrpc::XrpcRequest for CreateSession { pub struct CreateSessionRequest; impl jacquard_common::xrpc::XrpcEndpoint for CreateSessionRequest { const PATH: &'static str = "/xrpc/com.atproto.server.createSession"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = CreateSession; type Response = CreateSessionResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/server/deactivate_account.rs b/crates/jacquard-api/src/com_atproto/server/deactivate_account.rs index bbba8c75..7446ad1a 100644 --- a/crates/jacquard-api/src/com_atproto/server/deactivate_account.rs +++ b/crates/jacquard-api/src/com_atproto/server/deactivate_account.rs @@ -10,15 +10,18 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::Datetime; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DeactivateAccount { ///A recommendation to server as to how long they should hold onto the deactivated account before deleting. #[serde(skip_serializing_if = "Option::is_none")] @@ -38,9 +41,8 @@ impl jacquard_common::xrpc::XrpcResp for DeactivateAccountResponse { impl jacquard_common::xrpc::XrpcRequest for DeactivateAccount { const NSID: &'static str = "com.atproto.server.deactivateAccount"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = DeactivateAccountResponse; } @@ -48,9 +50,8 @@ impl jacquard_common::xrpc::XrpcRequest for DeactivateAccount { pub struct DeactivateAccountRequest; impl jacquard_common::xrpc::XrpcEndpoint for DeactivateAccountRequest { const PATH: &'static str = "/xrpc/com.atproto.server.deactivateAccount"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = DeactivateAccount; type Response = DeactivateAccountResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/server/delete_account.rs b/crates/jacquard-api/src/com_atproto/server/delete_account.rs index 39d5141c..2ce034a8 100644 --- a/crates/jacquard-api/src/com_atproto/server/delete_account.rs +++ b/crates/jacquard-api/src/com_atproto/server/delete_account.rs @@ -10,15 +10,18 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::Did; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DeleteAccount { pub did: Did, pub password: S, @@ -27,18 +30,9 @@ pub struct DeleteAccount { pub extra_data: Option>>, } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum DeleteAccountError { #[serde(rename = "ExpiredToken")] @@ -47,7 +41,10 @@ pub enum DeleteAccountError { InvalidToken(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for DeleteAccountError { @@ -89,9 +86,8 @@ impl jacquard_common::xrpc::XrpcResp for DeleteAccountResponse { impl jacquard_common::xrpc::XrpcRequest for DeleteAccount { const NSID: &'static str = "com.atproto.server.deleteAccount"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = DeleteAccountResponse; } @@ -99,16 +95,15 @@ impl jacquard_common::xrpc::XrpcRequest for DeleteAccount { pub struct DeleteAccountRequest; impl jacquard_common::xrpc::XrpcEndpoint for DeleteAccountRequest { const PATH: &'static str = "/xrpc/com.atproto.server.deleteAccount"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = DeleteAccount; type Response = DeleteAccountResponse; } pub mod delete_account_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -263,10 +258,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> DeleteAccount { + pub fn build_with_data(self, extra_data: BTreeMap>) -> DeleteAccount { DeleteAccount { did: self._fields.0.unwrap(), password: self._fields.1.unwrap(), @@ -274,4 +266,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/server/delete_session.rs b/crates/jacquard-api/src/com_atproto/server/delete_session.rs index a2461144..281967ee 100644 --- a/crates/jacquard-api/src/com_atproto/server/delete_session.rs +++ b/crates/jacquard-api/src/com_atproto/server/delete_session.rs @@ -10,23 +10,15 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum DeleteSessionError { #[serde(rename = "InvalidToken")] @@ -35,7 +27,10 @@ pub enum DeleteSessionError { ExpiredToken(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for DeleteSessionError { @@ -81,9 +76,8 @@ impl jacquard_common::xrpc::XrpcResp for DeleteSessionResponse { impl jacquard_common::xrpc::XrpcRequest for DeleteSession { const NSID: &'static str = "com.atproto.server.deleteSession"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = DeleteSessionResponse; } @@ -91,9 +85,8 @@ impl jacquard_common::xrpc::XrpcRequest for DeleteSession { pub struct DeleteSessionRequest; impl jacquard_common::xrpc::XrpcEndpoint for DeleteSessionRequest { const PATH: &'static str = "/xrpc/com.atproto.server.deleteSession"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = DeleteSession; type Response = DeleteSessionResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/server/describe_server.rs b/crates/jacquard-api/src/com_atproto/server/describe_server.rs index 3b75f62a..53751f82 100644 --- a/crates/jacquard-api/src/com_atproto/server/describe_server.rs +++ b/crates/jacquard-api/src/com_atproto/server/describe_server.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -21,13 +21,16 @@ use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::com_atproto::server::describe_server; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::com_atproto::server::describe_server; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Contact { #[serde(skip_serializing_if = "Option::is_none")] pub email: Option, @@ -35,9 +38,11 @@ pub struct Contact { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Links { #[serde(skip_serializing_if = "Option::is_none")] pub privacy_policy: Option>, @@ -47,9 +52,11 @@ pub struct Links { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DescribeServerOutput { ///List of domain suffixes that can be used in account handles. pub available_user_domains: Vec, @@ -129,10 +136,10 @@ impl jacquard_common::xrpc::XrpcEndpoint for DescribeServerRequest { } fn lexicon_doc_com_atproto_server_describeServer() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("com.atproto.server.describeServer"), @@ -146,7 +153,9 @@ fn lexicon_doc_com_atproto_server_describeServer() -> LexiconDoc<'static> { let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("email"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map }, @@ -189,4 +198,4 @@ fn lexicon_doc_com_atproto_server_describeServer() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/server/get_account_invite_codes.rs b/crates/jacquard-api/src/com_atproto/server/get_account_invite_codes.rs index 2d096bb5..8dde9155 100644 --- a/crates/jacquard-api/src/com_atproto/server/get_account_invite_codes.rs +++ b/crates/jacquard-api/src/com_atproto/server/get_account_invite_codes.rs @@ -8,14 +8,14 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::com_atproto::server::InviteCode; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; -use crate::com_atproto::server::InviteCode; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(rename_all = "camelCase")] @@ -30,34 +30,30 @@ pub struct GetAccountInviteCodes { pub include_used: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetAccountInviteCodesOutput { pub codes: Vec>, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum GetAccountInviteCodesError { #[serde(rename = "DuplicateCreate")] DuplicateCreate(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for GetAccountInviteCodesError { @@ -115,7 +111,7 @@ fn _default_include_used() -> Option { pub mod get_account_invite_codes_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -192,4 +188,4 @@ where include_used: self._fields.1, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/server/get_service_auth.rs b/crates/jacquard-api/src/com_atproto/server/get_service_auth.rs index d1352b6d..682d44c9 100644 --- a/crates/jacquard-api/src/com_atproto/server/get_service_auth.rs +++ b/crates/jacquard-api/src/com_atproto/server/get_service_auth.rs @@ -10,15 +10,18 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::{Did, Nsid}; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetServiceAuth { pub aud: Did, #[serde(skip_serializing_if = "Option::is_none")] @@ -27,27 +30,20 @@ pub struct GetServiceAuth { pub lxm: Option>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetServiceAuthOutput { pub token: S, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum GetServiceAuthError { /// Indicates that the requested expiration date is not a valid. May be in the past or may be reliant on the requested scopes. @@ -55,7 +51,10 @@ pub enum GetServiceAuthError { BadExpiration(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for GetServiceAuthError { @@ -105,7 +104,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetServiceAuthRequest { pub mod get_service_auth_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -218,4 +217,4 @@ where lxm: self._fields.2, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/server/get_session.rs b/crates/jacquard-api/src/com_atproto/server/get_session.rs index e29abe64..2c79d30a 100644 --- a/crates/jacquard-api/src/com_atproto/server/get_session.rs +++ b/crates/jacquard-api/src/com_atproto/server/get_session.rs @@ -10,15 +10,18 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::{Did, Handle}; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetSessionOutput { #[serde(skip_serializing_if = "Option::is_none")] pub active: Option, @@ -117,9 +120,7 @@ where GetSessionOutputStatus::Takendown => GetSessionOutputStatus::Takendown, GetSessionOutputStatus::Suspended => GetSessionOutputStatus::Suspended, GetSessionOutputStatus::Deactivated => GetSessionOutputStatus::Deactivated, - GetSessionOutputStatus::Other(v) => { - GetSessionOutputStatus::Other(v.into_static()) - } + GetSessionOutputStatus::Other(v) => GetSessionOutputStatus::Other(v.into_static()), } } } @@ -150,4 +151,4 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetSessionRequest { const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Query; type Request = GetSession; type Response = GetSessionResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/server/list_app_passwords.rs b/crates/jacquard-api/src/com_atproto/server/list_app_passwords.rs index ca3ab5c3..7f15c92a 100644 --- a/crates/jacquard-api/src/com_atproto/server/list_app_passwords.rs +++ b/crates/jacquard-api/src/com_atproto/server/list_app_passwords.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -21,13 +21,16 @@ use jacquard_derive::{IntoStatic, open_union}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::com_atproto::server::list_app_passwords; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::com_atproto::server::list_app_passwords; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct AppPassword { pub created_at: Datetime, pub name: S, @@ -37,34 +40,30 @@ pub struct AppPassword { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ListAppPasswordsOutput { pub passwords: Vec>, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum ListAppPasswordsError { #[serde(rename = "AccountTakedown")] AccountTakedown(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for ListAppPasswordsError { @@ -133,7 +132,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for ListAppPasswordsRequest { pub mod app_password_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -267,10 +266,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> AppPassword { + pub fn build_with_data(self, extra_data: BTreeMap>) -> AppPassword { AppPassword { created_at: self._fields.0.unwrap(), name: self._fields.1.unwrap(), @@ -281,10 +277,10 @@ where } fn lexicon_doc_com_atproto_server_listAppPasswords() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("com.atproto.server.listAppPasswords"), @@ -293,11 +289,10 @@ fn lexicon_doc_com_atproto_server_listAppPasswords() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("appPassword"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("name"), SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("name"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -310,7 +305,9 @@ fn lexicon_doc_com_atproto_server_listAppPasswords() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("name"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("privileged"), @@ -334,4 +331,4 @@ fn lexicon_doc_com_atproto_server_listAppPasswords() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/server/refresh_session.rs b/crates/jacquard-api/src/com_atproto/server/refresh_session.rs index 3a0c01ed..583e6896 100644 --- a/crates/jacquard-api/src/com_atproto/server/refresh_session.rs +++ b/crates/jacquard-api/src/com_atproto/server/refresh_session.rs @@ -10,15 +10,18 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::{Did, Handle}; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct RefreshSessionOutput { pub access_jwt: S, #[serde(skip_serializing_if = "Option::is_none")] @@ -92,8 +95,7 @@ impl Serialize for RefreshSessionOutputStatus { } } -impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> -for RefreshSessionOutputStatus { +impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> for RefreshSessionOutputStatus { fn deserialize(deserializer: D) -> Result where D: serde::Deserializer<'de>, @@ -117,15 +119,9 @@ where type Output = RefreshSessionOutputStatus; fn into_static(self) -> Self::Output { match self { - RefreshSessionOutputStatus::Takendown => { - RefreshSessionOutputStatus::Takendown - } - RefreshSessionOutputStatus::Suspended => { - RefreshSessionOutputStatus::Suspended - } - RefreshSessionOutputStatus::Deactivated => { - RefreshSessionOutputStatus::Deactivated - } + RefreshSessionOutputStatus::Takendown => RefreshSessionOutputStatus::Takendown, + RefreshSessionOutputStatus::Suspended => RefreshSessionOutputStatus::Suspended, + RefreshSessionOutputStatus::Deactivated => RefreshSessionOutputStatus::Deactivated, RefreshSessionOutputStatus::Other(v) => { RefreshSessionOutputStatus::Other(v.into_static()) } @@ -133,18 +129,9 @@ where } } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum RefreshSessionError { #[serde(rename = "AccountTakedown")] @@ -155,7 +142,10 @@ pub enum RefreshSessionError { ExpiredToken(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for RefreshSessionError { @@ -208,9 +198,8 @@ impl jacquard_common::xrpc::XrpcResp for RefreshSessionResponse { impl jacquard_common::xrpc::XrpcRequest for RefreshSession { const NSID: &'static str = "com.atproto.server.refreshSession"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = RefreshSessionResponse; } @@ -218,9 +207,8 @@ impl jacquard_common::xrpc::XrpcRequest for RefreshSession { pub struct RefreshSessionRequest; impl jacquard_common::xrpc::XrpcEndpoint for RefreshSessionRequest { const PATH: &'static str = "/xrpc/com.atproto.server.refreshSession"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = RefreshSession; type Response = RefreshSessionResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/server/request_account_delete.rs b/crates/jacquard-api/src/com_atproto/server/request_account_delete.rs index 8a6af513..3e231ed3 100644 --- a/crates/jacquard-api/src/com_atproto/server/request_account_delete.rs +++ b/crates/jacquard-api/src/com_atproto/server/request_account_delete.rs @@ -10,11 +10,11 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// XRPC request marker type. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Copy)] @@ -30,9 +30,8 @@ impl jacquard_common::xrpc::XrpcResp for RequestAccountDeleteResponse { impl jacquard_common::xrpc::XrpcRequest for RequestAccountDelete { const NSID: &'static str = "com.atproto.server.requestAccountDelete"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = RequestAccountDeleteResponse; } @@ -40,9 +39,8 @@ impl jacquard_common::xrpc::XrpcRequest for RequestAccountDelete { pub struct RequestAccountDeleteRequest; impl jacquard_common::xrpc::XrpcEndpoint for RequestAccountDeleteRequest { const PATH: &'static str = "/xrpc/com.atproto.server.requestAccountDelete"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = RequestAccountDelete; type Response = RequestAccountDeleteResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/server/request_email_confirmation.rs b/crates/jacquard-api/src/com_atproto/server/request_email_confirmation.rs index 03874dd3..262aef3c 100644 --- a/crates/jacquard-api/src/com_atproto/server/request_email_confirmation.rs +++ b/crates/jacquard-api/src/com_atproto/server/request_email_confirmation.rs @@ -10,11 +10,11 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// XRPC request marker type. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Copy)] @@ -30,9 +30,8 @@ impl jacquard_common::xrpc::XrpcResp for RequestEmailConfirmationResponse { impl jacquard_common::xrpc::XrpcRequest for RequestEmailConfirmation { const NSID: &'static str = "com.atproto.server.requestEmailConfirmation"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = RequestEmailConfirmationResponse; } @@ -40,9 +39,8 @@ impl jacquard_common::xrpc::XrpcRequest for RequestEmailConfirmation { pub struct RequestEmailConfirmationRequest; impl jacquard_common::xrpc::XrpcEndpoint for RequestEmailConfirmationRequest { const PATH: &'static str = "/xrpc/com.atproto.server.requestEmailConfirmation"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = RequestEmailConfirmation; type Response = RequestEmailConfirmationResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/server/request_email_update.rs b/crates/jacquard-api/src/com_atproto/server/request_email_update.rs index 7bfa2f53..c42a0e58 100644 --- a/crates/jacquard-api/src/com_atproto/server/request_email_update.rs +++ b/crates/jacquard-api/src/com_atproto/server/request_email_update.rs @@ -10,14 +10,17 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct RequestEmailUpdateOutput { pub token_required: bool, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -39,9 +42,8 @@ impl jacquard_common::xrpc::XrpcResp for RequestEmailUpdateResponse { impl jacquard_common::xrpc::XrpcRequest for RequestEmailUpdate { const NSID: &'static str = "com.atproto.server.requestEmailUpdate"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = RequestEmailUpdateResponse; } @@ -49,9 +51,8 @@ impl jacquard_common::xrpc::XrpcRequest for RequestEmailUpdate { pub struct RequestEmailUpdateRequest; impl jacquard_common::xrpc::XrpcEndpoint for RequestEmailUpdateRequest { const PATH: &'static str = "/xrpc/com.atproto.server.requestEmailUpdate"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = RequestEmailUpdate; type Response = RequestEmailUpdateResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/server/request_password_reset.rs b/crates/jacquard-api/src/com_atproto/server/request_password_reset.rs index 1990419e..9a04a1d3 100644 --- a/crates/jacquard-api/src/com_atproto/server/request_password_reset.rs +++ b/crates/jacquard-api/src/com_atproto/server/request_password_reset.rs @@ -10,14 +10,17 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct RequestPasswordReset { pub email: S, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -35,9 +38,8 @@ impl jacquard_common::xrpc::XrpcResp for RequestPasswordResetResponse { impl jacquard_common::xrpc::XrpcRequest for RequestPasswordReset { const NSID: &'static str = "com.atproto.server.requestPasswordReset"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = RequestPasswordResetResponse; } @@ -45,9 +47,8 @@ impl jacquard_common::xrpc::XrpcRequest for RequestPasswordReset { pub struct RequestPasswordResetRequest; impl jacquard_common::xrpc::XrpcEndpoint for RequestPasswordResetRequest { const PATH: &'static str = "/xrpc/com.atproto.server.requestPasswordReset"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = RequestPasswordReset; type Response = RequestPasswordResetResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/server/reserve_signing_key.rs b/crates/jacquard-api/src/com_atproto/server/reserve_signing_key.rs index 2e67f678..959ae1f4 100644 --- a/crates/jacquard-api/src/com_atproto/server/reserve_signing_key.rs +++ b/crates/jacquard-api/src/com_atproto/server/reserve_signing_key.rs @@ -10,15 +10,18 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::Did; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ReserveSigningKey { ///The DID to reserve a key for. #[serde(skip_serializing_if = "Option::is_none")] @@ -27,9 +30,11 @@ pub struct ReserveSigningKey { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ReserveSigningKeyOutput { ///The public key for the reserved signing key, in did:key serialization. pub signing_key: S, @@ -48,9 +53,8 @@ impl jacquard_common::xrpc::XrpcResp for ReserveSigningKeyResponse { impl jacquard_common::xrpc::XrpcRequest for ReserveSigningKey { const NSID: &'static str = "com.atproto.server.reserveSigningKey"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = ReserveSigningKeyResponse; } @@ -58,9 +62,8 @@ impl jacquard_common::xrpc::XrpcRequest for ReserveSigningKey { pub struct ReserveSigningKeyRequest; impl jacquard_common::xrpc::XrpcEndpoint for ReserveSigningKeyRequest { const PATH: &'static str = "/xrpc/com.atproto.server.reserveSigningKey"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = ReserveSigningKey; type Response = ReserveSigningKeyResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/server/reset_password.rs b/crates/jacquard-api/src/com_atproto/server/reset_password.rs index 8e85dc32..10236ca2 100644 --- a/crates/jacquard-api/src/com_atproto/server/reset_password.rs +++ b/crates/jacquard-api/src/com_atproto/server/reset_password.rs @@ -10,14 +10,17 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ResetPassword { pub password: S, pub token: S, @@ -25,18 +28,9 @@ pub struct ResetPassword { pub extra_data: Option>>, } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum ResetPasswordError { #[serde(rename = "ExpiredToken")] @@ -45,7 +39,10 @@ pub enum ResetPasswordError { InvalidToken(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for ResetPasswordError { @@ -87,9 +84,8 @@ impl jacquard_common::xrpc::XrpcResp for ResetPasswordResponse { impl jacquard_common::xrpc::XrpcRequest for ResetPassword { const NSID: &'static str = "com.atproto.server.resetPassword"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = ResetPasswordResponse; } @@ -97,9 +93,8 @@ impl jacquard_common::xrpc::XrpcRequest for ResetPassword { pub struct ResetPasswordRequest; impl jacquard_common::xrpc::XrpcEndpoint for ResetPasswordRequest { const PATH: &'static str = "/xrpc/com.atproto.server.resetPassword"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = ResetPassword; type Response = ResetPasswordResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/server/revoke_app_password.rs b/crates/jacquard-api/src/com_atproto/server/revoke_app_password.rs index e29d5a78..82f94e8e 100644 --- a/crates/jacquard-api/src/com_atproto/server/revoke_app_password.rs +++ b/crates/jacquard-api/src/com_atproto/server/revoke_app_password.rs @@ -10,14 +10,17 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct RevokeAppPassword { pub name: S, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -35,9 +38,8 @@ impl jacquard_common::xrpc::XrpcResp for RevokeAppPasswordResponse { impl jacquard_common::xrpc::XrpcRequest for RevokeAppPassword { const NSID: &'static str = "com.atproto.server.revokeAppPassword"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = RevokeAppPasswordResponse; } @@ -45,9 +47,8 @@ impl jacquard_common::xrpc::XrpcRequest for RevokeAppPassword { pub struct RevokeAppPasswordRequest; impl jacquard_common::xrpc::XrpcEndpoint for RevokeAppPasswordRequest { const PATH: &'static str = "/xrpc/com.atproto.server.revokeAppPassword"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = RevokeAppPassword; type Response = RevokeAppPasswordResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/server/update_email.rs b/crates/jacquard-api/src/com_atproto/server/update_email.rs index aea25ac1..5dec86dd 100644 --- a/crates/jacquard-api/src/com_atproto/server/update_email.rs +++ b/crates/jacquard-api/src/com_atproto/server/update_email.rs @@ -10,14 +10,17 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct UpdateEmail { pub email: S, #[serde(skip_serializing_if = "Option::is_none")] @@ -29,18 +32,9 @@ pub struct UpdateEmail { pub extra_data: Option>>, } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum UpdateEmailError { #[serde(rename = "ExpiredToken")] @@ -51,7 +45,10 @@ pub enum UpdateEmailError { TokenRequired(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for UpdateEmailError { @@ -100,9 +97,8 @@ impl jacquard_common::xrpc::XrpcResp for UpdateEmailResponse { impl jacquard_common::xrpc::XrpcRequest for UpdateEmail { const NSID: &'static str = "com.atproto.server.updateEmail"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = UpdateEmailResponse; } @@ -110,9 +106,8 @@ impl jacquard_common::xrpc::XrpcRequest for UpdateEmail { pub struct UpdateEmailRequest; impl jacquard_common::xrpc::XrpcEndpoint for UpdateEmailRequest { const PATH: &'static str = "/xrpc/com.atproto.server.updateEmail"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = UpdateEmail; type Response = UpdateEmailResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/sync.rs b/crates/jacquard-api/src/com_atproto/sync.rs index 5a0995d6..65080b15 100644 --- a/crates/jacquard-api/src/com_atproto/sync.rs +++ b/crates/jacquard-api/src/com_atproto/sync.rs @@ -21,11 +21,10 @@ pub mod list_repos_by_collection; pub mod notify_of_update; pub mod request_crawl; - #[cfg(feature = "streaming")] pub mod subscribe_repos; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum HostStatus { @@ -82,8 +81,7 @@ impl serde::Serialize for HostStatus { } } -impl<'de, S: serde::Deserialize<'de> + BosStr> serde::Deserialize<'de> -for HostStatus { +impl<'de, S: serde::Deserialize<'de> + BosStr> serde::Deserialize<'de> for HostStatus { fn deserialize(deserializer: D) -> Result where D: serde::Deserializer<'de>, @@ -109,4 +107,4 @@ where HostStatus::Other(v) => HostStatus::Other(v.into_static()), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/sync/get_blob.rs b/crates/jacquard-api/src/com_atproto/sync/get_blob.rs index 2e207d51..0e949f20 100644 --- a/crates/jacquard-api/src/com_atproto/sync/get_blob.rs +++ b/crates/jacquard-api/src/com_atproto/sync/get_blob.rs @@ -10,40 +10,33 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::bytes::Bytes; use jacquard_common::deps::smol_str::SmolStr; -use jacquard_common::types::string::{Did, Cid}; +use jacquard_common::types::string::{Cid, Did}; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetBlob { pub cid: Cid, pub did: Did, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(rename_all = "camelCase")] pub struct GetBlobOutput { pub body: Bytes, } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum GetBlobError { #[serde(rename = "BlobNotFound")] @@ -58,7 +51,10 @@ pub enum GetBlobError { RepoDeactivated(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for GetBlobError { @@ -155,7 +151,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetBlobRequest { pub mod get_blob_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -273,4 +269,4 @@ where did: self._fields.1.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/sync/get_blocks.rs b/crates/jacquard-api/src/com_atproto/sync/get_blocks.rs index a612a0de..929a0f07 100644 --- a/crates/jacquard-api/src/com_atproto/sync/get_blocks.rs +++ b/crates/jacquard-api/src/com_atproto/sync/get_blocks.rs @@ -10,40 +10,33 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::bytes::Bytes; use jacquard_common::deps::smol_str::SmolStr; -use jacquard_common::types::string::{Did, Cid}; +use jacquard_common::types::string::{Cid, Did}; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetBlocks { pub cids: Vec>, pub did: Did, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(rename_all = "camelCase")] pub struct GetBlocksOutput { pub body: Bytes, } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum GetBlocksError { #[serde(rename = "BlockNotFound")] @@ -58,7 +51,10 @@ pub enum GetBlocksError { RepoDeactivated(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for GetBlocksError { @@ -155,7 +151,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetBlocksRequest { pub mod get_blocks_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -273,4 +269,4 @@ where did: self._fields.1.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/sync/get_checkout.rs b/crates/jacquard-api/src/com_atproto/sync/get_checkout.rs index 58bd17a4..3d58494b 100644 --- a/crates/jacquard-api/src/com_atproto/sync/get_checkout.rs +++ b/crates/jacquard-api/src/com_atproto/sync/get_checkout.rs @@ -10,21 +10,23 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::bytes::Bytes; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::Did; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetCheckout { pub did: Did, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(rename_all = "camelCase")] pub struct GetCheckoutOutput { @@ -76,7 +78,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetCheckoutRequest { pub mod get_checkout_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -161,4 +163,4 @@ where did: self._fields.0.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/sync/get_head.rs b/crates/jacquard-api/src/com_atproto/sync/get_head.rs index 44d3aafc..39d8dde4 100644 --- a/crates/jacquard-api/src/com_atproto/sync/get_head.rs +++ b/crates/jacquard-api/src/com_atproto/sync/get_head.rs @@ -10,47 +10,46 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; -use jacquard_common::types::string::{Did, Cid}; +use jacquard_common::types::string::{Cid, Did}; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetHead { pub did: Did, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetHeadOutput { pub root: Cid, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum GetHeadError { #[serde(rename = "HeadNotFound")] HeadNotFound(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for GetHeadError { @@ -100,7 +99,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetHeadRequest { pub mod get_head_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -185,4 +184,4 @@ where did: self._fields.0.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/sync/get_host_status.rs b/crates/jacquard-api/src/com_atproto/sync/get_host_status.rs index 901a3a17..cea1a78a 100644 --- a/crates/jacquard-api/src/com_atproto/sync/get_host_status.rs +++ b/crates/jacquard-api/src/com_atproto/sync/get_host_status.rs @@ -8,24 +8,29 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::com_atproto::sync::HostStatus; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; -use crate::com_atproto::sync::HostStatus; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetHostStatus { pub hostname: S, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetHostStatusOutput { ///Number of accounts on the server which are associated with the upstream host. Note that the upstream may actually have more accounts. #[serde(skip_serializing_if = "Option::is_none")] @@ -40,25 +45,19 @@ pub struct GetHostStatusOutput { pub extra_data: Option>>, } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum GetHostStatusError { #[serde(rename = "HostNotFound")] HostNotFound(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for GetHostStatusError { @@ -108,7 +107,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetHostStatusRequest { pub mod get_host_status_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -193,4 +192,4 @@ where hostname: self._fields.0.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/sync/get_latest_commit.rs b/crates/jacquard-api/src/com_atproto/sync/get_latest_commit.rs index 785b23f6..2d4b31a3 100644 --- a/crates/jacquard-api/src/com_atproto/sync/get_latest_commit.rs +++ b/crates/jacquard-api/src/com_atproto/sync/get_latest_commit.rs @@ -10,22 +10,27 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; -use jacquard_common::types::string::{Did, Tid, Cid}; +use jacquard_common::types::string::{Cid, Did, Tid}; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetLatestCommit { pub did: Did, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetLatestCommitOutput { pub cid: Cid, pub rev: Tid, @@ -33,18 +38,9 @@ pub struct GetLatestCommitOutput { pub extra_data: Option>>, } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum GetLatestCommitError { #[serde(rename = "RepoNotFound")] @@ -57,7 +53,10 @@ pub enum GetLatestCommitError { RepoDeactivated(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for GetLatestCommitError { @@ -128,7 +127,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetLatestCommitRequest { pub mod get_latest_commit_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -213,4 +212,4 @@ where did: self._fields.0.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/sync/get_record.rs b/crates/jacquard-api/src/com_atproto/sync/get_record.rs index 23582c61..0d03507c 100644 --- a/crates/jacquard-api/src/com_atproto/sync/get_record.rs +++ b/crates/jacquard-api/src/com_atproto/sync/get_record.rs @@ -10,41 +10,34 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::bytes::Bytes; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::{Did, Nsid, RecordKey, Rkey}; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetRecord { pub collection: Nsid, pub did: Did, pub rkey: RecordKey>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(rename_all = "camelCase")] pub struct GetRecordOutput { pub body: Bytes, } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum GetRecordError { #[serde(rename = "RecordNotFound")] @@ -59,7 +52,10 @@ pub enum GetRecordError { RepoDeactivated(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for GetRecordError { @@ -156,7 +152,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetRecordRequest { pub mod get_record_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -309,4 +305,4 @@ where rkey: self._fields.2.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/sync/get_repo.rs b/crates/jacquard-api/src/com_atproto/sync/get_repo.rs index cbae769a..5ca2cc91 100644 --- a/crates/jacquard-api/src/com_atproto/sync/get_repo.rs +++ b/crates/jacquard-api/src/com_atproto/sync/get_repo.rs @@ -10,41 +10,34 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::bytes::Bytes; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::{Did, Tid}; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetRepo { pub did: Did, #[serde(skip_serializing_if = "Option::is_none")] pub since: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(rename_all = "camelCase")] pub struct GetRepoOutput { pub body: Bytes, } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum GetRepoError { #[serde(rename = "RepoNotFound")] @@ -57,7 +50,10 @@ pub enum GetRepoError { RepoDeactivated(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for GetRepoError { @@ -147,7 +143,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetRepoRequest { pub mod get_repo_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -246,4 +242,4 @@ where since: self._fields.1, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/sync/get_repo_status.rs b/crates/jacquard-api/src/com_atproto/sync/get_repo_status.rs index 7099b836..ea0eb92b 100644 --- a/crates/jacquard-api/src/com_atproto/sync/get_repo_status.rs +++ b/crates/jacquard-api/src/com_atproto/sync/get_repo_status.rs @@ -10,22 +10,27 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::{Did, Tid}; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetRepoStatus { pub did: Did, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetRepoStatusOutput { pub active: bool, pub did: Did, @@ -99,8 +104,7 @@ impl Serialize for GetRepoStatusOutputStatus { } } -impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> -for GetRepoStatusOutputStatus { +impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> for GetRepoStatusOutputStatus { fn deserialize(deserializer: D) -> Result where D: serde::Deserializer<'de>, @@ -127,12 +131,8 @@ where GetRepoStatusOutputStatus::Takendown => GetRepoStatusOutputStatus::Takendown, GetRepoStatusOutputStatus::Suspended => GetRepoStatusOutputStatus::Suspended, GetRepoStatusOutputStatus::Deleted => GetRepoStatusOutputStatus::Deleted, - GetRepoStatusOutputStatus::Deactivated => { - GetRepoStatusOutputStatus::Deactivated - } - GetRepoStatusOutputStatus::Desynchronized => { - GetRepoStatusOutputStatus::Desynchronized - } + GetRepoStatusOutputStatus::Deactivated => GetRepoStatusOutputStatus::Deactivated, + GetRepoStatusOutputStatus::Desynchronized => GetRepoStatusOutputStatus::Desynchronized, GetRepoStatusOutputStatus::Throttled => GetRepoStatusOutputStatus::Throttled, GetRepoStatusOutputStatus::Other(v) => { GetRepoStatusOutputStatus::Other(v.into_static()) @@ -141,25 +141,19 @@ where } } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum GetRepoStatusError { #[serde(rename = "RepoNotFound")] RepoNotFound(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for GetRepoStatusError { @@ -209,7 +203,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetRepoStatusRequest { pub mod get_repo_status_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -294,4 +288,4 @@ where did: self._fields.0.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/sync/list_blobs.rs b/crates/jacquard-api/src/com_atproto/sync/list_blobs.rs index 8e2eaf5d..55a5bc89 100644 --- a/crates/jacquard-api/src/com_atproto/sync/list_blobs.rs +++ b/crates/jacquard-api/src/com_atproto/sync/list_blobs.rs @@ -10,15 +10,18 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; -use jacquard_common::types::string::{Did, Tid, Cid}; +use jacquard_common::types::string::{Cid, Did, Tid}; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ListBlobs { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -31,9 +34,11 @@ pub struct ListBlobs { pub since: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ListBlobsOutput { pub cids: Vec>, #[serde(skip_serializing_if = "Option::is_none")] @@ -42,18 +47,9 @@ pub struct ListBlobsOutput { pub extra_data: Option>>, } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum ListBlobsError { #[serde(rename = "RepoNotFound")] @@ -66,7 +62,10 @@ pub enum ListBlobsError { RepoDeactivated(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for ListBlobsError { @@ -141,7 +140,7 @@ fn _default_limit() -> Option { pub mod list_blobs_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -268,4 +267,4 @@ where since: self._fields.3, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/sync/list_hosts.rs b/crates/jacquard-api/src/com_atproto/sync/list_hosts.rs index 37b2116e..532094e9 100644 --- a/crates/jacquard-api/src/com_atproto/sync/list_hosts.rs +++ b/crates/jacquard-api/src/com_atproto/sync/list_hosts.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -20,14 +20,17 @@ use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::com_atproto::sync::HostStatus; use crate::com_atproto::sync::list_hosts; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Host { #[serde(skip_serializing_if = "Option::is_none")] pub account_count: Option, @@ -42,9 +45,11 @@ pub struct Host { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ListHosts { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -54,9 +59,11 @@ pub struct ListHosts { pub limit: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ListHostsOutput { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -106,10 +113,10 @@ impl jacquard_common::xrpc::XrpcEndpoint for ListHostsRequest { } fn lexicon_doc_com_atproto_sync_listHosts() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("com.atproto.sync.listHosts"), @@ -131,11 +138,9 @@ fn lexicon_doc_com_atproto_sync_listHosts() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("hostname"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "hostname of server; not a URL (no scheme)", - ), - ), + description: Some(CowStr::new_static( + "hostname of server; not a URL (no scheme)", + )), ..Default::default() }), ); @@ -148,9 +153,7 @@ fn lexicon_doc_com_atproto_sync_listHosts() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("status"), LexObjectProperty::Ref(LexRef { - r#ref: CowStr::new_static( - "com.atproto.sync.defs#hostStatus", - ), + r#ref: CowStr::new_static("com.atproto.sync.defs#hostStatus"), ..Default::default() }), ); @@ -162,28 +165,26 @@ fn lexicon_doc_com_atproto_sync_listHosts() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::XrpcQuery(LexXrpcQuery { - parameters: Some( - LexXrpcQueryParameter::Params(LexXrpcParameters { - properties: { - #[allow(unused_mut)] - let mut map = BTreeMap::new(); - map.insert( - SmolStr::new_static("cursor"), - LexXrpcParametersProperty::String(LexString { - ..Default::default() - }), - ); - map.insert( - SmolStr::new_static("limit"), - LexXrpcParametersProperty::Integer(LexInteger { - ..Default::default() - }), - ); - map - }, - ..Default::default() - }), - ), + parameters: Some(LexXrpcQueryParameter::Params(LexXrpcParameters { + properties: { + #[allow(unused_mut)] + let mut map = BTreeMap::new(); + map.insert( + SmolStr::new_static("cursor"), + LexXrpcParametersProperty::String(LexString { + ..Default::default() + }), + ); + map.insert( + SmolStr::new_static("limit"), + LexXrpcParametersProperty::Integer(LexInteger { + ..Default::default() + }), + ); + map + }, + ..Default::default() + })), ..Default::default() }), ); @@ -199,7 +200,7 @@ fn _default_limit() -> Option { pub mod list_hosts_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -278,4 +279,4 @@ where limit: self._fields.1, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/sync/list_repos.rs b/crates/jacquard-api/src/com_atproto/sync/list_repos.rs index 30f45ee4..a616dfd4 100644 --- a/crates/jacquard-api/src/com_atproto/sync/list_repos.rs +++ b/crates/jacquard-api/src/com_atproto/sync/list_repos.rs @@ -10,24 +10,27 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; use jacquard_common::deps::smol_str::SmolStr; -use jacquard_common::types::string::{Did, Tid, Cid}; +use jacquard_common::types::string::{Cid, Did, Tid}; use jacquard_common::types::value::Data; use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::com_atproto::sync::list_repos; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::com_atproto::sync::list_repos; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ListRepos { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -37,9 +40,11 @@ pub struct ListRepos { pub limit: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ListReposOutput { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -48,9 +53,11 @@ pub struct ListReposOutput { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Repo { #[serde(skip_serializing_if = "Option::is_none")] pub active: Option, @@ -205,7 +212,7 @@ fn _default_limit() -> Option { pub mod list_repos_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -288,7 +295,7 @@ where pub mod repo_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -394,10 +401,7 @@ where St::Did: repo_state::IsUnset, { /// Set the `did` field (required) - pub fn did( - mut self, - value: impl Into>, - ) -> RepoBuilder> { + pub fn did(mut self, value: impl Into>) -> RepoBuilder> { self._fields.1 = Option::Some(value.into()); RepoBuilder { _state: PhantomData, @@ -413,10 +417,7 @@ where St::Head: repo_state::IsUnset, { /// Set the `head` field (required) - pub fn head( - mut self, - value: impl Into>, - ) -> RepoBuilder> { + pub fn head(mut self, value: impl Into>) -> RepoBuilder> { self._fields.2 = Option::Some(value.into()); RepoBuilder { _state: PhantomData, @@ -432,10 +433,7 @@ where St::Rev: repo_state::IsUnset, { /// Set the `rev` field (required) - pub fn rev( - mut self, - value: impl Into, - ) -> RepoBuilder> { + pub fn rev(mut self, value: impl Into) -> RepoBuilder> { self._fields.3 = Option::Some(value.into()); RepoBuilder { _state: PhantomData, @@ -490,10 +488,10 @@ where } fn lexicon_doc_com_atproto_sync_listRepos() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("com.atproto.sync.listRepos"), @@ -502,28 +500,26 @@ fn lexicon_doc_com_atproto_sync_listRepos() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::XrpcQuery(LexXrpcQuery { - parameters: Some( - LexXrpcQueryParameter::Params(LexXrpcParameters { - properties: { - #[allow(unused_mut)] - let mut map = BTreeMap::new(); - map.insert( - SmolStr::new_static("cursor"), - LexXrpcParametersProperty::String(LexString { - ..Default::default() - }), - ); - map.insert( - SmolStr::new_static("limit"), - LexXrpcParametersProperty::Integer(LexInteger { - ..Default::default() - }), - ); - map - }, - ..Default::default() - }), - ), + parameters: Some(LexXrpcQueryParameter::Params(LexXrpcParameters { + properties: { + #[allow(unused_mut)] + let mut map = BTreeMap::new(); + map.insert( + SmolStr::new_static("cursor"), + LexXrpcParametersProperty::String(LexString { + ..Default::default() + }), + ); + map.insert( + SmolStr::new_static("limit"), + LexXrpcParametersProperty::Integer(LexInteger { + ..Default::default() + }), + ); + map + }, + ..Default::default() + })), ..Default::default() }), ); @@ -589,4 +585,4 @@ fn lexicon_doc_com_atproto_sync_listRepos() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/sync/list_repos_by_collection.rs b/crates/jacquard-api/src/com_atproto/sync/list_repos_by_collection.rs index 1cda0568..aa0c4fd1 100644 --- a/crates/jacquard-api/src/com_atproto/sync/list_repos_by_collection.rs +++ b/crates/jacquard-api/src/com_atproto/sync/list_repos_by_collection.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -21,13 +21,16 @@ use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::com_atproto::sync::list_repos_by_collection; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::com_atproto::sync::list_repos_by_collection; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ListReposByCollection { pub collection: Nsid, #[serde(skip_serializing_if = "Option::is_none")] @@ -38,9 +41,11 @@ pub struct ListReposByCollection { pub limit: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ListReposByCollectionOutput { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -49,9 +54,11 @@ pub struct ListReposByCollectionOutput { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Repo { pub did: Did, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -103,7 +110,7 @@ fn _default_limit() -> Option { pub mod list_repos_by_collection_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -134,10 +141,7 @@ pub mod list_repos_by_collection_state { } /// Builder for constructing an instance of this type. -pub struct ListReposByCollectionBuilder< - S: BosStr, - St: list_repos_by_collection_state::State, -> { +pub struct ListReposByCollectionBuilder { _state: PhantomData St>, _fields: (Option>, Option, Option), _type: PhantomData S>, @@ -145,10 +149,7 @@ pub struct ListReposByCollectionBuilder< impl ListReposByCollection { /// Create a new builder for this type. - pub fn new() -> ListReposByCollectionBuilder< - S, - list_repos_by_collection_state::Empty, - > { + pub fn new() -> ListReposByCollectionBuilder { ListReposByCollectionBuilder::new() } } @@ -173,10 +174,7 @@ where pub fn collection( mut self, value: impl Into>, - ) -> ListReposByCollectionBuilder< - S, - list_repos_by_collection_state::SetCollection, - > { + ) -> ListReposByCollectionBuilder> { self._fields.0 = Option::Some(value.into()); ListReposByCollectionBuilder { _state: PhantomData, @@ -186,10 +184,7 @@ where } } -impl< - S: BosStr, - St: list_repos_by_collection_state::State, -> ListReposByCollectionBuilder { +impl ListReposByCollectionBuilder { /// Set the `cursor` field (optional) pub fn cursor(mut self, value: impl Into>) -> Self { self._fields.1 = value.into(); @@ -202,10 +197,7 @@ impl< } } -impl< - S: BosStr, - St: list_repos_by_collection_state::State, -> ListReposByCollectionBuilder { +impl ListReposByCollectionBuilder { /// Set the `limit` field (optional) pub fn limit(mut self, value: impl Into>) -> Self { self._fields.2 = value.into(); @@ -235,7 +227,7 @@ where pub mod repo_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -296,10 +288,7 @@ where St::Did: repo_state::IsUnset, { /// Set the `did` field (required) - pub fn did( - mut self, - value: impl Into>, - ) -> RepoBuilder> { + pub fn did(mut self, value: impl Into>) -> RepoBuilder> { self._fields.0 = Option::Some(value.into()); RepoBuilder { _state: PhantomData, @@ -331,10 +320,10 @@ where } fn lexicon_doc_com_atproto_sync_listReposByCollection() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("com.atproto.sync.listReposByCollection"), @@ -343,36 +332,34 @@ fn lexicon_doc_com_atproto_sync_listReposByCollection() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::XrpcQuery(LexXrpcQuery { - parameters: Some( - LexXrpcQueryParameter::Params(LexXrpcParameters { - required: Some(vec![SmolStr::new_static("collection")]), - properties: { - #[allow(unused_mut)] - let mut map = BTreeMap::new(); - map.insert( - SmolStr::new_static("collection"), - LexXrpcParametersProperty::String(LexString { - format: Some(LexStringFormat::Nsid), - ..Default::default() - }), - ); - map.insert( - SmolStr::new_static("cursor"), - LexXrpcParametersProperty::String(LexString { - ..Default::default() - }), - ); - map.insert( - SmolStr::new_static("limit"), - LexXrpcParametersProperty::Integer(LexInteger { - ..Default::default() - }), - ); - map - }, - ..Default::default() - }), - ), + parameters: Some(LexXrpcQueryParameter::Params(LexXrpcParameters { + required: Some(vec![SmolStr::new_static("collection")]), + properties: { + #[allow(unused_mut)] + let mut map = BTreeMap::new(); + map.insert( + SmolStr::new_static("collection"), + LexXrpcParametersProperty::String(LexString { + format: Some(LexStringFormat::Nsid), + ..Default::default() + }), + ); + map.insert( + SmolStr::new_static("cursor"), + LexXrpcParametersProperty::String(LexString { + ..Default::default() + }), + ); + map.insert( + SmolStr::new_static("limit"), + LexXrpcParametersProperty::Integer(LexInteger { + ..Default::default() + }), + ); + map + }, + ..Default::default() + })), ..Default::default() }), ); @@ -399,4 +386,4 @@ fn lexicon_doc_com_atproto_sync_listReposByCollection() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/sync/notify_of_update.rs b/crates/jacquard-api/src/com_atproto/sync/notify_of_update.rs index e5237f43..33948640 100644 --- a/crates/jacquard-api/src/com_atproto/sync/notify_of_update.rs +++ b/crates/jacquard-api/src/com_atproto/sync/notify_of_update.rs @@ -10,14 +10,17 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct NotifyOfUpdate { ///Hostname of the current service (usually a PDS) that is notifying of update. pub hostname: S, @@ -36,9 +39,8 @@ impl jacquard_common::xrpc::XrpcResp for NotifyOfUpdateResponse { impl jacquard_common::xrpc::XrpcRequest for NotifyOfUpdate { const NSID: &'static str = "com.atproto.sync.notifyOfUpdate"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = NotifyOfUpdateResponse; } @@ -46,9 +48,8 @@ impl jacquard_common::xrpc::XrpcRequest for NotifyOfUpdate { pub struct NotifyOfUpdateRequest; impl jacquard_common::xrpc::XrpcEndpoint for NotifyOfUpdateRequest { const PATH: &'static str = "/xrpc/com.atproto.sync.notifyOfUpdate"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = NotifyOfUpdate; type Response = NotifyOfUpdateResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/sync/request_crawl.rs b/crates/jacquard-api/src/com_atproto/sync/request_crawl.rs index 1170a7d2..98ca3507 100644 --- a/crates/jacquard-api/src/com_atproto/sync/request_crawl.rs +++ b/crates/jacquard-api/src/com_atproto/sync/request_crawl.rs @@ -10,14 +10,17 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct RequestCrawl { ///Hostname of the current service (eg, PDS) that is requesting to be crawled. pub hostname: S, @@ -25,25 +28,19 @@ pub struct RequestCrawl { pub extra_data: Option>>, } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum RequestCrawlError { #[serde(rename = "HostBanned")] HostBanned(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for RequestCrawlError { @@ -78,9 +75,8 @@ impl jacquard_common::xrpc::XrpcResp for RequestCrawlResponse { impl jacquard_common::xrpc::XrpcRequest for RequestCrawl { const NSID: &'static str = "com.atproto.sync.requestCrawl"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = RequestCrawlResponse; } @@ -88,9 +84,8 @@ impl jacquard_common::xrpc::XrpcRequest for RequestCrawl { pub struct RequestCrawlRequest; impl jacquard_common::xrpc::XrpcEndpoint for RequestCrawlRequest { const PATH: &'static str = "/xrpc/com.atproto.sync.requestCrawl"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = RequestCrawl; type Response = RequestCrawlResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/sync/subscribe_repos.rs b/crates/jacquard-api/src/com_atproto/sync/subscribe_repos.rs index 4cb32941..b917b365 100644 --- a/crates/jacquard-api/src/com_atproto/sync/subscribe_repos.rs +++ b/crates/jacquard-api/src/com_atproto/sync/subscribe_repos.rs @@ -10,27 +10,30 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::bytes::Bytes; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::cid::CidLink; -use jacquard_common::types::string::{Did, Handle, Tid, Datetime}; +use jacquard_common::types::string::{Datetime, Did, Handle, Tid}; use jacquard_common::types::value::Data; use jacquard_derive::{IntoStatic, open_union}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::com_atproto::sync::subscribe_repos; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::com_atproto::sync::subscribe_repos; +use serde::{Deserialize, Serialize}; /// Represents a change to an account's status on a host (eg, PDS or Relay). The semantics of this event are that the status is at the host which emitted the event, not necessarily that at the currently active PDS. Eg, a Relay takedown would emit a takedown with active=false, even if the PDS is still active. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Account { ///Indicates that the account has a repository which can be fetched from the host that emitted this event. pub active: bool, @@ -142,7 +145,10 @@ where /// Represents an update of repository state. Note that empty commits are allowed, which include no repo data changes, but an update to rev and signature. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Commit { pub blobs: Vec>, ///CAR file containing relevant blocks, as a diff since the previous repo state. The commit must be included as a block, and the commit block CID must be the first entry in the CAR header 'roots' list. @@ -176,7 +182,10 @@ pub struct Commit { /// Represents a change to an account's identity. Could be an updated handle, signing key, or pds hosting endpoint. Serves as a prod to all downstream services to refresh their identity cache. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Identity { pub did: Did, ///The current handle for the account, or 'handle.invalid' if validation fails. This field is optional, might have been validated or passed-through from an upstream source. Semantics and behaviors for PDS vs Relay may evolve in the future; see atproto specs for more details. @@ -188,9 +197,11 @@ pub struct Identity { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Info { #[serde(skip_serializing_if = "Option::is_none")] pub message: Option, @@ -199,7 +210,6 @@ pub struct Info { pub extra_data: Option>>, } - #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum InfoName { OutdatedCursor, @@ -273,7 +283,6 @@ where } } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(rename_all = "camelCase")] pub struct SubscribeRepos { @@ -281,7 +290,6 @@ pub struct SubscribeRepos { pub cursor: Option, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -306,61 +314,38 @@ impl SubscribeReposMessage { where S: serde::Deserialize<'de>, { - let (header, body) = jacquard_common::xrpc::subscription::parse_event_header( - bytes, - )?; + let (header, body) = jacquard_common::xrpc::subscription::parse_event_header(bytes)?; match header.t.as_str() { "#commit" => { - let variant = jacquard_common::deps::codegen::serde_ipld_dagcbor::from_slice( - body, - )?; + let variant = jacquard_common::deps::codegen::serde_ipld_dagcbor::from_slice(body)?; Ok(Self::Commit(Box::new(variant))) } "#sync" => { - let variant = jacquard_common::deps::codegen::serde_ipld_dagcbor::from_slice( - body, - )?; + let variant = jacquard_common::deps::codegen::serde_ipld_dagcbor::from_slice(body)?; Ok(Self::Sync(Box::new(variant))) } "#identity" => { - let variant = jacquard_common::deps::codegen::serde_ipld_dagcbor::from_slice( - body, - )?; + let variant = jacquard_common::deps::codegen::serde_ipld_dagcbor::from_slice(body)?; Ok(Self::Identity(Box::new(variant))) } "#account" => { - let variant = jacquard_common::deps::codegen::serde_ipld_dagcbor::from_slice( - body, - )?; + let variant = jacquard_common::deps::codegen::serde_ipld_dagcbor::from_slice(body)?; Ok(Self::Account(Box::new(variant))) } "#info" => { - let variant = jacquard_common::deps::codegen::serde_ipld_dagcbor::from_slice( - body, - )?; + let variant = jacquard_common::deps::codegen::serde_ipld_dagcbor::from_slice(body)?; Ok(Self::Info(Box::new(variant))) } - unknown => { - Err( - jacquard_common::error::DecodeError::UnknownEventType(unknown.into()), - ) - } + unknown => Err(jacquard_common::error::DecodeError::UnknownEventType( + unknown.into(), + )), } } } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum SubscribeReposError { #[serde(rename = "FutureCursor")] @@ -370,7 +355,10 @@ pub enum SubscribeReposError { ConsumerTooSlow(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for SubscribeReposError { @@ -404,7 +392,10 @@ impl core::fmt::Display for SubscribeReposError { /// A repo operation, ie a mutation of a single record. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct RepoOp { pub action: RepoOpAction, ///For creates and updates, the new record CID. For deletions, null. @@ -418,7 +409,6 @@ pub struct RepoOp { pub extra_data: Option>>, } - #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum RepoOpAction { Create, @@ -503,7 +493,10 @@ where /// Updates the repo to a new state, without necessarily including that state on the firehose. Used to recover from broken commit streams, data loss incidents, or in situations where upstream host does not know recent state of the repository. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Sync { ///CAR file containing the commit, as a block. The CAR header must include the commit block CID as the first 'root'. #[serde(with = "jacquard_common::serde_bytes_helper")] @@ -596,7 +589,8 @@ impl LexiconSchema for Info { pub struct SubscribeReposStream; impl jacquard_common::xrpc::SubscriptionResp for SubscribeReposStream { const NSID: &'static str = "com.atproto.sync.subscribeRepos"; - const ENCODING: jacquard_common::xrpc::MessageEncoding = jacquard_common::xrpc::MessageEncoding::DagCbor; + const ENCODING: jacquard_common::xrpc::MessageEncoding = + jacquard_common::xrpc::MessageEncoding::DagCbor; type Message = SubscribeReposMessage; type Error = SubscribeReposError; fn decode_message<'de, S>( @@ -612,14 +606,16 @@ impl jacquard_common::xrpc::SubscriptionResp for SubscribeReposStream { impl jacquard_common::xrpc::XrpcSubscription for SubscribeRepos { const NSID: &'static str = "com.atproto.sync.subscribeRepos"; - const ENCODING: jacquard_common::xrpc::MessageEncoding = jacquard_common::xrpc::MessageEncoding::DagCbor; + const ENCODING: jacquard_common::xrpc::MessageEncoding = + jacquard_common::xrpc::MessageEncoding::DagCbor; type Stream = SubscribeReposStream; } pub struct SubscribeReposEndpoint; impl jacquard_common::xrpc::SubscriptionEndpoint for SubscribeReposEndpoint { const PATH: &'static str = "/xrpc/com.atproto.sync.subscribeRepos"; - const ENCODING: jacquard_common::xrpc::MessageEncoding = jacquard_common::xrpc::MessageEncoding::DagCbor; + const ENCODING: jacquard_common::xrpc::MessageEncoding = + jacquard_common::xrpc::MessageEncoding::DagCbor; type Params = SubscribeRepos; type Stream = SubscribeReposStream; } @@ -656,7 +652,7 @@ impl LexiconSchema for Sync { pub mod account_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -784,10 +780,7 @@ where St::Did: account_state::IsUnset, { /// Set the `did` field (required) - pub fn did( - mut self, - value: impl Into>, - ) -> AccountBuilder> { + pub fn did(mut self, value: impl Into>) -> AccountBuilder> { self._fields.1 = Option::Some(value.into()); AccountBuilder { _state: PhantomData, @@ -803,10 +796,7 @@ where St::Seq: account_state::IsUnset, { /// Set the `seq` field (required) - pub fn seq( - mut self, - value: impl Into, - ) -> AccountBuilder> { + pub fn seq(mut self, value: impl Into) -> AccountBuilder> { self._fields.2 = Option::Some(value.into()); AccountBuilder { _state: PhantomData, @@ -881,10 +871,10 @@ where } fn lexicon_doc_com_atproto_sync_subscribeRepos() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("com.atproto.sync.subscribeRepos"), @@ -1143,11 +1133,15 @@ fn lexicon_doc_com_atproto_sync_subscribeRepos() -> LexiconDoc<'static> { let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("message"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("name"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map }, @@ -1157,45 +1151,42 @@ fn lexicon_doc_com_atproto_sync_subscribeRepos() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::XrpcSubscription(LexXrpcSubscription { - parameters: Some( - LexXrpcSubscriptionParameter::Params(LexXrpcParameters { - properties: { - #[allow(unused_mut)] - let mut map = BTreeMap::new(); - map.insert( - SmolStr::new_static("cursor"), - LexXrpcParametersProperty::Integer(LexInteger { - ..Default::default() - }), - ); - map - }, - ..Default::default() - }), - ), + parameters: Some(LexXrpcSubscriptionParameter::Params(LexXrpcParameters { + properties: { + #[allow(unused_mut)] + let mut map = BTreeMap::new(); + map.insert( + SmolStr::new_static("cursor"), + LexXrpcParametersProperty::Integer(LexInteger { + ..Default::default() + }), + ); + map + }, + ..Default::default() + })), ..Default::default() }), ); map.insert( SmolStr::new_static("repoOp"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "A repo operation, ie a mutation of a single record.", - ), - ), - required: Some( - vec![ - SmolStr::new_static("action"), SmolStr::new_static("path"), - SmolStr::new_static("cid") - ], - ), + description: Some(CowStr::new_static( + "A repo operation, ie a mutation of a single record.", + )), + required: Some(vec![ + SmolStr::new_static("action"), + SmolStr::new_static("path"), + SmolStr::new_static("cid"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("action"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("cid"), @@ -1205,7 +1196,9 @@ fn lexicon_doc_com_atproto_sync_subscribeRepos() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("path"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("prev"), @@ -1297,7 +1290,7 @@ fn lexicon_doc_com_atproto_sync_subscribeRepos() -> LexiconDoc<'static> { pub mod commit_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -1540,18 +1533,7 @@ impl CommitBuilder { CommitBuilder { _state: PhantomData, _fields: ( - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, + None, None, None, None, None, None, None, None, None, None, None, None, ), _type: PhantomData, } @@ -1672,10 +1654,7 @@ where St::Repo: commit_state::IsUnset, { /// Set the `repo` field (required) - pub fn repo( - mut self, - value: impl Into>, - ) -> CommitBuilder> { + pub fn repo(mut self, value: impl Into>) -> CommitBuilder> { self._fields.6 = Option::Some(value.into()); CommitBuilder { _state: PhantomData, @@ -1691,10 +1670,7 @@ where St::Rev: commit_state::IsUnset, { /// Set the `rev` field (required) - pub fn rev( - mut self, - value: impl Into, - ) -> CommitBuilder> { + pub fn rev(mut self, value: impl Into) -> CommitBuilder> { self._fields.7 = Option::Some(value.into()); CommitBuilder { _state: PhantomData, @@ -1710,10 +1686,7 @@ where St::Seq: commit_state::IsUnset, { /// Set the `seq` field (required) - pub fn seq( - mut self, - value: impl Into, - ) -> CommitBuilder> { + pub fn seq(mut self, value: impl Into) -> CommitBuilder> { self._fields.8 = Option::Some(value.into()); CommitBuilder { _state: PhantomData, @@ -1828,7 +1801,7 @@ where pub mod identity_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -1887,7 +1860,12 @@ pub mod identity_state { /// Builder for constructing an instance of this type. pub struct IdentityBuilder { _state: PhantomData St>, - _fields: (Option>, Option>, Option, Option), + _fields: ( + Option>, + Option>, + Option, + Option, + ), _type: PhantomData S>, } @@ -1947,10 +1925,7 @@ where St::Seq: identity_state::IsUnset, { /// Set the `seq` field (required) - pub fn seq( - mut self, - value: impl Into, - ) -> IdentityBuilder> { + pub fn seq(mut self, value: impl Into) -> IdentityBuilder> { self._fields.2 = Option::Some(value.into()); IdentityBuilder { _state: PhantomData, @@ -2010,7 +1985,7 @@ where pub mod subscribe_repos_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -2077,7 +2052,7 @@ where pub mod repo_op_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -2187,10 +2162,7 @@ where St::Path: repo_op_state::IsUnset, { /// Set the `path` field (required) - pub fn path( - mut self, - value: impl Into, - ) -> RepoOpBuilder> { + pub fn path(mut self, value: impl Into) -> RepoOpBuilder> { self._fields.2 = Option::Some(value.into()); RepoOpBuilder { _state: PhantomData, @@ -2243,7 +2215,7 @@ where pub mod sync_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -2336,7 +2308,13 @@ pub mod sync_state { /// Builder for constructing an instance of this type. pub struct SyncBuilder { _state: PhantomData St>, - _fields: (Option, Option>, Option, Option, Option), + _fields: ( + Option, + Option>, + Option, + Option, + Option, + ), _type: PhantomData S>, } @@ -2364,10 +2342,7 @@ where St::Blocks: sync_state::IsUnset, { /// Set the `blocks` field (required) - pub fn blocks( - mut self, - value: impl Into, - ) -> SyncBuilder> { + pub fn blocks(mut self, value: impl Into) -> SyncBuilder> { self._fields.0 = Option::Some(value.into()); SyncBuilder { _state: PhantomData, @@ -2383,10 +2358,7 @@ where St::Did: sync_state::IsUnset, { /// Set the `did` field (required) - pub fn did( - mut self, - value: impl Into>, - ) -> SyncBuilder> { + pub fn did(mut self, value: impl Into>) -> SyncBuilder> { self._fields.1 = Option::Some(value.into()); SyncBuilder { _state: PhantomData, @@ -2418,10 +2390,7 @@ where St::Seq: sync_state::IsUnset, { /// Set the `seq` field (required) - pub fn seq( - mut self, - value: impl Into, - ) -> SyncBuilder> { + pub fn seq(mut self, value: impl Into) -> SyncBuilder> { self._fields.3 = Option::Some(value.into()); SyncBuilder { _state: PhantomData, @@ -2437,10 +2406,7 @@ where St::Time: sync_state::IsUnset, { /// Set the `time` field (required) - pub fn time( - mut self, - value: impl Into, - ) -> SyncBuilder> { + pub fn time(mut self, value: impl Into) -> SyncBuilder> { self._fields.4 = Option::Some(value.into()); SyncBuilder { _state: PhantomData, @@ -2481,4 +2447,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/temp.rs b/crates/jacquard-api/src/com_atproto/temp.rs index d8d777e6..e4deebc5 100644 --- a/crates/jacquard-api/src/com_atproto/temp.rs +++ b/crates/jacquard-api/src/com_atproto/temp.rs @@ -9,4 +9,4 @@ pub mod check_signup_queue; pub mod dereference_scope; pub mod fetch_labels; pub mod request_phone_verification; -pub mod revoke_account_credentials; \ No newline at end of file +pub mod revoke_account_credentials; diff --git a/crates/jacquard-api/src/com_atproto/temp/add_reserved_handle.rs b/crates/jacquard-api/src/com_atproto/temp/add_reserved_handle.rs index 041d658c..afac2174 100644 --- a/crates/jacquard-api/src/com_atproto/temp/add_reserved_handle.rs +++ b/crates/jacquard-api/src/com_atproto/temp/add_reserved_handle.rs @@ -10,23 +10,28 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct AddReservedHandle { pub handle: S, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct AddReservedHandleOutput { #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, @@ -43,9 +48,8 @@ impl jacquard_common::xrpc::XrpcResp for AddReservedHandleResponse { impl jacquard_common::xrpc::XrpcRequest for AddReservedHandle { const NSID: &'static str = "com.atproto.temp.addReservedHandle"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = AddReservedHandleResponse; } @@ -53,9 +57,8 @@ impl jacquard_common::xrpc::XrpcRequest for AddReservedHandle { pub struct AddReservedHandleRequest; impl jacquard_common::xrpc::XrpcEndpoint for AddReservedHandleRequest { const PATH: &'static str = "/xrpc/com.atproto.temp.addReservedHandle"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = AddReservedHandle; type Response = AddReservedHandleResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/temp/check_handle_availability.rs b/crates/jacquard-api/src/com_atproto/temp/check_handle_availability.rs index 754848ab..dc11a125 100644 --- a/crates/jacquard-api/src/com_atproto/temp/check_handle_availability.rs +++ b/crates/jacquard-api/src/com_atproto/temp/check_handle_availability.rs @@ -10,24 +10,27 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; use jacquard_common::deps::smol_str::SmolStr; -use jacquard_common::types::string::{Handle, Datetime}; +use jacquard_common::types::string::{Datetime, Handle}; use jacquard_common::types::value::Data; use jacquard_derive::{IntoStatic, open_union}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::com_atproto::temp::check_handle_availability; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::com_atproto::temp::check_handle_availability; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct CheckHandleAvailability { #[serde(skip_serializing_if = "Option::is_none")] pub birth_date: Option, @@ -36,9 +39,11 @@ pub struct CheckHandleAvailability { pub handle: Handle, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct CheckHandleAvailabilityOutput { ///Echo of the input handle. pub handle: Handle, @@ -47,7 +52,6 @@ pub struct CheckHandleAvailabilityOutput { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -58,18 +62,9 @@ pub enum CheckHandleAvailabilityOutputResult { ResultUnavailable(Box>), } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum CheckHandleAvailabilityError { /// An invalid email was provided. @@ -77,7 +72,10 @@ pub enum CheckHandleAvailabilityError { InvalidEmail(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for CheckHandleAvailabilityError { @@ -104,7 +102,10 @@ impl core::fmt::Display for CheckHandleAvailabilityError { /// Indicates the provided handle is available. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ResultAvailable { #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, @@ -113,7 +114,10 @@ pub struct ResultAvailable { /// Indicates the provided handle is unavailable and gives suggestions of available handles. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ResultUnavailable { ///List of suggested handles based on the provided inputs. pub suggestions: Vec>, @@ -121,9 +125,11 @@ pub struct ResultUnavailable { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Suggestion { pub handle: Handle, ///Method used to build this suggestion. Should be considered opaque to clients. Can be used for metrics. @@ -203,7 +209,7 @@ impl LexiconSchema for Suggestion { pub mod check_handle_availability_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -234,10 +240,7 @@ pub mod check_handle_availability_state { } /// Builder for constructing an instance of this type. -pub struct CheckHandleAvailabilityBuilder< - S: BosStr, - St: check_handle_availability_state::State, -> { +pub struct CheckHandleAvailabilityBuilder { _state: PhantomData St>, _fields: (Option, Option, Option>), _type: PhantomData S>, @@ -245,17 +248,12 @@ pub struct CheckHandleAvailabilityBuilder< impl CheckHandleAvailability { /// Create a new builder for this type. - pub fn new() -> CheckHandleAvailabilityBuilder< - S, - check_handle_availability_state::Empty, - > { + pub fn new() -> CheckHandleAvailabilityBuilder { CheckHandleAvailabilityBuilder::new() } } -impl< - S: BosStr, -> CheckHandleAvailabilityBuilder { +impl CheckHandleAvailabilityBuilder { /// Create a new builder with all fields unset. pub fn new() -> Self { CheckHandleAvailabilityBuilder { @@ -266,10 +264,7 @@ impl< } } -impl< - S: BosStr, - St: check_handle_availability_state::State, -> CheckHandleAvailabilityBuilder { +impl CheckHandleAvailabilityBuilder { /// Set the `birthDate` field (optional) pub fn birth_date(mut self, value: impl Into>) -> Self { self._fields.0 = value.into(); @@ -282,10 +277,7 @@ impl< } } -impl< - S: BosStr, - St: check_handle_availability_state::State, -> CheckHandleAvailabilityBuilder { +impl CheckHandleAvailabilityBuilder { /// Set the `email` field (optional) pub fn email(mut self, value: impl Into>) -> Self { self._fields.1 = value.into(); @@ -307,10 +299,7 @@ where pub fn handle( mut self, value: impl Into>, - ) -> CheckHandleAvailabilityBuilder< - S, - check_handle_availability_state::SetHandle, - > { + ) -> CheckHandleAvailabilityBuilder> { self._fields.2 = Option::Some(value.into()); CheckHandleAvailabilityBuilder { _state: PhantomData, @@ -336,10 +325,10 @@ where } fn lexicon_doc_com_atproto_temp_checkHandleAvailability() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("com.atproto.temp.checkHandleAvailability"), @@ -400,9 +389,9 @@ fn lexicon_doc_com_atproto_temp_checkHandleAvailability() -> LexiconDoc<'static> map.insert( SmolStr::new_static("resultAvailable"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("Indicates the provided handle is available."), - ), + description: Some(CowStr::new_static( + "Indicates the provided handle is available.", + )), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -485,7 +474,7 @@ fn lexicon_doc_com_atproto_temp_checkHandleAvailability() -> LexiconDoc<'static> pub mod result_unavailable_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -572,10 +561,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> ResultUnavailable { + pub fn build_with_data(self, extra_data: BTreeMap>) -> ResultUnavailable { ResultUnavailable { suggestions: self._fields.0.unwrap(), extra_data: Some(extra_data), @@ -585,7 +571,7 @@ where pub mod suggestion_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -705,14 +691,11 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> Suggestion { + pub fn build_with_data(self, extra_data: BTreeMap>) -> Suggestion { Suggestion { handle: self._fields.0.unwrap(), method: self._fields.1.unwrap(), extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/temp/check_signup_queue.rs b/crates/jacquard-api/src/com_atproto/temp/check_signup_queue.rs index 23e28530..3c36f379 100644 --- a/crates/jacquard-api/src/com_atproto/temp/check_signup_queue.rs +++ b/crates/jacquard-api/src/com_atproto/temp/check_signup_queue.rs @@ -10,14 +10,17 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct CheckSignupQueueOutput { pub activated: bool, #[serde(skip_serializing_if = "Option::is_none")] @@ -54,4 +57,4 @@ impl jacquard_common::xrpc::XrpcEndpoint for CheckSignupQueueRequest { const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Query; type Request = CheckSignupQueue; type Response = CheckSignupQueueResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/temp/dereference_scope.rs b/crates/jacquard-api/src/com_atproto/temp/dereference_scope.rs index 9720536b..6c2db1b9 100644 --- a/crates/jacquard-api/src/com_atproto/temp/dereference_scope.rs +++ b/crates/jacquard-api/src/com_atproto/temp/dereference_scope.rs @@ -10,21 +10,26 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DereferenceScope { pub scope: S, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DereferenceScopeOutput { ///The full oauth permission scope pub scope: S, @@ -32,18 +37,9 @@ pub struct DereferenceScopeOutput { pub extra_data: Option>>, } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum DereferenceScopeError { /// An invalid scope reference was provided. @@ -51,7 +47,10 @@ pub enum DereferenceScopeError { InvalidScopeReference(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for DereferenceScopeError { @@ -101,7 +100,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for DereferenceScopeRequest { pub mod dereference_scope_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -186,4 +185,4 @@ where scope: self._fields.0.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/temp/fetch_labels.rs b/crates/jacquard-api/src/com_atproto/temp/fetch_labels.rs index d9189d25..4c63f0fd 100644 --- a/crates/jacquard-api/src/com_atproto/temp/fetch_labels.rs +++ b/crates/jacquard-api/src/com_atproto/temp/fetch_labels.rs @@ -8,14 +8,14 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::com_atproto::label::Label; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::com_atproto::label::Label; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(rename_all = "camelCase")] @@ -28,9 +28,11 @@ pub struct FetchLabels { pub since: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct FetchLabelsOutput { pub labels: Vec>, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -67,7 +69,7 @@ fn _default_limit() -> Option { pub mod fetch_labels_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -144,4 +146,4 @@ where since: self._fields.1, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/temp/request_phone_verification.rs b/crates/jacquard-api/src/com_atproto/temp/request_phone_verification.rs index 60e3859d..f595954b 100644 --- a/crates/jacquard-api/src/com_atproto/temp/request_phone_verification.rs +++ b/crates/jacquard-api/src/com_atproto/temp/request_phone_verification.rs @@ -10,14 +10,17 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct RequestPhoneVerification { pub phone_number: S, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -35,9 +38,8 @@ impl jacquard_common::xrpc::XrpcResp for RequestPhoneVerificationResponse { impl jacquard_common::xrpc::XrpcRequest for RequestPhoneVerification { const NSID: &'static str = "com.atproto.temp.requestPhoneVerification"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = RequestPhoneVerificationResponse; } @@ -45,9 +47,8 @@ impl jacquard_common::xrpc::XrpcRequest for RequestPhoneVerification< pub struct RequestPhoneVerificationRequest; impl jacquard_common::xrpc::XrpcEndpoint for RequestPhoneVerificationRequest { const PATH: &'static str = "/xrpc/com.atproto.temp.requestPhoneVerification"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = RequestPhoneVerification; type Response = RequestPhoneVerificationResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atproto/temp/revoke_account_credentials.rs b/crates/jacquard-api/src/com_atproto/temp/revoke_account_credentials.rs index db43c2e0..9edc1184 100644 --- a/crates/jacquard-api/src/com_atproto/temp/revoke_account_credentials.rs +++ b/crates/jacquard-api/src/com_atproto/temp/revoke_account_credentials.rs @@ -10,15 +10,18 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::ident::AtIdentifier; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct RevokeAccountCredentials { pub account: AtIdentifier, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -36,9 +39,8 @@ impl jacquard_common::xrpc::XrpcResp for RevokeAccountCredentialsResponse { impl jacquard_common::xrpc::XrpcRequest for RevokeAccountCredentials { const NSID: &'static str = "com.atproto.temp.revokeAccountCredentials"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = RevokeAccountCredentialsResponse; } @@ -46,16 +48,15 @@ impl jacquard_common::xrpc::XrpcRequest for RevokeAccountCredentials< pub struct RevokeAccountCredentialsRequest; impl jacquard_common::xrpc::XrpcEndpoint for RevokeAccountCredentialsRequest { const PATH: &'static str = "/xrpc/com.atproto.temp.revokeAccountCredentials"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = RevokeAccountCredentials; type Response = RevokeAccountCredentialsResponse; } pub mod revoke_account_credentials_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -86,10 +87,7 @@ pub mod revoke_account_credentials_state { } /// Builder for constructing an instance of this type. -pub struct RevokeAccountCredentialsBuilder< - S: BosStr, - St: revoke_account_credentials_state::State, -> { +pub struct RevokeAccountCredentialsBuilder { _state: PhantomData St>, _fields: (Option>,), _type: PhantomData S>, @@ -97,17 +95,12 @@ pub struct RevokeAccountCredentialsBuilder< impl RevokeAccountCredentials { /// Create a new builder for this type. - pub fn new() -> RevokeAccountCredentialsBuilder< - S, - revoke_account_credentials_state::Empty, - > { + pub fn new() -> RevokeAccountCredentialsBuilder { RevokeAccountCredentialsBuilder::new() } } -impl< - S: BosStr, -> RevokeAccountCredentialsBuilder { +impl RevokeAccountCredentialsBuilder { /// Create a new builder with all fields unset. pub fn new() -> Self { RevokeAccountCredentialsBuilder { @@ -127,10 +120,7 @@ where pub fn account( mut self, value: impl Into>, - ) -> RevokeAccountCredentialsBuilder< - S, - revoke_account_credentials_state::SetAccount, - > { + ) -> RevokeAccountCredentialsBuilder> { self._fields.0 = Option::Some(value.into()); RevokeAccountCredentialsBuilder { _state: PhantomData, @@ -162,4 +152,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atprotofans.rs b/crates/jacquard-api/src/com_atprotofans.rs index 24db763a..b714925e 100644 --- a/crates/jacquard-api/src/com_atprotofans.rs +++ b/crates/jacquard-api/src/com_atprotofans.rs @@ -10,4 +10,4 @@ pub mod hydrated_profile; pub mod profile; pub mod supporter; pub mod supporter_proof; -pub mod validate_supporter; \ No newline at end of file +pub mod validate_supporter; diff --git a/crates/jacquard-api/src/com_atprotofans/broker_proof.rs b/crates/jacquard-api/src/com_atprotofans/broker_proof.rs index 2f190f81..75420565 100644 --- a/crates/jacquard-api/src/com_atprotofans/broker_proof.rs +++ b/crates/jacquard-api/src/com_atprotofans/broker_proof.rs @@ -10,8 +10,8 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::bytes::Bytes; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -27,7 +27,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// Broker attestation proof for a supporter relationship. When inline, cid and signature are required. When remote, only cid is required. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -112,7 +112,7 @@ impl LexiconSchema for BrokerProof { pub mod broker_proof_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -227,10 +227,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> BrokerProof { + pub fn build_with_data(self, extra_data: BTreeMap>) -> BrokerProof { BrokerProof { cid: self._fields.0.unwrap(), key: self._fields.1, @@ -241,10 +238,10 @@ where } fn lexicon_doc_com_atprotofans_brokerProof() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("com.atprotofans.brokerProof"), @@ -300,4 +297,4 @@ fn lexicon_doc_com_atprotofans_brokerProof() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atprotofans/get_profile.rs b/crates/jacquard-api/src/com_atprotofans/get_profile.rs index e3f6bf24..6fdeef77 100644 --- a/crates/jacquard-api/src/com_atprotofans/get_profile.rs +++ b/crates/jacquard-api/src/com_atprotofans/get_profile.rs @@ -8,25 +8,30 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::com_atprotofans::hydrated_profile::HydratedProfile; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::Did; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; -use crate::com_atprotofans::hydrated_profile::HydratedProfile; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetProfile { pub subject: Did, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetProfileOutput { #[serde(flatten)] pub value: HydratedProfile, @@ -34,18 +39,9 @@ pub struct GetProfileOutput { pub extra_data: Option>>, } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum GetProfileError { /// Invalid DID format. @@ -56,7 +52,10 @@ pub enum GetProfileError { ProfileNotFound(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for GetProfileError { @@ -113,7 +112,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetProfileRequest { pub mod get_profile_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -198,4 +197,4 @@ where subject: self._fields.0.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atprotofans/get_supporters.rs b/crates/jacquard-api/src/com_atprotofans/get_supporters.rs index 831143f5..0940b73f 100644 --- a/crates/jacquard-api/src/com_atprotofans/get_supporters.rs +++ b/crates/jacquard-api/src/com_atprotofans/get_supporters.rs @@ -8,18 +8,21 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::com_atprotofans::hydrated_profile::HydratedProfile; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::Did; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; -use crate::com_atprotofans::hydrated_profile::HydratedProfile; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetSupporters { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -30,9 +33,11 @@ pub struct GetSupporters { pub subject: Did, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetSupportersOutput { ///Pagination cursor for fetching the next page of results. #[serde(skip_serializing_if = "Option::is_none")] @@ -43,18 +48,9 @@ pub struct GetSupportersOutput { pub extra_data: Option>>, } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum GetSupportersError { /// Invalid DID format. @@ -62,7 +58,10 @@ pub enum GetSupportersError { InvalidRequest(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for GetSupportersError { @@ -116,7 +115,7 @@ fn _default_limit() -> Option { pub mod get_supporters_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -229,4 +228,4 @@ where subject: self._fields.2.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atprotofans/hydrated_profile.rs b/crates/jacquard-api/src/com_atprotofans/hydrated_profile.rs index 81808875..52140bd5 100644 --- a/crates/jacquard-api/src/com_atprotofans/hydrated_profile.rs +++ b/crates/jacquard-api/src/com_atprotofans/hydrated_profile.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -22,14 +22,17 @@ use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::app_bsky::richtext::facet::Facet; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::richtext::facet::Facet; +use serde::{Deserialize, Serialize}; /// A hydrated identity profile with computed fields. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct HydratedProfile { ///Whether the identity is currently accepting new supporters. #[serde(skip_serializing_if = "Option::is_none")] @@ -88,25 +91,23 @@ impl LexiconSchema for HydratedProfile { { let mime = value.blob().mime_type.as_str(); let accepted: &[&str] = &["image/png", "image/jpeg", "image/webp"]; - let matched = accepted - .iter() - .any(|pattern| { - if *pattern == "*/*" { - true - } else if pattern.ends_with("/*") { - let prefix = &pattern[..pattern.len() - 2]; - mime.starts_with(prefix) - && mime.as_bytes().get(prefix.len()) == Some(&b'/') - } else { - mime == *pattern - } - }); + let matched = accepted.iter().any(|pattern| { + if *pattern == "*/*" { + true + } else if pattern.ends_with("/*") { + let prefix = &pattern[..pattern.len() - 2]; + mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/') + } else { + mime == *pattern + } + }); if !matched { return Err(ConstraintError::BlobMimeTypeNotAccepted { path: ValidationPath::from_field("avatar"), accepted: vec![ - "image/png".to_string(), "image/jpeg".to_string(), - "image/webp".to_string() + "image/png".to_string(), + "image/jpeg".to_string(), + "image/webp".to_string(), ], actual: mime.to_string(), }); @@ -129,25 +130,23 @@ impl LexiconSchema for HydratedProfile { { let mime = value.blob().mime_type.as_str(); let accepted: &[&str] = &["image/png", "image/jpeg", "image/webp"]; - let matched = accepted - .iter() - .any(|pattern| { - if *pattern == "*/*" { - true - } else if pattern.ends_with("/*") { - let prefix = &pattern[..pattern.len() - 2]; - mime.starts_with(prefix) - && mime.as_bytes().get(prefix.len()) == Some(&b'/') - } else { - mime == *pattern - } - }); + let matched = accepted.iter().any(|pattern| { + if *pattern == "*/*" { + true + } else if pattern.ends_with("/*") { + let prefix = &pattern[..pattern.len() - 2]; + mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/') + } else { + mime == *pattern + } + }); if !matched { return Err(ConstraintError::BlobMimeTypeNotAccepted { path: ValidationPath::from_field("banner"), accepted: vec![ - "image/png".to_string(), "image/jpeg".to_string(), - "image/webp".to_string() + "image/png".to_string(), + "image/jpeg".to_string(), + "image/webp".to_string(), ], actual: mime.to_string(), }); @@ -204,7 +203,7 @@ impl LexiconSchema for HydratedProfile { pub mod hydrated_profile_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -413,10 +412,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> HydratedProfile { + pub fn build_with_data(self, extra_data: BTreeMap>) -> HydratedProfile { HydratedProfile { accepting_supporters: self._fields.0, avatar: self._fields.1, @@ -433,10 +429,10 @@ where } fn lexicon_doc_com_atprotofans_hydratedProfile() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("com.atprotofans.hydratedProfile"), @@ -445,11 +441,9 @@ fn lexicon_doc_com_atprotofans_hydratedProfile() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "A hydrated identity profile with computed fields.", - ), - ), + description: Some(CowStr::new_static( + "A hydrated identity profile with computed fields.", + )), required: Some(vec![SmolStr::new_static("did")]), properties: { #[allow(unused_mut)] @@ -462,20 +456,22 @@ fn lexicon_doc_com_atprotofans_hydratedProfile() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("avatar"), - LexObjectProperty::Blob(LexBlob { ..Default::default() }), + LexObjectProperty::Blob(LexBlob { + ..Default::default() + }), ); map.insert( SmolStr::new_static("banner"), - LexObjectProperty::Blob(LexBlob { ..Default::default() }), + LexObjectProperty::Blob(LexBlob { + ..Default::default() + }), ); map.insert( SmolStr::new_static("description"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Profile bio/description with optional rich text.", - ), - ), + description: Some(CowStr::new_static( + "Profile bio/description with optional rich text.", + )), max_length: Some(2560usize), max_graphemes: Some(256usize), ..Default::default() @@ -484,9 +480,7 @@ fn lexicon_doc_com_atprotofans_hydratedProfile() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("did"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("DID of the profile owner."), - ), + description: Some(CowStr::new_static("DID of the profile owner.")), format: Some(LexStringFormat::Did), ..Default::default() }), @@ -494,9 +488,9 @@ fn lexicon_doc_com_atprotofans_hydratedProfile() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("displayName"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Display name for the profile."), - ), + description: Some(CowStr::new_static( + "Display name for the profile.", + )), max_length: Some(640usize), max_graphemes: Some(64usize), ..Default::default() @@ -505,11 +499,9 @@ fn lexicon_doc_com_atprotofans_hydratedProfile() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("facets"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static( - "Rich text facets for description annotations.", - ), - ), + description: Some(CowStr::new_static( + "Rich text facets for description annotations.", + )), items: LexArrayItem::Ref(LexRef { r#ref: CowStr::new_static("app.bsky.richtext.facet"), ..Default::default() @@ -520,9 +512,9 @@ fn lexicon_doc_com_atprotofans_hydratedProfile() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("handle"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Handle of the profile owner."), - ), + description: Some(CowStr::new_static( + "Handle of the profile owner.", + )), format: Some(LexStringFormat::Handle), ..Default::default() }), @@ -542,4 +534,4 @@ fn lexicon_doc_com_atprotofans_hydratedProfile() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atprotofans/profile.rs b/crates/jacquard-api/src/com_atprotofans/profile.rs index f230f7ff..e0ebd3fb 100644 --- a/crates/jacquard-api/src/com_atprotofans/profile.rs +++ b/crates/jacquard-api/src/com_atprotofans/profile.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -25,10 +25,10 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::app_bsky::richtext::facet::Facet; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::richtext::facet::Facet; +use serde::{Deserialize, Serialize}; /// An identity profile for display and discovery on atprotofans. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -132,25 +132,23 @@ impl LexiconSchema for Profile { { let mime = value.blob().mime_type.as_str(); let accepted: &[&str] = &["image/png", "image/jpeg", "image/webp"]; - let matched = accepted - .iter() - .any(|pattern| { - if *pattern == "*/*" { - true - } else if pattern.ends_with("/*") { - let prefix = &pattern[..pattern.len() - 2]; - mime.starts_with(prefix) - && mime.as_bytes().get(prefix.len()) == Some(&b'/') - } else { - mime == *pattern - } - }); + let matched = accepted.iter().any(|pattern| { + if *pattern == "*/*" { + true + } else if pattern.ends_with("/*") { + let prefix = &pattern[..pattern.len() - 2]; + mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/') + } else { + mime == *pattern + } + }); if !matched { return Err(ConstraintError::BlobMimeTypeNotAccepted { path: ValidationPath::from_field("avatar"), accepted: vec![ - "image/png".to_string(), "image/jpeg".to_string(), - "image/webp".to_string() + "image/png".to_string(), + "image/jpeg".to_string(), + "image/webp".to_string(), ], actual: mime.to_string(), }); @@ -173,25 +171,23 @@ impl LexiconSchema for Profile { { let mime = value.blob().mime_type.as_str(); let accepted: &[&str] = &["image/png", "image/jpeg", "image/webp"]; - let matched = accepted - .iter() - .any(|pattern| { - if *pattern == "*/*" { - true - } else if pattern.ends_with("/*") { - let prefix = &pattern[..pattern.len() - 2]; - mime.starts_with(prefix) - && mime.as_bytes().get(prefix.len()) == Some(&b'/') - } else { - mime == *pattern - } - }); + let matched = accepted.iter().any(|pattern| { + if *pattern == "*/*" { + true + } else if pattern.ends_with("/*") { + let prefix = &pattern[..pattern.len() - 2]; + mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/') + } else { + mime == *pattern + } + }); if !matched { return Err(ConstraintError::BlobMimeTypeNotAccepted { path: ValidationPath::from_field("banner"), accepted: vec![ - "image/png".to_string(), "image/jpeg".to_string(), - "image/webp".to_string() + "image/png".to_string(), + "image/jpeg".to_string(), + "image/webp".to_string(), ], actual: mime.to_string(), }); @@ -248,7 +244,7 @@ impl LexiconSchema for Profile { pub mod profile_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -406,10 +402,10 @@ where } fn lexicon_doc_com_atprotofans_profile() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("com.atprotofans.profile"), @@ -418,11 +414,9 @@ fn lexicon_doc_com_atprotofans_profile() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static( - "An identity profile for display and discovery on atprotofans.", - ), - ), + description: Some(CowStr::new_static( + "An identity profile for display and discovery on atprotofans.", + )), key: Some(CowStr::new_static("literal:self")), record: LexRecordRecord::Object(LexObject { properties: { @@ -436,20 +430,22 @@ fn lexicon_doc_com_atprotofans_profile() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("avatar"), - LexObjectProperty::Blob(LexBlob { ..Default::default() }), + LexObjectProperty::Blob(LexBlob { + ..Default::default() + }), ); map.insert( SmolStr::new_static("banner"), - LexObjectProperty::Blob(LexBlob { ..Default::default() }), + LexObjectProperty::Blob(LexBlob { + ..Default::default() + }), ); map.insert( SmolStr::new_static("description"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Profile bio/description with optional rich text.", - ), - ), + description: Some(CowStr::new_static( + "Profile bio/description with optional rich text.", + )), max_length: Some(2560usize), max_graphemes: Some(256usize), ..Default::default() @@ -458,9 +454,9 @@ fn lexicon_doc_com_atprotofans_profile() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("displayName"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Display name for the profile."), - ), + description: Some(CowStr::new_static( + "Display name for the profile.", + )), max_length: Some(640usize), max_graphemes: Some(64usize), ..Default::default() @@ -469,11 +465,9 @@ fn lexicon_doc_com_atprotofans_profile() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("facets"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static( - "Rich text facets for description annotations.", - ), - ), + description: Some(CowStr::new_static( + "Rich text facets for description annotations.", + )), items: LexArrayItem::Ref(LexRef { r#ref: CowStr::new_static("app.bsky.richtext.facet"), ..Default::default() @@ -492,4 +486,4 @@ fn lexicon_doc_com_atprotofans_profile() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atprotofans/supporter.rs b/crates/jacquard-api/src/com_atprotofans/supporter.rs index 6e8c2924..3b9f605a 100644 --- a/crates/jacquard-api/src/com_atprotofans/supporter.rs +++ b/crates/jacquard-api/src/com_atprotofans/supporter.rs @@ -10,13 +10,13 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::collection::{Collection, RecordError}; -use jacquard_common::types::string::{Did, AtUri, Cid}; +use jacquard_common::types::string::{AtUri, Cid, Did}; use jacquard_common::types::uri::{RecordUri, UriError}; use jacquard_common::types::value::Data; use jacquard_common::xrpc::XrpcResp; @@ -24,12 +24,12 @@ use jacquard_derive::{IntoStatic, lexicon, open_union}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::com_atproto::repo::strong_ref::StrongRef; use crate::com_atprotofans::broker_proof::BrokerProof; use crate::com_atprotofans::supporter_proof::SupporterProof; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; /// Record declaring support for another identity. Stored in the supporter's repository. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -49,7 +49,6 @@ pub struct Supporter { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -123,7 +122,7 @@ impl LexiconSchema for Supporter { pub mod supporter_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -180,18 +179,12 @@ impl SupporterBuilder { impl SupporterBuilder { /// Set the `signatures` field (optional) - pub fn signatures( - mut self, - value: impl Into>>>, - ) -> Self { + pub fn signatures(mut self, value: impl Into>>>) -> Self { self._fields.0 = value.into(); self } /// Set the `signatures` field to an Option value (optional) - pub fn maybe_signatures( - mut self, - value: Option>>, - ) -> Self { + pub fn maybe_signatures(mut self, value: Option>>) -> Self { self._fields.0 = value; self } @@ -230,10 +223,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> Supporter { + pub fn build_with_data(self, extra_data: BTreeMap>) -> Supporter { Supporter { signatures: self._fields.0, subject: self._fields.1.unwrap(), @@ -243,10 +233,10 @@ where } fn lexicon_doc_com_atprotofans_supporter() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("com.atprotofans.supporter"), @@ -306,4 +296,4 @@ fn lexicon_doc_com_atprotofans_supporter() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atprotofans/supporter_proof.rs b/crates/jacquard-api/src/com_atprotofans/supporter_proof.rs index 1c45708b..6757f7d3 100644 --- a/crates/jacquard-api/src/com_atprotofans/supporter_proof.rs +++ b/crates/jacquard-api/src/com_atprotofans/supporter_proof.rs @@ -10,8 +10,8 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::bytes::Bytes; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -27,7 +27,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// Attestation proof for a supporter relationship. When inline, cid and signature are required. When remote, only cid is required. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -112,7 +112,7 @@ impl LexiconSchema for SupporterProof { pub mod supporter_proof_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -227,10 +227,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> SupporterProof { + pub fn build_with_data(self, extra_data: BTreeMap>) -> SupporterProof { SupporterProof { cid: self._fields.0.unwrap(), key: self._fields.1, @@ -241,10 +238,10 @@ where } fn lexicon_doc_com_atprotofans_supporterProof() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("com.atprotofans.supporterProof"), @@ -300,4 +297,4 @@ fn lexicon_doc_com_atprotofans_supporterProof() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_atprotofans/validate_supporter.rs b/crates/jacquard-api/src/com_atprotofans/validate_supporter.rs index 081d27b5..53ec1516 100644 --- a/crates/jacquard-api/src/com_atprotofans/validate_supporter.rs +++ b/crates/jacquard-api/src/com_atprotofans/validate_supporter.rs @@ -8,27 +8,32 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::com_atprotofans::hydrated_profile::HydratedProfile; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::Did; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; -use crate::com_atprotofans::hydrated_profile::HydratedProfile; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ValidateSupporter { pub signer: Did, pub subject: Did, pub supporter: Did, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ValidateSupporterOutput { ///Hydrated profile of the supporter, if available. #[serde(skip_serializing_if = "Option::is_none")] @@ -39,18 +44,9 @@ pub struct ValidateSupporterOutput { pub extra_data: Option>>, } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum ValidateSupporterError { /// Invalid DID format or missing required parameters. @@ -58,7 +54,10 @@ pub enum ValidateSupporterError { InvalidRequest(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for ValidateSupporterError { @@ -108,7 +107,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for ValidateSupporterRequest { pub mod validate_supporter_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -261,4 +260,4 @@ where supporter: self._fields.2.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_bad_example.rs b/crates/jacquard-api/src/com_bad_example.rs index ae41c922..e06ee6c0 100644 --- a/crates/jacquard-api/src/com_bad_example.rs +++ b/crates/jacquard-api/src/com_bad_example.rs @@ -3,4 +3,4 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. -pub mod identity; \ No newline at end of file +pub mod identity; diff --git a/crates/jacquard-api/src/com_bad_example/identity.rs b/crates/jacquard-api/src/com_bad_example/identity.rs index 4a90674a..eef126df 100644 --- a/crates/jacquard-api/src/com_bad_example/identity.rs +++ b/crates/jacquard-api/src/com_bad_example/identity.rs @@ -3,4 +3,4 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. -pub mod resolve_mini_doc; \ No newline at end of file +pub mod resolve_mini_doc; diff --git a/crates/jacquard-api/src/com_bad_example/identity/resolve_mini_doc.rs b/crates/jacquard-api/src/com_bad_example/identity/resolve_mini_doc.rs index e684b225..c72bb001 100644 --- a/crates/jacquard-api/src/com_bad_example/identity/resolve_mini_doc.rs +++ b/crates/jacquard-api/src/com_bad_example/identity/resolve_mini_doc.rs @@ -10,35 +10,40 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::ident::AtIdentifier; use jacquard_common::types::string::{Did, Handle, UriValue}; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ResolveMiniDoc { pub identifier: AtIdentifier, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ResolveMiniDocOutput { ///DID, bi-directionally verified if a handle was provided in the query. pub did: Did, /**The validated handle of the account or `handle.invalid` if the handle -did not bi-directionally match the DID document.*/ + did not bi-directionally match the DID document.*/ pub handle: Handle, ///The identity's PDS URL pub pds: UriValue, /**The atproto signing key publicKeyMultibase -Legacy key encoding not supported. the key is returned directly; `id`, -`type`, and `controller` are omitted.*/ + Legacy key encoding not supported. the key is returned directly; `id`, + `type`, and `controller` are omitted.*/ pub signing_key: S, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, @@ -70,7 +75,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for ResolveMiniDocRequest { pub mod resolve_mini_doc_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -155,4 +160,4 @@ where identifier: self._fields.0.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_chrisvanderloo.rs b/crates/jacquard-api/src/com_chrisvanderloo.rs index 6ecaf981..3ec72efc 100644 --- a/crates/jacquard-api/src/com_chrisvanderloo.rs +++ b/crates/jacquard-api/src/com_chrisvanderloo.rs @@ -3,4 +3,4 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. -pub mod project; \ No newline at end of file +pub mod project; diff --git a/crates/jacquard-api/src/com_chrisvanderloo/project.rs b/crates/jacquard-api/src/com_chrisvanderloo/project.rs index 5059c83c..51fc7000 100644 --- a/crates/jacquard-api/src/com_chrisvanderloo/project.rs +++ b/crates/jacquard-api/src/com_chrisvanderloo/project.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// A project for display on my website. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -162,7 +162,7 @@ impl LexiconSchema for Project { pub mod project_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -237,7 +237,13 @@ pub mod project_state { /// Builder for constructing an instance of this type. pub struct ProjectBuilder { _state: PhantomData St>, - _fields: (Option, Option, Option>, Option>, Option), + _fields: ( + Option, + Option, + Option>, + Option>, + Option, + ), _type: PhantomData S>, } @@ -335,10 +341,7 @@ where St::Title: project_state::IsUnset, { /// Set the `title` field (required) - pub fn title( - mut self, - value: impl Into, - ) -> ProjectBuilder> { + pub fn title(mut self, value: impl Into) -> ProjectBuilder> { self._fields.4 = Option::Some(value.into()); ProjectBuilder { _state: PhantomData, @@ -381,10 +384,10 @@ where } fn lexicon_doc_com_chrisvanderloo_project() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("com.chrisvanderloo.project"), @@ -393,18 +396,15 @@ fn lexicon_doc_com_chrisvanderloo_project() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static("A project for display on my website."), - ), + description: Some(CowStr::new_static("A project for display on my website.")), key: Some(CowStr::new_static("any")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("title"), - SmolStr::new_static("description"), - SmolStr::new_static("repo"), SmolStr::new_static("language") - ], - ), + required: Some(vec![ + SmolStr::new_static("title"), + SmolStr::new_static("description"), + SmolStr::new_static("repo"), + SmolStr::new_static("language"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -456,4 +456,4 @@ fn lexicon_doc_com_chrisvanderloo_project() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_crabdance.rs b/crates/jacquard-api/src/com_crabdance.rs index 9fcf4882..6c5e6d5f 100644 --- a/crates/jacquard-api/src/com_crabdance.rs +++ b/crates/jacquard-api/src/com_crabdance.rs @@ -3,4 +3,4 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. -pub mod nandi; \ No newline at end of file +pub mod nandi; diff --git a/crates/jacquard-api/src/com_crabdance/nandi.rs b/crates/jacquard-api/src/com_crabdance/nandi.rs index 16034acd..a3934c62 100644 --- a/crates/jacquard-api/src/com_crabdance/nandi.rs +++ b/crates/jacquard-api/src/com_crabdance/nandi.rs @@ -3,4 +3,4 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. -pub mod post; \ No newline at end of file +pub mod post; diff --git a/crates/jacquard-api/src/com_crabdance/nandi/post.rs b/crates/jacquard-api/src/com_crabdance/nandi/post.rs index 5effe870..d9ef6f19 100644 --- a/crates/jacquard-api/src/com_crabdance/nandi/post.rs +++ b/crates/jacquard-api/src/com_crabdance/nandi/post.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde( @@ -186,7 +186,7 @@ fn _default_post_published() -> Option { pub mod post_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -281,10 +281,7 @@ where St::Content: post_state::IsUnset, { /// Set the `content` field (required) - pub fn content( - mut self, - value: impl Into, - ) -> PostBuilder> { + pub fn content(mut self, value: impl Into) -> PostBuilder> { self._fields.0 = Option::Some(value.into()); PostBuilder { _state: PhantomData, @@ -358,10 +355,7 @@ where St::Title: post_state::IsUnset, { /// Set the `title` field (required) - pub fn title( - mut self, - value: impl Into, - ) -> PostBuilder> { + pub fn title(mut self, value: impl Into) -> PostBuilder> { self._fields.5 = Option::Some(value.into()); PostBuilder { _state: PhantomData, @@ -420,10 +414,10 @@ where } fn lexicon_doc_com_crabdance_nandi_post() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("com.crabdance.nandi.post"), @@ -434,24 +428,20 @@ fn lexicon_doc_com_crabdance_nandi_post() -> LexiconDoc<'static> { LexUserType::Record(LexRecord { key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("title"), - SmolStr::new_static("content"), - SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("title"), + SmolStr::new_static("content"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("content"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "The main content of the blog post in markdown", - ), - ), + description: Some(CowStr::new_static( + "The main content of the blog post in markdown", + )), min_length: Some(1usize), max_length: Some(10000usize), ..Default::default() @@ -473,9 +463,9 @@ fn lexicon_doc_com_crabdance_nandi_post() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("summary"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Optional summary/excerpt of the post"), - ), + description: Some(CowStr::new_static( + "Optional summary/excerpt of the post", + )), max_length: Some(500usize), ..Default::default() }), @@ -483,9 +473,9 @@ fn lexicon_doc_com_crabdance_nandi_post() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("tags"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static("Tags for categorizing the post"), - ), + description: Some(CowStr::new_static( + "Tags for categorizing the post", + )), items: LexArrayItem::String(LexString { max_length: Some(50usize), ..Default::default() @@ -497,9 +487,9 @@ fn lexicon_doc_com_crabdance_nandi_post() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("title"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The title of the blog post"), - ), + description: Some(CowStr::new_static( + "The title of the blog post", + )), min_length: Some(1usize), max_length: Some(200usize), ..Default::default() @@ -523,4 +513,4 @@ fn lexicon_doc_com_crabdance_nandi_post() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_deckbelcher.rs b/crates/jacquard-api/src/com_deckbelcher.rs index 6b0336a0..3ac33dc8 100644 --- a/crates/jacquard-api/src/com_deckbelcher.rs +++ b/crates/jacquard-api/src/com_deckbelcher.rs @@ -11,7 +11,6 @@ pub mod deck; pub mod richtext; pub mod social; - #[allow(unused_imports)] use alloc::collections::BTreeMap; @@ -30,14 +29,17 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// Reference to a Magic: The Gathering card with printing and oracle identifiers. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct CardRef { /**Oracle card URI (oracle:) - for external indexing. -Derived from scryfallUri; on conflict, scryfallUri takes precedence.*/ + Derived from scryfallUri; on conflict, scryfallUri takes precedence.*/ pub oracle_uri: UriValue, ///Scryfall printing URI (scry:) - authoritative identifier pub scryfall_uri: UriValue, @@ -62,7 +64,7 @@ impl LexiconSchema for CardRef { pub mod card_ref_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -192,10 +194,10 @@ where } fn lexicon_doc_com_deckbelcher_defs() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("com.deckbelcher.defs"), @@ -251,4 +253,4 @@ fn lexicon_doc_com_deckbelcher_defs() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_deckbelcher/actor.rs b/crates/jacquard-api/src/com_deckbelcher/actor.rs index 534c9681..1cb60f21 100644 --- a/crates/jacquard-api/src/com_deckbelcher/actor.rs +++ b/crates/jacquard-api/src/com_deckbelcher/actor.rs @@ -3,4 +3,4 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. -pub mod profile; \ No newline at end of file +pub mod profile; diff --git a/crates/jacquard-api/src/com_deckbelcher/actor/profile.rs b/crates/jacquard-api/src/com_deckbelcher/actor/profile.rs index ad38399a..a639d23a 100644 --- a/crates/jacquard-api/src/com_deckbelcher/actor/profile.rs +++ b/crates/jacquard-api/src/com_deckbelcher/actor/profile.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::com_deckbelcher::richtext::Document; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::com_deckbelcher::richtext::Document; +use serde::{Deserialize, Serialize}; /// A DeckBelcher user profile. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -133,7 +133,7 @@ impl LexiconSchema for Profile { pub mod profile_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -259,10 +259,10 @@ where } fn lexicon_doc_com_deckbelcher_actor_profile() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("com.deckbelcher.actor.profile"), @@ -281,20 +281,16 @@ fn lexicon_doc_com_deckbelcher_actor_profile() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("bio"), LexObjectProperty::Ref(LexRef { - r#ref: CowStr::new_static( - "com.deckbelcher.richtext#document", - ), + r#ref: CowStr::new_static("com.deckbelcher.richtext#document"), ..Default::default() }), ); map.insert( SmolStr::new_static("createdAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Timestamp when the profile was created.", - ), - ), + description: Some(CowStr::new_static( + "Timestamp when the profile was created.", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -302,11 +298,9 @@ fn lexicon_doc_com_deckbelcher_actor_profile() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("pronouns"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Free-form pronouns text, can include brief explanation.", - ), - ), + description: Some(CowStr::new_static( + "Free-form pronouns text, can include brief explanation.", + )), max_length: Some(256usize), max_graphemes: Some(64usize), ..Default::default() @@ -323,4 +317,4 @@ fn lexicon_doc_com_deckbelcher_actor_profile() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_deckbelcher/collection.rs b/crates/jacquard-api/src/com_deckbelcher/collection.rs index b91fb2dc..bed1e2cf 100644 --- a/crates/jacquard-api/src/com_deckbelcher/collection.rs +++ b/crates/jacquard-api/src/com_deckbelcher/collection.rs @@ -3,4 +3,4 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. -pub mod list; \ No newline at end of file +pub mod list; diff --git a/crates/jacquard-api/src/com_deckbelcher/collection/list.rs b/crates/jacquard-api/src/com_deckbelcher/collection/list.rs index 885e22ec..01637d8b 100644 --- a/crates/jacquard-api/src/com_deckbelcher/collection/list.rs +++ b/crates/jacquard-api/src/com_deckbelcher/collection/list.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,17 +24,20 @@ use jacquard_derive::{IntoStatic, lexicon, open_union}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::com_atproto::repo::strong_ref::StrongRef; use crate::com_deckbelcher::CardRef; -use crate::com_deckbelcher::richtext::Document; use crate::com_deckbelcher::collection::list; +use crate::com_deckbelcher::richtext::Document; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; /// A card saved to the list. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct CardItem { ///Timestamp when this item was added to the list. pub added_at: Datetime, @@ -47,7 +50,10 @@ pub struct CardItem { /// A deck saved to the list. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DeckItem { ///Timestamp when this item was added to the list. pub added_at: Datetime, @@ -83,7 +89,6 @@ pub struct List { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -209,7 +214,7 @@ impl LexiconSchema for List { pub mod card_item_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -339,10 +344,10 @@ where } fn lexicon_doc_com_deckbelcher_collection_list() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("com.deckbelcher.collection.list"), @@ -352,20 +357,19 @@ fn lexicon_doc_com_deckbelcher_collection_list() -> LexiconDoc<'static> { SmolStr::new_static("cardItem"), LexUserType::Object(LexObject { description: Some(CowStr::new_static("A card saved to the list.")), - required: Some( - vec![SmolStr::new_static("ref"), SmolStr::new_static("addedAt")], - ), + required: Some(vec![ + SmolStr::new_static("ref"), + SmolStr::new_static("addedAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("addedAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Timestamp when this item was added to the list.", - ), - ), + description: Some(CowStr::new_static( + "Timestamp when this item was added to the list.", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -386,20 +390,19 @@ fn lexicon_doc_com_deckbelcher_collection_list() -> LexiconDoc<'static> { SmolStr::new_static("deckItem"), LexUserType::Object(LexObject { description: Some(CowStr::new_static("A deck saved to the list.")), - required: Some( - vec![SmolStr::new_static("ref"), SmolStr::new_static("addedAt")], - ), + required: Some(vec![ + SmolStr::new_static("ref"), + SmolStr::new_static("addedAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("addedAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Timestamp when this item was added to the list.", - ), - ), + description: Some(CowStr::new_static( + "Timestamp when this item was added to the list.", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -419,26 +422,23 @@ fn lexicon_doc_com_deckbelcher_collection_list() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static("A curated list of cards and/or decks."), - ), + description: Some(CowStr::new_static("A curated list of cards and/or decks.")), key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("name"), SmolStr::new_static("items"), - SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("name"), + SmolStr::new_static("items"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("createdAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Timestamp when the list was created."), - ), + description: Some(CowStr::new_static( + "Timestamp when the list was created.", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -446,9 +446,7 @@ fn lexicon_doc_com_deckbelcher_collection_list() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("description"), LexObjectProperty::Ref(LexRef { - r#ref: CowStr::new_static( - "com.deckbelcher.richtext#document", - ), + r#ref: CowStr::new_static("com.deckbelcher.richtext#document"), ..Default::default() }), ); @@ -459,7 +457,7 @@ fn lexicon_doc_com_deckbelcher_collection_list() -> LexiconDoc<'static> { items: LexArrayItem::Union(LexRefUnion { refs: vec![ CowStr::new_static("#cardItem"), - CowStr::new_static("#deckItem") + CowStr::new_static("#deckItem"), ], ..Default::default() }), @@ -478,11 +476,9 @@ fn lexicon_doc_com_deckbelcher_collection_list() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("updatedAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Timestamp when the list was last updated.", - ), - ), + description: Some(CowStr::new_static( + "Timestamp when the list was last updated.", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -502,7 +498,7 @@ fn lexicon_doc_com_deckbelcher_collection_list() -> LexiconDoc<'static> { pub mod deck_item_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -633,7 +629,7 @@ where pub mod list_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -777,10 +773,7 @@ where St::Name: list_state::IsUnset, { /// Set the `name` field (required) - pub fn name( - mut self, - value: impl Into, - ) -> ListBuilder> { + pub fn name(mut self, value: impl Into) -> ListBuilder> { self._fields.3 = Option::Some(value.into()); ListBuilder { _state: PhantomData, @@ -832,4 +825,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_deckbelcher/deck.rs b/crates/jacquard-api/src/com_deckbelcher/deck.rs index b91fb2dc..bed1e2cf 100644 --- a/crates/jacquard-api/src/com_deckbelcher/deck.rs +++ b/crates/jacquard-api/src/com_deckbelcher/deck.rs @@ -3,4 +3,4 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. -pub mod list; \ No newline at end of file +pub mod list; diff --git a/crates/jacquard-api/src/com_deckbelcher/deck/list.rs b/crates/jacquard-api/src/com_deckbelcher/deck/list.rs index d861ba35..bb3acda5 100644 --- a/crates/jacquard-api/src/com_deckbelcher/deck/list.rs +++ b/crates/jacquard-api/src/com_deckbelcher/deck/list.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,17 +24,20 @@ use jacquard_derive::{IntoStatic, lexicon, open_union}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::com_atproto::repo::strong_ref::StrongRef; use crate::com_deckbelcher::CardRef; -use crate::com_deckbelcher::richtext::Document; use crate::com_deckbelcher::deck::list; +use crate::com_deckbelcher::richtext::Document; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; /// A card entry in a decklist. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Card { ///Number of copies in the deck. pub quantity: i64, @@ -235,7 +238,6 @@ pub struct List { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -262,7 +264,10 @@ pub struct ListGetRecordOutput { /// Primer in a separate ATProto record. For use with any longform writing lexicon. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct PrimerRef { pub r#ref: StrongRef, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -272,7 +277,10 @@ pub struct PrimerRef { /// External primer content. Typically a URL, but any valid URI scheme. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct PrimerUri { pub uri: S, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -523,7 +531,7 @@ impl LexiconSchema for PrimerUri { pub mod card_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -582,7 +590,12 @@ pub mod card_state { /// Builder for constructing an instance of this type. pub struct CardBuilder { _state: PhantomData St>, - _fields: (Option, Option>, Option>, Option>), + _fields: ( + Option, + Option>, + Option>, + Option>, + ), _type: PhantomData S>, } @@ -629,10 +642,7 @@ where St::Ref: card_state::IsUnset, { /// Set the `ref` field (required) - pub fn r#ref( - mut self, - value: impl Into>, - ) -> CardBuilder> { + pub fn r#ref(mut self, value: impl Into>) -> CardBuilder> { self._fields.1 = Option::Some(value.into()); CardBuilder { _state: PhantomData, @@ -704,10 +714,10 @@ where } fn lexicon_doc_com_deckbelcher_deck_list() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("com.deckbelcher.deck.list"), @@ -784,26 +794,23 @@ fn lexicon_doc_com_deckbelcher_deck_list() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static("A Magic: The Gathering decklist."), - ), + description: Some(CowStr::new_static("A Magic: The Gathering decklist.")), key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("name"), SmolStr::new_static("cards"), - SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("name"), + SmolStr::new_static("cards"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("cards"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static("Array of cards in the decklist."), - ), + description: Some(CowStr::new_static( + "Array of cards in the decklist.", + )), items: LexArrayItem::Ref(LexRef { r#ref: CowStr::new_static("#card"), ..Default::default() @@ -814,11 +821,9 @@ fn lexicon_doc_com_deckbelcher_deck_list() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("createdAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Timestamp when the decklist was created.", - ), - ), + description: Some(CowStr::new_static( + "Timestamp when the decklist was created.", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -833,9 +838,7 @@ fn lexicon_doc_com_deckbelcher_deck_list() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("name"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Name of the decklist."), - ), + description: Some(CowStr::new_static("Name of the decklist.")), max_length: Some(1280usize), max_graphemes: Some(128usize), ..Default::default() @@ -844,15 +847,13 @@ fn lexicon_doc_com_deckbelcher_deck_list() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("primer"), LexObjectProperty::Union(LexRefUnion { - description: Some( - CowStr::new_static( - "Deck primer with strategy, combos, and card choices.", - ), - ), + description: Some(CowStr::new_static( + "Deck primer with strategy, combos, and card choices.", + )), refs: vec![ CowStr::new_static("com.deckbelcher.richtext#document"), CowStr::new_static("#primerUri"), - CowStr::new_static("#primerRef") + CowStr::new_static("#primerRef"), ], ..Default::default() }), @@ -860,11 +861,9 @@ fn lexicon_doc_com_deckbelcher_deck_list() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("updatedAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Timestamp when the decklist was last updated.", - ), - ), + description: Some(CowStr::new_static( + "Timestamp when the decklist was last updated.", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -903,11 +902,9 @@ fn lexicon_doc_com_deckbelcher_deck_list() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("primerUri"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "External primer content. Typically a URL, but any valid URI scheme.", - ), - ), + description: Some(CowStr::new_static( + "External primer content. Typically a URL, but any valid URI scheme.", + )), required: Some(vec![SmolStr::new_static("uri")]), properties: { #[allow(unused_mut)] @@ -946,7 +943,7 @@ fn lexicon_doc_com_deckbelcher_deck_list() -> LexiconDoc<'static> { pub mod list_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -1091,10 +1088,7 @@ where St::Name: list_state::IsUnset, { /// Set the `name` field (required) - pub fn name( - mut self, - value: impl Into, - ) -> ListBuilder> { + pub fn name(mut self, value: impl Into) -> ListBuilder> { self._fields.3 = Option::Some(value.into()); ListBuilder { _state: PhantomData, @@ -1165,7 +1159,7 @@ where pub mod primer_ref_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -1252,13 +1246,10 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> PrimerRef { + pub fn build_with_data(self, extra_data: BTreeMap>) -> PrimerRef { PrimerRef { r#ref: self._fields.0.unwrap(), extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_deckbelcher/richtext.rs b/crates/jacquard-api/src/com_deckbelcher/richtext.rs index 8ec1778e..afc2061a 100644 --- a/crates/jacquard-api/src/com_deckbelcher/richtext.rs +++ b/crates/jacquard-api/src/com_deckbelcher/richtext.rs @@ -7,13 +7,12 @@ pub mod facet; - #[allow(unused_imports)] use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -23,15 +22,18 @@ use jacquard_derive::{IntoStatic, open_union}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::com_deckbelcher::richtext; +use crate::com_deckbelcher::richtext::facet::Facet; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::com_deckbelcher::richtext::facet::Facet; -use crate::com_deckbelcher::richtext; +use serde::{Deserialize, Serialize}; /// An unordered (bullet) list. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct BulletListBlock { ///The list items. pub items: Vec>, @@ -42,7 +44,10 @@ pub struct BulletListBlock { /// A code block with optional language hint. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct CodeBlock { ///Optional language identifier for syntax highlighting. #[serde(skip_serializing_if = "Option::is_none")] @@ -57,7 +62,10 @@ pub struct CodeBlock { Used for primers and other long-form content.*/ #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Document { ///Array of blocks (paragraphs, headings, etc). pub content: Vec>, @@ -65,7 +73,6 @@ pub struct Document { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -87,7 +94,10 @@ pub enum DocumentContentItem { /// A heading block with level, text, and optional facets. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct HeadingBlock { ///Annotations of text (formatting, mentions, links, etc). #[serde(skip_serializing_if = "Option::is_none")] @@ -104,7 +114,10 @@ pub struct HeadingBlock { /// A horizontal rule (thematic break). #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct HorizontalRuleBlock { #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, @@ -113,7 +126,10 @@ pub struct HorizontalRuleBlock { /// A single list item with text, optional facets, and optional sublist. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ListItem { ///Annotations of text (formatting, mentions, links, etc). #[serde(skip_serializing_if = "Option::is_none")] @@ -128,7 +144,6 @@ pub struct ListItem { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -143,7 +158,10 @@ pub enum ListItemSublist { Used for descriptions and other short formatted text.*/ #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Richtext { ///Annotations of text (mentions, URLs, hashtags, formatting, etc). #[serde(skip_serializing_if = "Option::is_none")] @@ -158,7 +176,10 @@ pub struct Richtext { /// An ordered (numbered) list. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct OrderedListBlock { ///The list items. pub items: Vec>, @@ -172,7 +193,10 @@ pub struct OrderedListBlock { /// A paragraph block with text and optional facets. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ParagraphBlock { ///Annotations of text (formatting, mentions, links, etc). #[serde(skip_serializing_if = "Option::is_none")] @@ -450,7 +474,7 @@ impl LexiconSchema for ParagraphBlock { pub mod bullet_list_block_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -537,10 +561,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> BulletListBlock { + pub fn build_with_data(self, extra_data: BTreeMap>) -> BulletListBlock { BulletListBlock { items: self._fields.0.unwrap(), extra_data: Some(extra_data), @@ -549,10 +570,10 @@ where } fn lexicon_doc_com_deckbelcher_richtext() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("com.deckbelcher.richtext"), @@ -585,9 +606,9 @@ fn lexicon_doc_com_deckbelcher_richtext() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("codeBlock"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("A code block with optional language hint."), - ), + description: Some(CowStr::new_static( + "A code block with optional language hint.", + )), required: Some(vec![SmolStr::new_static("text")]), properties: { #[allow(unused_mut)] @@ -595,11 +616,9 @@ fn lexicon_doc_com_deckbelcher_richtext() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("language"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Optional language identifier for syntax highlighting.", - ), - ), + description: Some(CowStr::new_static( + "Optional language identifier for syntax highlighting.", + )), max_length: Some(50usize), ..Default::default() }), @@ -607,11 +626,9 @@ fn lexicon_doc_com_deckbelcher_richtext() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("text"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "The code content (plain text, no facets).", - ), - ), + description: Some(CowStr::new_static( + "The code content (plain text, no facets).", + )), max_length: Some(100000usize), ..Default::default() }), @@ -663,11 +680,9 @@ fn lexicon_doc_com_deckbelcher_richtext() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("headingBlock"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "A heading block with level, text, and optional facets.", - ), - ), + description: Some(CowStr::new_static( + "A heading block with level, text, and optional facets.", + )), required: Some(vec![SmolStr::new_static("level")]), properties: { #[allow(unused_mut)] @@ -675,11 +690,9 @@ fn lexicon_doc_com_deckbelcher_richtext() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("facets"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static( - "Annotations of text (formatting, mentions, links, etc).", - ), - ), + description: Some(CowStr::new_static( + "Annotations of text (formatting, mentions, links, etc).", + )), items: LexArrayItem::Ref(LexRef { r#ref: CowStr::new_static("com.deckbelcher.richtext.facet"), ..Default::default() @@ -698,11 +711,9 @@ fn lexicon_doc_com_deckbelcher_richtext() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("text"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "The plain text content (no markdown symbols).", - ), - ), + description: Some(CowStr::new_static( + "The plain text content (no markdown symbols).", + )), max_length: Some(10000usize), max_graphemes: Some(1000usize), ..Default::default() @@ -716,9 +727,7 @@ fn lexicon_doc_com_deckbelcher_richtext() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("horizontalRuleBlock"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("A horizontal rule (thematic break)."), - ), + description: Some(CowStr::new_static("A horizontal rule (thematic break).")), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -730,22 +739,18 @@ fn lexicon_doc_com_deckbelcher_richtext() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("listItem"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "A single list item with text, optional facets, and optional sublist.", - ), - ), + description: Some(CowStr::new_static( + "A single list item with text, optional facets, and optional sublist.", + )), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("facets"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static( - "Annotations of text (formatting, mentions, links, etc).", - ), - ), + description: Some(CowStr::new_static( + "Annotations of text (formatting, mentions, links, etc).", + )), items: LexArrayItem::Ref(LexRef { r#ref: CowStr::new_static("com.deckbelcher.richtext.facet"), ..Default::default() @@ -756,14 +761,12 @@ fn lexicon_doc_com_deckbelcher_richtext() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("sublist"), LexObjectProperty::Union(LexRefUnion { - description: Some( - CowStr::new_static( - "Optional nested sublist (bullet or ordered).", - ), - ), + description: Some(CowStr::new_static( + "Optional nested sublist (bullet or ordered).", + )), refs: vec![ CowStr::new_static("#bulletListBlock"), - CowStr::new_static("#orderedListBlock") + CowStr::new_static("#orderedListBlock"), ], ..Default::default() }), @@ -771,11 +774,9 @@ fn lexicon_doc_com_deckbelcher_richtext() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("text"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "The plain text content (no markdown symbols).", - ), - ), + description: Some(CowStr::new_static( + "The plain text content (no markdown symbols).", + )), max_length: Some(100000usize), max_graphemes: Some(10000usize), ..Default::default() @@ -863,22 +864,18 @@ fn lexicon_doc_com_deckbelcher_richtext() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("paragraphBlock"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "A paragraph block with text and optional facets.", - ), - ), + description: Some(CowStr::new_static( + "A paragraph block with text and optional facets.", + )), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("facets"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static( - "Annotations of text (formatting, mentions, links, etc).", - ), - ), + description: Some(CowStr::new_static( + "Annotations of text (formatting, mentions, links, etc).", + )), items: LexArrayItem::Ref(LexRef { r#ref: CowStr::new_static("com.deckbelcher.richtext.facet"), ..Default::default() @@ -889,11 +886,9 @@ fn lexicon_doc_com_deckbelcher_richtext() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("text"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "The plain text content (no markdown symbols).", - ), - ), + description: Some(CowStr::new_static( + "The plain text content (no markdown symbols).", + )), max_length: Some(500000usize), max_graphemes: Some(50000usize), ..Default::default() @@ -912,7 +907,7 @@ fn lexicon_doc_com_deckbelcher_richtext() -> LexiconDoc<'static> { pub mod document_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -1009,7 +1004,7 @@ where pub mod heading_block_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -1124,10 +1119,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> HeadingBlock { + pub fn build_with_data(self, extra_data: BTreeMap>) -> HeadingBlock { HeadingBlock { facets: self._fields.0, level: self._fields.1.unwrap(), @@ -1139,7 +1131,7 @@ where pub mod ordered_list_block_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -1240,14 +1232,11 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> OrderedListBlock { + pub fn build_with_data(self, extra_data: BTreeMap>) -> OrderedListBlock { OrderedListBlock { items: self._fields.0.unwrap(), start: self._fields.1, extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/com_deckbelcher/richtext/facet.rs b/crates/jacquard-api/src/com_deckbelcher/richtext/facet.rs index 90542759..c6677a6e 100644 --- a/crates/jacquard-api/src/com_deckbelcher/richtext/facet.rs +++ b/crates/jacquard-api/src/com_deckbelcher/richtext/facet.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -21,16 +21,19 @@ use jacquard_derive::{IntoStatic, open_union}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::com_deckbelcher; use crate::com_deckbelcher::richtext::facet; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; /** Facet feature for bold text formatting. Typically rendered as `` in HTML.*/ #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Bold { #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, @@ -41,7 +44,10 @@ Start index is inclusive, end index is exclusive. Indices are zero-indexed, counting bytes of the UTF-8 encoded text.*/ #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ByteSlice { pub byte_end: i64, pub byte_start: i64, @@ -54,7 +60,10 @@ Links to a Magic: The Gathering card. The text is usually the card name.*/ #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct CardRef { ///Reference to the card (scryfall printing + oracle card). pub r#ref: com_deckbelcher::CardRef, @@ -66,7 +75,10 @@ pub struct CardRef { Typically rendered as `` in HTML.*/ #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Code { #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, @@ -76,7 +88,10 @@ pub struct Code { Typically rendered as `
` in HTML.*/
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct CodeBlock {
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
@@ -86,7 +101,10 @@ pub struct CodeBlock {
 Typically rendered as `` in HTML.*/
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Italic {
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
@@ -96,7 +114,10 @@ pub struct Italic {
 The text URL may have been simplified or truncated, but the facet reference should be a complete URL.*/
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Link {
     pub uri: UriValue,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
@@ -107,7 +128,10 @@ pub struct Link {
 Extends Bluesky's facet system to support DeckBelcher-specific features.*/
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Facet {
     pub features: Vec>,
     pub index: facet::ByteSlice,
@@ -115,7 +139,6 @@ pub struct Facet {
     pub extra_data: Option>>,
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -142,7 +165,10 @@ pub enum FacetFeaturesItem {
 The text is usually a handle, including an `@` prefix, but the facet reference is a DID.*/
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Mention {
     pub did: Did,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
@@ -153,7 +179,10 @@ pub struct Mention {
 The text usually includes a '#' prefix, but the facet reference should not.*/
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Tag {
     pub tag: S,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
@@ -355,10 +384,10 @@ impl LexiconSchema for Tag {
 }
 
 fn lexicon_doc_com_deckbelcher_richtext_facet() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("com.deckbelcher.richtext.facet"),
@@ -443,11 +472,9 @@ fn lexicon_doc_com_deckbelcher_richtext_facet() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("code"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static(
-                            "Facet feature for inline code.\nTypically rendered as `` in HTML.",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Facet feature for inline code.\nTypically rendered as `` in HTML.",
+                    )),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -613,7 +640,7 @@ fn lexicon_doc_com_deckbelcher_richtext_facet() -> LexiconDoc<'static> {
 
 pub mod byte_slice_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -733,10 +760,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> ByteSlice {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> ByteSlice {
         ByteSlice {
             byte_end: self._fields.0.unwrap(),
             byte_start: self._fields.1.unwrap(),
@@ -747,7 +771,7 @@ where
 
 pub mod card_ref_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -844,7 +868,7 @@ where
 
 pub mod link_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -905,10 +929,7 @@ where
     St::Uri: link_state::IsUnset,
 {
     /// Set the `uri` field (required)
-    pub fn uri(
-        mut self,
-        value: impl Into>,
-    ) -> LinkBuilder> {
+    pub fn uri(mut self, value: impl Into>) -> LinkBuilder> {
         self._fields.0 = Option::Some(value.into());
         LinkBuilder {
             _state: PhantomData,
@@ -941,7 +962,7 @@ where
 
 pub mod facet_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -986,7 +1007,10 @@ pub mod facet_state {
 /// Builder for constructing an instance of this type.
 pub struct FacetBuilder {
     _state: PhantomData St>,
-    _fields: (Option>>, Option>),
+    _fields: (
+        Option>>,
+        Option>,
+    ),
     _type: PhantomData S>,
 }
 
@@ -1072,7 +1096,7 @@ where
 
 pub mod mention_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1133,10 +1157,7 @@ where
     St::Did: mention_state::IsUnset,
 {
     /// Set the `did` field (required)
-    pub fn did(
-        mut self,
-        value: impl Into>,
-    ) -> MentionBuilder> {
+    pub fn did(mut self, value: impl Into>) -> MentionBuilder> {
         self._fields.0 = Option::Some(value.into());
         MentionBuilder {
             _state: PhantomData,
@@ -1165,4 +1186,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/com_deckbelcher/social.rs b/crates/jacquard-api/src/com_deckbelcher/social.rs
index 1f7edba9..102bdd05 100644
--- a/crates/jacquard-api/src/com_deckbelcher/social.rs
+++ b/crates/jacquard-api/src/com_deckbelcher/social.rs
@@ -5,4 +5,4 @@
 
 pub mod comment;
 pub mod like;
-pub mod reply;
\ No newline at end of file
+pub mod reply;
diff --git a/crates/jacquard-api/src/com_deckbelcher/social/comment.rs b/crates/jacquard-api/src/com_deckbelcher/social/comment.rs
index 0df5eda7..cf756804 100644
--- a/crates/jacquard-api/src/com_deckbelcher/social/comment.rs
+++ b/crates/jacquard-api/src/com_deckbelcher/social/comment.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,17 +24,20 @@ use jacquard_derive::{IntoStatic, lexicon, open_union};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::com_atproto::repo::strong_ref::StrongRef;
 use crate::com_deckbelcher::CardRef;
 use crate::com_deckbelcher::richtext::Document;
 use crate::com_deckbelcher::social::comment;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// Subject: a card (global comment on the card itself).
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct CardSubject {
     pub r#ref: CardRef,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
@@ -44,7 +47,10 @@ pub struct CardSubject {
 /// Target: a card (in a deck or collection).
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct CardTarget {
     pub r#ref: CardRef,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
@@ -54,7 +60,10 @@ pub struct CardTarget {
 /// Target: a deck (in a collection).
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct DeckTarget {
     pub r#ref: StrongRef,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
@@ -85,7 +94,6 @@ pub struct Comment {
     pub extra_data: Option>>,
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -96,7 +104,6 @@ pub enum CommentSubject {
     RecordSubject(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -125,7 +132,10 @@ pub struct CommentGetRecordOutput {
 /// Subject: an ATProto record (deck, collection).
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct RecordSubject {
     pub r#ref: StrongRef,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
@@ -135,7 +145,10 @@ pub struct RecordSubject {
 /// Target: a deck section (mainboard, sideboard, etc).
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct SectionTarget {
     pub section: S,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
@@ -145,7 +158,10 @@ pub struct SectionTarget {
 /// Target: a tag package (ramp, removal, wincons, etc).
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct TagTarget {
     pub tag: S,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
@@ -340,7 +356,7 @@ impl LexiconSchema for TagTarget {
 
 pub mod card_subject_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -427,10 +443,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> CardSubject {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> CardSubject {
         CardSubject {
             r#ref: self._fields.0.unwrap(),
             extra_data: Some(extra_data),
@@ -439,10 +452,10 @@ where
 }
 
 fn lexicon_doc_com_deckbelcher_social_comment() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("com.deckbelcher.social.comment"),
@@ -451,11 +464,9 @@ fn lexicon_doc_com_deckbelcher_social_comment() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("cardSubject"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static(
-                            "Subject: a card (global comment on the card itself).",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Subject: a card (global comment on the card itself).",
+                    )),
                     required: Some(vec![SmolStr::new_static("ref")]),
                     properties: {
                         #[allow(unused_mut)]
@@ -475,9 +486,9 @@ fn lexicon_doc_com_deckbelcher_social_comment() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("cardTarget"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("Target: a card (in a deck or collection)."),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Target: a card (in a deck or collection).",
+                    )),
                     required: Some(vec![SmolStr::new_static("ref")]),
                     properties: {
                         #[allow(unused_mut)]
@@ -497,9 +508,7 @@ fn lexicon_doc_com_deckbelcher_social_comment() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("deckTarget"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("Target: a deck (in a collection)."),
-                    ),
+                    description: Some(CowStr::new_static("Target: a deck (in a collection).")),
                     required: Some(vec![SmolStr::new_static("ref")]),
                     properties: {
                         #[allow(unused_mut)]
@@ -599,11 +608,9 @@ fn lexicon_doc_com_deckbelcher_social_comment() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("recordSubject"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static(
-                            "Subject: an ATProto record (deck, collection).",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Subject: an ATProto record (deck, collection).",
+                    )),
                     required: Some(vec![SmolStr::new_static("ref")]),
                     properties: {
                         #[allow(unused_mut)]
@@ -623,11 +630,9 @@ fn lexicon_doc_com_deckbelcher_social_comment() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("sectionTarget"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static(
-                            "Target: a deck section (mainboard, sideboard, etc).",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Target: a deck section (mainboard, sideboard, etc).",
+                    )),
                     required: Some(vec![SmolStr::new_static("section")]),
                     properties: {
                         #[allow(unused_mut)]
@@ -648,11 +653,9 @@ fn lexicon_doc_com_deckbelcher_social_comment() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("tagTarget"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static(
-                            "Target: a tag package (ramp, removal, wincons, etc).",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Target: a tag package (ramp, removal, wincons, etc).",
+                    )),
                     required: Some(vec![SmolStr::new_static("tag")]),
                     properties: {
                         #[allow(unused_mut)]
@@ -678,7 +681,7 @@ fn lexicon_doc_com_deckbelcher_social_comment() -> LexiconDoc<'static> {
 
 pub mod card_target_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -765,10 +768,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> CardTarget {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> CardTarget {
         CardTarget {
             r#ref: self._fields.0.unwrap(),
             extra_data: Some(extra_data),
@@ -778,7 +778,7 @@ where
 
 pub mod deck_target_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -865,10 +865,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> DeckTarget {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> DeckTarget {
         DeckTarget {
             r#ref: self._fields.0.unwrap(),
             extra_data: Some(extra_data),
@@ -878,7 +875,7 @@ where
 
 pub mod comment_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1081,7 +1078,7 @@ where
 
 pub mod record_subject_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1168,13 +1165,10 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> RecordSubject {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> RecordSubject {
         RecordSubject {
             r#ref: self._fields.0.unwrap(),
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/com_deckbelcher/social/like.rs b/crates/jacquard-api/src/com_deckbelcher/social/like.rs
index daf0ba9b..831ca494 100644
--- a/crates/jacquard-api/src/com_deckbelcher/social/like.rs
+++ b/crates/jacquard-api/src/com_deckbelcher/social/like.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,16 +24,19 @@ use jacquard_derive::{IntoStatic, lexicon, open_union};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::com_atproto::repo::strong_ref::StrongRef;
 use crate::com_deckbelcher::CardRef;
 use crate::com_deckbelcher::social::like;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// Subject for liking a card.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct CardSubject {
     ///Reference to the card.
     pub r#ref: CardRef,
@@ -59,7 +62,6 @@ pub struct Like {
     pub extra_data: Option>>,
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -84,7 +86,10 @@ pub struct LikeGetRecordOutput {
 /// Subject for liking an ATProto record (deck, reply, etc).
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct RecordSubject {
     ///Reference to the record.
     pub r#ref: StrongRef,
@@ -172,7 +177,7 @@ impl LexiconSchema for RecordSubject {
 
 pub mod card_subject_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -259,10 +264,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> CardSubject {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> CardSubject {
         CardSubject {
             r#ref: self._fields.0.unwrap(),
             extra_data: Some(extra_data),
@@ -271,10 +273,10 @@ where
 }
 
 fn lexicon_doc_com_deckbelcher_social_like() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("com.deckbelcher.social.like"),
@@ -303,28 +305,24 @@ fn lexicon_doc_com_deckbelcher_social_like() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static(
-                            "Record declaring a 'like' of a piece of content (card, deck, reply, etc).",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Record declaring a 'like' of a piece of content (card, deck, reply, etc).",
+                    )),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("subject"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("subject"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
                             map.insert(
                                 SmolStr::new_static("createdAt"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("Timestamp when the like was created."),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Timestamp when the like was created.",
+                                    )),
                                     format: Some(LexStringFormat::Datetime),
                                     ..Default::default()
                                 }),
@@ -332,12 +330,12 @@ fn lexicon_doc_com_deckbelcher_social_like() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("subject"),
                                 LexObjectProperty::Union(LexRefUnion {
-                                    description: Some(
-                                        CowStr::new_static("Reference to the content being liked."),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Reference to the content being liked.",
+                                    )),
                                     refs: vec![
                                         CowStr::new_static("#cardSubject"),
-                                        CowStr::new_static("#recordSubject")
+                                        CowStr::new_static("#recordSubject"),
                                     ],
                                     ..Default::default()
                                 }),
@@ -352,11 +350,9 @@ fn lexicon_doc_com_deckbelcher_social_like() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("recordSubject"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static(
-                            "Subject for liking an ATProto record (deck, reply, etc).",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Subject for liking an ATProto record (deck, reply, etc).",
+                    )),
                     required: Some(vec![SmolStr::new_static("ref")]),
                     properties: {
                         #[allow(unused_mut)]
@@ -381,7 +377,7 @@ fn lexicon_doc_com_deckbelcher_social_like() -> LexiconDoc<'static> {
 
 pub mod like_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -512,7 +508,7 @@ where
 
 pub mod record_subject_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -599,13 +595,10 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> RecordSubject {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> RecordSubject {
         RecordSubject {
             r#ref: self._fields.0.unwrap(),
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/com_deckbelcher/social/reply.rs b/crates/jacquard-api/src/com_deckbelcher/social/reply.rs
index 63348cff..0962705a 100644
--- a/crates/jacquard-api/src/com_deckbelcher/social/reply.rs
+++ b/crates/jacquard-api/src/com_deckbelcher/social/reply.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,11 +24,11 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::com_atproto::repo::strong_ref::StrongRef;
 use crate::com_deckbelcher::richtext::Document;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// Reply to a comment or another reply.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -113,7 +113,7 @@ impl LexiconSchema for Reply {
 
 pub mod reply_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -338,10 +338,10 @@ where
 }
 
 fn lexicon_doc_com_deckbelcher_social_reply() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("com.deckbelcher.social.reply"),
@@ -350,27 +350,22 @@ fn lexicon_doc_com_deckbelcher_social_reply() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static("Reply to a comment or another reply."),
-                    ),
+                    description: Some(CowStr::new_static("Reply to a comment or another reply.")),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("parent"), SmolStr::new_static("root"),
-                                SmolStr::new_static("content"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("parent"),
+                            SmolStr::new_static("root"),
+                            SmolStr::new_static("content"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
                             map.insert(
                                 SmolStr::new_static("content"),
                                 LexObjectProperty::Ref(LexRef {
-                                    r#ref: CowStr::new_static(
-                                        "com.deckbelcher.richtext#document",
-                                    ),
+                                    r#ref: CowStr::new_static("com.deckbelcher.richtext#document"),
                                     ..Default::default()
                                 }),
                             );
@@ -413,4 +408,4 @@ fn lexicon_doc_com_deckbelcher_social_reply() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/com_germnetwork.rs b/crates/jacquard-api/src/com_germnetwork.rs
index d955e255..b9853b34 100644
--- a/crates/jacquard-api/src/com_germnetwork.rs
+++ b/crates/jacquard-api/src/com_germnetwork.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod declaration;
\ No newline at end of file
+pub mod declaration;
diff --git a/crates/jacquard-api/src/com_germnetwork/declaration.rs b/crates/jacquard-api/src/com_germnetwork/declaration.rs
index a6439946..296a49b3 100644
--- a/crates/jacquard-api/src/com_germnetwork/declaration.rs
+++ b/crates/jacquard-api/src/com_germnetwork/declaration.rs
@@ -10,8 +10,8 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::bytes::Bytes;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -25,10 +25,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::com_germnetwork::declaration;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::com_germnetwork::declaration;
+use serde::{Deserialize, Serialize};
 /// A declaration of a Germ Network account
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -69,9 +69,11 @@ pub struct DeclarationGetRecordOutput {
     pub value: Declaration,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct MessageMe {
     ///A URL to present to an account that does not have its own com.germnetwork.declaration record, must have an empty fragment component, where the app should fill in the fragment component with the DIDs of the two accounts who wish to message each other
     pub message_me_url: UriValue,
@@ -159,9 +161,7 @@ where
             MessageMeShowButtonTo::None => MessageMeShowButtonTo::None,
             MessageMeShowButtonTo::UsersIFollow => MessageMeShowButtonTo::UsersIFollow,
             MessageMeShowButtonTo::Everyone => MessageMeShowButtonTo::Everyone,
-            MessageMeShowButtonTo::Other(v) => {
-                MessageMeShowButtonTo::Other(v.into_static())
-            }
+            MessageMeShowButtonTo::Other(v) => MessageMeShowButtonTo::Other(v.into_static()),
         }
     }
 }
@@ -307,7 +307,7 @@ impl LexiconSchema for MessageMe {
 
 pub mod declaration_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -427,10 +427,7 @@ impl DeclarationBuilder {
 
 impl DeclarationBuilder {
     /// Set the `messageMe` field (optional)
-    pub fn message_me(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn message_me(mut self, value: impl Into>>) -> Self {
         self._fields.3 = value.into();
         self
     }
@@ -478,10 +475,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> Declaration {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> Declaration {
         Declaration {
             continuity_proofs: self._fields.0,
             current_key: self._fields.1.unwrap(),
@@ -494,10 +488,10 @@ where
 }
 
 fn lexicon_doc_com_germnetwork_declaration() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("com.germnetwork.declaration"),
@@ -622,7 +616,7 @@ fn lexicon_doc_com_germnetwork_declaration() -> LexiconDoc<'static> {
 
 pub mod message_me_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -742,14 +736,11 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> MessageMe {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> MessageMe {
         MessageMe {
             message_me_url: self._fields.0.unwrap(),
             show_button_to: self._fields.1.unwrap(),
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/com_kipclip.rs b/crates/jacquard-api/src/com_kipclip.rs
index ed918d70..5be2ae27 100644
--- a/crates/jacquard-api/src/com_kipclip.rs
+++ b/crates/jacquard-api/src/com_kipclip.rs
@@ -4,4 +4,4 @@
 // Any manual changes will be overwritten on the next regeneration.
 
 pub mod annotation;
-pub mod tag;
\ No newline at end of file
+pub mod tag;
diff --git a/crates/jacquard-api/src/com_kipclip/annotation.rs b/crates/jacquard-api/src/com_kipclip/annotation.rs
index ead305d1..47ff0888 100644
--- a/crates/jacquard-api/src/com_kipclip/annotation.rs
+++ b/crates/jacquard-api/src/com_kipclip/annotation.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// Enrichment data and optional user note for a bookmark
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -146,7 +146,7 @@ impl LexiconSchema for Annotation {
 
 pub mod annotation_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -344,10 +344,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> Annotation {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> Annotation {
         Annotation {
             created_at: self._fields.0.unwrap(),
             description: self._fields.1,
@@ -362,10 +359,10 @@ where
 }
 
 fn lexicon_doc_com_kipclip_annotation() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("com.kipclip.annotation"),
@@ -374,19 +371,15 @@ fn lexicon_doc_com_kipclip_annotation() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static(
-                            "Enrichment data and optional user note for a bookmark",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Enrichment data and optional user note for a bookmark",
+                    )),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("subject"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("subject"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -421,9 +414,9 @@ fn lexicon_doc_com_kipclip_annotation() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("note"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("User note for this bookmark"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "User note for this bookmark",
+                                    )),
                                     max_length: Some(10000usize),
                                     ..Default::default()
                                 }),
@@ -431,9 +424,9 @@ fn lexicon_doc_com_kipclip_annotation() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("subject"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("AT URI of the bookmark this annotates"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "AT URI of the bookmark this annotates",
+                                    )),
                                     format: Some(LexStringFormat::AtUri),
                                     ..Default::default()
                                 }),
@@ -456,4 +449,4 @@ fn lexicon_doc_com_kipclip_annotation() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/com_kipclip/tag.rs b/crates/jacquard-api/src/com_kipclip/tag.rs
index f9d52b20..89c6eca4 100644
--- a/crates/jacquard-api/src/com_kipclip/tag.rs
+++ b/crates/jacquard-api/src/com_kipclip/tag.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// A user-defined tag for organizing bookmarks
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -117,7 +117,7 @@ impl LexiconSchema for Tag {
 
 pub mod tag_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -209,10 +209,7 @@ where
     St::Value: tag_state::IsUnset,
 {
     /// Set the `value` field (required)
-    pub fn value(
-        mut self,
-        value: impl Into,
-    ) -> TagBuilder> {
+    pub fn value(mut self, value: impl Into) -> TagBuilder> {
         self._fields.1 = Option::Some(value.into());
         TagBuilder {
             _state: PhantomData,
@@ -247,10 +244,10 @@ where
 }
 
 fn lexicon_doc_com_kipclip_tag() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("com.kipclip.tag"),
@@ -259,26 +256,24 @@ fn lexicon_doc_com_kipclip_tag() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static("A user-defined tag for organizing bookmarks"),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "A user-defined tag for organizing bookmarks",
+                    )),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("value"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("value"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
                             map.insert(
                                 SmolStr::new_static("createdAt"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("Timestamp when tag was created"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Timestamp when tag was created",
+                                    )),
                                     format: Some(LexStringFormat::Datetime),
                                     ..Default::default()
                                 }),
@@ -302,4 +297,4 @@ fn lexicon_doc_com_kipclip_tag() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/com_shinolabs.rs b/crates/jacquard-api/src/com_shinolabs.rs
index b5ba36c6..9e5ee4db 100644
--- a/crates/jacquard-api/src/com_shinolabs.rs
+++ b/crates/jacquard-api/src/com_shinolabs.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod pinksea;
\ No newline at end of file
+pub mod pinksea;
diff --git a/crates/jacquard-api/src/com_shinolabs/pinksea.rs b/crates/jacquard-api/src/com_shinolabs/pinksea.rs
index e5cb2200..abe031df 100644
--- a/crates/jacquard-api/src/com_shinolabs/pinksea.rs
+++ b/crates/jacquard-api/src/com_shinolabs/pinksea.rs
@@ -13,4 +13,4 @@ pub mod get_parent_for_reply;
 pub mod get_recent;
 pub mod get_tag_feed;
 pub mod oekaki;
-pub mod profile;
\ No newline at end of file
+pub mod profile;
diff --git a/crates/jacquard-api/src/com_shinolabs/pinksea/app_view_defs.rs b/crates/jacquard-api/src/com_shinolabs/pinksea/app_view_defs.rs
index eb849552..3d73ef2b 100644
--- a/crates/jacquard-api/src/com_shinolabs/pinksea/app_view_defs.rs
+++ b/crates/jacquard-api/src/com_shinolabs/pinksea/app_view_defs.rs
@@ -10,25 +10,28 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
 use jacquard_common::deps::smol_str::SmolStr;
-use jacquard_common::types::string::{Did, Handle, AtUri, Cid, Datetime, UriValue};
+use jacquard_common::types::string::{AtUri, Cid, Datetime, Did, Handle, UriValue};
 use jacquard_common::types::value::Data;
 use jacquard_derive::IntoStatic;
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::com_shinolabs::pinksea::app_view_defs;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::com_shinolabs::pinksea::app_view_defs;
+use serde::{Deserialize, Serialize};
 /// An author for an oekaki post
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Author {
     ///The DID of the author
     pub did: Did,
@@ -41,7 +44,10 @@ pub struct Author {
 /// A hydrated oekaki post returned from the PinkSea app view.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct HydratedOekaki {
     ///Alt text description of the image, for accessibility.
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -67,7 +73,10 @@ pub struct HydratedOekaki {
 /// A tombstone for a missing oekaki.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct OekakiTombstone {
     ///The AT uri of the former oekaki.
     pub former_at: AtUri,
@@ -132,7 +141,7 @@ impl LexiconSchema for OekakiTombstone {
 
 pub mod author_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -205,10 +214,7 @@ where
     St::Did: author_state::IsUnset,
 {
     /// Set the `did` field (required)
-    pub fn did(
-        mut self,
-        value: impl Into>,
-    ) -> AuthorBuilder> {
+    pub fn did(mut self, value: impl Into>) -> AuthorBuilder> {
         self._fields.0 = Option::Some(value.into());
         AuthorBuilder {
             _state: PhantomData,
@@ -262,10 +268,10 @@ where
 }
 
 fn lexicon_doc_com_shinolabs_pinksea_appViewDefs() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("com.shinolabs.pinksea.appViewDefs"),
@@ -274,21 +280,18 @@ fn lexicon_doc_com_shinolabs_pinksea_appViewDefs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("author"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("An author for an oekaki post"),
-                    ),
-                    required: Some(
-                        vec![SmolStr::new_static("did"), SmolStr::new_static("handle")],
-                    ),
+                    description: Some(CowStr::new_static("An author for an oekaki post")),
+                    required: Some(vec![
+                        SmolStr::new_static("did"),
+                        SmolStr::new_static("handle"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("did"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("The DID of the author"),
-                                ),
+                                description: Some(CowStr::new_static("The DID of the author")),
                                 format: Some(LexStringFormat::Did),
                                 ..Default::default()
                             }),
@@ -296,9 +299,7 @@ fn lexicon_doc_com_shinolabs_pinksea_appViewDefs() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("handle"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("The handle of the author."),
-                                ),
+                                description: Some(CowStr::new_static("The handle of the author.")),
                                 format: Some(LexStringFormat::Handle),
                                 ..Default::default()
                             }),
@@ -311,39 +312,33 @@ fn lexicon_doc_com_shinolabs_pinksea_appViewDefs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("hydratedOekaki"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static(
-                            "A hydrated oekaki post returned from the PinkSea app view.",
-                        ),
-                    ),
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("author"), SmolStr::new_static("image"),
-                            SmolStr::new_static("at"), SmolStr::new_static("cid"),
-                            SmolStr::new_static("creationTime"),
-                            SmolStr::new_static("nsfw")
-                        ],
-                    ),
+                    description: Some(CowStr::new_static(
+                        "A hydrated oekaki post returned from the PinkSea app view.",
+                    )),
+                    required: Some(vec![
+                        SmolStr::new_static("author"),
+                        SmolStr::new_static("image"),
+                        SmolStr::new_static("at"),
+                        SmolStr::new_static("cid"),
+                        SmolStr::new_static("creationTime"),
+                        SmolStr::new_static("nsfw"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("alt"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "Alt text description of the image, for accessibility.",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Alt text description of the image, for accessibility.",
+                                )),
                                 ..Default::default()
                             }),
                         );
                         map.insert(
                             SmolStr::new_static("at"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("The AT protocol link."),
-                                ),
+                                description: Some(CowStr::new_static("The AT protocol link.")),
                                 format: Some(LexStringFormat::Uri),
                                 ..Default::default()
                             }),
@@ -388,9 +383,9 @@ fn lexicon_doc_com_shinolabs_pinksea_appViewDefs() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("tags"),
                             LexObjectProperty::Array(LexArray {
-                                description: Some(
-                                    CowStr::new_static("An array of tags this image had."),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "An array of tags this image had.",
+                                )),
                                 items: LexArrayItem::String(LexString {
                                     max_length: Some(640usize),
                                     ..Default::default()
@@ -407,9 +402,7 @@ fn lexicon_doc_com_shinolabs_pinksea_appViewDefs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("oekakiTombstone"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("A tombstone for a missing oekaki."),
-                    ),
+                    description: Some(CowStr::new_static("A tombstone for a missing oekaki.")),
                     required: Some(vec![SmolStr::new_static("formerAt")]),
                     properties: {
                         #[allow(unused_mut)]
@@ -417,9 +410,9 @@ fn lexicon_doc_com_shinolabs_pinksea_appViewDefs() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("formerAt"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("The AT uri of the former oekaki."),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "The AT uri of the former oekaki.",
+                                )),
                                 format: Some(LexStringFormat::AtUri),
                                 ..Default::default()
                             }),
@@ -437,7 +430,7 @@ fn lexicon_doc_com_shinolabs_pinksea_appViewDefs() -> LexiconDoc<'static> {
 
 pub mod hydrated_oekaki_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -746,10 +739,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> HydratedOekaki {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> HydratedOekaki {
         HydratedOekaki {
             alt: self._fields.0,
             at: self._fields.1.unwrap(),
@@ -766,7 +756,7 @@ where
 
 pub mod oekaki_tombstone_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -853,13 +843,10 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> OekakiTombstone {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> OekakiTombstone {
         OekakiTombstone {
             former_at: self._fields.0.unwrap(),
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/com_shinolabs/pinksea/get_author_feed.rs b/crates/jacquard-api/src/com_shinolabs/pinksea/get_author_feed.rs
index 3566590f..c1454584 100644
--- a/crates/jacquard-api/src/com_shinolabs/pinksea/get_author_feed.rs
+++ b/crates/jacquard-api/src/com_shinolabs/pinksea/get_author_feed.rs
@@ -8,19 +8,22 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::com_shinolabs::pinksea::app_view_defs::HydratedOekaki;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::ident::AtIdentifier;
 use jacquard_common::types::string::Datetime;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::com_shinolabs::pinksea::app_view_defs::HydratedOekaki;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetAuthorFeed {
     pub did: AtIdentifier,
     ///Defaults to `50`. Min: 1. Max: 50.
@@ -31,9 +34,11 @@ pub struct GetAuthorFeed {
     pub since: Option,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetAuthorFeedOutput {
     pub oekaki: Vec>,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
@@ -70,7 +75,7 @@ fn _default_limit() -> Option {
 
 pub mod get_author_feed_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -183,4 +188,4 @@ where
             since: self._fields.2,
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/com_shinolabs/pinksea/get_author_replies.rs b/crates/jacquard-api/src/com_shinolabs/pinksea/get_author_replies.rs
index 67d18724..bf9d15db 100644
--- a/crates/jacquard-api/src/com_shinolabs/pinksea/get_author_replies.rs
+++ b/crates/jacquard-api/src/com_shinolabs/pinksea/get_author_replies.rs
@@ -8,19 +8,22 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::com_shinolabs::pinksea::app_view_defs::HydratedOekaki;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::ident::AtIdentifier;
 use jacquard_common::types::string::Datetime;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::com_shinolabs::pinksea::app_view_defs::HydratedOekaki;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetAuthorReplies {
     pub did: AtIdentifier,
     ///Defaults to `50`. Min: 1. Max: 50.
@@ -31,9 +34,11 @@ pub struct GetAuthorReplies {
     pub since: Option,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetAuthorRepliesOutput {
     pub oekaki: Vec>,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
@@ -70,7 +75,7 @@ fn _default_limit() -> Option {
 
 pub mod get_author_replies_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -183,4 +188,4 @@ where
             since: self._fields.2,
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/com_shinolabs/pinksea/get_handle_from_did.rs b/crates/jacquard-api/src/com_shinolabs/pinksea/get_handle_from_did.rs
index c9027c42..29358950 100644
--- a/crates/jacquard-api/src/com_shinolabs/pinksea/get_handle_from_did.rs
+++ b/crates/jacquard-api/src/com_shinolabs/pinksea/get_handle_from_did.rs
@@ -10,23 +10,28 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::ident::AtIdentifier;
 use jacquard_common::types::string::Handle;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetHandleFromDid {
     pub did: AtIdentifier,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetHandleFromDidOutput {
     ///The handle.
     pub handle: Handle,
@@ -60,7 +65,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetHandleFromDidRequest {
 
 pub mod get_handle_from_did_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -145,4 +150,4 @@ where
             did: self._fields.0.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/com_shinolabs/pinksea/get_identity.rs b/crates/jacquard-api/src/com_shinolabs/pinksea/get_identity.rs
index 330cd3a5..03fdcbad 100644
--- a/crates/jacquard-api/src/com_shinolabs/pinksea/get_identity.rs
+++ b/crates/jacquard-api/src/com_shinolabs/pinksea/get_identity.rs
@@ -10,20 +10,23 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::ident::AtIdentifier;
 use jacquard_common::types::string::Handle;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(rename_all = "camelCase")]
 pub struct GetIdentity;
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetIdentityOutput {
     ///The DID of the user.
     pub did: AtIdentifier,
@@ -55,4 +58,4 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetIdentityRequest {
     const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Query;
     type Request = GetIdentity;
     type Response = GetIdentityResponse;
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/com_shinolabs/pinksea/get_oekaki.rs b/crates/jacquard-api/src/com_shinolabs/pinksea/get_oekaki.rs
index f791deff..c5967cc2 100644
--- a/crates/jacquard-api/src/com_shinolabs/pinksea/get_oekaki.rs
+++ b/crates/jacquard-api/src/com_shinolabs/pinksea/get_oekaki.rs
@@ -8,27 +8,32 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::com_shinolabs::pinksea::app_view_defs::HydratedOekaki;
+use crate::com_shinolabs::pinksea::app_view_defs::OekakiTombstone;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::ident::AtIdentifier;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::{IntoStatic, open_union};
-use serde::{Serialize, Deserialize};
-use crate::com_shinolabs::pinksea::app_view_defs::HydratedOekaki;
-use crate::com_shinolabs::pinksea::app_view_defs::OekakiTombstone;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetOekaki {
     pub did: AtIdentifier,
     pub rkey: S,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetOekakiOutput {
     pub children: Vec>,
     pub parent: GetOekakiOutputParent,
@@ -36,7 +41,6 @@ pub struct GetOekakiOutput {
     pub extra_data: Option>>,
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -73,7 +77,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetOekakiRequest {
 
 pub mod get_oekaki_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -191,4 +195,4 @@ where
             rkey: self._fields.1.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/com_shinolabs/pinksea/get_parent_for_reply.rs b/crates/jacquard-api/src/com_shinolabs/pinksea/get_parent_for_reply.rs
index b6d0b7c1..de29f71e 100644
--- a/crates/jacquard-api/src/com_shinolabs/pinksea/get_parent_for_reply.rs
+++ b/crates/jacquard-api/src/com_shinolabs/pinksea/get_parent_for_reply.rs
@@ -10,23 +10,28 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::ident::AtIdentifier;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetParentForReply {
     pub did: AtIdentifier,
     pub rkey: S,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetParentForReplyOutput {
     ///The DID of the author.
     pub did: AtIdentifier,
@@ -62,7 +67,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetParentForReplyRequest {
 
 pub mod get_parent_for_reply_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -180,4 +185,4 @@ where
             rkey: self._fields.1.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/com_shinolabs/pinksea/get_recent.rs b/crates/jacquard-api/src/com_shinolabs/pinksea/get_recent.rs
index 821350e5..9a941d6e 100644
--- a/crates/jacquard-api/src/com_shinolabs/pinksea/get_recent.rs
+++ b/crates/jacquard-api/src/com_shinolabs/pinksea/get_recent.rs
@@ -8,15 +8,15 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::com_shinolabs::pinksea::app_view_defs::HydratedOekaki;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::Datetime;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::com_shinolabs::pinksea::app_view_defs::HydratedOekaki;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(rename_all = "camelCase")]
@@ -29,9 +29,11 @@ pub struct GetRecent {
     pub since: Option,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetRecentOutput {
     pub oekaki: Vec>,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
@@ -68,7 +70,7 @@ fn _default_limit() -> Option {
 
 pub mod get_recent_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -145,4 +147,4 @@ where
             since: self._fields.1,
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/com_shinolabs/pinksea/get_tag_feed.rs b/crates/jacquard-api/src/com_shinolabs/pinksea/get_tag_feed.rs
index 623951d2..5b84ece3 100644
--- a/crates/jacquard-api/src/com_shinolabs/pinksea/get_tag_feed.rs
+++ b/crates/jacquard-api/src/com_shinolabs/pinksea/get_tag_feed.rs
@@ -8,18 +8,21 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::com_shinolabs::pinksea::app_view_defs::HydratedOekaki;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::Datetime;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::com_shinolabs::pinksea::app_view_defs::HydratedOekaki;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetTagFeed {
     ///Defaults to `50`. Min: 1. Max: 50.
     #[serde(default = "_default_limit")]
@@ -30,9 +33,11 @@ pub struct GetTagFeed {
     pub tag: S,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetTagFeedOutput {
     pub oekaki: Vec>,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
@@ -69,7 +74,7 @@ fn _default_limit() -> Option {
 
 pub mod get_tag_feed_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -182,4 +187,4 @@ where
             tag: self._fields.2.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/com_shinolabs/pinksea/oekaki.rs b/crates/jacquard-api/src/com_shinolabs/pinksea/oekaki.rs
index d4b401c6..6c714af6 100644
--- a/crates/jacquard-api/src/com_shinolabs/pinksea/oekaki.rs
+++ b/crates/jacquard-api/src/com_shinolabs/pinksea/oekaki.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -25,14 +25,17 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::com_atproto::repo::strong_ref::StrongRef;
 use crate::com_shinolabs::pinksea::oekaki;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Image {
     ///The actual atproto image blob.
     pub blob: BlobRef,
@@ -44,7 +47,10 @@ pub struct Image {
 /// A link to the image, it can be either directly to the PDS or to a CDN.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ImageLink {
     ///Alt text description of the image, for accessibility.
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -125,19 +131,16 @@ impl LexiconSchema for Image {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["image/png"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("blob"),
@@ -220,7 +223,7 @@ impl LexiconSchema for Oekaki {
 
 pub mod image_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -350,10 +353,10 @@ where
 }
 
 fn lexicon_doc_com_shinolabs_pinksea_oekaki() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("com.shinolabs.pinksea.oekaki"),
@@ -362,17 +365,18 @@ fn lexicon_doc_com_shinolabs_pinksea_oekaki() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("image"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("blob"), SmolStr::new_static("imageLink")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("blob"),
+                        SmolStr::new_static("imageLink"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("blob"),
-                            LexObjectProperty::Blob(LexBlob { ..Default::default() }),
+                            LexObjectProperty::Blob(LexBlob {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("imageLink"),
@@ -389,11 +393,9 @@ fn lexicon_doc_com_shinolabs_pinksea_oekaki() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("imageLink"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static(
-                            "A link to the image, it can be either directly to the PDS or to a CDN.",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "A link to the image, it can be either directly to the PDS or to a CDN.",
+                    )),
                     required: Some(vec![]),
                     properties: {
                         #[allow(unused_mut)]
@@ -401,11 +403,9 @@ fn lexicon_doc_com_shinolabs_pinksea_oekaki() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("alt"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "Alt text description of the image, for accessibility.",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Alt text description of the image, for accessibility.",
+                                )),
                                 ..Default::default()
                             }),
                         );
@@ -419,21 +419,19 @@ fn lexicon_doc_com_shinolabs_pinksea_oekaki() -> LexiconDoc<'static> {
                 LexUserType::Record(LexRecord {
                     description: Some(CowStr::new_static("An oekaki post.")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("image"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("image"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
                             map.insert(
                                 SmolStr::new_static("createdAt"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("The timestamp of creation."),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "The timestamp of creation.",
+                                    )),
                                     format: Some(LexStringFormat::Datetime),
                                     ..Default::default()
                                 }),
@@ -461,9 +459,9 @@ fn lexicon_doc_com_shinolabs_pinksea_oekaki() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("tags"),
                                 LexObjectProperty::Array(LexArray {
-                                    description: Some(
-                                        CowStr::new_static("An array of tags this image had."),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "An array of tags this image had.",
+                                    )),
                                     items: LexArrayItem::String(LexString {
                                         max_length: Some(640usize),
                                         ..Default::default()
@@ -487,7 +485,7 @@ fn lexicon_doc_com_shinolabs_pinksea_oekaki() -> LexiconDoc<'static> {
 
 pub mod oekaki_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -665,4 +663,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/com_shinolabs/pinksea/profile.rs b/crates/jacquard-api/src/com_shinolabs/pinksea/profile.rs
index 3f0e589e..532c57dd 100644
--- a/crates/jacquard-api/src/com_shinolabs/pinksea/profile.rs
+++ b/crates/jacquard-api/src/com_shinolabs/pinksea/profile.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,11 +24,11 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::com_atproto::repo::strong_ref::StrongRef;
 use crate::com_shinolabs::pinksea::profile;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// A profile of a PinkSea user.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -66,9 +66,11 @@ pub struct ProfileGetRecordOutput {
     pub value: Profile,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ProfileLink {
     ///The URL of the link.
     pub link: UriValue,
@@ -221,7 +223,7 @@ impl LexiconSchema for ProfileLink {
 
 pub mod profile_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -296,10 +298,7 @@ impl ProfileBuilder {
 
 impl ProfileBuilder {
     /// Set the `links` field (optional)
-    pub fn links(
-        mut self,
-        value: impl Into>>>,
-    ) -> Self {
+    pub fn links(mut self, value: impl Into>>>) -> Self {
         self._fields.2 = value.into();
         self
     }
@@ -350,10 +349,10 @@ where
 }
 
 fn lexicon_doc_com_shinolabs_pinksea_profile() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("com.shinolabs.pinksea.profile"),
@@ -362,9 +361,7 @@ fn lexicon_doc_com_shinolabs_pinksea_profile() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static("A profile of a PinkSea user."),
-                    ),
+                    description: Some(CowStr::new_static("A profile of a PinkSea user.")),
                     record: LexRecordRecord::Object(LexObject {
                         properties: {
                             #[allow(unused_mut)]
@@ -379,9 +376,7 @@ fn lexicon_doc_com_shinolabs_pinksea_profile() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("bio"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("The bio of the user."),
-                                    ),
+                                    description: Some(CowStr::new_static("The bio of the user.")),
                                     max_length: Some(2400usize),
                                     max_graphemes: Some(240usize),
                                     ..Default::default()
@@ -390,11 +385,9 @@ fn lexicon_doc_com_shinolabs_pinksea_profile() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("links"),
                                 LexObjectProperty::Array(LexArray {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "The links to outside platforms for this user",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "The links to outside platforms for this user",
+                                    )),
                                     items: LexArrayItem::Ref(LexRef {
                                         r#ref: CowStr::new_static("#profileLink"),
                                         ..Default::default()
@@ -406,9 +399,9 @@ fn lexicon_doc_com_shinolabs_pinksea_profile() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("nickname"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("The display name of the user."),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "The display name of the user.",
+                                    )),
                                     max_length: Some(640usize),
                                     max_graphemes: Some(64usize),
                                     ..Default::default()
@@ -424,18 +417,17 @@ fn lexicon_doc_com_shinolabs_pinksea_profile() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("profileLink"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![SmolStr::new_static("name"), SmolStr::new_static("link")],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("name"),
+                        SmolStr::new_static("link"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("link"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("The URL of the link."),
-                                ),
+                                description: Some(CowStr::new_static("The URL of the link.")),
                                 format: Some(LexStringFormat::Uri),
                                 ..Default::default()
                             }),
@@ -443,9 +435,7 @@ fn lexicon_doc_com_shinolabs_pinksea_profile() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("name"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("The name of the link."),
-                                ),
+                                description: Some(CowStr::new_static("The name of the link.")),
                                 max_length: Some(500usize),
                                 max_graphemes: Some(50usize),
                                 ..Default::default()
@@ -464,7 +454,7 @@ fn lexicon_doc_com_shinolabs_pinksea_profile() -> LexiconDoc<'static> {
 
 pub mod profile_link_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -584,14 +574,11 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> ProfileLink {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> ProfileLink {
         ProfileLink {
             link: self._fields.0.unwrap(),
             name: self._fields.1.unwrap(),
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/com_suibari.rs b/crates/jacquard-api/src/com_suibari.rs
index d088f1c9..a10f9f62 100644
--- a/crates/jacquard-api/src/com_suibari.rs
+++ b/crates/jacquard-api/src/com_suibari.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod atsumeat;
\ No newline at end of file
+pub mod atsumeat;
diff --git a/crates/jacquard-api/src/com_suibari/atsumeat.rs b/crates/jacquard-api/src/com_suibari/atsumeat.rs
index d1bbb8af..ccbb0883 100644
--- a/crates/jacquard-api/src/com_suibari/atsumeat.rs
+++ b/crates/jacquard-api/src/com_suibari/atsumeat.rs
@@ -6,4 +6,4 @@
 pub mod config;
 pub mod sticker;
 pub mod sticker_like;
-pub mod transaction;
\ No newline at end of file
+pub mod transaction;
diff --git a/crates/jacquard-api/src/com_suibari/atsumeat/config.rs b/crates/jacquard-api/src/com_suibari/atsumeat/config.rs
index e6d069f3..7f11830c 100644
--- a/crates/jacquard-api/src/com_suibari/atsumeat/config.rs
+++ b/crates/jacquard-api/src/com_suibari/atsumeat/config.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// Configuration for the Atsumeat app
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -103,7 +103,7 @@ impl LexiconSchema for Config {
 
 pub mod config_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -199,10 +199,10 @@ where
 }
 
 fn lexicon_doc_com_suibari_atsumeat_config() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("com.suibari.atsumeat.config"),
@@ -211,9 +211,7 @@ fn lexicon_doc_com_suibari_atsumeat_config() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static("Configuration for the Atsumeat app"),
-                    ),
+                    description: Some(CowStr::new_static("Configuration for the Atsumeat app")),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
                         required: Some(vec![SmolStr::new_static("hubRef")]),
@@ -238,4 +236,4 @@ fn lexicon_doc_com_suibari_atsumeat_config() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/com_suibari/atsumeat/sticker.rs b/crates/jacquard-api/src/com_suibari/atsumeat/sticker.rs
index 1f06ec5d..4131d38e 100644
--- a/crates/jacquard-api/src/com_suibari/atsumeat/sticker.rs
+++ b/crates/jacquard-api/src/com_suibari/atsumeat/sticker.rs
@@ -10,13 +10,13 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::collection::{Collection, RecordError};
-use jacquard_common::types::string::{Did, AtUri, Cid, Datetime};
+use jacquard_common::types::string::{AtUri, Cid, Datetime, Did};
 use jacquard_common::types::uri::{RecordUri, UriError};
 use jacquard_common::types::value::Data;
 use jacquard_common::xrpc::XrpcResp;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// Definition of a sticker
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -421,7 +421,7 @@ impl LexiconSchema for Sticker {
 
 pub mod sticker_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -565,19 +565,7 @@ impl StickerBuilder {
         StickerBuilder {
             _state: PhantomData,
             _fields: (
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
+                None, None, None, None, None, None, None, None, None, None, None, None, None,
             ),
             _type: PhantomData,
         }
@@ -635,10 +623,7 @@ where
     St::Model: sticker_state::IsUnset,
 {
     /// Set the `model` field (required)
-    pub fn model(
-        mut self,
-        value: impl Into,
-    ) -> StickerBuilder> {
+    pub fn model(mut self, value: impl Into) -> StickerBuilder> {
         self._fields.3 = Option::Some(value.into());
         StickerBuilder {
             _state: PhantomData,
@@ -840,10 +825,10 @@ where
 }
 
 fn lexicon_doc_com_suibari_atsumeat_sticker() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("com.suibari.atsumeat.sticker"),
@@ -1017,4 +1002,4 @@ fn lexicon_doc_com_suibari_atsumeat_sticker() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/com_suibari/atsumeat/sticker_like.rs b/crates/jacquard-api/src/com_suibari/atsumeat/sticker_like.rs
index bae11852..645c7745 100644
--- a/crates/jacquard-api/src/com_suibari/atsumeat/sticker_like.rs
+++ b/crates/jacquard-api/src/com_suibari/atsumeat/sticker_like.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::com_atproto::repo::strong_ref::StrongRef;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::com_atproto::repo::strong_ref::StrongRef;
+use serde::{Deserialize, Serialize};
 /// Definition of a like on a sticker
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -105,7 +105,7 @@ impl LexiconSchema for StickerLike {
 
 pub mod sticker_like_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -225,10 +225,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> StickerLike {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> StickerLike {
         StickerLike {
             created_at: self._fields.0.unwrap(),
             subject: self._fields.1.unwrap(),
@@ -238,10 +235,10 @@ where
 }
 
 fn lexicon_doc_com_suibari_atsumeat_stickerLike() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("com.suibari.atsumeat.stickerLike"),
@@ -250,17 +247,13 @@ fn lexicon_doc_com_suibari_atsumeat_stickerLike() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static("Definition of a like on a sticker"),
-                    ),
+                    description: Some(CowStr::new_static("Definition of a like on a sticker")),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("subject"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("subject"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -289,4 +282,4 @@ fn lexicon_doc_com_suibari_atsumeat_stickerLike() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/com_suibari/atsumeat/transaction.rs b/crates/jacquard-api/src/com_suibari/atsumeat/transaction.rs
index d35b4f73..742ea898 100644
--- a/crates/jacquard-api/src/com_suibari/atsumeat/transaction.rs
+++ b/crates/jacquard-api/src/com_suibari/atsumeat/transaction.rs
@@ -10,13 +10,13 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::collection::{Collection, RecordError};
-use jacquard_common::types::string::{Did, AtUri, Cid, Datetime, UriValue};
+use jacquard_common::types::string::{AtUri, Cid, Datetime, Did, UriValue};
 use jacquard_common::types::uri::{RecordUri, UriError};
 use jacquard_common::types::value::Data;
 use jacquard_common::xrpc::XrpcResp;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// Definition of a transaction
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -242,7 +242,7 @@ impl LexiconSchema for Transaction {
 
 pub mod transaction_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -470,10 +470,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> Transaction {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> Transaction {
         Transaction {
             created_at: self._fields.0.unwrap(),
             is_easy_exchange: self._fields.1,
@@ -490,10 +487,10 @@ where
 }
 
 fn lexicon_doc_com_suibari_atsumeat_transaction() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("com.suibari.atsumeat.transaction"),
@@ -625,4 +622,4 @@ fn lexicon_doc_com_suibari_atsumeat_transaction() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/com_whtwnd.rs b/crates/jacquard-api/src/com_whtwnd.rs
index cefb4e14..0e613a43 100644
--- a/crates/jacquard-api/src/com_whtwnd.rs
+++ b/crates/jacquard-api/src/com_whtwnd.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod blog;
\ No newline at end of file
+pub mod blog;
diff --git a/crates/jacquard-api/src/com_whtwnd/blog.rs b/crates/jacquard-api/src/com_whtwnd/blog.rs
index a812cbc3..239d7a08 100644
--- a/crates/jacquard-api/src/com_whtwnd/blog.rs
+++ b/crates/jacquard-api/src/com_whtwnd/blog.rs
@@ -11,13 +11,12 @@ pub mod get_entry_metadata_by_name;
 pub mod get_mentions_by_entry;
 pub mod notify_of_new_entry;
 
-
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -31,10 +30,13 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct BlobMetadata {
     pub blobref: BlobRef,
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -43,9 +45,11 @@ pub struct BlobMetadata {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct BlogEntry {
     pub content: S,
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -54,9 +58,11 @@ pub struct BlogEntry {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Comment {
     pub content: S,
     pub entry_uri: AtUri,
@@ -64,9 +70,11 @@ pub struct Comment {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Ogp {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub height: Option,
@@ -93,19 +101,16 @@ impl LexiconSchema for BlobMetadata {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["*/*"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("blobref"),
@@ -188,7 +193,7 @@ impl LexiconSchema for Ogp {
 
 pub mod blob_metadata_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -289,10 +294,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> BlobMetadata {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> BlobMetadata {
         BlobMetadata {
             blobref: self._fields.0.unwrap(),
             name: self._fields.1,
@@ -302,10 +304,10 @@ where
 }
 
 fn lexicon_doc_com_whtwnd_blog_defs() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("com.whtwnd.blog.defs"),
@@ -320,11 +322,15 @@ fn lexicon_doc_com_whtwnd_blog_defs() -> LexiconDoc<'static> {
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("blobref"),
-                            LexObjectProperty::Blob(LexBlob { ..Default::default() }),
+                            LexObjectProperty::Blob(LexBlob {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("name"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map
                     },
@@ -360,12 +366,10 @@ fn lexicon_doc_com_whtwnd_blog_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("comment"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("content"),
-                            SmolStr::new_static("entryUri")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("content"),
+                        SmolStr::new_static("entryUri"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -427,7 +431,7 @@ fn lexicon_doc_com_whtwnd_blog_defs() -> LexiconDoc<'static> {
 
 pub mod comment_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -558,7 +562,7 @@ where
 
 pub mod ogp_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -632,10 +636,7 @@ where
     St::Url: ogp_state::IsUnset,
 {
     /// Set the `url` field (required)
-    pub fn url(
-        mut self,
-        value: impl Into>,
-    ) -> OgpBuilder> {
+    pub fn url(mut self, value: impl Into>) -> OgpBuilder> {
         self._fields.1 = Option::Some(value.into());
         OgpBuilder {
             _state: PhantomData,
@@ -681,4 +682,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/com_whtwnd/blog/entry.rs b/crates/jacquard-api/src/com_whtwnd/blog/entry.rs
index d0b70a97..83193cf9 100644
--- a/crates/jacquard-api/src/com_whtwnd/blog/entry.rs
+++ b/crates/jacquard-api/src/com_whtwnd/blog/entry.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,11 +24,11 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::com_whtwnd::blog::BlobMetadata;
 use crate::com_whtwnd::blog::Ogp;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// A declaration of a post.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -159,7 +159,7 @@ fn _default_entry_visibility() -> ::core::option::Option {
 
 pub mod entry_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -243,10 +243,7 @@ where
     St::Content: entry_state::IsUnset,
 {
     /// Set the `content` field (required)
-    pub fn content(
-        mut self,
-        value: impl Into,
-    ) -> EntryBuilder> {
+    pub fn content(mut self, value: impl Into) -> EntryBuilder> {
         self._fields.1 = Option::Some(value.into());
         EntryBuilder {
             _state: PhantomData,
@@ -385,10 +382,10 @@ where
 }
 
 fn lexicon_doc_com_whtwnd_blog_entry() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("com.whtwnd.blog.entry"),
@@ -466,11 +463,9 @@ fn lexicon_doc_com_whtwnd_blog_entry() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("visibility"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "Tells the visibility of the article to AppView.",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Tells the visibility of the article to AppView.",
+                                    )),
                                     ..Default::default()
                                 }),
                             );
@@ -485,4 +480,4 @@ fn lexicon_doc_com_whtwnd_blog_entry() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/com_whtwnd/blog/get_author_posts.rs b/crates/jacquard-api/src/com_whtwnd/blog/get_author_posts.rs
index 360d9b01..20e370ed 100644
--- a/crates/jacquard-api/src/com_whtwnd/blog/get_author_posts.rs
+++ b/crates/jacquard-api/src/com_whtwnd/blog/get_author_posts.rs
@@ -8,25 +8,30 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::com_whtwnd::blog::BlogEntry;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::Did;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::com_whtwnd::blog::BlogEntry;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetAuthorPosts {
     pub author: Did,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetAuthorPostsOutput {
     pub post: Vec>,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
@@ -59,7 +64,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetAuthorPostsRequest {
 
 pub mod get_author_posts_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -144,4 +149,4 @@ where
             author: self._fields.0.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/com_whtwnd/blog/get_entry_metadata_by_name.rs b/crates/jacquard-api/src/com_whtwnd/blog/get_entry_metadata_by_name.rs
index 06c4cebc..38ce4873 100644
--- a/crates/jacquard-api/src/com_whtwnd/blog/get_entry_metadata_by_name.rs
+++ b/crates/jacquard-api/src/com_whtwnd/blog/get_entry_metadata_by_name.rs
@@ -10,24 +10,29 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::ident::AtIdentifier;
 use jacquard_common::types::string::{AtUri, Cid, Datetime};
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::{IntoStatic, open_union};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetEntryMetadataByName {
     pub author: AtIdentifier,
     pub entry_title: S,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetEntryMetadataByNameOutput {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub cid: Option>,
@@ -38,18 +43,9 @@ pub struct GetEntryMetadataByNameOutput {
     pub extra_data: Option>>,
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum GetEntryMetadataByNameError {
     /// If the associated name isn't registered in the author's repo, this error is returned
@@ -57,7 +53,10 @@ pub enum GetEntryMetadataByNameError {
     NotFound(Option),
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for GetEntryMetadataByNameError {
@@ -107,7 +106,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetEntryMetadataByNameRequest {
 
 pub mod get_entry_metadata_by_name_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -150,10 +149,7 @@ pub mod get_entry_metadata_by_name_state {
 }
 
 /// Builder for constructing an instance of this type.
-pub struct GetEntryMetadataByNameBuilder<
-    S: BosStr,
-    St: get_entry_metadata_by_name_state::State,
-> {
+pub struct GetEntryMetadataByNameBuilder {
     _state: PhantomData St>,
     _fields: (Option>, Option),
     _type: PhantomData S>,
@@ -161,17 +157,12 @@ pub struct GetEntryMetadataByNameBuilder<
 
 impl GetEntryMetadataByName {
     /// Create a new builder for this type.
-    pub fn new() -> GetEntryMetadataByNameBuilder<
-        S,
-        get_entry_metadata_by_name_state::Empty,
-    > {
+    pub fn new() -> GetEntryMetadataByNameBuilder {
         GetEntryMetadataByNameBuilder::new()
     }
 }
 
-impl<
-    S: BosStr,
-> GetEntryMetadataByNameBuilder {
+impl GetEntryMetadataByNameBuilder {
     /// Create a new builder with all fields unset.
     pub fn new() -> Self {
         GetEntryMetadataByNameBuilder {
@@ -191,10 +182,7 @@ where
     pub fn author(
         mut self,
         value: impl Into>,
-    ) -> GetEntryMetadataByNameBuilder<
-        S,
-        get_entry_metadata_by_name_state::SetAuthor,
-    > {
+    ) -> GetEntryMetadataByNameBuilder> {
         self._fields.0 = Option::Some(value.into());
         GetEntryMetadataByNameBuilder {
             _state: PhantomData,
@@ -213,10 +201,7 @@ where
     pub fn entry_title(
         mut self,
         value: impl Into,
-    ) -> GetEntryMetadataByNameBuilder<
-        S,
-        get_entry_metadata_by_name_state::SetEntryTitle,
-    > {
+    ) -> GetEntryMetadataByNameBuilder> {
         self._fields.1 = Option::Some(value.into());
         GetEntryMetadataByNameBuilder {
             _state: PhantomData,
@@ -239,4 +224,4 @@ where
             entry_title: self._fields.1.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/com_whtwnd/blog/get_mentions_by_entry.rs b/crates/jacquard-api/src/com_whtwnd/blog/get_mentions_by_entry.rs
index 1fdd4706..624f57c3 100644
--- a/crates/jacquard-api/src/com_whtwnd/blog/get_mentions_by_entry.rs
+++ b/crates/jacquard-api/src/com_whtwnd/blog/get_mentions_by_entry.rs
@@ -10,22 +10,27 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::AtUri;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetMentionsByEntry {
     pub post_uri: AtUri,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetMentionsByEntryOutput {
     pub mentions: Vec>,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
@@ -58,7 +63,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetMentionsByEntryRequest {
 
 pub mod get_mentions_by_entry_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -143,4 +148,4 @@ where
             post_uri: self._fields.0.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/com_whtwnd/blog/notify_of_new_entry.rs b/crates/jacquard-api/src/com_whtwnd/blog/notify_of_new_entry.rs
index 1f9ec295..26db8360 100644
--- a/crates/jacquard-api/src/com_whtwnd/blog/notify_of_new_entry.rs
+++ b/crates/jacquard-api/src/com_whtwnd/blog/notify_of_new_entry.rs
@@ -10,46 +10,45 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::AtUri;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct NotifyOfNewEntry {
     pub entry_uri: AtUri,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct NotifyOfNewEntryOutput {
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum NotifyOfNewEntryError {
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for NotifyOfNewEntryError {
@@ -77,9 +76,8 @@ impl jacquard_common::xrpc::XrpcResp for NotifyOfNewEntryResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for NotifyOfNewEntry {
     const NSID: &'static str = "com.whtwnd.blog.notifyOfNewEntry";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = NotifyOfNewEntryResponse;
 }
 
@@ -87,16 +85,15 @@ impl jacquard_common::xrpc::XrpcRequest for NotifyOfNewEntry {
 pub struct NotifyOfNewEntryRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for NotifyOfNewEntryRequest {
     const PATH: &'static str = "/xrpc/com.whtwnd.blog.notifyOfNewEntry";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = NotifyOfNewEntry;
     type Response = NotifyOfNewEntryResponse;
 }
 
 pub mod notify_of_new_entry_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -183,13 +180,10 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> NotifyOfNewEntry {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> NotifyOfNewEntry {
         NotifyOfNewEntry {
             entry_uri: self._fields.0.unwrap(),
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/com_yuna0x0.rs b/crates/jacquard-api/src/com_yuna0x0.rs
index 92a591c3..8cd689fc 100644
--- a/crates/jacquard-api/src/com_yuna0x0.rs
+++ b/crates/jacquard-api/src/com_yuna0x0.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod guestbook;
\ No newline at end of file
+pub mod guestbook;
diff --git a/crates/jacquard-api/src/com_yuna0x0/guestbook.rs b/crates/jacquard-api/src/com_yuna0x0/guestbook.rs
index 929ca136..7b8c63bb 100644
--- a/crates/jacquard-api/src/com_yuna0x0/guestbook.rs
+++ b/crates/jacquard-api/src/com_yuna0x0/guestbook.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod sign;
\ No newline at end of file
+pub mod sign;
diff --git a/crates/jacquard-api/src/com_yuna0x0/guestbook/sign.rs b/crates/jacquard-api/src/com_yuna0x0/guestbook/sign.rs
index 075ba081..9d9c13ee 100644
--- a/crates/jacquard-api/src/com_yuna0x0/guestbook/sign.rs
+++ b/crates/jacquard-api/src/com_yuna0x0/guestbook/sign.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -27,7 +27,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// a sign in the guestbook
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -117,7 +117,7 @@ impl LexiconSchema for Sign {
 
 pub mod sign_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -223,10 +223,7 @@ where
     St::Message: sign_state::IsUnset,
 {
     /// Set the `message` field (required)
-    pub fn message(
-        mut self,
-        value: impl Into,
-    ) -> SignBuilder> {
+    pub fn message(mut self, value: impl Into) -> SignBuilder> {
         self._fields.1 = Option::Some(value.into());
         SignBuilder {
             _state: PhantomData,
@@ -283,10 +280,10 @@ where
 }
 
 fn lexicon_doc_com_yuna0x0_guestbook_sign() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("com.yuna0x0.guestbook.sign"),
@@ -298,13 +295,11 @@ fn lexicon_doc_com_yuna0x0_guestbook_sign() -> LexiconDoc<'static> {
                     description: Some(CowStr::new_static("a sign in the guestbook")),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("subject"),
-                                SmolStr::new_static("createdAt"),
-                                SmolStr::new_static("message")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("subject"),
+                            SmolStr::new_static("createdAt"),
+                            SmolStr::new_static("message"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -340,4 +335,4 @@ fn lexicon_doc_com_yuna0x0_guestbook_sign() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/community_lexicon.rs b/crates/jacquard-api/src/community_lexicon.rs
index 7176ac01..8bd79659 100644
--- a/crates/jacquard-api/src/community_lexicon.rs
+++ b/crates/jacquard-api/src/community_lexicon.rs
@@ -7,4 +7,4 @@ pub mod bookmarks;
 pub mod calendar;
 pub mod interaction;
 pub mod location;
-pub mod payments;
\ No newline at end of file
+pub mod payments;
diff --git a/crates/jacquard-api/src/community_lexicon/bookmarks.rs b/crates/jacquard-api/src/community_lexicon/bookmarks.rs
index 6f57b80a..df573351 100644
--- a/crates/jacquard-api/src/community_lexicon/bookmarks.rs
+++ b/crates/jacquard-api/src/community_lexicon/bookmarks.rs
@@ -4,4 +4,4 @@
 // Any manual changes will be overwritten on the next regeneration.
 
 pub mod bookmark;
-pub mod get_actor_bookmarks;
\ No newline at end of file
+pub mod get_actor_bookmarks;
diff --git a/crates/jacquard-api/src/community_lexicon/bookmarks/bookmark.rs b/crates/jacquard-api/src/community_lexicon/bookmarks/bookmark.rs
index 6d3158be..c184b426 100644
--- a/crates/jacquard-api/src/community_lexicon/bookmarks/bookmark.rs
+++ b/crates/jacquard-api/src/community_lexicon/bookmarks/bookmark.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// Record bookmarking a link to come back to later.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -107,7 +107,7 @@ impl LexiconSchema for Bookmark {
 
 pub mod bookmark_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -252,10 +252,10 @@ where
 }
 
 fn lexicon_doc_community_lexicon_bookmarks_bookmark() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("community.lexicon.bookmarks.bookmark"),
@@ -319,4 +319,4 @@ fn lexicon_doc_community_lexicon_bookmarks_bookmark() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/community_lexicon/bookmarks/get_actor_bookmarks.rs b/crates/jacquard-api/src/community_lexicon/bookmarks/get_actor_bookmarks.rs
index 7004fe05..7aa44dd8 100644
--- a/crates/jacquard-api/src/community_lexicon/bookmarks/get_actor_bookmarks.rs
+++ b/crates/jacquard-api/src/community_lexicon/bookmarks/get_actor_bookmarks.rs
@@ -8,17 +8,20 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::community_lexicon::bookmarks::bookmark::Bookmark;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::community_lexicon::bookmarks::bookmark::Bookmark;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetActorBookmarks {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub cursor: Option,
@@ -30,9 +33,11 @@ pub struct GetActorBookmarks {
     pub tags: Option>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetActorBookmarksOutput {
     pub bookmarks: Vec>,
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -71,7 +76,7 @@ fn _default_limit() -> Option {
 
 pub mod get_actor_bookmarks_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -164,4 +169,4 @@ where
             tags: self._fields.2,
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/community_lexicon/calendar.rs b/crates/jacquard-api/src/community_lexicon/calendar.rs
index a30658a0..c614ef4a 100644
--- a/crates/jacquard-api/src/community_lexicon/calendar.rs
+++ b/crates/jacquard-api/src/community_lexicon/calendar.rs
@@ -7,4 +7,4 @@ pub mod event;
 pub mod get_event;
 pub mod get_rsvp;
 pub mod rsvp;
-pub mod search_events;
\ No newline at end of file
+pub mod search_events;
diff --git a/crates/jacquard-api/src/community_lexicon/calendar/event.rs b/crates/jacquard-api/src/community_lexicon/calendar/event.rs
index 9f861abe..9a58b959 100644
--- a/crates/jacquard-api/src/community_lexicon/calendar/event.rs
+++ b/crates/jacquard-api/src/community_lexicon/calendar/event.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,14 +24,14 @@ use jacquard_derive::{IntoStatic, lexicon, open_union};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use crate::community_lexicon::calendar::event;
 use crate::community_lexicon::location::address::Address;
 use crate::community_lexicon::location::fsq::Fsq;
 use crate::community_lexicon::location::geo::Geo;
 use crate::community_lexicon::location::hthree::Hthree;
-use crate::community_lexicon::calendar::event;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// The event has been cancelled.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Hash)]
@@ -101,7 +101,6 @@ pub struct Event {
     pub extra_data: Option>>,
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -142,9 +141,7 @@ pub enum Mode {
 impl Mode {
     pub fn as_str(&self) -> &str {
         match self {
-            Self::CommunityLexiconCalendarEventHybrid => {
-                "community.lexicon.calendar.event#hybrid"
-            }
+            Self::CommunityLexiconCalendarEventHybrid => "community.lexicon.calendar.event#hybrid",
             Self::CommunityLexiconCalendarEventInperson => {
                 "community.lexicon.calendar.event#inperson"
             }
@@ -157,9 +154,7 @@ impl Mode {
     /// Construct from a string-like value, matching known values.
     pub fn from_value(s: S) -> Self {
         match s.as_ref() {
-            "community.lexicon.calendar.event#hybrid" => {
-                Self::CommunityLexiconCalendarEventHybrid
-            }
+            "community.lexicon.calendar.event#hybrid" => Self::CommunityLexiconCalendarEventHybrid,
             "community.lexicon.calendar.event#inperson" => {
                 Self::CommunityLexiconCalendarEventInperson
             }
@@ -210,9 +205,7 @@ where
     type Output = Mode;
     fn into_static(self) -> Self::Output {
         match self {
-            Mode::CommunityLexiconCalendarEventHybrid => {
-                Mode::CommunityLexiconCalendarEventHybrid
-            }
+            Mode::CommunityLexiconCalendarEventHybrid => Mode::CommunityLexiconCalendarEventHybrid,
             Mode::CommunityLexiconCalendarEventInperson => {
                 Mode::CommunityLexiconCalendarEventInperson
             }
@@ -382,7 +375,10 @@ where
 /// A URI associated with the event.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Uri {
     ///The display name of the URI.
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -467,7 +463,7 @@ impl LexiconSchema for Uri {
 
 pub mod event_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -591,10 +587,7 @@ impl EventBuilder {
 
 impl EventBuilder {
     /// Set the `locations` field (optional)
-    pub fn locations(
-        mut self,
-        value: impl Into>>>,
-    ) -> Self {
+    pub fn locations(mut self, value: impl Into>>>) -> Self {
         self._fields.3 = value.into();
         self
     }
@@ -624,10 +617,7 @@ where
     St::Name: event_state::IsUnset,
 {
     /// Set the `name` field (required)
-    pub fn name(
-        mut self,
-        value: impl Into,
-    ) -> EventBuilder> {
+    pub fn name(mut self, value: impl Into) -> EventBuilder> {
         self._fields.5 = Option::Some(value.into());
         EventBuilder {
             _state: PhantomData,
@@ -715,10 +705,10 @@ where
 }
 
 fn lexicon_doc_community_lexicon_calendar_event() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("community.lexicon.calendar.event"),
@@ -726,15 +716,21 @@ fn lexicon_doc_community_lexicon_calendar_event() -> LexiconDoc<'static> {
             let mut map = BTreeMap::new();
             map.insert(
                 SmolStr::new_static("cancelled"),
-                LexUserType::Token(LexToken { ..Default::default() }),
+                LexUserType::Token(LexToken {
+                    ..Default::default()
+                }),
             );
             map.insert(
                 SmolStr::new_static("hybrid"),
-                LexUserType::Token(LexToken { ..Default::default() }),
+                LexUserType::Token(LexToken {
+                    ..Default::default()
+                }),
             );
             map.insert(
                 SmolStr::new_static("inperson"),
-                LexUserType::Token(LexToken { ..Default::default() }),
+                LexUserType::Token(LexToken {
+                    ..Default::default()
+                }),
             );
             map.insert(
                 SmolStr::new_static("main"),
@@ -742,23 +738,19 @@ fn lexicon_doc_community_lexicon_calendar_event() -> LexiconDoc<'static> {
                     description: Some(CowStr::new_static("A calendar event.")),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("createdAt"),
-                                SmolStr::new_static("name")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("createdAt"),
+                            SmolStr::new_static("name"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
                             map.insert(
                                 SmolStr::new_static("createdAt"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "Client-declared timestamp when the event was created.",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Client-declared timestamp when the event was created.",
+                                    )),
                                     format: Some(LexStringFormat::Datetime),
                                     ..Default::default()
                                 }),
@@ -766,20 +758,18 @@ fn lexicon_doc_community_lexicon_calendar_event() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("description"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("The description of the event."),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "The description of the event.",
+                                    )),
                                     ..Default::default()
                                 }),
                             );
                             map.insert(
                                 SmolStr::new_static("endsAt"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "Client-declared timestamp when the event ends.",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Client-declared timestamp when the event ends.",
+                                    )),
                                     format: Some(LexStringFormat::Datetime),
                                     ..Default::default()
                                 }),
@@ -787,18 +777,20 @@ fn lexicon_doc_community_lexicon_calendar_event() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("locations"),
                                 LexObjectProperty::Array(LexArray {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "The locations where the event takes place.",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "The locations where the event takes place.",
+                                    )),
                                     items: LexArrayItem::Union(LexRefUnion {
                                         refs: vec![
-                                            CowStr::new_static("community.lexicon.calendar.event#uri"),
-                                            CowStr::new_static("community.lexicon.location.address"),
+                                            CowStr::new_static(
+                                                "community.lexicon.calendar.event#uri",
+                                            ),
+                                            CowStr::new_static(
+                                                "community.lexicon.location.address",
+                                            ),
                                             CowStr::new_static("community.lexicon.location.fsq"),
                                             CowStr::new_static("community.lexicon.location.geo"),
-                                            CowStr::new_static("community.lexicon.location.hthree")
+                                            CowStr::new_static("community.lexicon.location.hthree"),
                                         ],
                                         ..Default::default()
                                     }),
@@ -817,20 +809,16 @@ fn lexicon_doc_community_lexicon_calendar_event() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("name"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("The name of the event."),
-                                    ),
+                                    description: Some(CowStr::new_static("The name of the event.")),
                                     ..Default::default()
                                 }),
                             );
                             map.insert(
                                 SmolStr::new_static("startsAt"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "Client-declared timestamp when the event starts.",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Client-declared timestamp when the event starts.",
+                                    )),
                                     format: Some(LexStringFormat::Datetime),
                                     ..Default::default()
                                 }),
@@ -847,9 +835,9 @@ fn lexicon_doc_community_lexicon_calendar_event() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("uris"),
                                 LexObjectProperty::Array(LexArray {
-                                    description: Some(
-                                        CowStr::new_static("URIs associated with the event."),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "URIs associated with the event.",
+                                    )),
                                     items: LexArrayItem::Ref(LexRef {
                                         r#ref: CowStr::new_static(
                                             "community.lexicon.calendar.event#uri",
@@ -875,19 +863,27 @@ fn lexicon_doc_community_lexicon_calendar_event() -> LexiconDoc<'static> {
             );
             map.insert(
                 SmolStr::new_static("planned"),
-                LexUserType::Token(LexToken { ..Default::default() }),
+                LexUserType::Token(LexToken {
+                    ..Default::default()
+                }),
             );
             map.insert(
                 SmolStr::new_static("postponed"),
-                LexUserType::Token(LexToken { ..Default::default() }),
+                LexUserType::Token(LexToken {
+                    ..Default::default()
+                }),
             );
             map.insert(
                 SmolStr::new_static("rescheduled"),
-                LexUserType::Token(LexToken { ..Default::default() }),
+                LexUserType::Token(LexToken {
+                    ..Default::default()
+                }),
             );
             map.insert(
                 SmolStr::new_static("scheduled"),
-                LexUserType::Token(LexToken { ..Default::default() }),
+                LexUserType::Token(LexToken {
+                    ..Default::default()
+                }),
             );
             map.insert(
                 SmolStr::new_static("status"),
@@ -899,9 +895,7 @@ fn lexicon_doc_community_lexicon_calendar_event() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("uri"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("A URI associated with the event."),
-                    ),
+                    description: Some(CowStr::new_static("A URI associated with the event.")),
                     required: Some(vec![SmolStr::new_static("uri")]),
                     properties: {
                         #[allow(unused_mut)]
@@ -909,9 +903,9 @@ fn lexicon_doc_community_lexicon_calendar_event() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("name"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("The display name of the URI."),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "The display name of the URI.",
+                                )),
                                 ..Default::default()
                             }),
                         );
@@ -929,7 +923,9 @@ fn lexicon_doc_community_lexicon_calendar_event() -> LexiconDoc<'static> {
             );
             map.insert(
                 SmolStr::new_static("virtual"),
-                LexUserType::Token(LexToken { ..Default::default() }),
+                LexUserType::Token(LexToken {
+                    ..Default::default()
+                }),
             );
             map
         },
@@ -939,7 +935,7 @@ fn lexicon_doc_community_lexicon_calendar_event() -> LexiconDoc<'static> {
 
 pub mod uri_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1013,10 +1009,7 @@ where
     St::Uri: uri_state::IsUnset,
 {
     /// Set the `uri` field (required)
-    pub fn uri(
-        mut self,
-        value: impl Into>,
-    ) -> UriBuilder> {
+    pub fn uri(mut self, value: impl Into>) -> UriBuilder> {
         self._fields.1 = Option::Some(value.into());
         UriBuilder {
             _state: PhantomData,
@@ -1047,4 +1040,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/community_lexicon/calendar/get_event.rs b/crates/jacquard-api/src/community_lexicon/calendar/get_event.rs
index 38785701..5988488c 100644
--- a/crates/jacquard-api/src/community_lexicon/calendar/get_event.rs
+++ b/crates/jacquard-api/src/community_lexicon/calendar/get_event.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -21,14 +21,17 @@ use jacquard_derive::{IntoStatic, open_union};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::community_lexicon::calendar::get_event;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::community_lexicon::calendar::get_event;
+use serde::{Deserialize, Serialize};
 /// An event record with RSVP counts and URL.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct EventView {
     ///Number of users who have RSVP'd as going.
     pub count_going: i64,
@@ -42,17 +45,21 @@ pub struct EventView {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetEvent {
     pub record_key: S,
     pub repository: Did,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetEventOutput {
     #[serde(flatten)]
     pub value: Data,
@@ -60,25 +67,19 @@ pub struct GetEventOutput {
     pub extra_data: Option>>,
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum GetEventError {
     #[serde(rename = "NotFound")]
     NotFound(Option),
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for GetEventError {
@@ -143,7 +144,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetEventRequest {
 
 pub mod event_view_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -335,10 +336,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> EventView {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> EventView {
         EventView {
             count_going: self._fields.0.unwrap(),
             count_interested: self._fields.1.unwrap(),
@@ -350,10 +348,10 @@ where
 }
 
 fn lexicon_doc_community_lexicon_calendar_getEvent() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("community.lexicon.calendar.getEvent"),
@@ -362,17 +360,15 @@ fn lexicon_doc_community_lexicon_calendar_getEvent() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("eventView"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("An event record with RSVP counts and URL."),
-                    ),
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("countGoing"),
-                            SmolStr::new_static("countInterested"),
-                            SmolStr::new_static("countNotGoing"),
-                            SmolStr::new_static("url")
-                        ],
-                    ),
+                    description: Some(CowStr::new_static(
+                        "An event record with RSVP counts and URL.",
+                    )),
+                    required: Some(vec![
+                        SmolStr::new_static("countGoing"),
+                        SmolStr::new_static("countInterested"),
+                        SmolStr::new_static("countNotGoing"),
+                        SmolStr::new_static("url"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -397,11 +393,9 @@ fn lexicon_doc_community_lexicon_calendar_getEvent() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("url"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "The canonical URL for this event on Smoke Signal.",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "The canonical URL for this event on Smoke Signal.",
+                                )),
                                 format: Some(LexStringFormat::Uri),
                                 ..Default::default()
                             }),
@@ -414,45 +408,39 @@ fn lexicon_doc_community_lexicon_calendar_getEvent() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::XrpcQuery(LexXrpcQuery {
-                    parameters: Some(
-                        LexXrpcQueryParameter::Params(LexXrpcParameters {
-                            required: Some(
-                                vec![
-                                    SmolStr::new_static("repository"),
-                                    SmolStr::new_static("recordKey")
-                                ],
-                            ),
-                            properties: {
-                                #[allow(unused_mut)]
-                                let mut map = BTreeMap::new();
-                                map.insert(
-                                    SmolStr::new_static("recordKey"),
-                                    LexXrpcParametersProperty::String(LexString {
-                                        description: Some(
-                                            CowStr::new_static("The record key (rkey) of the event."),
-                                        ),
-                                        max_length: Some(150usize),
-                                        max_graphemes: Some(150usize),
-                                        ..Default::default()
-                                    }),
-                                );
-                                map.insert(
-                                    SmolStr::new_static("repository"),
-                                    LexXrpcParametersProperty::String(LexString {
-                                        description: Some(
-                                            CowStr::new_static(
-                                                "The DID of the repository containing the event.",
-                                            ),
-                                        ),
-                                        format: Some(LexStringFormat::Did),
-                                        ..Default::default()
-                                    }),
-                                );
-                                map
-                            },
-                            ..Default::default()
-                        }),
-                    ),
+                    parameters: Some(LexXrpcQueryParameter::Params(LexXrpcParameters {
+                        required: Some(vec![
+                            SmolStr::new_static("repository"),
+                            SmolStr::new_static("recordKey"),
+                        ]),
+                        properties: {
+                            #[allow(unused_mut)]
+                            let mut map = BTreeMap::new();
+                            map.insert(
+                                SmolStr::new_static("recordKey"),
+                                LexXrpcParametersProperty::String(LexString {
+                                    description: Some(CowStr::new_static(
+                                        "The record key (rkey) of the event.",
+                                    )),
+                                    max_length: Some(150usize),
+                                    max_graphemes: Some(150usize),
+                                    ..Default::default()
+                                }),
+                            );
+                            map.insert(
+                                SmolStr::new_static("repository"),
+                                LexXrpcParametersProperty::String(LexString {
+                                    description: Some(CowStr::new_static(
+                                        "The DID of the repository containing the event.",
+                                    )),
+                                    format: Some(LexStringFormat::Did),
+                                    ..Default::default()
+                                }),
+                            );
+                            map
+                        },
+                        ..Default::default()
+                    })),
                     ..Default::default()
                 }),
             );
@@ -464,7 +452,7 @@ fn lexicon_doc_community_lexicon_calendar_getEvent() -> LexiconDoc<'static> {
 
 pub mod get_event_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -582,4 +570,4 @@ where
             repository: self._fields.1.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/community_lexicon/calendar/get_rsvp.rs b/crates/jacquard-api/src/community_lexicon/calendar/get_rsvp.rs
index de97ed7e..41db9626 100644
--- a/crates/jacquard-api/src/community_lexicon/calendar/get_rsvp.rs
+++ b/crates/jacquard-api/src/community_lexicon/calendar/get_rsvp.rs
@@ -8,26 +8,31 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::community_lexicon::calendar::rsvp::Rsvp;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
-use jacquard_common::types::string::{Did, AtUri};
+use jacquard_common::types::string::{AtUri, Did};
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::{IntoStatic, open_union};
-use serde::{Serialize, Deserialize};
-use crate::community_lexicon::calendar::rsvp::Rsvp;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetRsvp {
     pub event: AtUri,
     pub identity: Did,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetRsvpOutput {
     ///CID of the RSVP record.
     pub cid: S,
@@ -39,25 +44,19 @@ pub struct GetRsvpOutput {
     pub extra_data: Option>>,
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum GetRsvpError {
     #[serde(rename = "NotFound")]
     NotFound(Option),
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for GetRsvpError {
@@ -107,7 +106,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetRsvpRequest {
 
 pub mod get_rsvp_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -225,4 +224,4 @@ where
             identity: self._fields.1.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/community_lexicon/calendar/rsvp.rs b/crates/jacquard-api/src/community_lexicon/calendar/rsvp.rs
index 37c3e6fa..1b7c9fc2 100644
--- a/crates/jacquard-api/src/community_lexicon/calendar/rsvp.rs
+++ b/crates/jacquard-api/src/community_lexicon/calendar/rsvp.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::com_atproto::repo::strong_ref::StrongRef;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::com_atproto::repo::strong_ref::StrongRef;
+use serde::{Deserialize, Serialize};
 /// Going to the event
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Hash)]
@@ -64,7 +64,6 @@ pub struct Rsvp {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Debug, Clone, PartialEq, Eq, Hash)]
 pub enum RsvpStatus {
     Interested,
@@ -217,7 +216,7 @@ impl LexiconSchema for Rsvp {
 
 pub mod rsvp_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -347,10 +346,10 @@ where
 }
 
 fn lexicon_doc_community_lexicon_calendar_rsvp() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("community.lexicon.calendar.rsvp"),
@@ -358,11 +357,15 @@ fn lexicon_doc_community_lexicon_calendar_rsvp() -> LexiconDoc<'static> {
             let mut map = BTreeMap::new();
             map.insert(
                 SmolStr::new_static("going"),
-                LexUserType::Token(LexToken { ..Default::default() }),
+                LexUserType::Token(LexToken {
+                    ..Default::default()
+                }),
             );
             map.insert(
                 SmolStr::new_static("interested"),
-                LexUserType::Token(LexToken { ..Default::default() }),
+                LexUserType::Token(LexToken {
+                    ..Default::default()
+                }),
             );
             map.insert(
                 SmolStr::new_static("main"),
@@ -370,12 +373,10 @@ fn lexicon_doc_community_lexicon_calendar_rsvp() -> LexiconDoc<'static> {
                     description: Some(CowStr::new_static("An RSVP for an event.")),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("subject"),
-                                SmolStr::new_static("status")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("subject"),
+                            SmolStr::new_static("status"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -401,10 +402,12 @@ fn lexicon_doc_community_lexicon_calendar_rsvp() -> LexiconDoc<'static> {
             );
             map.insert(
                 SmolStr::new_static("notgoing"),
-                LexUserType::Token(LexToken { ..Default::default() }),
+                LexUserType::Token(LexToken {
+                    ..Default::default()
+                }),
             );
             map
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/community_lexicon/calendar/search_events.rs b/crates/jacquard-api/src/community_lexicon/calendar/search_events.rs
index d166c27b..78944737 100644
--- a/crates/jacquard-api/src/community_lexicon/calendar/search_events.rs
+++ b/crates/jacquard-api/src/community_lexicon/calendar/search_events.rs
@@ -10,25 +10,28 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
 use jacquard_common::deps::smol_str::SmolStr;
-use jacquard_common::types::string::{Did, Cid, UriValue};
+use jacquard_common::types::string::{Cid, Did, UriValue};
 use jacquard_common::types::value::Data;
 use jacquard_derive::{IntoStatic, open_union};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::community_lexicon::calendar::search_events;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::community_lexicon::calendar::search_events;
+use serde::{Deserialize, Serialize};
 /// An event record with RSVP counts and URL.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct EventView {
     ///Number of users who have RSVP'd as going.
     pub count_going: i64,
@@ -42,9 +45,11 @@ pub struct EventView {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct SearchEvents {
     ///Defaults to `10`. Min: 1. Max: 100.
     #[serde(default = "_default_limit")]
@@ -59,27 +64,20 @@ pub struct SearchEvents {
     pub repository: Option>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct SearchEventsOutput {
     pub results: Vec>,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum SearchEventsError {
     #[serde(rename = "InvalidRepository")]
@@ -90,7 +88,10 @@ pub enum SearchEventsError {
     SearchError(Option),
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for SearchEventsError {
@@ -169,7 +170,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for SearchEventsRequest {
 
 pub mod event_view_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -361,10 +362,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> EventView {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> EventView {
         EventView {
             count_going: self._fields.0.unwrap(),
             count_interested: self._fields.1.unwrap(),
@@ -376,10 +374,10 @@ where
 }
 
 fn lexicon_doc_community_lexicon_calendar_searchEvents() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("community.lexicon.calendar.searchEvents"),
@@ -388,17 +386,15 @@ fn lexicon_doc_community_lexicon_calendar_searchEvents() -> LexiconDoc<'static>
             map.insert(
                 SmolStr::new_static("eventView"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("An event record with RSVP counts and URL."),
-                    ),
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("countGoing"),
-                            SmolStr::new_static("countInterested"),
-                            SmolStr::new_static("countNotGoing"),
-                            SmolStr::new_static("url")
-                        ],
-                    ),
+                    description: Some(CowStr::new_static(
+                        "An event record with RSVP counts and URL.",
+                    )),
+                    required: Some(vec![
+                        SmolStr::new_static("countGoing"),
+                        SmolStr::new_static("countInterested"),
+                        SmolStr::new_static("countNotGoing"),
+                        SmolStr::new_static("url"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -423,9 +419,9 @@ fn lexicon_doc_community_lexicon_calendar_searchEvents() -> LexiconDoc<'static>
                         map.insert(
                             SmolStr::new_static("url"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("The canonical web URL for this event."),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "The canonical web URL for this event.",
+                                )),
                                 format: Some(LexStringFormat::Uri),
                                 ..Default::default()
                             }),
@@ -438,53 +434,49 @@ fn lexicon_doc_community_lexicon_calendar_searchEvents() -> LexiconDoc<'static>
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::XrpcQuery(LexXrpcQuery {
-                    parameters: Some(
-                        LexXrpcQueryParameter::Params(LexXrpcParameters {
-                            properties: {
-                                #[allow(unused_mut)]
-                                let mut map = BTreeMap::new();
-                                map.insert(
-                                    SmolStr::new_static("limit"),
-                                    LexXrpcParametersProperty::Integer(LexInteger {
-                                        ..Default::default()
-                                    }),
-                                );
-                                map.insert(
-                                    SmolStr::new_static("location"),
-                                    LexXrpcParametersProperty::Array(LexPrimitiveArray {
-                                        items: LexPrimitiveArrayItem::String(LexString {
-                                            format: Some(LexStringFormat::Cid),
-                                            ..Default::default()
-                                        }),
+                    parameters: Some(LexXrpcQueryParameter::Params(LexXrpcParameters {
+                        properties: {
+                            #[allow(unused_mut)]
+                            let mut map = BTreeMap::new();
+                            map.insert(
+                                SmolStr::new_static("limit"),
+                                LexXrpcParametersProperty::Integer(LexInteger {
+                                    ..Default::default()
+                                }),
+                            );
+                            map.insert(
+                                SmolStr::new_static("location"),
+                                LexXrpcParametersProperty::Array(LexPrimitiveArray {
+                                    items: LexPrimitiveArrayItem::String(LexString {
+                                        format: Some(LexStringFormat::Cid),
                                         ..Default::default()
                                     }),
-                                );
-                                map.insert(
-                                    SmolStr::new_static("query"),
-                                    LexXrpcParametersProperty::String(LexString {
-                                        description: Some(
-                                            CowStr::new_static("Full-text search query."),
-                                        ),
-                                        max_length: Some(150usize),
-                                        max_graphemes: Some(150usize),
-                                        ..Default::default()
-                                    }),
-                                );
-                                map.insert(
-                                    SmolStr::new_static("repository"),
-                                    LexXrpcParametersProperty::String(LexString {
-                                        description: Some(
-                                            CowStr::new_static("Filter events by DID."),
-                                        ),
-                                        format: Some(LexStringFormat::Did),
-                                        ..Default::default()
-                                    }),
-                                );
-                                map
-                            },
-                            ..Default::default()
-                        }),
-                    ),
+                                    ..Default::default()
+                                }),
+                            );
+                            map.insert(
+                                SmolStr::new_static("query"),
+                                LexXrpcParametersProperty::String(LexString {
+                                    description: Some(CowStr::new_static(
+                                        "Full-text search query.",
+                                    )),
+                                    max_length: Some(150usize),
+                                    max_graphemes: Some(150usize),
+                                    ..Default::default()
+                                }),
+                            );
+                            map.insert(
+                                SmolStr::new_static("repository"),
+                                LexXrpcParametersProperty::String(LexString {
+                                    description: Some(CowStr::new_static("Filter events by DID.")),
+                                    format: Some(LexStringFormat::Did),
+                                    ..Default::default()
+                                }),
+                            );
+                            map
+                        },
+                        ..Default::default()
+                    })),
                     ..Default::default()
                 }),
             );
@@ -500,7 +492,7 @@ fn _default_limit() -> Option {
 
 pub mod search_events_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -607,4 +599,4 @@ where
             repository: self._fields.3,
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/community_lexicon/interaction.rs b/crates/jacquard-api/src/community_lexicon/interaction.rs
index 0fc1beea..ce69d66e 100644
--- a/crates/jacquard-api/src/community_lexicon/interaction.rs
+++ b/crates/jacquard-api/src/community_lexicon/interaction.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod like;
\ No newline at end of file
+pub mod like;
diff --git a/crates/jacquard-api/src/community_lexicon/interaction/like.rs b/crates/jacquard-api/src/community_lexicon/interaction/like.rs
index c2de98f4..5f77bd30 100644
--- a/crates/jacquard-api/src/community_lexicon/interaction/like.rs
+++ b/crates/jacquard-api/src/community_lexicon/interaction/like.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::com_atproto::repo::strong_ref::StrongRef;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::com_atproto::repo::strong_ref::StrongRef;
+use serde::{Deserialize, Serialize};
 /// A 'like' interaction with another AT Protocol record.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -105,7 +105,7 @@ impl LexiconSchema for Like {
 
 pub mod like_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -235,10 +235,10 @@ where
 }
 
 fn lexicon_doc_community_lexicon_interaction_like() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("community.lexicon.interaction.like"),
@@ -247,19 +247,15 @@ fn lexicon_doc_community_lexicon_interaction_like() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static(
-                            "A 'like' interaction with another AT Protocol record.",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "A 'like' interaction with another AT Protocol record.",
+                    )),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("subject"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("subject"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -288,4 +284,4 @@ fn lexicon_doc_community_lexicon_interaction_like() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/community_lexicon/location.rs b/crates/jacquard-api/src/community_lexicon/location.rs
index a79346f5..c7c4b3d6 100644
--- a/crates/jacquard-api/src/community_lexicon/location.rs
+++ b/crates/jacquard-api/src/community_lexicon/location.rs
@@ -6,4 +6,4 @@
 pub mod address;
 pub mod fsq;
 pub mod geo;
-pub mod hthree;
\ No newline at end of file
+pub mod hthree;
diff --git a/crates/jacquard-api/src/community_lexicon/location/address.rs b/crates/jacquard-api/src/community_lexicon/location/address.rs
index 3df7b00a..90d8830e 100644
--- a/crates/jacquard-api/src/community_lexicon/location/address.rs
+++ b/crates/jacquard-api/src/community_lexicon/location/address.rs
@@ -7,7 +7,7 @@
 
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -19,11 +19,14 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// A physical location in the form of a street address.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Address {
     ///The ISO 3166 country code. Preferably the 2-letter code.
     pub country: S,
@@ -84,10 +87,10 @@ impl LexiconSchema for Address {
 }
 
 fn lexicon_doc_community_lexicon_location_address() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("community.lexicon.location.address"),
@@ -176,4 +179,4 @@ fn lexicon_doc_community_lexicon_location_address() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/community_lexicon/location/fsq.rs b/crates/jacquard-api/src/community_lexicon/location/fsq.rs
index fef6d258..3535f0be 100644
--- a/crates/jacquard-api/src/community_lexicon/location/fsq.rs
+++ b/crates/jacquard-api/src/community_lexicon/location/fsq.rs
@@ -7,7 +7,7 @@
 
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -19,11 +19,14 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// A physical location contained in the Foursquare Open Source Places dataset.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Fsq {
     ///The unique identifier of a Foursquare POI.
     pub fsq_place_id: S,
@@ -54,10 +57,10 @@ impl LexiconSchema for Fsq {
 }
 
 fn lexicon_doc_community_lexicon_location_fsq() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("community.lexicon.location.fsq"),
@@ -112,4 +115,4 @@ fn lexicon_doc_community_lexicon_location_fsq() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/community_lexicon/location/geo.rs b/crates/jacquard-api/src/community_lexicon/location/geo.rs
index 35d8f616..079656d1 100644
--- a/crates/jacquard-api/src/community_lexicon/location/geo.rs
+++ b/crates/jacquard-api/src/community_lexicon/location/geo.rs
@@ -7,7 +7,7 @@
 
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -19,11 +19,14 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// A physical location in the form of a WGS84 coordinate.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Geo {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub altitude: Option,
@@ -52,10 +55,10 @@ impl LexiconSchema for Geo {
 }
 
 fn lexicon_doc_community_lexicon_location_geo() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("community.lexicon.location.geo"),
@@ -64,38 +67,38 @@ fn lexicon_doc_community_lexicon_location_geo() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static(
-                            "A physical location in the form of a WGS84 coordinate.",
-                        ),
-                    ),
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("latitude"),
-                            SmolStr::new_static("longitude")
-                        ],
-                    ),
+                    description: Some(CowStr::new_static(
+                        "A physical location in the form of a WGS84 coordinate.",
+                    )),
+                    required: Some(vec![
+                        SmolStr::new_static("latitude"),
+                        SmolStr::new_static("longitude"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("altitude"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("latitude"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("longitude"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("name"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("The name of the location."),
-                                ),
+                                description: Some(CowStr::new_static("The name of the location.")),
                                 ..Default::default()
                             }),
                         );
@@ -108,4 +111,4 @@ fn lexicon_doc_community_lexicon_location_geo() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/community_lexicon/location/hthree.rs b/crates/jacquard-api/src/community_lexicon/location/hthree.rs
index 05ea0abc..23972489 100644
--- a/crates/jacquard-api/src/community_lexicon/location/hthree.rs
+++ b/crates/jacquard-api/src/community_lexicon/location/hthree.rs
@@ -7,7 +7,7 @@
 
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -19,11 +19,14 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// A physical location in the form of a H3 encoded location.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Hthree {
     ///The name of the location.
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -50,10 +53,10 @@ impl LexiconSchema for Hthree {
 }
 
 fn lexicon_doc_community_lexicon_location_hthree() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("community.lexicon.location.hthree"),
@@ -62,11 +65,9 @@ fn lexicon_doc_community_lexicon_location_hthree() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static(
-                            "A physical location in the form of a H3 encoded location.",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "A physical location in the form of a H3 encoded location.",
+                    )),
                     required: Some(vec![SmolStr::new_static("value")]),
                     properties: {
                         #[allow(unused_mut)]
@@ -74,18 +75,14 @@ fn lexicon_doc_community_lexicon_location_hthree() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("name"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("The name of the location."),
-                                ),
+                                description: Some(CowStr::new_static("The name of the location.")),
                                 ..Default::default()
                             }),
                         );
                         map.insert(
                             SmolStr::new_static("value"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("The h3 encoded location."),
-                                ),
+                                description: Some(CowStr::new_static("The h3 encoded location.")),
                                 ..Default::default()
                             }),
                         );
@@ -98,4 +95,4 @@ fn lexicon_doc_community_lexicon_location_hthree() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/community_lexicon/payments.rs b/crates/jacquard-api/src/community_lexicon/payments.rs
index 0c4f5c8d..8f2552ca 100644
--- a/crates/jacquard-api/src/community_lexicon/payments.rs
+++ b/crates/jacquard-api/src/community_lexicon/payments.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod web_monetization;
\ No newline at end of file
+pub mod web_monetization;
diff --git a/crates/jacquard-api/src/community_lexicon/payments/web_monetization.rs b/crates/jacquard-api/src/community_lexicon/payments/web_monetization.rs
index 41bc96f3..f230ef66 100644
--- a/crates/jacquard-api/src/community_lexicon/payments/web_monetization.rs
+++ b/crates/jacquard-api/src/community_lexicon/payments/web_monetization.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// Web Monetization wallet.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -107,7 +107,7 @@ impl LexiconSchema for WebMonetization {
 
 pub mod web_monetization_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -208,10 +208,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> WebMonetization {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> WebMonetization {
         WebMonetization {
             address: self._fields.0.unwrap(),
             note: self._fields.1,
@@ -221,10 +218,10 @@ where
 }
 
 fn lexicon_doc_community_lexicon_payments_webMonetization() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("community.lexicon.payments.webMonetization"),
@@ -270,4 +267,4 @@ fn lexicon_doc_community_lexicon_payments_webMonetization() -> LexiconDoc<'stati
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/computer_aesthetic.rs b/crates/jacquard-api/src/computer_aesthetic.rs
index e3d7abe5..9c73ae86 100644
--- a/crates/jacquard-api/src/computer_aesthetic.rs
+++ b/crates/jacquard-api/src/computer_aesthetic.rs
@@ -7,4 +7,4 @@ pub mod kidlisp;
 pub mod mood;
 pub mod painting;
 pub mod piece;
-pub mod tape;
\ No newline at end of file
+pub mod tape;
diff --git a/crates/jacquard-api/src/computer_aesthetic/kidlisp.rs b/crates/jacquard-api/src/computer_aesthetic/kidlisp.rs
index ae2f40d6..e49b58ac 100644
--- a/crates/jacquard-api/src/computer_aesthetic/kidlisp.rs
+++ b/crates/jacquard-api/src/computer_aesthetic/kidlisp.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// A KidLisp code snippet from Aesthetic Computer
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -143,7 +143,7 @@ impl LexiconSchema for Kidlisp {
 
 pub mod kidlisp_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -246,10 +246,7 @@ where
     St::Code: kidlisp_state::IsUnset,
 {
     /// Set the `code` field (required)
-    pub fn code(
-        mut self,
-        value: impl Into,
-    ) -> KidlispBuilder> {
+    pub fn code(mut self, value: impl Into) -> KidlispBuilder> {
         self._fields.0 = Option::Some(value.into());
         KidlispBuilder {
             _state: PhantomData,
@@ -265,10 +262,7 @@ where
     St::Ref: kidlisp_state::IsUnset,
 {
     /// Set the `ref` field (required)
-    pub fn r#ref(
-        mut self,
-        value: impl Into,
-    ) -> KidlispBuilder> {
+    pub fn r#ref(mut self, value: impl Into) -> KidlispBuilder> {
         self._fields.1 = Option::Some(value.into());
         KidlispBuilder {
             _state: PhantomData,
@@ -347,10 +341,10 @@ where
 }
 
 fn lexicon_doc_computer_aesthetic_kidlisp() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("computer.aesthetic.kidlisp"),
@@ -359,30 +353,26 @@ fn lexicon_doc_computer_aesthetic_kidlisp() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static(
-                            "A KidLisp code snippet from Aesthetic Computer",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "A KidLisp code snippet from Aesthetic Computer",
+                    )),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("source"), SmolStr::new_static("code"),
-                                SmolStr::new_static("when"), SmolStr::new_static("ref")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("source"),
+                            SmolStr::new_static("code"),
+                            SmolStr::new_static("when"),
+                            SmolStr::new_static("ref"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
                             map.insert(
                                 SmolStr::new_static("code"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "Short alphanumeric code for easy lookup",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Short alphanumeric code for easy lookup",
+                                    )),
                                     max_length: Some(10usize),
                                     ..Default::default()
                                 }),
@@ -390,11 +380,9 @@ fn lexicon_doc_computer_aesthetic_kidlisp() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("ref"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "MongoDB ObjectId reference for bidirectional sync",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "MongoDB ObjectId reference for bidirectional sync",
+                                    )),
                                     max_length: Some(24usize),
                                     ..Default::default()
                                 }),
@@ -402,9 +390,9 @@ fn lexicon_doc_computer_aesthetic_kidlisp() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("source"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("The KidLisp source code"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "The KidLisp source code",
+                                    )),
                                     max_length: Some(50000usize),
                                     ..Default::default()
                                 }),
@@ -412,9 +400,9 @@ fn lexicon_doc_computer_aesthetic_kidlisp() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("when"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("Creation timestamp (ISO 8601)"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Creation timestamp (ISO 8601)",
+                                    )),
                                     format: Some(LexStringFormat::Datetime),
                                     ..Default::default()
                                 }),
@@ -430,4 +418,4 @@ fn lexicon_doc_computer_aesthetic_kidlisp() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/computer_aesthetic/mood.rs b/crates/jacquard-api/src/computer_aesthetic/mood.rs
index a23a469f..6ad95fe7 100644
--- a/crates/jacquard-api/src/computer_aesthetic/mood.rs
+++ b/crates/jacquard-api/src/computer_aesthetic/mood.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// A mood entry from Aesthetic Computer
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -119,7 +119,7 @@ impl LexiconSchema for Mood {
 
 pub mod mood_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -206,10 +206,7 @@ where
     St::Mood: mood_state::IsUnset,
 {
     /// Set the `mood` field (required)
-    pub fn mood(
-        mut self,
-        value: impl Into,
-    ) -> MoodBuilder> {
+    pub fn mood(mut self, value: impl Into) -> MoodBuilder> {
         self._fields.0 = Option::Some(value.into());
         MoodBuilder {
             _state: PhantomData,
@@ -225,10 +222,7 @@ where
     St::Ref: mood_state::IsUnset,
 {
     /// Set the `ref` field (required)
-    pub fn r#ref(
-        mut self,
-        value: impl Into,
-    ) -> MoodBuilder> {
+    pub fn r#ref(mut self, value: impl Into) -> MoodBuilder> {
         self._fields.1 = Option::Some(value.into());
         MoodBuilder {
             _state: PhantomData,
@@ -244,10 +238,7 @@ where
     St::When: mood_state::IsUnset,
 {
     /// Set the `when` field (required)
-    pub fn when(
-        mut self,
-        value: impl Into,
-    ) -> MoodBuilder> {
+    pub fn when(mut self, value: impl Into) -> MoodBuilder> {
         self._fields.2 = Option::Some(value.into());
         MoodBuilder {
             _state: PhantomData,
@@ -285,10 +276,10 @@ where
 }
 
 fn lexicon_doc_computer_aesthetic_mood() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("computer.aesthetic.mood"),
@@ -353,4 +344,4 @@ fn lexicon_doc_computer_aesthetic_mood() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/computer_aesthetic/painting.rs b/crates/jacquard-api/src/computer_aesthetic/painting.rs
index 6727e538..d69ac1cc 100644
--- a/crates/jacquard-api/src/computer_aesthetic/painting.rs
+++ b/crates/jacquard-api/src/computer_aesthetic/painting.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -27,7 +27,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// A digital painting created on aesthetic.computer
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -183,25 +183,20 @@ impl LexiconSchema for Painting {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["image/png", "image/jpeg"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("thumbnail"),
-                        accepted: vec![
-                            "image/png".to_string(), "image/jpeg".to_string()
-                        ],
+                        accepted: vec!["image/png".to_string(), "image/jpeg".to_string()],
                         actual: mime.to_string(),
                     });
                 }
@@ -213,7 +208,7 @@ impl LexiconSchema for Painting {
 
 pub mod painting_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -342,10 +337,7 @@ where
     St::Code: painting_state::IsUnset,
 {
     /// Set the `code` field (required)
-    pub fn code(
-        mut self,
-        value: impl Into,
-    ) -> PaintingBuilder> {
+    pub fn code(mut self, value: impl Into) -> PaintingBuilder> {
         self._fields.0 = Option::Some(value.into());
         PaintingBuilder {
             _state: PhantomData,
@@ -393,10 +385,7 @@ where
     St::Ref: painting_state::IsUnset,
 {
     /// Set the `ref` field (required)
-    pub fn r#ref(
-        mut self,
-        value: impl Into,
-    ) -> PaintingBuilder> {
+    pub fn r#ref(mut self, value: impl Into) -> PaintingBuilder> {
         self._fields.3 = Option::Some(value.into());
         PaintingBuilder {
             _state: PhantomData,
@@ -412,10 +401,7 @@ where
     St::Slug: painting_state::IsUnset,
 {
     /// Set the `slug` field (required)
-    pub fn slug(
-        mut self,
-        value: impl Into,
-    ) -> PaintingBuilder> {
+    pub fn slug(mut self, value: impl Into) -> PaintingBuilder> {
         self._fields.4 = Option::Some(value.into());
         PaintingBuilder {
             _state: PhantomData,
@@ -495,10 +481,10 @@ where
 }
 
 fn lexicon_doc_computer_aesthetic_painting() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("computer.aesthetic.painting"),
@@ -609,4 +595,4 @@ fn lexicon_doc_computer_aesthetic_painting() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/computer_aesthetic/piece.rs b/crates/jacquard-api/src/computer_aesthetic/piece.rs
index 7f9b221f..8cbc2f6d 100644
--- a/crates/jacquard-api/src/computer_aesthetic/piece.rs
+++ b/crates/jacquard-api/src/computer_aesthetic/piece.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// A piece (interactive program) from Aesthetic Computer
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -130,7 +130,7 @@ impl LexiconSchema for Piece {
 
 pub mod piece_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -217,10 +217,7 @@ where
     St::Ref: piece_state::IsUnset,
 {
     /// Set the `ref` field (required)
-    pub fn r#ref(
-        mut self,
-        value: impl Into,
-    ) -> PieceBuilder> {
+    pub fn r#ref(mut self, value: impl Into) -> PieceBuilder> {
         self._fields.0 = Option::Some(value.into());
         PieceBuilder {
             _state: PhantomData,
@@ -236,10 +233,7 @@ where
     St::Slug: piece_state::IsUnset,
 {
     /// Set the `slug` field (required)
-    pub fn slug(
-        mut self,
-        value: impl Into,
-    ) -> PieceBuilder> {
+    pub fn slug(mut self, value: impl Into) -> PieceBuilder> {
         self._fields.1 = Option::Some(value.into());
         PieceBuilder {
             _state: PhantomData,
@@ -255,10 +249,7 @@ where
     St::When: piece_state::IsUnset,
 {
     /// Set the `when` field (required)
-    pub fn when(
-        mut self,
-        value: impl Into,
-    ) -> PieceBuilder> {
+    pub fn when(mut self, value: impl Into) -> PieceBuilder> {
         self._fields.2 = Option::Some(value.into());
         PieceBuilder {
             _state: PhantomData,
@@ -296,10 +287,10 @@ where
 }
 
 fn lexicon_doc_computer_aesthetic_piece() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("computer.aesthetic.piece"),
@@ -308,30 +299,25 @@ fn lexicon_doc_computer_aesthetic_piece() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static(
-                            "A piece (interactive program) from Aesthetic Computer",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "A piece (interactive program) from Aesthetic Computer",
+                    )),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("slug"), SmolStr::new_static("when"),
-                                SmolStr::new_static("ref")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("slug"),
+                            SmolStr::new_static("when"),
+                            SmolStr::new_static("ref"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
                             map.insert(
                                 SmolStr::new_static("ref"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "MongoDB ObjectId reference for bidirectional sync",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "MongoDB ObjectId reference for bidirectional sync",
+                                    )),
                                     max_length: Some(24usize),
                                     ..Default::default()
                                 }),
@@ -339,9 +325,9 @@ fn lexicon_doc_computer_aesthetic_piece() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("slug"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("The piece identifier (e.g., 'wand')"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "The piece identifier (e.g., 'wand')",
+                                    )),
                                     max_length: Some(100usize),
                                     ..Default::default()
                                 }),
@@ -349,9 +335,9 @@ fn lexicon_doc_computer_aesthetic_piece() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("when"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("Creation timestamp (ISO 8601)"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Creation timestamp (ISO 8601)",
+                                    )),
                                     format: Some(LexStringFormat::Datetime),
                                     ..Default::default()
                                 }),
@@ -367,4 +353,4 @@ fn lexicon_doc_computer_aesthetic_piece() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/computer_aesthetic/tape.rs b/crates/jacquard-api/src/computer_aesthetic/tape.rs
index d844e15d..fbfe9952 100644
--- a/crates/jacquard-api/src/computer_aesthetic/tape.rs
+++ b/crates/jacquard-api/src/computer_aesthetic/tape.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -27,7 +27,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(
@@ -133,25 +133,20 @@ impl LexiconSchema for Tape {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["image/jpeg", "image/png"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("thumbnail"),
-                        accepted: vec![
-                            "image/jpeg".to_string(), "image/png".to_string()
-                        ],
+                        accepted: vec!["image/jpeg".to_string(), "image/png".to_string()],
                         actual: mime.to_string(),
                     });
                 }
@@ -173,19 +168,16 @@ impl LexiconSchema for Tape {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["video/mp4"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("video"),
@@ -201,7 +193,7 @@ impl LexiconSchema for Tape {
 
 pub mod tape_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -310,10 +302,7 @@ where
     St::Code: tape_state::IsUnset,
 {
     /// Set the `code` field (required)
-    pub fn code(
-        mut self,
-        value: impl Into,
-    ) -> TapeBuilder> {
+    pub fn code(mut self, value: impl Into) -> TapeBuilder> {
         self._fields.1 = Option::Some(value.into());
         TapeBuilder {
             _state: PhantomData,
@@ -342,10 +331,7 @@ where
     St::Slug: tape_state::IsUnset,
 {
     /// Set the `slug` field (required)
-    pub fn slug(
-        mut self,
-        value: impl Into,
-    ) -> TapeBuilder> {
+    pub fn slug(mut self, value: impl Into) -> TapeBuilder> {
         self._fields.3 = Option::Some(value.into());
         TapeBuilder {
             _state: PhantomData,
@@ -387,10 +373,7 @@ where
     St::When: tape_state::IsUnset,
 {
     /// Set the `when` field (required)
-    pub fn when(
-        mut self,
-        value: impl Into,
-    ) -> TapeBuilder> {
+    pub fn when(mut self, value: impl Into) -> TapeBuilder> {
         self._fields.6 = Option::Some(value.into());
         TapeBuilder {
             _state: PhantomData,
@@ -451,10 +434,10 @@ where
 }
 
 fn lexicon_doc_computer_aesthetic_tape() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("computer.aesthetic.tape"),
@@ -560,4 +543,4 @@ fn lexicon_doc_computer_aesthetic_tape() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/coop_hypha.rs b/crates/jacquard-api/src/coop_hypha.rs
index da14f517..4e93a2ea 100644
--- a/crates/jacquard-api/src/coop_hypha.rs
+++ b/crates/jacquard-api/src/coop_hypha.rs
@@ -4,4 +4,4 @@
 // Any manual changes will be overwritten on the next regeneration.
 
 pub mod pollen;
-pub mod spores;
\ No newline at end of file
+pub mod spores;
diff --git a/crates/jacquard-api/src/coop_hypha/pollen.rs b/crates/jacquard-api/src/coop_hypha/pollen.rs
index 461bec0f..bef29a8a 100644
--- a/crates/jacquard-api/src/coop_hypha/pollen.rs
+++ b/crates/jacquard-api/src/coop_hypha/pollen.rs
@@ -4,4 +4,4 @@
 // Any manual changes will be overwritten on the next regeneration.
 
 pub mod claim;
-pub mod embed;
\ No newline at end of file
+pub mod embed;
diff --git a/crates/jacquard-api/src/coop_hypha/pollen/claim.rs b/crates/jacquard-api/src/coop_hypha/pollen/claim.rs
index bb0bf504..703c3b22 100644
--- a/crates/jacquard-api/src/coop_hypha/pollen/claim.rs
+++ b/crates/jacquard-api/src/coop_hypha/pollen/claim.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -25,11 +25,11 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::com_atproto::repo::strong_ref::StrongRef;
 use crate::coop_hypha::pollen::embed::text::Text;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// A provenance claim linking a perceptual fingerprint (PFP) to a blob.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -115,7 +115,7 @@ impl LexiconSchema for Claim {
 
 pub mod claim_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -224,10 +224,7 @@ where
     St::Cid: claim_state::IsUnset,
 {
     /// Set the `cid` field (required)
-    pub fn cid(
-        mut self,
-        value: impl Into>,
-    ) -> ClaimBuilder> {
+    pub fn cid(mut self, value: impl Into>) -> ClaimBuilder> {
         self._fields.0 = Option::Some(value.into());
         ClaimBuilder {
             _state: PhantomData,
@@ -281,10 +278,7 @@ where
     St::Pfp: claim_state::IsUnset,
 {
     /// Set the `pfp` field (required)
-    pub fn pfp(
-        mut self,
-        value: impl Into>,
-    ) -> ClaimBuilder> {
+    pub fn pfp(mut self, value: impl Into>) -> ClaimBuilder> {
         self._fields.3 = Option::Some(value.into());
         ClaimBuilder {
             _state: PhantomData,
@@ -340,10 +334,10 @@ where
 }
 
 fn lexicon_doc_coop_hypha_pollen_claim() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("coop.hypha.pollen.claim"),
@@ -352,20 +346,17 @@ fn lexicon_doc_coop_hypha_pollen_claim() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static(
-                            "A provenance claim linking a perceptual fingerprint (PFP) to a blob.",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "A provenance claim linking a perceptual fingerprint (PFP) to a blob.",
+                    )),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("pfp"), SmolStr::new_static("cid"),
-                                SmolStr::new_static("content"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("pfp"),
+                            SmolStr::new_static("cid"),
+                            SmolStr::new_static("content"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -378,21 +369,19 @@ fn lexicon_doc_coop_hypha_pollen_claim() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("content"),
                                 LexObjectProperty::Union(LexRefUnion {
-                                    description: Some(
-                                        CowStr::new_static("Content of the claim, such as text."),
-                                    ),
-                                    refs: vec![
-                                        CowStr::new_static("coop.hypha.pollen.embed.text")
-                                    ],
+                                    description: Some(CowStr::new_static(
+                                        "Content of the claim, such as text.",
+                                    )),
+                                    refs: vec![CowStr::new_static("coop.hypha.pollen.embed.text")],
                                     ..Default::default()
                                 }),
                             );
                             map.insert(
                                 SmolStr::new_static("createdAt"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("Timestamp when this claim was created."),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Timestamp when this claim was created.",
+                                    )),
                                     format: Some(LexStringFormat::Datetime),
                                     ..Default::default()
                                 }),
@@ -422,4 +411,4 @@ fn lexicon_doc_coop_hypha_pollen_claim() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/coop_hypha/pollen/embed.rs b/crates/jacquard-api/src/coop_hypha/pollen/embed.rs
index 946ca264..c0589bc1 100644
--- a/crates/jacquard-api/src/coop_hypha/pollen/embed.rs
+++ b/crates/jacquard-api/src/coop_hypha/pollen/embed.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod text;
\ No newline at end of file
+pub mod text;
diff --git a/crates/jacquard-api/src/coop_hypha/pollen/embed/text.rs b/crates/jacquard-api/src/coop_hypha/pollen/embed/text.rs
index e6abf6c8..070ced68 100644
--- a/crates/jacquard-api/src/coop_hypha/pollen/embed/text.rs
+++ b/crates/jacquard-api/src/coop_hypha/pollen/embed/text.rs
@@ -7,7 +7,7 @@
 
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -19,11 +19,14 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// Free-form text content for a claim.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Text {
     ///Context or description of the provenance claim.
     pub text: S,
@@ -47,10 +50,10 @@ impl LexiconSchema for Text {
 }
 
 fn lexicon_doc_coop_hypha_pollen_embed_text() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("coop.hypha.pollen.embed.text"),
@@ -59,9 +62,7 @@ fn lexicon_doc_coop_hypha_pollen_embed_text() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("Free-form text content for a claim."),
-                    ),
+                    description: Some(CowStr::new_static("Free-form text content for a claim.")),
                     required: Some(vec![SmolStr::new_static("text")]),
                     properties: {
                         #[allow(unused_mut)]
@@ -69,11 +70,9 @@ fn lexicon_doc_coop_hypha_pollen_embed_text() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("text"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "Context or description of the provenance claim.",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Context or description of the provenance claim.",
+                                )),
                                 ..Default::default()
                             }),
                         );
@@ -86,4 +85,4 @@ fn lexicon_doc_coop_hypha_pollen_embed_text() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/coop_hypha/spores.rs b/crates/jacquard-api/src/coop_hypha/spores.rs
index 4d176811..e50d7797 100644
--- a/crates/jacquard-api/src/coop_hypha/spores.rs
+++ b/crates/jacquard-api/src/coop_hypha/spores.rs
@@ -6,4 +6,4 @@
 pub mod content;
 pub mod item;
 pub mod site;
-pub mod social;
\ No newline at end of file
+pub mod social;
diff --git a/crates/jacquard-api/src/coop_hypha/spores/content.rs b/crates/jacquard-api/src/coop_hypha/spores/content.rs
index 01216787..7a381fc9 100644
--- a/crates/jacquard-api/src/coop_hypha/spores/content.rs
+++ b/crates/jacquard-api/src/coop_hypha/spores/content.rs
@@ -4,4 +4,4 @@
 // Any manual changes will be overwritten on the next regeneration.
 
 pub mod image;
-pub mod text;
\ No newline at end of file
+pub mod text;
diff --git a/crates/jacquard-api/src/coop_hypha/spores/content/image.rs b/crates/jacquard-api/src/coop_hypha/spores/content/image.rs
index 94d9db2f..d8730984 100644
--- a/crates/jacquard-api/src/coop_hypha/spores/content/image.rs
+++ b/crates/jacquard-api/src/coop_hypha/spores/content/image.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -27,7 +27,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// An image uploaded to the garden.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -125,19 +125,16 @@ impl LexiconSchema for Image {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["image/*"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("image"),
@@ -175,7 +172,7 @@ impl LexiconSchema for Image {
 
 pub mod image_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -220,7 +217,12 @@ pub mod image_state {
 /// Builder for constructing an instance of this type.
 pub struct ImageBuilder {
     _state: PhantomData St>,
-    _fields: (Option, Option>, Option>, Option),
+    _fields: (
+        Option,
+        Option>,
+        Option>,
+        Option,
+    ),
     _type: PhantomData S>,
 }
 
@@ -335,10 +337,10 @@ where
 }
 
 fn lexicon_doc_coop_hypha_spores_content_image() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("coop.hypha.spores.content.image"),
@@ -347,28 +349,22 @@ fn lexicon_doc_coop_hypha_spores_content_image() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static("An image uploaded to the garden."),
-                    ),
+                    description: Some(CowStr::new_static("An image uploaded to the garden.")),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("image"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("image"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
                             map.insert(
                                 SmolStr::new_static("createdAt"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "Client-declared timestamp when the image was uploaded.",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Client-declared timestamp when the image was uploaded.",
+                                    )),
                                     format: Some(LexStringFormat::Datetime),
                                     ..Default::default()
                                 }),
@@ -381,14 +377,16 @@ fn lexicon_doc_coop_hypha_spores_content_image() -> LexiconDoc<'static> {
                             );
                             map.insert(
                                 SmolStr::new_static("image"),
-                                LexObjectProperty::Blob(LexBlob { ..Default::default() }),
+                                LexObjectProperty::Blob(LexBlob {
+                                    ..Default::default()
+                                }),
                             );
                             map.insert(
                                 SmolStr::new_static("title"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("Optional title for the image."),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Optional title for the image.",
+                                    )),
                                     max_length: Some(2000usize),
                                     max_graphemes: Some(200usize),
                                     ..Default::default()
@@ -405,4 +403,4 @@ fn lexicon_doc_coop_hypha_spores_content_image() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/coop_hypha/spores/content/text.rs b/crates/jacquard-api/src/coop_hypha/spores/content/text.rs
index ac7056af..537c7d7d 100644
--- a/crates/jacquard-api/src/coop_hypha/spores/content/text.rs
+++ b/crates/jacquard-api/src/coop_hypha/spores/content/text.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// Custom content block for spores.garden sites
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -241,7 +241,7 @@ impl LexiconSchema for Text {
 
 pub mod text_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -286,7 +286,12 @@ pub mod text_state {
 /// Builder for constructing an instance of this type.
 pub struct TextBuilder {
     _state: PhantomData St>,
-    _fields: (Option, Option, Option>, Option),
+    _fields: (
+        Option,
+        Option,
+        Option>,
+        Option,
+    ),
     _type: PhantomData S>,
 }
 
@@ -314,10 +319,7 @@ where
     St::Content: text_state::IsUnset,
 {
     /// Set the `content` field (required)
-    pub fn content(
-        mut self,
-        value: impl Into,
-    ) -> TextBuilder> {
+    pub fn content(mut self, value: impl Into) -> TextBuilder> {
         self._fields.0 = Option::Some(value.into());
         TextBuilder {
             _state: PhantomData,
@@ -401,10 +403,10 @@ where
 }
 
 fn lexicon_doc_coop_hypha_spores_content_text() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("coop.hypha.spores.content.text"),
@@ -413,19 +415,15 @@ fn lexicon_doc_coop_hypha_spores_content_text() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static(
-                            "Custom content block for spores.garden sites",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Custom content block for spores.garden sites",
+                    )),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("content"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("content"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -473,4 +471,4 @@ fn lexicon_doc_coop_hypha_spores_content_text() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/coop_hypha/spores/item.rs b/crates/jacquard-api/src/coop_hypha/spores/item.rs
index baf981a0..2f699945 100644
--- a/crates/jacquard-api/src/coop_hypha/spores/item.rs
+++ b/crates/jacquard-api/src/coop_hypha/spores/item.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod special_spore;
\ No newline at end of file
+pub mod special_spore;
diff --git a/crates/jacquard-api/src/coop_hypha/spores/item/special_spore.rs b/crates/jacquard-api/src/coop_hypha/spores/item/special_spore.rs
index bf8e6d35..cabf9567 100644
--- a/crates/jacquard-api/src/coop_hypha/spores/item/special_spore.rs
+++ b/crates/jacquard-api/src/coop_hypha/spores/item/special_spore.rs
@@ -10,13 +10,13 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::collection::{Collection, RecordError};
-use jacquard_common::types::string::{Did, AtUri, Cid, Datetime};
+use jacquard_common::types::string::{AtUri, Cid, Datetime, Did};
 use jacquard_common::types::uri::{RecordUri, UriError};
 use jacquard_common::types::value::Data;
 use jacquard_common::xrpc::XrpcResp;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// A special spore capture record. Each steal creates a new record with a TID key. Current holder is determined by the most recent createdAt timestamp across all backlinked records for a given origin (subject).
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -106,7 +106,7 @@ impl LexiconSchema for SpecialSpore {
 
 pub mod special_spore_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -226,10 +226,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> SpecialSpore {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> SpecialSpore {
         SpecialSpore {
             created_at: self._fields.0.unwrap(),
             subject: self._fields.1.unwrap(),
@@ -239,10 +236,10 @@ where
 }
 
 fn lexicon_doc_coop_hypha_spores_item_specialSpore() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("coop.hypha.spores.item.specialSpore"),
@@ -300,4 +297,4 @@ fn lexicon_doc_coop_hypha_spores_item_specialSpore() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/coop_hypha/spores/site.rs b/crates/jacquard-api/src/coop_hypha/spores/site.rs
index ff95a658..d1e3fdbf 100644
--- a/crates/jacquard-api/src/coop_hypha/spores/site.rs
+++ b/crates/jacquard-api/src/coop_hypha/spores/site.rs
@@ -6,4 +6,4 @@
 pub mod config;
 pub mod layout;
 pub mod profile;
-pub mod section;
\ No newline at end of file
+pub mod section;
diff --git a/crates/jacquard-api/src/coop_hypha/spores/site/config.rs b/crates/jacquard-api/src/coop_hypha/spores/site/config.rs
index dcbdd4be..f3c3f6ab 100644
--- a/crates/jacquard-api/src/coop_hypha/spores/site/config.rs
+++ b/crates/jacquard-api/src/coop_hypha/spores/site/config.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// Site configuration for spores.garden, including title and subtitle.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -552,7 +552,7 @@ impl LexiconSchema for Config {
 
 pub mod config_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -629,10 +629,7 @@ impl ConfigBuilder {
 
 impl ConfigBuilder {
     /// Set the `fontHeading` field (optional)
-    pub fn font_heading(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn font_heading(mut self, value: impl Into>>) -> Self {
         self._fields.2 = value.into();
         self
     }
@@ -645,10 +642,7 @@ impl ConfigBuilder {
 
 impl ConfigBuilder {
     /// Set the `headingFont` field (optional)
-    pub fn heading_font(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn heading_font(mut self, value: impl Into>>) -> Self {
         self._fields.3 = value.into();
         self
     }
@@ -716,10 +710,10 @@ where
 }
 
 fn lexicon_doc_coop_hypha_spores_site_config() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("coop.hypha.spores.site.config"),
@@ -728,11 +722,9 @@ fn lexicon_doc_coop_hypha_spores_site_config() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static(
-                            "Site configuration for spores.garden, including title and subtitle.",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Site configuration for spores.garden, including title and subtitle.",
+                    )),
                     key: Some(CowStr::new_static("literal:self")),
                     record: LexRecordRecord::Object(LexObject {
                         properties: {
@@ -749,9 +741,9 @@ fn lexicon_doc_coop_hypha_spores_site_config() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("fontBody"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("Deprecated legacy key for body font ID"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Deprecated legacy key for body font ID",
+                                    )),
                                     max_length: Some(50usize),
                                     ..Default::default()
                                 }),
@@ -759,11 +751,9 @@ fn lexicon_doc_coop_hypha_spores_site_config() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("fontHeading"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "Deprecated legacy key for heading font ID",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Deprecated legacy key for heading font ID",
+                                    )),
                                     max_length: Some(50usize),
                                     ..Default::default()
                                 }),
@@ -805,4 +795,4 @@ fn lexicon_doc_coop_hypha_spores_site_config() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/coop_hypha/spores/site/layout.rs b/crates/jacquard-api/src/coop_hypha/spores/site/layout.rs
index 298b1f2b..ccabc2ea 100644
--- a/crates/jacquard-api/src/coop_hypha/spores/site/layout.rs
+++ b/crates/jacquard-api/src/coop_hypha/spores/site/layout.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// Site layout for spores.garden, defining the order of sections.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -104,7 +104,7 @@ impl LexiconSchema for Layout {
 
 pub mod layout_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -200,10 +200,10 @@ where
 }
 
 fn lexicon_doc_coop_hypha_spores_site_layout() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("coop.hypha.spores.site.layout"),
@@ -212,11 +212,9 @@ fn lexicon_doc_coop_hypha_spores_site_layout() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static(
-                            "Site layout for spores.garden, defining the order of sections.",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Site layout for spores.garden, defining the order of sections.",
+                    )),
                     key: Some(CowStr::new_static("literal:self")),
                     record: LexRecordRecord::Object(LexObject {
                         required: Some(vec![SmolStr::new_static("sections")]),
@@ -226,17 +224,13 @@ fn lexicon_doc_coop_hypha_spores_site_layout() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("sections"),
                                 LexObjectProperty::Array(LexArray {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "Ordered list of section AT-URIs to display",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Ordered list of section AT-URIs to display",
+                                    )),
                                     items: LexArrayItem::String(LexString {
-                                        description: Some(
-                                            CowStr::new_static(
-                                                "AT-URI of a coop.hypha.spores.site.section record",
-                                            ),
-                                        ),
+                                        description: Some(CowStr::new_static(
+                                            "AT-URI of a coop.hypha.spores.site.section record",
+                                        )),
                                         format: Some(LexStringFormat::AtUri),
                                         ..Default::default()
                                     }),
@@ -254,4 +248,4 @@ fn lexicon_doc_coop_hypha_spores_site_layout() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/coop_hypha/spores/site/profile.rs b/crates/jacquard-api/src/coop_hypha/spores/site/profile.rs
index 0c82077c..ec96db82 100644
--- a/crates/jacquard-api/src/coop_hypha/spores/site/profile.rs
+++ b/crates/jacquard-api/src/coop_hypha/spores/site/profile.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -27,7 +27,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// Custom profile information for spores.garden sites
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -130,31 +130,25 @@ impl LexiconSchema for Profile {
         if let Some(ref value) = self.avatar {
             {
                 let mime = value.blob().mime_type.as_str();
-                let accepted: &[&str] = &[
-                    "image/png",
-                    "image/jpeg",
-                    "image/webp",
-                    "image/gif",
-                ];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let accepted: &[&str] = &["image/png", "image/jpeg", "image/webp", "image/gif"];
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("avatar"),
                         accepted: vec![
-                            "image/png".to_string(), "image/jpeg".to_string(),
-                            "image/webp".to_string(), "image/gif".to_string()
+                            "image/png".to_string(),
+                            "image/jpeg".to_string(),
+                            "image/webp".to_string(),
+                            "image/gif".to_string(),
                         ],
                         actual: mime.to_string(),
                     });
@@ -176,31 +170,25 @@ impl LexiconSchema for Profile {
         if let Some(ref value) = self.banner {
             {
                 let mime = value.blob().mime_type.as_str();
-                let accepted: &[&str] = &[
-                    "image/png",
-                    "image/jpeg",
-                    "image/webp",
-                    "image/gif",
-                ];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let accepted: &[&str] = &["image/png", "image/jpeg", "image/webp", "image/gif"];
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("banner"),
                         accepted: vec![
-                            "image/png".to_string(), "image/jpeg".to_string(),
-                            "image/webp".to_string(), "image/gif".to_string()
+                            "image/png".to_string(),
+                            "image/jpeg".to_string(),
+                            "image/webp".to_string(),
+                            "image/gif".to_string(),
                         ],
                         actual: mime.to_string(),
                     });
@@ -257,7 +245,7 @@ impl LexiconSchema for Profile {
 
 pub mod profile_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -415,10 +403,10 @@ where
 }
 
 fn lexicon_doc_coop_hypha_spores_site_profile() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("coop.hypha.spores.site.profile"),
@@ -427,11 +415,9 @@ fn lexicon_doc_coop_hypha_spores_site_profile() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static(
-                            "Custom profile information for spores.garden sites",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Custom profile information for spores.garden sites",
+                    )),
                     key: Some(CowStr::new_static("literal:self")),
                     record: LexRecordRecord::Object(LexObject {
                         properties: {
@@ -439,11 +425,15 @@ fn lexicon_doc_coop_hypha_spores_site_profile() -> LexiconDoc<'static> {
                             let mut map = BTreeMap::new();
                             map.insert(
                                 SmolStr::new_static("avatar"),
-                                LexObjectProperty::Blob(LexBlob { ..Default::default() }),
+                                LexObjectProperty::Blob(LexBlob {
+                                    ..Default::default()
+                                }),
                             );
                             map.insert(
                                 SmolStr::new_static("banner"),
-                                LexObjectProperty::Blob(LexBlob { ..Default::default() }),
+                                LexObjectProperty::Blob(LexBlob {
+                                    ..Default::default()
+                                }),
                             );
                             map.insert(
                                 SmolStr::new_static("createdAt"),
@@ -456,9 +446,9 @@ fn lexicon_doc_coop_hypha_spores_site_profile() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("description"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("Profile description/bio"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Profile description/bio",
+                                    )),
                                     max_length: Some(50000usize),
                                     max_graphemes: Some(5000usize),
                                     ..Default::default()
@@ -476,9 +466,7 @@ fn lexicon_doc_coop_hypha_spores_site_profile() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("updatedAt"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("Last update timestamp"),
-                                    ),
+                                    description: Some(CowStr::new_static("Last update timestamp")),
                                     format: Some(LexStringFormat::Datetime),
                                     ..Default::default()
                                 }),
@@ -494,4 +482,4 @@ fn lexicon_doc_coop_hypha_spores_site_profile() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/coop_hypha/spores/site/section.rs b/crates/jacquard-api/src/coop_hypha/spores/site/section.rs
index 4f90bcdf..f60b2264 100644
--- a/crates/jacquard-api/src/coop_hypha/spores/site/section.rs
+++ b/crates/jacquard-api/src/coop_hypha/spores/site/section.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// A single site section for spores.garden. Each section is a record in a collection.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -481,7 +481,7 @@ impl LexiconSchema for Section {
 
 pub mod section_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -542,7 +542,9 @@ impl SectionBuilder {
     pub fn new() -> Self {
         SectionBuilder {
             _state: PhantomData,
-            _fields: (None, None, None, None, None, None, None, None, None, None, None),
+            _fields: (
+                None, None, None, None, None, None, None, None, None, None, None,
+            ),
             _type: PhantomData,
         }
     }
@@ -739,10 +741,10 @@ where
 }
 
 fn lexicon_doc_coop_hypha_spores_site_section() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("coop.hypha.spores.site.section"),
@@ -879,4 +881,4 @@ fn lexicon_doc_coop_hypha_spores_site_section() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/coop_hypha/spores/social.rs b/crates/jacquard-api/src/coop_hypha/spores/social.rs
index e4c95260..f0f7b8d5 100644
--- a/crates/jacquard-api/src/coop_hypha/spores/social.rs
+++ b/crates/jacquard-api/src/coop_hypha/spores/social.rs
@@ -4,4 +4,4 @@
 // Any manual changes will be overwritten on the next regeneration.
 
 pub mod flower;
-pub mod taken_flower;
\ No newline at end of file
+pub mod taken_flower;
diff --git a/crates/jacquard-api/src/coop_hypha/spores/social/flower.rs b/crates/jacquard-api/src/coop_hypha/spores/social/flower.rs
index b3d3e0bb..18eb4cc9 100644
--- a/crates/jacquard-api/src/coop_hypha/spores/social/flower.rs
+++ b/crates/jacquard-api/src/coop_hypha/spores/social/flower.rs
@@ -10,13 +10,13 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::collection::{Collection, RecordError};
-use jacquard_common::types::string::{Did, AtUri, Cid, Datetime};
+use jacquard_common::types::string::{AtUri, Cid, Datetime, Did};
 use jacquard_common::types::uri::{RecordUri, UriError};
 use jacquard_common::types::value::Data;
 use jacquard_common::xrpc::XrpcResp;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// A flower planted in another user's garden, representing a 'like' or 'follow'.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -106,7 +106,7 @@ impl LexiconSchema for Flower {
 
 pub mod flower_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -236,10 +236,10 @@ where
 }
 
 fn lexicon_doc_coop_hypha_spores_social_flower() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("coop.hypha.spores.social.flower"),
@@ -299,4 +299,4 @@ fn lexicon_doc_coop_hypha_spores_social_flower() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/coop_hypha/spores/social/taken_flower.rs b/crates/jacquard-api/src/coop_hypha/spores/social/taken_flower.rs
index c819b107..d7cb5abe 100644
--- a/crates/jacquard-api/src/coop_hypha/spores/social/taken_flower.rs
+++ b/crates/jacquard-api/src/coop_hypha/spores/social/taken_flower.rs
@@ -10,13 +10,13 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::collection::{Collection, RecordError};
-use jacquard_common::types::string::{Did, AtUri, Cid, Datetime};
+use jacquard_common::types::string::{AtUri, Cid, Datetime, Did};
 use jacquard_common::types::uri::{RecordUri, UriError};
 use jacquard_common::types::value::Data;
 use jacquard_common::xrpc::XrpcResp;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// A flower taken from another user's garden, representing a bookmark or collection.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -131,7 +131,7 @@ impl LexiconSchema for TakenFlower {
 
 pub mod taken_flower_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -265,10 +265,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> TakenFlower {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> TakenFlower {
         TakenFlower {
             created_at: self._fields.0.unwrap(),
             note: self._fields.1,
@@ -279,10 +276,10 @@ where
 }
 
 fn lexicon_doc_coop_hypha_spores_social_takenFlower() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("coop.hypha.spores.social.takenFlower"),
@@ -355,4 +352,4 @@ fn lexicon_doc_coop_hypha_spores_social_takenFlower() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/dev_baileytownsend.rs b/crates/jacquard-api/src/dev_baileytownsend.rs
index c4631ad9..312541ec 100644
--- a/crates/jacquard-api/src/dev_baileytownsend.rs
+++ b/crates/jacquard-api/src/dev_baileytownsend.rs
@@ -4,4 +4,4 @@
 // Any manual changes will be overwritten on the next regeneration.
 
 pub mod demo;
-pub mod health;
\ No newline at end of file
+pub mod health;
diff --git a/crates/jacquard-api/src/dev_baileytownsend/demo.rs b/crates/jacquard-api/src/dev_baileytownsend/demo.rs
index 908d8db3..41d34567 100644
--- a/crates/jacquard-api/src/dev_baileytownsend/demo.rs
+++ b/crates/jacquard-api/src/dev_baileytownsend/demo.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod example;
\ No newline at end of file
+pub mod example;
diff --git a/crates/jacquard-api/src/dev_baileytownsend/demo/example.rs b/crates/jacquard-api/src/dev_baileytownsend/demo/example.rs
index 4d70f50b..bf3ab70b 100644
--- a/crates/jacquard-api/src/dev_baileytownsend/demo/example.rs
+++ b/crates/jacquard-api/src/dev_baileytownsend/demo/example.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// An example record for showing permissions ets
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -140,7 +140,7 @@ impl LexiconSchema for Example {
 
 pub mod example_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -232,10 +232,7 @@ where
     St::Name: example_state::IsUnset,
 {
     /// Set the `name` field (required)
-    pub fn name(
-        mut self,
-        value: impl Into,
-    ) -> ExampleBuilder> {
+    pub fn name(mut self, value: impl Into) -> ExampleBuilder> {
         self._fields.1 = Option::Some(value.into());
         ExampleBuilder {
             _state: PhantomData,
@@ -270,10 +267,10 @@ where
 }
 
 fn lexicon_doc_dev_baileytownsend_demo_example() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("dev.baileytownsend.demo.example"),
@@ -282,19 +279,15 @@ fn lexicon_doc_dev_baileytownsend_demo_example() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static(
-                            "An example record for showing permissions ets",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "An example record for showing permissions ets",
+                    )),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("name"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("name"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -308,9 +301,7 @@ fn lexicon_doc_dev_baileytownsend_demo_example() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("name"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("A name of something"),
-                                    ),
+                                    description: Some(CowStr::new_static("A name of something")),
                                     min_length: Some(1usize),
                                     max_length: Some(640usize),
                                     max_graphemes: Some(64usize),
@@ -328,4 +319,4 @@ fn lexicon_doc_dev_baileytownsend_demo_example() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/dev_baileytownsend/health.rs b/crates/jacquard-api/src/dev_baileytownsend/health.rs
index eb5cff9d..557fa1bf 100644
--- a/crates/jacquard-api/src/dev_baileytownsend/health.rs
+++ b/crates/jacquard-api/src/dev_baileytownsend/health.rs
@@ -6,4 +6,4 @@
 pub mod calories;
 pub mod rings;
 pub mod steps;
-pub mod workout;
\ No newline at end of file
+pub mod workout;
diff --git a/crates/jacquard-api/src/dev_baileytownsend/health/calories.rs b/crates/jacquard-api/src/dev_baileytownsend/health/calories.rs
index bd4618af..ce57e553 100644
--- a/crates/jacquard-api/src/dev_baileytownsend/health/calories.rs
+++ b/crates/jacquard-api/src/dev_baileytownsend/health/calories.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// A record of daily intake and burned calories.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -105,7 +105,7 @@ impl LexiconSchema for Calories {
 
 pub mod calories_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -271,10 +271,10 @@ where
 }
 
 fn lexicon_doc_dev_baileytownsend_health_calories() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("dev.baileytownsend.health.calories"),
@@ -283,20 +283,16 @@ fn lexicon_doc_dev_baileytownsend_health_calories() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static(
-                            "A record of daily intake and burned calories.",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "A record of daily intake and burned calories.",
+                    )),
                     key: Some(CowStr::new_static("any")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("intake"),
-                                SmolStr::new_static("burned"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("intake"),
+                            SmolStr::new_static("burned"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -330,4 +326,4 @@ fn lexicon_doc_dev_baileytownsend_health_calories() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/dev_baileytownsend/health/rings.rs b/crates/jacquard-api/src/dev_baileytownsend/health/rings.rs
index e201488d..9a061b8d 100644
--- a/crates/jacquard-api/src/dev_baileytownsend/health/rings.rs
+++ b/crates/jacquard-api/src/dev_baileytownsend/health/rings.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// A record of daily activity rings (Apple Fitness), including move, exercise, and stand goals.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -115,7 +115,7 @@ impl LexiconSchema for Rings {
 
 pub mod rings_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -343,10 +343,7 @@ where
     St::Move: rings_state::IsUnset,
 {
     /// Set the `move` field (required)
-    pub fn r#move(
-        mut self,
-        value: impl Into,
-    ) -> RingsBuilder> {
+    pub fn r#move(mut self, value: impl Into) -> RingsBuilder> {
         self._fields.3 = Option::Some(value.into());
         RingsBuilder {
             _state: PhantomData,
@@ -453,10 +450,10 @@ where
 }
 
 fn lexicon_doc_dev_baileytownsend_health_rings() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("dev.baileytownsend.health.rings"),
@@ -540,4 +537,4 @@ fn lexicon_doc_dev_baileytownsend_health_rings() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/dev_baileytownsend/health/steps.rs b/crates/jacquard-api/src/dev_baileytownsend/health/steps.rs
index c2fc6667..4a615ee2 100644
--- a/crates/jacquard-api/src/dev_baileytownsend/health/steps.rs
+++ b/crates/jacquard-api/src/dev_baileytownsend/health/steps.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(
@@ -103,7 +103,7 @@ impl LexiconSchema for Steps {
 
 pub mod steps_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -195,10 +195,7 @@ where
     St::Steps: steps_state::IsUnset,
 {
     /// Set the `steps` field (required)
-    pub fn steps(
-        mut self,
-        value: impl Into,
-    ) -> StepsBuilder> {
+    pub fn steps(mut self, value: impl Into) -> StepsBuilder> {
         self._fields.1 = Option::Some(value.into());
         StepsBuilder {
             _state: PhantomData,
@@ -233,10 +230,10 @@ where
 }
 
 fn lexicon_doc_dev_baileytownsend_health_steps() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("dev.baileytownsend.health.steps"),
@@ -247,12 +244,10 @@ fn lexicon_doc_dev_baileytownsend_health_steps() -> LexiconDoc<'static> {
                 LexUserType::Record(LexRecord {
                     key: Some(CowStr::new_static("any")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("steps"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("steps"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -280,4 +275,4 @@ fn lexicon_doc_dev_baileytownsend_health_steps() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/dev_baileytownsend/health/workout.rs b/crates/jacquard-api/src/dev_baileytownsend/health/workout.rs
index 9e69dc1f..1ce45d97 100644
--- a/crates/jacquard-api/src/dev_baileytownsend/health/workout.rs
+++ b/crates/jacquard-api/src/dev_baileytownsend/health/workout.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(
@@ -113,7 +113,7 @@ impl LexiconSchema for Workout {
 
 pub mod workout_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -422,10 +422,10 @@ where
 }
 
 fn lexicon_doc_dev_baileytownsend_health_workout() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("dev.baileytownsend.health.workout"),
@@ -436,27 +436,23 @@ fn lexicon_doc_dev_baileytownsend_health_workout() -> LexiconDoc<'static> {
                 LexUserType::Record(LexRecord {
                     key: Some(CowStr::new_static("any")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("activity"),
-                                SmolStr::new_static("caloriesBurned"),
-                                SmolStr::new_static("duration"),
-                                SmolStr::new_static("startTime"),
-                                SmolStr::new_static("endTime"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("activity"),
+                            SmolStr::new_static("caloriesBurned"),
+                            SmolStr::new_static("duration"),
+                            SmolStr::new_static("startTime"),
+                            SmolStr::new_static("endTime"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
                             map.insert(
                                 SmolStr::new_static("activity"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "Type of activity. Walking, running, weights, etc.",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Type of activity. Walking, running, weights, etc.",
+                                    )),
                                     ..Default::default()
                                 }),
                             );
@@ -476,22 +472,18 @@ fn lexicon_doc_dev_baileytownsend_health_workout() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("distance"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "Distance covered during the workout (optional).",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Distance covered during the workout (optional).",
+                                    )),
                                     ..Default::default()
                                 }),
                             );
                             map.insert(
                                 SmolStr::new_static("duration"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "How long the workout lasted in minutes.",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "How long the workout lasted in minutes.",
+                                    )),
                                     ..Default::default()
                                 }),
                             );
@@ -520,4 +512,4 @@ fn lexicon_doc_dev_baileytownsend_health_workout() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/dev_fudgeu.rs b/crates/jacquard-api/src/dev_fudgeu.rs
index adfefa80..56c985b9 100644
--- a/crates/jacquard-api/src/dev_fudgeu.rs
+++ b/crates/jacquard-api/src/dev_fudgeu.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod experimental;
\ No newline at end of file
+pub mod experimental;
diff --git a/crates/jacquard-api/src/dev_fudgeu/experimental.rs b/crates/jacquard-api/src/dev_fudgeu/experimental.rs
index 777b9c50..07ec7a23 100644
--- a/crates/jacquard-api/src/dev_fudgeu/experimental.rs
+++ b/crates/jacquard-api/src/dev_fudgeu/experimental.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod atforumv1;
\ No newline at end of file
+pub mod atforumv1;
diff --git a/crates/jacquard-api/src/dev_fudgeu/experimental/atforumv1.rs b/crates/jacquard-api/src/dev_fudgeu/experimental/atforumv1.rs
index 5ce5d0af..300b7424 100644
--- a/crates/jacquard-api/src/dev_fudgeu/experimental/atforumv1.rs
+++ b/crates/jacquard-api/src/dev_fudgeu/experimental/atforumv1.rs
@@ -4,4 +4,4 @@
 // Any manual changes will be overwritten on the next regeneration.
 
 pub mod feed;
-pub mod forum;
\ No newline at end of file
+pub mod forum;
diff --git a/crates/jacquard-api/src/dev_fudgeu/experimental/atforumv1/feed.rs b/crates/jacquard-api/src/dev_fudgeu/experimental/atforumv1/feed.rs
index 834f7424..c3412815 100644
--- a/crates/jacquard-api/src/dev_fudgeu/experimental/atforumv1/feed.rs
+++ b/crates/jacquard-api/src/dev_fudgeu/experimental/atforumv1/feed.rs
@@ -5,4 +5,4 @@
 
 pub mod post;
 pub mod question;
-pub mod reply;
\ No newline at end of file
+pub mod reply;
diff --git a/crates/jacquard-api/src/dev_fudgeu/experimental/atforumv1/feed/post.rs b/crates/jacquard-api/src/dev_fudgeu/experimental/atforumv1/feed/post.rs
index 8c83091b..6650578c 100644
--- a/crates/jacquard-api/src/dev_fudgeu/experimental/atforumv1/feed/post.rs
+++ b/crates/jacquard-api/src/dev_fudgeu/experimental/atforumv1/feed/post.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -27,7 +27,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// An initial post that starts a discussion
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -168,7 +168,7 @@ impl LexiconSchema for Post {
 
 pub mod post_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -337,10 +337,7 @@ where
     St::Content: post_state::IsUnset,
 {
     /// Set the `content` field (required)
-    pub fn content(
-        mut self,
-        value: impl Into,
-    ) -> PostBuilder> {
+    pub fn content(mut self, value: impl Into) -> PostBuilder> {
         self._fields.1 = Option::Some(value.into());
         PostBuilder {
             _state: PhantomData,
@@ -407,10 +404,7 @@ where
     St::Tags: post_state::IsUnset,
 {
     /// Set the `tags` field (required)
-    pub fn tags(
-        mut self,
-        value: impl Into>,
-    ) -> PostBuilder> {
+    pub fn tags(mut self, value: impl Into>) -> PostBuilder> {
         self._fields.5 = Option::Some(value.into());
         PostBuilder {
             _state: PhantomData,
@@ -426,10 +420,7 @@ where
     St::Title: post_state::IsUnset,
 {
     /// Set the `title` field (required)
-    pub fn title(
-        mut self,
-        value: impl Into,
-    ) -> PostBuilder> {
+    pub fn title(mut self, value: impl Into) -> PostBuilder> {
         self._fields.6 = Option::Some(value.into());
         PostBuilder {
             _state: PhantomData,
@@ -493,10 +484,10 @@ where
 }
 
 fn lexicon_doc_dev_fudgeu_experimental_atforumv1_feed_post() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("dev.fudgeu.experimental.atforumv1.feed.post"),
@@ -505,20 +496,19 @@ fn lexicon_doc_dev_fudgeu_experimental_atforumv1_feed_post() -> LexiconDoc<'stat
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static("An initial post that starts a discussion"),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "An initial post that starts a discussion",
+                    )),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("title"),
-                                SmolStr::new_static("content"),
-                                SmolStr::new_static("createdAt"),
-                                SmolStr::new_static("category"),
-                                SmolStr::new_static("forum"), SmolStr::new_static("tags")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("title"),
+                            SmolStr::new_static("content"),
+                            SmolStr::new_static("createdAt"),
+                            SmolStr::new_static("category"),
+                            SmolStr::new_static("forum"),
+                            SmolStr::new_static("tags"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -596,4 +586,4 @@ fn lexicon_doc_dev_fudgeu_experimental_atforumv1_feed_post() -> LexiconDoc<'stat
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/dev_fudgeu/experimental/atforumv1/feed/question.rs b/crates/jacquard-api/src/dev_fudgeu/experimental/atforumv1/feed/question.rs
index 797e5ce6..e904d0ed 100644
--- a/crates/jacquard-api/src/dev_fudgeu/experimental/atforumv1/feed/question.rs
+++ b/crates/jacquard-api/src/dev_fudgeu/experimental/atforumv1/feed/question.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -27,7 +27,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// An initial question that starts a discussion
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -166,7 +166,7 @@ impl LexiconSchema for Question {
 
 pub mod question_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -475,10 +475,10 @@ where
 }
 
 fn lexicon_doc_dev_fudgeu_experimental_atforumv1_feed_question() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("dev.fudgeu.experimental.atforumv1.feed.question"),
@@ -487,22 +487,19 @@ fn lexicon_doc_dev_fudgeu_experimental_atforumv1_feed_question() -> LexiconDoc<'
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static(
-                            "An initial question that starts a discussion",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "An initial question that starts a discussion",
+                    )),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("title"),
-                                SmolStr::new_static("content"),
-                                SmolStr::new_static("createdAt"),
-                                SmolStr::new_static("forum"), SmolStr::new_static("tags"),
-                                SmolStr::new_static("isOpen")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("title"),
+                            SmolStr::new_static("content"),
+                            SmolStr::new_static("createdAt"),
+                            SmolStr::new_static("forum"),
+                            SmolStr::new_static("tags"),
+                            SmolStr::new_static("isOpen"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -572,4 +569,4 @@ fn lexicon_doc_dev_fudgeu_experimental_atforumv1_feed_question() -> LexiconDoc<'
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/dev_fudgeu/experimental/atforumv1/feed/reply.rs b/crates/jacquard-api/src/dev_fudgeu/experimental/atforumv1/feed/reply.rs
index e63d52a2..660d68d3 100644
--- a/crates/jacquard-api/src/dev_fudgeu/experimental/atforumv1/feed/reply.rs
+++ b/crates/jacquard-api/src/dev_fudgeu/experimental/atforumv1/feed/reply.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// An initial post that starts a discussion
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -118,7 +118,7 @@ impl LexiconSchema for Reply {
 
 pub mod reply_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -177,7 +177,12 @@ pub mod reply_state {
 /// Builder for constructing an instance of this type.
 pub struct ReplyBuilder {
     _state: PhantomData St>,
-    _fields: (Option, Option, Option>, Option),
+    _fields: (
+        Option,
+        Option,
+        Option>,
+        Option,
+    ),
     _type: PhantomData S>,
 }
 
@@ -205,10 +210,7 @@ where
     St::Content: reply_state::IsUnset,
 {
     /// Set the `content` field (required)
-    pub fn content(
-        mut self,
-        value: impl Into,
-    ) -> ReplyBuilder> {
+    pub fn content(mut self, value: impl Into) -> ReplyBuilder> {
         self._fields.0 = Option::Some(value.into());
         ReplyBuilder {
             _state: PhantomData,
@@ -243,10 +245,7 @@ where
     St::Root: reply_state::IsUnset,
 {
     /// Set the `root` field (required)
-    pub fn root(
-        mut self,
-        value: impl Into>,
-    ) -> ReplyBuilder> {
+    pub fn root(mut self, value: impl Into>) -> ReplyBuilder> {
         self._fields.2 = Option::Some(value.into());
         ReplyBuilder {
             _state: PhantomData,
@@ -299,10 +298,10 @@ where
 }
 
 fn lexicon_doc_dev_fudgeu_experimental_atforumv1_feed_reply() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("dev.fudgeu.experimental.atforumv1.feed.reply"),
@@ -311,18 +310,16 @@ fn lexicon_doc_dev_fudgeu_experimental_atforumv1_feed_reply() -> LexiconDoc<'sta
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static("An initial post that starts a discussion"),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "An initial post that starts a discussion",
+                    )),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("content"),
-                                SmolStr::new_static("createdAt"),
-                                SmolStr::new_static("root")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("content"),
+                            SmolStr::new_static("createdAt"),
+                            SmolStr::new_static("root"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -365,4 +362,4 @@ fn lexicon_doc_dev_fudgeu_experimental_atforumv1_feed_reply() -> LexiconDoc<'sta
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/dev_fudgeu/experimental/atforumv1/forum.rs b/crates/jacquard-api/src/dev_fudgeu/experimental/atforumv1/forum.rs
index 7129302c..526a65cf 100644
--- a/crates/jacquard-api/src/dev_fudgeu/experimental/atforumv1/forum.rs
+++ b/crates/jacquard-api/src/dev_fudgeu/experimental/atforumv1/forum.rs
@@ -6,4 +6,4 @@
 pub mod announcement;
 pub mod category;
 pub mod group;
-pub mod identity;
\ No newline at end of file
+pub mod identity;
diff --git a/crates/jacquard-api/src/dev_fudgeu/experimental/atforumv1/forum/announcement.rs b/crates/jacquard-api/src/dev_fudgeu/experimental/atforumv1/forum/announcement.rs
index 7caba56e..748b856a 100644
--- a/crates/jacquard-api/src/dev_fudgeu/experimental/atforumv1/forum/announcement.rs
+++ b/crates/jacquard-api/src/dev_fudgeu/experimental/atforumv1/forum/announcement.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// A forum-wide announcement
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -150,7 +150,7 @@ impl LexiconSchema for Announcement {
 
 pub mod announcement_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -342,10 +342,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> Announcement {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> Announcement {
         Announcement {
             body: self._fields.0.unwrap(),
             created_at: self._fields.1.unwrap(),
@@ -356,13 +353,11 @@ where
     }
 }
 
-fn lexicon_doc_dev_fudgeu_experimental_atforumv1_forum_announcement() -> LexiconDoc<
-    'static,
-> {
+fn lexicon_doc_dev_fudgeu_experimental_atforumv1_forum_announcement() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("dev.fudgeu.experimental.atforumv1.forum.announcement"),
@@ -374,13 +369,12 @@ fn lexicon_doc_dev_fudgeu_experimental_atforumv1_forum_announcement() -> Lexicon
                     description: Some(CowStr::new_static("A forum-wide announcement")),
                     key: Some(CowStr::new_static("any")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("title"), SmolStr::new_static("body"),
-                                SmolStr::new_static("createdAt"),
-                                SmolStr::new_static("expiresAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("title"),
+                            SmolStr::new_static("body"),
+                            SmolStr::new_static("createdAt"),
+                            SmolStr::new_static("expiresAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -425,4 +419,4 @@ fn lexicon_doc_dev_fudgeu_experimental_atforumv1_forum_announcement() -> Lexicon
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/dev_fudgeu/experimental/atforumv1/forum/category.rs b/crates/jacquard-api/src/dev_fudgeu/experimental/atforumv1/forum/category.rs
index b14ce0c0..dff5b3e6 100644
--- a/crates/jacquard-api/src/dev_fudgeu/experimental/atforumv1/forum/category.rs
+++ b/crates/jacquard-api/src/dev_fudgeu/experimental/atforumv1/forum/category.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// A method of grouping posts into a single 'category'
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -150,7 +150,7 @@ impl LexiconSchema for Category {
 
 pub mod category_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -288,10 +288,7 @@ where
     St::Name: category_state::IsUnset,
 {
     /// Set the `name` field (required)
-    pub fn name(
-        mut self,
-        value: impl Into,
-    ) -> CategoryBuilder> {
+    pub fn name(mut self, value: impl Into) -> CategoryBuilder> {
         self._fields.3 = Option::Some(value.into());
         CategoryBuilder {
             _state: PhantomData,
@@ -330,13 +327,11 @@ where
     }
 }
 
-fn lexicon_doc_dev_fudgeu_experimental_atforumv1_forum_category() -> LexiconDoc<
-    'static,
-> {
+fn lexicon_doc_dev_fudgeu_experimental_atforumv1_forum_category() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("dev.fudgeu.experimental.atforumv1.forum.category"),
@@ -345,19 +340,16 @@ fn lexicon_doc_dev_fudgeu_experimental_atforumv1_forum_category() -> LexiconDoc<
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static(
-                            "A method of grouping posts into a single 'category'",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "A method of grouping posts into a single 'category'",
+                    )),
                     key: Some(CowStr::new_static("any")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("name"), SmolStr::new_static("group"),
-                                SmolStr::new_static("categoryType")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("name"),
+                            SmolStr::new_static("group"),
+                            SmolStr::new_static("categoryType"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -401,4 +393,4 @@ fn lexicon_doc_dev_fudgeu_experimental_atforumv1_forum_category() -> LexiconDoc<
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/dev_fudgeu/experimental/atforumv1/forum/group.rs b/crates/jacquard-api/src/dev_fudgeu/experimental/atforumv1/forum/group.rs
index 80628f8e..1167c616 100644
--- a/crates/jacquard-api/src/dev_fudgeu/experimental/atforumv1/forum/group.rs
+++ b/crates/jacquard-api/src/dev_fudgeu/experimental/atforumv1/forum/group.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// Defines a group of categories
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -137,7 +137,7 @@ impl LexiconSchema for Group {
 
 pub mod group_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -211,10 +211,7 @@ where
     St::Name: group_state::IsUnset,
 {
     /// Set the `name` field (required)
-    pub fn name(
-        mut self,
-        value: impl Into,
-    ) -> GroupBuilder> {
+    pub fn name(mut self, value: impl Into) -> GroupBuilder> {
         self._fields.1 = Option::Some(value.into());
         GroupBuilder {
             _state: PhantomData,
@@ -248,10 +245,10 @@ where
 }
 
 fn lexicon_doc_dev_fudgeu_experimental_atforumv1_forum_group() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("dev.fudgeu.experimental.atforumv1.forum.group"),
@@ -260,9 +257,7 @@ fn lexicon_doc_dev_fudgeu_experimental_atforumv1_forum_group() -> LexiconDoc<'st
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static("Defines a group of categories"),
-                    ),
+                    description: Some(CowStr::new_static("Defines a group of categories")),
                     key: Some(CowStr::new_static("any")),
                     record: LexRecordRecord::Object(LexObject {
                         required: Some(vec![SmolStr::new_static("name")]),
@@ -295,4 +290,4 @@ fn lexicon_doc_dev_fudgeu_experimental_atforumv1_forum_group() -> LexiconDoc<'st
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/dev_fudgeu/experimental/atforumv1/forum/identity.rs b/crates/jacquard-api/src/dev_fudgeu/experimental/atforumv1/forum/identity.rs
index b4a23197..9415b1c0 100644
--- a/crates/jacquard-api/src/dev_fudgeu/experimental/atforumv1/forum/identity.rs
+++ b/crates/jacquard-api/src/dev_fudgeu/experimental/atforumv1/forum/identity.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// Defines what the forum is - name, description, etc.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -148,7 +148,7 @@ impl LexiconSchema for Identity {
 
 pub mod identity_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -235,10 +235,7 @@ where
     St::Name: identity_state::IsUnset,
 {
     /// Set the `name` field (required)
-    pub fn name(
-        mut self,
-        value: impl Into,
-    ) -> IdentityBuilder> {
+    pub fn name(mut self, value: impl Into) -> IdentityBuilder> {
         self._fields.2 = Option::Some(value.into());
         IdentityBuilder {
             _state: PhantomData,
@@ -273,13 +270,11 @@ where
     }
 }
 
-fn lexicon_doc_dev_fudgeu_experimental_atforumv1_forum_identity() -> LexiconDoc<
-    'static,
-> {
+fn lexicon_doc_dev_fudgeu_experimental_atforumv1_forum_identity() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("dev.fudgeu.experimental.atforumv1.forum.identity"),
@@ -288,11 +283,9 @@ fn lexicon_doc_dev_fudgeu_experimental_atforumv1_forum_identity() -> LexiconDoc<
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static(
-                            "Defines what the forum is - name, description, etc.",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Defines what the forum is - name, description, etc.",
+                    )),
                     key: Some(CowStr::new_static("literal:self")),
                     record: LexRecordRecord::Object(LexObject {
                         required: Some(vec![SmolStr::new_static("name")]),
@@ -332,4 +325,4 @@ fn lexicon_doc_dev_fudgeu_experimental_atforumv1_forum_identity() -> LexiconDoc<
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/dev_kanad.rs b/crates/jacquard-api/src/dev_kanad.rs
index 6b2ffeb7..86e3f20b 100644
--- a/crates/jacquard-api/src/dev_kanad.rs
+++ b/crates/jacquard-api/src/dev_kanad.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod lexicon_test_2026_02_26;
\ No newline at end of file
+pub mod lexicon_test_2026_02_26;
diff --git a/crates/jacquard-api/src/dev_kanad/lexicon_test_2026_02_26.rs b/crates/jacquard-api/src/dev_kanad/lexicon_test_2026_02_26.rs
index 3a1d8638..99b2e13e 100644
--- a/crates/jacquard-api/src/dev_kanad/lexicon_test_2026_02_26.rs
+++ b/crates/jacquard-api/src/dev_kanad/lexicon_test_2026_02_26.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod example_cat_lexicon;
\ No newline at end of file
+pub mod example_cat_lexicon;
diff --git a/crates/jacquard-api/src/dev_kanad/lexicon_test_2026_02_26/example_cat_lexicon.rs b/crates/jacquard-api/src/dev_kanad/lexicon_test_2026_02_26/example_cat_lexicon.rs
index 05e7aa35..ac9bbcfb 100644
--- a/crates/jacquard-api/src/dev_kanad/lexicon_test_2026_02_26/example_cat_lexicon.rs
+++ b/crates/jacquard-api/src/dev_kanad/lexicon_test_2026_02_26/example_cat_lexicon.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -27,7 +27,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// some example cat lexicon
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -119,25 +119,20 @@ impl LexiconSchema for ExampleCatLexicon {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["image/png", "image/jpeg"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("avatar"),
-                        accepted: vec![
-                            "image/png".to_string(), "image/jpeg".to_string()
-                        ],
+                        accepted: vec!["image/png".to_string(), "image/jpeg".to_string()],
                         actual: mime.to_string(),
                     });
                 }
@@ -184,7 +179,7 @@ impl LexiconSchema for ExampleCatLexicon {
 
 pub mod example_cat_lexicon_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -318,10 +313,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> ExampleCatLexicon {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> ExampleCatLexicon {
         ExampleCatLexicon {
             avatar: self._fields.0,
             created_at: self._fields.1.unwrap(),
@@ -331,13 +323,11 @@ where
     }
 }
 
-fn lexicon_doc_dev_kanad_lexicon_test_2026_02_26_exampleCatLexicon() -> LexiconDoc<
-    'static,
-> {
+fn lexicon_doc_dev_kanad_lexicon_test_2026_02_26_exampleCatLexicon() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("dev.kanad.lexicon-test-2026-02-26.exampleCatLexicon"),
@@ -349,18 +339,18 @@ fn lexicon_doc_dev_kanad_lexicon_test_2026_02_26_exampleCatLexicon() -> LexiconD
                     description: Some(CowStr::new_static("some example cat lexicon")),
                     key: Some(CowStr::new_static("any")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("name"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("name"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
                             map.insert(
                                 SmolStr::new_static("avatar"),
-                                LexObjectProperty::Blob(LexBlob { ..Default::default() }),
+                                LexObjectProperty::Blob(LexBlob {
+                                    ..Default::default()
+                                }),
                             );
                             map.insert(
                                 SmolStr::new_static("createdAt"),
@@ -390,4 +380,4 @@ fn lexicon_doc_dev_kanad_lexicon_test_2026_02_26_exampleCatLexicon() -> LexiconD
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/dev_keytrace.rs b/crates/jacquard-api/src/dev_keytrace.rs
index 8ec7b01d..b9fa6249 100644
--- a/crates/jacquard-api/src/dev_keytrace.rs
+++ b/crates/jacquard-api/src/dev_keytrace.rs
@@ -8,4 +8,4 @@ pub mod profile;
 pub mod server_public_key;
 pub mod signature;
 pub mod statement;
-pub mod user_public_key;
\ No newline at end of file
+pub mod user_public_key;
diff --git a/crates/jacquard-api/src/dev_keytrace/claim.rs b/crates/jacquard-api/src/dev_keytrace/claim.rs
index a42f081b..28a5b7ef 100644
--- a/crates/jacquard-api/src/dev_keytrace/claim.rs
+++ b/crates/jacquard-api/src/dev_keytrace/claim.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,15 +24,18 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::dev_keytrace::claim;
+use crate::dev_keytrace::signature::Signature;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::dev_keytrace::signature::Signature;
-use crate::dev_keytrace::claim;
+use serde::{Deserialize, Serialize};
 /// Generic identity data for the claimed account
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Identity {
     ///Avatar/profile image URL
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -393,10 +396,10 @@ impl LexiconSchema for Claim {
 }
 
 fn lexicon_doc_dev_keytrace_claim() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("dev.keytrace.claim"),
@@ -405,11 +408,9 @@ fn lexicon_doc_dev_keytrace_claim() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("identity"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static(
-                            "Generic identity data for the claimed account",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Generic identity data for the claimed account",
+                    )),
                     required: Some(vec![SmolStr::new_static("subject")]),
                     properties: {
                         #[allow(unused_mut)]
@@ -417,9 +418,7 @@ fn lexicon_doc_dev_keytrace_claim() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("avatarUrl"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Avatar/profile image URL"),
-                                ),
+                                description: Some(CowStr::new_static("Avatar/profile image URL")),
                                 format: Some(LexStringFormat::Uri),
                                 ..Default::default()
                             }),
@@ -427,9 +426,9 @@ fn lexicon_doc_dev_keytrace_claim() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("displayName"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Display name if different from subject"),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Display name if different from subject",
+                                )),
                                 ..Default::default()
                             }),
                         );
@@ -444,11 +443,9 @@ fn lexicon_doc_dev_keytrace_claim() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("subject"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "Primary identifier (username, domain, handle, etc.)",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Primary identifier (username, domain, handle, etc.)",
+                                )),
                                 ..Default::default()
                             }),
                         );
@@ -625,7 +622,7 @@ fn lexicon_doc_dev_keytrace_claim() -> LexiconDoc<'static> {
 
 pub mod claim_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -748,18 +745,7 @@ impl ClaimBuilder {
         ClaimBuilder {
             _state: PhantomData,
             _fields: (
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
+                None, None, None, None, None, None, None, None, None, None, None, None,
             ),
             _type: PhantomData,
         }
@@ -997,4 +983,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/dev_keytrace/profile.rs b/crates/jacquard-api/src/dev_keytrace/profile.rs
index 67d3cfb1..f916b8a3 100644
--- a/crates/jacquard-api/src/dev_keytrace/profile.rs
+++ b/crates/jacquard-api/src/dev_keytrace/profile.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// Keytrace profile settings. Singleton record stored in the user's ATProto repo.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -134,7 +134,7 @@ impl LexiconSchema for Profile {
 
 pub mod profile_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -240,10 +240,10 @@ where
 }
 
 fn lexicon_doc_dev_keytrace_profile() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("dev.keytrace.profile"),
@@ -304,4 +304,4 @@ fn lexicon_doc_dev_keytrace_profile() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/dev_keytrace/server_public_key.rs b/crates/jacquard-api/src/dev_keytrace/server_public_key.rs
index e7d0eb2d..60dac1e5 100644
--- a/crates/jacquard-api/src/dev_keytrace/server_public_key.rs
+++ b/crates/jacquard-api/src/dev_keytrace/server_public_key.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// A signing key for claim attestations. It effectively hosts a JWK on a user's ATProto repo.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -134,7 +134,7 @@ impl LexiconSchema for ServerPublicKey {
 
 pub mod server_public_key_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -303,10 +303,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> ServerPublicKey {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> ServerPublicKey {
         ServerPublicKey {
             comment: self._fields.0,
             public_jwk: self._fields.1.unwrap(),
@@ -318,10 +315,10 @@ where
 }
 
 fn lexicon_doc_dev_keytrace_serverPublicKey() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("dev.keytrace.serverPublicKey"),
@@ -404,4 +401,4 @@ fn lexicon_doc_dev_keytrace_serverPublicKey() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/dev_keytrace/signature.rs b/crates/jacquard-api/src/dev_keytrace/signature.rs
index 90080571..9ae8f91f 100644
--- a/crates/jacquard-api/src/dev_keytrace/signature.rs
+++ b/crates/jacquard-api/src/dev_keytrace/signature.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -23,11 +23,14 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// A cryptographic signature attesting to a claim
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Signature {
     ///The cryptographic signature (base64-encoded).
     pub attestation: S,
@@ -78,7 +81,7 @@ impl LexiconSchema for Signature {
 
 pub mod signature_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -239,10 +242,7 @@ where
     St::Kid: signature_state::IsUnset,
 {
     /// Set the `kid` field (required)
-    pub fn kid(
-        mut self,
-        value: impl Into,
-    ) -> SignatureBuilder> {
+    pub fn kid(mut self, value: impl Into) -> SignatureBuilder> {
         self._fields.2 = Option::Some(value.into());
         SignatureBuilder {
             _state: PhantomData,
@@ -345,10 +345,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> Signature {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> Signature {
         Signature {
             attestation: self._fields.0.unwrap(),
             comment: self._fields.1,
@@ -363,10 +360,10 @@ where
 }
 
 fn lexicon_doc_dev_keytrace_signature() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("dev.keytrace.signature"),
@@ -482,4 +479,4 @@ fn lexicon_doc_dev_keytrace_signature() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/dev_keytrace/statement.rs b/crates/jacquard-api/src/dev_keytrace/statement.rs
index 0121f9cd..fce0aa85 100644
--- a/crates/jacquard-api/src/dev_keytrace/statement.rs
+++ b/crates/jacquard-api/src/dev_keytrace/statement.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// A public statement signed by one of the user's own published public keys (dev.keytrace.userPublicKey).
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -152,7 +152,7 @@ impl LexiconSchema for Statement {
 
 pub mod statement_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -332,10 +332,7 @@ where
     St::Sig: statement_state::IsUnset,
 {
     /// Set the `sig` field (required)
-    pub fn sig(
-        mut self,
-        value: impl Into,
-    ) -> StatementBuilder> {
+    pub fn sig(mut self, value: impl Into) -> StatementBuilder> {
         self._fields.4 = Option::Some(value.into());
         StatementBuilder {
             _state: PhantomData,
@@ -379,10 +376,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> Statement {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> Statement {
         Statement {
             content: self._fields.0.unwrap(),
             created_at: self._fields.1.unwrap(),
@@ -396,10 +390,10 @@ where
 }
 
 fn lexicon_doc_dev_keytrace_statement() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("dev.keytrace.statement"),
@@ -506,4 +500,4 @@ fn lexicon_doc_dev_keytrace_statement() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/dev_keytrace/user_public_key.rs b/crates/jacquard-api/src/dev_keytrace/user_public_key.rs
index 44df4bd8..25defa48 100644
--- a/crates/jacquard-api/src/dev_keytrace/user_public_key.rs
+++ b/crates/jacquard-api/src/dev_keytrace/user_public_key.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// A user-published public key.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -140,9 +140,7 @@ where
             UserPublicKeyKeyType::Pgp => UserPublicKeyKeyType::Pgp,
             UserPublicKeyKeyType::SshEd25519 => UserPublicKeyKeyType::SshEd25519,
             UserPublicKeyKeyType::SshEcdsa => UserPublicKeyKeyType::SshEcdsa,
-            UserPublicKeyKeyType::Other(v) => {
-                UserPublicKeyKeyType::Other(v.into_static())
-            }
+            UserPublicKeyKeyType::Other(v) => UserPublicKeyKeyType::Other(v.into_static()),
         }
     }
 }
@@ -268,7 +266,7 @@ impl LexiconSchema for UserPublicKey {
 
 pub mod user_public_key_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -502,10 +500,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> UserPublicKey {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> UserPublicKey {
         UserPublicKey {
             comment: self._fields.0,
             created_at: self._fields.1.unwrap(),
@@ -521,10 +516,10 @@ where
 }
 
 fn lexicon_doc_dev_keytrace_userPublicKey() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("dev.keytrace.userPublicKey"),
@@ -647,4 +642,4 @@ fn lexicon_doc_dev_keytrace_userPublicKey() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/dev_ocbwoy3.rs b/crates/jacquard-api/src/dev_ocbwoy3.rs
index cb525812..efeee010 100644
--- a/crates/jacquard-api/src/dev_ocbwoy3.rs
+++ b/crates/jacquard-api/src/dev_ocbwoy3.rs
@@ -4,4 +4,4 @@
 // Any manual changes will be overwritten on the next regeneration.
 
 pub mod blueboard;
-pub mod crack;
\ No newline at end of file
+pub mod crack;
diff --git a/crates/jacquard-api/src/dev_ocbwoy3/blueboard.rs b/crates/jacquard-api/src/dev_ocbwoy3/blueboard.rs
index f15cc590..2f6bfac0 100644
--- a/crates/jacquard-api/src/dev_ocbwoy3/blueboard.rs
+++ b/crates/jacquard-api/src/dev_ocbwoy3/blueboard.rs
@@ -4,4 +4,4 @@
 // Any manual changes will be overwritten on the next regeneration.
 
 pub mod board;
-pub mod post;
\ No newline at end of file
+pub mod post;
diff --git a/crates/jacquard-api/src/dev_ocbwoy3/blueboard/board.rs b/crates/jacquard-api/src/dev_ocbwoy3/blueboard/board.rs
index 32f53c53..6f07a9de 100644
--- a/crates/jacquard-api/src/dev_ocbwoy3/blueboard/board.rs
+++ b/crates/jacquard-api/src/dev_ocbwoy3/blueboard/board.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(
@@ -133,7 +133,7 @@ impl LexiconSchema for Board {
 
 pub mod board_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -274,10 +274,7 @@ where
     St::Nsfw: board_state::IsUnset,
 {
     /// Set the `nsfw` field (required)
-    pub fn nsfw(
-        mut self,
-        value: impl Into,
-    ) -> BoardBuilder> {
+    pub fn nsfw(mut self, value: impl Into) -> BoardBuilder> {
         self._fields.2 = Option::Some(value.into());
         BoardBuilder {
             _state: PhantomData,
@@ -293,10 +290,7 @@ where
     St::Title: board_state::IsUnset,
 {
     /// Set the `title` field (required)
-    pub fn title(
-        mut self,
-        value: impl Into,
-    ) -> BoardBuilder> {
+    pub fn title(mut self, value: impl Into) -> BoardBuilder> {
         self._fields.3 = Option::Some(value.into());
         BoardBuilder {
             _state: PhantomData,
@@ -337,10 +331,10 @@ where
 }
 
 fn lexicon_doc_dev_ocbwoy3_blueboard_board() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("dev.ocbwoy3.blueboard.board"),
@@ -351,25 +345,21 @@ fn lexicon_doc_dev_ocbwoy3_blueboard_board() -> LexiconDoc<'static> {
                 LexUserType::Record(LexRecord {
                     key: Some(CowStr::new_static("any")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("title"),
-                                SmolStr::new_static("description"),
-                                SmolStr::new_static("nsfw"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("title"),
+                            SmolStr::new_static("description"),
+                            SmolStr::new_static("nsfw"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
                             map.insert(
                                 SmolStr::new_static("createdAt"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "The date and time when the board was created",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "The date and time when the board was created",
+                                    )),
                                     format: Some(LexStringFormat::Datetime),
                                     ..Default::default()
                                 }),
@@ -377,9 +367,9 @@ fn lexicon_doc_dev_ocbwoy3_blueboard_board() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("description"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("A short description of the board"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "A short description of the board",
+                                    )),
                                     max_graphemes: Some(30usize),
                                     ..Default::default()
                                 }),
@@ -393,9 +383,9 @@ fn lexicon_doc_dev_ocbwoy3_blueboard_board() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("title"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("The title of the board (e.g. /at/)"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "The title of the board (e.g. /at/)",
+                                    )),
                                     max_length: Some(10usize),
                                     ..Default::default()
                                 }),
@@ -411,4 +401,4 @@ fn lexicon_doc_dev_ocbwoy3_blueboard_board() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/dev_ocbwoy3/blueboard/post.rs b/crates/jacquard-api/src/dev_ocbwoy3/blueboard/post.rs
index ea6a5190..d455f456 100644
--- a/crates/jacquard-api/src/dev_ocbwoy3/blueboard/post.rs
+++ b/crates/jacquard-api/src/dev_ocbwoy3/blueboard/post.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -27,7 +27,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(
@@ -121,19 +121,16 @@ impl LexiconSchema for Post {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["image/*", "video/webm"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("attachment"),
@@ -160,7 +157,7 @@ impl LexiconSchema for Post {
 
 pub mod post_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -219,7 +216,12 @@ pub mod post_state {
 /// Builder for constructing an instance of this type.
 pub struct PostBuilder {
     _state: PhantomData St>,
-    _fields: (Option>, Option, Option>, Option),
+    _fields: (
+        Option>,
+        Option,
+        Option>,
+        Option,
+    ),
     _type: PhantomData S>,
 }
 
@@ -298,10 +300,7 @@ where
     St::Text: post_state::IsUnset,
 {
     /// Set the `text` field (required)
-    pub fn text(
-        mut self,
-        value: impl Into,
-    ) -> PostBuilder> {
+    pub fn text(mut self, value: impl Into) -> PostBuilder> {
         self._fields.3 = Option::Some(value.into());
         PostBuilder {
             _state: PhantomData,
@@ -341,10 +340,10 @@ where
 }
 
 fn lexicon_doc_dev_ocbwoy3_blueboard_post() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("dev.ocbwoy3.blueboard.post"),
@@ -412,4 +411,4 @@ fn lexicon_doc_dev_ocbwoy3_blueboard_post() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/dev_ocbwoy3/crack.rs b/crates/jacquard-api/src/dev_ocbwoy3/crack.rs
index 8ffd6100..abeb6fa8 100644
--- a/crates/jacquard-api/src/dev_ocbwoy3/crack.rs
+++ b/crates/jacquard-api/src/dev_ocbwoy3/crack.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod alterego;
\ No newline at end of file
+pub mod alterego;
diff --git a/crates/jacquard-api/src/dev_ocbwoy3/crack/alterego.rs b/crates/jacquard-api/src/dev_ocbwoy3/crack/alterego.rs
index 9d60817c..3a3a0961 100644
--- a/crates/jacquard-api/src/dev_ocbwoy3/crack/alterego.rs
+++ b/crates/jacquard-api/src/dev_ocbwoy3/crack/alterego.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -27,7 +27,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// An alter ego profile record for use on "Bluesky on Crack".
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -128,25 +128,20 @@ impl LexiconSchema for Alterego {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["image/png", "image/jpeg"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("avatar"),
-                        accepted: vec![
-                            "image/png".to_string(), "image/jpeg".to_string()
-                        ],
+                        accepted: vec!["image/png".to_string(), "image/jpeg".to_string()],
                         actual: mime.to_string(),
                     });
                 }
@@ -168,25 +163,20 @@ impl LexiconSchema for Alterego {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["image/png", "image/jpeg"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("banner"),
-                        accepted: vec![
-                            "image/png".to_string(), "image/jpeg".to_string()
-                        ],
+                        accepted: vec!["image/png".to_string(), "image/jpeg".to_string()],
                         actual: mime.to_string(),
                     });
                 }
@@ -248,7 +238,7 @@ impl LexiconSchema for Alterego {
 
 pub mod alterego_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -268,7 +258,13 @@ pub mod alterego_state {
 /// Builder for constructing an instance of this type.
 pub struct AlteregoBuilder {
     _state: PhantomData St>,
-    _fields: (Option>, Option>, Option, Option, Option),
+    _fields: (
+        Option>,
+        Option>,
+        Option,
+        Option,
+        Option,
+    ),
     _type: PhantomData S>,
 }
 
@@ -384,10 +380,10 @@ where
 }
 
 fn lexicon_doc_dev_ocbwoy3_crack_alterego() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("dev.ocbwoy3.crack.alterego"),
@@ -464,4 +460,4 @@ fn lexicon_doc_dev_ocbwoy3_crack_alterego() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/dev_regnault.rs b/crates/jacquard-api/src/dev_regnault.rs
index 12081d05..6eb67625 100644
--- a/crates/jacquard-api/src/dev_regnault.rs
+++ b/crates/jacquard-api/src/dev_regnault.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod webfishing;
\ No newline at end of file
+pub mod webfishing;
diff --git a/crates/jacquard-api/src/dev_regnault/webfishing.rs b/crates/jacquard-api/src/dev_regnault/webfishing.rs
index 490fc20e..46c8bcb2 100644
--- a/crates/jacquard-api/src/dev_regnault/webfishing.rs
+++ b/crates/jacquard-api/src/dev_regnault/webfishing.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod savefile;
\ No newline at end of file
+pub mod savefile;
diff --git a/crates/jacquard-api/src/dev_regnault/webfishing/savefile.rs b/crates/jacquard-api/src/dev_regnault/webfishing/savefile.rs
index 70865c5e..40be9a6a 100644
--- a/crates/jacquard-api/src/dev_regnault/webfishing/savefile.rs
+++ b/crates/jacquard-api/src/dev_regnault/webfishing/savefile.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// Record declaring a savefile of Webfishing.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -104,7 +104,7 @@ impl LexiconSchema for Savefile {
 
 pub mod savefile_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -177,10 +177,7 @@ where
     St::Name: savefile_state::IsUnset,
 {
     /// Set the `name` field (required)
-    pub fn name(
-        mut self,
-        value: impl Into,
-    ) -> SavefileBuilder> {
+    pub fn name(mut self, value: impl Into) -> SavefileBuilder> {
         self._fields.0 = Option::Some(value.into());
         SavefileBuilder {
             _state: PhantomData,
@@ -234,10 +231,10 @@ where
 }
 
 fn lexicon_doc_dev_regnault_webfishing_savefile() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("dev.regnault.webfishing.savefile"),
@@ -246,14 +243,15 @@ fn lexicon_doc_dev_regnault_webfishing_savefile() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static("Record declaring a savefile of Webfishing."),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Record declaring a savefile of Webfishing.",
+                    )),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![SmolStr::new_static("name"), SmolStr::new_static("uri")],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("name"),
+                            SmolStr::new_static("uri"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -281,4 +279,4 @@ fn lexicon_doc_dev_regnault_webfishing_savefile() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/dev_sensorthings.rs b/crates/jacquard-api/src/dev_sensorthings.rs
index 13c9bcba..cefe0a77 100644
--- a/crates/jacquard-api/src/dev_sensorthings.rs
+++ b/crates/jacquard-api/src/dev_sensorthings.rs
@@ -9,4 +9,4 @@ pub mod multi_observation;
 pub mod observation_batch;
 pub mod observed_property;
 pub mod quality;
-pub mod sensor;
\ No newline at end of file
+pub mod sensor;
diff --git a/crates/jacquard-api/src/dev_sensorthings/datastream.rs b/crates/jacquard-api/src/dev_sensorthings/datastream.rs
index 4b91df37..512cd3a1 100644
--- a/crates/jacquard-api/src/dev_sensorthings/datastream.rs
+++ b/crates/jacquard-api/src/dev_sensorthings/datastream.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::dev_sensorthings::datastream;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::dev_sensorthings::datastream;
+use serde::{Deserialize, Serialize};
 /// Groups Observations of one ObservedProperty by one Sensor on one Thing. Carries all context needed to interpret observation results.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -78,7 +78,10 @@ pub struct DatastreamGetRecordOutput {
 /// UCUM-compatible unit description.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct UnitOfMeasurement {
     ///URI from QUDT, UCUM, or similar unit ontology
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -207,7 +210,7 @@ impl LexiconSchema for UnitOfMeasurement {
 
 pub mod datastream_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -370,7 +373,9 @@ impl DatastreamBuilder {
     pub fn new() -> Self {
         DatastreamBuilder {
             _state: PhantomData,
-            _fields: (None, None, None, None, None, None, None, None, None, None, None),
+            _fields: (
+                None, None, None, None, None, None, None, None, None, None, None,
+            ),
             _type: PhantomData,
         }
     }
@@ -590,10 +595,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> Datastream {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> Datastream {
         Datastream {
             created_at: self._fields.0.unwrap(),
             description: self._fields.1,
@@ -612,10 +614,10 @@ where
 }
 
 fn lexicon_doc_dev_sensorthings_datastream() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("dev.sensorthings.datastream"),
@@ -757,23 +759,20 @@ fn lexicon_doc_dev_sensorthings_datastream() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("unitOfMeasurement"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("UCUM-compatible unit description."),
-                    ),
-                    required: Some(
-                        vec![SmolStr::new_static("name"), SmolStr::new_static("symbol")],
-                    ),
+                    description: Some(CowStr::new_static("UCUM-compatible unit description.")),
+                    required: Some(vec![
+                        SmolStr::new_static("name"),
+                        SmolStr::new_static("symbol"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("definition"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "URI from QUDT, UCUM, or similar unit ontology",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "URI from QUDT, UCUM, or similar unit ontology",
+                                )),
                                 format: Some(LexStringFormat::Uri),
                                 ..Default::default()
                             }),
@@ -801,4 +800,4 @@ fn lexicon_doc_dev_sensorthings_datastream() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/dev_sensorthings/feature_of_interest.rs b/crates/jacquard-api/src/dev_sensorthings/feature_of_interest.rs
index 55958fbd..7a5acc18 100644
--- a/crates/jacquard-api/src/dev_sensorthings/feature_of_interest.rs
+++ b/crates/jacquard-api/src/dev_sensorthings/feature_of_interest.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// The real-world feature that an Observation is about.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -142,7 +142,7 @@ impl LexiconSchema for FeatureOfInterest {
 
 pub mod feature_of_interest_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -217,7 +217,13 @@ pub mod feature_of_interest_state {
 /// Builder for constructing an instance of this type.
 pub struct FeatureOfInterestBuilder {
     _state: PhantomData St>,
-    _fields: (Option, Option, Option, Option>, Option),
+    _fields: (
+        Option,
+        Option,
+        Option,
+        Option>,
+        Option,
+    ),
     _type: PhantomData S>,
 }
 
@@ -348,10 +354,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> FeatureOfInterest {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> FeatureOfInterest {
         FeatureOfInterest {
             created_at: self._fields.0.unwrap(),
             description: self._fields.1,
@@ -364,10 +367,10 @@ where
 }
 
 fn lexicon_doc_dev_sensorthings_featureOfInterest() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("dev.sensorthings.featureOfInterest"),
@@ -444,4 +447,4 @@ fn lexicon_doc_dev_sensorthings_featureOfInterest() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/dev_sensorthings/multi_observation.rs b/crates/jacquard-api/src/dev_sensorthings/multi_observation.rs
index ee8318e0..a68f8f98 100644
--- a/crates/jacquard-api/src/dev_sensorthings/multi_observation.rs
+++ b/crates/jacquard-api/src/dev_sensorthings/multi_observation.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,11 +24,11 @@ use jacquard_derive::{IntoStatic, lexicon, open_union};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::dev_sensorthings::datastream::UnitOfMeasurement;
 use crate::dev_sensorthings::multi_observation;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// A composite observation bundling multiple co-produced results from a single act of sensing. Each entry carries its own ObservedProperty, unit, and scale metadata. Use this instead of separate Observations when the results are genuinely co-produced (e.g. wave statistics from spectral processing) and have no independent existence.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -114,8 +114,7 @@ impl Serialize for MultiObservationResultQuality {
     }
 }
 
-impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de>
-for MultiObservationResultQuality {
+impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> for MultiObservationResultQuality {
     fn deserialize(deserializer: D) -> Result
     where
         D: serde::Deserializer<'de>,
@@ -140,12 +139,8 @@ where
     fn into_static(self) -> Self::Output {
         match self {
             MultiObservationResultQuality::Good => MultiObservationResultQuality::Good,
-            MultiObservationResultQuality::Suspect => {
-                MultiObservationResultQuality::Suspect
-            }
-            MultiObservationResultQuality::Missing => {
-                MultiObservationResultQuality::Missing
-            }
+            MultiObservationResultQuality::Suspect => MultiObservationResultQuality::Suspect,
+            MultiObservationResultQuality::Missing => MultiObservationResultQuality::Missing,
             MultiObservationResultQuality::Other(v) => {
                 MultiObservationResultQuality::Other(v.into_static())
             }
@@ -167,7 +162,10 @@ pub struct MultiObservationGetRecordOutput {
 /// A single result within a composite observation, fully self-describing.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct MultiObservationEntry {
     ///AT-URI of the dev.sensorthings.observedProperty record
     pub observed_property: AtUri,
@@ -183,7 +181,6 @@ pub struct MultiObservationEntry {
     pub extra_data: Option>>,
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -239,8 +236,7 @@ impl Serialize for MultiObservationEntryResultQuality {
     }
 }
 
-impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de>
-for MultiObservationEntryResultQuality {
+impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> for MultiObservationEntryResultQuality {
     fn deserialize(deserializer: D) -> Result
     where
         D: serde::Deserializer<'de>,
@@ -264,9 +260,7 @@ where
     type Output = MultiObservationEntryResultQuality;
     fn into_static(self) -> Self::Output {
         match self {
-            MultiObservationEntryResultQuality::Good => {
-                MultiObservationEntryResultQuality::Good
-            }
+            MultiObservationEntryResultQuality::Good => MultiObservationEntryResultQuality::Good,
             MultiObservationEntryResultQuality::Suspect => {
                 MultiObservationEntryResultQuality::Suspect
             }
@@ -386,7 +380,7 @@ impl LexiconSchema for MultiObservationEntry {
 
 pub mod multi_observation_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -566,10 +560,7 @@ impl MultiObservationBuilder>,
-    ) -> Self {
+    pub fn maybe_result_quality(mut self, value: Option>) -> Self {
         self._fields.4 = value;
         self
     }
@@ -649,10 +640,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> MultiObservation {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> MultiObservation {
         MultiObservation {
             derived_from: self._fields.0,
             entries: self._fields.1.unwrap(),
@@ -668,10 +656,10 @@ where
 }
 
 fn lexicon_doc_dev_sensorthings_multiObservation() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("dev.sensorthings.multiObservation"),
@@ -887,7 +875,7 @@ fn lexicon_doc_dev_sensorthings_multiObservation() -> LexiconDoc<'static> {
 
 pub mod multi_observation_entry_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -944,10 +932,7 @@ pub mod multi_observation_entry_state {
 }
 
 /// Builder for constructing an instance of this type.
-pub struct MultiObservationEntryBuilder<
-    S: BosStr,
-    St: multi_observation_entry_state::State,
-> {
+pub struct MultiObservationEntryBuilder {
     _state: PhantomData St>,
     _fields: (
         Option>,
@@ -961,10 +946,7 @@ pub struct MultiObservationEntryBuilder<
 
 impl MultiObservationEntry {
     /// Create a new builder for this type.
-    pub fn new() -> MultiObservationEntryBuilder<
-        S,
-        multi_observation_entry_state::Empty,
-    > {
+    pub fn new() -> MultiObservationEntryBuilder {
         MultiObservationEntryBuilder::new()
     }
 }
@@ -989,10 +971,8 @@ where
     pub fn observed_property(
         mut self,
         value: impl Into>,
-    ) -> MultiObservationEntryBuilder<
-        S,
-        multi_observation_entry_state::SetObservedProperty,
-    > {
+    ) -> MultiObservationEntryBuilder>
+    {
         self._fields.0 = Option::Some(value.into());
         MultiObservationEntryBuilder {
             _state: PhantomData,
@@ -1021,10 +1001,7 @@ where
     }
 }
 
-impl<
-    S: BosStr,
-    St: multi_observation_entry_state::State,
-> MultiObservationEntryBuilder {
+impl MultiObservationEntryBuilder {
     /// Set the `resultQuality` field (optional)
     pub fn result_quality(
         mut self,
@@ -1043,10 +1020,7 @@ impl<
     }
 }
 
-impl<
-    S: BosStr,
-    St: multi_observation_entry_state::State,
-> MultiObservationEntryBuilder {
+impl MultiObservationEntryBuilder {
     /// Set the `resultScaleFactor` field (optional)
     pub fn result_scale_factor(mut self, value: impl Into>) -> Self {
         self._fields.3 = value.into();
@@ -1068,10 +1042,8 @@ where
     pub fn unit_of_measurement(
         mut self,
         value: impl Into>,
-    ) -> MultiObservationEntryBuilder<
-        S,
-        multi_observation_entry_state::SetUnitOfMeasurement,
-    > {
+    ) -> MultiObservationEntryBuilder>
+    {
         self._fields.4 = Option::Some(value.into());
         MultiObservationEntryBuilder {
             _state: PhantomData,
@@ -1113,4 +1085,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/dev_sensorthings/observation_batch.rs b/crates/jacquard-api/src/dev_sensorthings/observation_batch.rs
index 10b894d7..3633e9c2 100644
--- a/crates/jacquard-api/src/dev_sensorthings/observation_batch.rs
+++ b/crates/jacquard-api/src/dev_sensorthings/observation_batch.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,13 +24,16 @@ use jacquard_derive::{IntoStatic, lexicon, open_union};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::dev_sensorthings::observation_batch;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::dev_sensorthings::observation_batch;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct BatchEntry {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub q: Option>,
@@ -42,7 +45,6 @@ pub struct BatchEntry {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Debug, Clone, PartialEq, Eq, Hash)]
 pub enum BatchEntryQ {
     Good,
@@ -124,7 +126,6 @@ where
     }
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -235,7 +236,7 @@ impl LexiconSchema for ObservationBatch {
 
 pub mod batch_entry_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -280,7 +281,11 @@ pub mod batch_entry_state {
 /// Builder for constructing an instance of this type.
 pub struct BatchEntryBuilder {
     _state: PhantomData St>,
-    _fields: (Option>, Option>, Option),
+    _fields: (
+        Option>,
+        Option>,
+        Option,
+    ),
     _type: PhantomData S>,
 }
 
@@ -369,10 +374,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> BatchEntry {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> BatchEntry {
         BatchEntry {
             q: self._fields.0,
             result: self._fields.1.unwrap(),
@@ -383,10 +385,10 @@ where
 }
 
 fn lexicon_doc_dev_sensorthings_observationBatch() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("dev.sensorthings.observationBatch"),
@@ -509,7 +511,7 @@ fn lexicon_doc_dev_sensorthings_observationBatch() -> LexiconDoc<'static> {
 
 pub mod observation_batch_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -706,10 +708,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> ObservationBatch {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> ObservationBatch {
         ObservationBatch {
             datastream: self._fields.0.unwrap(),
             observations: self._fields.1.unwrap(),
@@ -718,4 +717,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/dev_sensorthings/observed_property.rs b/crates/jacquard-api/src/dev_sensorthings/observed_property.rs
index 5c432f9d..5cb71eb6 100644
--- a/crates/jacquard-api/src/dev_sensorthings/observed_property.rs
+++ b/crates/jacquard-api/src/dev_sensorthings/observed_property.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// The phenomenon being observed (e.g. air temperature, PM2.5 concentration).
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -129,7 +129,7 @@ impl LexiconSchema for ObservedProperty {
 
 pub mod observed_property_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -298,10 +298,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> ObservedProperty {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> ObservedProperty {
         ObservedProperty {
             created_at: self._fields.0.unwrap(),
             definition: self._fields.1.unwrap(),
@@ -313,10 +310,10 @@ where
 }
 
 fn lexicon_doc_dev_sensorthings_observedProperty() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("dev.sensorthings.observedProperty"),
@@ -386,4 +383,4 @@ fn lexicon_doc_dev_sensorthings_observedProperty() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/dev_sensorthings/quality.rs b/crates/jacquard-api/src/dev_sensorthings/quality.rs
index d1d3dbc7..864d70b2 100644
--- a/crates/jacquard-api/src/dev_sensorthings/quality.rs
+++ b/crates/jacquard-api/src/dev_sensorthings/quality.rs
@@ -7,7 +7,7 @@
 
 use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// Observation passed QC checks.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Hash)]
@@ -36,4 +36,4 @@ impl core::fmt::Display for Suspect {
     fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
         write!(f, "suspect")
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/dev_sensorthings/sensor.rs b/crates/jacquard-api/src/dev_sensorthings/sensor.rs
index 82b58c8f..e93ca5aa 100644
--- a/crates/jacquard-api/src/dev_sensorthings/sensor.rs
+++ b/crates/jacquard-api/src/dev_sensorthings/sensor.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// An instrument or procedure that produces observations.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -153,7 +153,7 @@ impl LexiconSchema for Sensor {
 
 pub mod sensor_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -304,10 +304,7 @@ where
     St::Name: sensor_state::IsUnset,
 {
     /// Set the `name` field (required)
-    pub fn name(
-        mut self,
-        value: impl Into,
-    ) -> SensorBuilder> {
+    pub fn name(mut self, value: impl Into) -> SensorBuilder> {
         self._fields.4 = Option::Some(value.into());
         SensorBuilder {
             _state: PhantomData,
@@ -349,10 +346,10 @@ where
 }
 
 fn lexicon_doc_dev_sensorthings_sensor() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("dev.sensorthings.sensor"),
@@ -434,4 +431,4 @@ fn lexicon_doc_dev_sensorthings_sensor() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/dev_tsunagite.rs b/crates/jacquard-api/src/dev_tsunagite.rs
index 793a1681..7bd2f8da 100644
--- a/crates/jacquard-api/src/dev_tsunagite.rs
+++ b/crates/jacquard-api/src/dev_tsunagite.rs
@@ -7,4 +7,4 @@ pub mod chart;
 pub mod difficulty;
 pub mod game;
 pub mod song;
-pub mod types;
\ No newline at end of file
+pub mod types;
diff --git a/crates/jacquard-api/src/dev_tsunagite/chart.rs b/crates/jacquard-api/src/dev_tsunagite/chart.rs
index e3a1f5ed..5c33f678 100644
--- a/crates/jacquard-api/src/dev_tsunagite/chart.rs
+++ b/crates/jacquard-api/src/dev_tsunagite/chart.rs
@@ -10,8 +10,8 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::bytes::Bytes;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,11 +26,11 @@ use jacquard_derive::{IntoStatic, lexicon, open_union};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::dev_tsunagite::difficulty::Difficulty;
 use crate::dev_tsunagite::types::TypedRef;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// A chart included in a game hosting leaderboards via Tsunagite.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -62,7 +62,6 @@ pub struct Chart {
     pub extra_data: Option>>,
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -143,31 +142,25 @@ impl LexiconSchema for Chart {
         if let Some(ref value) = self.jacket {
             {
                 let mime = value.blob().mime_type.as_str();
-                let accepted: &[&str] = &[
-                    "image/png",
-                    "image/jpeg",
-                    "image/jxl",
-                    "image/webp",
-                ];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let accepted: &[&str] = &["image/png", "image/jpeg", "image/jxl", "image/webp"];
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("jacket"),
                         accepted: vec![
-                            "image/png".to_string(), "image/jpeg".to_string(),
-                            "image/jxl".to_string(), "image/webp".to_string()
+                            "image/png".to_string(),
+                            "image/jpeg".to_string(),
+                            "image/jxl".to_string(),
+                            "image/webp".to_string(),
                         ],
                         actual: mime.to_string(),
                     });
@@ -180,7 +173,7 @@ impl LexiconSchema for Chart {
 
 pub mod chart_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -310,10 +303,7 @@ where
     St::Game: chart_state::IsUnset,
 {
     /// Set the `game` field (required)
-    pub fn game(
-        mut self,
-        value: impl Into>,
-    ) -> ChartBuilder> {
+    pub fn game(mut self, value: impl Into>) -> ChartBuilder> {
         self._fields.1 = Option::Some(value.into());
         ChartBuilder {
             _state: PhantomData,
@@ -368,10 +358,7 @@ where
     St::Rating: chart_state::IsUnset,
 {
     /// Set the `rating` field (required)
-    pub fn rating(
-        mut self,
-        value: impl Into,
-    ) -> ChartBuilder> {
+    pub fn rating(mut self, value: impl Into) -> ChartBuilder> {
         self._fields.5 = Option::Some(value.into());
         ChartBuilder {
             _state: PhantomData,
@@ -387,10 +374,7 @@ where
     St::Song: chart_state::IsUnset,
 {
     /// Set the `song` field (required)
-    pub fn song(
-        mut self,
-        value: impl Into>,
-    ) -> ChartBuilder> {
+    pub fn song(mut self, value: impl Into>) -> ChartBuilder> {
         self._fields.6 = Option::Some(value.into());
         ChartBuilder {
             _state: PhantomData,
@@ -437,10 +421,10 @@ where
 }
 
 fn lexicon_doc_dev_tsunagite_chart() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("dev.tsunagite.chart"),
@@ -552,4 +536,4 @@ fn lexicon_doc_dev_tsunagite_chart() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/dev_tsunagite/difficulty.rs b/crates/jacquard-api/src/dev_tsunagite/difficulty.rs
index 9c46ae46..51499548 100644
--- a/crates/jacquard-api/src/dev_tsunagite/difficulty.rs
+++ b/crates/jacquard-api/src/dev_tsunagite/difficulty.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// A difficulty slot in a game hosting leaderboards via Tsunagite.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -107,7 +107,7 @@ impl LexiconSchema for Difficulty {
 
 pub mod difficulty_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -208,10 +208,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> Difficulty {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> Difficulty {
         Difficulty {
             color: self._fields.0,
             name: self._fields.1.unwrap(),
@@ -221,10 +218,10 @@ where
 }
 
 fn lexicon_doc_dev_tsunagite_difficulty() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("dev.tsunagite.difficulty"),
@@ -233,11 +230,9 @@ fn lexicon_doc_dev_tsunagite_difficulty() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static(
-                            "A difficulty slot in a game hosting leaderboards via Tsunagite.",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "A difficulty slot in a game hosting leaderboards via Tsunagite.",
+                    )),
                     key: Some(CowStr::new_static("any")),
                     record: LexRecordRecord::Object(LexObject {
                         required: Some(vec![SmolStr::new_static("name")]),
@@ -247,11 +242,9 @@ fn lexicon_doc_dev_tsunagite_difficulty() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("color"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "The hex code color of the difficulty slot.",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "The hex code color of the difficulty slot.",
+                                    )),
                                     ..Default::default()
                                 }),
                             );
@@ -273,4 +266,4 @@ fn lexicon_doc_dev_tsunagite_difficulty() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/dev_tsunagite/game.rs b/crates/jacquard-api/src/dev_tsunagite/game.rs
index 0323d795..9a55b256 100644
--- a/crates/jacquard-api/src/dev_tsunagite/game.rs
+++ b/crates/jacquard-api/src/dev_tsunagite/game.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -25,15 +25,18 @@ use jacquard_derive::{IntoStatic, lexicon, open_union};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::dev_tsunagite::game;
+use crate::dev_tsunagite::types::Indexable;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::dev_tsunagite::types::Indexable;
-use crate::dev_tsunagite::game;
+use serde::{Deserialize, Serialize};
 /// A closed set of indexable named values.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Enum {
     ///The internal ID of this component, limited to the RecordKey characterset.
     pub id: RecordKey>,
@@ -76,7 +79,6 @@ pub struct Game {
     pub extra_data: Option>>,
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -105,7 +107,10 @@ pub struct GameGetRecordOutput {
 /// A percentage score with customizable precision.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Percentage {
     ///The internal ID of this component, limited to the RecordKey characterset.
     pub id: RecordKey>,
@@ -124,7 +129,10 @@ pub struct Percentage {
 /// An integer point score, with or without a cap.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Points {
     ///The internal ID of this component, limited to the RecordKey characterset.
     pub id: RecordKey>,
@@ -140,7 +148,10 @@ pub struct Points {
 /// A fallback component for displaying arbitrary text.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Text {
     ///The internal ID of this component, limited to the RecordKey characterset.
     pub id: RecordKey>,
@@ -246,31 +257,25 @@ impl LexiconSchema for Game {
         if let Some(ref value) = self.logo {
             {
                 let mime = value.blob().mime_type.as_str();
-                let accepted: &[&str] = &[
-                    "image/png",
-                    "image/jpeg",
-                    "image/jxl",
-                    "image/webp",
-                ];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let accepted: &[&str] = &["image/png", "image/jpeg", "image/jxl", "image/webp"];
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("logo"),
                         accepted: vec![
-                            "image/png".to_string(), "image/jpeg".to_string(),
-                            "image/jxl".to_string(), "image/webp".to_string()
+                            "image/png".to_string(),
+                            "image/jpeg".to_string(),
+                            "image/jxl".to_string(),
+                            "image/webp".to_string(),
                         ],
                         actual: mime.to_string(),
                     });
@@ -394,7 +399,7 @@ impl LexiconSchema for Text {
 
 pub mod enum_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -453,7 +458,11 @@ pub mod enum_state {
 /// Builder for constructing an instance of this type.
 pub struct EnumBuilder {
     _state: PhantomData St>,
-    _fields: (Option>>, Option>, Option>>),
+    _fields: (
+        Option>>,
+        Option>,
+        Option>>,
+    ),
     _type: PhantomData S>,
 }
 
@@ -500,10 +509,7 @@ where
     St::Name: enum_state::IsUnset,
 {
     /// Set the `name` field (required)
-    pub fn name(
-        mut self,
-        value: impl Into>,
-    ) -> EnumBuilder> {
+    pub fn name(mut self, value: impl Into>) -> EnumBuilder> {
         self._fields.1 = Option::Some(value.into());
         EnumBuilder {
             _state: PhantomData,
@@ -560,10 +566,10 @@ where
 }
 
 fn lexicon_doc_dev_tsunagite_game() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("dev.tsunagite.game"),
@@ -894,7 +900,7 @@ fn lexicon_doc_dev_tsunagite_game() -> LexiconDoc<'static> {
 
 pub mod game_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1082,10 +1088,7 @@ where
     St::Name: game_state::IsUnset,
 {
     /// Set the `name` field (required)
-    pub fn name(
-        mut self,
-        value: impl Into>,
-    ) -> GameBuilder> {
+    pub fn name(mut self, value: impl Into>) -> GameBuilder> {
         self._fields.5 = Option::Some(value.into());
         GameBuilder {
             _state: PhantomData,
@@ -1160,7 +1163,7 @@ fn _default_percentage_precision() -> i64 {
 
 pub mod percentage_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1235,7 +1238,12 @@ pub mod percentage_state {
 /// Builder for constructing an instance of this type.
 pub struct PercentageBuilder {
     _state: PhantomData St>,
-    _fields: (Option>>, Option, Option>, Option),
+    _fields: (
+        Option>>,
+        Option,
+        Option>,
+        Option,
+    ),
     _type: PhantomData S>,
 }
 
@@ -1352,10 +1360,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> Percentage {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> Percentage {
         Percentage {
             id: self._fields.0.unwrap(),
             maximum: self._fields.1.unwrap(),
@@ -1368,7 +1373,7 @@ where
 
 pub mod points_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1514,7 +1519,7 @@ where
 
 pub mod text_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1606,10 +1611,7 @@ where
     St::Name: text_state::IsUnset,
 {
     /// Set the `name` field (required)
-    pub fn name(
-        mut self,
-        value: impl Into>,
-    ) -> TextBuilder> {
+    pub fn name(mut self, value: impl Into>) -> TextBuilder> {
         self._fields.1 = Option::Some(value.into());
         TextBuilder {
             _state: PhantomData,
@@ -1641,4 +1643,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/dev_tsunagite/song.rs b/crates/jacquard-api/src/dev_tsunagite/song.rs
index f2d1c0d3..661e216f 100644
--- a/crates/jacquard-api/src/dev_tsunagite/song.rs
+++ b/crates/jacquard-api/src/dev_tsunagite/song.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -27,7 +27,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// A song included in a game hosting leaderboards via Tsunagite.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -133,31 +133,25 @@ impl LexiconSchema for Song {
         if let Some(ref value) = self.jacket {
             {
                 let mime = value.blob().mime_type.as_str();
-                let accepted: &[&str] = &[
-                    "image/png",
-                    "image/jpeg",
-                    "image/jxl",
-                    "image/webp",
-                ];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let accepted: &[&str] = &["image/png", "image/jpeg", "image/jxl", "image/webp"];
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("jacket"),
                         accepted: vec![
-                            "image/png".to_string(), "image/jpeg".to_string(),
-                            "image/jxl".to_string(), "image/webp".to_string()
+                            "image/png".to_string(),
+                            "image/jpeg".to_string(),
+                            "image/jxl".to_string(),
+                            "image/webp".to_string(),
                         ],
                         actual: mime.to_string(),
                     });
@@ -170,7 +164,7 @@ impl LexiconSchema for Song {
 
 pub mod song_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -369,10 +363,7 @@ where
     St::Title: song_state::IsUnset,
 {
     /// Set the `title` field (required)
-    pub fn title(
-        mut self,
-        value: impl Into>,
-    ) -> SongBuilder> {
+    pub fn title(mut self, value: impl Into>) -> SongBuilder> {
         self._fields.7 = Option::Some(value.into());
         SongBuilder {
             _state: PhantomData,
@@ -420,10 +411,10 @@ where
 }
 
 fn lexicon_doc_dev_tsunagite_song() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("dev.tsunagite.song"),
@@ -523,4 +514,4 @@ fn lexicon_doc_dev_tsunagite_song() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/dev_tsunagite/types.rs b/crates/jacquard-api/src/dev_tsunagite/types.rs
index 77d1326e..4bfd4dee 100644
--- a/crates/jacquard-api/src/dev_tsunagite/types.rs
+++ b/crates/jacquard-api/src/dev_tsunagite/types.rs
@@ -23,11 +23,14 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// A named value with a numeric index for sorting.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Indexable {
     ///The internal ID for the value, limited to the RecordKey character set.
     pub id: RecordKey>,
@@ -42,7 +45,10 @@ pub struct Indexable {
 /// A typed record reference that does not require a CID hash.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct TypedRef {
     ///The AT URI of the record this object references.
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -108,7 +114,7 @@ impl LexiconSchema for TypedRef {
 
 pub mod indexable_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -263,10 +269,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> Indexable {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> Indexable {
         Indexable {
             id: self._fields.0.unwrap(),
             index: self._fields.1.unwrap(),
@@ -277,10 +280,10 @@ where
 }
 
 fn lexicon_doc_dev_tsunagite_types() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("dev.tsunagite.types"),
@@ -338,22 +341,18 @@ fn lexicon_doc_dev_tsunagite_types() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("typedRef"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static(
-                            "A typed record reference that does not require a CID hash.",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "A typed record reference that does not require a CID hash.",
+                    )),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("ref"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "The AT URI of the record this object references.",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "The AT URI of the record this object references.",
+                                )),
                                 format: Some(LexStringFormat::AtUri),
                                 ..Default::default()
                             }),
@@ -361,11 +360,9 @@ fn lexicon_doc_dev_tsunagite_types() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("type"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "The type of the record this object references.",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "The type of the record this object references.",
+                                )),
                                 format: Some(LexStringFormat::RecordKey),
                                 ..Default::default()
                             }),
@@ -379,4 +376,4 @@ fn lexicon_doc_dev_tsunagite_types() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/dev_vielle.rs b/crates/jacquard-api/src/dev_vielle.rs
index ec91c02b..9dfcd942 100644
--- a/crates/jacquard-api/src/dev_vielle.rs
+++ b/crates/jacquard-api/src/dev_vielle.rs
@@ -4,4 +4,4 @@
 // Any manual changes will be overwritten on the next regeneration.
 
 pub mod dnd;
-pub mod guestbook;
\ No newline at end of file
+pub mod guestbook;
diff --git a/crates/jacquard-api/src/dev_vielle/dnd.rs b/crates/jacquard-api/src/dev_vielle/dnd.rs
index b9f855c0..8ae2c534 100644
--- a/crates/jacquard-api/src/dev_vielle/dnd.rs
+++ b/crates/jacquard-api/src/dev_vielle/dnd.rs
@@ -4,4 +4,4 @@
 // Any manual changes will be overwritten on the next regeneration.
 
 pub mod astral;
-pub mod power;
\ No newline at end of file
+pub mod power;
diff --git a/crates/jacquard-api/src/dev_vielle/dnd/astral.rs b/crates/jacquard-api/src/dev_vielle/dnd/astral.rs
index 4d1d3b5c..97781742 100644
--- a/crates/jacquard-api/src/dev_vielle/dnd/astral.rs
+++ b/crates/jacquard-api/src/dev_vielle/dnd/astral.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::dev_vielle::dnd::astral;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::dev_vielle::dnd::astral;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(
@@ -56,7 +56,6 @@ pub struct AstralGetRecordOutput {
     pub value: Astral,
 }
 
-
 #[derive(Debug, Clone, PartialEq, Eq, Hash)]
 pub enum Power {
     DevVielleDndPowerEldritchAdaptability,
@@ -85,9 +84,7 @@ impl Power {
             Self::DevVielleDndPowerEldritchAdaptability => {
                 "dev.vielle.dnd.power#eldritchAdaptability"
             }
-            Self::DevVielleDndPowerEldritchAssault => {
-                "dev.vielle.dnd.power#eldritchAssault"
-            }
+            Self::DevVielleDndPowerEldritchAssault => "dev.vielle.dnd.power#eldritchAssault",
             Self::DevVielleDndPowerRuneSeeker => "dev.vielle.dnd.power#runeSeeker",
             Self::DevVielleDndPowerFateScriber => "dev.vielle.dnd.power#fateScriber",
             Self::DevVielleDndPowerFaceless => "dev.vielle.dnd.power#faceless",
@@ -95,9 +92,7 @@ impl Power {
             Self::DevVielleDndPowerSpray => "dev.vielle.dnd.power#spray",
             Self::DevVielleDndPowerAcursed => "dev.vielle.dnd.power#acursed",
             Self::DevVielleDndPowerDarksight => "dev.vielle.dnd.power#darksight",
-            Self::DevVielleDndPowerEldritchVisage => {
-                "dev.vielle.dnd.power#eldritchVisage"
-            }
+            Self::DevVielleDndPowerEldritchVisage => "dev.vielle.dnd.power#eldritchVisage",
             Self::DevVielleDndPowerRegenerate => "dev.vielle.dnd.power#regenerate",
             Self::DevVielleDndPowerInstil => "dev.vielle.dnd.power#instil",
             Self::DevVielleDndPowerEldritchEnchantment => {
@@ -116,9 +111,7 @@ impl Power {
             "dev.vielle.dnd.power#eldritchAdaptability" => {
                 Self::DevVielleDndPowerEldritchAdaptability
             }
-            "dev.vielle.dnd.power#eldritchAssault" => {
-                Self::DevVielleDndPowerEldritchAssault
-            }
+            "dev.vielle.dnd.power#eldritchAssault" => Self::DevVielleDndPowerEldritchAssault,
             "dev.vielle.dnd.power#runeSeeker" => Self::DevVielleDndPowerRuneSeeker,
             "dev.vielle.dnd.power#fateScriber" => Self::DevVielleDndPowerFateScriber,
             "dev.vielle.dnd.power#faceless" => Self::DevVielleDndPowerFaceless,
@@ -126,9 +119,7 @@ impl Power {
             "dev.vielle.dnd.power#spray" => Self::DevVielleDndPowerSpray,
             "dev.vielle.dnd.power#acursed" => Self::DevVielleDndPowerAcursed,
             "dev.vielle.dnd.power#darksight" => Self::DevVielleDndPowerDarksight,
-            "dev.vielle.dnd.power#eldritchVisage" => {
-                Self::DevVielleDndPowerEldritchVisage
-            }
+            "dev.vielle.dnd.power#eldritchVisage" => Self::DevVielleDndPowerEldritchVisage,
             "dev.vielle.dnd.power#regenerate" => Self::DevVielleDndPowerRegenerate,
             "dev.vielle.dnd.power#instil" => Self::DevVielleDndPowerInstil,
             "dev.vielle.dnd.power#eldritchEnchantment" => {
@@ -185,9 +176,7 @@ where
             Power::DevVielleDndPowerEldritchAdaptability => {
                 Power::DevVielleDndPowerEldritchAdaptability
             }
-            Power::DevVielleDndPowerEldritchAssault => {
-                Power::DevVielleDndPowerEldritchAssault
-            }
+            Power::DevVielleDndPowerEldritchAssault => Power::DevVielleDndPowerEldritchAssault,
             Power::DevVielleDndPowerRuneSeeker => Power::DevVielleDndPowerRuneSeeker,
             Power::DevVielleDndPowerFateScriber => Power::DevVielleDndPowerFateScriber,
             Power::DevVielleDndPowerFaceless => Power::DevVielleDndPowerFaceless,
@@ -195,9 +184,7 @@ where
             Power::DevVielleDndPowerSpray => Power::DevVielleDndPowerSpray,
             Power::DevVielleDndPowerAcursed => Power::DevVielleDndPowerAcursed,
             Power::DevVielleDndPowerDarksight => Power::DevVielleDndPowerDarksight,
-            Power::DevVielleDndPowerEldritchVisage => {
-                Power::DevVielleDndPowerEldritchVisage
-            }
+            Power::DevVielleDndPowerEldritchVisage => Power::DevVielleDndPowerEldritchVisage,
             Power::DevVielleDndPowerRegenerate => Power::DevVielleDndPowerRegenerate,
             Power::DevVielleDndPowerInstil => Power::DevVielleDndPowerInstil,
             Power::DevVielleDndPowerEldritchEnchantment => {
@@ -266,7 +253,7 @@ fn _default_astral_points() -> i64 {
 
 pub mod astral_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -396,10 +383,10 @@ where
 }
 
 fn lexicon_doc_dev_vielle_dnd_astral() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("dev.vielle.dnd.astral"),
@@ -410,11 +397,10 @@ fn lexicon_doc_dev_vielle_dnd_astral() -> LexiconDoc<'static> {
                 LexUserType::Record(LexRecord {
                     key: Some(CowStr::new_static("literal:self")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("points"), SmolStr::new_static("powers")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("points"),
+                            SmolStr::new_static("powers"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -443,10 +429,12 @@ fn lexicon_doc_dev_vielle_dnd_astral() -> LexiconDoc<'static> {
             );
             map.insert(
                 SmolStr::new_static("power"),
-                LexUserType::String(LexString { ..Default::default() }),
+                LexUserType::String(LexString {
+                    ..Default::default()
+                }),
             );
             map
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/dev_vielle/dnd/power.rs b/crates/jacquard-api/src/dev_vielle/dnd/power.rs
index 0fdd9bfe..73e7cee4 100644
--- a/crates/jacquard-api/src/dev_vielle/dnd/power.rs
+++ b/crates/jacquard-api/src/dev_vielle/dnd/power.rs
@@ -7,7 +7,7 @@
 
 use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Hash)]
 pub struct Acursed;
@@ -17,7 +17,6 @@ impl core::fmt::Display for Acursed {
     }
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Hash)]
 pub struct Bind;
 impl core::fmt::Display for Bind {
@@ -26,7 +25,6 @@ impl core::fmt::Display for Bind {
     }
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Hash)]
 pub struct Bond;
 impl core::fmt::Display for Bond {
@@ -35,7 +33,6 @@ impl core::fmt::Display for Bond {
     }
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Hash)]
 pub struct Claw;
 impl core::fmt::Display for Claw {
@@ -44,7 +41,6 @@ impl core::fmt::Display for Claw {
     }
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Hash)]
 pub struct Darksight;
 impl core::fmt::Display for Darksight {
@@ -53,7 +49,6 @@ impl core::fmt::Display for Darksight {
     }
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Hash)]
 pub struct EldritchAdaptability;
 impl core::fmt::Display for EldritchAdaptability {
@@ -62,7 +57,6 @@ impl core::fmt::Display for EldritchAdaptability {
     }
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Hash)]
 pub struct EldritchAssault;
 impl core::fmt::Display for EldritchAssault {
@@ -71,7 +65,6 @@ impl core::fmt::Display for EldritchAssault {
     }
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Hash)]
 pub struct EldritchEnchantment;
 impl core::fmt::Display for EldritchEnchantment {
@@ -80,7 +73,6 @@ impl core::fmt::Display for EldritchEnchantment {
     }
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Hash)]
 pub struct EldritchVisage;
 impl core::fmt::Display for EldritchVisage {
@@ -89,7 +81,6 @@ impl core::fmt::Display for EldritchVisage {
     }
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Hash)]
 pub struct Faceless;
 impl core::fmt::Display for Faceless {
@@ -98,7 +89,6 @@ impl core::fmt::Display for Faceless {
     }
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Hash)]
 pub struct FateScriber;
 impl core::fmt::Display for FateScriber {
@@ -107,7 +97,6 @@ impl core::fmt::Display for FateScriber {
     }
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Hash)]
 pub struct Instil;
 impl core::fmt::Display for Instil {
@@ -116,7 +105,6 @@ impl core::fmt::Display for Instil {
     }
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Hash)]
 pub struct Invalid;
 impl core::fmt::Display for Invalid {
@@ -135,7 +123,6 @@ impl core::fmt::Display for Locked {
     }
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Hash)]
 pub struct Regenerate;
 impl core::fmt::Display for Regenerate {
@@ -144,7 +131,6 @@ impl core::fmt::Display for Regenerate {
     }
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Hash)]
 pub struct RuneSeeker;
 impl core::fmt::Display for RuneSeeker {
@@ -153,7 +139,6 @@ impl core::fmt::Display for RuneSeeker {
     }
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Hash)]
 pub struct Spray;
 impl core::fmt::Display for Spray {
@@ -162,11 +147,10 @@ impl core::fmt::Display for Spray {
     }
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Hash)]
 pub struct Whisper;
 impl core::fmt::Display for Whisper {
     fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
         write!(f, "whisper")
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/dev_vielle/guestbook.rs b/crates/jacquard-api/src/dev_vielle/guestbook.rs
index 591c9bbb..38dd2034 100644
--- a/crates/jacquard-api/src/dev_vielle/guestbook.rs
+++ b/crates/jacquard-api/src/dev_vielle/guestbook.rs
@@ -4,4 +4,4 @@
 // Any manual changes will be overwritten on the next regeneration.
 
 pub mod book;
-pub mod entry;
\ No newline at end of file
+pub mod entry;
diff --git a/crates/jacquard-api/src/dev_vielle/guestbook/book.rs b/crates/jacquard-api/src/dev_vielle/guestbook/book.rs
index f341b9be..59c23995 100644
--- a/crates/jacquard-api/src/dev_vielle/guestbook/book.rs
+++ b/crates/jacquard-api/src/dev_vielle/guestbook/book.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(
@@ -104,7 +104,7 @@ impl LexiconSchema for Book {
 
 pub mod book_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -215,10 +215,10 @@ where
 }
 
 fn lexicon_doc_dev_vielle_guestbook_book() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("dev.vielle.guestbook.book"),
@@ -257,4 +257,4 @@ fn lexicon_doc_dev_vielle_guestbook_book() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/dev_vielle/guestbook/entry.rs b/crates/jacquard-api/src/dev_vielle/guestbook/entry.rs
index c65276a4..796ead84 100644
--- a/crates/jacquard-api/src/dev_vielle/guestbook/entry.rs
+++ b/crates/jacquard-api/src/dev_vielle/guestbook/entry.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(
@@ -103,7 +103,7 @@ impl LexiconSchema for Entry {
 
 pub mod entry_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -176,10 +176,7 @@ where
     St::Book: entry_state::IsUnset,
 {
     /// Set the `book` field (required)
-    pub fn book(
-        mut self,
-        value: impl Into>,
-    ) -> EntryBuilder> {
+    pub fn book(mut self, value: impl Into>) -> EntryBuilder> {
         self._fields.0 = Option::Some(value.into());
         EntryBuilder {
             _state: PhantomData,
@@ -233,10 +230,10 @@ where
 }
 
 fn lexicon_doc_dev_vielle_guestbook_entry() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("dev.vielle.guestbook.entry"),
@@ -247,11 +244,10 @@ fn lexicon_doc_dev_vielle_guestbook_entry() -> LexiconDoc<'static> {
                 LexUserType::Record(LexRecord {
                     key: Some(CowStr::new_static("nsid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("book"), SmolStr::new_static("contents")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("book"),
+                            SmolStr::new_static("contents"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -279,4 +275,4 @@ fn lexicon_doc_dev_vielle_guestbook_entry() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/directory_evnt.rs b/crates/jacquard-api/src/directory_evnt.rs
index 16dfce64..9178617a 100644
--- a/crates/jacquard-api/src/directory_evnt.rs
+++ b/crates/jacquard-api/src/directory_evnt.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod event;
\ No newline at end of file
+pub mod event;
diff --git a/crates/jacquard-api/src/directory_evnt/event.rs b/crates/jacquard-api/src/directory_evnt/event.rs
index 870d17c7..c6d45d41 100644
--- a/crates/jacquard-api/src/directory_evnt/event.rs
+++ b/crates/jacquard-api/src/directory_evnt/event.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -22,10 +22,13 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Address {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub addr: Option,
@@ -37,9 +40,11 @@ pub struct Address {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Coordinates {
     pub lat: i64,
     pub lng: i64,
@@ -47,9 +52,11 @@ pub struct Coordinates {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct EventComponent {
     pub data: Data,
     pub r#type: S,
@@ -57,9 +64,11 @@ pub struct EventComponent {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct EventInstance {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub end: Option,
@@ -73,7 +82,6 @@ pub struct EventInstance {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Debug, Clone, PartialEq, Eq, Hash)]
 pub enum EventStatus {
     Planned,
@@ -157,9 +165,11 @@ where
     }
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct OnlineVenue {
     pub id: S,
     pub name: Data,
@@ -170,9 +180,11 @@ pub struct OnlineVenue {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct PhysicalVenue {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub address: Option>,
@@ -185,9 +197,11 @@ pub struct PhysicalVenue {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct UnknownVenue {
     pub id: S,
     pub name: Data,
@@ -196,9 +210,11 @@ pub struct UnknownVenue {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Event {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub components: Option>>,
@@ -216,7 +232,6 @@ pub struct Event {
     pub extra_data: Option>>,
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -342,10 +357,10 @@ impl LexiconSchema for Event {
 }
 
 fn lexicon_doc_directory_evnt_event() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("directory.evnt.event"),
@@ -359,15 +374,21 @@ fn lexicon_doc_directory_evnt_event() -> LexiconDoc<'static> {
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("addr"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("countryCode"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("postalCode"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map
                     },
@@ -377,9 +398,7 @@ fn lexicon_doc_directory_evnt_event() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("Coordinates"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![SmolStr::new_static("lat"), SmolStr::new_static("lng")],
-                    ),
+                    required: Some(vec![SmolStr::new_static("lat"), SmolStr::new_static("lng")]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -403,9 +422,10 @@ fn lexicon_doc_directory_evnt_event() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("EventComponent"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![SmolStr::new_static("type"), SmolStr::new_static("data")],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("type"),
+                        SmolStr::new_static("data"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -417,7 +437,9 @@ fn lexicon_doc_directory_evnt_event() -> LexiconDoc<'static> {
                         );
                         map.insert(
                             SmolStr::new_static("type"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map
                     },
@@ -432,11 +454,15 @@ fn lexicon_doc_directory_evnt_event() -> LexiconDoc<'static> {
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("end"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("start"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("status"),
@@ -461,23 +487,26 @@ fn lexicon_doc_directory_evnt_event() -> LexiconDoc<'static> {
             );
             map.insert(
                 SmolStr::new_static("EventStatus"),
-                LexUserType::String(LexString { ..Default::default() }),
+                LexUserType::String(LexString {
+                    ..Default::default()
+                }),
             );
             map.insert(
                 SmolStr::new_static("OnlineVenue"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("id"), SmolStr::new_static("type"),
-                            SmolStr::new_static("name")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("id"),
+                        SmolStr::new_static("type"),
+                        SmolStr::new_static("name"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("id"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("name"),
@@ -487,11 +516,15 @@ fn lexicon_doc_directory_evnt_event() -> LexiconDoc<'static> {
                         );
                         map.insert(
                             SmolStr::new_static("type"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("url"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map
                     },
@@ -501,12 +534,11 @@ fn lexicon_doc_directory_evnt_event() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("PhysicalVenue"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("id"), SmolStr::new_static("type"),
-                            SmolStr::new_static("name")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("id"),
+                        SmolStr::new_static("type"),
+                        SmolStr::new_static("name"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -526,7 +558,9 @@ fn lexicon_doc_directory_evnt_event() -> LexiconDoc<'static> {
                         );
                         map.insert(
                             SmolStr::new_static("id"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("name"),
@@ -536,7 +570,9 @@ fn lexicon_doc_directory_evnt_event() -> LexiconDoc<'static> {
                         );
                         map.insert(
                             SmolStr::new_static("type"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map
                     },
@@ -546,18 +582,19 @@ fn lexicon_doc_directory_evnt_event() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("UnknownVenue"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("id"), SmolStr::new_static("type"),
-                            SmolStr::new_static("name")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("id"),
+                        SmolStr::new_static("type"),
+                        SmolStr::new_static("name"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("id"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("name"),
@@ -567,7 +604,9 @@ fn lexicon_doc_directory_evnt_event() -> LexiconDoc<'static> {
                         );
                         map.insert(
                             SmolStr::new_static("type"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map
                     },
@@ -577,9 +616,7 @@ fn lexicon_doc_directory_evnt_event() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![SmolStr::new_static("v"), SmolStr::new_static("name")],
-                    ),
+                    required: Some(vec![SmolStr::new_static("v"), SmolStr::new_static("name")]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -635,7 +672,7 @@ fn lexicon_doc_directory_evnt_event() -> LexiconDoc<'static> {
                                     refs: vec![
                                         CowStr::new_static("#physicalVenue"),
                                         CowStr::new_static("#onlineVenue"),
-                                        CowStr::new_static("#unknownVenue")
+                                        CowStr::new_static("#unknownVenue"),
                                     ],
                                     ..Default::default()
                                 }),
@@ -655,7 +692,7 @@ fn lexicon_doc_directory_evnt_event() -> LexiconDoc<'static> {
 
 pub mod coordinates_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -775,10 +812,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> Coordinates {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> Coordinates {
         Coordinates {
             lat: self._fields.0.unwrap(),
             lng: self._fields.1.unwrap(),
@@ -789,7 +823,7 @@ where
 
 pub mod event_component_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -909,10 +943,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> EventComponent {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> EventComponent {
         EventComponent {
             data: self._fields.0.unwrap(),
             r#type: self._fields.1.unwrap(),
@@ -923,7 +954,7 @@ where
 
 pub mod online_venue_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1092,10 +1123,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> OnlineVenue {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> OnlineVenue {
         OnlineVenue {
             id: self._fields.0.unwrap(),
             name: self._fields.1.unwrap(),
@@ -1108,7 +1136,7 @@ where
 
 pub mod physical_venue_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1167,7 +1195,13 @@ pub mod physical_venue_state {
 /// Builder for constructing an instance of this type.
 pub struct PhysicalVenueBuilder {
     _state: PhantomData St>,
-    _fields: (Option>, Option>, Option, Option>, Option),
+    _fields: (
+        Option>,
+        Option>,
+        Option,
+        Option>,
+        Option,
+    ),
     _type: PhantomData S>,
 }
 
@@ -1291,10 +1325,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> PhysicalVenue {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> PhysicalVenue {
         PhysicalVenue {
             address: self._fields.0,
             coordinates: self._fields.1,
@@ -1308,7 +1339,7 @@ where
 
 pub mod unknown_venue_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1463,10 +1494,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> UnknownVenue {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> UnknownVenue {
         UnknownVenue {
             id: self._fields.0.unwrap(),
             name: self._fields.1.unwrap(),
@@ -1478,7 +1506,7 @@ where
 
 pub mod event_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1598,10 +1626,7 @@ where
     St::Name: event_state::IsUnset,
 {
     /// Set the `name` field (required)
-    pub fn name(
-        mut self,
-        value: impl Into>,
-    ) -> EventBuilder> {
+    pub fn name(mut self, value: impl Into>) -> EventBuilder> {
         self._fields.3 = Option::Some(value.into());
         EventBuilder {
             _state: PhantomData,
@@ -1685,4 +1710,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/diy_razorgirl.rs b/crates/jacquard-api/src/diy_razorgirl.rs
index 2e5cca3f..232ea302 100644
--- a/crates/jacquard-api/src/diy_razorgirl.rs
+++ b/crates/jacquard-api/src/diy_razorgirl.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod winter;
\ No newline at end of file
+pub mod winter;
diff --git a/crates/jacquard-api/src/diy_razorgirl/winter.rs b/crates/jacquard-api/src/diy_razorgirl/winter.rs
index 98b1da44..86077e62 100644
--- a/crates/jacquard-api/src/diy_razorgirl/winter.rs
+++ b/crates/jacquard-api/src/diy_razorgirl/winter.rs
@@ -9,4 +9,4 @@ pub mod note;
 pub mod thought;
 pub mod tool;
 pub mod wiki_entry;
-pub mod wiki_link;
\ No newline at end of file
+pub mod wiki_link;
diff --git a/crates/jacquard-api/src/diy_razorgirl/winter/fact.rs b/crates/jacquard-api/src/diy_razorgirl/winter/fact.rs
index 804146e0..00dbdb09 100644
--- a/crates/jacquard-api/src/diy_razorgirl/winter/fact.rs
+++ b/crates/jacquard-api/src/diy_razorgirl/winter/fact.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(
@@ -149,7 +149,7 @@ impl LexiconSchema for Fact {
 
 pub mod fact_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -245,10 +245,7 @@ where
     St::Args: fact_state::IsUnset,
 {
     /// Set the `args` field (required)
-    pub fn args(
-        mut self,
-        value: impl Into>,
-    ) -> FactBuilder> {
+    pub fn args(mut self, value: impl Into>) -> FactBuilder> {
         self._fields.0 = Option::Some(value.into());
         FactBuilder {
             _state: PhantomData,
@@ -399,10 +396,10 @@ where
 }
 
 fn lexicon_doc_diy_razorgirl_winter_fact() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("diy.razorgirl.winter.fact"),
@@ -413,13 +410,11 @@ fn lexicon_doc_diy_razorgirl_winter_fact() -> LexiconDoc<'static> {
                 LexUserType::Record(LexRecord {
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("predicate"),
-                                SmolStr::new_static("args"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("predicate"),
+                            SmolStr::new_static("args"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -436,9 +431,9 @@ fn lexicon_doc_diy_razorgirl_winter_fact() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("confidence"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("0.0-1.0 as string (Soufflé compat)"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "0.0-1.0 as string (Soufflé compat)",
+                                    )),
                                     ..Default::default()
                                 }),
                             );
@@ -466,18 +461,14 @@ fn lexicon_doc_diy_razorgirl_winter_fact() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("source"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("CID of source record"),
-                                    ),
+                                    description: Some(CowStr::new_static("CID of source record")),
                                     ..Default::default()
                                 }),
                             );
                             map.insert(
                                 SmolStr::new_static("supersedes"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("CID of superseded fact"),
-                                    ),
+                                    description: Some(CowStr::new_static("CID of superseded fact")),
                                     ..Default::default()
                                 }),
                             );
@@ -502,4 +493,4 @@ fn lexicon_doc_diy_razorgirl_winter_fact() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/diy_razorgirl/winter/job.rs b/crates/jacquard-api/src/diy_razorgirl/winter/job.rs
index 39032a93..3a3d8bba 100644
--- a/crates/jacquard-api/src/diy_razorgirl/winter/job.rs
+++ b/crates/jacquard-api/src/diy_razorgirl/winter/job.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,13 +24,16 @@ use jacquard_derive::{IntoStatic, lexicon, open_union};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::diy_razorgirl::winter::job;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::diy_razorgirl::winter::job;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct IntervalSchedule {
     pub seconds: i64,
     pub r#type: S,
@@ -38,7 +41,6 @@ pub struct IntervalSchedule {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(
     rename_all = "camelCase",
@@ -65,7 +67,6 @@ pub struct Job {
     pub extra_data: Option>>,
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -76,7 +77,6 @@ pub enum JobSchedule {
     IntervalSchedule(Box>),
 }
 
-
 #[derive(Debug, Clone, PartialEq, Eq, Hash)]
 pub enum JobStatus {
     Pending,
@@ -173,9 +173,11 @@ pub struct JobGetRecordOutput {
     pub value: Job,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct OnceSchedule {
     pub run_at: Datetime,
     pub r#type: S,
@@ -285,7 +287,7 @@ impl LexiconSchema for OnceSchedule {
 
 pub mod interval_schedule_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -405,10 +407,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> IntervalSchedule {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> IntervalSchedule {
         IntervalSchedule {
             seconds: self._fields.0.unwrap(),
             r#type: self._fields.1.unwrap(),
@@ -418,10 +417,10 @@ where
 }
 
 fn lexicon_doc_diy_razorgirl_winter_job() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("diy.razorgirl.winter.job"),
@@ -430,9 +429,10 @@ fn lexicon_doc_diy_razorgirl_winter_job() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("intervalSchedule"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![SmolStr::new_static("type"), SmolStr::new_static("seconds")],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("type"),
+                        SmolStr::new_static("seconds"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -444,7 +444,9 @@ fn lexicon_doc_diy_razorgirl_winter_job() -> LexiconDoc<'static> {
                         );
                         map.insert(
                             SmolStr::new_static("type"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map
                     },
@@ -456,14 +458,12 @@ fn lexicon_doc_diy_razorgirl_winter_job() -> LexiconDoc<'static> {
                 LexUserType::Record(LexRecord {
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("name"),
-                                SmolStr::new_static("instructions"),
-                                SmolStr::new_static("schedule"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("name"),
+                            SmolStr::new_static("instructions"),
+                            SmolStr::new_static("schedule"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -513,7 +513,7 @@ fn lexicon_doc_diy_razorgirl_winter_job() -> LexiconDoc<'static> {
                                 LexObjectProperty::Union(LexRefUnion {
                                     refs: vec![
                                         CowStr::new_static("#onceSchedule"),
-                                        CowStr::new_static("#intervalSchedule")
+                                        CowStr::new_static("#intervalSchedule"),
                                     ],
                                     ..Default::default()
                                 }),
@@ -534,9 +534,10 @@ fn lexicon_doc_diy_razorgirl_winter_job() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("onceSchedule"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![SmolStr::new_static("type"), SmolStr::new_static("runAt")],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("type"),
+                        SmolStr::new_static("runAt"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -549,7 +550,9 @@ fn lexicon_doc_diy_razorgirl_winter_job() -> LexiconDoc<'static> {
                         );
                         map.insert(
                             SmolStr::new_static("type"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map
                     },
@@ -568,7 +571,7 @@ fn _default_job_failure_count() -> Option {
 
 pub mod job_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -839,7 +842,7 @@ where
 
 pub mod once_schedule_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -959,14 +962,11 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> OnceSchedule {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> OnceSchedule {
         OnceSchedule {
             run_at: self._fields.0.unwrap(),
             r#type: self._fields.1.unwrap(),
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/diy_razorgirl/winter/note.rs b/crates/jacquard-api/src/diy_razorgirl/winter/note.rs
index 176b4b38..8e17a8fb 100644
--- a/crates/jacquard-api/src/diy_razorgirl/winter/note.rs
+++ b/crates/jacquard-api/src/diy_razorgirl/winter/note.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(
@@ -154,7 +154,7 @@ impl LexiconSchema for Note {
 
 pub mod note_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -278,10 +278,7 @@ where
     St::Content: note_state::IsUnset,
 {
     /// Set the `content` field (required)
-    pub fn content(
-        mut self,
-        value: impl Into,
-    ) -> NoteBuilder> {
+    pub fn content(mut self, value: impl Into) -> NoteBuilder> {
         self._fields.1 = Option::Some(value.into());
         NoteBuilder {
             _state: PhantomData,
@@ -361,10 +358,7 @@ where
     St::Title: note_state::IsUnset,
 {
     /// Set the `title` field (required)
-    pub fn title(
-        mut self,
-        value: impl Into,
-    ) -> NoteBuilder> {
+    pub fn title(mut self, value: impl Into) -> NoteBuilder> {
         self._fields.6 = Option::Some(value.into());
         NoteBuilder {
             _state: PhantomData,
@@ -411,10 +405,10 @@ where
 }
 
 fn lexicon_doc_diy_razorgirl_winter_note() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("diy.razorgirl.winter.note"),
@@ -425,14 +419,12 @@ fn lexicon_doc_diy_razorgirl_winter_note() -> LexiconDoc<'static> {
                 LexUserType::Record(LexRecord {
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("title"),
-                                SmolStr::new_static("content"),
-                                SmolStr::new_static("createdAt"),
-                                SmolStr::new_static("lastUpdated")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("title"),
+                            SmolStr::new_static("content"),
+                            SmolStr::new_static("createdAt"),
+                            SmolStr::new_static("lastUpdated"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -467,9 +459,9 @@ fn lexicon_doc_diy_razorgirl_winter_note() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("relatedFacts"),
                                 LexObjectProperty::Array(LexArray {
-                                    description: Some(
-                                        CowStr::new_static("AT URIs of related facts"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "AT URIs of related facts",
+                                    )),
                                     items: LexArrayItem::String(LexString {
                                         format: Some(LexStringFormat::AtUri),
                                         ..Default::default()
@@ -505,4 +497,4 @@ fn lexicon_doc_diy_razorgirl_winter_note() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/diy_razorgirl/winter/thought.rs b/crates/jacquard-api/src/diy_razorgirl/winter/thought.rs
index 7d44aa72..915b0563 100644
--- a/crates/jacquard-api/src/diy_razorgirl/winter/thought.rs
+++ b/crates/jacquard-api/src/diy_razorgirl/winter/thought.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(
@@ -51,7 +51,6 @@ pub struct Thought {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Debug, Clone, PartialEq, Eq, Hash)]
 pub enum ThoughtKind {
     Insight,
@@ -231,7 +230,7 @@ impl LexiconSchema for Thought {
 
 pub mod thought_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -449,10 +448,10 @@ where
 }
 
 fn lexicon_doc_diy_razorgirl_winter_thought() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("diy.razorgirl.winter.thought"),
@@ -463,12 +462,11 @@ fn lexicon_doc_diy_razorgirl_winter_thought() -> LexiconDoc<'static> {
                 LexUserType::Record(LexRecord {
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("kind"), SmolStr::new_static("content"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("kind"),
+                            SmolStr::new_static("content"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -511,9 +509,9 @@ fn lexicon_doc_diy_razorgirl_winter_thought() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("trigger"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("What prompted this thought"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "What prompted this thought",
+                                    )),
                                     ..Default::default()
                                 }),
                             );
@@ -528,4 +526,4 @@ fn lexicon_doc_diy_razorgirl_winter_thought() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/diy_razorgirl/winter/tool.rs b/crates/jacquard-api/src/diy_razorgirl/winter/tool.rs
index 86aa7f12..12fa755a 100644
--- a/crates/jacquard-api/src/diy_razorgirl/winter/tool.rs
+++ b/crates/jacquard-api/src/diy_razorgirl/winter/tool.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(
@@ -156,7 +156,7 @@ impl LexiconSchema for Tool {
 
 pub mod tool_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -279,18 +279,7 @@ impl ToolBuilder {
         ToolBuilder {
             _state: PhantomData,
             _fields: (
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
+                None, None, None, None, None, None, None, None, None, None, None, None,
             ),
             _type: PhantomData,
         }
@@ -303,10 +292,7 @@ where
     St::Code: tool_state::IsUnset,
 {
     /// Set the `code` field (required)
-    pub fn code(
-        mut self,
-        value: impl Into,
-    ) -> ToolBuilder> {
+    pub fn code(mut self, value: impl Into) -> ToolBuilder> {
         self._fields.0 = Option::Some(value.into());
         ToolBuilder {
             _state: PhantomData,
@@ -392,10 +378,7 @@ where
     St::Name: tool_state::IsUnset,
 {
     /// Set the `name` field (required)
-    pub fn name(
-        mut self,
-        value: impl Into,
-    ) -> ToolBuilder> {
+    pub fn name(mut self, value: impl Into) -> ToolBuilder> {
         self._fields.5 = Option::Some(value.into());
         ToolBuilder {
             _state: PhantomData,
@@ -531,10 +514,10 @@ where
 }
 
 fn lexicon_doc_diy_razorgirl_winter_tool() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("diy.razorgirl.winter.tool"),
@@ -545,26 +528,22 @@ fn lexicon_doc_diy_razorgirl_winter_tool() -> LexiconDoc<'static> {
                 LexUserType::Record(LexRecord {
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("name"),
-                                SmolStr::new_static("description"),
-                                SmolStr::new_static("code"),
-                                SmolStr::new_static("inputSchema"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("name"),
+                            SmolStr::new_static("description"),
+                            SmolStr::new_static("code"),
+                            SmolStr::new_static("inputSchema"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
                             map.insert(
                                 SmolStr::new_static("code"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "TS/JS source, must export default async function",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "TS/JS source, must export default async function",
+                                    )),
                                     max_length: Some(100000usize),
                                     ..Default::default()
                                 }),
@@ -624,11 +603,9 @@ fn lexicon_doc_diy_razorgirl_winter_tool() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("requiredTools"),
                                 LexObjectProperty::Array(LexArray {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "Tools this tool chains to (AT URIs or built-in names)",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Tools this tool chains to (AT URIs or built-in names)",
+                                    )),
                                     items: LexArrayItem::String(LexString {
                                         ..Default::default()
                                     }),
@@ -664,4 +641,4 @@ fn lexicon_doc_diy_razorgirl_winter_tool() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/diy_razorgirl/winter/wiki_entry.rs b/crates/jacquard-api/src/diy_razorgirl/winter/wiki_entry.rs
index f6c2ae3f..d8b7cca9 100644
--- a/crates/jacquard-api/src/diy_razorgirl/winter/wiki_entry.rs
+++ b/crates/jacquard-api/src/diy_razorgirl/winter/wiki_entry.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(
@@ -57,7 +57,6 @@ pub struct WikiEntry {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Debug, Clone, PartialEq, Eq, Hash)]
 pub enum WikiEntryStatus {
     Draft,
@@ -263,7 +262,7 @@ impl LexiconSchema for WikiEntry {
 
 pub mod wiki_entry_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -575,10 +574,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> WikiEntry {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> WikiEntry {
         WikiEntry {
             aliases: self._fields.0,
             content: self._fields.1.unwrap(),
@@ -596,10 +592,10 @@ where
 }
 
 fn lexicon_doc_diy_razorgirl_winter_wikiEntry() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("diy.razorgirl.winter.wikiEntry"),
@@ -610,25 +606,22 @@ fn lexicon_doc_diy_razorgirl_winter_wikiEntry() -> LexiconDoc<'static> {
                 LexUserType::Record(LexRecord {
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("title"), SmolStr::new_static("slug"),
-                                SmolStr::new_static("content"),
-                                SmolStr::new_static("createdAt"),
-                                SmolStr::new_static("lastUpdated")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("title"),
+                            SmolStr::new_static("slug"),
+                            SmolStr::new_static("content"),
+                            SmolStr::new_static("createdAt"),
+                            SmolStr::new_static("lastUpdated"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
                             map.insert(
                                 SmolStr::new_static("aliases"),
                                 LexObjectProperty::Array(LexArray {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "Alternative names for [[alias]] resolution",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Alternative names for [[alias]] resolution",
+                                    )),
                                     items: LexArrayItem::String(LexString {
                                         ..Default::default()
                                     }),
@@ -660,11 +653,9 @@ fn lexicon_doc_diy_razorgirl_winter_wikiEntry() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("slug"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "URL-safe identifier for [[slug]] linking",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "URL-safe identifier for [[slug]] linking",
+                                    )),
                                     max_length: Some(128usize),
                                     ..Default::default()
                                 }),
@@ -717,4 +708,4 @@ fn lexicon_doc_diy_razorgirl_winter_wikiEntry() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/diy_razorgirl/winter/wiki_link.rs b/crates/jacquard-api/src/diy_razorgirl/winter/wiki_link.rs
index 418a2709..2f0139c6 100644
--- a/crates/jacquard-api/src/diy_razorgirl/winter/wiki_link.rs
+++ b/crates/jacquard-api/src/diy_razorgirl/winter/wiki_link.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(
@@ -53,7 +53,6 @@ pub struct WikiLink {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Debug, Clone, PartialEq, Eq, Hash)]
 pub enum WikiLinkLinkType {
     RelatedTo,
@@ -230,7 +229,7 @@ impl LexiconSchema for WikiLink {
 
 pub mod wiki_link_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -487,10 +486,10 @@ where
 }
 
 fn lexicon_doc_diy_razorgirl_winter_wikiLink() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("diy.razorgirl.winter.wikiLink"),
@@ -501,23 +500,19 @@ fn lexicon_doc_diy_razorgirl_winter_wikiLink() -> LexiconDoc<'static> {
                 LexUserType::Record(LexRecord {
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("source"),
-                                SmolStr::new_static("target"),
-                                SmolStr::new_static("linkType"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("source"),
+                            SmolStr::new_static("target"),
+                            SmolStr::new_static("linkType"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
                             map.insert(
                                 SmolStr::new_static("context"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("Why this link exists"),
-                                    ),
+                                    description: Some(CowStr::new_static("Why this link exists")),
                                     max_length: Some(512usize),
                                     ..Default::default()
                                 }),
@@ -545,9 +540,9 @@ fn lexicon_doc_diy_razorgirl_winter_wikiLink() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("sourceAnchor"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("Section heading slug in source"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Section heading slug in source",
+                                    )),
                                     ..Default::default()
                                 }),
                             );
@@ -561,9 +556,9 @@ fn lexicon_doc_diy_razorgirl_winter_wikiLink() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("targetAnchor"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("Section heading slug in target"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Section heading slug in target",
+                                    )),
                                     ..Default::default()
                                 }),
                             );
@@ -578,4 +573,4 @@ fn lexicon_doc_diy_razorgirl_winter_wikiLink() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/download_darkworld.rs b/crates/jacquard-api/src/download_darkworld.rs
index b01329db..c22d8fea 100644
--- a/crates/jacquard-api/src/download_darkworld.rs
+++ b/crates/jacquard-api/src/download_darkworld.rs
@@ -9,7 +9,7 @@ pub mod deltarune;
 pub mod site;
 pub mod state;
 
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 /// Identifies as female.
 pub type GenderFemale = S;
 /// Identifies as male.
@@ -25,4 +25,4 @@ pub type PronounsHeHim = S;
 pub type PronounsHeThey = S;
 pub type PronounsSheHer = S;
 pub type PronounsSheThey = S;
-pub type PronounsTheyThem = S;
\ No newline at end of file
+pub type PronounsTheyThem = S;
diff --git a/crates/jacquard-api/src/download_darkworld/deltarune.rs b/crates/jacquard-api/src/download_darkworld/deltarune.rs
index 701513e1..31121b8e 100644
--- a/crates/jacquard-api/src/download_darkworld/deltarune.rs
+++ b/crates/jacquard-api/src/download_darkworld/deltarune.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,45 +24,56 @@ use jacquard_derive::{IntoStatic, lexicon, open_union};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::download_darkworld::deltarune;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::download_darkworld::deltarune;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct LocationElsewhere {
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct LocationHome {
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct LocationMathTextbook {
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct LocationOnSkin {
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct LocationSchool {
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
@@ -87,7 +98,6 @@ pub struct Deltarune {
     pub extra_data: Option>>,
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -104,7 +114,6 @@ pub enum DeltaruneTool {
     ToolOther(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -132,41 +141,51 @@ pub struct DeltaruneGetRecordOutput {
     pub value: Deltarune,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ToolFinger {
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ToolMarker {
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ToolOther {
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ToolPen {
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ToolPencil {
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
@@ -371,10 +390,10 @@ impl LexiconSchema for ToolPencil {
 }
 
 fn lexicon_doc_download_darkworld_deltarune() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("download.darkworld.deltarune"),
@@ -552,7 +571,7 @@ fn lexicon_doc_download_darkworld_deltarune() -> LexiconDoc<'static> {
 
 pub mod deltarune_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -585,7 +604,11 @@ pub mod deltarune_state {
 /// Builder for constructing an instance of this type.
 pub struct DeltaruneBuilder {
     _state: PhantomData St>,
-    _fields: (Option, Option>, Option>),
+    _fields: (
+        Option,
+        Option>,
+        Option>,
+    ),
     _type: PhantomData S>,
 }
 
@@ -667,10 +690,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> Deltarune {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> Deltarune {
         Deltarune {
             time: self._fields.0.unwrap(),
             tool: self._fields.1,
@@ -678,4 +698,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/download_darkworld/site.rs b/crates/jacquard-api/src/download_darkworld/site.rs
index 9b02db80..c24ad4ed 100644
--- a/crates/jacquard-api/src/download_darkworld/site.rs
+++ b/crates/jacquard-api/src/download_darkworld/site.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod get_state;
\ No newline at end of file
+pub mod get_state;
diff --git a/crates/jacquard-api/src/download_darkworld/site/get_state.rs b/crates/jacquard-api/src/download_darkworld/site/get_state.rs
index a2e5f31d..dc33e303 100644
--- a/crates/jacquard-api/src/download_darkworld/site/get_state.rs
+++ b/crates/jacquard-api/src/download_darkworld/site/get_state.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -20,13 +20,16 @@ use jacquard_derive::IntoStatic;
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::download_darkworld::site::get_state;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::download_darkworld::site::get_state;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetStateOutput {
     #[serde(flatten)]
     pub value: Data,
@@ -34,9 +37,11 @@ pub struct GetStateOutput {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Output {
     pub favorite_albums: Vec,
     pub favorite_artists: Vec,
@@ -186,7 +191,7 @@ impl LexiconSchema for Output {
 
 pub mod output_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -235,9 +240,7 @@ pub mod output_state {
         type UseSusieProphecy = St::UseSusieProphecy;
     }
     ///State transition - sets the `favorite_deltarune_characters` field to Set
-    pub struct SetFavoriteDeltaruneCharacters(
-        PhantomData St>,
-    );
+    pub struct SetFavoriteDeltaruneCharacters(PhantomData St>);
     impl sealed::Sealed for SetFavoriteDeltaruneCharacters {}
     impl State for SetFavoriteDeltaruneCharacters {
         type TitleColors = St::TitleColors;
@@ -481,10 +484,10 @@ where
 }
 
 fn lexicon_doc_download_darkworld_site_getState() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("download.darkworld.site.getState"),
@@ -500,16 +503,14 @@ fn lexicon_doc_download_darkworld_site_getState() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("output"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("useSusieProphecy"),
-                            SmolStr::new_static("titleColors"),
-                            SmolStr::new_static("favoriteGames"),
-                            SmolStr::new_static("favoriteArtists"),
-                            SmolStr::new_static("favoriteAlbums"),
-                            SmolStr::new_static("favoriteDeltaruneCharacters")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("useSusieProphecy"),
+                        SmolStr::new_static("titleColors"),
+                        SmolStr::new_static("favoriteGames"),
+                        SmolStr::new_static("favoriteArtists"),
+                        SmolStr::new_static("favoriteAlbums"),
+                        SmolStr::new_static("favoriteDeltaruneCharacters"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -552,9 +553,9 @@ fn lexicon_doc_download_darkworld_site_getState() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("titleColors"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Named title color mode for the site."),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Named title color mode for the site.",
+                                )),
                                 ..Default::default()
                             }),
                         );
@@ -573,4 +574,4 @@ fn lexicon_doc_download_darkworld_site_getState() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/download_darkworld/state.rs b/crates/jacquard-api/src/download_darkworld/state.rs
index 19d232e5..02dfbffa 100644
--- a/crates/jacquard-api/src/download_darkworld/state.rs
+++ b/crates/jacquard-api/src/download_darkworld/state.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,13 +24,16 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::download_darkworld::state;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::download_darkworld::state;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Favorite {
     pub album: Vec,
     pub artist: Vec,
@@ -69,9 +72,11 @@ pub struct StateGetRecordOutput {
     pub value: State,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Site {
     ///Swap out Kris with Susie in the prophecy panel.
     pub susie_prophecy: bool,
@@ -249,7 +254,7 @@ impl LexiconSchema for Site {
 
 pub mod favorite_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -324,7 +329,12 @@ pub mod favorite_state {
 /// Builder for constructing an instance of this type.
 pub struct FavoriteBuilder {
     _state: PhantomData St>,
-    _fields: (Option>, Option>, Option>, Option>),
+    _fields: (
+        Option>,
+        Option>,
+        Option>,
+        Option>,
+    ),
     _type: PhantomData S>,
 }
 
@@ -453,10 +463,10 @@ where
 }
 
 fn lexicon_doc_download_darkworld_state() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("download.darkworld.state"),
@@ -465,13 +475,12 @@ fn lexicon_doc_download_darkworld_state() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("favorite"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("game"), SmolStr::new_static("artist"),
-                            SmolStr::new_static("album"),
-                            SmolStr::new_static("deltaruneCharacter")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("game"),
+                        SmolStr::new_static("artist"),
+                        SmolStr::new_static("album"),
+                        SmolStr::new_static("deltaruneCharacter"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -519,29 +528,24 @@ fn lexicon_doc_download_darkworld_state() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static(
-                            "The record used by darkworld.download to determine the website's content.",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "The record used by darkworld.download to determine the website's content.",
+                    )),
                     key: Some(CowStr::new_static("literal:self")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("site"), SmolStr::new_static("favorite")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("site"),
+                            SmolStr::new_static("favorite"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
                             map.insert(
                                 SmolStr::new_static("favorite"),
                                 LexObjectProperty::Union(LexRefUnion {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "The user's favorites/likes/preferences.",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "The user's favorites/likes/preferences.",
+                                    )),
                                     refs: vec![CowStr::new_static("#favorite")],
                                     closed: Some(true),
                                     ..Default::default()
@@ -550,9 +554,9 @@ fn lexicon_doc_download_darkworld_state() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("site"),
                                 LexObjectProperty::Union(LexRefUnion {
-                                    description: Some(
-                                        CowStr::new_static("Describe the site's content/look."),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Describe the site's content/look.",
+                                    )),
                                     refs: vec![CowStr::new_static("#site")],
                                     closed: Some(true),
                                     ..Default::default()
@@ -598,7 +602,7 @@ fn lexicon_doc_download_darkworld_state() -> LexiconDoc<'static> {
 
 pub mod state_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -729,7 +733,7 @@ where
 
 pub mod site_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -837,4 +841,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/eu_atchef.rs b/crates/jacquard-api/src/eu_atchef.rs
index 11678bbd..9e5d122d 100644
--- a/crates/jacquard-api/src/eu_atchef.rs
+++ b/crates/jacquard-api/src/eu_atchef.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod recipe;
\ No newline at end of file
+pub mod recipe;
diff --git a/crates/jacquard-api/src/eu_atchef/recipe.rs b/crates/jacquard-api/src/eu_atchef/recipe.rs
index 0977fd3b..533b0c46 100644
--- a/crates/jacquard-api/src/eu_atchef/recipe.rs
+++ b/crates/jacquard-api/src/eu_atchef/recipe.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -27,7 +27,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// A cooking recipe with ingredients, instructions, and metadata
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -195,25 +195,23 @@ impl LexiconSchema for Recipe {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["image/png", "image/jpeg", "image/webp"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("image"),
                         accepted: vec![
-                            "image/png".to_string(), "image/jpeg".to_string(),
-                            "image/webp".to_string()
+                            "image/png".to_string(),
+                            "image/jpeg".to_string(),
+                            "image/webp".to_string(),
                         ],
                         actual: mime.to_string(),
                     });
@@ -277,7 +275,7 @@ impl LexiconSchema for Recipe {
 
 pub mod recipe_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -452,10 +450,7 @@ where
     St::Name: recipe_state::IsUnset,
 {
     /// Set the `name` field (required)
-    pub fn name(
-        mut self,
-        value: impl Into,
-    ) -> RecipeBuilder> {
+    pub fn name(mut self, value: impl Into) -> RecipeBuilder> {
         self._fields.5 = Option::Some(value.into());
         RecipeBuilder {
             _state: PhantomData,
@@ -559,10 +554,10 @@ where
 }
 
 fn lexicon_doc_eu_atchef_recipe() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("eu.atchef.recipe"),
@@ -571,28 +566,25 @@ fn lexicon_doc_eu_atchef_recipe() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static(
-                            "A cooking recipe with ingredients, instructions, and metadata",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "A cooking recipe with ingredients, instructions, and metadata",
+                    )),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("name"), SmolStr::new_static("content"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("name"),
+                            SmolStr::new_static("content"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
                             map.insert(
                                 SmolStr::new_static("content"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("Recipe content in Cooklang format"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Recipe content in Cooklang format",
+                                    )),
                                     max_length: Some(15000usize),
                                     max_graphemes: Some(3000usize),
                                     ..Default::default()
@@ -608,9 +600,9 @@ fn lexicon_doc_eu_atchef_recipe() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("createdAt"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("When the recipe was created"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "When the recipe was created",
+                                    )),
                                     format: Some(LexStringFormat::Datetime),
                                     ..Default::default()
                                 }),
@@ -618,9 +610,9 @@ fn lexicon_doc_eu_atchef_recipe() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("description"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("Brief recipe description or summary"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Brief recipe description or summary",
+                                    )),
                                     max_length: Some(500usize),
                                     max_graphemes: Some(200usize),
                                     ..Default::default()
@@ -628,7 +620,9 @@ fn lexicon_doc_eu_atchef_recipe() -> LexiconDoc<'static> {
                             );
                             map.insert(
                                 SmolStr::new_static("image"),
-                                LexObjectProperty::Blob(LexBlob { ..Default::default() }),
+                                LexObjectProperty::Blob(LexBlob {
+                                    ..Default::default()
+                                }),
                             );
                             map.insert(
                                 SmolStr::new_static("name"),
@@ -663,9 +657,9 @@ fn lexicon_doc_eu_atchef_recipe() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("updatedAt"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("When the recipe was last updated"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "When the recipe was last updated",
+                                    )),
                                     format: Some(LexStringFormat::Datetime),
                                     ..Default::default()
                                 }),
@@ -681,4 +675,4 @@ fn lexicon_doc_eu_atchef_recipe() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/events_smokesignal.rs b/crates/jacquard-api/src/events_smokesignal.rs
index 32131dc1..2d74a199 100644
--- a/crates/jacquard-api/src/events_smokesignal.rs
+++ b/crates/jacquard-api/src/events_smokesignal.rs
@@ -6,4 +6,4 @@
 pub mod calendar;
 pub mod event;
 pub mod lfg;
-pub mod profile;
\ No newline at end of file
+pub mod profile;
diff --git a/crates/jacquard-api/src/events_smokesignal/calendar.rs b/crates/jacquard-api/src/events_smokesignal/calendar.rs
index 17d4069b..fa09da31 100644
--- a/crates/jacquard-api/src/events_smokesignal/calendar.rs
+++ b/crates/jacquard-api/src/events_smokesignal/calendar.rs
@@ -4,4 +4,4 @@
 // Any manual changes will be overwritten on the next regeneration.
 
 pub mod acceptance;
-pub mod event_configuration;
\ No newline at end of file
+pub mod event_configuration;
diff --git a/crates/jacquard-api/src/events_smokesignal/calendar/acceptance.rs b/crates/jacquard-api/src/events_smokesignal/calendar/acceptance.rs
index e019ea63..c7570ee0 100644
--- a/crates/jacquard-api/src/events_smokesignal/calendar/acceptance.rs
+++ b/crates/jacquard-api/src/events_smokesignal/calendar/acceptance.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// A cryptographic proof record that contains RSVP acceptance data.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -104,7 +104,7 @@ impl LexiconSchema for Acceptance {
 
 pub mod acceptance_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -191,10 +191,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> Acceptance {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> Acceptance {
         Acceptance {
             cid: self._fields.0.unwrap(),
             extra_data: Some(extra_data),
@@ -203,10 +200,10 @@ where
 }
 
 fn lexicon_doc_events_smokesignal_calendar_acceptance() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("events.smokesignal.calendar.acceptance"),
@@ -249,4 +246,4 @@ fn lexicon_doc_events_smokesignal_calendar_acceptance() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/events_smokesignal/calendar/event_configuration.rs b/crates/jacquard-api/src/events_smokesignal/calendar/event_configuration.rs
index fbcfc608..9addd792 100644
--- a/crates/jacquard-api/src/events_smokesignal/calendar/event_configuration.rs
+++ b/crates/jacquard-api/src/events_smokesignal/calendar/event_configuration.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// Configuration settings for a Smoke Signal event, controlling RSVP behavior and access requirements.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -121,7 +121,7 @@ impl LexiconSchema for EventConfiguration {
 
 pub mod event_configuration_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -216,10 +216,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> EventConfiguration {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> EventConfiguration {
         EventConfiguration {
             disable_direct_rsvp: self._fields.0,
             require_confirmed_email: self._fields.1,
@@ -230,10 +227,10 @@ where
 }
 
 fn lexicon_doc_events_smokesignal_calendar_eventConfiguration() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("events.smokesignal.calendar.eventConfiguration"),
@@ -288,4 +285,4 @@ fn lexicon_doc_events_smokesignal_calendar_eventConfiguration() -> LexiconDoc<'s
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/events_smokesignal/event.rs b/crates/jacquard-api/src/events_smokesignal/event.rs
index 71db7959..8a6ab275 100644
--- a/crates/jacquard-api/src/events_smokesignal/event.rs
+++ b/crates/jacquard-api/src/events_smokesignal/event.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod configure;
\ No newline at end of file
+pub mod configure;
diff --git a/crates/jacquard-api/src/events_smokesignal/event/configure.rs b/crates/jacquard-api/src/events_smokesignal/event/configure.rs
index 6fde1f3a..1924cd9d 100644
--- a/crates/jacquard-api/src/events_smokesignal/event/configure.rs
+++ b/crates/jacquard-api/src/events_smokesignal/event/configure.rs
@@ -10,15 +10,18 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::{AtUri, UriValue};
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::{IntoStatic, open_union};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Configure {
     ///When true, the RSVP button redirects to an external ticketing URL instead of creating a direct RSVP.
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -35,26 +38,19 @@ pub struct Configure {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ConfigureOutput {
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum ConfigureError {
     /// The specified event does not exist.
@@ -68,7 +64,10 @@ pub enum ConfigureError {
     InvalidRedirectUrl(Option),
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for ConfigureError {
@@ -117,9 +116,8 @@ impl jacquard_common::xrpc::XrpcResp for ConfigureResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for Configure {
     const NSID: &'static str = "events.smokesignal.event.configure";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = ConfigureResponse;
 }
 
@@ -127,16 +125,15 @@ impl jacquard_common::xrpc::XrpcRequest for Configure {
 pub struct ConfigureRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for ConfigureRequest {
     const PATH: &'static str = "/xrpc/events.smokesignal.event.configure";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = Configure;
     type Response = ConfigureResponse;
 }
 
 pub mod configure_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -169,7 +166,12 @@ pub mod configure_state {
 /// Builder for constructing an instance of this type.
 pub struct ConfigureBuilder {
     _state: PhantomData St>,
-    _fields: (Option, Option>, Option, Option>),
+    _fields: (
+        Option,
+        Option>,
+        Option,
+        Option>,
+    ),
     _type: PhantomData S>,
 }
 
@@ -265,10 +267,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> Configure {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> Configure {
         Configure {
             disable_direct_rsvp: self._fields.0,
             event: self._fields.1.unwrap(),
@@ -277,4 +276,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/events_smokesignal/lfg.rs b/crates/jacquard-api/src/events_smokesignal/lfg.rs
index 7c5e141f..1e9b0cb9 100644
--- a/crates/jacquard-api/src/events_smokesignal/lfg.rs
+++ b/crates/jacquard-api/src/events_smokesignal/lfg.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// A Looking For Group record that broadcasts interest in finding activity partners within a geographic area.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -53,7 +53,6 @@ pub struct Lfg {
     pub extra_data: Option>>,
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -141,7 +140,7 @@ impl LexiconSchema for Lfg {
 
 pub mod lfg_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -289,10 +288,7 @@ where
     St::Active: lfg_state::IsUnset,
 {
     /// Set the `active` field (required)
-    pub fn active(
-        mut self,
-        value: impl Into,
-    ) -> LfgBuilder> {
+    pub fn active(mut self, value: impl Into) -> LfgBuilder> {
         self._fields.0 = Option::Some(value.into());
         LfgBuilder {
             _state: PhantomData,
@@ -384,10 +380,7 @@ where
     St::Tags: lfg_state::IsUnset,
 {
     /// Set the `tags` field (required)
-    pub fn tags(
-        mut self,
-        value: impl Into>,
-    ) -> LfgBuilder> {
+    pub fn tags(mut self, value: impl Into>) -> LfgBuilder> {
         self._fields.5 = Option::Some(value.into());
         LfgBuilder {
             _state: PhantomData,
@@ -434,10 +427,10 @@ where
 }
 
 fn lexicon_doc_events_smokesignal_lfg() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("events.smokesignal.lfg"),
@@ -548,4 +541,4 @@ fn lexicon_doc_events_smokesignal_lfg() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/events_smokesignal/profile.rs b/crates/jacquard-api/src/events_smokesignal/profile.rs
index 58dab82d..59daeb1d 100644
--- a/crates/jacquard-api/src/events_smokesignal/profile.rs
+++ b/crates/jacquard-api/src/events_smokesignal/profile.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -25,10 +25,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::app_bsky::richtext::facet::Facet;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::app_bsky::richtext::facet::Facet;
+use serde::{Deserialize, Serialize};
 /// Indicates the identity is available for hire
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Hash)]
@@ -157,9 +157,7 @@ where
     fn into_static(self) -> Self::Output {
         match self {
             ProfileProfileHost::BskyApp => ProfileProfileHost::BskyApp,
-            ProfileProfileHost::BlackskyCommunity => {
-                ProfileProfileHost::BlackskyCommunity
-            }
+            ProfileProfileHost::BlackskyCommunity => ProfileProfileHost::BlackskyCommunity,
             ProfileProfileHost::Aturi => ProfileProfileHost::Aturi,
             ProfileProfileHost::Other(v) => ProfileProfileHost::Other(v.into_static()),
         }
@@ -237,25 +235,20 @@ impl LexiconSchema for Profile {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["image/png", "image/jpeg"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("avatar"),
-                        accepted: vec![
-                            "image/png".to_string(), "image/jpeg".to_string()
-                        ],
+                        accepted: vec!["image/png".to_string(), "image/jpeg".to_string()],
                         actual: mime.to_string(),
                     });
                 }
@@ -277,25 +270,20 @@ impl LexiconSchema for Profile {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["image/png", "image/jpeg"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("banner"),
-                        accepted: vec![
-                            "image/png".to_string(), "image/jpeg".to_string()
-                        ],
+                        accepted: vec!["image/png".to_string(), "image/jpeg".to_string()],
                         actual: mime.to_string(),
                     });
                 }
@@ -373,7 +361,7 @@ impl LexiconSchema for Profile {
 
 pub mod profile_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -489,10 +477,7 @@ impl ProfileBuilder {
 
 impl ProfileBuilder {
     /// Set the `profileHost` field (optional)
-    pub fn profile_host(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn profile_host(mut self, value: impl Into>>) -> Self {
         self._fields.5 = value.into();
         self
     }
@@ -534,10 +519,10 @@ where
 }
 
 fn lexicon_doc_events_smokesignal_profile() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("events.smokesignal.profile"),
@@ -545,11 +530,15 @@ fn lexicon_doc_events_smokesignal_profile() -> LexiconDoc<'static> {
             let mut map = BTreeMap::new();
             map.insert(
                 SmolStr::new_static("forhire"),
-                LexUserType::Token(LexToken { ..Default::default() }),
+                LexUserType::Token(LexToken {
+                    ..Default::default()
+                }),
             );
             map.insert(
                 SmolStr::new_static("hiring"),
-                LexUserType::Token(LexToken { ..Default::default() }),
+                LexUserType::Token(LexToken {
+                    ..Default::default()
+                }),
             );
             map.insert(
                 SmolStr::new_static("main"),
@@ -631,4 +620,4 @@ fn lexicon_doc_events_smokesignal_profile() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/fm_teal.rs b/crates/jacquard-api/src/fm_teal.rs
index aad64880..d27393cb 100644
--- a/crates/jacquard-api/src/fm_teal.rs
+++ b/crates/jacquard-api/src/fm_teal.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod alpha;
\ No newline at end of file
+pub mod alpha;
diff --git a/crates/jacquard-api/src/fm_teal/alpha.rs b/crates/jacquard-api/src/fm_teal/alpha.rs
index d44069d0..ff032561 100644
--- a/crates/jacquard-api/src/fm_teal/alpha.rs
+++ b/crates/jacquard-api/src/fm_teal/alpha.rs
@@ -5,4 +5,4 @@
 
 pub mod actor;
 pub mod feed;
-pub mod stats;
\ No newline at end of file
+pub mod stats;
diff --git a/crates/jacquard-api/src/fm_teal/alpha/actor.rs b/crates/jacquard-api/src/fm_teal/alpha/actor.rs
index c367b245..2caa849d 100644
--- a/crates/jacquard-api/src/fm_teal/alpha/actor.rs
+++ b/crates/jacquard-api/src/fm_teal/alpha/actor.rs
@@ -12,10 +12,9 @@ pub mod profile_status;
 pub mod search_actors;
 pub mod status;
 
-
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,16 +25,19 @@ use jacquard_derive::IntoStatic;
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::app_bsky::richtext::facet::Facet;
+use crate::fm_teal::alpha::actor;
 use crate::fm_teal::alpha::actor::profile::FeaturedItem;
 use crate::fm_teal::alpha::feed::PlayView;
-use crate::fm_teal::alpha::actor;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct MiniProfileView {
     ///IPLD of the avatar
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -51,9 +53,11 @@ pub struct MiniProfileView {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ProfileView {
     ///IPLD of the avatar
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -86,7 +90,10 @@ pub struct ProfileView {
 /// A declaration of the status of the actor.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct StatusView {
     ///The unix timestamp of the expiry time of the item. If unavailable, default to 10 minutes past the start time.
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -146,10 +153,10 @@ impl LexiconSchema for StatusView {
 }
 
 fn lexicon_doc_fm_teal_alpha_actor_defs() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("fm.teal.alpha.actor.defs"),
@@ -171,21 +178,23 @@ fn lexicon_doc_fm_teal_alpha_actor_defs() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("did"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "The decentralized identifier of the actor",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "The decentralized identifier of the actor",
+                                )),
                                 ..Default::default()
                             }),
                         );
                         map.insert(
                             SmolStr::new_static("displayName"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("handle"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map
                     },
@@ -332,4 +341,4 @@ fn lexicon_doc_fm_teal_alpha_actor_defs() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/fm_teal/alpha/actor/get_profile.rs b/crates/jacquard-api/src/fm_teal/alpha/actor/get_profile.rs
index 041ecefd..98376b70 100644
--- a/crates/jacquard-api/src/fm_teal/alpha/actor/get_profile.rs
+++ b/crates/jacquard-api/src/fm_teal/alpha/actor/get_profile.rs
@@ -8,25 +8,30 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::fm_teal::alpha::actor::ProfileView;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::ident::AtIdentifier;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::fm_teal::alpha::actor::ProfileView;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetProfile {
     pub actor: AtIdentifier,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetProfileOutput {
     pub actor: ProfileView,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
@@ -59,7 +64,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetProfileRequest {
 
 pub mod get_profile_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -144,4 +149,4 @@ where
             actor: self._fields.0.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/fm_teal/alpha/actor/get_profiles.rs b/crates/jacquard-api/src/fm_teal/alpha/actor/get_profiles.rs
index 406be853..5296c174 100644
--- a/crates/jacquard-api/src/fm_teal/alpha/actor/get_profiles.rs
+++ b/crates/jacquard-api/src/fm_teal/alpha/actor/get_profiles.rs
@@ -8,25 +8,30 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::fm_teal::alpha::actor::MiniProfileView;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::ident::AtIdentifier;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::fm_teal::alpha::actor::MiniProfileView;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetProfiles {
     pub actors: Vec>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetProfilesOutput {
     pub actors: Vec>,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
@@ -59,7 +64,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetProfilesRequest {
 
 pub mod get_profiles_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -144,4 +149,4 @@ where
             actors: self._fields.0.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/fm_teal/alpha/actor/profile.rs b/crates/jacquard-api/src/fm_teal/alpha/actor/profile.rs
index 23176fc7..938d09ed 100644
--- a/crates/jacquard-api/src/fm_teal/alpha/actor/profile.rs
+++ b/crates/jacquard-api/src/fm_teal/alpha/actor/profile.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -25,14 +25,17 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::app_bsky::richtext::facet::Facet;
 use crate::fm_teal::alpha::actor::profile;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct FeaturedItem {
     ///The Musicbrainz ID of the item
     pub mbid: S,
@@ -161,25 +164,20 @@ impl LexiconSchema for Profile {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["image/png", "image/jpeg"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("avatar"),
-                        accepted: vec![
-                            "image/png".to_string(), "image/jpeg".to_string()
-                        ],
+                        accepted: vec!["image/png".to_string(), "image/jpeg".to_string()],
                         actual: mime.to_string(),
                     });
                 }
@@ -201,25 +199,20 @@ impl LexiconSchema for Profile {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["image/png", "image/jpeg"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("banner"),
-                        accepted: vec![
-                            "image/png".to_string(), "image/jpeg".to_string()
-                        ],
+                        accepted: vec!["image/png".to_string(), "image/jpeg".to_string()],
                         actual: mime.to_string(),
                     });
                 }
@@ -274,10 +267,10 @@ impl LexiconSchema for Profile {
 }
 
 fn lexicon_doc_fm_teal_alpha_actor_profile() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("fm.teal.alpha.actor.profile"),
@@ -401,7 +394,7 @@ fn lexicon_doc_fm_teal_alpha_actor_profile() -> LexiconDoc<'static> {
 
 pub mod profile_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -505,10 +498,7 @@ impl ProfileBuilder {
 
 impl ProfileBuilder {
     /// Set the `descriptionFacets` field (optional)
-    pub fn description_facets(
-        mut self,
-        value: impl Into>>>,
-    ) -> Self {
+    pub fn description_facets(mut self, value: impl Into>>>) -> Self {
         self._fields.4 = value.into();
         self
     }
@@ -534,18 +524,12 @@ impl ProfileBuilder {
 
 impl ProfileBuilder {
     /// Set the `featuredItem` field (optional)
-    pub fn featured_item(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn featured_item(mut self, value: impl Into>>) -> Self {
         self._fields.6 = value.into();
         self
     }
     /// Set the `featuredItem` field to an Option value (optional)
-    pub fn maybe_featured_item(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_featured_item(mut self, value: Option>) -> Self {
         self._fields.6 = value;
         self
     }
@@ -581,4 +565,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/fm_teal/alpha/actor/profile_status.rs b/crates/jacquard-api/src/fm_teal/alpha/actor/profile_status.rs
index 0ee25287..55e6811b 100644
--- a/crates/jacquard-api/src/fm_teal/alpha/actor/profile_status.rs
+++ b/crates/jacquard-api/src/fm_teal/alpha/actor/profile_status.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// This lexicon is in a not officially released state. It is subject to change. | A declaration of the profile status of the actor.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -103,8 +103,7 @@ impl Serialize for ProfileStatusCompletedOnboarding {
     }
 }
 
-impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de>
-for ProfileStatusCompletedOnboarding {
+impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> for ProfileStatusCompletedOnboarding {
     fn deserialize(deserializer: D) -> Result
     where
         D: serde::Deserializer<'de>,
@@ -128,9 +127,7 @@ where
     type Output = ProfileStatusCompletedOnboarding;
     fn into_static(self) -> Self::Output {
         match self {
-            ProfileStatusCompletedOnboarding::None => {
-                ProfileStatusCompletedOnboarding::None
-            }
+            ProfileStatusCompletedOnboarding::None => ProfileStatusCompletedOnboarding::None,
             ProfileStatusCompletedOnboarding::ProfileOnboarding => {
                 ProfileStatusCompletedOnboarding::ProfileOnboarding
             }
@@ -208,7 +205,7 @@ impl LexiconSchema for ProfileStatus {
 
 pub mod profile_status_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -327,10 +324,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> ProfileStatus {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> ProfileStatus {
         ProfileStatus {
             completed_onboarding: self._fields.0.unwrap(),
             created_at: self._fields.1,
@@ -341,10 +335,10 @@ where
 }
 
 fn lexicon_doc_fm_teal_alpha_actor_profileStatus() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("fm.teal.alpha.actor.profileStatus"),
@@ -408,4 +402,4 @@ fn lexicon_doc_fm_teal_alpha_actor_profileStatus() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/fm_teal/alpha/actor/search_actors.rs b/crates/jacquard-api/src/fm_teal/alpha/actor/search_actors.rs
index 1ab5bf1b..397244b8 100644
--- a/crates/jacquard-api/src/fm_teal/alpha/actor/search_actors.rs
+++ b/crates/jacquard-api/src/fm_teal/alpha/actor/search_actors.rs
@@ -8,17 +8,20 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::fm_teal::alpha::actor::MiniProfileView;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::fm_teal::alpha::actor::MiniProfileView;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct SearchActors {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub cursor: Option,
@@ -28,9 +31,11 @@ pub struct SearchActors {
     pub q: S,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct SearchActorsOutput {
     pub actors: Vec>,
     ///Cursor for pagination
@@ -66,7 +71,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for SearchActorsRequest {
 
 pub mod search_actors_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -179,4 +184,4 @@ where
             q: self._fields.2.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/fm_teal/alpha/actor/status.rs b/crates/jacquard-api/src/fm_teal/alpha/actor/status.rs
index f65d5109..affbd5ba 100644
--- a/crates/jacquard-api/src/fm_teal/alpha/actor/status.rs
+++ b/crates/jacquard-api/src/fm_teal/alpha/actor/status.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::fm_teal::alpha::feed::PlayView;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::fm_teal::alpha::feed::PlayView;
+use serde::{Deserialize, Serialize};
 /// This lexicon is in a not officially released state. It is subject to change. | A declaration of the status of the actor. Only one can be shown at a time. If there are multiple, the latest record should be picked and earlier records should be deleted or tombstoned.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -109,7 +109,7 @@ impl LexiconSchema for Status {
 
 pub mod status_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -254,10 +254,10 @@ where
 }
 
 fn lexicon_doc_fm_teal_alpha_actor_status() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("fm.teal.alpha.actor.status"),
@@ -325,4 +325,4 @@ fn lexicon_doc_fm_teal_alpha_actor_status() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/fm_teal/alpha/feed.rs b/crates/jacquard-api/src/fm_teal/alpha/feed.rs
index 1f68deff..daf4461f 100644
--- a/crates/jacquard-api/src/fm_teal/alpha/feed.rs
+++ b/crates/jacquard-api/src/fm_teal/alpha/feed.rs
@@ -9,13 +9,12 @@ pub mod get_actor_feed;
 pub mod get_play;
 pub mod play;
 
-
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,13 +25,16 @@ use jacquard_derive::IntoStatic;
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::fm_teal::alpha::feed;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::fm_teal::alpha::feed;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Artist {
     ///The Musicbrainz ID of the artist
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -43,9 +45,11 @@ pub struct Artist {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct PlayView {
     ///Array of artists in order of original appearance.
     pub artists: Vec>,
@@ -230,10 +234,10 @@ impl LexiconSchema for PlayView {
 }
 
 fn lexicon_doc_fm_teal_alpha_feed_defs() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("fm.teal.alpha.feed.defs"),
@@ -249,18 +253,16 @@ fn lexicon_doc_fm_teal_alpha_feed_defs() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("artistMbId"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("The Musicbrainz ID of the artist"),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "The Musicbrainz ID of the artist",
+                                )),
                                 ..Default::default()
                             }),
                         );
                         map.insert(
                             SmolStr::new_static("artistName"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("The name of the artist"),
-                                ),
+                                description: Some(CowStr::new_static("The name of the artist")),
                                 min_length: Some(1usize),
                                 max_length: Some(256usize),
                                 max_graphemes: Some(2560usize),
@@ -426,7 +428,7 @@ fn lexicon_doc_fm_teal_alpha_feed_defs() -> LexiconDoc<'static> {
 
 pub mod play_view_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -501,18 +503,7 @@ impl PlayViewBuilder {
         PlayViewBuilder {
             _state: PhantomData,
             _fields: (
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
+                None, None, None, None, None, None, None, None, None, None, None, None,
             ),
             _type: PhantomData,
         }
@@ -729,4 +720,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/fm_teal/alpha/feed/get_actor_feed.rs b/crates/jacquard-api/src/fm_teal/alpha/feed/get_actor_feed.rs
index a7141dff..50c9bd80 100644
--- a/crates/jacquard-api/src/fm_teal/alpha/feed/get_actor_feed.rs
+++ b/crates/jacquard-api/src/fm_teal/alpha/feed/get_actor_feed.rs
@@ -8,18 +8,21 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::fm_teal::alpha::feed::PlayView;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::ident::AtIdentifier;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::fm_teal::alpha::feed::PlayView;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetActorFeed {
     pub author_did: AtIdentifier,
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -28,9 +31,11 @@ pub struct GetActorFeed {
     pub limit: Option,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetActorFeedOutput {
     pub plays: Vec>,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
@@ -63,7 +68,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetActorFeedRequest {
 
 pub mod get_actor_feed_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -176,4 +181,4 @@ where
             limit: self._fields.2,
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/fm_teal/alpha/feed/get_play.rs b/crates/jacquard-api/src/fm_teal/alpha/feed/get_play.rs
index b0c34475..a49a4f9e 100644
--- a/crates/jacquard-api/src/fm_teal/alpha/feed/get_play.rs
+++ b/crates/jacquard-api/src/fm_teal/alpha/feed/get_play.rs
@@ -8,26 +8,31 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::fm_teal::alpha::feed::PlayView;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::ident::AtIdentifier;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::fm_teal::alpha::feed::PlayView;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetPlay {
     pub author_did: AtIdentifier,
     pub rkey: S,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetPlayOutput {
     pub play: PlayView,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
@@ -60,7 +65,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetPlayRequest {
 
 pub mod get_play_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -152,10 +157,7 @@ where
     St::Rkey: get_play_state::IsUnset,
 {
     /// Set the `rkey` field (required)
-    pub fn rkey(
-        mut self,
-        value: impl Into,
-    ) -> GetPlayBuilder> {
+    pub fn rkey(mut self, value: impl Into) -> GetPlayBuilder> {
         self._fields.1 = Option::Some(value.into());
         GetPlayBuilder {
             _state: PhantomData,
@@ -178,4 +180,4 @@ where
             rkey: self._fields.1.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/fm_teal/alpha/feed/play.rs b/crates/jacquard-api/src/fm_teal/alpha/feed/play.rs
index b106f2c0..4dfddabf 100644
--- a/crates/jacquard-api/src/fm_teal/alpha/feed/play.rs
+++ b/crates/jacquard-api/src/fm_teal/alpha/feed/play.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::fm_teal::alpha::feed::Artist;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::fm_teal::alpha::feed::Artist;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(
@@ -272,7 +272,7 @@ impl LexiconSchema for Play {
 
 pub mod play_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -339,22 +339,8 @@ impl PlayBuilder {
         PlayBuilder {
             _state: PhantomData,
             _fields: (
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
+                None, None, None, None, None, None, None, None, None, None, None, None, None, None,
+                None, None,
             ),
             _type: PhantomData,
         }
@@ -627,10 +613,10 @@ where
 }
 
 fn lexicon_doc_fm_teal_alpha_feed_play() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("fm.teal.alpha.feed.play"),
@@ -842,4 +828,4 @@ fn lexicon_doc_fm_teal_alpha_feed_play() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/fm_teal/alpha/stats.rs b/crates/jacquard-api/src/fm_teal/alpha/stats.rs
index 8947ef2e..92a3855f 100644
--- a/crates/jacquard-api/src/fm_teal/alpha/stats.rs
+++ b/crates/jacquard-api/src/fm_teal/alpha/stats.rs
@@ -11,13 +11,12 @@ pub mod get_top_releases;
 pub mod get_user_top_artists;
 pub mod get_user_top_releases;
 
-
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -29,10 +28,13 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ArtistView {
     ///MusicBrainz artist ID
     pub mbid: S,
@@ -44,9 +46,11 @@ pub struct ArtistView {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct RecordingView {
     ///MusicBrainz recording ID
     pub mbid: S,
@@ -58,9 +62,11 @@ pub struct RecordingView {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ReleaseView {
     ///MusicBrainz release ID
     pub mbid: S,
@@ -119,7 +125,7 @@ impl LexiconSchema for ReleaseView {
 
 pub mod artist_view_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -274,10 +280,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> ArtistView {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> ArtistView {
         ArtistView {
             mbid: self._fields.0.unwrap(),
             name: self._fields.1.unwrap(),
@@ -288,10 +291,10 @@ where
 }
 
 fn lexicon_doc_fm_teal_alpha_stats_defs() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("fm.teal.alpha.stats.defs"),
@@ -300,21 +303,18 @@ fn lexicon_doc_fm_teal_alpha_stats_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("artistView"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("mbid"), SmolStr::new_static("name"),
-                            SmolStr::new_static("playCount")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("mbid"),
+                        SmolStr::new_static("name"),
+                        SmolStr::new_static("playCount"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("mbid"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("MusicBrainz artist ID"),
-                                ),
+                                description: Some(CowStr::new_static("MusicBrainz artist ID")),
                                 ..Default::default()
                             }),
                         );
@@ -339,30 +339,25 @@ fn lexicon_doc_fm_teal_alpha_stats_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("recordingView"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("mbid"), SmolStr::new_static("name"),
-                            SmolStr::new_static("playCount")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("mbid"),
+                        SmolStr::new_static("name"),
+                        SmolStr::new_static("playCount"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("mbid"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("MusicBrainz recording ID"),
-                                ),
+                                description: Some(CowStr::new_static("MusicBrainz recording ID")),
                                 ..Default::default()
                             }),
                         );
                         map.insert(
                             SmolStr::new_static("name"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Recording/track name"),
-                                ),
+                                description: Some(CowStr::new_static("Recording/track name")),
                                 ..Default::default()
                             }),
                         );
@@ -380,21 +375,18 @@ fn lexicon_doc_fm_teal_alpha_stats_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("releaseView"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("mbid"), SmolStr::new_static("name"),
-                            SmolStr::new_static("playCount")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("mbid"),
+                        SmolStr::new_static("name"),
+                        SmolStr::new_static("playCount"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("mbid"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("MusicBrainz release ID"),
-                                ),
+                                description: Some(CowStr::new_static("MusicBrainz release ID")),
                                 ..Default::default()
                             }),
                         );
@@ -424,7 +416,7 @@ fn lexicon_doc_fm_teal_alpha_stats_defs() -> LexiconDoc<'static> {
 
 pub mod recording_view_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -579,10 +571,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> RecordingView {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> RecordingView {
         RecordingView {
             mbid: self._fields.0.unwrap(),
             name: self._fields.1.unwrap(),
@@ -594,7 +583,7 @@ where
 
 pub mod release_view_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -749,10 +738,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> ReleaseView {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> ReleaseView {
         ReleaseView {
             mbid: self._fields.0.unwrap(),
             name: self._fields.1.unwrap(),
@@ -760,4 +746,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/fm_teal/alpha/stats/get_latest.rs b/crates/jacquard-api/src/fm_teal/alpha/stats/get_latest.rs
index e93622fc..658664a1 100644
--- a/crates/jacquard-api/src/fm_teal/alpha/stats/get_latest.rs
+++ b/crates/jacquard-api/src/fm_teal/alpha/stats/get_latest.rs
@@ -8,14 +8,14 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::fm_teal::alpha::feed::PlayView;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::fm_teal::alpha::feed::PlayView;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(rename_all = "camelCase")]
@@ -26,9 +26,11 @@ pub struct GetLatest {
     pub limit: Option,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetLatestOutput {
     pub plays: Vec>,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
@@ -65,7 +67,7 @@ fn _default_limit() -> Option {
 
 pub mod get_latest_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -124,6 +126,8 @@ where
 {
     /// Build the final struct.
     pub fn build(self) -> GetLatest {
-        GetLatest { limit: self._fields.0 }
+        GetLatest {
+            limit: self._fields.0,
+        }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/fm_teal/alpha/stats/get_top_artists.rs b/crates/jacquard-api/src/fm_teal/alpha/stats/get_top_artists.rs
index 0fce392f..79ccca6b 100644
--- a/crates/jacquard-api/src/fm_teal/alpha/stats/get_top_artists.rs
+++ b/crates/jacquard-api/src/fm_teal/alpha/stats/get_top_artists.rs
@@ -8,17 +8,20 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::fm_teal::alpha::stats::ArtistView;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::fm_teal::alpha::stats::ArtistView;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetTopArtists {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub cursor: Option,
@@ -32,9 +35,11 @@ pub struct GetTopArtists {
     pub period: Option,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetTopArtistsOutput {
     pub artists: Vec>,
     ///Next page cursor
@@ -78,7 +83,7 @@ fn _default_period() -> Option {
 
 pub mod get_top_artists_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -171,4 +176,4 @@ where
             period: self._fields.2,
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/fm_teal/alpha/stats/get_top_releases.rs b/crates/jacquard-api/src/fm_teal/alpha/stats/get_top_releases.rs
index 68942b08..92e39a34 100644
--- a/crates/jacquard-api/src/fm_teal/alpha/stats/get_top_releases.rs
+++ b/crates/jacquard-api/src/fm_teal/alpha/stats/get_top_releases.rs
@@ -8,17 +8,20 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::fm_teal::alpha::stats::ReleaseView;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::fm_teal::alpha::stats::ReleaseView;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetTopReleases {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub cursor: Option,
@@ -32,9 +35,11 @@ pub struct GetTopReleases {
     pub period: Option,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetTopReleasesOutput {
     ///Next page cursor
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -78,7 +83,7 @@ fn _default_period() -> Option {
 
 pub mod get_top_releases_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -171,4 +176,4 @@ where
             period: self._fields.2,
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/fm_teal/alpha/stats/get_user_top_artists.rs b/crates/jacquard-api/src/fm_teal/alpha/stats/get_user_top_artists.rs
index 43c20084..e814d5c5 100644
--- a/crates/jacquard-api/src/fm_teal/alpha/stats/get_user_top_artists.rs
+++ b/crates/jacquard-api/src/fm_teal/alpha/stats/get_user_top_artists.rs
@@ -8,18 +8,21 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::fm_teal::alpha::stats::ArtistView;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::ident::AtIdentifier;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::fm_teal::alpha::stats::ArtistView;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetUserTopArtists {
     pub actor: AtIdentifier,
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -34,9 +37,11 @@ pub struct GetUserTopArtists {
     pub period: Option,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetUserTopArtistsOutput {
     pub artists: Vec>,
     ///Next page cursor
@@ -80,7 +85,7 @@ fn _default_period() -> Option {
 
 pub mod get_user_top_artists_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -207,4 +212,4 @@ where
             period: self._fields.3,
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/fm_teal/alpha/stats/get_user_top_releases.rs b/crates/jacquard-api/src/fm_teal/alpha/stats/get_user_top_releases.rs
index f8a36cd3..a60127fc 100644
--- a/crates/jacquard-api/src/fm_teal/alpha/stats/get_user_top_releases.rs
+++ b/crates/jacquard-api/src/fm_teal/alpha/stats/get_user_top_releases.rs
@@ -8,18 +8,21 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::fm_teal::alpha::stats::ReleaseView;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::ident::AtIdentifier;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::fm_teal::alpha::stats::ReleaseView;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetUserTopReleases {
     pub actor: AtIdentifier,
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -34,9 +37,11 @@ pub struct GetUserTopReleases {
     pub period: Option,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetUserTopReleasesOutput {
     ///Next page cursor
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -80,7 +85,7 @@ fn _default_period() -> Option {
 
 pub mod get_user_top_releases_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -154,10 +159,7 @@ where
     }
 }
 
-impl<
-    S: BosStr,
-    St: get_user_top_releases_state::State,
-> GetUserTopReleasesBuilder {
+impl GetUserTopReleasesBuilder {
     /// Set the `cursor` field (optional)
     pub fn cursor(mut self, value: impl Into>) -> Self {
         self._fields.1 = value.into();
@@ -170,10 +172,7 @@ impl<
     }
 }
 
-impl<
-    S: BosStr,
-    St: get_user_top_releases_state::State,
-> GetUserTopReleasesBuilder {
+impl GetUserTopReleasesBuilder {
     /// Set the `limit` field (optional)
     pub fn limit(mut self, value: impl Into>) -> Self {
         self._fields.2 = value.into();
@@ -186,10 +185,7 @@ impl<
     }
 }
 
-impl<
-    S: BosStr,
-    St: get_user_top_releases_state::State,
-> GetUserTopReleasesBuilder {
+impl GetUserTopReleasesBuilder {
     /// Set the `period` field (optional)
     pub fn period(mut self, value: impl Into>) -> Self {
         self._fields.3 = value.into();
@@ -216,4 +212,4 @@ where
             period: self._fields.3,
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/fyi_frontpage.rs b/crates/jacquard-api/src/fyi_frontpage.rs
index b1a9fcaa..71f06351 100644
--- a/crates/jacquard-api/src/fyi_frontpage.rs
+++ b/crates/jacquard-api/src/fyi_frontpage.rs
@@ -4,4 +4,4 @@
 // Any manual changes will be overwritten on the next regeneration.
 
 pub mod feed;
-pub mod richtext;
\ No newline at end of file
+pub mod richtext;
diff --git a/crates/jacquard-api/src/fyi_frontpage/feed.rs b/crates/jacquard-api/src/fyi_frontpage/feed.rs
index 82bbd0fd..1bbe1b25 100644
--- a/crates/jacquard-api/src/fyi_frontpage/feed.rs
+++ b/crates/jacquard-api/src/fyi_frontpage/feed.rs
@@ -5,4 +5,4 @@
 
 pub mod comment;
 pub mod post;
-pub mod vote;
\ No newline at end of file
+pub mod vote;
diff --git a/crates/jacquard-api/src/fyi_frontpage/feed/comment.rs b/crates/jacquard-api/src/fyi_frontpage/feed/comment.rs
index d6bc7b93..50dd2110 100644
--- a/crates/jacquard-api/src/fyi_frontpage/feed/comment.rs
+++ b/crates/jacquard-api/src/fyi_frontpage/feed/comment.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,11 +24,11 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::com_atproto::repo::strong_ref::StrongRef;
 use crate::fyi_frontpage::richtext::block::Block;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// Record containing a Frontpage comment.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -122,7 +122,7 @@ impl LexiconSchema for Comment {
 
 pub mod comment_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -308,10 +308,10 @@ where
 }
 
 fn lexicon_doc_fyi_frontpage_feed_comment() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("fyi.frontpage.feed.comment"),
@@ -387,4 +387,4 @@ fn lexicon_doc_fyi_frontpage_feed_comment() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/fyi_frontpage/feed/post.rs b/crates/jacquard-api/src/fyi_frontpage/feed/post.rs
index 29650eb2..2151c31d 100644
--- a/crates/jacquard-api/src/fyi_frontpage/feed/post.rs
+++ b/crates/jacquard-api/src/fyi_frontpage/feed/post.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::fyi_frontpage::feed::post;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::fyi_frontpage::feed::post;
+use serde::{Deserialize, Serialize};
 /// Record containing a Frontpage post.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -59,9 +59,11 @@ pub struct PostGetRecordOutput {
     pub value: Post,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct UrlSubject {
     pub url: UriValue,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
@@ -157,7 +159,7 @@ impl LexiconSchema for UrlSubject {
 
 pub mod post_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -282,10 +284,7 @@ where
     St::Title: post_state::IsUnset,
 {
     /// Set the `title` field (required)
-    pub fn title(
-        mut self,
-        value: impl Into,
-    ) -> PostBuilder> {
+    pub fn title(mut self, value: impl Into) -> PostBuilder> {
         self._fields.2 = Option::Some(value.into());
         PostBuilder {
             _state: PhantomData,
@@ -323,10 +322,10 @@ where
 }
 
 fn lexicon_doc_fyi_frontpage_feed_post() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("fyi.frontpage.feed.post"),
@@ -419,7 +418,7 @@ fn lexicon_doc_fyi_frontpage_feed_post() -> LexiconDoc<'static> {
 
 pub mod url_subject_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -506,13 +505,10 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> UrlSubject {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> UrlSubject {
         UrlSubject {
             url: self._fields.0.unwrap(),
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/fyi_frontpage/feed/vote.rs b/crates/jacquard-api/src/fyi_frontpage/feed/vote.rs
index 069b6b67..701a3d61 100644
--- a/crates/jacquard-api/src/fyi_frontpage/feed/vote.rs
+++ b/crates/jacquard-api/src/fyi_frontpage/feed/vote.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::com_atproto::repo::strong_ref::StrongRef;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::com_atproto::repo::strong_ref::StrongRef;
+use serde::{Deserialize, Serialize};
 /// Record containing a Frontpage vote.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -107,7 +107,7 @@ impl LexiconSchema for Vote {
 
 pub mod vote_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -237,10 +237,10 @@ where
 }
 
 fn lexicon_doc_fyi_frontpage_feed_vote() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("fyi.frontpage.feed.vote"),
@@ -293,4 +293,4 @@ fn lexicon_doc_fyi_frontpage_feed_vote() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/fyi_frontpage/richtext.rs b/crates/jacquard-api/src/fyi_frontpage/richtext.rs
index 2c679227..d517c596 100644
--- a/crates/jacquard-api/src/fyi_frontpage/richtext.rs
+++ b/crates/jacquard-api/src/fyi_frontpage/richtext.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod block;
\ No newline at end of file
+pub mod block;
diff --git a/crates/jacquard-api/src/fyi_frontpage/richtext/block.rs b/crates/jacquard-api/src/fyi_frontpage/richtext/block.rs
index e9e64a58..e8d45ae2 100644
--- a/crates/jacquard-api/src/fyi_frontpage/richtext/block.rs
+++ b/crates/jacquard-api/src/fyi_frontpage/richtext/block.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -20,22 +20,27 @@ use jacquard_derive::IntoStatic;
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::fyi_frontpage::richtext::block;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::fyi_frontpage::richtext::block;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Block {
     pub content: block::PlaintextParagraph,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct PlaintextParagraph {
     pub text: S,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
@@ -98,7 +103,7 @@ impl LexiconSchema for PlaintextParagraph {
 
 pub mod block_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -194,10 +199,10 @@ where
 }
 
 fn lexicon_doc_fyi_frontpage_richtext_block() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("fyi.frontpage.richtext.block"),
@@ -246,4 +251,4 @@ fn lexicon_doc_fyi_frontpage_richtext_block() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/fyi_questionable.rs b/crates/jacquard-api/src/fyi_questionable.rs
index d6b125c2..a91e8a10 100644
--- a/crates/jacquard-api/src/fyi_questionable.rs
+++ b/crates/jacquard-api/src/fyi_questionable.rs
@@ -7,4 +7,4 @@ pub mod actor;
 pub mod answer;
 pub mod question;
 pub mod richtext;
-pub mod selected_answer;
\ No newline at end of file
+pub mod selected_answer;
diff --git a/crates/jacquard-api/src/fyi_questionable/actor.rs b/crates/jacquard-api/src/fyi_questionable/actor.rs
index 534c9681..1cb60f21 100644
--- a/crates/jacquard-api/src/fyi_questionable/actor.rs
+++ b/crates/jacquard-api/src/fyi_questionable/actor.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod profile;
\ No newline at end of file
+pub mod profile;
diff --git a/crates/jacquard-api/src/fyi_questionable/actor/profile.rs b/crates/jacquard-api/src/fyi_questionable/actor/profile.rs
index bb87f2d3..3ed7ff3a 100644
--- a/crates/jacquard-api/src/fyi_questionable/actor/profile.rs
+++ b/crates/jacquard-api/src/fyi_questionable/actor/profile.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// A declaration of a Questionable account profile.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -152,7 +152,7 @@ impl LexiconSchema for Profile {
 
 pub mod profile_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -258,10 +258,10 @@ where
 }
 
 fn lexicon_doc_fyi_questionable_actor_profile() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("fyi.questionable.actor.profile"),
@@ -270,11 +270,9 @@ fn lexicon_doc_fyi_questionable_actor_profile() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static(
-                            "A declaration of a Questionable account profile.",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "A declaration of a Questionable account profile.",
+                    )),
                     key: Some(CowStr::new_static("literal:self")),
                     record: LexRecordRecord::Object(LexObject {
                         properties: {
@@ -314,4 +312,4 @@ fn lexicon_doc_fyi_questionable_actor_profile() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/fyi_questionable/answer.rs b/crates/jacquard-api/src/fyi_questionable/answer.rs
index 5c4d9996..d9dcae4a 100644
--- a/crates/jacquard-api/src/fyi_questionable/answer.rs
+++ b/crates/jacquard-api/src/fyi_questionable/answer.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,11 +24,11 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::com_atproto::repo::strong_ref::StrongRef;
 use crate::fyi_questionable::richtext::content::Content;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// A proposed answer to a question
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -120,7 +120,7 @@ impl LexiconSchema for Answer {
 
 pub mod answer_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -306,10 +306,10 @@ where
 }
 
 fn lexicon_doc_fyi_questionable_answer() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("fyi.questionable.answer"),
@@ -318,27 +318,21 @@ fn lexicon_doc_fyi_questionable_answer() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static("A proposed answer to a question"),
-                    ),
+                    description: Some(CowStr::new_static("A proposed answer to a question")),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("question"),
-                                SmolStr::new_static("content"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("question"),
+                            SmolStr::new_static("content"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
                             map.insert(
                                 SmolStr::new_static("content"),
                                 LexObjectProperty::Ref(LexRef {
-                                    r#ref: CowStr::new_static(
-                                        "fyi.questionable.richtext.content",
-                                    ),
+                                    r#ref: CowStr::new_static("fyi.questionable.richtext.content"),
                                     ..Default::default()
                                 }),
                             );
@@ -378,4 +372,4 @@ fn lexicon_doc_fyi_questionable_answer() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/fyi_questionable/question.rs b/crates/jacquard-api/src/fyi_questionable/question.rs
index cfe06974..d5ecf731 100644
--- a/crates/jacquard-api/src/fyi_questionable/question.rs
+++ b/crates/jacquard-api/src/fyi_questionable/question.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,11 +24,11 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::com_atproto::repo::strong_ref::StrongRef;
 use crate::fyi_questionable::richtext::content::Content;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// A question asked on questionable.fyi
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -159,7 +159,7 @@ impl LexiconSchema for Question {
 
 pub mod question_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -361,10 +361,10 @@ where
 }
 
 fn lexicon_doc_fyi_questionable_question() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("fyi.questionable.question"),
@@ -373,27 +373,21 @@ fn lexicon_doc_fyi_questionable_question() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static("A question asked on questionable.fyi"),
-                    ),
+                    description: Some(CowStr::new_static("A question asked on questionable.fyi")),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("summary"),
-                                SmolStr::new_static("content"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("summary"),
+                            SmolStr::new_static("content"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
                             map.insert(
                                 SmolStr::new_static("content"),
                                 LexObjectProperty::Ref(LexRef {
-                                    r#ref: CowStr::new_static(
-                                        "fyi.questionable.richtext.content",
-                                    ),
+                                    r#ref: CowStr::new_static("fyi.questionable.richtext.content"),
                                     ..Default::default()
                                 }),
                             );
@@ -414,11 +408,9 @@ fn lexicon_doc_fyi_questionable_question() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("languages"),
                                 LexObjectProperty::Array(LexArray {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "Indicates human language of the primary text content.",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Indicates human language of the primary text content.",
+                                    )),
                                     items: LexArrayItem::String(LexString {
                                         format: Some(LexStringFormat::Language),
                                         ..Default::default()
@@ -430,9 +422,9 @@ fn lexicon_doc_fyi_questionable_question() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("summary"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("A short summary of the question"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "A short summary of the question",
+                                    )),
                                     min_length: Some(1usize),
                                     max_length: Some(3000usize),
                                     max_graphemes: Some(300usize),
@@ -450,4 +442,4 @@ fn lexicon_doc_fyi_questionable_question() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/fyi_questionable/richtext.rs b/crates/jacquard-api/src/fyi_questionable/richtext.rs
index 5a97af89..a315825c 100644
--- a/crates/jacquard-api/src/fyi_questionable/richtext.rs
+++ b/crates/jacquard-api/src/fyi_questionable/richtext.rs
@@ -14,4 +14,4 @@ pub mod image;
 pub mod list;
 pub mod math;
 pub mod text;
-pub mod website;
\ No newline at end of file
+pub mod website;
diff --git a/crates/jacquard-api/src/fyi_questionable/richtext/blockquote.rs b/crates/jacquard-api/src/fyi_questionable/richtext/blockquote.rs
index 64318097..5b0f207d 100644
--- a/crates/jacquard-api/src/fyi_questionable/richtext/blockquote.rs
+++ b/crates/jacquard-api/src/fyi_questionable/richtext/blockquote.rs
@@ -7,7 +7,7 @@
 
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -17,13 +17,16 @@ use jacquard_derive::IntoStatic;
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::fyi_questionable::richtext::facet::Facet;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::fyi_questionable::richtext::facet::Facet;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Blockquote {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub facets: Option>>,
@@ -48,10 +51,10 @@ impl LexiconSchema for Blockquote {
 }
 
 fn lexicon_doc_fyi_questionable_richtext_blockquote() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("fyi.questionable.richtext.blockquote"),
@@ -68,9 +71,7 @@ fn lexicon_doc_fyi_questionable_richtext_blockquote() -> LexiconDoc<'static> {
                             SmolStr::new_static("facets"),
                             LexObjectProperty::Array(LexArray {
                                 items: LexArrayItem::Ref(LexRef {
-                                    r#ref: CowStr::new_static(
-                                        "fyi.questionable.richtext.facet",
-                                    ),
+                                    r#ref: CowStr::new_static("fyi.questionable.richtext.facet"),
                                     ..Default::default()
                                 }),
                                 ..Default::default()
@@ -78,7 +79,9 @@ fn lexicon_doc_fyi_questionable_richtext_blockquote() -> LexiconDoc<'static> {
                         );
                         map.insert(
                             SmolStr::new_static("plaintext"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map
                     },
@@ -89,4 +92,4 @@ fn lexicon_doc_fyi_questionable_richtext_blockquote() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/fyi_questionable/richtext/bsky_post.rs b/crates/jacquard-api/src/fyi_questionable/richtext/bsky_post.rs
index efc73f04..fbce97c4 100644
--- a/crates/jacquard-api/src/fyi_questionable/richtext/bsky_post.rs
+++ b/crates/jacquard-api/src/fyi_questionable/richtext/bsky_post.rs
@@ -20,13 +20,16 @@ use jacquard_derive::IntoStatic;
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::com_atproto::repo::strong_ref::StrongRef;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::com_atproto::repo::strong_ref::StrongRef;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct BskyPost {
     pub post_ref: StrongRef,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
@@ -50,7 +53,7 @@ impl LexiconSchema for BskyPost {
 
 pub mod bsky_post_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -146,10 +149,10 @@ where
 }
 
 fn lexicon_doc_fyi_questionable_richtext_bskyPost() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("fyi.questionable.richtext.bskyPost"),
@@ -178,4 +181,4 @@ fn lexicon_doc_fyi_questionable_richtext_bskyPost() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/fyi_questionable/richtext/code.rs b/crates/jacquard-api/src/fyi_questionable/richtext/code.rs
index 3f2eff62..254d8979 100644
--- a/crates/jacquard-api/src/fyi_questionable/richtext/code.rs
+++ b/crates/jacquard-api/src/fyi_questionable/richtext/code.rs
@@ -7,7 +7,7 @@
 
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -19,10 +19,13 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Code {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub language: Option,
@@ -113,10 +116,10 @@ impl LexiconSchema for Code {
 }
 
 fn lexicon_doc_fyi_questionable_richtext_code() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("fyi.questionable.richtext.code"),
@@ -140,7 +143,9 @@ fn lexicon_doc_fyi_questionable_richtext_code() -> LexiconDoc<'static> {
                         );
                         map.insert(
                             SmolStr::new_static("plaintext"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("syntaxHighlightingTheme"),
@@ -160,4 +165,4 @@ fn lexicon_doc_fyi_questionable_richtext_code() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/fyi_questionable/richtext/content.rs b/crates/jacquard-api/src/fyi_questionable/richtext/content.rs
index 2c5421fc..dafc7163 100644
--- a/crates/jacquard-api/src/fyi_questionable/richtext/content.rs
+++ b/crates/jacquard-api/src/fyi_questionable/richtext/content.rs
@@ -20,9 +20,6 @@ use jacquard_derive::{IntoStatic, open_union};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::fyi_questionable::richtext::blockquote::Blockquote;
 use crate::fyi_questionable::richtext::bsky_post::BskyPost;
 use crate::fyi_questionable::richtext::code::Code;
@@ -33,9 +30,15 @@ use crate::fyi_questionable::richtext::list::List;
 use crate::fyi_questionable::richtext::math::Math;
 use crate::fyi_questionable::richtext::text::Text;
 use crate::fyi_questionable::richtext::website::Website;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Content {
     ///Array of content blocks
     pub items: Vec>,
@@ -43,7 +46,6 @@ pub struct Content {
     pub extra_data: Option>>,
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -98,7 +100,7 @@ impl LexiconSchema for Content {
 
 pub mod content_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -194,10 +196,10 @@ where
 }
 
 fn lexicon_doc_fyi_questionable_richtext_content() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("fyi.questionable.richtext.content"),
@@ -213,9 +215,7 @@ fn lexicon_doc_fyi_questionable_richtext_content() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("items"),
                             LexObjectProperty::Array(LexArray {
-                                description: Some(
-                                    CowStr::new_static("Array of content blocks"),
-                                ),
+                                description: Some(CowStr::new_static("Array of content blocks")),
                                 items: LexArrayItem::Union(LexRefUnion {
                                     refs: vec![
                                         CowStr::new_static("fyi.questionable.richtext.text"),
@@ -223,12 +223,14 @@ fn lexicon_doc_fyi_questionable_richtext_content() -> LexiconDoc<'static> {
                                         CowStr::new_static("fyi.questionable.richtext.bskyPost"),
                                         CowStr::new_static("fyi.questionable.richtext.code"),
                                         CowStr::new_static("fyi.questionable.richtext.header"),
-                                        CowStr::new_static("fyi.questionable.richtext.horizontalRule"),
+                                        CowStr::new_static(
+                                            "fyi.questionable.richtext.horizontalRule",
+                                        ),
                                         CowStr::new_static("fyi.questionable.richtext.image"),
                                         CowStr::new_static("fyi.questionable.richtext.math"),
                                         CowStr::new_static("fyi.questionable.richtext.text"),
                                         CowStr::new_static("fyi.questionable.richtext.list"),
-                                        CowStr::new_static("fyi.questionable.richtext.website")
+                                        CowStr::new_static("fyi.questionable.richtext.website"),
                                     ],
                                     closed: Some(false),
                                     ..Default::default()
@@ -246,4 +248,4 @@ fn lexicon_doc_fyi_questionable_richtext_content() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/fyi_questionable/richtext/facet.rs b/crates/jacquard-api/src/fyi_questionable/richtext/facet.rs
index d0fff207..dd8e3a71 100644
--- a/crates/jacquard-api/src/fyi_questionable/richtext/facet.rs
+++ b/crates/jacquard-api/src/fyi_questionable/richtext/facet.rs
@@ -21,14 +21,17 @@ use jacquard_derive::{IntoStatic, open_union};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::fyi_questionable::richtext::facet;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::fyi_questionable::richtext::facet;
+use serde::{Deserialize, Serialize};
 /// Facet feature for bold text
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Bold {
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
@@ -37,7 +40,10 @@ pub struct Bold {
 /// Specifies the sub-string range a facet feature applies to. Start index is inclusive, end index is exclusive. Indices are zero-indexed, counting bytes of the UTF-8 encoded text. NOTE: some languages, like Javascript, use UTF-16 or Unicode codepoints for string slice indexing; in these languages, convert to byte arrays before working with facets.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ByteSlice {
     pub byte_end: i64,
     pub byte_start: i64,
@@ -48,7 +54,10 @@ pub struct ByteSlice {
 /// Facet feature for inline code.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Code {
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
@@ -57,7 +66,10 @@ pub struct Code {
 /// Facet feature for highlighted text.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Highlight {
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
@@ -66,7 +78,10 @@ pub struct Highlight {
 /// Facet feature for italic text
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Italic {
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
@@ -75,7 +90,10 @@ pub struct Italic {
 /// Facet feature for a URL. The text URL may have been simplified or truncated, but the facet reference should be a complete URL.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Link {
     pub uri: UriValue,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
@@ -85,7 +103,10 @@ pub struct Link {
 /// Annotation of a sub-string within rich text.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Facet {
     pub features: Vec>,
     pub index: facet::ByteSlice,
@@ -93,7 +114,6 @@ pub struct Facet {
     pub extra_data: Option>>,
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -119,7 +139,10 @@ pub enum FacetFeaturesItem {
 /// Facet feature for mentioning a did.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Mention {
     pub did: Did,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
@@ -129,7 +152,10 @@ pub struct Mention {
 /// Facet feature for strikethrough markup
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Strikethrough {
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
@@ -138,7 +164,10 @@ pub struct Strikethrough {
 /// Facet feature for underline markup
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Underline {
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
@@ -315,10 +344,10 @@ impl LexiconSchema for Underline {
 }
 
 fn lexicon_doc_fyi_questionable_richtext_facet() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("fyi.questionable.richtext.facet"),
@@ -376,9 +405,7 @@ fn lexicon_doc_fyi_questionable_richtext_facet() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("code"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("Facet feature for inline code."),
-                    ),
+                    description: Some(CowStr::new_static("Facet feature for inline code.")),
                     required: Some(vec![]),
                     properties: {
                         #[allow(unused_mut)]
@@ -391,9 +418,7 @@ fn lexicon_doc_fyi_questionable_richtext_facet() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("highlight"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("Facet feature for highlighted text."),
-                    ),
+                    description: Some(CowStr::new_static("Facet feature for highlighted text.")),
                     required: Some(vec![]),
                     properties: {
                         #[allow(unused_mut)]
@@ -406,9 +431,7 @@ fn lexicon_doc_fyi_questionable_richtext_facet() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("italic"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("Facet feature for italic text"),
-                    ),
+                    description: Some(CowStr::new_static("Facet feature for italic text")),
                     required: Some(vec![]),
                     properties: {
                         #[allow(unused_mut)]
@@ -445,16 +468,13 @@ fn lexicon_doc_fyi_questionable_richtext_facet() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static(
-                            "Annotation of a sub-string within rich text.",
-                        ),
-                    ),
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("index"), SmolStr::new_static("features")
-                        ],
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Annotation of a sub-string within rich text.",
+                    )),
+                    required: Some(vec![
+                        SmolStr::new_static("index"),
+                        SmolStr::new_static("features"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -463,12 +483,14 @@ fn lexicon_doc_fyi_questionable_richtext_facet() -> LexiconDoc<'static> {
                             LexObjectProperty::Array(LexArray {
                                 items: LexArrayItem::Union(LexRefUnion {
                                     refs: vec![
-                                        CowStr::new_static("#link"), CowStr::new_static("#mention"),
+                                        CowStr::new_static("#link"),
+                                        CowStr::new_static("#mention"),
                                         CowStr::new_static("#code"),
                                         CowStr::new_static("#highlight"),
                                         CowStr::new_static("#underline"),
                                         CowStr::new_static("#strikethrough"),
-                                        CowStr::new_static("#bold"), CowStr::new_static("#italic")
+                                        CowStr::new_static("#bold"),
+                                        CowStr::new_static("#italic"),
                                     ],
                                     ..Default::default()
                                 }),
@@ -490,9 +512,7 @@ fn lexicon_doc_fyi_questionable_richtext_facet() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("mention"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("Facet feature for mentioning a did."),
-                    ),
+                    description: Some(CowStr::new_static("Facet feature for mentioning a did.")),
                     required: Some(vec![SmolStr::new_static("did")]),
                     properties: {
                         #[allow(unused_mut)]
@@ -512,9 +532,7 @@ fn lexicon_doc_fyi_questionable_richtext_facet() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("strikethrough"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("Facet feature for strikethrough markup"),
-                    ),
+                    description: Some(CowStr::new_static("Facet feature for strikethrough markup")),
                     required: Some(vec![]),
                     properties: {
                         #[allow(unused_mut)]
@@ -527,9 +545,7 @@ fn lexicon_doc_fyi_questionable_richtext_facet() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("underline"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("Facet feature for underline markup"),
-                    ),
+                    description: Some(CowStr::new_static("Facet feature for underline markup")),
                     required: Some(vec![]),
                     properties: {
                         #[allow(unused_mut)]
@@ -547,7 +563,7 @@ fn lexicon_doc_fyi_questionable_richtext_facet() -> LexiconDoc<'static> {
 
 pub mod byte_slice_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -667,10 +683,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> ByteSlice {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> ByteSlice {
         ByteSlice {
             byte_end: self._fields.0.unwrap(),
             byte_start: self._fields.1.unwrap(),
@@ -681,7 +694,7 @@ where
 
 pub mod link_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -742,10 +755,7 @@ where
     St::Uri: link_state::IsUnset,
 {
     /// Set the `uri` field (required)
-    pub fn uri(
-        mut self,
-        value: impl Into>,
-    ) -> LinkBuilder> {
+    pub fn uri(mut self, value: impl Into>) -> LinkBuilder> {
         self._fields.0 = Option::Some(value.into());
         LinkBuilder {
             _state: PhantomData,
@@ -778,7 +788,7 @@ where
 
 pub mod facet_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -823,7 +833,10 @@ pub mod facet_state {
 /// Builder for constructing an instance of this type.
 pub struct FacetBuilder {
     _state: PhantomData St>,
-    _fields: (Option>>, Option>),
+    _fields: (
+        Option>>,
+        Option>,
+    ),
     _type: PhantomData S>,
 }
 
@@ -909,7 +922,7 @@ where
 
 pub mod mention_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -970,10 +983,7 @@ where
     St::Did: mention_state::IsUnset,
 {
     /// Set the `did` field (required)
-    pub fn did(
-        mut self,
-        value: impl Into>,
-    ) -> MentionBuilder> {
+    pub fn did(mut self, value: impl Into>) -> MentionBuilder> {
         self._fields.0 = Option::Some(value.into());
         MentionBuilder {
             _state: PhantomData,
@@ -1002,4 +1012,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/fyi_questionable/richtext/header.rs b/crates/jacquard-api/src/fyi_questionable/richtext/header.rs
index 78e661d6..8e643ff5 100644
--- a/crates/jacquard-api/src/fyi_questionable/richtext/header.rs
+++ b/crates/jacquard-api/src/fyi_questionable/richtext/header.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -20,13 +20,16 @@ use jacquard_derive::IntoStatic;
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::fyi_questionable::richtext::facet::Facet;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::fyi_questionable::richtext::facet::Facet;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Header {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub facets: Option>>,
@@ -97,7 +100,7 @@ impl LexiconSchema for Header {
 
 pub mod header_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -183,10 +186,7 @@ where
     St::Level: header_state::IsUnset,
 {
     /// Set the `level` field (required)
-    pub fn level(
-        mut self,
-        value: impl Into,
-    ) -> HeaderBuilder> {
+    pub fn level(mut self, value: impl Into) -> HeaderBuilder> {
         self._fields.1 = Option::Some(value.into());
         HeaderBuilder {
             _state: PhantomData,
@@ -242,10 +242,10 @@ where
 }
 
 fn lexicon_doc_fyi_questionable_richtext_header() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("fyi.questionable.richtext.header"),
@@ -254,12 +254,10 @@ fn lexicon_doc_fyi_questionable_richtext_header() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("plaintext"),
-                            SmolStr::new_static("level")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("plaintext"),
+                        SmolStr::new_static("level"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -267,9 +265,7 @@ fn lexicon_doc_fyi_questionable_richtext_header() -> LexiconDoc<'static> {
                             SmolStr::new_static("facets"),
                             LexObjectProperty::Array(LexArray {
                                 items: LexArrayItem::Ref(LexRef {
-                                    r#ref: CowStr::new_static(
-                                        "fyi.questionable.richtext.facet",
-                                    ),
+                                    r#ref: CowStr::new_static("fyi.questionable.richtext.facet"),
                                     ..Default::default()
                                 }),
                                 ..Default::default()
@@ -300,4 +296,4 @@ fn lexicon_doc_fyi_questionable_richtext_header() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/fyi_questionable/richtext/horizontal_rule.rs b/crates/jacquard-api/src/fyi_questionable/richtext/horizontal_rule.rs
index 91c47296..fd175608 100644
--- a/crates/jacquard-api/src/fyi_questionable/richtext/horizontal_rule.rs
+++ b/crates/jacquard-api/src/fyi_questionable/richtext/horizontal_rule.rs
@@ -19,10 +19,13 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct HorizontalRule {
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
@@ -44,10 +47,10 @@ impl LexiconSchema for HorizontalRule {
 }
 
 fn lexicon_doc_fyi_questionable_richtext_horizontalRule() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("fyi.questionable.richtext.horizontalRule"),
@@ -69,4 +72,4 @@ fn lexicon_doc_fyi_questionable_richtext_horizontalRule() -> LexiconDoc<'static>
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/fyi_questionable/richtext/image.rs b/crates/jacquard-api/src/fyi_questionable/richtext/image.rs
index eb72e071..370c118e 100644
--- a/crates/jacquard-api/src/fyi_questionable/richtext/image.rs
+++ b/crates/jacquard-api/src/fyi_questionable/richtext/image.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -21,13 +21,16 @@ use jacquard_derive::IntoStatic;
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::fyi_questionable::richtext::image;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::fyi_questionable::richtext::image;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct AspectRatio {
     pub height: i64,
     pub width: i64,
@@ -35,9 +38,11 @@ pub struct AspectRatio {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Image {
     ///Alt text description of the image, for accessibility.
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -114,19 +119,16 @@ impl LexiconSchema for Image {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["image/*"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("image"),
@@ -142,7 +144,7 @@ impl LexiconSchema for Image {
 
 pub mod aspect_ratio_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -262,10 +264,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> AspectRatio {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> AspectRatio {
         AspectRatio {
             height: self._fields.0.unwrap(),
             width: self._fields.1.unwrap(),
@@ -275,10 +274,10 @@ where
 }
 
 fn lexicon_doc_fyi_questionable_richtext_image() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("fyi.questionable.richtext.image"),
@@ -287,9 +286,10 @@ fn lexicon_doc_fyi_questionable_richtext_image() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("aspectRatio"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![SmolStr::new_static("width"), SmolStr::new_static("height")],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("width"),
+                        SmolStr::new_static("height"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -313,23 +313,19 @@ fn lexicon_doc_fyi_questionable_richtext_image() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("image"),
-                            SmolStr::new_static("aspectRatio")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("image"),
+                        SmolStr::new_static("aspectRatio"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("alt"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "Alt text description of the image, for accessibility.",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Alt text description of the image, for accessibility.",
+                                )),
                                 max_length: Some(3000usize),
                                 max_graphemes: Some(3000usize),
                                 ..Default::default()
@@ -344,7 +340,9 @@ fn lexicon_doc_fyi_questionable_richtext_image() -> LexiconDoc<'static> {
                         );
                         map.insert(
                             SmolStr::new_static("image"),
-                            LexObjectProperty::Blob(LexBlob { ..Default::default() }),
+                            LexObjectProperty::Blob(LexBlob {
+                                ..Default::default()
+                            }),
                         );
                         map
                     },
@@ -359,7 +357,7 @@ fn lexicon_doc_fyi_questionable_richtext_image() -> LexiconDoc<'static> {
 
 pub mod image_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -501,4 +499,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/fyi_questionable/richtext/list.rs b/crates/jacquard-api/src/fyi_questionable/richtext/list.rs
index d9d68aec..40e678b5 100644
--- a/crates/jacquard-api/src/fyi_questionable/richtext/list.rs
+++ b/crates/jacquard-api/src/fyi_questionable/richtext/list.rs
@@ -20,14 +20,17 @@ use jacquard_derive::{IntoStatic, open_union};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::fyi_questionable::richtext::list;
+use crate::fyi_questionable::richtext::text::Text;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::fyi_questionable::richtext::text::Text;
-use crate::fyi_questionable::richtext::list;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct List {
     pub items: Vec>,
     /// Defaults to `false`.
@@ -38,7 +41,6 @@ pub struct List {
     pub extra_data: Option>>,
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -70,7 +72,7 @@ fn _default_list_ordered() -> Option {
 
 pub mod list_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -181,10 +183,10 @@ where
 }
 
 fn lexicon_doc_fyi_questionable_richtext_list() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("fyi.questionable.richtext.list"),
@@ -203,7 +205,7 @@ fn lexicon_doc_fyi_questionable_richtext_list() -> LexiconDoc<'static> {
                                 items: LexArrayItem::Union(LexRefUnion {
                                     refs: vec![
                                         CowStr::new_static("fyi.questionable.richtext.text"),
-                                        CowStr::new_static("fyi.questionable.richtext.list")
+                                        CowStr::new_static("fyi.questionable.richtext.list"),
                                     ],
                                     ..Default::default()
                                 }),
@@ -225,4 +227,4 @@ fn lexicon_doc_fyi_questionable_richtext_list() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/fyi_questionable/richtext/math.rs b/crates/jacquard-api/src/fyi_questionable/richtext/math.rs
index 63097881..60589b4d 100644
--- a/crates/jacquard-api/src/fyi_questionable/richtext/math.rs
+++ b/crates/jacquard-api/src/fyi_questionable/richtext/math.rs
@@ -7,7 +7,7 @@
 
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -19,10 +19,13 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Math {
     pub tex: S,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
@@ -45,10 +48,10 @@ impl LexiconSchema for Math {
 }
 
 fn lexicon_doc_fyi_questionable_richtext_math() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("fyi.questionable.richtext.math"),
@@ -63,7 +66,9 @@ fn lexicon_doc_fyi_questionable_richtext_math() -> LexiconDoc<'static> {
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("tex"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map
                     },
@@ -74,4 +79,4 @@ fn lexicon_doc_fyi_questionable_richtext_math() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/fyi_questionable/richtext/text.rs b/crates/jacquard-api/src/fyi_questionable/richtext/text.rs
index 5861f255..a83b3086 100644
--- a/crates/jacquard-api/src/fyi_questionable/richtext/text.rs
+++ b/crates/jacquard-api/src/fyi_questionable/richtext/text.rs
@@ -7,7 +7,7 @@
 
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -17,13 +17,16 @@ use jacquard_derive::IntoStatic;
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::fyi_questionable::richtext::facet::Facet;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::fyi_questionable::richtext::facet::Facet;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Text {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub facets: Option>>,
@@ -50,10 +53,10 @@ impl LexiconSchema for Text {
 }
 
 fn lexicon_doc_fyi_questionable_richtext_text() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("fyi.questionable.richtext.text"),
@@ -70,9 +73,7 @@ fn lexicon_doc_fyi_questionable_richtext_text() -> LexiconDoc<'static> {
                             SmolStr::new_static("facets"),
                             LexObjectProperty::Array(LexArray {
                                 items: LexArrayItem::Ref(LexRef {
-                                    r#ref: CowStr::new_static(
-                                        "fyi.questionable.richtext.facet",
-                                    ),
+                                    r#ref: CowStr::new_static("fyi.questionable.richtext.facet"),
                                     ..Default::default()
                                 }),
                                 ..Default::default()
@@ -80,11 +81,15 @@ fn lexicon_doc_fyi_questionable_richtext_text() -> LexiconDoc<'static> {
                         );
                         map.insert(
                             SmolStr::new_static("plaintext"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("textSize"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map
                     },
@@ -95,4 +100,4 @@ fn lexicon_doc_fyi_questionable_richtext_text() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/fyi_questionable/richtext/website.rs b/crates/jacquard-api/src/fyi_questionable/richtext/website.rs
index 3ad66ec8..14a29d15 100644
--- a/crates/jacquard-api/src/fyi_questionable/richtext/website.rs
+++ b/crates/jacquard-api/src/fyi_questionable/richtext/website.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,10 +24,13 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Website {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub description: Option,
@@ -89,19 +92,16 @@ impl LexiconSchema for Website {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["image/*"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("preview_image"),
@@ -139,7 +139,7 @@ impl LexiconSchema for Website {
 
 pub mod website_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -172,7 +172,12 @@ pub mod website_state {
 /// Builder for constructing an instance of this type.
 pub struct WebsiteBuilder {
     _state: PhantomData St>,
-    _fields: (Option, Option>, Option, Option>),
+    _fields: (
+        Option,
+        Option>,
+        Option,
+        Option>,
+    ),
     _type: PhantomData S>,
 }
 
@@ -280,10 +285,10 @@ where
 }
 
 fn lexicon_doc_fyi_questionable_richtext_website() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("fyi.questionable.richtext.website"),
@@ -306,7 +311,9 @@ fn lexicon_doc_fyi_questionable_richtext_website() -> LexiconDoc<'static> {
                         );
                         map.insert(
                             SmolStr::new_static("previewImage"),
-                            LexObjectProperty::Blob(LexBlob { ..Default::default() }),
+                            LexObjectProperty::Blob(LexBlob {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("title"),
@@ -332,4 +339,4 @@ fn lexicon_doc_fyi_questionable_richtext_website() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/fyi_questionable/selected_answer.rs b/crates/jacquard-api/src/fyi_questionable/selected_answer.rs
index 9215f9d2..6d1406d9 100644
--- a/crates/jacquard-api/src/fyi_questionable/selected_answer.rs
+++ b/crates/jacquard-api/src/fyi_questionable/selected_answer.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::com_atproto::repo::strong_ref::StrongRef;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::com_atproto::repo::strong_ref::StrongRef;
+use serde::{Deserialize, Serialize};
 /// Marks an answer as answering a given question
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -107,7 +107,7 @@ impl LexiconSchema for SelectedAnswer {
 
 pub mod selected_answer_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -262,10 +262,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> SelectedAnswer {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> SelectedAnswer {
         SelectedAnswer {
             answer_ref: self._fields.0.unwrap(),
             created_at: self._fields.1.unwrap(),
@@ -276,10 +273,10 @@ where
 }
 
 fn lexicon_doc_fyi_questionable_selectedAnswer() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("fyi.questionable.selectedAnswer"),
@@ -342,4 +339,4 @@ fn lexicon_doc_fyi_questionable_selectedAnswer() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/fyi_unravel.rs b/crates/jacquard-api/src/fyi_unravel.rs
index 9beb00b8..59f4db75 100644
--- a/crates/jacquard-api/src/fyi_unravel.rs
+++ b/crates/jacquard-api/src/fyi_unravel.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod frontpage;
\ No newline at end of file
+pub mod frontpage;
diff --git a/crates/jacquard-api/src/fyi_unravel/frontpage.rs b/crates/jacquard-api/src/fyi_unravel/frontpage.rs
index 82bbd0fd..1bbe1b25 100644
--- a/crates/jacquard-api/src/fyi_unravel/frontpage.rs
+++ b/crates/jacquard-api/src/fyi_unravel/frontpage.rs
@@ -5,4 +5,4 @@
 
 pub mod comment;
 pub mod post;
-pub mod vote;
\ No newline at end of file
+pub mod vote;
diff --git a/crates/jacquard-api/src/fyi_unravel/frontpage/comment.rs b/crates/jacquard-api/src/fyi_unravel/frontpage/comment.rs
index 7b1b3847..3792a5c2 100644
--- a/crates/jacquard-api/src/fyi_unravel/frontpage/comment.rs
+++ b/crates/jacquard-api/src/fyi_unravel/frontpage/comment.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::com_atproto::repo::strong_ref::StrongRef;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::com_atproto::repo::strong_ref::StrongRef;
+use serde::{Deserialize, Serialize};
 /// Record containing a Frontpage comment.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -134,7 +134,7 @@ impl LexiconSchema for Comment {
 
 pub mod comment_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -193,7 +193,12 @@ pub mod comment_state {
 /// Builder for constructing an instance of this type.
 pub struct CommentBuilder {
     _state: PhantomData St>,
-    _fields: (Option, Option, Option>, Option>),
+    _fields: (
+        Option,
+        Option,
+        Option>,
+        Option>,
+    ),
     _type: PhantomData S>,
 }
 
@@ -315,10 +320,10 @@ where
 }
 
 fn lexicon_doc_fyi_unravel_frontpage_comment() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("fyi.unravel.frontpage.comment"),
@@ -390,4 +395,4 @@ fn lexicon_doc_fyi_unravel_frontpage_comment() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/fyi_unravel/frontpage/post.rs b/crates/jacquard-api/src/fyi_unravel/frontpage/post.rs
index d7ada252..75517cbf 100644
--- a/crates/jacquard-api/src/fyi_unravel/frontpage/post.rs
+++ b/crates/jacquard-api/src/fyi_unravel/frontpage/post.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// Record containing a Frontpage post.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -132,7 +132,7 @@ impl LexiconSchema for Post {
 
 pub mod post_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -238,10 +238,7 @@ where
     St::Title: post_state::IsUnset,
 {
     /// Set the `title` field (required)
-    pub fn title(
-        mut self,
-        value: impl Into,
-    ) -> PostBuilder> {
+    pub fn title(mut self, value: impl Into) -> PostBuilder> {
         self._fields.1 = Option::Some(value.into());
         PostBuilder {
             _state: PhantomData,
@@ -257,10 +254,7 @@ where
     St::Url: post_state::IsUnset,
 {
     /// Set the `url` field (required)
-    pub fn url(
-        mut self,
-        value: impl Into>,
-    ) -> PostBuilder> {
+    pub fn url(mut self, value: impl Into>) -> PostBuilder> {
         self._fields.2 = Option::Some(value.into());
         PostBuilder {
             _state: PhantomData,
@@ -298,10 +292,10 @@ where
 }
 
 fn lexicon_doc_fyi_unravel_frontpage_post() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("fyi.unravel.frontpage.post"),
@@ -368,4 +362,4 @@ fn lexicon_doc_fyi_unravel_frontpage_post() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/fyi_unravel/frontpage/vote.rs b/crates/jacquard-api/src/fyi_unravel/frontpage/vote.rs
index 59034510..417f7f9d 100644
--- a/crates/jacquard-api/src/fyi_unravel/frontpage/vote.rs
+++ b/crates/jacquard-api/src/fyi_unravel/frontpage/vote.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::com_atproto::repo::strong_ref::StrongRef;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::com_atproto::repo::strong_ref::StrongRef;
+use serde::{Deserialize, Serialize};
 /// Record containing a Frontpage vote.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -106,7 +106,7 @@ impl LexiconSchema for Vote {
 
 pub mod vote_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -236,10 +236,10 @@ where
 }
 
 fn lexicon_doc_fyi_unravel_frontpage_vote() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("fyi.unravel.frontpage.vote"),
@@ -292,4 +292,4 @@ fn lexicon_doc_fyi_unravel_frontpage_vote() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/games_firehose.rs b/crates/jacquard-api/src/games_firehose.rs
index 1763ddb2..e8daa66f 100644
--- a/crates/jacquard-api/src/games_firehose.rs
+++ b/crates/jacquard-api/src/games_firehose.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod barklesheep;
\ No newline at end of file
+pub mod barklesheep;
diff --git a/crates/jacquard-api/src/games_firehose/barklesheep.rs b/crates/jacquard-api/src/games_firehose/barklesheep.rs
index 1603927b..354441c0 100644
--- a/crates/jacquard-api/src/games_firehose/barklesheep.rs
+++ b/crates/jacquard-api/src/games_firehose/barklesheep.rs
@@ -4,4 +4,4 @@
 // Any manual changes will be overwritten on the next regeneration.
 
 pub mod place_sheeps;
-pub mod reaction;
\ No newline at end of file
+pub mod reaction;
diff --git a/crates/jacquard-api/src/games_firehose/barklesheep/place_sheeps.rs b/crates/jacquard-api/src/games_firehose/barklesheep/place_sheeps.rs
index e97ef922..8bc2a536 100644
--- a/crates/jacquard-api/src/games_firehose/barklesheep/place_sheeps.rs
+++ b/crates/jacquard-api/src/games_firehose/barklesheep/place_sheeps.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -20,13 +20,16 @@ use jacquard_derive::IntoStatic;
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::games_firehose::barklesheep::place_sheeps;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::games_firehose::barklesheep::place_sheeps;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct PlaceSheeps {
     pub game_id: S,
     pub sheeps: Vec>,
@@ -34,9 +37,11 @@ pub struct PlaceSheeps {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct PlaceSheepsOutput {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub success: Option,
@@ -44,9 +49,11 @@ pub struct PlaceSheepsOutput {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct SheepPlacement {
     pub horizontal: bool,
     pub start: i64,
@@ -66,9 +73,8 @@ impl jacquard_common::xrpc::XrpcResp for PlaceSheepsResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for PlaceSheeps {
     const NSID: &'static str = "games.firehose.barklesheep.placeSheeps";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = PlaceSheepsResponse;
 }
 
@@ -76,9 +82,8 @@ impl jacquard_common::xrpc::XrpcRequest for PlaceSheeps {
 pub struct PlaceSheepsRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for PlaceSheepsRequest {
     const PATH: &'static str = "/xrpc/games.firehose.barklesheep.placeSheeps";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = PlaceSheeps;
     type Response = PlaceSheepsResponse;
 }
@@ -100,7 +105,7 @@ impl LexiconSchema for SheepPlacement {
 
 pub mod place_sheeps_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -220,10 +225,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> PlaceSheeps {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> PlaceSheeps {
         PlaceSheeps {
             game_id: self._fields.0.unwrap(),
             sheeps: self._fields.1.unwrap(),
@@ -234,7 +236,7 @@ where
 
 pub mod sheep_placement_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -389,10 +391,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> SheepPlacement {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> SheepPlacement {
         SheepPlacement {
             horizontal: self._fields.0.unwrap(),
             start: self._fields.1.unwrap(),
@@ -403,10 +402,10 @@ where
 }
 
 fn lexicon_doc_games_firehose_barklesheep_placeSheeps() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("games.firehose.barklesheep.placeSheeps"),
@@ -417,37 +416,34 @@ fn lexicon_doc_games_firehose_barklesheep_placeSheeps() -> LexiconDoc<'static> {
                 LexUserType::XrpcProcedure(LexXrpcProcedure {
                     input: Some(LexXrpcBody {
                         encoding: CowStr::new_static("application/json"),
-                        schema: Some(
-                            LexXrpcBodySchema::Object(LexObject {
-                                required: Some(
-                                    vec![
-                                        SmolStr::new_static("gameId"), SmolStr::new_static("sheeps")
-                                    ],
-                                ),
-                                properties: {
-                                    #[allow(unused_mut)]
-                                    let mut map = BTreeMap::new();
-                                    map.insert(
-                                        SmolStr::new_static("gameId"),
-                                        LexObjectProperty::String(LexString {
+                        schema: Some(LexXrpcBodySchema::Object(LexObject {
+                            required: Some(vec![
+                                SmolStr::new_static("gameId"),
+                                SmolStr::new_static("sheeps"),
+                            ]),
+                            properties: {
+                                #[allow(unused_mut)]
+                                let mut map = BTreeMap::new();
+                                map.insert(
+                                    SmolStr::new_static("gameId"),
+                                    LexObjectProperty::String(LexString {
+                                        ..Default::default()
+                                    }),
+                                );
+                                map.insert(
+                                    SmolStr::new_static("sheeps"),
+                                    LexObjectProperty::Array(LexArray {
+                                        items: LexArrayItem::Ref(LexRef {
+                                            r#ref: CowStr::new_static("#sheepPlacement"),
                                             ..Default::default()
                                         }),
-                                    );
-                                    map.insert(
-                                        SmolStr::new_static("sheeps"),
-                                        LexObjectProperty::Array(LexArray {
-                                            items: LexArrayItem::Ref(LexRef {
-                                                r#ref: CowStr::new_static("#sheepPlacement"),
-                                                ..Default::default()
-                                            }),
-                                            ..Default::default()
-                                        }),
-                                    );
-                                    map
-                                },
-                                ..Default::default()
-                            }),
-                        ),
+                                        ..Default::default()
+                                    }),
+                                );
+                                map
+                            },
+                            ..Default::default()
+                        })),
                         ..Default::default()
                     }),
                     ..Default::default()
@@ -456,12 +452,11 @@ fn lexicon_doc_games_firehose_barklesheep_placeSheeps() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("sheepPlacement"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("type"), SmolStr::new_static("start"),
-                            SmolStr::new_static("horizontal")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("type"),
+                        SmolStr::new_static("start"),
+                        SmolStr::new_static("horizontal"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -479,7 +474,9 @@ fn lexicon_doc_games_firehose_barklesheep_placeSheeps() -> LexiconDoc<'static> {
                         );
                         map.insert(
                             SmolStr::new_static("type"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map
                     },
@@ -490,4 +487,4 @@ fn lexicon_doc_games_firehose_barklesheep_placeSheeps() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/games_firehose/barklesheep/reaction.rs b/crates/jacquard-api/src/games_firehose/barklesheep/reaction.rs
index 19ba1832..cf7b88cb 100644
--- a/crates/jacquard-api/src/games_firehose/barklesheep/reaction.rs
+++ b/crates/jacquard-api/src/games_firehose/barklesheep/reaction.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// A reaction in a Barklesheep game
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -116,7 +116,7 @@ impl LexiconSchema for Reaction {
 
 pub mod reaction_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -282,10 +282,10 @@ where
 }
 
 fn lexicon_doc_games_firehose_barklesheep_reaction() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("games.firehose.barklesheep.reaction"),
@@ -294,17 +294,14 @@ fn lexicon_doc_games_firehose_barklesheep_reaction() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static("A reaction in a Barklesheep game"),
-                    ),
+                    description: Some(CowStr::new_static("A reaction in a Barklesheep game")),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("gameId"), SmolStr::new_static("emoji"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("gameId"),
+                            SmolStr::new_static("emoji"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -339,4 +336,4 @@ fn lexicon_doc_games_firehose_barklesheep_reaction() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/games_gamesgamesgamesgames.rs b/crates/jacquard-api/src/games_gamesgamesgamesgames.rs
index ee64a73d..2cdc39f8 100644
--- a/crates/jacquard-api/src/games_gamesgamesgamesgames.rs
+++ b/crates/jacquard-api/src/games_gamesgamesgamesgames.rs
@@ -35,32 +35,34 @@ pub mod search_profiles_typeahead;
 pub mod search_slugs;
 pub mod slug;
 
-
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::blob::BlobRef;
-use jacquard_common::types::string::{Did, AtUri, Datetime, UriValue};
+use jacquard_common::types::string::{AtUri, Datetime, Did, UriValue};
 use jacquard_common::types::value::Data;
 use jacquard_derive::IntoStatic;
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::app_bsky::richtext::facet::Facet;
 use crate::games_gamesgamesgamesgames;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ActorCreditView {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub actor_uri: Option>,
@@ -72,9 +74,11 @@ pub struct ActorCreditView {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ActorProfileDetailView {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub avatar: Option>,
@@ -96,9 +100,11 @@ pub struct ActorProfileDetailView {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ActorProfileSummaryView {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub avatar: Option>,
@@ -110,9 +116,11 @@ pub struct ActorProfileSummaryView {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct AgeRating {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub content_descriptors: Option>,
@@ -122,7 +130,6 @@ pub struct AgeRating {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Debug, Clone, PartialEq, Eq, Hash)]
 pub enum AgeRatingOrganization {
     Esrb,
@@ -215,16 +222,16 @@ where
             AgeRatingOrganization::Grac => AgeRatingOrganization::Grac,
             AgeRatingOrganization::ClassInd => AgeRatingOrganization::ClassInd,
             AgeRatingOrganization::Acb => AgeRatingOrganization::Acb,
-            AgeRatingOrganization::Other(v) => {
-                AgeRatingOrganization::Other(v.into_static())
-            }
+            AgeRatingOrganization::Other(v) => AgeRatingOrganization::Other(v.into_static()),
         }
     }
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct AlternativeName {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub comment: Option,
@@ -238,7 +245,10 @@ pub struct AlternativeName {
 pub type ApplicationType = S;
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct CollectionSummaryView {
     pub name: S,
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -250,7 +260,6 @@ pub struct CollectionSummaryView {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Debug, Clone, PartialEq, Eq, Hash)]
 pub enum CollectionSummaryViewType {
     Franchise,
@@ -300,8 +309,7 @@ impl Serialize for CollectionSummaryViewType {
     }
 }
 
-impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de>
-for CollectionSummaryViewType {
+impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> for CollectionSummaryViewType {
     fn deserialize(deserializer: D) -> Result
     where
         D: serde::Deserializer<'de>,
@@ -335,7 +343,6 @@ where
     }
 }
 
-
 #[derive(Debug, Clone, PartialEq, Eq, Hash)]
 pub enum CompanyRole {
     Developer,
@@ -415,9 +422,11 @@ where
     }
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct CreditEntry {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub department: Option,
@@ -426,9 +435,11 @@ pub struct CreditEntry {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct EngineSummaryView {
     pub name: S,
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -438,9 +449,11 @@ pub struct EngineSummaryView {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ExternalIds {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub apple_app_store: Option,
@@ -470,9 +483,11 @@ pub struct ExternalIds {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ExternalVideo {
     pub platform: ExternalVideoPlatform,
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -482,7 +497,6 @@ pub struct ExternalVideo {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Debug, Clone, PartialEq, Eq, Hash)]
 pub enum ExternalVideoPlatform {
     Youtube,
@@ -559,16 +573,16 @@ where
             ExternalVideoPlatform::Youtube => ExternalVideoPlatform::Youtube,
             ExternalVideoPlatform::Twitch => ExternalVideoPlatform::Twitch,
             ExternalVideoPlatform::Vimeo => ExternalVideoPlatform::Vimeo,
-            ExternalVideoPlatform::Other(v) => {
-                ExternalVideoPlatform::Other(v.into_static())
-            }
+            ExternalVideoPlatform::Other(v) => ExternalVideoPlatform::Other(v.into_static()),
         }
     }
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GameDetailView {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub actor_credits: Option>>,
@@ -603,9 +617,7 @@ pub struct GameDetailView {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub parent: Option>,
     #[serde(skip_serializing_if = "Option::is_none")]
-    pub player_perspectives: Option<
-        Vec>,
-    >,
+    pub player_perspectives: Option>>,
     #[serde(skip_serializing_if = "Option::is_none")]
     pub published_at: Option,
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -629,9 +641,11 @@ pub struct GameDetailView {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GameFeedViewItem {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub feed_context: Option,
@@ -640,9 +654,11 @@ pub struct GameFeedViewItem {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GameSummaryView {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub application_type: Option>,
@@ -661,9 +677,11 @@ pub struct GameSummaryView {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GameView {
     pub application_type: games_gamesgamesgamesgames::ApplicationType,
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -688,7 +706,6 @@ pub struct GameView {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Debug, Clone, PartialEq, Eq, Hash)]
 pub enum Genre {
     Fighting,
@@ -792,7 +809,6 @@ where
     }
 }
 
-
 #[derive(Debug, Clone, PartialEq, Eq, Hash)]
 pub enum IndividualRole {
     Director,
@@ -912,9 +928,11 @@ where
     }
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ItchIoId {
     pub developer: S,
     pub game: S,
@@ -922,9 +940,11 @@ pub struct ItchIoId {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct LanguageSupport {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub audio: Option,
@@ -937,9 +957,11 @@ pub struct LanguageSupport {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct MediaItem {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub blob: Option>,
@@ -959,7 +981,6 @@ pub struct MediaItem {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Debug, Clone, PartialEq, Eq, Hash)]
 pub enum Mode {
     BattleRoyale,
@@ -1047,9 +1068,11 @@ where
     }
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct MultiplayerMode {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub has_campaign_coop: Option,
@@ -1075,9 +1098,11 @@ pub struct MultiplayerMode {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct OrgCreditView {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub display_name: Option,
@@ -1089,9 +1114,11 @@ pub struct OrgCreditView {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct OrgProfileDetailView {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub avatar: Option>,
@@ -1121,7 +1148,6 @@ pub struct OrgProfileDetailView {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Debug, Clone, PartialEq, Eq, Hash)]
 pub enum OrgProfileDetailViewStatus {
     Active,
@@ -1177,8 +1203,7 @@ impl Serialize for OrgProfileDetailViewStatus {
     }
 }
 
-impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de>
-for OrgProfileDetailViewStatus {
+impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> for OrgProfileDetailViewStatus {
     fn deserialize(deserializer: D) -> Result
     where
         D: serde::Deserializer<'de>,
@@ -1214,9 +1239,11 @@ where
     }
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct OrgProfileSummaryView {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub avatar: Option>,
@@ -1228,7 +1255,6 @@ pub struct OrgProfileSummaryView {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Debug, Clone, PartialEq, Eq, Hash)]
 pub enum PlatformCategory {
     Console,
@@ -1315,7 +1341,10 @@ where
 /// Features supported by a game on a specific storefront/platform.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct PlatformFeatures {
     pub features: Vec,
     pub platform: PlatformFeaturesPlatform,
@@ -1323,7 +1352,6 @@ pub struct PlatformFeatures {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Debug, Clone, PartialEq, Eq, Hash)]
 pub enum PlatformFeaturesPlatform {
     Steam,
@@ -1382,8 +1410,7 @@ impl Serialize for PlatformFeaturesPlatform {
     }
 }
 
-impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de>
-for PlatformFeaturesPlatform {
+impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> for PlatformFeaturesPlatform {
     fn deserialize(deserializer: D) -> Result
     where
         D: serde::Deserializer<'de>,
@@ -1410,23 +1437,19 @@ where
             PlatformFeaturesPlatform::Steam => PlatformFeaturesPlatform::Steam,
             PlatformFeaturesPlatform::Gog => PlatformFeaturesPlatform::Gog,
             PlatformFeaturesPlatform::EpicGames => PlatformFeaturesPlatform::EpicGames,
-            PlatformFeaturesPlatform::PlayStation => {
-                PlatformFeaturesPlatform::PlayStation
-            }
+            PlatformFeaturesPlatform::PlayStation => PlatformFeaturesPlatform::PlayStation,
             PlatformFeaturesPlatform::Xbox => PlatformFeaturesPlatform::Xbox,
-            PlatformFeaturesPlatform::NintendoEshop => {
-                PlatformFeaturesPlatform::NintendoEshop
-            }
-            PlatformFeaturesPlatform::Other(v) => {
-                PlatformFeaturesPlatform::Other(v.into_static())
-            }
+            PlatformFeaturesPlatform::NintendoEshop => PlatformFeaturesPlatform::NintendoEshop,
+            PlatformFeaturesPlatform::Other(v) => PlatformFeaturesPlatform::Other(v.into_static()),
         }
     }
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct PlatformSummaryView {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub abbreviation: Option,
@@ -1440,9 +1463,11 @@ pub struct PlatformSummaryView {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct PlatformVersion {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub connectivity: Option,
@@ -1469,7 +1494,6 @@ pub struct PlatformVersion {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Debug, Clone, PartialEq, Eq, Hash)]
 pub enum PlayerPerspective {
     Auditory,
@@ -1565,9 +1589,11 @@ where
     }
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ProfileSummaryView {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub avatar: Option>,
@@ -1580,7 +1606,6 @@ pub struct ProfileSummaryView {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Debug, Clone, PartialEq, Eq, Hash)]
 pub enum ProfileSummaryViewProfileType {
     Actor,
@@ -1627,8 +1652,7 @@ impl Serialize for ProfileSummaryViewProfileType {
     }
 }
 
-impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de>
-for ProfileSummaryViewProfileType {
+impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> for ProfileSummaryViewProfileType {
     fn deserialize(deserializer: D) -> Result
     where
         D: serde::Deserializer<'de>,
@@ -1661,9 +1685,11 @@ where
     }
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Release {
     ///Free-text platform name, used when no platform record exists.
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -1677,9 +1703,11 @@ pub struct Release {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ReleaseDate {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub region: Option>,
@@ -1693,7 +1721,6 @@ pub struct ReleaseDate {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Debug, Clone, PartialEq, Eq, Hash)]
 pub enum ReleaseDateRegion {
     Worldwide,
@@ -1803,7 +1830,6 @@ where
     }
 }
 
-
 #[derive(Debug, Clone, PartialEq, Eq, Hash)]
 pub enum ReleaseDateStatus {
     AdvancedAccess,
@@ -1913,9 +1939,11 @@ where
     }
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct SkeletonGameFeedItem {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub feed_context: Option,
@@ -1927,7 +1955,10 @@ pub struct SkeletonGameFeedItem {
 /// System requirements for a game on a specific platform.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct SystemRequirements {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub minimum: Option>,
@@ -1938,7 +1969,6 @@ pub struct SystemRequirements {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Debug, Clone, PartialEq, Eq, Hash)]
 pub enum SystemRequirementsPlatform {
     Windows,
@@ -1988,8 +2018,7 @@ impl Serialize for SystemRequirementsPlatform {
     }
 }
 
-impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de>
-for SystemRequirementsPlatform {
+impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> for SystemRequirementsPlatform {
     fn deserialize(deserializer: D) -> Result
     where
         D: serde::Deserializer<'de>,
@@ -2026,7 +2055,10 @@ where
 /// Hardware/software specification for a platform.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct SystemSpec {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub additional_notes: Option,
@@ -2048,7 +2080,6 @@ pub struct SystemSpec {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Debug, Clone, PartialEq, Eq, Hash)]
 pub enum Theme {
     _4x,
@@ -2200,9 +2231,11 @@ where
     }
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct TimeToBeat {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub completely: Option,
@@ -2214,9 +2247,11 @@ pub struct TimeToBeat {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ViewerState {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub like: Option>,
@@ -2224,9 +2259,11 @@ pub struct ViewerState {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Website {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub r#type: Option>,
@@ -2235,7 +2272,6 @@ pub struct Website {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Debug, Clone, PartialEq, Eq, Hash)]
 pub enum WebsiteType {
     Official,
@@ -2437,25 +2473,20 @@ impl LexiconSchema for ActorProfileDetailView {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["image/png", "image/jpeg"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("avatar"),
-                        accepted: vec![
-                            "image/png".to_string(), "image/jpeg".to_string()
-                        ],
+                        accepted: vec!["image/png".to_string(), "image/jpeg".to_string()],
                         actual: mime.to_string(),
                     });
                 }
@@ -2522,25 +2553,20 @@ impl LexiconSchema for ActorProfileSummaryView {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["image/png", "image/jpeg"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("avatar"),
-                        accepted: vec![
-                            "image/png".to_string(), "image/jpeg".to_string()
-                        ],
+                        accepted: vec!["image/png".to_string(), "image/jpeg".to_string()],
                         actual: mime.to_string(),
                     });
                 }
@@ -2811,19 +2837,16 @@ impl LexiconSchema for MediaItem {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["image/*", "video/*"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("blob"),
@@ -2904,25 +2927,20 @@ impl LexiconSchema for OrgProfileDetailView {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["image/png", "image/jpeg"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("avatar"),
-                        accepted: vec![
-                            "image/png".to_string(), "image/jpeg".to_string()
-                        ],
+                        accepted: vec!["image/png".to_string(), "image/jpeg".to_string()],
                         actual: mime.to_string(),
                     });
                 }
@@ -2979,25 +2997,20 @@ impl LexiconSchema for OrgProfileSummaryView {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["image/png", "image/jpeg"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("avatar"),
-                        accepted: vec![
-                            "image/png".to_string(), "image/jpeg".to_string()
-                        ],
+                        accepted: vec!["image/png".to_string(), "image/jpeg".to_string()],
                         actual: mime.to_string(),
                     });
                 }
@@ -3089,25 +3102,20 @@ impl LexiconSchema for ProfileSummaryView {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["image/png", "image/jpeg"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("avatar"),
-                        accepted: vec![
-                            "image/png".to_string(), "image/jpeg".to_string()
-                        ],
+                        accepted: vec!["image/png".to_string(), "image/jpeg".to_string()],
                         actual: mime.to_string(),
                     });
                 }
@@ -3259,7 +3267,7 @@ impl LexiconSchema for Website {
 
 pub mod actor_credit_view_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -3412,10 +3420,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> ActorCreditView {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> ActorCreditView {
         ActorCreditView {
             actor_uri: self._fields.0,
             credits: self._fields.1.unwrap(),
@@ -3427,10 +3432,10 @@ where
 }
 
 fn lexicon_doc_games_gamesgamesgamesgames_defs() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("games.gamesgamesgamesgames.defs"),
@@ -3439,9 +3444,10 @@ fn lexicon_doc_games_gamesgamesgamesgames_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("actorCreditView"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![SmolStr::new_static("uri"), SmolStr::new_static("credits")],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("uri"),
+                        SmolStr::new_static("credits"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -3486,15 +3492,15 @@ fn lexicon_doc_games_gamesgamesgamesgames_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("actorProfileDetailView"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![SmolStr::new_static("uri"), SmolStr::new_static("did")],
-                    ),
+                    required: Some(vec![SmolStr::new_static("uri"), SmolStr::new_static("did")]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("avatar"),
-                            LexObjectProperty::Blob(LexBlob { ..Default::default() }),
+                            LexObjectProperty::Blob(LexBlob {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("createdAt"),
@@ -3568,15 +3574,15 @@ fn lexicon_doc_games_gamesgamesgamesgames_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("actorProfileSummaryView"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![SmolStr::new_static("uri"), SmolStr::new_static("did")],
-                    ),
+                    required: Some(vec![SmolStr::new_static("uri"), SmolStr::new_static("did")]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("avatar"),
-                            LexObjectProperty::Blob(LexBlob { ..Default::default() }),
+                            LexObjectProperty::Blob(LexBlob {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("did"),
@@ -3607,12 +3613,10 @@ fn lexicon_doc_games_gamesgamesgamesgames_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("ageRating"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("organization"),
-                            SmolStr::new_static("rating")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("organization"),
+                        SmolStr::new_static("rating"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -3627,11 +3631,15 @@ fn lexicon_doc_games_gamesgamesgamesgames_defs() -> LexiconDoc<'static> {
                         );
                         map.insert(
                             SmolStr::new_static("organization"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("rating"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map
                     },
@@ -3647,15 +3655,21 @@ fn lexicon_doc_games_gamesgamesgamesgames_defs() -> LexiconDoc<'static> {
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("comment"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("locale"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("name"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map
                     },
@@ -3664,28 +3678,37 @@ fn lexicon_doc_games_gamesgamesgamesgames_defs() -> LexiconDoc<'static> {
             );
             map.insert(
                 SmolStr::new_static("applicationType"),
-                LexUserType::String(LexString { ..Default::default() }),
+                LexUserType::String(LexString {
+                    ..Default::default()
+                }),
             );
             map.insert(
                 SmolStr::new_static("collectionSummaryView"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![SmolStr::new_static("uri"), SmolStr::new_static("name")],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("uri"),
+                        SmolStr::new_static("name"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("name"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("slug"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("type"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("uri"),
@@ -3701,7 +3724,9 @@ fn lexicon_doc_games_gamesgamesgamesgames_defs() -> LexiconDoc<'static> {
             );
             map.insert(
                 SmolStr::new_static("companyRole"),
-                LexUserType::String(LexString { ..Default::default() }),
+                LexUserType::String(LexString {
+                    ..Default::default()
+                }),
             );
             map.insert(
                 SmolStr::new_static("creditEntry"),
@@ -3734,19 +3759,24 @@ fn lexicon_doc_games_gamesgamesgamesgames_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("engineSummaryView"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![SmolStr::new_static("uri"), SmolStr::new_static("name")],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("uri"),
+                        SmolStr::new_static("name"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("name"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("slug"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("uri"),
@@ -3768,27 +3798,39 @@ fn lexicon_doc_games_gamesgamesgamesgames_defs() -> LexiconDoc<'static> {
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("appleAppStore"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("epicGames"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("gog"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("googlePlay"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("humbleBundle"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("igdb"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("itchIo"),
@@ -3801,23 +3843,33 @@ fn lexicon_doc_games_gamesgamesgamesgames_defs() -> LexiconDoc<'static> {
                         );
                         map.insert(
                             SmolStr::new_static("nintendoEshop"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("playStation"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("steam"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("twitch"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("xbox"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map
                     },
@@ -3827,26 +3879,30 @@ fn lexicon_doc_games_gamesgamesgamesgames_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("externalVideo"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("videoId"),
-                            SmolStr::new_static("platform")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("videoId"),
+                        SmolStr::new_static("platform"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("platform"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("title"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("videoId"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map
                     },
@@ -3856,12 +3912,11 @@ fn lexicon_doc_games_gamesgamesgamesgames_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("gameDetailView"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("name"), SmolStr::new_static("uri"),
-                            SmolStr::new_static("createdAt")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("name"),
+                        SmolStr::new_static("uri"),
+                        SmolStr::new_static("createdAt"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -4017,7 +4072,9 @@ fn lexicon_doc_games_gamesgamesgamesgames_defs() -> LexiconDoc<'static> {
                         );
                         map.insert(
                             SmolStr::new_static("name"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("orgCredits"),
@@ -4071,15 +4128,21 @@ fn lexicon_doc_games_gamesgamesgamesgames_defs() -> LexiconDoc<'static> {
                         );
                         map.insert(
                             SmolStr::new_static("slug"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("storyline"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("summary"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("themes"),
@@ -4169,9 +4232,10 @@ fn lexicon_doc_games_gamesgamesgamesgames_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("gameSummaryView"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![SmolStr::new_static("uri"), SmolStr::new_static("name")],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("uri"),
+                        SmolStr::new_static("name"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -4204,15 +4268,21 @@ fn lexicon_doc_games_gamesgamesgamesgames_defs() -> LexiconDoc<'static> {
                         );
                         map.insert(
                             SmolStr::new_static("name"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("slug"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("summary"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("uri"),
@@ -4229,12 +4299,11 @@ fn lexicon_doc_games_gamesgamesgamesgames_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("gameView"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("uri"), SmolStr::new_static("name"),
-                            SmolStr::new_static("applicationType")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("uri"),
+                        SmolStr::new_static("name"),
+                        SmolStr::new_static("applicationType"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -4280,7 +4349,9 @@ fn lexicon_doc_games_gamesgamesgamesgames_defs() -> LexiconDoc<'static> {
                         );
                         map.insert(
                             SmolStr::new_static("name"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("releases"),
@@ -4296,11 +4367,15 @@ fn lexicon_doc_games_gamesgamesgamesgames_defs() -> LexiconDoc<'static> {
                         );
                         map.insert(
                             SmolStr::new_static("slug"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("summary"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("themes"),
@@ -4337,30 +4412,37 @@ fn lexicon_doc_games_gamesgamesgamesgames_defs() -> LexiconDoc<'static> {
             );
             map.insert(
                 SmolStr::new_static("genre"),
-                LexUserType::String(LexString { ..Default::default() }),
+                LexUserType::String(LexString {
+                    ..Default::default()
+                }),
             );
             map.insert(
                 SmolStr::new_static("individualRole"),
-                LexUserType::String(LexString { ..Default::default() }),
+                LexUserType::String(LexString {
+                    ..Default::default()
+                }),
             );
             map.insert(
                 SmolStr::new_static("itchIoId"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("developer"), SmolStr::new_static("game")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("developer"),
+                        SmolStr::new_static("game"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("developer"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("game"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map
                     },
@@ -4388,7 +4470,9 @@ fn lexicon_doc_games_gamesgamesgamesgames_defs() -> LexiconDoc<'static> {
                         );
                         map.insert(
                             SmolStr::new_static("language"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("subtitles"),
@@ -4409,11 +4493,15 @@ fn lexicon_doc_games_gamesgamesgamesgames_defs() -> LexiconDoc<'static> {
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("blob"),
-                            LexObjectProperty::Blob(LexBlob { ..Default::default() }),
+                            LexObjectProperty::Blob(LexBlob {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("description"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("height"),
@@ -4423,15 +4511,21 @@ fn lexicon_doc_games_gamesgamesgamesgames_defs() -> LexiconDoc<'static> {
                         );
                         map.insert(
                             SmolStr::new_static("locale"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("mediaType"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("title"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("width"),
@@ -4446,7 +4540,9 @@ fn lexicon_doc_games_gamesgamesgamesgames_defs() -> LexiconDoc<'static> {
             );
             map.insert(
                 SmolStr::new_static("mode"),
-                LexUserType::String(LexString { ..Default::default() }),
+                LexUserType::String(LexString {
+                    ..Default::default()
+                }),
             );
             map.insert(
                 SmolStr::new_static("multiplayerMode"),
@@ -4510,7 +4606,9 @@ fn lexicon_doc_games_gamesgamesgamesgames_defs() -> LexiconDoc<'static> {
                         );
                         map.insert(
                             SmolStr::new_static("platform"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map
                     },
@@ -4520,9 +4618,10 @@ fn lexicon_doc_games_gamesgamesgamesgames_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("orgCreditView"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![SmolStr::new_static("uri"), SmolStr::new_static("roles")],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("uri"),
+                        SmolStr::new_static("roles"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -4567,19 +4666,21 @@ fn lexicon_doc_games_gamesgamesgamesgames_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("orgProfileDetailView"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![SmolStr::new_static("uri"), SmolStr::new_static("did")],
-                    ),
+                    required: Some(vec![SmolStr::new_static("uri"), SmolStr::new_static("did")]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("avatar"),
-                            LexObjectProperty::Blob(LexBlob { ..Default::default() }),
+                            LexObjectProperty::Blob(LexBlob {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("country"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("createdAt"),
@@ -4647,7 +4748,9 @@ fn lexicon_doc_games_gamesgamesgamesgames_defs() -> LexiconDoc<'static> {
                         );
                         map.insert(
                             SmolStr::new_static("status"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("uri"),
@@ -4676,15 +4779,15 @@ fn lexicon_doc_games_gamesgamesgamesgames_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("orgProfileSummaryView"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![SmolStr::new_static("uri"), SmolStr::new_static("did")],
-                    ),
+                    required: Some(vec![SmolStr::new_static("uri"), SmolStr::new_static("did")]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("avatar"),
-                            LexObjectProperty::Blob(LexBlob { ..Default::default() }),
+                            LexObjectProperty::Blob(LexBlob {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("did"),
@@ -4714,22 +4817,20 @@ fn lexicon_doc_games_gamesgamesgamesgames_defs() -> LexiconDoc<'static> {
             );
             map.insert(
                 SmolStr::new_static("platformCategory"),
-                LexUserType::String(LexString { ..Default::default() }),
+                LexUserType::String(LexString {
+                    ..Default::default()
+                }),
             );
             map.insert(
                 SmolStr::new_static("platformFeatures"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static(
-                            "Features supported by a game on a specific storefront/platform.",
-                        ),
-                    ),
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("platform"),
-                            SmolStr::new_static("features")
-                        ],
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Features supported by a game on a specific storefront/platform.",
+                    )),
+                    required: Some(vec![
+                        SmolStr::new_static("platform"),
+                        SmolStr::new_static("features"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -4744,7 +4845,9 @@ fn lexicon_doc_games_gamesgamesgamesgames_defs() -> LexiconDoc<'static> {
                         );
                         map.insert(
                             SmolStr::new_static("platform"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map
                     },
@@ -4754,15 +4857,18 @@ fn lexicon_doc_games_gamesgamesgamesgames_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("platformSummaryView"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![SmolStr::new_static("uri"), SmolStr::new_static("name")],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("uri"),
+                        SmolStr::new_static("name"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("abbreviation"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("category"),
@@ -4775,11 +4881,15 @@ fn lexicon_doc_games_gamesgamesgamesgames_defs() -> LexiconDoc<'static> {
                         );
                         map.insert(
                             SmolStr::new_static("name"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("slug"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("uri"),
@@ -4802,19 +4912,27 @@ fn lexicon_doc_games_gamesgamesgamesgames_defs() -> LexiconDoc<'static> {
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("connectivity"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("cpu"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("gpu"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("maxResolution"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("media"),
@@ -4830,27 +4948,39 @@ fn lexicon_doc_games_gamesgamesgamesgames_defs() -> LexiconDoc<'static> {
                         );
                         map.insert(
                             SmolStr::new_static("memory"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("name"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("os"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("output"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("storage"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("summary"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map
                     },
@@ -4859,23 +4989,26 @@ fn lexicon_doc_games_gamesgamesgamesgames_defs() -> LexiconDoc<'static> {
             );
             map.insert(
                 SmolStr::new_static("playerPerspective"),
-                LexUserType::String(LexString { ..Default::default() }),
+                LexUserType::String(LexString {
+                    ..Default::default()
+                }),
             );
             map.insert(
                 SmolStr::new_static("profileSummaryView"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("uri"), SmolStr::new_static("did"),
-                            SmolStr::new_static("profileType")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("uri"),
+                        SmolStr::new_static("did"),
+                        SmolStr::new_static("profileType"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("avatar"),
-                            LexObjectProperty::Blob(LexBlob { ..Default::default() }),
+                            LexObjectProperty::Blob(LexBlob {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("did"),
@@ -4893,7 +5026,9 @@ fn lexicon_doc_games_gamesgamesgamesgames_defs() -> LexiconDoc<'static> {
                         );
                         map.insert(
                             SmolStr::new_static("profileType"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("uri"),
@@ -4916,20 +5051,18 @@ fn lexicon_doc_games_gamesgamesgamesgames_defs() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("platform"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "Free-text platform name, used when no platform record exists.",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Free-text platform name, used when no platform record exists.",
+                                )),
                                 ..Default::default()
                             }),
                         );
                         map.insert(
                             SmolStr::new_static("platformUri"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("AT URI of a platform record."),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "AT URI of a platform record.",
+                                )),
                                 format: Some(LexStringFormat::AtUri),
                                 ..Default::default()
                             }),
@@ -4959,19 +5092,27 @@ fn lexicon_doc_games_gamesgamesgamesgames_defs() -> LexiconDoc<'static> {
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("region"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("releasedAt"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("releasedAtFormat"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("status"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map
                     },
@@ -5007,11 +5148,9 @@ fn lexicon_doc_games_gamesgamesgamesgames_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("systemRequirements"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static(
-                            "System requirements for a game on a specific platform.",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "System requirements for a game on a specific platform.",
+                    )),
                     required: Some(vec![SmolStr::new_static("platform")]),
                     properties: {
                         #[allow(unused_mut)]
@@ -5025,7 +5164,9 @@ fn lexicon_doc_games_gamesgamesgamesgames_defs() -> LexiconDoc<'static> {
                         );
                         map.insert(
                             SmolStr::new_static("platform"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("recommended"),
@@ -5042,45 +5183,59 @@ fn lexicon_doc_games_gamesgamesgamesgames_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("systemSpec"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static(
-                            "Hardware/software specification for a platform.",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Hardware/software specification for a platform.",
+                    )),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("additionalNotes"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("directx"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("graphics"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("memory"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("os"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("processor"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("soundCard"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("storage"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map
                     },
@@ -5089,7 +5244,9 @@ fn lexicon_doc_games_gamesgamesgamesgames_defs() -> LexiconDoc<'static> {
             );
             map.insert(
                 SmolStr::new_static("theme"),
-                LexUserType::String(LexString { ..Default::default() }),
+                LexUserType::String(LexString {
+                    ..Default::default()
+                }),
             );
             map.insert(
                 SmolStr::new_static("timeToBeat"),
@@ -5147,7 +5304,9 @@ fn lexicon_doc_games_gamesgamesgamesgames_defs() -> LexiconDoc<'static> {
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("type"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("url"),
@@ -5169,7 +5328,7 @@ fn lexicon_doc_games_gamesgamesgamesgames_defs() -> LexiconDoc<'static> {
 
 pub mod actor_profile_detail_view_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -5212,10 +5371,7 @@ pub mod actor_profile_detail_view_state {
 }
 
 /// Builder for constructing an instance of this type.
-pub struct ActorProfileDetailViewBuilder<
-    S: BosStr,
-    St: actor_profile_detail_view_state::State,
-> {
+pub struct ActorProfileDetailViewBuilder {
     _state: PhantomData St>,
     _fields: (
         Option>,
@@ -5233,17 +5389,12 @@ pub struct ActorProfileDetailViewBuilder<
 
 impl ActorProfileDetailView {
     /// Create a new builder for this type.
-    pub fn new() -> ActorProfileDetailViewBuilder<
-        S,
-        actor_profile_detail_view_state::Empty,
-    > {
+    pub fn new() -> ActorProfileDetailViewBuilder {
         ActorProfileDetailViewBuilder::new()
     }
 }
 
-impl<
-    S: BosStr,
-> ActorProfileDetailViewBuilder {
+impl ActorProfileDetailViewBuilder {
     /// Create a new builder with all fields unset.
     pub fn new() -> Self {
         ActorProfileDetailViewBuilder {
@@ -5254,10 +5405,7 @@ impl<
     }
 }
 
-impl<
-    S: BosStr,
-    St: actor_profile_detail_view_state::State,
-> ActorProfileDetailViewBuilder {
+impl ActorProfileDetailViewBuilder {
     /// Set the `avatar` field (optional)
     pub fn avatar(mut self, value: impl Into>>) -> Self {
         self._fields.0 = value.into();
@@ -5270,10 +5418,7 @@ impl<
     }
 }
 
-impl<
-    S: BosStr,
-    St: actor_profile_detail_view_state::State,
-> ActorProfileDetailViewBuilder {
+impl ActorProfileDetailViewBuilder {
     /// Set the `createdAt` field (optional)
     pub fn created_at(mut self, value: impl Into>) -> Self {
         self._fields.1 = value.into();
@@ -5286,10 +5431,7 @@ impl<
     }
 }
 
-impl<
-    S: BosStr,
-    St: actor_profile_detail_view_state::State,
-> ActorProfileDetailViewBuilder {
+impl ActorProfileDetailViewBuilder {
     /// Set the `description` field (optional)
     pub fn description(mut self, value: impl Into>) -> Self {
         self._fields.2 = value.into();
@@ -5302,15 +5444,9 @@ impl<
     }
 }
 
-impl<
-    S: BosStr,
-    St: actor_profile_detail_view_state::State,
-> ActorProfileDetailViewBuilder {
+impl ActorProfileDetailViewBuilder {
     /// Set the `descriptionFacets` field (optional)
-    pub fn description_facets(
-        mut self,
-        value: impl Into>>>,
-    ) -> Self {
+    pub fn description_facets(mut self, value: impl Into>>>) -> Self {
         self._fields.3 = value.into();
         self
     }
@@ -5340,10 +5476,7 @@ where
     }
 }
 
-impl<
-    S: BosStr,
-    St: actor_profile_detail_view_state::State,
-> ActorProfileDetailViewBuilder {
+impl ActorProfileDetailViewBuilder {
     /// Set the `displayName` field (optional)
     pub fn display_name(mut self, value: impl Into>) -> Self {
         self._fields.5 = value.into();
@@ -5356,10 +5489,7 @@ impl<
     }
 }
 
-impl<
-    S: BosStr,
-    St: actor_profile_detail_view_state::State,
-> ActorProfileDetailViewBuilder {
+impl ActorProfileDetailViewBuilder {
     /// Set the `pronouns` field (optional)
     pub fn pronouns(mut self, value: impl Into>) -> Self {
         self._fields.6 = value.into();
@@ -5391,10 +5521,7 @@ where
     }
 }
 
-impl<
-    S: BosStr,
-    St: actor_profile_detail_view_state::State,
-> ActorProfileDetailViewBuilder {
+impl ActorProfileDetailViewBuilder {
     /// Set the `websites` field (optional)
     pub fn websites(
         mut self,
@@ -5456,7 +5583,7 @@ where
 
 pub mod actor_profile_summary_view_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -5499,28 +5626,25 @@ pub mod actor_profile_summary_view_state {
 }
 
 /// Builder for constructing an instance of this type.
-pub struct ActorProfileSummaryViewBuilder<
-    S: BosStr,
-    St: actor_profile_summary_view_state::State,
-> {
+pub struct ActorProfileSummaryViewBuilder {
     _state: PhantomData St>,
-    _fields: (Option>, Option>, Option, Option>),
+    _fields: (
+        Option>,
+        Option>,
+        Option,
+        Option>,
+    ),
     _type: PhantomData S>,
 }
 
 impl ActorProfileSummaryView {
     /// Create a new builder for this type.
-    pub fn new() -> ActorProfileSummaryViewBuilder<
-        S,
-        actor_profile_summary_view_state::Empty,
-    > {
+    pub fn new() -> ActorProfileSummaryViewBuilder {
         ActorProfileSummaryViewBuilder::new()
     }
 }
 
-impl<
-    S: BosStr,
-> ActorProfileSummaryViewBuilder {
+impl ActorProfileSummaryViewBuilder {
     /// Create a new builder with all fields unset.
     pub fn new() -> Self {
         ActorProfileSummaryViewBuilder {
@@ -5531,10 +5655,7 @@ impl<
     }
 }
 
-impl<
-    S: BosStr,
-    St: actor_profile_summary_view_state::State,
-> ActorProfileSummaryViewBuilder {
+impl ActorProfileSummaryViewBuilder {
     /// Set the `avatar` field (optional)
     pub fn avatar(mut self, value: impl Into>>) -> Self {
         self._fields.0 = value.into();
@@ -5556,10 +5677,7 @@ where
     pub fn did(
         mut self,
         value: impl Into>,
-    ) -> ActorProfileSummaryViewBuilder<
-        S,
-        actor_profile_summary_view_state::SetDid,
-    > {
+    ) -> ActorProfileSummaryViewBuilder> {
         self._fields.1 = Option::Some(value.into());
         ActorProfileSummaryViewBuilder {
             _state: PhantomData,
@@ -5569,10 +5687,7 @@ where
     }
 }
 
-impl<
-    S: BosStr,
-    St: actor_profile_summary_view_state::State,
-> ActorProfileSummaryViewBuilder {
+impl ActorProfileSummaryViewBuilder {
     /// Set the `displayName` field (optional)
     pub fn display_name(mut self, value: impl Into>) -> Self {
         self._fields.2 = value.into();
@@ -5594,10 +5709,7 @@ where
     pub fn uri(
         mut self,
         value: impl Into>,
-    ) -> ActorProfileSummaryViewBuilder<
-        S,
-        actor_profile_summary_view_state::SetUri,
-    > {
+    ) -> ActorProfileSummaryViewBuilder> {
         self._fields.3 = Option::Some(value.into());
         ActorProfileSummaryViewBuilder {
             _state: PhantomData,
@@ -5640,7 +5752,7 @@ where
 
 pub mod collection_summary_view_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -5683,10 +5795,7 @@ pub mod collection_summary_view_state {
 }
 
 /// Builder for constructing an instance of this type.
-pub struct CollectionSummaryViewBuilder<
-    S: BosStr,
-    St: collection_summary_view_state::State,
-> {
+pub struct CollectionSummaryViewBuilder {
     _state: PhantomData St>,
     _fields: (
         Option,
@@ -5699,10 +5808,7 @@ pub struct CollectionSummaryViewBuilder<
 
 impl CollectionSummaryView {
     /// Create a new builder for this type.
-    pub fn new() -> CollectionSummaryViewBuilder<
-        S,
-        collection_summary_view_state::Empty,
-    > {
+    pub fn new() -> CollectionSummaryViewBuilder {
         CollectionSummaryViewBuilder::new()
     }
 }
@@ -5737,10 +5843,7 @@ where
     }
 }
 
-impl<
-    S: BosStr,
-    St: collection_summary_view_state::State,
-> CollectionSummaryViewBuilder {
+impl CollectionSummaryViewBuilder {
     /// Set the `slug` field (optional)
     pub fn slug(mut self, value: impl Into>) -> Self {
         self._fields.1 = value.into();
@@ -5753,15 +5856,9 @@ impl<
     }
 }
 
-impl<
-    S: BosStr,
-    St: collection_summary_view_state::State,
-> CollectionSummaryViewBuilder {
+impl CollectionSummaryViewBuilder {
     /// Set the `type` field (optional)
-    pub fn r#type(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn r#type(mut self, value: impl Into>>) -> Self {
         self._fields.2 = value.into();
         self
     }
@@ -5824,7 +5921,7 @@ where
 
 pub mod credit_entry_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -5857,7 +5954,10 @@ pub mod credit_entry_state {
 /// Builder for constructing an instance of this type.
 pub struct CreditEntryBuilder {
     _state: PhantomData St>,
-    _fields: (Option, Option>),
+    _fields: (
+        Option,
+        Option>,
+    ),
     _type: PhantomData S>,
 }
 
@@ -5925,10 +6025,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> CreditEntry {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> CreditEntry {
         CreditEntry {
             department: self._fields.0,
             role: self._fields.1.unwrap(),
@@ -5939,7 +6036,7 @@ where
 
 pub mod engine_summary_view_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -6073,10 +6170,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> EngineSummaryView {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> EngineSummaryView {
         EngineSummaryView {
             name: self._fields.0.unwrap(),
             slug: self._fields.1,
@@ -6088,7 +6182,7 @@ where
 
 pub mod game_detail_view_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -6193,34 +6287,8 @@ impl GameDetailViewBuilder {
         GameDetailViewBuilder {
             _state: PhantomData,
             _fields: (
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
+                None, None, None, None, None, None, None, None, None, None, None, None, None, None,
+                None, None, None, None, None, None, None, None, None, None, None, None, None, None,
             ),
             _type: PhantomData,
         }
@@ -6447,10 +6515,7 @@ impl GameDetailViewBuilder
         self
     }
     /// Set the `modes` field to an Option value (optional)
-    pub fn maybe_modes(
-        mut self,
-        value: Option>>,
-    ) -> Self {
+    pub fn maybe_modes(mut self, value: Option>>) -> Self {
         self._fields.12 = value;
         self
     }
@@ -6753,10 +6818,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> GameDetailView {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> GameDetailView {
         GameDetailView {
             actor_credits: self._fields.0,
             age_ratings: self._fields.1,
@@ -6793,7 +6855,7 @@ where
 
 pub mod game_feed_view_item_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -6894,10 +6956,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> GameFeedViewItem {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> GameFeedViewItem {
         GameFeedViewItem {
             feed_context: self._fields.0,
             game: self._fields.1.unwrap(),
@@ -6908,7 +6967,7 @@ where
 
 pub mod game_summary_view_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -7118,10 +7177,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> GameSummaryView {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> GameSummaryView {
         GameSummaryView {
             application_type: self._fields.0,
             first_release_date: self._fields.1,
@@ -7137,7 +7193,7 @@ where
 
 pub mod game_view_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -7224,7 +7280,9 @@ impl GameViewBuilder {
     pub fn new() -> Self {
         GameViewBuilder {
             _state: PhantomData,
-            _fields: (None, None, None, None, None, None, None, None, None, None, None),
+            _fields: (
+                None, None, None, None, None, None, None, None, None, None, None,
+            ),
             _type: PhantomData,
         }
     }
@@ -7306,10 +7364,7 @@ where
     St::Name: game_view_state::IsUnset,
 {
     /// Set the `name` field (required)
-    pub fn name(
-        mut self,
-        value: impl Into,
-    ) -> GameViewBuilder> {
+    pub fn name(mut self, value: impl Into) -> GameViewBuilder> {
         self._fields.4 = Option::Some(value.into());
         GameViewBuilder {
             _state: PhantomData,
@@ -7466,7 +7521,7 @@ where
 
 pub mod org_credit_view_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -7619,10 +7674,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> OrgCreditView {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> OrgCreditView {
         OrgCreditView {
             display_name: self._fields.0,
             org_uri: self._fields.1,
@@ -7635,7 +7687,7 @@ where
 
 pub mod org_profile_detail_view_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -7678,10 +7730,7 @@ pub mod org_profile_detail_view_state {
 }
 
 /// Builder for constructing an instance of this type.
-pub struct OrgProfileDetailViewBuilder<
-    S: BosStr,
-    St: org_profile_detail_view_state::State,
-> {
+pub struct OrgProfileDetailViewBuilder {
     _state: PhantomData St>,
     _fields: (
         Option>,
@@ -7703,10 +7752,7 @@ pub struct OrgProfileDetailViewBuilder<
 
 impl OrgProfileDetailView {
     /// Create a new builder for this type.
-    pub fn new() -> OrgProfileDetailViewBuilder<
-        S,
-        org_profile_detail_view_state::Empty,
-    > {
+    pub fn new() -> OrgProfileDetailViewBuilder {
         OrgProfileDetailViewBuilder::new()
     }
 }
@@ -7717,29 +7763,14 @@ impl OrgProfileDetailViewBuilder OrgProfileDetailViewBuilder {
+impl OrgProfileDetailViewBuilder {
     /// Set the `avatar` field (optional)
     pub fn avatar(mut self, value: impl Into>>) -> Self {
         self._fields.0 = value.into();
@@ -7752,10 +7783,7 @@ impl<
     }
 }
 
-impl<
-    S: BosStr,
-    St: org_profile_detail_view_state::State,
-> OrgProfileDetailViewBuilder {
+impl OrgProfileDetailViewBuilder {
     /// Set the `country` field (optional)
     pub fn country(mut self, value: impl Into>) -> Self {
         self._fields.1 = value.into();
@@ -7768,10 +7796,7 @@ impl<
     }
 }
 
-impl<
-    S: BosStr,
-    St: org_profile_detail_view_state::State,
-> OrgProfileDetailViewBuilder {
+impl OrgProfileDetailViewBuilder {
     /// Set the `createdAt` field (optional)
     pub fn created_at(mut self, value: impl Into>) -> Self {
         self._fields.2 = value.into();
@@ -7784,10 +7809,7 @@ impl<
     }
 }
 
-impl<
-    S: BosStr,
-    St: org_profile_detail_view_state::State,
-> OrgProfileDetailViewBuilder {
+impl OrgProfileDetailViewBuilder {
     /// Set the `description` field (optional)
     pub fn description(mut self, value: impl Into>) -> Self {
         self._fields.3 = value.into();
@@ -7800,15 +7822,9 @@ impl<
     }
 }
 
-impl<
-    S: BosStr,
-    St: org_profile_detail_view_state::State,
-> OrgProfileDetailViewBuilder {
+impl OrgProfileDetailViewBuilder {
     /// Set the `descriptionFacets` field (optional)
-    pub fn description_facets(
-        mut self,
-        value: impl Into>>>,
-    ) -> Self {
+    pub fn description_facets(mut self, value: impl Into>>>) -> Self {
         self._fields.4 = value.into();
         self
     }
@@ -7838,10 +7854,7 @@ where
     }
 }
 
-impl<
-    S: BosStr,
-    St: org_profile_detail_view_state::State,
-> OrgProfileDetailViewBuilder {
+impl OrgProfileDetailViewBuilder {
     /// Set the `displayName` field (optional)
     pub fn display_name(mut self, value: impl Into>) -> Self {
         self._fields.6 = value.into();
@@ -7854,10 +7867,7 @@ impl<
     }
 }
 
-impl<
-    S: BosStr,
-    St: org_profile_detail_view_state::State,
-> OrgProfileDetailViewBuilder {
+impl OrgProfileDetailViewBuilder {
     /// Set the `foundedAt` field (optional)
     pub fn founded_at(mut self, value: impl Into>) -> Self {
         self._fields.7 = value.into();
@@ -7870,10 +7880,7 @@ impl<
     }
 }
 
-impl<
-    S: BosStr,
-    St: org_profile_detail_view_state::State,
-> OrgProfileDetailViewBuilder {
+impl OrgProfileDetailViewBuilder {
     /// Set the `media` field (optional)
     pub fn media(
         mut self,
@@ -7892,10 +7899,7 @@ impl<
     }
 }
 
-impl<
-    S: BosStr,
-    St: org_profile_detail_view_state::State,
-> OrgProfileDetailViewBuilder {
+impl OrgProfileDetailViewBuilder {
     /// Set the `parent` field (optional)
     pub fn parent(mut self, value: impl Into>>) -> Self {
         self._fields.9 = value.into();
@@ -7908,15 +7912,9 @@ impl<
     }
 }
 
-impl<
-    S: BosStr,
-    St: org_profile_detail_view_state::State,
-> OrgProfileDetailViewBuilder {
+impl OrgProfileDetailViewBuilder {
     /// Set the `status` field (optional)
-    pub fn status(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn status(mut self, value: impl Into>>) -> Self {
         self._fields.10 = value.into();
         self
     }
@@ -7946,10 +7944,7 @@ where
     }
 }
 
-impl<
-    S: BosStr,
-    St: org_profile_detail_view_state::State,
-> OrgProfileDetailViewBuilder {
+impl OrgProfileDetailViewBuilder {
     /// Set the `websites` field (optional)
     pub fn websites(
         mut self,
@@ -8019,7 +8014,7 @@ where
 
 pub mod org_profile_summary_view_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -8062,21 +8057,20 @@ pub mod org_profile_summary_view_state {
 }
 
 /// Builder for constructing an instance of this type.
-pub struct OrgProfileSummaryViewBuilder<
-    S: BosStr,
-    St: org_profile_summary_view_state::State,
-> {
+pub struct OrgProfileSummaryViewBuilder {
     _state: PhantomData St>,
-    _fields: (Option>, Option>, Option, Option>),
+    _fields: (
+        Option>,
+        Option>,
+        Option,
+        Option>,
+    ),
     _type: PhantomData S>,
 }
 
 impl OrgProfileSummaryView {
     /// Create a new builder for this type.
-    pub fn new() -> OrgProfileSummaryViewBuilder<
-        S,
-        org_profile_summary_view_state::Empty,
-    > {
+    pub fn new() -> OrgProfileSummaryViewBuilder {
         OrgProfileSummaryViewBuilder::new()
     }
 }
@@ -8092,10 +8086,7 @@ impl OrgProfileSummaryViewBuilder OrgProfileSummaryViewBuilder {
+impl OrgProfileSummaryViewBuilder {
     /// Set the `avatar` field (optional)
     pub fn avatar(mut self, value: impl Into>>) -> Self {
         self._fields.0 = value.into();
@@ -8127,10 +8118,7 @@ where
     }
 }
 
-impl<
-    S: BosStr,
-    St: org_profile_summary_view_state::State,
-> OrgProfileSummaryViewBuilder {
+impl OrgProfileSummaryViewBuilder {
     /// Set the `displayName` field (optional)
     pub fn display_name(mut self, value: impl Into>) -> Self {
         self._fields.2 = value.into();
@@ -8195,7 +8183,7 @@ where
 
 pub mod platform_features_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -8315,10 +8303,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> PlatformFeatures {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> PlatformFeatures {
         PlatformFeatures {
             features: self._fields.0.unwrap(),
             platform: self._fields.1.unwrap(),
@@ -8329,7 +8314,7 @@ where
 
 pub mod platform_summary_view_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -8372,10 +8357,7 @@ pub mod platform_summary_view_state {
 }
 
 /// Builder for constructing an instance of this type.
-pub struct PlatformSummaryViewBuilder<
-    S: BosStr,
-    St: platform_summary_view_state::State,
-> {
+pub struct PlatformSummaryViewBuilder {
     _state: PhantomData St>,
     _fields: (
         Option,
@@ -8405,10 +8387,7 @@ impl PlatformSummaryViewBuilder PlatformSummaryViewBuilder {
+impl PlatformSummaryViewBuilder {
     /// Set the `abbreviation` field (optional)
     pub fn abbreviation(mut self, value: impl Into>) -> Self {
         self._fields.0 = value.into();
@@ -8421,10 +8400,7 @@ impl<
     }
 }
 
-impl<
-    S: BosStr,
-    St: platform_summary_view_state::State,
-> PlatformSummaryViewBuilder {
+impl PlatformSummaryViewBuilder {
     /// Set the `category` field (optional)
     pub fn category(
         mut self,
@@ -8462,10 +8438,7 @@ where
     }
 }
 
-impl<
-    S: BosStr,
-    St: platform_summary_view_state::State,
-> PlatformSummaryViewBuilder {
+impl PlatformSummaryViewBuilder {
     /// Set the `slug` field (optional)
     pub fn slug(mut self, value: impl Into>) -> Self {
         self._fields.3 = value.into();
@@ -8515,10 +8488,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> PlatformSummaryView {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> PlatformSummaryView {
         PlatformSummaryView {
             abbreviation: self._fields.0,
             category: self._fields.1,
@@ -8532,7 +8502,7 @@ where
 
 pub mod profile_summary_view_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -8721,10 +8691,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> ProfileSummaryView {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> ProfileSummaryView {
         ProfileSummaryView {
             avatar: self._fields.0,
             did: self._fields.1.unwrap(),
@@ -8738,7 +8705,7 @@ where
 
 pub mod skeleton_game_feed_item_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -8769,10 +8736,7 @@ pub mod skeleton_game_feed_item_state {
 }
 
 /// Builder for constructing an instance of this type.
-pub struct SkeletonGameFeedItemBuilder<
-    S: BosStr,
-    St: skeleton_game_feed_item_state::State,
-> {
+pub struct SkeletonGameFeedItemBuilder {
     _state: PhantomData St>,
     _fields: (Option, Option>),
     _type: PhantomData S>,
@@ -8780,10 +8744,7 @@ pub struct SkeletonGameFeedItemBuilder<
 
 impl SkeletonGameFeedItem {
     /// Create a new builder for this type.
-    pub fn new() -> SkeletonGameFeedItemBuilder<
-        S,
-        skeleton_game_feed_item_state::Empty,
-    > {
+    pub fn new() -> SkeletonGameFeedItemBuilder {
         SkeletonGameFeedItemBuilder::new()
     }
 }
@@ -8799,10 +8760,7 @@ impl SkeletonGameFeedItemBuilder SkeletonGameFeedItemBuilder {
+impl SkeletonGameFeedItemBuilder {
     /// Set the `feedContext` field (optional)
     pub fn feed_context(mut self, value: impl Into>) -> Self {
         self._fields.0 = value.into();
@@ -8862,7 +8820,7 @@ where
 
 pub mod website_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -8970,4 +8928,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/games_gamesgamesgamesgames/actor.rs b/crates/jacquard-api/src/games_gamesgamesgamesgames/actor.rs
index ae07a42d..8cd20eda 100644
--- a/crates/jacquard-api/src/games_gamesgamesgamesgames/actor.rs
+++ b/crates/jacquard-api/src/games_gamesgamesgamesgames/actor.rs
@@ -8,4 +8,4 @@ pub mod credit;
 pub mod game;
 pub mod get_profile;
 pub mod profile;
-pub mod put_profile;
\ No newline at end of file
+pub mod put_profile;
diff --git a/crates/jacquard-api/src/games_gamesgamesgamesgames/actor/create_profile.rs b/crates/jacquard-api/src/games_gamesgamesgamesgames/actor/create_profile.rs
index 344b7bd1..bcc3951d 100644
--- a/crates/jacquard-api/src/games_gamesgamesgamesgames/actor/create_profile.rs
+++ b/crates/jacquard-api/src/games_gamesgamesgamesgames/actor/create_profile.rs
@@ -8,20 +8,23 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::app_bsky::richtext::facet::Facet;
+use crate::games_gamesgamesgamesgames::Website;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::blob::BlobRef;
 use jacquard_common::types::string::{AtUri, Datetime};
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::app_bsky::richtext::facet::Facet;
-use crate::games_gamesgamesgamesgames::Website;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct CreateProfile {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub avatar: Option>,
@@ -42,9 +45,11 @@ pub struct CreateProfile {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct CreateProfileOutput {
     pub cid: S,
     pub uri: AtUri,
@@ -63,9 +68,8 @@ impl jacquard_common::xrpc::XrpcResp for CreateProfileResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for CreateProfile {
     const NSID: &'static str = "games.gamesgamesgamesgames.actor.createProfile";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = CreateProfileResponse;
 }
 
@@ -73,9 +77,8 @@ impl jacquard_common::xrpc::XrpcRequest for CreateProfile {
 pub struct CreateProfileRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for CreateProfileRequest {
     const PATH: &'static str = "/xrpc/games.gamesgamesgamesgames.actor.createProfile";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = CreateProfile;
     type Response = CreateProfileResponse;
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/games_gamesgamesgamesgames/actor/credit.rs b/crates/jacquard-api/src/games_gamesgamesgamesgames/actor/credit.rs
index a9881537..5e4bf9bd 100644
--- a/crates/jacquard-api/src/games_gamesgamesgamesgames/actor/credit.rs
+++ b/crates/jacquard-api/src/games_gamesgamesgamesgames/actor/credit.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,11 +24,11 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::com_atproto::repo::strong_ref::StrongRef;
 use crate::games_gamesgamesgamesgames::CreditEntry;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// A relationship between a game and a profile.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -123,7 +123,7 @@ impl LexiconSchema for Credit {
 
 pub mod credit_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -288,10 +288,10 @@ where
 }
 
 fn lexicon_doc_games_gamesgamesgamesgames_actor_credit() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("games.gamesgamesgamesgames.actor.credit"),
@@ -369,4 +369,4 @@ fn lexicon_doc_games_gamesgamesgamesgames_actor_credit() -> LexiconDoc<'static>
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/games_gamesgamesgamesgames/actor/game.rs b/crates/jacquard-api/src/games_gamesgamesgamesgames/actor/game.rs
index bcad9925..0145d2fa 100644
--- a/crates/jacquard-api/src/games_gamesgamesgamesgames/actor/game.rs
+++ b/crates/jacquard-api/src/games_gamesgamesgamesgames/actor/game.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,15 +24,18 @@ use jacquard_derive::{IntoStatic, lexicon, open_union};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::com_atproto::repo::strong_ref::StrongRef;
 use crate::games_gamesgamesgamesgames::actor::game;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// Reference to a game, either by AT URI or external platform ID.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GameRef {
     ///External platform's ID for the game.
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -172,7 +175,6 @@ where
     }
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -256,10 +258,10 @@ impl LexiconSchema for Game {
 }
 
 fn lexicon_doc_games_gamesgamesgamesgames_actor_game() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("games.gamesgamesgamesgames.actor.game"),
@@ -268,38 +270,34 @@ fn lexicon_doc_games_gamesgamesgamesgames_actor_game() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("gameRef"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static(
-                            "Reference to a game, either by AT URI or external platform ID.",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Reference to a game, either by AT URI or external platform ID.",
+                    )),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("externalId"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("External platform's ID for the game."),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "External platform's ID for the game.",
+                                )),
                                 ..Default::default()
                             }),
                         );
                         map.insert(
                             SmolStr::new_static("platform"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("External platform for ID lookup."),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "External platform for ID lookup.",
+                                )),
                                 ..Default::default()
                             }),
                         );
                         map.insert(
                             SmolStr::new_static("uri"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("AT URI of the game record."),
-                                ),
+                                description: Some(CowStr::new_static("AT URI of the game record.")),
                                 format: Some(LexStringFormat::AtUri),
                                 ..Default::default()
                             }),
@@ -387,7 +385,7 @@ fn lexicon_doc_games_gamesgamesgamesgames_actor_game() -> LexiconDoc<'static> {
 
 pub mod game_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -532,18 +530,12 @@ where
 
 impl GameBuilder {
     /// Set the `signatures` field (optional)
-    pub fn signatures(
-        mut self,
-        value: impl Into>>>,
-    ) -> Self {
+    pub fn signatures(mut self, value: impl Into>>>) -> Self {
         self._fields.3 = value.into();
         self
     }
     /// Set the `signatures` field to an Option value (optional)
-    pub fn maybe_signatures(
-        mut self,
-        value: Option>>,
-    ) -> Self {
+    pub fn maybe_signatures(mut self, value: Option>>) -> Self {
         self._fields.3 = value;
         self
     }
@@ -576,4 +568,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/games_gamesgamesgamesgames/actor/get_profile.rs b/crates/jacquard-api/src/games_gamesgamesgamesgames/actor/get_profile.rs
index 6260adfa..a81b3b1b 100644
--- a/crates/jacquard-api/src/games_gamesgamesgamesgames/actor/get_profile.rs
+++ b/crates/jacquard-api/src/games_gamesgamesgamesgames/actor/get_profile.rs
@@ -8,17 +8,20 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::games_gamesgamesgamesgames::ActorProfileDetailView;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::games_gamesgamesgamesgames::ActorProfileDetailView;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetProfileOutput {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub profile: Option>,
@@ -52,4 +55,4 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetProfileRequest {
     const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Query;
     type Request = GetProfile;
     type Response = GetProfileResponse;
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/games_gamesgamesgamesgames/actor/profile.rs b/crates/jacquard-api/src/games_gamesgamesgamesgames/actor/profile.rs
index b37127e5..c9050725 100644
--- a/crates/jacquard-api/src/games_gamesgamesgamesgames/actor/profile.rs
+++ b/crates/jacquard-api/src/games_gamesgamesgamesgames/actor/profile.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -25,11 +25,11 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::app_bsky::richtext::facet::Facet;
 use crate::games_gamesgamesgamesgames::Website;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// A declaration of a Pentaract actor profile.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -131,25 +131,20 @@ impl LexiconSchema for Profile {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["image/png", "image/jpeg"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("avatar"),
-                        accepted: vec![
-                            "image/png".to_string(), "image/jpeg".to_string()
-                        ],
+                        accepted: vec!["image/png".to_string(), "image/jpeg".to_string()],
                         actual: mime.to_string(),
                     });
                 }
@@ -192,7 +187,7 @@ impl LexiconSchema for Profile {
 
 pub mod profile_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -314,10 +309,7 @@ impl ProfileBuilder {
 
 impl ProfileBuilder {
     /// Set the `descriptionFacets` field (optional)
-    pub fn description_facets(
-        mut self,
-        value: impl Into>>>,
-    ) -> Self {
+    pub fn description_facets(mut self, value: impl Into>>>) -> Self {
         self._fields.3 = value.into();
         self
     }
@@ -408,10 +400,10 @@ where
 }
 
 fn lexicon_doc_games_gamesgamesgamesgames_actor_profile() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("games.gamesgamesgamesgames.actor.profile"),
@@ -420,23 +412,23 @@ fn lexicon_doc_games_gamesgamesgamesgames_actor_profile() -> LexiconDoc<'static>
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static("A declaration of a Pentaract actor profile."),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "A declaration of a Pentaract actor profile.",
+                    )),
                     key: Some(CowStr::new_static("literal:self")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("displayName"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("displayName"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
                             map.insert(
                                 SmolStr::new_static("avatar"),
-                                LexObjectProperty::Blob(LexBlob { ..Default::default() }),
+                                LexObjectProperty::Blob(LexBlob {
+                                    ..Default::default()
+                                }),
                             );
                             map.insert(
                                 SmolStr::new_static("createdAt"),
@@ -448,9 +440,9 @@ fn lexicon_doc_games_gamesgamesgamesgames_actor_profile() -> LexiconDoc<'static>
                             map.insert(
                                 SmolStr::new_static("description"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("Free-form profile description text."),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Free-form profile description text.",
+                                    )),
                                     max_length: Some(3000usize),
                                     ..Default::default()
                                 }),
@@ -458,11 +450,9 @@ fn lexicon_doc_games_gamesgamesgamesgames_actor_profile() -> LexiconDoc<'static>
                             map.insert(
                                 SmolStr::new_static("descriptionFacets"),
                                 LexObjectProperty::Array(LexArray {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "Annotations of text (mentions, URLs, hashtags, etc)",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Annotations of text (mentions, URLs, hashtags, etc)",
+                                    )),
                                     items: LexArrayItem::Ref(LexRef {
                                         r#ref: CowStr::new_static("app.bsky.richtext.facet"),
                                         ..Default::default()
@@ -480,9 +470,9 @@ fn lexicon_doc_games_gamesgamesgamesgames_actor_profile() -> LexiconDoc<'static>
                             map.insert(
                                 SmolStr::new_static("pronouns"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("Free-form pronouns text."),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Free-form pronouns text.",
+                                    )),
                                     max_length: Some(200usize),
                                     ..Default::default()
                                 }),
@@ -510,4 +500,4 @@ fn lexicon_doc_games_gamesgamesgamesgames_actor_profile() -> LexiconDoc<'static>
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/games_gamesgamesgamesgames/actor/put_profile.rs b/crates/jacquard-api/src/games_gamesgamesgamesgames/actor/put_profile.rs
index bf901a89..6c69dac5 100644
--- a/crates/jacquard-api/src/games_gamesgamesgamesgames/actor/put_profile.rs
+++ b/crates/jacquard-api/src/games_gamesgamesgamesgames/actor/put_profile.rs
@@ -8,20 +8,23 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::app_bsky::richtext::facet::Facet;
+use crate::games_gamesgamesgamesgames::Website;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::blob::BlobRef;
 use jacquard_common::types::string::{AtUri, Datetime};
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::app_bsky::richtext::facet::Facet;
-use crate::games_gamesgamesgamesgames::Website;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct PutProfile {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub avatar: Option>,
@@ -42,9 +45,11 @@ pub struct PutProfile {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct PutProfileOutput {
     pub cid: S,
     pub uri: AtUri,
@@ -63,9 +68,8 @@ impl jacquard_common::xrpc::XrpcResp for PutProfileResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for PutProfile {
     const NSID: &'static str = "games.gamesgamesgamesgames.actor.putProfile";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = PutProfileResponse;
 }
 
@@ -73,9 +77,8 @@ impl jacquard_common::xrpc::XrpcRequest for PutProfile {
 pub struct PutProfileRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for PutProfileRequest {
     const PATH: &'static str = "/xrpc/games.gamesgamesgamesgames.actor.putProfile";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = PutProfile;
     type Response = PutProfileResponse;
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/games_gamesgamesgamesgames/claim.rs b/crates/jacquard-api/src/games_gamesgamesgamesgames/claim.rs
index 287d0523..fc89ee3a 100644
--- a/crates/jacquard-api/src/games_gamesgamesgamesgames/claim.rs
+++ b/crates/jacquard-api/src/games_gamesgamesgamesgames/claim.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// A claim for ownership of game or organization records.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -52,7 +52,6 @@ pub struct Claim {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Debug, Clone, PartialEq, Eq, Hash)]
 pub enum ClaimType {
     Game,
@@ -215,7 +214,7 @@ impl LexiconSchema for Claim {
 
 pub mod claim_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -412,10 +411,10 @@ where
 }
 
 fn lexicon_doc_games_gamesgamesgamesgames_claim() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("games.gamesgamesgamesgames.claim"),
@@ -500,4 +499,4 @@ fn lexicon_doc_games_gamesgamesgamesgames_claim() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/games_gamesgamesgamesgames/claim_review.rs b/crates/jacquard-api/src/games_gamesgamesgamesgames/claim_review.rs
index a4edbb9b..aa527f1e 100644
--- a/crates/jacquard-api/src/games_gamesgamesgamesgames/claim_review.rs
+++ b/crates/jacquard-api/src/games_gamesgamesgamesgames/claim_review.rs
@@ -10,13 +10,13 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::collection::{Collection, RecordError};
-use jacquard_common::types::string::{Did, AtUri, Cid, Datetime};
+use jacquard_common::types::string::{AtUri, Cid, Datetime, Did};
 use jacquard_common::types::uri::{RecordUri, UriError};
 use jacquard_common::types::value::Data;
 use jacquard_common::xrpc::XrpcResp;
@@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::com_atproto::repo::strong_ref::StrongRef;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::com_atproto::repo::strong_ref::StrongRef;
+use serde::{Deserialize, Serialize};
 /// A review of a claim for ownership of game or organization records.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -50,7 +50,6 @@ pub struct ClaimReview {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Debug, Clone, PartialEq, Eq, Hash)]
 pub enum ClaimReviewStatus {
     Approved,
@@ -201,7 +200,7 @@ impl LexiconSchema for ClaimReview {
 
 pub mod claim_review_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -428,10 +427,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> ClaimReview {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> ClaimReview {
         ClaimReview {
             approved_games: self._fields.0,
             claim: self._fields.1.unwrap(),
@@ -445,10 +441,10 @@ where
 }
 
 fn lexicon_doc_games_gamesgamesgamesgames_claimReview() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("games.gamesgamesgamesgames.claimReview"),
@@ -457,20 +453,17 @@ fn lexicon_doc_games_gamesgamesgamesgames_claimReview() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static(
-                            "A review of a claim for ownership of game or organization records.",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "A review of a claim for ownership of game or organization records.",
+                    )),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("claim"), SmolStr::new_static("status"),
-                                SmolStr::new_static("reviewedBy"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("claim"),
+                            SmolStr::new_static("status"),
+                            SmolStr::new_static("reviewedBy"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -529,4 +522,4 @@ fn lexicon_doc_games_gamesgamesgamesgames_claimReview() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/games_gamesgamesgamesgames/collection.rs b/crates/jacquard-api/src/games_gamesgamesgamesgames/collection.rs
index 85957a5a..66cf9950 100644
--- a/crates/jacquard-api/src/games_gamesgamesgamesgames/collection.rs
+++ b/crates/jacquard-api/src/games_gamesgamesgamesgames/collection.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,11 +24,11 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::games_gamesgamesgamesgames::MediaItem;
 use crate::games_gamesgamesgamesgames::Website;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// A grouping of games — franchise, series, or curated list.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -57,7 +57,6 @@ pub struct Collection {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Debug, Clone, PartialEq, Eq, Hash)]
 pub enum CollectionType {
     Franchise,
@@ -200,7 +199,7 @@ impl LexiconSchema for Collection {
 
 pub mod collection_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -413,10 +412,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> Collection {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> Collection {
         Collection {
             created_at: self._fields.0.unwrap(),
             description: self._fields.1,
@@ -432,10 +428,10 @@ where
 }
 
 fn lexicon_doc_games_gamesgamesgamesgames_collection() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("games.gamesgamesgamesgames.collection"),
@@ -444,19 +440,15 @@ fn lexicon_doc_games_gamesgamesgamesgames_collection() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static(
-                            "A grouping of games — franchise, series, or curated list.",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "A grouping of games — franchise, series, or curated list.",
+                    )),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("name"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("name"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -537,4 +529,4 @@ fn lexicon_doc_games_gamesgamesgamesgames_collection() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/games_gamesgamesgamesgames/create_claim.rs b/crates/jacquard-api/src/games_gamesgamesgamesgames/create_claim.rs
index 921b8f79..62fe959e 100644
--- a/crates/jacquard-api/src/games_gamesgamesgamesgames/create_claim.rs
+++ b/crates/jacquard-api/src/games_gamesgamesgamesgames/create_claim.rs
@@ -10,15 +10,18 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::AtUri;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct CreateClaim {
     pub contact: S,
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -32,9 +35,11 @@ pub struct CreateClaim {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct CreateClaimOutput {
     pub uri: AtUri,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
@@ -52,9 +57,8 @@ impl jacquard_common::xrpc::XrpcResp for CreateClaimResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for CreateClaim {
     const NSID: &'static str = "games.gamesgamesgamesgames.createClaim";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = CreateClaimResponse;
 }
 
@@ -62,9 +66,8 @@ impl jacquard_common::xrpc::XrpcRequest for CreateClaim {
 pub struct CreateClaimRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for CreateClaimRequest {
     const PATH: &'static str = "/xrpc/games.gamesgamesgamesgames.createClaim";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = CreateClaim;
     type Response = CreateClaimResponse;
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/games_gamesgamesgamesgames/create_game.rs b/crates/jacquard-api/src/games_gamesgamesgamesgames/create_game.rs
index d30f3043..b221800a 100644
--- a/crates/jacquard-api/src/games_gamesgamesgamesgames/create_game.rs
+++ b/crates/jacquard-api/src/games_gamesgamesgamesgames/create_game.rs
@@ -8,14 +8,6 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
-#[allow(unused_imports)]
-use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
-use jacquard_common::deps::smol_str::SmolStr;
-use jacquard_common::types::string::AtUri;
-use jacquard_common::types::value::Data;
-use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
 use crate::games_gamesgamesgamesgames::AgeRating;
 use crate::games_gamesgamesgamesgames::AlternativeName;
 use crate::games_gamesgamesgamesgames::ApplicationType;
@@ -30,9 +22,20 @@ use crate::games_gamesgamesgamesgames::Release;
 use crate::games_gamesgamesgamesgames::Theme;
 use crate::games_gamesgamesgamesgames::TimeToBeat;
 use crate::games_gamesgamesgamesgames::Website;
+#[allow(unused_imports)]
+use core::marker::PhantomData;
+use jacquard_common::deps::smol_str::SmolStr;
+use jacquard_common::types::string::AtUri;
+use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
+use jacquard_derive::IntoStatic;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct CreateGame {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub age_ratings: Option>>,
@@ -82,9 +85,11 @@ pub struct CreateGame {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct CreateGameOutput {
     pub cid: S,
     pub uri: AtUri,
@@ -103,9 +108,8 @@ impl jacquard_common::xrpc::XrpcResp for CreateGameResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for CreateGame {
     const NSID: &'static str = "games.gamesgamesgamesgames.createGame";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = CreateGameResponse;
 }
 
@@ -113,9 +117,8 @@ impl jacquard_common::xrpc::XrpcRequest for CreateGame {
 pub struct CreateGameRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for CreateGameRequest {
     const PATH: &'static str = "/xrpc/games.gamesgamesgamesgames.createGame";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = CreateGame;
     type Response = CreateGameResponse;
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/games_gamesgamesgamesgames/engine.rs b/crates/jacquard-api/src/games_gamesgamesgamesgames/engine.rs
index daaaf825..adc4d682 100644
--- a/crates/jacquard-api/src/games_gamesgamesgamesgames/engine.rs
+++ b/crates/jacquard-api/src/games_gamesgamesgamesgames/engine.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,11 +24,11 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::games_gamesgamesgamesgames::MediaItem;
 use crate::games_gamesgamesgamesgames::Website;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// A game engine.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -116,7 +116,7 @@ impl LexiconSchema for Engine {
 
 pub mod engine_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -255,10 +255,7 @@ where
     St::Name: engine_state::IsUnset,
 {
     /// Set the `name` field (required)
-    pub fn name(
-        mut self,
-        value: impl Into,
-    ) -> EngineBuilder> {
+    pub fn name(mut self, value: impl Into) -> EngineBuilder> {
         self._fields.4 = Option::Some(value.into());
         EngineBuilder {
             _state: PhantomData,
@@ -329,10 +326,10 @@ where
 }
 
 fn lexicon_doc_games_gamesgamesgamesgames_engine() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("games.gamesgamesgamesgames.engine"),
@@ -344,12 +341,10 @@ fn lexicon_doc_games_gamesgamesgamesgames_engine() -> LexiconDoc<'static> {
                     description: Some(CowStr::new_static("A game engine.")),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("name"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("name"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -427,4 +422,4 @@ fn lexicon_doc_games_gamesgamesgamesgames_engine() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/games_gamesgamesgamesgames/feed.rs b/crates/jacquard-api/src/games_gamesgamesgamesgames/feed.rs
index b6821a6d..d2340cfd 100644
--- a/crates/jacquard-api/src/games_gamesgamesgamesgames/feed.rs
+++ b/crates/jacquard-api/src/games_gamesgamesgamesgames/feed.rs
@@ -12,4 +12,4 @@ pub mod get_likes_feed;
 pub mod get_personalized_feed;
 pub mod get_recently_updated_feed;
 pub mod get_similar_games_feed;
-pub mod get_upcoming_releases_feed;
\ No newline at end of file
+pub mod get_upcoming_releases_feed;
diff --git a/crates/jacquard-api/src/games_gamesgamesgamesgames/feed/describe_feed_generator.rs b/crates/jacquard-api/src/games_gamesgamesgamesgames/feed/describe_feed_generator.rs
index 8e7f45df..982a46f5 100644
--- a/crates/jacquard-api/src/games_gamesgamesgamesgames/feed/describe_feed_generator.rs
+++ b/crates/jacquard-api/src/games_gamesgamesgamesgames/feed/describe_feed_generator.rs
@@ -10,33 +10,38 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
 use jacquard_common::deps::smol_str::SmolStr;
-use jacquard_common::types::string::{Did, AtUri};
+use jacquard_common::types::string::{AtUri, Did};
 use jacquard_common::types::value::Data;
 use jacquard_derive::IntoStatic;
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::games_gamesgamesgamesgames::feed::describe_feed_generator;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::games_gamesgamesgamesgames::feed::describe_feed_generator;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Feed {
     pub uri: AtUri,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Links {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub privacy_policy: Option,
@@ -46,9 +51,11 @@ pub struct Links {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct DescribeFeedGeneratorOutput {
     pub did: Did,
     pub feeds: Vec>,
@@ -118,7 +125,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for DescribeFeedGeneratorRequest {
 
 pub mod feed_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -179,10 +186,7 @@ where
     St::Uri: feed_state::IsUnset,
 {
     /// Set the `uri` field (required)
-    pub fn uri(
-        mut self,
-        value: impl Into>,
-    ) -> FeedBuilder> {
+    pub fn uri(mut self, value: impl Into>) -> FeedBuilder> {
         self._fields.0 = Option::Some(value.into());
         FeedBuilder {
             _state: PhantomData,
@@ -213,13 +217,11 @@ where
     }
 }
 
-fn lexicon_doc_games_gamesgamesgamesgames_feed_describeFeedGenerator() -> LexiconDoc<
-    'static,
-> {
+fn lexicon_doc_games_gamesgamesgamesgames_feed_describeFeedGenerator() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("games.gamesgamesgamesgames.feed.describeFeedGenerator"),
@@ -252,11 +254,15 @@ fn lexicon_doc_games_gamesgamesgamesgames_feed_describeFeedGenerator() -> Lexico
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("privacyPolicy"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("termsOfService"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map
                     },
@@ -274,4 +280,4 @@ fn lexicon_doc_games_gamesgamesgamesgames_feed_describeFeedGenerator() -> Lexico
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/games_gamesgamesgamesgames/feed/generator.rs b/crates/jacquard-api/src/games_gamesgamesgamesgames/feed/generator.rs
index 955c093c..68026415 100644
--- a/crates/jacquard-api/src/games_gamesgamesgamesgames/feed/generator.rs
+++ b/crates/jacquard-api/src/games_gamesgamesgamesgames/feed/generator.rs
@@ -10,14 +10,14 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::blob::BlobRef;
 use jacquard_common::types::collection::{Collection, RecordError};
-use jacquard_common::types::string::{Did, AtUri, Cid, Datetime};
+use jacquard_common::types::string::{AtUri, Cid, Datetime, Did};
 use jacquard_common::types::uri::{RecordUri, UriError};
 use jacquard_common::types::value::Data;
 use jacquard_common::xrpc::XrpcResp;
@@ -27,7 +27,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// Record declaring a game feed generator. Can exist in any repository.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -122,25 +122,20 @@ impl LexiconSchema for Generator {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["image/png", "image/jpeg"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("avatar"),
-                        accepted: vec![
-                            "image/png".to_string(), "image/jpeg".to_string()
-                        ],
+                        accepted: vec!["image/png".to_string(), "image/jpeg".to_string()],
                         actual: mime.to_string(),
                     });
                 }
@@ -198,7 +193,7 @@ impl LexiconSchema for Generator {
 
 pub mod generator_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -402,10 +397,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> Generator {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> Generator {
         Generator {
             accepts_interactions: self._fields.0,
             avatar: self._fields.1,
@@ -419,10 +411,10 @@ where
 }
 
 fn lexicon_doc_games_gamesgamesgamesgames_feed_generator() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("games.gamesgamesgamesgames.feed.generator"),
@@ -431,20 +423,16 @@ fn lexicon_doc_games_gamesgamesgamesgames_feed_generator() -> LexiconDoc<'static
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static(
-                            "Record declaring a game feed generator. Can exist in any repository.",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Record declaring a game feed generator. Can exist in any repository.",
+                    )),
                     key: Some(CowStr::new_static("any")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("did"),
-                                SmolStr::new_static("displayName"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("did"),
+                            SmolStr::new_static("displayName"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -456,7 +444,9 @@ fn lexicon_doc_games_gamesgamesgamesgames_feed_generator() -> LexiconDoc<'static
                             );
                             map.insert(
                                 SmolStr::new_static("avatar"),
-                                LexObjectProperty::Blob(LexBlob { ..Default::default() }),
+                                LexObjectProperty::Blob(LexBlob {
+                                    ..Default::default()
+                                }),
                             );
                             map.insert(
                                 SmolStr::new_static("createdAt"),
@@ -499,4 +489,4 @@ fn lexicon_doc_games_gamesgamesgamesgames_feed_generator() -> LexiconDoc<'static
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/games_gamesgamesgamesgames/feed/get_feed_skeleton.rs b/crates/jacquard-api/src/games_gamesgamesgamesgames/feed/get_feed_skeleton.rs
index 1764c1d6..00ddc3d9 100644
--- a/crates/jacquard-api/src/games_gamesgamesgamesgames/feed/get_feed_skeleton.rs
+++ b/crates/jacquard-api/src/games_gamesgamesgamesgames/feed/get_feed_skeleton.rs
@@ -8,18 +8,21 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::games_gamesgamesgamesgames::SkeletonGameFeedItem;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::AtUri;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::{IntoStatic, open_union};
-use serde::{Serialize, Deserialize};
-use crate::games_gamesgamesgamesgames::SkeletonGameFeedItem;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetFeedSkeleton {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub cursor: Option,
@@ -30,9 +33,11 @@ pub struct GetFeedSkeleton {
     pub limit: Option,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetFeedSkeletonOutput {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub cursor: Option,
@@ -41,25 +46,19 @@ pub struct GetFeedSkeletonOutput {
     pub extra_data: Option>>,
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum GetFeedSkeletonError {
     #[serde(rename = "UnknownFeed")]
     UnknownFeed(Option),
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for GetFeedSkeletonError {
@@ -113,7 +112,7 @@ fn _default_limit() -> Option {
 
 pub mod get_feed_skeleton_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -226,4 +225,4 @@ where
             limit: self._fields.2,
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/games_gamesgamesgamesgames/feed/get_game_feed.rs b/crates/jacquard-api/src/games_gamesgamesgamesgames/feed/get_game_feed.rs
index ec28eef0..979ec050 100644
--- a/crates/jacquard-api/src/games_gamesgamesgamesgames/feed/get_game_feed.rs
+++ b/crates/jacquard-api/src/games_gamesgamesgamesgames/feed/get_game_feed.rs
@@ -8,18 +8,21 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::games_gamesgamesgamesgames::GameFeedViewItem;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::AtUri;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::{IntoStatic, open_union};
-use serde::{Serialize, Deserialize};
-use crate::games_gamesgamesgamesgames::GameFeedViewItem;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetGameFeed {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub cursor: Option,
@@ -30,9 +33,11 @@ pub struct GetGameFeed {
     pub limit: Option,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetGameFeedOutput {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub cursor: Option,
@@ -41,25 +46,19 @@ pub struct GetGameFeedOutput {
     pub extra_data: Option>>,
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum GetGameFeedError {
     #[serde(rename = "UnknownFeed")]
     UnknownFeed(Option),
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for GetGameFeedError {
@@ -113,7 +112,7 @@ fn _default_limit() -> Option {
 
 pub mod get_game_feed_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -226,4 +225,4 @@ where
             limit: self._fields.2,
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/games_gamesgamesgamesgames/feed/get_hot_games_feed.rs b/crates/jacquard-api/src/games_gamesgamesgamesgames/feed/get_hot_games_feed.rs
index 40013408..982128e1 100644
--- a/crates/jacquard-api/src/games_gamesgamesgamesgames/feed/get_hot_games_feed.rs
+++ b/crates/jacquard-api/src/games_gamesgamesgamesgames/feed/get_hot_games_feed.rs
@@ -8,17 +8,20 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::games_gamesgamesgamesgames::GameFeedViewItem;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::games_gamesgamesgamesgames::GameFeedViewItem;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetHotGamesFeed {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub cursor: Option,
@@ -28,9 +31,11 @@ pub struct GetHotGamesFeed {
     pub limit: Option,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetHotGamesFeedOutput {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub cursor: Option,
@@ -69,7 +74,7 @@ fn _default_limit() -> Option {
 
 pub mod get_hot_games_feed_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -148,4 +153,4 @@ where
             limit: self._fields.1,
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/games_gamesgamesgamesgames/feed/get_likes_feed.rs b/crates/jacquard-api/src/games_gamesgamesgamesgames/feed/get_likes_feed.rs
index ef8b1339..087b836f 100644
--- a/crates/jacquard-api/src/games_gamesgamesgamesgames/feed/get_likes_feed.rs
+++ b/crates/jacquard-api/src/games_gamesgamesgamesgames/feed/get_likes_feed.rs
@@ -8,17 +8,20 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::games_gamesgamesgamesgames::GameFeedViewItem;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::games_gamesgamesgamesgames::GameFeedViewItem;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetLikesFeed {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub cursor: Option,
@@ -29,9 +32,11 @@ pub struct GetLikesFeed {
     pub limit: Option,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetLikesFeedOutput {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub cursor: Option,
@@ -70,7 +75,7 @@ fn _default_limit() -> Option {
 
 pub mod get_likes_feed_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -183,4 +188,4 @@ where
             limit: self._fields.2,
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/games_gamesgamesgamesgames/feed/get_personalized_feed.rs b/crates/jacquard-api/src/games_gamesgamesgamesgames/feed/get_personalized_feed.rs
index 48a3b508..8e80457b 100644
--- a/crates/jacquard-api/src/games_gamesgamesgamesgames/feed/get_personalized_feed.rs
+++ b/crates/jacquard-api/src/games_gamesgamesgamesgames/feed/get_personalized_feed.rs
@@ -8,17 +8,20 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::games_gamesgamesgamesgames::GameFeedViewItem;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::games_gamesgamesgamesgames::GameFeedViewItem;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetPersonalizedFeed {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub cursor: Option,
@@ -28,9 +31,11 @@ pub struct GetPersonalizedFeed {
     pub limit: Option,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetPersonalizedFeedOutput {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub cursor: Option,
@@ -69,7 +74,7 @@ fn _default_limit() -> Option {
 
 pub mod get_personalized_feed_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -87,10 +92,7 @@ pub mod get_personalized_feed_state {
 }
 
 /// Builder for constructing an instance of this type.
-pub struct GetPersonalizedFeedBuilder<
-    S: BosStr,
-    St: get_personalized_feed_state::State,
-> {
+pub struct GetPersonalizedFeedBuilder {
     _state: PhantomData St>,
     _fields: (Option, Option),
     _type: PhantomData S>,
@@ -114,10 +116,7 @@ impl GetPersonalizedFeedBuilder GetPersonalizedFeedBuilder {
+impl GetPersonalizedFeedBuilder {
     /// Set the `cursor` field (optional)
     pub fn cursor(mut self, value: impl Into>) -> Self {
         self._fields.0 = value.into();
@@ -130,10 +129,7 @@ impl<
     }
 }
 
-impl<
-    S: BosStr,
-    St: get_personalized_feed_state::State,
-> GetPersonalizedFeedBuilder {
+impl GetPersonalizedFeedBuilder {
     /// Set the `limit` field (optional)
     pub fn limit(mut self, value: impl Into>) -> Self {
         self._fields.1 = value.into();
@@ -157,4 +153,4 @@ where
             limit: self._fields.1,
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/games_gamesgamesgamesgames/feed/get_recently_updated_feed.rs b/crates/jacquard-api/src/games_gamesgamesgamesgames/feed/get_recently_updated_feed.rs
index 687f5699..93756b9b 100644
--- a/crates/jacquard-api/src/games_gamesgamesgamesgames/feed/get_recently_updated_feed.rs
+++ b/crates/jacquard-api/src/games_gamesgamesgamesgames/feed/get_recently_updated_feed.rs
@@ -8,17 +8,20 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::games_gamesgamesgamesgames::GameFeedViewItem;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::games_gamesgamesgamesgames::GameFeedViewItem;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetRecentlyUpdatedFeed {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub cursor: Option,
@@ -28,9 +31,11 @@ pub struct GetRecentlyUpdatedFeed {
     pub limit: Option,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetRecentlyUpdatedFeedOutput {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub cursor: Option,
@@ -69,7 +74,7 @@ fn _default_limit() -> Option {
 
 pub mod get_recently_updated_feed_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -87,10 +92,7 @@ pub mod get_recently_updated_feed_state {
 }
 
 /// Builder for constructing an instance of this type.
-pub struct GetRecentlyUpdatedFeedBuilder<
-    S: BosStr,
-    St: get_recently_updated_feed_state::State,
-> {
+pub struct GetRecentlyUpdatedFeedBuilder {
     _state: PhantomData St>,
     _fields: (Option, Option),
     _type: PhantomData S>,
@@ -98,17 +100,12 @@ pub struct GetRecentlyUpdatedFeedBuilder<
 
 impl GetRecentlyUpdatedFeed {
     /// Create a new builder for this type.
-    pub fn new() -> GetRecentlyUpdatedFeedBuilder<
-        S,
-        get_recently_updated_feed_state::Empty,
-    > {
+    pub fn new() -> GetRecentlyUpdatedFeedBuilder {
         GetRecentlyUpdatedFeedBuilder::new()
     }
 }
 
-impl<
-    S: BosStr,
-> GetRecentlyUpdatedFeedBuilder {
+impl GetRecentlyUpdatedFeedBuilder {
     /// Create a new builder with all fields unset.
     pub fn new() -> Self {
         GetRecentlyUpdatedFeedBuilder {
@@ -119,10 +116,7 @@ impl<
     }
 }
 
-impl<
-    S: BosStr,
-    St: get_recently_updated_feed_state::State,
-> GetRecentlyUpdatedFeedBuilder {
+impl GetRecentlyUpdatedFeedBuilder {
     /// Set the `cursor` field (optional)
     pub fn cursor(mut self, value: impl Into>) -> Self {
         self._fields.0 = value.into();
@@ -135,10 +129,7 @@ impl<
     }
 }
 
-impl<
-    S: BosStr,
-    St: get_recently_updated_feed_state::State,
-> GetRecentlyUpdatedFeedBuilder {
+impl GetRecentlyUpdatedFeedBuilder {
     /// Set the `limit` field (optional)
     pub fn limit(mut self, value: impl Into>) -> Self {
         self._fields.1 = value.into();
@@ -162,4 +153,4 @@ where
             limit: self._fields.1,
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/games_gamesgamesgamesgames/feed/get_similar_games_feed.rs b/crates/jacquard-api/src/games_gamesgamesgamesgames/feed/get_similar_games_feed.rs
index d71c5549..bb11b5b0 100644
--- a/crates/jacquard-api/src/games_gamesgamesgamesgames/feed/get_similar_games_feed.rs
+++ b/crates/jacquard-api/src/games_gamesgamesgamesgames/feed/get_similar_games_feed.rs
@@ -8,18 +8,21 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::games_gamesgamesgamesgames::GameFeedViewItem;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::AtUri;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::games_gamesgamesgamesgames::GameFeedViewItem;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetSimilarGamesFeed {
     ///Defaults to `5`. Min: 1. Max: 10.
     #[serde(default = "_default_limit")]
@@ -28,9 +31,11 @@ pub struct GetSimilarGamesFeed {
     pub uri: AtUri,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetSimilarGamesFeedOutput {
     pub feed: Vec>,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
@@ -67,7 +72,7 @@ fn _default_limit() -> Option {
 
 pub mod get_similar_games_feed_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -98,10 +103,7 @@ pub mod get_similar_games_feed_state {
 }
 
 /// Builder for constructing an instance of this type.
-pub struct GetSimilarGamesFeedBuilder<
-    S: BosStr,
-    St: get_similar_games_feed_state::State,
-> {
+pub struct GetSimilarGamesFeedBuilder {
     _state: PhantomData St>,
     _fields: (Option, Option>),
     _type: PhantomData S>,
@@ -125,10 +127,7 @@ impl GetSimilarGamesFeedBuilder GetSimilarGamesFeedBuilder {
+impl GetSimilarGamesFeedBuilder {
     /// Set the `limit` field (optional)
     pub fn limit(mut self, value: impl Into>) -> Self {
         self._fields.0 = value.into();
@@ -172,4 +171,4 @@ where
             uri: self._fields.1.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/games_gamesgamesgamesgames/feed/get_upcoming_releases_feed.rs b/crates/jacquard-api/src/games_gamesgamesgamesgames/feed/get_upcoming_releases_feed.rs
index a74a9445..da3a5b24 100644
--- a/crates/jacquard-api/src/games_gamesgamesgamesgames/feed/get_upcoming_releases_feed.rs
+++ b/crates/jacquard-api/src/games_gamesgamesgamesgames/feed/get_upcoming_releases_feed.rs
@@ -8,17 +8,20 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::games_gamesgamesgamesgames::GameFeedViewItem;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::games_gamesgamesgamesgames::GameFeedViewItem;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetUpcomingReleasesFeed {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub cursor: Option,
@@ -28,9 +31,11 @@ pub struct GetUpcomingReleasesFeed {
     pub limit: Option,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetUpcomingReleasesFeedOutput {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub cursor: Option,
@@ -69,7 +74,7 @@ fn _default_limit() -> Option {
 
 pub mod get_upcoming_releases_feed_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -87,10 +92,7 @@ pub mod get_upcoming_releases_feed_state {
 }
 
 /// Builder for constructing an instance of this type.
-pub struct GetUpcomingReleasesFeedBuilder<
-    S: BosStr,
-    St: get_upcoming_releases_feed_state::State,
-> {
+pub struct GetUpcomingReleasesFeedBuilder {
     _state: PhantomData St>,
     _fields: (Option, Option),
     _type: PhantomData S>,
@@ -98,17 +100,12 @@ pub struct GetUpcomingReleasesFeedBuilder<
 
 impl GetUpcomingReleasesFeed {
     /// Create a new builder for this type.
-    pub fn new() -> GetUpcomingReleasesFeedBuilder<
-        S,
-        get_upcoming_releases_feed_state::Empty,
-    > {
+    pub fn new() -> GetUpcomingReleasesFeedBuilder {
         GetUpcomingReleasesFeedBuilder::new()
     }
 }
 
-impl<
-    S: BosStr,
-> GetUpcomingReleasesFeedBuilder {
+impl GetUpcomingReleasesFeedBuilder {
     /// Create a new builder with all fields unset.
     pub fn new() -> Self {
         GetUpcomingReleasesFeedBuilder {
@@ -119,10 +116,7 @@ impl<
     }
 }
 
-impl<
-    S: BosStr,
-    St: get_upcoming_releases_feed_state::State,
-> GetUpcomingReleasesFeedBuilder {
+impl GetUpcomingReleasesFeedBuilder {
     /// Set the `cursor` field (optional)
     pub fn cursor(mut self, value: impl Into>) -> Self {
         self._fields.0 = value.into();
@@ -135,10 +129,7 @@ impl<
     }
 }
 
-impl<
-    S: BosStr,
-    St: get_upcoming_releases_feed_state::State,
-> GetUpcomingReleasesFeedBuilder {
+impl GetUpcomingReleasesFeedBuilder {
     /// Set the `limit` field (optional)
     pub fn limit(mut self, value: impl Into>) -> Self {
         self._fields.1 = value.into();
@@ -162,4 +153,4 @@ where
             limit: self._fields.1,
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/games_gamesgamesgamesgames/game.rs b/crates/jacquard-api/src/games_gamesgamesgamesgames/game.rs
index a06632da..2be8c6e0 100644
--- a/crates/jacquard-api/src/games_gamesgamesgamesgames/game.rs
+++ b/crates/jacquard-api/src/games_gamesgamesgamesgames/game.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,9 +24,6 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::games_gamesgamesgamesgames::AgeRating;
 use crate::games_gamesgamesgamesgames::AlternativeName;
 use crate::games_gamesgamesgamesgames::ApplicationType;
@@ -45,6 +42,9 @@ use crate::games_gamesgamesgamesgames::Theme;
 use crate::games_gamesgamesgamesgames::TimeToBeat;
 use crate::games_gamesgamesgamesgames::Website;
 use crate::games_gamesgamesgamesgames::richtext::facet::Facet;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// A video game.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -177,7 +177,7 @@ impl LexiconSchema for Game {
 
 pub mod game_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -281,33 +281,8 @@ impl GameBuilder {
         GameBuilder {
             _state: PhantomData,
             _fields: (
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
+                None, None, None, None, None, None, None, None, None, None, None, None, None, None,
+                None, None, None, None, None, None, None, None, None, None, None, None, None,
             ),
             _type: PhantomData,
         }
@@ -329,18 +304,12 @@ impl GameBuilder {
 
 impl GameBuilder {
     /// Set the `alternativeNames` field (optional)
-    pub fn alternative_names(
-        mut self,
-        value: impl Into>>>,
-    ) -> Self {
+    pub fn alternative_names(mut self, value: impl Into>>>) -> Self {
         self._fields.1 = value.into();
         self
     }
     /// Set the `alternativeNames` field to an Option value (optional)
-    pub fn maybe_alternative_names(
-        mut self,
-        value: Option>>,
-    ) -> Self {
+    pub fn maybe_alternative_names(mut self, value: Option>>) -> Self {
         self._fields.1 = value;
         self
     }
@@ -399,10 +368,7 @@ impl GameBuilder {
 
 impl GameBuilder {
     /// Set the `descriptionFacets` field (optional)
-    pub fn description_facets(
-        mut self,
-        value: impl Into>>>,
-    ) -> Self {
+    pub fn description_facets(mut self, value: impl Into>>>) -> Self {
         self._fields.5 = value.into();
         self
     }
@@ -467,18 +433,12 @@ impl GameBuilder {
 
 impl GameBuilder {
     /// Set the `languageSupports` field (optional)
-    pub fn language_supports(
-        mut self,
-        value: impl Into>>>,
-    ) -> Self {
+    pub fn language_supports(mut self, value: impl Into>>>) -> Self {
         self._fields.10 = value.into();
         self
     }
     /// Set the `languageSupports` field to an Option value (optional)
-    pub fn maybe_language_supports(
-        mut self,
-        value: Option>>,
-    ) -> Self {
+    pub fn maybe_language_supports(mut self, value: Option>>) -> Self {
         self._fields.10 = value;
         self
     }
@@ -512,18 +472,12 @@ impl GameBuilder {
 
 impl GameBuilder {
     /// Set the `multiplayerModes` field (optional)
-    pub fn multiplayer_modes(
-        mut self,
-        value: impl Into>>>,
-    ) -> Self {
+    pub fn multiplayer_modes(mut self, value: impl Into>>>) -> Self {
         self._fields.13 = value.into();
         self
     }
     /// Set the `multiplayerModes` field to an Option value (optional)
-    pub fn maybe_multiplayer_modes(
-        mut self,
-        value: Option>>,
-    ) -> Self {
+    pub fn maybe_multiplayer_modes(mut self, value: Option>>) -> Self {
         self._fields.13 = value;
         self
     }
@@ -535,10 +489,7 @@ where
     St::Name: game_state::IsUnset,
 {
     /// Set the `name` field (required)
-    pub fn name(
-        mut self,
-        value: impl Into,
-    ) -> GameBuilder> {
+    pub fn name(mut self, value: impl Into) -> GameBuilder> {
         self._fields.14 = Option::Some(value.into());
         GameBuilder {
             _state: PhantomData,
@@ -563,18 +514,12 @@ impl GameBuilder {
 
 impl GameBuilder {
     /// Set the `platformFeatures` field (optional)
-    pub fn platform_features(
-        mut self,
-        value: impl Into>>>,
-    ) -> Self {
+    pub fn platform_features(mut self, value: impl Into>>>) -> Self {
         self._fields.16 = value.into();
         self
     }
     /// Set the `platformFeatures` field to an Option value (optional)
-    pub fn maybe_platform_features(
-        mut self,
-        value: Option>>,
-    ) -> Self {
+    pub fn maybe_platform_features(mut self, value: Option>>) -> Self {
         self._fields.16 = value;
         self
     }
@@ -590,10 +535,7 @@ impl GameBuilder {
         self
     }
     /// Set the `playerPerspectives` field to an Option value (optional)
-    pub fn maybe_player_perspectives(
-        mut self,
-        value: Option>>,
-    ) -> Self {
+    pub fn maybe_player_perspectives(mut self, value: Option>>) -> Self {
         self._fields.17 = value;
         self
     }
@@ -661,10 +603,7 @@ impl GameBuilder {
         self
     }
     /// Set the `systemRequirements` field to an Option value (optional)
-    pub fn maybe_system_requirements(
-        mut self,
-        value: Option>>,
-    ) -> Self {
+    pub fn maybe_system_requirements(mut self, value: Option>>) -> Self {
         self._fields.22 = value;
         self
     }
@@ -798,10 +737,10 @@ where
 }
 
 fn lexicon_doc_games_gamesgamesgamesgames_game() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("games.gamesgamesgamesgames.game"),
@@ -1129,4 +1068,4 @@ fn lexicon_doc_games_gamesgamesgamesgames_game() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/games_gamesgamesgamesgames/get_claim.rs b/crates/jacquard-api/src/games_gamesgamesgamesgames/get_claim.rs
index df4a7c69..ad54a763 100644
--- a/crates/jacquard-api/src/games_gamesgamesgamesgames/get_claim.rs
+++ b/crates/jacquard-api/src/games_gamesgamesgamesgames/get_claim.rs
@@ -10,25 +10,28 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
 use jacquard_common::deps::smol_str::SmolStr;
-use jacquard_common::types::string::{Did, AtUri, Datetime};
+use jacquard_common::types::string::{AtUri, Datetime, Did};
 use jacquard_common::types::value::Data;
 use jacquard_derive::IntoStatic;
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::games_gamesgamesgamesgames::GameSummaryView;
 use crate::games_gamesgamesgamesgames::get_claim;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ClaimView {
     pub cid: S,
     pub claimant_did: Did,
@@ -49,7 +52,6 @@ pub struct ClaimView {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Debug, Clone, PartialEq, Eq, Hash)]
 pub enum ClaimViewType {
     Game,
@@ -127,25 +129,31 @@ where
     }
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetClaim {
     pub uri: AtUri,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetClaimOutput {
     pub claim: get_claim::ClaimView,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ReviewView {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub approved_games: Option>>,
@@ -159,7 +167,6 @@ pub struct ReviewView {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Debug, Clone, PartialEq, Eq, Hash)]
 pub enum ReviewViewStatus {
     Approved,
@@ -293,7 +300,7 @@ impl LexiconSchema for ReviewView {
 
 pub mod claim_view_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -425,10 +432,7 @@ where
     St::Cid: claim_view_state::IsUnset,
 {
     /// Set the `cid` field (required)
-    pub fn cid(
-        mut self,
-        value: impl Into,
-    ) -> ClaimViewBuilder> {
+    pub fn cid(mut self, value: impl Into) -> ClaimViewBuilder> {
         self._fields.0 = Option::Some(value.into());
         ClaimViewBuilder {
             _state: PhantomData,
@@ -605,10 +609,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> ClaimView {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> ClaimView {
         ClaimView {
             cid: self._fields.0.unwrap(),
             claimant_did: self._fields.1.unwrap(),
@@ -626,10 +627,10 @@ where
 }
 
 fn lexicon_doc_games_gamesgamesgamesgames_getClaim() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("games.gamesgamesgamesgames.getClaim"),
@@ -638,20 +639,21 @@ fn lexicon_doc_games_gamesgamesgamesgames_getClaim() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("claimView"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("uri"), SmolStr::new_static("cid"),
-                            SmolStr::new_static("type"),
-                            SmolStr::new_static("claimantDid"),
-                            SmolStr::new_static("createdAt")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("uri"),
+                        SmolStr::new_static("cid"),
+                        SmolStr::new_static("type"),
+                        SmolStr::new_static("claimantDid"),
+                        SmolStr::new_static("createdAt"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("cid"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("claimantDid"),
@@ -662,7 +664,9 @@ fn lexicon_doc_games_gamesgamesgamesgames_getClaim() -> LexiconDoc<'static> {
                         );
                         map.insert(
                             SmolStr::new_static("contact"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("createdAt"),
@@ -685,7 +689,9 @@ fn lexicon_doc_games_gamesgamesgamesgames_getClaim() -> LexiconDoc<'static> {
                         );
                         map.insert(
                             SmolStr::new_static("message"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("org"),
@@ -703,7 +709,9 @@ fn lexicon_doc_games_gamesgamesgamesgames_getClaim() -> LexiconDoc<'static> {
                         );
                         map.insert(
                             SmolStr::new_static("type"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("uri"),
@@ -720,37 +728,34 @@ fn lexicon_doc_games_gamesgamesgamesgames_getClaim() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::XrpcQuery(LexXrpcQuery {
-                    parameters: Some(
-                        LexXrpcQueryParameter::Params(LexXrpcParameters {
-                            required: Some(vec![SmolStr::new_static("uri")]),
-                            properties: {
-                                #[allow(unused_mut)]
-                                let mut map = BTreeMap::new();
-                                map.insert(
-                                    SmolStr::new_static("uri"),
-                                    LexXrpcParametersProperty::String(LexString {
-                                        format: Some(LexStringFormat::AtUri),
-                                        ..Default::default()
-                                    }),
-                                );
-                                map
-                            },
-                            ..Default::default()
-                        }),
-                    ),
+                    parameters: Some(LexXrpcQueryParameter::Params(LexXrpcParameters {
+                        required: Some(vec![SmolStr::new_static("uri")]),
+                        properties: {
+                            #[allow(unused_mut)]
+                            let mut map = BTreeMap::new();
+                            map.insert(
+                                SmolStr::new_static("uri"),
+                                LexXrpcParametersProperty::String(LexString {
+                                    format: Some(LexStringFormat::AtUri),
+                                    ..Default::default()
+                                }),
+                            );
+                            map
+                        },
+                        ..Default::default()
+                    })),
                     ..Default::default()
                 }),
             );
             map.insert(
                 SmolStr::new_static("reviewView"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("uri"), SmolStr::new_static("status"),
-                            SmolStr::new_static("reviewedBy"),
-                            SmolStr::new_static("createdAt")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("uri"),
+                        SmolStr::new_static("status"),
+                        SmolStr::new_static("reviewedBy"),
+                        SmolStr::new_static("createdAt"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -773,7 +778,9 @@ fn lexicon_doc_games_gamesgamesgamesgames_getClaim() -> LexiconDoc<'static> {
                         );
                         map.insert(
                             SmolStr::new_static("reason"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("reviewedBy"),
@@ -784,7 +791,9 @@ fn lexicon_doc_games_gamesgamesgamesgames_getClaim() -> LexiconDoc<'static> {
                         );
                         map.insert(
                             SmolStr::new_static("status"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("uri"),
@@ -806,7 +815,7 @@ fn lexicon_doc_games_gamesgamesgamesgames_getClaim() -> LexiconDoc<'static> {
 
 pub mod get_claim_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -895,7 +904,7 @@ where
 
 pub mod review_view_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1122,10 +1131,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> ReviewView {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> ReviewView {
         ReviewView {
             approved_games: self._fields.0,
             created_at: self._fields.1.unwrap(),
@@ -1136,4 +1142,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/games_gamesgamesgamesgames/get_game.rs b/crates/jacquard-api/src/games_gamesgamesgamesgames/get_game.rs
index f603f511..1b36c1c0 100644
--- a/crates/jacquard-api/src/games_gamesgamesgamesgames/get_game.rs
+++ b/crates/jacquard-api/src/games_gamesgamesgamesgames/get_game.rs
@@ -8,18 +8,21 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::games_gamesgamesgamesgames::GameDetailView;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::AtUri;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::games_gamesgamesgamesgames::GameDetailView;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetGame {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub apple_app_store_id: Option,
@@ -51,9 +54,11 @@ pub struct GetGame {
     pub xbox_id: Option,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetGameOutput {
     pub game: GameDetailView,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
@@ -86,7 +91,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetGameRequest {
 
 pub mod get_game_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -138,20 +143,7 @@ impl GetGameBuilder {
         GetGameBuilder {
             _state: PhantomData,
             _fields: (
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
+                None, None, None, None, None, None, None, None, None, None, None, None, None, None,
             ),
             _type: PhantomData,
         }
@@ -363,4 +355,4 @@ where
             xbox_id: self._fields.13,
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/games_gamesgamesgamesgames/get_profile.rs b/crates/jacquard-api/src/games_gamesgamesgamesgames/get_profile.rs
index 15ac77f5..d45d1224 100644
--- a/crates/jacquard-api/src/games_gamesgamesgamesgames/get_profile.rs
+++ b/crates/jacquard-api/src/games_gamesgamesgamesgames/get_profile.rs
@@ -8,26 +8,31 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::games_gamesgamesgamesgames::ActorProfileDetailView;
+use crate::games_gamesgamesgamesgames::OrgProfileDetailView;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::{IntoStatic, open_union};
-use serde::{Serialize, Deserialize};
-use crate::games_gamesgamesgamesgames::ActorProfileDetailView;
-use crate::games_gamesgamesgamesgames::OrgProfileDetailView;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetProfile {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub handle: Option,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetProfileOutput {
     ///The resolved ATProto handle for display.
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -40,7 +45,6 @@ pub struct GetProfileOutput {
     pub extra_data: Option>>,
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -51,7 +55,6 @@ pub enum GetProfileOutputProfile {
     OrgProfileDetailView(Box>),
 }
 
-
 #[derive(Debug, Clone, PartialEq, Eq, Hash)]
 pub enum GetProfileOutputProfileType {
     Actor,
@@ -98,8 +101,7 @@ impl Serialize for GetProfileOutputProfileType {
     }
 }
 
-impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de>
-for GetProfileOutputProfileType {
+impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> for GetProfileOutputProfileType {
     fn deserialize(deserializer: D) -> Result
     where
         D: serde::Deserializer<'de>,
@@ -158,7 +160,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetProfileRequest {
 
 pub mod get_profile_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -223,4 +225,4 @@ where
             handle: self._fields.0,
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/games_gamesgamesgamesgames/get_reviews.rs b/crates/jacquard-api/src/games_gamesgamesgamesgames/get_reviews.rs
index bfca8b00..3eb43a7b 100644
--- a/crates/jacquard-api/src/games_gamesgamesgamesgames/get_reviews.rs
+++ b/crates/jacquard-api/src/games_gamesgamesgamesgames/get_reviews.rs
@@ -10,24 +10,27 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
 use jacquard_common::deps::smol_str::SmolStr;
-use jacquard_common::types::string::{Did, AtUri, Datetime};
+use jacquard_common::types::string::{AtUri, Datetime, Did};
 use jacquard_common::types::value::Data;
 use jacquard_derive::IntoStatic;
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::games_gamesgamesgamesgames::get_reviews;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::games_gamesgamesgamesgames::get_reviews;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetReviews {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub cursor: Option,
@@ -38,9 +41,11 @@ pub struct GetReviews {
     pub uri: AtUri,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetReviewsOutput {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub cursor: Option,
@@ -49,9 +54,11 @@ pub struct GetReviewsOutput {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct PopfeedReview {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub contains_spoilers: Option,
@@ -136,7 +143,7 @@ fn _default_limit() -> Option {
 
 pub mod get_reviews_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -253,7 +260,7 @@ where
 
 pub mod popfeed_review_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -525,10 +532,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> PopfeedReview {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> PopfeedReview {
         PopfeedReview {
             contains_spoilers: self._fields.0,
             created_at: self._fields.1.unwrap(),
@@ -545,10 +549,10 @@ where
 }
 
 fn lexicon_doc_games_gamesgamesgamesgames_getReviews() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("games.gamesgamesgamesgames.getReviews"),
@@ -557,55 +561,52 @@ fn lexicon_doc_games_gamesgamesgamesgames_getReviews() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::XrpcQuery(LexXrpcQuery {
-                    parameters: Some(
-                        LexXrpcQueryParameter::Params(LexXrpcParameters {
-                            required: Some(vec![SmolStr::new_static("uri")]),
-                            properties: {
-                                #[allow(unused_mut)]
-                                let mut map = BTreeMap::new();
-                                map.insert(
-                                    SmolStr::new_static("cursor"),
-                                    LexXrpcParametersProperty::String(LexString {
-                                        description: Some(
-                                            CowStr::new_static("Pagination cursor (offset)."),
-                                        ),
-                                        ..Default::default()
-                                    }),
-                                );
-                                map.insert(
-                                    SmolStr::new_static("limit"),
-                                    LexXrpcParametersProperty::Integer(LexInteger {
-                                        ..Default::default()
-                                    }),
-                                );
-                                map.insert(
-                                    SmolStr::new_static("uri"),
-                                    LexXrpcParametersProperty::String(LexString {
-                                        description: Some(
-                                            CowStr::new_static("AT URI of the game record."),
-                                        ),
-                                        format: Some(LexStringFormat::AtUri),
-                                        ..Default::default()
-                                    }),
-                                );
-                                map
-                            },
-                            ..Default::default()
-                        }),
-                    ),
+                    parameters: Some(LexXrpcQueryParameter::Params(LexXrpcParameters {
+                        required: Some(vec![SmolStr::new_static("uri")]),
+                        properties: {
+                            #[allow(unused_mut)]
+                            let mut map = BTreeMap::new();
+                            map.insert(
+                                SmolStr::new_static("cursor"),
+                                LexXrpcParametersProperty::String(LexString {
+                                    description: Some(CowStr::new_static(
+                                        "Pagination cursor (offset).",
+                                    )),
+                                    ..Default::default()
+                                }),
+                            );
+                            map.insert(
+                                SmolStr::new_static("limit"),
+                                LexXrpcParametersProperty::Integer(LexInteger {
+                                    ..Default::default()
+                                }),
+                            );
+                            map.insert(
+                                SmolStr::new_static("uri"),
+                                LexXrpcParametersProperty::String(LexString {
+                                    description: Some(CowStr::new_static(
+                                        "AT URI of the game record.",
+                                    )),
+                                    format: Some(LexStringFormat::AtUri),
+                                    ..Default::default()
+                                }),
+                            );
+                            map
+                        },
+                        ..Default::default()
+                    })),
                     ..Default::default()
                 }),
             );
             map.insert(
                 SmolStr::new_static("popfeedReview"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("uri"), SmolStr::new_static("did"),
-                            SmolStr::new_static("rating"),
-                            SmolStr::new_static("createdAt")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("uri"),
+                        SmolStr::new_static("did"),
+                        SmolStr::new_static("rating"),
+                        SmolStr::new_static("createdAt"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -658,11 +659,15 @@ fn lexicon_doc_games_gamesgamesgamesgames_getReviews() -> LexiconDoc<'static> {
                         );
                         map.insert(
                             SmolStr::new_static("text"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("title"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("uri"),
@@ -680,4 +685,4 @@ fn lexicon_doc_games_gamesgamesgamesgames_getReviews() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/games_gamesgamesgamesgames/graph.rs b/crates/jacquard-api/src/games_gamesgamesgamesgames/graph.rs
index 1d26782f..0f9f1719 100644
--- a/crates/jacquard-api/src/games_gamesgamesgamesgames/graph.rs
+++ b/crates/jacquard-api/src/games_gamesgamesgamesgames/graph.rs
@@ -5,4 +5,4 @@
 
 pub mod get_likes;
 pub mod like;
-pub mod toggle_like;
\ No newline at end of file
+pub mod toggle_like;
diff --git a/crates/jacquard-api/src/games_gamesgamesgamesgames/graph/get_likes.rs b/crates/jacquard-api/src/games_gamesgamesgamesgames/graph/get_likes.rs
index 80c06e86..fc92a272 100644
--- a/crates/jacquard-api/src/games_gamesgamesgamesgames/graph/get_likes.rs
+++ b/crates/jacquard-api/src/games_gamesgamesgamesgames/graph/get_likes.rs
@@ -10,22 +10,27 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::AtUri;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetLikes {
     pub uri: AtUri,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetLikesOutput {
     ///Total number of likes on this game.
     pub count: i64,
@@ -61,7 +66,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetLikesRequest {
 
 pub mod get_likes_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -146,4 +151,4 @@ where
             uri: self._fields.0.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/games_gamesgamesgamesgames/graph/like.rs b/crates/jacquard-api/src/games_gamesgamesgamesgames/graph/like.rs
index a64ebcec..bfb184fc 100644
--- a/crates/jacquard-api/src/games_gamesgamesgamesgames/graph/like.rs
+++ b/crates/jacquard-api/src/games_gamesgamesgamesgames/graph/like.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// Record representing a user's like of a game.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -105,7 +105,7 @@ impl LexiconSchema for Like {
 
 pub mod like_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -235,10 +235,10 @@ where
 }
 
 fn lexicon_doc_games_gamesgamesgamesgames_graph_like() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("games.gamesgamesgamesgames.graph.like"),
@@ -247,19 +247,15 @@ fn lexicon_doc_games_gamesgamesgamesgames_graph_like() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static(
-                            "Record representing a user's like of a game.",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Record representing a user's like of a game.",
+                    )),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("subject"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("subject"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -273,9 +269,9 @@ fn lexicon_doc_games_gamesgamesgamesgames_graph_like() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("subject"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("AT URI of the game record being liked."),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "AT URI of the game record being liked.",
+                                    )),
                                     format: Some(LexStringFormat::AtUri),
                                     ..Default::default()
                                 }),
@@ -291,4 +287,4 @@ fn lexicon_doc_games_gamesgamesgamesgames_graph_like() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/games_gamesgamesgamesgames/graph/toggle_like.rs b/crates/jacquard-api/src/games_gamesgamesgamesgames/graph/toggle_like.rs
index ad1cd6a2..360d06ef 100644
--- a/crates/jacquard-api/src/games_gamesgamesgamesgames/graph/toggle_like.rs
+++ b/crates/jacquard-api/src/games_gamesgamesgamesgames/graph/toggle_like.rs
@@ -10,15 +10,18 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::AtUri;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ToggleLike {
     ///AT URI of the game record to like/unlike.
     pub subject: AtUri,
@@ -26,9 +29,11 @@ pub struct ToggleLike {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ToggleLikeOutput {
     ///Whether the game was liked or unliked.
     pub action: ToggleLikeOutputAction,
@@ -116,9 +121,7 @@ where
         match self {
             ToggleLikeOutputAction::Liked => ToggleLikeOutputAction::Liked,
             ToggleLikeOutputAction::Unliked => ToggleLikeOutputAction::Unliked,
-            ToggleLikeOutputAction::Other(v) => {
-                ToggleLikeOutputAction::Other(v.into_static())
-            }
+            ToggleLikeOutputAction::Other(v) => ToggleLikeOutputAction::Other(v.into_static()),
         }
     }
 }
@@ -134,9 +137,8 @@ impl jacquard_common::xrpc::XrpcResp for ToggleLikeResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for ToggleLike {
     const NSID: &'static str = "games.gamesgamesgamesgames.graph.toggleLike";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = ToggleLikeResponse;
 }
 
@@ -144,16 +146,15 @@ impl jacquard_common::xrpc::XrpcRequest for ToggleLike {
 pub struct ToggleLikeRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for ToggleLikeRequest {
     const PATH: &'static str = "/xrpc/games.gamesgamesgamesgames.graph.toggleLike";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = ToggleLike;
     type Response = ToggleLikeResponse;
 }
 
 pub mod toggle_like_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -240,13 +241,10 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> ToggleLike {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> ToggleLike {
         ToggleLike {
             subject: self._fields.0.unwrap(),
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/games_gamesgamesgamesgames/list_claims.rs b/crates/jacquard-api/src/games_gamesgamesgamesgames/list_claims.rs
index 5004e328..eb2e3061 100644
--- a/crates/jacquard-api/src/games_gamesgamesgamesgames/list_claims.rs
+++ b/crates/jacquard-api/src/games_gamesgamesgamesgames/list_claims.rs
@@ -8,17 +8,20 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::games_gamesgamesgamesgames::get_claim::ClaimView;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::games_gamesgamesgamesgames::get_claim::ClaimView;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ListClaims {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub cursor: Option,
@@ -30,9 +33,11 @@ pub struct ListClaims {
     pub status: Option,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ListClaimsOutput {
     pub claims: Vec>,
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -71,7 +76,7 @@ fn _default_limit() -> Option {
 
 pub mod list_claims_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -164,4 +169,4 @@ where
             status: self._fields.2,
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/games_gamesgamesgamesgames/list_games.rs b/crates/jacquard-api/src/games_gamesgamesgamesgames/list_games.rs
index 06767142..1a2038db 100644
--- a/crates/jacquard-api/src/games_gamesgamesgamesgames/list_games.rs
+++ b/crates/jacquard-api/src/games_gamesgamesgamesgames/list_games.rs
@@ -8,18 +8,21 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::games_gamesgamesgamesgames::GameSummaryView;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::Did;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::games_gamesgamesgamesgames::GameSummaryView;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ListGames {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub cursor: Option,
@@ -39,9 +42,11 @@ pub struct ListGames {
     pub sort_direction: Option,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ListGamesOutput {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub cursor: Option,
@@ -88,7 +93,7 @@ fn _default_sort_direction() -> Option {
 
 pub mod list_games_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -209,4 +214,4 @@ where
             sort_direction: self._fields.4,
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/games_gamesgamesgamesgames/list_org_games.rs b/crates/jacquard-api/src/games_gamesgamesgamesgames/list_org_games.rs
index 87aa2d8d..ecc03e4e 100644
--- a/crates/jacquard-api/src/games_gamesgamesgamesgames/list_org_games.rs
+++ b/crates/jacquard-api/src/games_gamesgamesgamesgames/list_org_games.rs
@@ -8,18 +8,21 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::games_gamesgamesgamesgames::GameSummaryView;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::AtUri;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::games_gamesgamesgamesgames::GameSummaryView;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ListOrgGames {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub cursor: Option,
@@ -30,9 +33,11 @@ pub struct ListOrgGames {
     pub org: AtUri,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ListOrgGamesOutput {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub cursor: Option,
@@ -71,7 +76,7 @@ fn _default_limit() -> Option {
 
 pub mod list_org_games_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -184,4 +189,4 @@ where
             org: self._fields.2.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/games_gamesgamesgamesgames/migrate_claim.rs b/crates/jacquard-api/src/games_gamesgamesgamesgames/migrate_claim.rs
index 81d5eb59..049f0234 100644
--- a/crates/jacquard-api/src/games_gamesgamesgamesgames/migrate_claim.rs
+++ b/crates/jacquard-api/src/games_gamesgamesgamesgames/migrate_claim.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -21,13 +21,16 @@ use jacquard_derive::IntoStatic;
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::games_gamesgamesgamesgames::migrate_claim;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::games_gamesgamesgamesgames::migrate_claim;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct MigrateClaim {
     pub claim: AtUri,
     pub claim_review: AtUri,
@@ -35,18 +38,22 @@ pub struct MigrateClaim {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct MigrateClaimOutput {
     pub results: Vec>,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct MigrationResult {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub error: Option,
@@ -58,7 +65,6 @@ pub struct MigrationResult {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Debug, Clone, PartialEq, Eq, Hash)]
 pub enum MigrationResultStatus {
     Success,
@@ -135,9 +141,7 @@ where
             MigrationResultStatus::Success => MigrationResultStatus::Success,
             MigrationResultStatus::Failed => MigrationResultStatus::Failed,
             MigrationResultStatus::Skipped => MigrationResultStatus::Skipped,
-            MigrationResultStatus::Other(v) => {
-                MigrationResultStatus::Other(v.into_static())
-            }
+            MigrationResultStatus::Other(v) => MigrationResultStatus::Other(v.into_static()),
         }
     }
 }
@@ -153,9 +157,8 @@ impl jacquard_common::xrpc::XrpcResp for MigrateClaimResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for MigrateClaim {
     const NSID: &'static str = "games.gamesgamesgamesgames.migrateClaim";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = MigrateClaimResponse;
 }
 
@@ -163,9 +166,8 @@ impl jacquard_common::xrpc::XrpcRequest for MigrateClaim {
 pub struct MigrateClaimRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for MigrateClaimRequest {
     const PATH: &'static str = "/xrpc/games.gamesgamesgamesgames.migrateClaim";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = MigrateClaim;
     type Response = MigrateClaimResponse;
 }
@@ -187,7 +189,7 @@ impl LexiconSchema for MigrationResult {
 
 pub mod migrate_claim_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -307,10 +309,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> MigrateClaim {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> MigrateClaim {
         MigrateClaim {
             claim: self._fields.0.unwrap(),
             claim_review: self._fields.1.unwrap(),
@@ -321,7 +320,7 @@ where
 
 pub mod migration_result_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -474,10 +473,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> MigrationResult {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> MigrationResult {
         MigrationResult {
             error: self._fields.0,
             game_uri: self._fields.1.unwrap(),
@@ -489,10 +485,10 @@ where
 }
 
 fn lexicon_doc_games_gamesgamesgamesgames_migrateClaim() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("games.gamesgamesgamesgames.migrateClaim"),
@@ -503,36 +499,32 @@ fn lexicon_doc_games_gamesgamesgamesgames_migrateClaim() -> LexiconDoc<'static>
                 LexUserType::XrpcProcedure(LexXrpcProcedure {
                     input: Some(LexXrpcBody {
                         encoding: CowStr::new_static("application/json"),
-                        schema: Some(
-                            LexXrpcBodySchema::Object(LexObject {
-                                required: Some(
-                                    vec![
-                                        SmolStr::new_static("claim"),
-                                        SmolStr::new_static("claimReview")
-                                    ],
-                                ),
-                                properties: {
-                                    #[allow(unused_mut)]
-                                    let mut map = BTreeMap::new();
-                                    map.insert(
-                                        SmolStr::new_static("claim"),
-                                        LexObjectProperty::String(LexString {
-                                            format: Some(LexStringFormat::AtUri),
-                                            ..Default::default()
-                                        }),
-                                    );
-                                    map.insert(
-                                        SmolStr::new_static("claimReview"),
-                                        LexObjectProperty::String(LexString {
-                                            format: Some(LexStringFormat::AtUri),
-                                            ..Default::default()
-                                        }),
-                                    );
-                                    map
-                                },
-                                ..Default::default()
-                            }),
-                        ),
+                        schema: Some(LexXrpcBodySchema::Object(LexObject {
+                            required: Some(vec![
+                                SmolStr::new_static("claim"),
+                                SmolStr::new_static("claimReview"),
+                            ]),
+                            properties: {
+                                #[allow(unused_mut)]
+                                let mut map = BTreeMap::new();
+                                map.insert(
+                                    SmolStr::new_static("claim"),
+                                    LexObjectProperty::String(LexString {
+                                        format: Some(LexStringFormat::AtUri),
+                                        ..Default::default()
+                                    }),
+                                );
+                                map.insert(
+                                    SmolStr::new_static("claimReview"),
+                                    LexObjectProperty::String(LexString {
+                                        format: Some(LexStringFormat::AtUri),
+                                        ..Default::default()
+                                    }),
+                                );
+                                map
+                            },
+                            ..Default::default()
+                        })),
                         ..Default::default()
                     }),
                     ..Default::default()
@@ -541,17 +533,18 @@ fn lexicon_doc_games_gamesgamesgamesgames_migrateClaim() -> LexiconDoc<'static>
             map.insert(
                 SmolStr::new_static("migrationResult"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("gameUri"), SmolStr::new_static("status")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("gameUri"),
+                        SmolStr::new_static("status"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("error"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("gameUri"),
@@ -569,7 +562,9 @@ fn lexicon_doc_games_gamesgamesgamesgames_migrateClaim() -> LexiconDoc<'static>
                         );
                         map.insert(
                             SmolStr::new_static("status"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map
                     },
@@ -580,4 +575,4 @@ fn lexicon_doc_games_gamesgamesgamesgames_migrateClaim() -> LexiconDoc<'static>
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/games_gamesgamesgamesgames/org.rs b/crates/jacquard-api/src/games_gamesgamesgamesgames/org.rs
index 5d1fc0a5..02da47e2 100644
--- a/crates/jacquard-api/src/games_gamesgamesgamesgames/org.rs
+++ b/crates/jacquard-api/src/games_gamesgamesgamesgames/org.rs
@@ -7,4 +7,4 @@ pub mod create_profile;
 pub mod credit;
 pub mod get_profile;
 pub mod profile;
-pub mod put_profile;
\ No newline at end of file
+pub mod put_profile;
diff --git a/crates/jacquard-api/src/games_gamesgamesgamesgames/org/create_profile.rs b/crates/jacquard-api/src/games_gamesgamesgamesgames/org/create_profile.rs
index 280924c5..34938b66 100644
--- a/crates/jacquard-api/src/games_gamesgamesgamesgames/org/create_profile.rs
+++ b/crates/jacquard-api/src/games_gamesgamesgamesgames/org/create_profile.rs
@@ -8,21 +8,24 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::app_bsky::richtext::facet::Facet;
+use crate::games_gamesgamesgamesgames::MediaItem;
+use crate::games_gamesgamesgamesgames::Website;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::blob::BlobRef;
 use jacquard_common::types::string::{AtUri, Datetime};
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::app_bsky::richtext::facet::Facet;
-use crate::games_gamesgamesgamesgames::MediaItem;
-use crate::games_gamesgamesgamesgames::Website;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct CreateProfile {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub avatar: Option>,
@@ -51,7 +54,6 @@ pub struct CreateProfile {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Debug, Clone, PartialEq, Eq, Hash)]
 pub enum CreateProfileStatus {
     Active,
@@ -141,9 +143,11 @@ where
     }
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct CreateProfileOutput {
     pub cid: S,
     pub uri: AtUri,
@@ -162,9 +166,8 @@ impl jacquard_common::xrpc::XrpcResp for CreateProfileResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for CreateProfile {
     const NSID: &'static str = "games.gamesgamesgamesgames.org.createProfile";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = CreateProfileResponse;
 }
 
@@ -172,9 +175,8 @@ impl jacquard_common::xrpc::XrpcRequest for CreateProfile {
 pub struct CreateProfileRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for CreateProfileRequest {
     const PATH: &'static str = "/xrpc/games.gamesgamesgamesgames.org.createProfile";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = CreateProfile;
     type Response = CreateProfileResponse;
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/games_gamesgamesgamesgames/org/credit.rs b/crates/jacquard-api/src/games_gamesgamesgamesgames/org/credit.rs
index d359014e..3c99b245 100644
--- a/crates/jacquard-api/src/games_gamesgamesgamesgames/org/credit.rs
+++ b/crates/jacquard-api/src/games_gamesgamesgamesgames/org/credit.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,11 +24,11 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::com_atproto::repo::strong_ref::StrongRef;
 use crate::games_gamesgamesgamesgames::CompanyRole;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// A relationship between a game and an organization.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -123,7 +123,7 @@ impl LexiconSchema for Credit {
 
 pub mod credit_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -325,10 +325,10 @@ where
 }
 
 fn lexicon_doc_games_gamesgamesgamesgames_org_credit() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("games.gamesgamesgamesgames.org.credit"),
@@ -409,4 +409,4 @@ fn lexicon_doc_games_gamesgamesgamesgames_org_credit() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/games_gamesgamesgamesgames/org/get_profile.rs b/crates/jacquard-api/src/games_gamesgamesgamesgames/org/get_profile.rs
index 43534ab0..5239879d 100644
--- a/crates/jacquard-api/src/games_gamesgamesgamesgames/org/get_profile.rs
+++ b/crates/jacquard-api/src/games_gamesgamesgamesgames/org/get_profile.rs
@@ -8,17 +8,20 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::games_gamesgamesgamesgames::OrgProfileDetailView;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::games_gamesgamesgamesgames::OrgProfileDetailView;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetProfileOutput {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub profile: Option>,
@@ -52,4 +55,4 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetProfileRequest {
     const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Query;
     type Request = GetProfile;
     type Response = GetProfileResponse;
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/games_gamesgamesgamesgames/org/profile.rs b/crates/jacquard-api/src/games_gamesgamesgamesgames/org/profile.rs
index 9e0b2f79..df76bdcd 100644
--- a/crates/jacquard-api/src/games_gamesgamesgamesgames/org/profile.rs
+++ b/crates/jacquard-api/src/games_gamesgamesgamesgames/org/profile.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -25,12 +25,12 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::app_bsky::richtext::facet::Facet;
 use crate::games_gamesgamesgamesgames::MediaItem;
 use crate::games_gamesgamesgamesgames::Website;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// A declaration of a Pentaract org profile.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -68,7 +68,6 @@ pub struct Profile {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Debug, Clone, PartialEq, Eq, Hash)]
 pub enum ProfileStatus {
     Active,
@@ -229,25 +228,20 @@ impl LexiconSchema for Profile {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["image/png", "image/jpeg"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("avatar"),
-                        accepted: vec![
-                            "image/png".to_string(), "image/jpeg".to_string()
-                        ],
+                        accepted: vec!["image/png".to_string(), "image/jpeg".to_string()],
                         actual: mime.to_string(),
                     });
                 }
@@ -280,7 +274,7 @@ impl LexiconSchema for Profile {
 
 pub mod profile_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -353,7 +347,9 @@ impl ProfileBuilder {
     pub fn new() -> Self {
         ProfileBuilder {
             _state: PhantomData,
-            _fields: (None, None, None, None, None, None, None, None, None, None, None),
+            _fields: (
+                None, None, None, None, None, None, None, None, None, None, None,
+            ),
             _type: PhantomData,
         }
     }
@@ -419,10 +415,7 @@ impl ProfileBuilder {
 
 impl ProfileBuilder {
     /// Set the `descriptionFacets` field (optional)
-    pub fn description_facets(
-        mut self,
-        value: impl Into>>>,
-    ) -> Self {
+    pub fn description_facets(mut self, value: impl Into>>>) -> Self {
         self._fields.4 = value.into();
         self
     }
@@ -560,10 +553,10 @@ where
 }
 
 fn lexicon_doc_games_gamesgamesgamesgames_org_profile() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("games.gamesgamesgamesgames.org.profile"),
@@ -572,23 +565,23 @@ fn lexicon_doc_games_gamesgamesgamesgames_org_profile() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static("A declaration of a Pentaract org profile."),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "A declaration of a Pentaract org profile.",
+                    )),
                     key: Some(CowStr::new_static("literal:self")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("displayName"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("displayName"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
                             map.insert(
                                 SmolStr::new_static("avatar"),
-                                LexObjectProperty::Blob(LexBlob { ..Default::default() }),
+                                LexObjectProperty::Blob(LexBlob {
+                                    ..Default::default()
+                                }),
                             );
                             map.insert(
                                 SmolStr::new_static("country"),
@@ -606,9 +599,9 @@ fn lexicon_doc_games_gamesgamesgamesgames_org_profile() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("description"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("Free-form profile description text."),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Free-form profile description text.",
+                                    )),
                                     max_length: Some(3000usize),
                                     ..Default::default()
                                 }),
@@ -616,11 +609,9 @@ fn lexicon_doc_games_gamesgamesgamesgames_org_profile() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("descriptionFacets"),
                                 LexObjectProperty::Array(LexArray {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "Annotations of text (mentions, URLs, hashtags, etc)",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Annotations of text (mentions, URLs, hashtags, etc)",
+                                    )),
                                     items: LexArrayItem::Ref(LexRef {
                                         r#ref: CowStr::new_static("app.bsky.richtext.facet"),
                                         ..Default::default()
@@ -690,4 +681,4 @@ fn lexicon_doc_games_gamesgamesgamesgames_org_profile() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/games_gamesgamesgamesgames/org/put_profile.rs b/crates/jacquard-api/src/games_gamesgamesgamesgames/org/put_profile.rs
index 17718c49..9d3b3222 100644
--- a/crates/jacquard-api/src/games_gamesgamesgamesgames/org/put_profile.rs
+++ b/crates/jacquard-api/src/games_gamesgamesgamesgames/org/put_profile.rs
@@ -8,21 +8,24 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::app_bsky::richtext::facet::Facet;
+use crate::games_gamesgamesgamesgames::MediaItem;
+use crate::games_gamesgamesgamesgames::Website;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::blob::BlobRef;
 use jacquard_common::types::string::{AtUri, Datetime};
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::app_bsky::richtext::facet::Facet;
-use crate::games_gamesgamesgamesgames::MediaItem;
-use crate::games_gamesgamesgamesgames::Website;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct PutProfile {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub avatar: Option>,
@@ -51,7 +54,6 @@ pub struct PutProfile {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Debug, Clone, PartialEq, Eq, Hash)]
 pub enum PutProfileStatus {
     Active,
@@ -141,9 +143,11 @@ where
     }
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct PutProfileOutput {
     pub cid: S,
     pub uri: AtUri,
@@ -162,9 +166,8 @@ impl jacquard_common::xrpc::XrpcResp for PutProfileResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for PutProfile {
     const NSID: &'static str = "games.gamesgamesgamesgames.org.putProfile";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = PutProfileResponse;
 }
 
@@ -172,9 +175,8 @@ impl jacquard_common::xrpc::XrpcRequest for PutProfile {
 pub struct PutProfileRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for PutProfileRequest {
     const PATH: &'static str = "/xrpc/games.gamesgamesgamesgames.org.putProfile";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = PutProfile;
     type Response = PutProfileResponse;
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/games_gamesgamesgamesgames/platform.rs b/crates/jacquard-api/src/games_gamesgamesgamesgames/platform.rs
index dcd2df57..62b4033d 100644
--- a/crates/jacquard-api/src/games_gamesgamesgamesgames/platform.rs
+++ b/crates/jacquard-api/src/games_gamesgamesgamesgames/platform.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,13 +24,13 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::games_gamesgamesgamesgames::MediaItem;
 use crate::games_gamesgamesgamesgames::PlatformCategory;
 use crate::games_gamesgamesgamesgames::PlatformVersion;
 use crate::games_gamesgamesgamesgames::Website;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// A platform for playing video games.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -126,7 +126,7 @@ impl LexiconSchema for Platform {
 
 pub mod platform_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -199,7 +199,9 @@ impl PlatformBuilder {
     pub fn new() -> Self {
         PlatformBuilder {
             _state: PhantomData,
-            _fields: (None, None, None, None, None, None, None, None, None, None, None),
+            _fields: (
+                None, None, None, None, None, None, None, None, None, None, None,
+            ),
             _type: PhantomData,
         }
     }
@@ -321,10 +323,7 @@ where
     St::Name: platform_state::IsUnset,
 {
     /// Set the `name` field (required)
-    pub fn name(
-        mut self,
-        value: impl Into,
-    ) -> PlatformBuilder> {
+    pub fn name(mut self, value: impl Into) -> PlatformBuilder> {
         self._fields.8 = Option::Some(value.into());
         PlatformBuilder {
             _state: PhantomData,
@@ -336,10 +335,7 @@ where
 
 impl PlatformBuilder {
     /// Set the `versions` field (optional)
-    pub fn versions(
-        mut self,
-        value: impl Into>>>,
-    ) -> Self {
+    pub fn versions(mut self, value: impl Into>>>) -> Self {
         self._fields.9 = value.into();
         self
     }
@@ -406,10 +402,10 @@ where
 }
 
 fn lexicon_doc_games_gamesgamesgamesgames_platform() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("games.gamesgamesgamesgames.platform"),
@@ -418,17 +414,13 @@ fn lexicon_doc_games_gamesgamesgamesgames_platform() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static("A platform for playing video games."),
-                    ),
+                    description: Some(CowStr::new_static("A platform for playing video games.")),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("name"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("name"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -532,4 +524,4 @@ fn lexicon_doc_games_gamesgamesgamesgames_platform() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/games_gamesgamesgamesgames/platform_family.rs b/crates/jacquard-api/src/games_gamesgamesgamesgames/platform_family.rs
index ce691973..c7cf14d4 100644
--- a/crates/jacquard-api/src/games_gamesgamesgamesgames/platform_family.rs
+++ b/crates/jacquard-api/src/games_gamesgamesgamesgames/platform_family.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// A family of related platforms.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -106,7 +106,7 @@ impl LexiconSchema for PlatformFamily {
 
 pub mod platform_family_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -240,10 +240,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> PlatformFamily {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> PlatformFamily {
         PlatformFamily {
             created_at: self._fields.0.unwrap(),
             description: self._fields.1,
@@ -254,10 +251,10 @@ where
 }
 
 fn lexicon_doc_games_gamesgamesgamesgames_platformFamily() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("games.gamesgamesgamesgames.platformFamily"),
@@ -266,17 +263,13 @@ fn lexicon_doc_games_gamesgamesgamesgames_platformFamily() -> LexiconDoc<'static
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static("A family of related platforms."),
-                    ),
+                    description: Some(CowStr::new_static("A family of related platforms.")),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("name"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("name"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -310,4 +303,4 @@ fn lexicon_doc_games_gamesgamesgamesgames_platformFamily() -> LexiconDoc<'static
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/games_gamesgamesgamesgames/put_game.rs b/crates/jacquard-api/src/games_gamesgamesgamesgames/put_game.rs
index 22444d62..b0036e06 100644
--- a/crates/jacquard-api/src/games_gamesgamesgamesgames/put_game.rs
+++ b/crates/jacquard-api/src/games_gamesgamesgamesgames/put_game.rs
@@ -8,14 +8,6 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
-#[allow(unused_imports)]
-use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
-use jacquard_common::deps::smol_str::SmolStr;
-use jacquard_common::types::string::{AtUri, Datetime};
-use jacquard_common::types::value::Data;
-use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
 use crate::games_gamesgamesgamesgames::AgeRating;
 use crate::games_gamesgamesgamesgames::AlternativeName;
 use crate::games_gamesgamesgamesgames::ApplicationType;
@@ -30,9 +22,20 @@ use crate::games_gamesgamesgamesgames::Release;
 use crate::games_gamesgamesgamesgames::Theme;
 use crate::games_gamesgamesgamesgames::TimeToBeat;
 use crate::games_gamesgamesgamesgames::Website;
+#[allow(unused_imports)]
+use core::marker::PhantomData;
+use jacquard_common::deps::smol_str::SmolStr;
+use jacquard_common::types::string::{AtUri, Datetime};
+use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
+use jacquard_derive::IntoStatic;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct PutGame {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub age_ratings: Option>>,
@@ -82,9 +85,11 @@ pub struct PutGame {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct PutGameOutput {
     pub cid: S,
     pub uri: AtUri,
@@ -103,9 +108,8 @@ impl jacquard_common::xrpc::XrpcResp for PutGameResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for PutGame {
     const NSID: &'static str = "games.gamesgamesgamesgames.putGame";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = PutGameResponse;
 }
 
@@ -113,16 +117,15 @@ impl jacquard_common::xrpc::XrpcRequest for PutGame {
 pub struct PutGameRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for PutGameRequest {
     const PATH: &'static str = "/xrpc/games.gamesgamesgamesgames.putGame";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = PutGame;
     type Response = PutGameResponse;
 }
 
 pub mod put_game_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -208,29 +211,8 @@ impl PutGameBuilder {
         PutGameBuilder {
             _state: PhantomData,
             _fields: (
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
+                None, None, None, None, None, None, None, None, None, None, None, None, None, None,
+                None, None, None, None, None, None, None, None, None,
             ),
             _type: PhantomData,
         }
@@ -252,18 +234,12 @@ impl PutGameBuilder {
 
 impl PutGameBuilder {
     /// Set the `alternativeNames` field (optional)
-    pub fn alternative_names(
-        mut self,
-        value: impl Into>>>,
-    ) -> Self {
+    pub fn alternative_names(mut self, value: impl Into>>>) -> Self {
         self._fields.1 = value.into();
         self
     }
     /// Set the `alternativeNames` field to an Option value (optional)
-    pub fn maybe_alternative_names(
-        mut self,
-        value: Option>>,
-    ) -> Self {
+    pub fn maybe_alternative_names(mut self, value: Option>>) -> Self {
         self._fields.1 = value;
         self
     }
@@ -271,10 +247,7 @@ impl PutGameBuilder {
 
 impl PutGameBuilder {
     /// Set the `applicationType` field (optional)
-    pub fn application_type(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn application_type(mut self, value: impl Into>>) -> Self {
         self._fields.2 = value.into();
         self
     }
@@ -339,18 +312,12 @@ impl PutGameBuilder {
 
 impl PutGameBuilder {
     /// Set the `languageSupports` field (optional)
-    pub fn language_supports(
-        mut self,
-        value: impl Into>>>,
-    ) -> Self {
+    pub fn language_supports(mut self, value: impl Into>>>) -> Self {
         self._fields.7 = value.into();
         self
     }
     /// Set the `languageSupports` field to an Option value (optional)
-    pub fn maybe_language_supports(
-        mut self,
-        value: Option>>,
-    ) -> Self {
+    pub fn maybe_language_supports(mut self, value: Option>>) -> Self {
         self._fields.7 = value;
         self
     }
@@ -384,18 +351,12 @@ impl PutGameBuilder {
 
 impl PutGameBuilder {
     /// Set the `multiplayerModes` field (optional)
-    pub fn multiplayer_modes(
-        mut self,
-        value: impl Into>>>,
-    ) -> Self {
+    pub fn multiplayer_modes(mut self, value: impl Into>>>) -> Self {
         self._fields.10 = value.into();
         self
     }
     /// Set the `multiplayerModes` field to an Option value (optional)
-    pub fn maybe_multiplayer_modes(
-        mut self,
-        value: Option>>,
-    ) -> Self {
+    pub fn maybe_multiplayer_modes(mut self, value: Option>>) -> Self {
         self._fields.10 = value;
         self
     }
@@ -407,10 +368,7 @@ where
     St::Name: put_game_state::IsUnset,
 {
     /// Set the `name` field (required)
-    pub fn name(
-        mut self,
-        value: impl Into,
-    ) -> PutGameBuilder> {
+    pub fn name(mut self, value: impl Into) -> PutGameBuilder> {
         self._fields.11 = Option::Some(value.into());
         PutGameBuilder {
             _state: PhantomData,
@@ -443,10 +401,7 @@ impl PutGameBuilder {
         self
     }
     /// Set the `playerPerspectives` field to an Option value (optional)
-    pub fn maybe_player_perspectives(
-        mut self,
-        value: Option>>,
-    ) -> Self {
+    pub fn maybe_player_perspectives(mut self, value: Option>>) -> Self {
         self._fields.13 = value;
         self
     }
@@ -639,4 +594,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/games_gamesgamesgamesgames/redirect.rs b/crates/jacquard-api/src/games_gamesgamesgamesgames/redirect.rs
index c8ec9bac..8d553308 100644
--- a/crates/jacquard-api/src/games_gamesgamesgamesgames/redirect.rs
+++ b/crates/jacquard-api/src/games_gamesgamesgamesgames/redirect.rs
@@ -10,13 +10,13 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::collection::{Collection, RecordError};
-use jacquard_common::types::string::{AtUri, Nsid, Cid, Datetime};
+use jacquard_common::types::string::{AtUri, Cid, Datetime, Nsid};
 use jacquard_common::types::uri::{RecordUri, UriError};
 use jacquard_common::types::value::Data;
 use jacquard_common::xrpc::XrpcResp;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// A redirect mapping a source AT URI to a target AT URI after migration.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -106,7 +106,7 @@ impl LexiconSchema for Redirect {
 
 pub mod redirect_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -181,7 +181,12 @@ pub mod redirect_state {
 /// Builder for constructing an instance of this type.
 pub struct RedirectBuilder {
     _state: PhantomData St>,
-    _fields: (Option>, Option, Option>, Option>),
+    _fields: (
+        Option>,
+        Option,
+        Option>,
+        Option>,
+    ),
     _type: PhantomData S>,
 }
 
@@ -310,10 +315,10 @@ where
 }
 
 fn lexicon_doc_games_gamesgamesgamesgames_redirect() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("games.gamesgamesgamesgames.redirect"),
@@ -322,21 +327,17 @@ fn lexicon_doc_games_gamesgamesgamesgames_redirect() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static(
-                            "A redirect mapping a source AT URI to a target AT URI after migration.",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "A redirect mapping a source AT URI to a target AT URI after migration.",
+                    )),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("sourceUri"),
-                                SmolStr::new_static("targetUri"),
-                                SmolStr::new_static("collection"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("sourceUri"),
+                            SmolStr::new_static("targetUri"),
+                            SmolStr::new_static("collection"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -379,4 +380,4 @@ fn lexicon_doc_games_gamesgamesgamesgames_redirect() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/games_gamesgamesgamesgames/review_claim.rs b/crates/jacquard-api/src/games_gamesgamesgamesgames/review_claim.rs
index 4f1912e2..23e25c91 100644
--- a/crates/jacquard-api/src/games_gamesgamesgamesgames/review_claim.rs
+++ b/crates/jacquard-api/src/games_gamesgamesgamesgames/review_claim.rs
@@ -8,18 +8,21 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::com_atproto::repo::strong_ref::StrongRef;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::AtUri;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::com_atproto::repo::strong_ref::StrongRef;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ReviewClaim {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub approved_games: Option>>,
@@ -31,7 +34,6 @@ pub struct ReviewClaim {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Debug, Clone, PartialEq, Eq, Hash)]
 pub enum ReviewClaimStatus {
     Approved,
@@ -109,9 +111,11 @@ where
     }
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ReviewClaimOutput {
     pub uri: AtUri,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
@@ -129,9 +133,8 @@ impl jacquard_common::xrpc::XrpcResp for ReviewClaimResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for ReviewClaim {
     const NSID: &'static str = "games.gamesgamesgamesgames.reviewClaim";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = ReviewClaimResponse;
 }
 
@@ -139,16 +142,15 @@ impl jacquard_common::xrpc::XrpcRequest for ReviewClaim {
 pub struct ReviewClaimRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for ReviewClaimRequest {
     const PATH: &'static str = "/xrpc/games.gamesgamesgamesgames.reviewClaim";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = ReviewClaim;
     type Response = ReviewClaimResponse;
 }
 
 pub mod review_claim_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -301,10 +303,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> ReviewClaim {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> ReviewClaim {
         ReviewClaim {
             approved_games: self._fields.0,
             claim: self._fields.1.unwrap(),
@@ -313,4 +312,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/games_gamesgamesgamesgames/richtext.rs b/crates/jacquard-api/src/games_gamesgamesgamesgames/richtext.rs
index b7b3177b..3bf124e6 100644
--- a/crates/jacquard-api/src/games_gamesgamesgamesgames/richtext.rs
+++ b/crates/jacquard-api/src/games_gamesgamesgamesgames/richtext.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod facet;
\ No newline at end of file
+pub mod facet;
diff --git a/crates/jacquard-api/src/games_gamesgamesgamesgames/richtext/facet.rs b/crates/jacquard-api/src/games_gamesgamesgamesgames/richtext/facet.rs
index 5778637a..72993e20 100644
--- a/crates/jacquard-api/src/games_gamesgamesgamesgames/richtext/facet.rs
+++ b/crates/jacquard-api/src/games_gamesgamesgamesgames/richtext/facet.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -22,14 +22,17 @@ use jacquard_derive::{IntoStatic, open_union};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::games_gamesgamesgamesgames::richtext::facet;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::games_gamesgamesgamesgames::richtext::facet;
+use serde::{Deserialize, Serialize};
 /// Facet feature for bold text.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Bold {
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
@@ -38,7 +41,10 @@ pub struct Bold {
 /// Specifies the sub-string range a facet feature applies to. Start index is inclusive, end index is exclusive. Indices are zero-indexed, counting bytes of the UTF-8 encoded text.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ByteSlice {
     pub byte_end: i64,
     pub byte_start: i64,
@@ -49,7 +55,10 @@ pub struct ByteSlice {
 /// Facet feature for a section heading.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Heading {
     pub level: i64,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
@@ -59,7 +68,10 @@ pub struct Heading {
 /// Facet feature for an inline image.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Image {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub alt: Option,
@@ -75,7 +87,10 @@ pub struct Image {
 /// Facet feature for italic text.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Italic {
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
@@ -84,7 +99,10 @@ pub struct Italic {
 /// Facet feature for a URL.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Link {
     pub uri: UriValue,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
@@ -94,7 +112,10 @@ pub struct Link {
 /// Facet feature marking text as a list item.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ListItem {
     /// Defaults to `0`.
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -109,7 +130,10 @@ pub struct ListItem {
 /// Annotation of a sub-string within rich text.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Facet {
     pub features: Vec>,
     pub index: facet::ByteSlice,
@@ -117,7 +141,6 @@ pub struct Facet {
     pub extra_data: Option>>,
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -145,7 +168,10 @@ pub enum FacetFeaturesItem {
 /// Facet feature for mention of another account.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Mention {
     pub did: Did,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
@@ -155,7 +181,10 @@ pub struct Mention {
 /// Facet feature for a hashtag.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Tag {
     pub tag: S,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
@@ -165,7 +194,10 @@ pub struct Tag {
 /// Facet feature for an inline video.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Video {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub alt: Option,
@@ -291,19 +323,16 @@ impl LexiconSchema for Image {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["image/*"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("blob"),
@@ -467,19 +496,16 @@ impl LexiconSchema for Video {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["video/*"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("blob"),
@@ -494,10 +520,10 @@ impl LexiconSchema for Video {
 }
 
 fn lexicon_doc_games_gamesgamesgamesgames_richtext_facet() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("games.gamesgamesgamesgames.richtext.facet"),
@@ -506,9 +532,7 @@ fn lexicon_doc_games_gamesgamesgamesgames_richtext_facet() -> LexiconDoc<'static
             map.insert(
                 SmolStr::new_static("bold"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("Facet feature for bold text."),
-                    ),
+                    description: Some(CowStr::new_static("Facet feature for bold text.")),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -556,9 +580,7 @@ fn lexicon_doc_games_gamesgamesgamesgames_richtext_facet() -> LexiconDoc<'static
             map.insert(
                 SmolStr::new_static("heading"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("Facet feature for a section heading."),
-                    ),
+                    description: Some(CowStr::new_static("Facet feature for a section heading.")),
                     required: Some(vec![SmolStr::new_static("level")]),
                     properties: {
                         #[allow(unused_mut)]
@@ -579,20 +601,22 @@ fn lexicon_doc_games_gamesgamesgamesgames_richtext_facet() -> LexiconDoc<'static
             map.insert(
                 SmolStr::new_static("image"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("Facet feature for an inline image."),
-                    ),
+                    description: Some(CowStr::new_static("Facet feature for an inline image.")),
                     required: Some(vec![SmolStr::new_static("blob")]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("alt"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("blob"),
-                            LexObjectProperty::Blob(LexBlob { ..Default::default() }),
+                            LexObjectProperty::Blob(LexBlob {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("height"),
@@ -614,9 +638,7 @@ fn lexicon_doc_games_gamesgamesgamesgames_richtext_facet() -> LexiconDoc<'static
             map.insert(
                 SmolStr::new_static("italic"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("Facet feature for italic text."),
-                    ),
+                    description: Some(CowStr::new_static("Facet feature for italic text.")),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -648,9 +670,9 @@ fn lexicon_doc_games_gamesgamesgamesgames_richtext_facet() -> LexiconDoc<'static
             map.insert(
                 SmolStr::new_static("listItem"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("Facet feature marking text as a list item."),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Facet feature marking text as a list item.",
+                    )),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -675,16 +697,13 @@ fn lexicon_doc_games_gamesgamesgamesgames_richtext_facet() -> LexiconDoc<'static
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static(
-                            "Annotation of a sub-string within rich text.",
-                        ),
-                    ),
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("index"), SmolStr::new_static("features")
-                        ],
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Annotation of a sub-string within rich text.",
+                    )),
+                    required: Some(vec![
+                        SmolStr::new_static("index"),
+                        SmolStr::new_static("features"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -693,12 +712,15 @@ fn lexicon_doc_games_gamesgamesgamesgames_richtext_facet() -> LexiconDoc<'static
                             LexObjectProperty::Array(LexArray {
                                 items: LexArrayItem::Union(LexRefUnion {
                                     refs: vec![
-                                        CowStr::new_static("#mention"), CowStr::new_static("#link"),
-                                        CowStr::new_static("#tag"), CowStr::new_static("#bold"),
+                                        CowStr::new_static("#mention"),
+                                        CowStr::new_static("#link"),
+                                        CowStr::new_static("#tag"),
+                                        CowStr::new_static("#bold"),
                                         CowStr::new_static("#italic"),
                                         CowStr::new_static("#heading"),
                                         CowStr::new_static("#listItem"),
-                                        CowStr::new_static("#image"), CowStr::new_static("#video")
+                                        CowStr::new_static("#image"),
+                                        CowStr::new_static("#video"),
                                     ],
                                     ..Default::default()
                                 }),
@@ -720,11 +742,9 @@ fn lexicon_doc_games_gamesgamesgamesgames_richtext_facet() -> LexiconDoc<'static
             map.insert(
                 SmolStr::new_static("mention"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static(
-                            "Facet feature for mention of another account.",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Facet feature for mention of another account.",
+                    )),
                     required: Some(vec![SmolStr::new_static("did")]),
                     properties: {
                         #[allow(unused_mut)]
@@ -744,9 +764,7 @@ fn lexicon_doc_games_gamesgamesgamesgames_richtext_facet() -> LexiconDoc<'static
             map.insert(
                 SmolStr::new_static("tag"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("Facet feature for a hashtag."),
-                    ),
+                    description: Some(CowStr::new_static("Facet feature for a hashtag.")),
                     required: Some(vec![SmolStr::new_static("tag")]),
                     properties: {
                         #[allow(unused_mut)]
@@ -767,19 +785,21 @@ fn lexicon_doc_games_gamesgamesgamesgames_richtext_facet() -> LexiconDoc<'static
             map.insert(
                 SmolStr::new_static("video"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("Facet feature for an inline video."),
-                    ),
+                    description: Some(CowStr::new_static("Facet feature for an inline video.")),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("alt"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("blob"),
-                            LexObjectProperty::Blob(LexBlob { ..Default::default() }),
+                            LexObjectProperty::Blob(LexBlob {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("uri"),
@@ -801,7 +821,7 @@ fn lexicon_doc_games_gamesgamesgamesgames_richtext_facet() -> LexiconDoc<'static
 
 pub mod byte_slice_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -921,10 +941,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> ByteSlice {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> ByteSlice {
         ByteSlice {
             byte_end: self._fields.0.unwrap(),
             byte_start: self._fields.1.unwrap(),
@@ -935,7 +952,7 @@ where
 
 pub mod heading_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1032,7 +1049,7 @@ where
 
 pub mod image_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1174,7 +1191,7 @@ where
 
 pub mod link_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1235,10 +1252,7 @@ where
     St::Uri: link_state::IsUnset,
 {
     /// Set the `uri` field (required)
-    pub fn uri(
-        mut self,
-        value: impl Into>,
-    ) -> LinkBuilder> {
+    pub fn uri(mut self, value: impl Into>) -> LinkBuilder> {
         self._fields.0 = Option::Some(value.into());
         LinkBuilder {
             _state: PhantomData,
@@ -1285,7 +1299,7 @@ impl Default for ListItem {
 
 pub mod facet_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1330,7 +1344,10 @@ pub mod facet_state {
 /// Builder for constructing an instance of this type.
 pub struct FacetBuilder {
     _state: PhantomData St>,
-    _fields: (Option>>, Option>),
+    _fields: (
+        Option>>,
+        Option>,
+    ),
     _type: PhantomData S>,
 }
 
@@ -1416,7 +1433,7 @@ where
 
 pub mod mention_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1477,10 +1494,7 @@ where
     St::Did: mention_state::IsUnset,
 {
     /// Set the `did` field (required)
-    pub fn did(
-        mut self,
-        value: impl Into>,
-    ) -> MentionBuilder> {
+    pub fn did(mut self, value: impl Into>) -> MentionBuilder> {
         self._fields.0 = Option::Some(value.into());
         MentionBuilder {
             _state: PhantomData,
@@ -1509,4 +1523,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/games_gamesgamesgamesgames/search.rs b/crates/jacquard-api/src/games_gamesgamesgamesgames/search.rs
index 824df5ca..010d659e 100644
--- a/crates/jacquard-api/src/games_gamesgamesgamesgames/search.rs
+++ b/crates/jacquard-api/src/games_gamesgamesgamesgames/search.rs
@@ -8,21 +8,24 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
-#[allow(unused_imports)]
-use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
-use jacquard_common::deps::smol_str::SmolStr;
-use jacquard_common::types::value::Data;
-use jacquard_derive::{IntoStatic, open_union};
-use serde::{Serialize, Deserialize};
 use crate::games_gamesgamesgamesgames::CollectionSummaryView;
 use crate::games_gamesgamesgamesgames::EngineSummaryView;
 use crate::games_gamesgamesgamesgames::GameSummaryView;
 use crate::games_gamesgamesgamesgames::PlatformSummaryView;
 use crate::games_gamesgamesgamesgames::ProfileSummaryView;
+#[allow(unused_imports)]
+use core::marker::PhantomData;
+use jacquard_common::deps::smol_str::SmolStr;
+use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
+use jacquard_derive::{IntoStatic, open_union};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Search {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub age_ratings: Option>,
@@ -57,9 +60,11 @@ pub struct Search {
     pub types: Option>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct SearchOutput {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub cursor: Option,
@@ -71,7 +76,6 @@ pub struct SearchOutput {
     pub extra_data: Option>>,
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -126,7 +130,7 @@ fn _default_limit() -> Option {
 
 pub mod search_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -190,19 +194,7 @@ impl SearchBuilder {
         SearchBuilder {
             _state: PhantomData,
             _fields: (
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
+                None, None, None, None, None, None, None, None, None, None, None, None, None,
             ),
             _type: PhantomData,
         }
@@ -404,4 +396,4 @@ where
             types: self._fields.12,
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/games_gamesgamesgamesgames/search_profiles_typeahead.rs b/crates/jacquard-api/src/games_gamesgamesgamesgames/search_profiles_typeahead.rs
index d6c69f9b..e6515033 100644
--- a/crates/jacquard-api/src/games_gamesgamesgamesgames/search_profiles_typeahead.rs
+++ b/crates/jacquard-api/src/games_gamesgamesgamesgames/search_profiles_typeahead.rs
@@ -8,17 +8,20 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::games_gamesgamesgamesgames::ProfileSummaryView;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::games_gamesgamesgamesgames::ProfileSummaryView;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct SearchProfilesTypeahead {
     ///Defaults to `10`. Min: 1. Max: 25.
     #[serde(default = "_default_limit")]
@@ -27,9 +30,11 @@ pub struct SearchProfilesTypeahead {
     pub q: S,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct SearchProfilesTypeaheadOutput {
     pub profiles: Vec>,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
@@ -66,7 +71,7 @@ fn _default_limit() -> Option {
 
 pub mod search_profiles_typeahead_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -97,10 +102,7 @@ pub mod search_profiles_typeahead_state {
 }
 
 /// Builder for constructing an instance of this type.
-pub struct SearchProfilesTypeaheadBuilder<
-    S: BosStr,
-    St: search_profiles_typeahead_state::State,
-> {
+pub struct SearchProfilesTypeaheadBuilder {
     _state: PhantomData St>,
     _fields: (Option, Option),
     _type: PhantomData S>,
@@ -108,17 +110,12 @@ pub struct SearchProfilesTypeaheadBuilder<
 
 impl SearchProfilesTypeahead {
     /// Create a new builder for this type.
-    pub fn new() -> SearchProfilesTypeaheadBuilder<
-        S,
-        search_profiles_typeahead_state::Empty,
-    > {
+    pub fn new() -> SearchProfilesTypeaheadBuilder {
         SearchProfilesTypeaheadBuilder::new()
     }
 }
 
-impl<
-    S: BosStr,
-> SearchProfilesTypeaheadBuilder {
+impl SearchProfilesTypeaheadBuilder {
     /// Create a new builder with all fields unset.
     pub fn new() -> Self {
         SearchProfilesTypeaheadBuilder {
@@ -129,10 +126,7 @@ impl<
     }
 }
 
-impl<
-    S: BosStr,
-    St: search_profiles_typeahead_state::State,
-> SearchProfilesTypeaheadBuilder {
+impl SearchProfilesTypeaheadBuilder {
     /// Set the `limit` field (optional)
     pub fn limit(mut self, value: impl Into>) -> Self {
         self._fields.0 = value.into();
@@ -176,4 +170,4 @@ where
             q: self._fields.1.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/games_gamesgamesgamesgames/search_slugs.rs b/crates/jacquard-api/src/games_gamesgamesgamesgames/search_slugs.rs
index 3e4538db..8ba686c0 100644
--- a/crates/jacquard-api/src/games_gamesgamesgamesgames/search_slugs.rs
+++ b/crates/jacquard-api/src/games_gamesgamesgamesgames/search_slugs.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -21,13 +21,16 @@ use jacquard_derive::IntoStatic;
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::games_gamesgamesgamesgames::search_slugs;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::games_gamesgamesgamesgames::search_slugs;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct SearchSlugs {
     ///Defaults to `10`. Max: 100.
     #[serde(default = "_default_limit")]
@@ -36,18 +39,22 @@ pub struct SearchSlugs {
     pub slug: S,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct SearchSlugsOutput {
     pub slugs: Vec>,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct SlugResult {
     pub r#ref: AtUri,
     pub slug: S,
@@ -100,7 +107,7 @@ fn _default_limit() -> Option {
 
 pub mod search_slugs_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -203,7 +210,7 @@ where
 
 pub mod slug_result_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -323,10 +330,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> SlugResult {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> SlugResult {
         SlugResult {
             r#ref: self._fields.0.unwrap(),
             slug: self._fields.1.unwrap(),
@@ -336,10 +340,10 @@ where
 }
 
 fn lexicon_doc_games_gamesgamesgamesgames_searchSlugs() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("games.gamesgamesgamesgames.searchSlugs"),
@@ -348,43 +352,42 @@ fn lexicon_doc_games_gamesgamesgamesgames_searchSlugs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::XrpcQuery(LexXrpcQuery {
-                    parameters: Some(
-                        LexXrpcQueryParameter::Params(LexXrpcParameters {
-                            required: Some(vec![SmolStr::new_static("slug")]),
-                            properties: {
-                                #[allow(unused_mut)]
-                                let mut map = BTreeMap::new();
-                                map.insert(
-                                    SmolStr::new_static("limit"),
-                                    LexXrpcParametersProperty::Integer(LexInteger {
-                                        ..Default::default()
-                                    }),
-                                );
-                                map.insert(
-                                    SmolStr::new_static("slug"),
-                                    LexXrpcParametersProperty::String(LexString {
-                                        description: Some(
-                                            CowStr::new_static("The slug value to search for."),
-                                        ),
-                                        min_length: Some(1usize),
-                                        max_length: Some(64usize),
-                                        ..Default::default()
-                                    }),
-                                );
-                                map
-                            },
-                            ..Default::default()
-                        }),
-                    ),
+                    parameters: Some(LexXrpcQueryParameter::Params(LexXrpcParameters {
+                        required: Some(vec![SmolStr::new_static("slug")]),
+                        properties: {
+                            #[allow(unused_mut)]
+                            let mut map = BTreeMap::new();
+                            map.insert(
+                                SmolStr::new_static("limit"),
+                                LexXrpcParametersProperty::Integer(LexInteger {
+                                    ..Default::default()
+                                }),
+                            );
+                            map.insert(
+                                SmolStr::new_static("slug"),
+                                LexXrpcParametersProperty::String(LexString {
+                                    description: Some(CowStr::new_static(
+                                        "The slug value to search for.",
+                                    )),
+                                    min_length: Some(1usize),
+                                    max_length: Some(64usize),
+                                    ..Default::default()
+                                }),
+                            );
+                            map
+                        },
+                        ..Default::default()
+                    })),
                     ..Default::default()
                 }),
             );
             map.insert(
                 SmolStr::new_static("slugResult"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![SmolStr::new_static("slug"), SmolStr::new_static("ref")],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("slug"),
+                        SmolStr::new_static("ref"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -397,7 +400,9 @@ fn lexicon_doc_games_gamesgamesgamesgames_searchSlugs() -> LexiconDoc<'static> {
                         );
                         map.insert(
                             SmolStr::new_static("slug"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map
                     },
@@ -408,4 +413,4 @@ fn lexicon_doc_games_gamesgamesgamesgames_searchSlugs() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/games_gamesgamesgamesgames/slug.rs b/crates/jacquard-api/src/games_gamesgamesgamesgames/slug.rs
index 560a3ebb..377698b4 100644
--- a/crates/jacquard-api/src/games_gamesgamesgamesgames/slug.rs
+++ b/crates/jacquard-api/src/games_gamesgamesgamesgames/slug.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// A human-readable/writable slug pointing to a separate record by the slug's creator.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -128,7 +128,7 @@ impl LexiconSchema for Slug {
 
 pub mod slug_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -201,10 +201,7 @@ where
     St::Ref: slug_state::IsUnset,
 {
     /// Set the `ref` field (required)
-    pub fn r#ref(
-        mut self,
-        value: impl Into>,
-    ) -> SlugBuilder> {
+    pub fn r#ref(mut self, value: impl Into>) -> SlugBuilder> {
         self._fields.0 = Option::Some(value.into());
         SlugBuilder {
             _state: PhantomData,
@@ -220,10 +217,7 @@ where
     St::Slug: slug_state::IsUnset,
 {
     /// Set the `slug` field (required)
-    pub fn slug(
-        mut self,
-        value: impl Into,
-    ) -> SlugBuilder> {
+    pub fn slug(mut self, value: impl Into) -> SlugBuilder> {
         self._fields.1 = Option::Some(value.into());
         SlugBuilder {
             _state: PhantomData,
@@ -258,10 +252,10 @@ where
 }
 
 fn lexicon_doc_games_gamesgamesgamesgames_slug() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("games.gamesgamesgamesgames.slug"),
@@ -319,4 +313,4 @@ fn lexicon_doc_games_gamesgamesgamesgames_slug() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/garden_goals.rs b/crates/jacquard-api/src/garden_goals.rs
index f5fd5bad..37e4279e 100644
--- a/crates/jacquard-api/src/garden_goals.rs
+++ b/crates/jacquard-api/src/garden_goals.rs
@@ -7,4 +7,4 @@ pub mod category;
 pub mod completion;
 pub mod completion_details;
 pub mod goal;
-pub mod profile;
\ No newline at end of file
+pub mod profile;
diff --git a/crates/jacquard-api/src/garden_goals/category.rs b/crates/jacquard-api/src/garden_goals/category.rs
index 6d6bcc47..91edeb55 100644
--- a/crates/jacquard-api/src/garden_goals/category.rs
+++ b/crates/jacquard-api/src/garden_goals/category.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// A category for organizing goals.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -130,7 +130,7 @@ impl LexiconSchema for Category {
 
 pub mod category_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -255,10 +255,7 @@ where
     St::Name: category_state::IsUnset,
 {
     /// Set the `name` field (required)
-    pub fn name(
-        mut self,
-        value: impl Into,
-    ) -> CategoryBuilder> {
+    pub fn name(mut self, value: impl Into) -> CategoryBuilder> {
         self._fields.2 = Option::Some(value.into());
         CategoryBuilder {
             _state: PhantomData,
@@ -296,10 +293,10 @@ where
 }
 
 fn lexicon_doc_garden_goals_category() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("garden.goals.category"),
@@ -308,29 +305,23 @@ fn lexicon_doc_garden_goals_category() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static("A category for organizing goals."),
-                    ),
+                    description: Some(CowStr::new_static("A category for organizing goals.")),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("categoryId"),
-                                SmolStr::new_static("name"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("categoryId"),
+                            SmolStr::new_static("name"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
                             map.insert(
                                 SmolStr::new_static("categoryId"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "Unique identifier for the category (UUID)",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Unique identifier for the category (UUID)",
+                                    )),
                                     max_length: Some(64usize),
                                     ..Default::default()
                                 }),
@@ -338,11 +329,9 @@ fn lexicon_doc_garden_goals_category() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("createdAt"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "Timestamp when the category was created",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Timestamp when the category was created",
+                                    )),
                                     format: Some(LexStringFormat::Datetime),
                                     ..Default::default()
                                 }),
@@ -350,9 +339,9 @@ fn lexicon_doc_garden_goals_category() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("name"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("Display name of the category"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Display name of the category",
+                                    )),
                                     max_length: Some(100usize),
                                     ..Default::default()
                                 }),
@@ -368,4 +357,4 @@ fn lexicon_doc_garden_goals_category() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/garden_goals/completion.rs b/crates/jacquard-api/src/garden_goals/completion.rs
index a06c6722..8636ddaf 100644
--- a/crates/jacquard-api/src/garden_goals/completion.rs
+++ b/crates/jacquard-api/src/garden_goals/completion.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -27,7 +27,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// A record of completing a goal on a specific day.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -196,19 +196,16 @@ impl LexiconSchema for Completion {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["image/*"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("photo_blob"),
@@ -243,7 +240,7 @@ impl LexiconSchema for Completion {
 
 pub mod completion_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -540,10 +537,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> Completion {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> Completion {
         Completion {
             completed_at: self._fields.0.unwrap(),
             day: self._fields.1.unwrap(),
@@ -560,10 +554,10 @@ where
 }
 
 fn lexicon_doc_garden_goals_completion() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("garden.goals.completion"),
@@ -572,31 +566,27 @@ fn lexicon_doc_garden_goals_completion() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static(
-                            "A record of completing a goal on a specific day.",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "A record of completing a goal on a specific day.",
+                    )),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("goalId"), SmolStr::new_static("year"),
-                                SmolStr::new_static("month"), SmolStr::new_static("day"),
-                                SmolStr::new_static("completedAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("goalId"),
+                            SmolStr::new_static("year"),
+                            SmolStr::new_static("month"),
+                            SmolStr::new_static("day"),
+                            SmolStr::new_static("completedAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
                             map.insert(
                                 SmolStr::new_static("completedAt"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "Timestamp when the completion was recorded",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Timestamp when the completion was recorded",
+                                    )),
                                     format: Some(LexStringFormat::Datetime),
                                     ..Default::default()
                                 }),
@@ -612,11 +602,9 @@ fn lexicon_doc_garden_goals_completion() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("goalId"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "UUID of the goal this completion belongs to",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "UUID of the goal this completion belongs to",
+                                    )),
                                     max_length: Some(64usize),
                                     ..Default::default()
                                 }),
@@ -624,11 +612,9 @@ fn lexicon_doc_garden_goals_completion() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("goalUri"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "AT Protocol URI reference to the goal record",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "AT Protocol URI reference to the goal record",
+                                    )),
                                     format: Some(LexStringFormat::AtUri),
                                     ..Default::default()
                                 }),
@@ -644,16 +630,18 @@ fn lexicon_doc_garden_goals_completion() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("notes"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("Optional notes for this completion"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Optional notes for this completion",
+                                    )),
                                     max_length: Some(99usize),
                                     ..Default::default()
                                 }),
                             );
                             map.insert(
                                 SmolStr::new_static("photoBlob"),
-                                LexObjectProperty::Blob(LexBlob { ..Default::default() }),
+                                LexObjectProperty::Blob(LexBlob {
+                                    ..Default::default()
+                                }),
                             );
                             map.insert(
                                 SmolStr::new_static("sequenceNum"),
@@ -680,4 +668,4 @@ fn lexicon_doc_garden_goals_completion() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/garden_goals/completion_details.rs b/crates/jacquard-api/src/garden_goals/completion_details.rs
index c753e59c..9a61004a 100644
--- a/crates/jacquard-api/src/garden_goals/completion_details.rs
+++ b/crates/jacquard-api/src/garden_goals/completion_details.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -27,7 +27,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// Additional details (notes, photo) for a goal completion day.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -206,19 +206,16 @@ impl LexiconSchema for CompletionDetails {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["image/*"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("photo_blob"),
@@ -244,7 +241,7 @@ impl LexiconSchema for CompletionDetails {
 
 pub mod completion_details_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -541,10 +538,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> CompletionDetails {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> CompletionDetails {
         CompletionDetails {
             day: self._fields.0.unwrap(),
             goal_id: self._fields.1.unwrap(),
@@ -561,10 +555,10 @@ where
 }
 
 fn lexicon_doc_garden_goals_completionDetails() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("garden.goals.completionDetails"),
@@ -573,20 +567,18 @@ fn lexicon_doc_garden_goals_completionDetails() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static(
-                            "Additional details (notes, photo) for a goal completion day.",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Additional details (notes, photo) for a goal completion day.",
+                    )),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("goalId"), SmolStr::new_static("year"),
-                                SmolStr::new_static("month"), SmolStr::new_static("day"),
-                                SmolStr::new_static("updatedAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("goalId"),
+                            SmolStr::new_static("year"),
+                            SmolStr::new_static("month"),
+                            SmolStr::new_static("day"),
+                            SmolStr::new_static("updatedAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -601,11 +593,9 @@ fn lexicon_doc_garden_goals_completionDetails() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("goalId"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "UUID of the goal this details record belongs to",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "UUID of the goal this details record belongs to",
+                                    )),
                                     max_length: Some(64usize),
                                     ..Default::default()
                                 }),
@@ -613,11 +603,9 @@ fn lexicon_doc_garden_goals_completionDetails() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("goalUri"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "AT Protocol URI reference to the goal record",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "AT Protocol URI reference to the goal record",
+                                    )),
                                     format: Some(LexStringFormat::AtUri),
                                     ..Default::default()
                                 }),
@@ -633,9 +621,9 @@ fn lexicon_doc_garden_goals_completionDetails() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("notes"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("Optional notes for this day"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Optional notes for this day",
+                                    )),
                                     max_length: Some(99usize),
                                     ..Default::default()
                                 }),
@@ -643,25 +631,23 @@ fn lexicon_doc_garden_goals_completionDetails() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("photoAlt"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("Alt text for the photo"),
-                                    ),
+                                    description: Some(CowStr::new_static("Alt text for the photo")),
                                     max_length: Some(1000usize),
                                     ..Default::default()
                                 }),
                             );
                             map.insert(
                                 SmolStr::new_static("photoBlob"),
-                                LexObjectProperty::Blob(LexBlob { ..Default::default() }),
+                                LexObjectProperty::Blob(LexBlob {
+                                    ..Default::default()
+                                }),
                             );
                             map.insert(
                                 SmolStr::new_static("updatedAt"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "Timestamp when this details record was last updated",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Timestamp when this details record was last updated",
+                                    )),
                                     format: Some(LexStringFormat::Datetime),
                                     ..Default::default()
                                 }),
@@ -684,4 +670,4 @@ fn lexicon_doc_garden_goals_completionDetails() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/garden_goals/goal.rs b/crates/jacquard-api/src/garden_goals/goal.rs
index ebc3aa7f..e3180246 100644
--- a/crates/jacquard-api/src/garden_goals/goal.rs
+++ b/crates/jacquard-api/src/garden_goals/goal.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -27,7 +27,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// A goal to track daily completions for a year.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -184,19 +184,16 @@ impl LexiconSchema for Goal {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["image/*"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("completed_piece_blob"),
@@ -264,19 +261,16 @@ impl LexiconSchema for Goal {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["image/*"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("piece_blob"),
@@ -311,7 +305,7 @@ impl LexiconSchema for Goal {
 
 pub mod goal_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -419,20 +413,7 @@ impl GoalBuilder {
         GoalBuilder {
             _state: PhantomData,
             _fields: (
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
+                None, None, None, None, None, None, None, None, None, None, None, None, None, None,
                 None,
             ),
             _type: PhantomData,
@@ -556,10 +537,7 @@ where
     St::GoalId: goal_state::IsUnset,
 {
     /// Set the `goalId` field (required)
-    pub fn goal_id(
-        mut self,
-        value: impl Into,
-    ) -> GoalBuilder> {
+    pub fn goal_id(mut self, value: impl Into) -> GoalBuilder> {
         self._fields.8 = Option::Some(value.into());
         GoalBuilder {
             _state: PhantomData,
@@ -575,10 +553,7 @@ where
     St::Name: goal_state::IsUnset,
 {
     /// Set the `name` field (required)
-    pub fn name(
-        mut self,
-        value: impl Into,
-    ) -> GoalBuilder> {
+    pub fn name(mut self, value: impl Into) -> GoalBuilder> {
         self._fields.9 = Option::Some(value.into());
         GoalBuilder {
             _state: PhantomData,
@@ -646,10 +621,7 @@ where
     St::Year: goal_state::IsUnset,
 {
     /// Set the `year` field (required)
-    pub fn year(
-        mut self,
-        value: impl Into,
-    ) -> GoalBuilder> {
+    pub fn year(mut self, value: impl Into) -> GoalBuilder> {
         self._fields.14 = Option::Some(value.into());
         GoalBuilder {
             _state: PhantomData,
@@ -712,10 +684,10 @@ where
 }
 
 fn lexicon_doc_garden_goals_goal() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("garden.goals.goal"),
@@ -724,31 +696,26 @@ fn lexicon_doc_garden_goals_goal() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static(
-                            "A goal to track daily completions for a year.",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "A goal to track daily completions for a year.",
+                    )),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("goalId"), SmolStr::new_static("name"),
-                                SmolStr::new_static("year"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("goalId"),
+                            SmolStr::new_static("name"),
+                            SmolStr::new_static("year"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
                             map.insert(
                                 SmolStr::new_static("accentColor"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "Preset name or hex color for incomplete state",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Preset name or hex color for incomplete state",
+                                    )),
                                     max_length: Some(50usize),
                                     ..Default::default()
                                 }),
@@ -756,11 +723,9 @@ fn lexicon_doc_garden_goals_goal() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("categories"),
                                 LexObjectProperty::Array(LexArray {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "Array of category UUIDs this goal belongs to",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Array of category UUIDs this goal belongs to",
+                                    )),
                                     items: LexArrayItem::String(LexString {
                                         max_length: Some(64usize),
                                         ..Default::default()
@@ -771,11 +736,9 @@ fn lexicon_doc_garden_goals_goal() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("completedAccentColor"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "Preset name or hex color for complete state",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Preset name or hex color for complete state",
+                                    )),
                                     max_length: Some(50usize),
                                     ..Default::default()
                                 }),
@@ -783,23 +746,25 @@ fn lexicon_doc_garden_goals_goal() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("completedPiece"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("Shape name or emoji for complete state"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Shape name or emoji for complete state",
+                                    )),
                                     max_length: Some(100usize),
                                     ..Default::default()
                                 }),
                             );
                             map.insert(
                                 SmolStr::new_static("completedPieceBlob"),
-                                LexObjectProperty::Blob(LexBlob { ..Default::default() }),
+                                LexObjectProperty::Blob(LexBlob {
+                                    ..Default::default()
+                                }),
                             );
                             map.insert(
                                 SmolStr::new_static("completedPieceUrl"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("Favicon URL for complete state"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Favicon URL for complete state",
+                                    )),
                                     format: Some(LexStringFormat::Uri),
                                     ..Default::default()
                                 }),
@@ -807,9 +772,9 @@ fn lexicon_doc_garden_goals_goal() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("createdAt"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("Timestamp when the goal was created"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Timestamp when the goal was created",
+                                    )),
                                     format: Some(LexStringFormat::Datetime),
                                     ..Default::default()
                                 }),
@@ -817,9 +782,9 @@ fn lexicon_doc_garden_goals_goal() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("description"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("Optional description of the goal"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Optional description of the goal",
+                                    )),
                                     max_length: Some(500usize),
                                     ..Default::default()
                                 }),
@@ -827,9 +792,9 @@ fn lexicon_doc_garden_goals_goal() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("goalId"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("Unique identifier for the goal (UUID)"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Unique identifier for the goal (UUID)",
+                                    )),
                                     max_length: Some(64usize),
                                     ..Default::default()
                                 }),
@@ -837,9 +802,9 @@ fn lexicon_doc_garden_goals_goal() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("name"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("Display name of the goal"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Display name of the goal",
+                                    )),
                                     max_length: Some(100usize),
                                     ..Default::default()
                                 }),
@@ -847,25 +812,25 @@ fn lexicon_doc_garden_goals_goal() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("piece"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "Shape name or emoji for incomplete state",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Shape name or emoji for incomplete state",
+                                    )),
                                     max_length: Some(100usize),
                                     ..Default::default()
                                 }),
                             );
                             map.insert(
                                 SmolStr::new_static("pieceBlob"),
-                                LexObjectProperty::Blob(LexBlob { ..Default::default() }),
+                                LexObjectProperty::Blob(LexBlob {
+                                    ..Default::default()
+                                }),
                             );
                             map.insert(
                                 SmolStr::new_static("pieceUrl"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("Favicon URL for incomplete state"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Favicon URL for incomplete state",
+                                    )),
                                     format: Some(LexStringFormat::Uri),
                                     ..Default::default()
                                 }),
@@ -895,4 +860,4 @@ fn lexicon_doc_garden_goals_goal() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/garden_goals/profile.rs b/crates/jacquard-api/src/garden_goals/profile.rs
index 76c56397..1f39b882 100644
--- a/crates/jacquard-api/src/garden_goals/profile.rs
+++ b/crates/jacquard-api/src/garden_goals/profile.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// A user's Goals Garden profile record.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -104,7 +104,7 @@ impl LexiconSchema for Profile {
 
 pub mod profile_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -200,10 +200,10 @@ where
 }
 
 fn lexicon_doc_garden_goals_profile() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("garden.goals.profile"),
@@ -212,9 +212,7 @@ fn lexicon_doc_garden_goals_profile() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static("A user's Goals Garden profile record."),
-                    ),
+                    description: Some(CowStr::new_static("A user's Goals Garden profile record.")),
                     key: Some(CowStr::new_static("literal:self")),
                     record: LexRecordRecord::Object(LexObject {
                         required: Some(vec![SmolStr::new_static("joinedAt")]),
@@ -224,11 +222,9 @@ fn lexicon_doc_garden_goals_profile() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("joinedAt"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "Timestamp when the user joined Goals Garden",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Timestamp when the user joined Goals Garden",
+                                    )),
                                     format: Some(LexStringFormat::Datetime),
                                     ..Default::default()
                                 }),
@@ -244,4 +240,4 @@ fn lexicon_doc_garden_goals_profile() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/garden_lexicon.rs b/crates/jacquard-api/src/garden_lexicon.rs
index b8d493a4..72d67ad3 100644
--- a/crates/jacquard-api/src/garden_lexicon.rs
+++ b/crates/jacquard-api/src/garden_lexicon.rs
@@ -12,4 +12,4 @@ pub mod lawyerlike_deangelo;
 pub mod ngerakines;
 pub mod service;
 pub mod stunning_leafcutter;
-pub mod unconquered_modesto;
\ No newline at end of file
+pub mod unconquered_modesto;
diff --git a/crates/jacquard-api/src/garden_lexicon/conquering_wolfhound.rs b/crates/jacquard-api/src/garden_lexicon/conquering_wolfhound.rs
index 908d8db3..41d34567 100644
--- a/crates/jacquard-api/src/garden_lexicon/conquering_wolfhound.rs
+++ b/crates/jacquard-api/src/garden_lexicon/conquering_wolfhound.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod example;
\ No newline at end of file
+pub mod example;
diff --git a/crates/jacquard-api/src/garden_lexicon/conquering_wolfhound/example.rs b/crates/jacquard-api/src/garden_lexicon/conquering_wolfhound/example.rs
index d1e5f350..50223dcd 100644
--- a/crates/jacquard-api/src/garden_lexicon/conquering_wolfhound/example.rs
+++ b/crates/jacquard-api/src/garden_lexicon/conquering_wolfhound/example.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// The Conquering Wolfhound!!!!!!
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -101,10 +101,10 @@ impl LexiconSchema for Example {
 }
 
 fn lexicon_doc_garden_lexicon_conquering_wolfhound_example() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("garden.lexicon.conquering-wolfhound.example"),
@@ -113,9 +113,7 @@ fn lexicon_doc_garden_lexicon_conquering_wolfhound_example() -> LexiconDoc<'stat
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static("The Conquering Wolfhound!!!!!!"),
-                    ),
+                    description: Some(CowStr::new_static("The Conquering Wolfhound!!!!!!")),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
                         required: Some(vec![]),
@@ -133,4 +131,4 @@ fn lexicon_doc_garden_lexicon_conquering_wolfhound_example() -> LexiconDoc<'stat
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/garden_lexicon/documentation.rs b/crates/jacquard-api/src/garden_lexicon/documentation.rs
index 61eacd25..8414f65d 100644
--- a/crates/jacquard-api/src/garden_lexicon/documentation.rs
+++ b/crates/jacquard-api/src/garden_lexicon/documentation.rs
@@ -10,13 +10,13 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::collection::{Collection, RecordError};
-use jacquard_common::types::string::{AtUri, Nsid, Cid, Datetime, Language};
+use jacquard_common::types::string::{AtUri, Cid, Datetime, Language, Nsid};
 use jacquard_common::types::uri::{RecordUri, UriError};
 use jacquard_common::types::value::Data;
 use jacquard_common::xrpc::XrpcResp;
@@ -24,14 +24,17 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::garden_lexicon::documentation;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::garden_lexicon::documentation;
+use serde::{Deserialize, Serialize};
 /// Documentation for a definition within a lexicon.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct DefinitionDoc {
     ///Localized descriptions for this definition.
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -48,7 +51,10 @@ pub struct DefinitionDoc {
 /// A string with an associated language code.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct LocalizedString {
     ///ISO 639 language code (e.g., 'en', 'es', 'ja').
     pub lang: Language,
@@ -96,7 +102,10 @@ pub struct DocumentationGetRecordOutput {
 /// Documentation for a specific property within a definition.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct PropertyDoc {
     ///Localized descriptions for this property.
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -234,10 +243,10 @@ impl LexiconSchema for PropertyDoc {
 }
 
 fn lexicon_doc_garden_lexicon_documentation() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("garden.lexicon.documentation"),
@@ -305,23 +314,22 @@ fn lexicon_doc_garden_lexicon_documentation() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("localizedString"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("A string with an associated language code."),
-                    ),
-                    required: Some(
-                        vec![SmolStr::new_static("lang"), SmolStr::new_static("value")],
-                    ),
+                    description: Some(CowStr::new_static(
+                        "A string with an associated language code.",
+                    )),
+                    required: Some(vec![
+                        SmolStr::new_static("lang"),
+                        SmolStr::new_static("value"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("lang"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "ISO 639 language code (e.g., 'en', 'es', 'ja').",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "ISO 639 language code (e.g., 'en', 'es', 'ja').",
+                                )),
                                 format: Some(LexStringFormat::Language),
                                 ..Default::default()
                             }),
@@ -329,9 +337,9 @@ fn lexicon_doc_garden_lexicon_documentation() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("value"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("The localized string value."),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "The localized string value.",
+                                )),
                                 max_length: Some(10000usize),
                                 ..Default::default()
                             }),
@@ -424,11 +432,9 @@ fn lexicon_doc_garden_lexicon_documentation() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("propertyDoc"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static(
-                            "Documentation for a specific property within a definition.",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Documentation for a specific property within a definition.",
+                    )),
                     required: Some(vec![SmolStr::new_static("name")]),
                     properties: {
                         #[allow(unused_mut)]
@@ -436,11 +442,9 @@ fn lexicon_doc_garden_lexicon_documentation() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("description"),
                             LexObjectProperty::Array(LexArray {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "Localized descriptions for this property.",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Localized descriptions for this property.",
+                                )),
                                 items: LexArrayItem::Ref(LexRef {
                                     r#ref: CowStr::new_static("#localizedString"),
                                     ..Default::default()
@@ -451,9 +455,9 @@ fn lexicon_doc_garden_lexicon_documentation() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("name"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("The property name being documented."),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "The property name being documented.",
+                                )),
                                 max_length: Some(256usize),
                                 ..Default::default()
                             }),
@@ -471,7 +475,7 @@ fn lexicon_doc_garden_lexicon_documentation() -> LexiconDoc<'static> {
 
 pub mod localized_string_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -591,10 +595,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> LocalizedString {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> LocalizedString {
         LocalizedString {
             lang: self._fields.0.unwrap(),
             value: self._fields.1.unwrap(),
@@ -605,7 +606,7 @@ where
 
 pub mod documentation_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -770,10 +771,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> Documentation {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> Documentation {
         Documentation {
             created_at: self._fields.0.unwrap(),
             definitions: self._fields.1,
@@ -782,4 +780,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/garden_lexicon/example.rs b/crates/jacquard-api/src/garden_lexicon/example.rs
index 8ee10dd4..d6a3ec58 100644
--- a/crates/jacquard-api/src/garden_lexicon/example.rs
+++ b/crates/jacquard-api/src/garden_lexicon/example.rs
@@ -10,13 +10,13 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::collection::{Collection, RecordError};
-use jacquard_common::types::string::{AtUri, Nsid, Cid, Datetime};
+use jacquard_common::types::string::{AtUri, Cid, Datetime, Nsid};
 use jacquard_common::types::uri::{RecordUri, UriError};
 use jacquard_common::types::value::Data;
 use jacquard_common::xrpc::XrpcResp;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// An example value for a lexicon schema
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -111,7 +111,7 @@ impl LexiconSchema for Example {
 
 pub mod example_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -170,7 +170,12 @@ pub mod example_state {
 /// Builder for constructing an instance of this type.
 pub struct ExampleBuilder {
     _state: PhantomData St>,
-    _fields: (Option, Option, Option>, Option>),
+    _fields: (
+        Option,
+        Option,
+        Option>,
+        Option>,
+    ),
     _type: PhantomData S>,
 }
 
@@ -292,10 +297,10 @@ where
 }
 
 fn lexicon_doc_garden_lexicon_example() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("garden.lexicon.example"),
@@ -304,29 +309,23 @@ fn lexicon_doc_garden_lexicon_example() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static("An example value for a lexicon schema"),
-                    ),
+                    description: Some(CowStr::new_static("An example value for a lexicon schema")),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("lexicon"),
-                                SmolStr::new_static("value"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("lexicon"),
+                            SmolStr::new_static("value"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
                             map.insert(
                                 SmolStr::new_static("createdAt"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "The user-supplied date and time the example was created.",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "The user-supplied date and time the example was created.",
+                                    )),
                                     format: Some(LexStringFormat::Datetime),
                                     ..Default::default()
                                 }),
@@ -334,18 +333,18 @@ fn lexicon_doc_garden_lexicon_example() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("description"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("A description of the example."),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "A description of the example.",
+                                    )),
                                     ..Default::default()
                                 }),
                             );
                             map.insert(
                                 SmolStr::new_static("lexicon"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("The NSID that the example is of."),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "The NSID that the example is of.",
+                                    )),
                                     format: Some(LexStringFormat::Nsid),
                                     ..Default::default()
                                 }),
@@ -367,4 +366,4 @@ fn lexicon_doc_garden_lexicon_example() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/garden_lexicon/exultant_zebra.rs b/crates/jacquard-api/src/garden_lexicon/exultant_zebra.rs
index 9ec66f14..bd5eff26 100644
--- a/crates/jacquard-api/src/garden_lexicon/exultant_zebra.rs
+++ b/crates/jacquard-api/src/garden_lexicon/exultant_zebra.rs
@@ -7,4 +7,4 @@ pub mod app;
 pub mod distribution;
 pub mod masl;
 pub mod tile;
-pub mod tile_embed;
\ No newline at end of file
+pub mod tile_embed;
diff --git a/crates/jacquard-api/src/garden_lexicon/exultant_zebra/app.rs b/crates/jacquard-api/src/garden_lexicon/exultant_zebra/app.rs
index 09ba6df2..5d0df0ca 100644
--- a/crates/jacquard-api/src/garden_lexicon/exultant_zebra/app.rs
+++ b/crates/jacquard-api/src/garden_lexicon/exultant_zebra/app.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::com_atproto::repo::strong_ref::StrongRef;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::com_atproto::repo::strong_ref::StrongRef;
+use serde::{Deserialize, Serialize};
 /// An application record.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -110,7 +110,7 @@ impl LexiconSchema for App {
 
 pub mod app_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -252,10 +252,10 @@ where
 }
 
 fn lexicon_doc_garden_lexicon_exultant_zebra_app() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("garden.lexicon.exultant-zebra.app"),
@@ -267,34 +267,28 @@ fn lexicon_doc_garden_lexicon_exultant_zebra_app() -> LexiconDoc<'static> {
                     description: Some(CowStr::new_static("An application record.")),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("name"),
-                                SmolStr::new_static("distributions")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("name"),
+                            SmolStr::new_static("distributions"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
                             map.insert(
                                 SmolStr::new_static("description"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "An optional description of the application.",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "An optional description of the application.",
+                                    )),
                                     ..Default::default()
                                 }),
                             );
                             map.insert(
                                 SmolStr::new_static("distributions"),
                                 LexObjectProperty::Array(LexArray {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "A list of strong references to distribution records.",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "A list of strong references to distribution records.",
+                                    )),
                                     items: LexArrayItem::Ref(LexRef {
                                         r#ref: CowStr::new_static("com.atproto.repo.strongRef"),
                                         ..Default::default()
@@ -305,9 +299,9 @@ fn lexicon_doc_garden_lexicon_exultant_zebra_app() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("name"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("The name of the application."),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "The name of the application.",
+                                    )),
                                     ..Default::default()
                                 }),
                             );
@@ -322,4 +316,4 @@ fn lexicon_doc_garden_lexicon_exultant_zebra_app() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/garden_lexicon/exultant_zebra/distribution.rs b/crates/jacquard-api/src/garden_lexicon/exultant_zebra/distribution.rs
index 38870905..a9af0a3c 100644
--- a/crates/jacquard-api/src/garden_lexicon/exultant_zebra/distribution.rs
+++ b/crates/jacquard-api/src/garden_lexicon/exultant_zebra/distribution.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -25,14 +25,17 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::garden_lexicon::exultant_zebra::distribution;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::garden_lexicon::exultant_zebra::distribution;
+use serde::{Deserialize, Serialize};
 /// A downloadable artifact within a distribution.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Artifact {
     ///An optional description of this artifact.
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -100,19 +103,16 @@ impl LexiconSchema for Artifact {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["*/*"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("download"),
@@ -170,7 +170,7 @@ impl LexiconSchema for Distribution {
 
 pub mod artifact_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -296,10 +296,10 @@ where
 }
 
 fn lexicon_doc_garden_lexicon_exultant_zebra_distribution() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("garden.lexicon.exultant-zebra.distribution"),
@@ -354,28 +354,22 @@ fn lexicon_doc_garden_lexicon_exultant_zebra_distribution() -> LexiconDoc<'stati
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static("A distribution of an application."),
-                    ),
+                    description: Some(CowStr::new_static("A distribution of an application.")),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("version"),
-                                SmolStr::new_static("artifacts")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("version"),
+                            SmolStr::new_static("artifacts"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
                             map.insert(
                                 SmolStr::new_static("artifacts"),
                                 LexObjectProperty::Array(LexArray {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "The list of downloadable artifacts for this distribution.",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "The list of downloadable artifacts for this distribution.",
+                                    )),
                                     items: LexArrayItem::Ref(LexRef {
                                         r#ref: CowStr::new_static("#artifact"),
                                         ..Default::default()
@@ -386,22 +380,18 @@ fn lexicon_doc_garden_lexicon_exultant_zebra_distribution() -> LexiconDoc<'stati
                             map.insert(
                                 SmolStr::new_static("description"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "An optional description of this distribution.",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "An optional description of this distribution.",
+                                    )),
                                     ..Default::default()
                                 }),
                             );
                             map.insert(
                                 SmolStr::new_static("version"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "The version of this distribution, e.g. '0.14.0'.",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "The version of this distribution, e.g. '0.14.0'.",
+                                    )),
                                     ..Default::default()
                                 }),
                             );
@@ -420,7 +410,7 @@ fn lexicon_doc_garden_lexicon_exultant_zebra_distribution() -> LexiconDoc<'stati
 
 pub mod distribution_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -554,10 +544,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> Distribution {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> Distribution {
         Distribution {
             artifacts: self._fields.0.unwrap(),
             description: self._fields.1,
@@ -565,4 +552,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/garden_lexicon/exultant_zebra/masl.rs b/crates/jacquard-api/src/garden_lexicon/exultant_zebra/masl.rs
index a5b66887..4ed46767 100644
--- a/crates/jacquard-api/src/garden_lexicon/exultant_zebra/masl.rs
+++ b/crates/jacquard-api/src/garden_lexicon/exultant_zebra/masl.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -21,14 +21,17 @@ use jacquard_derive::IntoStatic;
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::garden_lexicon::exultant_zebra::masl;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::garden_lexicon::exultant_zebra::masl;
+use serde::{Deserialize, Serialize};
 /// A bundle of resources.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Masl {
     ///Optional name for the bundle.
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -42,7 +45,10 @@ pub struct Masl {
 /// A single resource identified by a CID.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Resource {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub content_type: Option,
@@ -87,7 +93,7 @@ impl LexiconSchema for Resource {
 
 pub mod masl_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -198,10 +204,10 @@ where
 }
 
 fn lexicon_doc_garden_lexicon_exultant_zebra_masl() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("garden.lexicon.exultant-zebra.masl"),
@@ -218,18 +224,18 @@ fn lexicon_doc_garden_lexicon_exultant_zebra_masl() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("name"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Optional name for the bundle."),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Optional name for the bundle.",
+                                )),
                                 ..Default::default()
                             }),
                         );
                         map.insert(
                             SmolStr::new_static("resources"),
                             LexObjectProperty::Array(LexArray {
-                                description: Some(
-                                    CowStr::new_static("The resources in this bundle."),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "The resources in this bundle.",
+                                )),
                                 items: LexArrayItem::Ref(LexRef {
                                     r#ref: CowStr::new_static(
                                         "garden.lexicon.exultant-zebra.masl#resource",
@@ -247,31 +253,31 @@ fn lexicon_doc_garden_lexicon_exultant_zebra_masl() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("resource"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("A single resource identified by a CID."),
-                    ),
+                    description: Some(CowStr::new_static("A single resource identified by a CID.")),
                     required: Some(vec![SmolStr::new_static("src")]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("contentType"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("path"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "Optional path for this resource (e.g. '/index.html').",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Optional path for this resource (e.g. '/index.html').",
+                                )),
                                 ..Default::default()
                             }),
                         );
                         map.insert(
                             SmolStr::new_static("src"),
-                            LexObjectProperty::Blob(LexBlob { ..Default::default() }),
+                            LexObjectProperty::Blob(LexBlob {
+                                ..Default::default()
+                            }),
                         );
                         map
                     },
@@ -286,7 +292,7 @@ fn lexicon_doc_garden_lexicon_exultant_zebra_masl() -> LexiconDoc<'static> {
 
 pub mod resource_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -409,4 +415,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/garden_lexicon/exultant_zebra/tile.rs b/crates/jacquard-api/src/garden_lexicon/exultant_zebra/tile.rs
index d1799a4b..36ebccf2 100644
--- a/crates/jacquard-api/src/garden_lexicon/exultant_zebra/tile.rs
+++ b/crates/jacquard-api/src/garden_lexicon/exultant_zebra/tile.rs
@@ -10,14 +10,14 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::blob::BlobRef;
 use jacquard_common::types::collection::{Collection, RecordError};
-use jacquard_common::types::string::{AtUri, Nsid, Cid};
+use jacquard_common::types::string::{AtUri, Cid, Nsid};
 use jacquard_common::types::uri::{RecordUri, UriError};
 use jacquard_common::types::value::Data;
 use jacquard_common::xrpc::XrpcResp;
@@ -25,17 +25,20 @@ use jacquard_derive::{IntoStatic, lexicon, open_union};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::app_bsky::richtext::facet::Facet;
 use crate::garden_lexicon::exultant_zebra::masl::Masl;
 use crate::garden_lexicon::exultant_zebra::masl::Resource;
 use crate::garden_lexicon::exultant_zebra::tile;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// Declares the AT Protocol interactions a tile performs. Methods listed here gate which XRPC calls the tile is allowed to attempt (the user must still grant per-method consent). Collections and services are informational metadata for display and auditing.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Interactions {
     ///Repository collection NSIDs this tile reads from or writes to.
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -180,7 +183,6 @@ where
     }
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -205,7 +207,10 @@ pub struct TileGetRecordOutput {
 /// Declares an input parameter for a tile, similar to XRPC query parameters.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Param {
     ///Default value for this parameter, encoded as a string.
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -392,25 +397,20 @@ impl LexiconSchema for Tile {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["image/png", "image/jpeg"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("icon"),
-                        accepted: vec![
-                            "image/png".to_string(), "image/jpeg".to_string()
-                        ],
+                        accepted: vec!["image/png".to_string(), "image/jpeg".to_string()],
                         actual: mime.to_string(),
                     });
                 }
@@ -432,25 +432,20 @@ impl LexiconSchema for Tile {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["image/png", "image/jpeg"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("loading_image"),
-                        accepted: vec![
-                            "image/png".to_string(), "image/jpeg".to_string()
-                        ],
+                        accepted: vec!["image/png".to_string(), "image/jpeg".to_string()],
                         actual: mime.to_string(),
                     });
                 }
@@ -497,10 +492,10 @@ impl LexiconSchema for Param {
 }
 
 fn lexicon_doc_garden_lexicon_exultant_zebra_tile() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("garden.lexicon.exultant-zebra.tile"),
@@ -759,7 +754,7 @@ fn lexicon_doc_garden_lexicon_exultant_zebra_tile() -> LexiconDoc<'static> {
 
 pub mod tile_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -909,10 +904,7 @@ impl TileBuilder {
 
 impl TileBuilder {
     /// Set the `interactions` field (optional)
-    pub fn interactions(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn interactions(mut self, value: impl Into>>) -> Self {
         self._fields.5 = value.into();
         self
     }
@@ -942,10 +934,7 @@ where
     St::Name: tile_state::IsUnset,
 {
     /// Set the `name` field (required)
-    pub fn name(
-        mut self,
-        value: impl Into,
-    ) -> TileBuilder> {
+    pub fn name(mut self, value: impl Into) -> TileBuilder> {
         self._fields.7 = Option::Some(value.into());
         TileBuilder {
             _state: PhantomData,
@@ -1004,4 +993,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/garden_lexicon/exultant_zebra/tile_embed.rs b/crates/jacquard-api/src/garden_lexicon/exultant_zebra/tile_embed.rs
index 63860a3b..f461257e 100644
--- a/crates/jacquard-api/src/garden_lexicon/exultant_zebra/tile_embed.rs
+++ b/crates/jacquard-api/src/garden_lexicon/exultant_zebra/tile_embed.rs
@@ -20,14 +20,17 @@ use jacquard_derive::IntoStatic;
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::com_atproto::repo::strong_ref::StrongRef;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::com_atproto::repo::strong_ref::StrongRef;
+use serde::{Deserialize, Serialize};
 /// A tile embed containing a strong reference to a tile record.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct TileEmbed {
     ///A strong reference to a garden.lexicon.exultant-zebra.tile record.
     pub tile: StrongRef,
@@ -52,7 +55,7 @@ impl LexiconSchema for TileEmbed {
 
 pub mod tile_embed_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -139,10 +142,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> TileEmbed {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> TileEmbed {
         TileEmbed {
             tile: self._fields.0.unwrap(),
             extra_data: Some(extra_data),
@@ -151,10 +151,10 @@ where
 }
 
 fn lexicon_doc_garden_lexicon_exultant_zebra_tileEmbed() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("garden.lexicon.exultant-zebra.tileEmbed"),
@@ -163,11 +163,9 @@ fn lexicon_doc_garden_lexicon_exultant_zebra_tileEmbed() -> LexiconDoc<'static>
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static(
-                            "A tile embed containing a strong reference to a tile record.",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "A tile embed containing a strong reference to a tile record.",
+                    )),
                     required: Some(vec![SmolStr::new_static("tile")]),
                     properties: {
                         #[allow(unused_mut)]
@@ -188,4 +186,4 @@ fn lexicon_doc_garden_lexicon_exultant_zebra_tileEmbed() -> LexiconDoc<'static>
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/garden_lexicon/joyous_grackle.rs b/crates/jacquard-api/src/garden_lexicon/joyous_grackle.rs
index 908d8db3..41d34567 100644
--- a/crates/jacquard-api/src/garden_lexicon/joyous_grackle.rs
+++ b/crates/jacquard-api/src/garden_lexicon/joyous_grackle.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod example;
\ No newline at end of file
+pub mod example;
diff --git a/crates/jacquard-api/src/garden_lexicon/joyous_grackle/example.rs b/crates/jacquard-api/src/garden_lexicon/joyous_grackle/example.rs
index a8c17178..2977c016 100644
--- a/crates/jacquard-api/src/garden_lexicon/joyous_grackle/example.rs
+++ b/crates/jacquard-api/src/garden_lexicon/joyous_grackle/example.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// My lexicon description
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -101,10 +101,10 @@ impl LexiconSchema for Example {
 }
 
 fn lexicon_doc_garden_lexicon_joyous_grackle_example() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("garden.lexicon.joyous-grackle.example"),
@@ -131,4 +131,4 @@ fn lexicon_doc_garden_lexicon_joyous_grackle_example() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/garden_lexicon/lawyerlike_deangelo.rs b/crates/jacquard-api/src/garden_lexicon/lawyerlike_deangelo.rs
index 908d8db3..41d34567 100644
--- a/crates/jacquard-api/src/garden_lexicon/lawyerlike_deangelo.rs
+++ b/crates/jacquard-api/src/garden_lexicon/lawyerlike_deangelo.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod example;
\ No newline at end of file
+pub mod example;
diff --git a/crates/jacquard-api/src/garden_lexicon/lawyerlike_deangelo/example.rs b/crates/jacquard-api/src/garden_lexicon/lawyerlike_deangelo/example.rs
index 336ca84c..f35e363e 100644
--- a/crates/jacquard-api/src/garden_lexicon/lawyerlike_deangelo/example.rs
+++ b/crates/jacquard-api/src/garden_lexicon/lawyerlike_deangelo/example.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// My lexicon description
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -101,10 +101,10 @@ impl LexiconSchema for Example {
 }
 
 fn lexicon_doc_garden_lexicon_lawyerlike_deangelo_example() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("garden.lexicon.lawyerlike-deangelo.example"),
@@ -131,4 +131,4 @@ fn lexicon_doc_garden_lexicon_lawyerlike_deangelo_example() -> LexiconDoc<'stati
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/garden_lexicon/ngerakines.rs b/crates/jacquard-api/src/garden_lexicon/ngerakines.rs
index 6098fca6..6ac88483 100644
--- a/crates/jacquard-api/src/garden_lexicon/ngerakines.rs
+++ b/crates/jacquard-api/src/garden_lexicon/ngerakines.rs
@@ -4,4 +4,4 @@
 // Any manual changes will be overwritten on the next regeneration.
 
 pub mod helloworld;
-pub mod semeion;
\ No newline at end of file
+pub mod semeion;
diff --git a/crates/jacquard-api/src/garden_lexicon/ngerakines/helloworld.rs b/crates/jacquard-api/src/garden_lexicon/ngerakines/helloworld.rs
index 02092a52..cbe7e0a6 100644
--- a/crates/jacquard-api/src/garden_lexicon/ngerakines/helloworld.rs
+++ b/crates/jacquard-api/src/garden_lexicon/ngerakines/helloworld.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod hello;
\ No newline at end of file
+pub mod hello;
diff --git a/crates/jacquard-api/src/garden_lexicon/ngerakines/helloworld/hello.rs b/crates/jacquard-api/src/garden_lexicon/ngerakines/helloworld/hello.rs
index 4ac60c0a..22054069 100644
--- a/crates/jacquard-api/src/garden_lexicon/ngerakines/helloworld/hello.rs
+++ b/crates/jacquard-api/src/garden_lexicon/ngerakines/helloworld/hello.rs
@@ -10,23 +10,28 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Hello {
     ///(max length: 55)
     #[serde(skip_serializing_if = "Option::is_none")]
     pub subject: Option,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct HelloOutput {
     pub message: S,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
@@ -59,7 +64,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for HelloRequest {
 
 pub mod hello_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -120,6 +125,8 @@ where
 {
     /// Build the final struct.
     pub fn build(self) -> Hello {
-        Hello { subject: self._fields.0 }
+        Hello {
+            subject: self._fields.0,
+        }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/garden_lexicon/ngerakines/semeion.rs b/crates/jacquard-api/src/garden_lexicon/ngerakines/semeion.rs
index 929ca136..7b8c63bb 100644
--- a/crates/jacquard-api/src/garden_lexicon/ngerakines/semeion.rs
+++ b/crates/jacquard-api/src/garden_lexicon/ngerakines/semeion.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod sign;
\ No newline at end of file
+pub mod sign;
diff --git a/crates/jacquard-api/src/garden_lexicon/ngerakines/semeion/sign.rs b/crates/jacquard-api/src/garden_lexicon/ngerakines/semeion/sign.rs
index f801da46..f286f649 100644
--- a/crates/jacquard-api/src/garden_lexicon/ngerakines/semeion/sign.rs
+++ b/crates/jacquard-api/src/garden_lexicon/ngerakines/semeion/sign.rs
@@ -10,12 +10,12 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::bytes::Bytes;
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(rename_all = "camelCase")]
@@ -23,7 +23,6 @@ pub struct Sign {
     pub body: Bytes,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(rename_all = "camelCase")]
 pub struct SignOutput {
@@ -60,22 +59,16 @@ impl jacquard_common::xrpc::XrpcResp for SignResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for Sign {
     const NSID: &'static str = "garden.lexicon.ngerakines.semeion.Sign";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "*/*",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("*/*");
     type Response = SignResponse;
-    fn encode_body(
-        &self,
-        buffer: &mut Vec,
-    ) -> Result<(), jacquard_common::xrpc::EncodeError>
+    fn encode_body(&self, buffer: &mut Vec) -> Result<(), jacquard_common::xrpc::EncodeError>
     where
         Self: Serialize,
     {
         Ok(buffer.copy_from_slice(self.body.as_ref()))
     }
-    fn decode_body<'de>(
-        body: &'de [u8],
-    ) -> Result
+    fn decode_body<'de>(body: &'de [u8]) -> Result
     where
         Self: Deserialize<'de>,
     {
@@ -89,9 +82,8 @@ impl jacquard_common::xrpc::XrpcRequest for Sign {
 pub struct SignRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for SignRequest {
     const PATH: &'static str = "/xrpc/garden.lexicon.ngerakines.semeion.Sign";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "*/*",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("*/*");
     type Request = Sign;
     type Response = SignResponse;
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/garden_lexicon/service.rs b/crates/jacquard-api/src/garden_lexicon/service.rs
index 523a161e..d244db51 100644
--- a/crates/jacquard-api/src/garden_lexicon/service.rs
+++ b/crates/jacquard-api/src/garden_lexicon/service.rs
@@ -10,13 +10,13 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::collection::{Collection, RecordError};
-use jacquard_common::types::string::{AtUri, Nsid, Cid};
+use jacquard_common::types::string::{AtUri, Cid, Nsid};
 use jacquard_common::types::uri::{RecordUri, UriError};
 use jacquard_common::types::value::Data;
 use jacquard_common::xrpc::XrpcResp;
@@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::garden_lexicon::service;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::garden_lexicon::service;
+use serde::{Deserialize, Serialize};
 /// Declares XRPC methods available on a DID document service. The rkey is the service fragment ID without the # prefix (e.g., 'atproto_pds' for '#atproto_pds').
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -64,9 +64,11 @@ pub struct ServiceGetRecordOutput {
     pub value: Service,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Method {
     ///Authentication methods supported by this method.
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -80,9 +82,11 @@ pub struct Method {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct UrlTemplate {
     ///NSIDs of collections this URL template applies to.
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -218,7 +222,7 @@ impl LexiconSchema for UrlTemplate {
 
 pub mod service_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -325,18 +329,12 @@ where
 
 impl ServiceBuilder {
     /// Set the `urlTemplates` field (optional)
-    pub fn url_templates(
-        mut self,
-        value: impl Into>>>,
-    ) -> Self {
+    pub fn url_templates(mut self, value: impl Into>>>) -> Self {
         self._fields.3 = value.into();
         self
     }
     /// Set the `urlTemplates` field to an Option value (optional)
-    pub fn maybe_url_templates(
-        mut self,
-        value: Option>>,
-    ) -> Self {
+    pub fn maybe_url_templates(mut self, value: Option>>) -> Self {
         self._fields.3 = value;
         self
     }
@@ -370,10 +368,10 @@ where
 }
 
 fn lexicon_doc_garden_lexicon_service() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("garden.lexicon.service"),
@@ -460,11 +458,9 @@ fn lexicon_doc_garden_lexicon_service() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("authMethods"),
                             LexObjectProperty::Array(LexArray {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "Authentication methods supported by this method.",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Authentication methods supported by this method.",
+                                )),
                                 items: LexArrayItem::String(LexString {
                                     max_length: Some(50usize),
                                     ..Default::default()
@@ -481,11 +477,9 @@ fn lexicon_doc_garden_lexicon_service() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("lexicon"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "AT-URI pointing to a lexicon schema that defines this method.",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "AT-URI pointing to a lexicon schema that defines this method.",
+                                )),
                                 format: Some(LexStringFormat::AtUri),
                                 ..Default::default()
                             }),
@@ -505,11 +499,9 @@ fn lexicon_doc_garden_lexicon_service() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("collections"),
                             LexObjectProperty::Array(LexArray {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "NSIDs of collections this URL template applies to.",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "NSIDs of collections this URL template applies to.",
+                                )),
                                 items: LexArrayItem::String(LexString {
                                     format: Some(LexStringFormat::Nsid),
                                     ..Default::default()
@@ -520,11 +512,9 @@ fn lexicon_doc_garden_lexicon_service() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("description"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "Description of what this URL template is for.",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Description of what this URL template is for.",
+                                )),
                                 max_length: Some(1000usize),
                                 ..Default::default()
                             }),
@@ -532,11 +522,9 @@ fn lexicon_doc_garden_lexicon_service() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("url"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "URI template with placeholders for record data",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "URI template with placeholders for record data",
+                                )),
                                 max_length: Some(2000usize),
                                 ..Default::default()
                             }),
@@ -554,7 +542,7 @@ fn lexicon_doc_garden_lexicon_service() -> LexiconDoc<'static> {
 
 pub mod method_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -677,4 +665,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/garden_lexicon/stunning_leafcutter.rs b/crates/jacquard-api/src/garden_lexicon/stunning_leafcutter.rs
index 908d8db3..41d34567 100644
--- a/crates/jacquard-api/src/garden_lexicon/stunning_leafcutter.rs
+++ b/crates/jacquard-api/src/garden_lexicon/stunning_leafcutter.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod example;
\ No newline at end of file
+pub mod example;
diff --git a/crates/jacquard-api/src/garden_lexicon/stunning_leafcutter/example.rs b/crates/jacquard-api/src/garden_lexicon/stunning_leafcutter/example.rs
index 562d32dc..68e8818e 100644
--- a/crates/jacquard-api/src/garden_lexicon/stunning_leafcutter/example.rs
+++ b/crates/jacquard-api/src/garden_lexicon/stunning_leafcutter/example.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// My lexicon description
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -101,10 +101,10 @@ impl LexiconSchema for Example {
 }
 
 fn lexicon_doc_garden_lexicon_stunning_leafcutter_example() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("garden.lexicon.stunning-leafcutter.example"),
@@ -131,4 +131,4 @@ fn lexicon_doc_garden_lexicon_stunning_leafcutter_example() -> LexiconDoc<'stati
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/garden_lexicon/unconquered_modesto.rs b/crates/jacquard-api/src/garden_lexicon/unconquered_modesto.rs
index 908d8db3..41d34567 100644
--- a/crates/jacquard-api/src/garden_lexicon/unconquered_modesto.rs
+++ b/crates/jacquard-api/src/garden_lexicon/unconquered_modesto.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod example;
\ No newline at end of file
+pub mod example;
diff --git a/crates/jacquard-api/src/garden_lexicon/unconquered_modesto/example.rs b/crates/jacquard-api/src/garden_lexicon/unconquered_modesto/example.rs
index 823a717a..10d743bd 100644
--- a/crates/jacquard-api/src/garden_lexicon/unconquered_modesto/example.rs
+++ b/crates/jacquard-api/src/garden_lexicon/unconquered_modesto/example.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// My lexicon description
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -103,7 +103,7 @@ impl LexiconSchema for Example {
 
 pub mod example_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -199,10 +199,10 @@ where
 }
 
 fn lexicon_doc_garden_lexicon_unconquered_modesto_example() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("garden.lexicon.unconquered-modesto.example"),
@@ -235,4 +235,4 @@ fn lexicon_doc_garden_lexicon_unconquered_modesto_example() -> LexiconDoc<'stati
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/haus_opn.rs b/crates/jacquard-api/src/haus_opn.rs
index edcc53d8..abc39d7a 100644
--- a/crates/jacquard-api/src/haus_opn.rs
+++ b/crates/jacquard-api/src/haus_opn.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod mic;
\ No newline at end of file
+pub mod mic;
diff --git a/crates/jacquard-api/src/haus_opn/mic.rs b/crates/jacquard-api/src/haus_opn/mic.rs
index 1e0969a9..a03cf4ce 100644
--- a/crates/jacquard-api/src/haus_opn/mic.rs
+++ b/crates/jacquard-api/src/haus_opn/mic.rs
@@ -4,4 +4,4 @@
 // Any manual changes will be overwritten on the next regeneration.
 
 pub mod artist;
-pub mod show;
\ No newline at end of file
+pub mod show;
diff --git a/crates/jacquard-api/src/haus_opn/mic/artist.rs b/crates/jacquard-api/src/haus_opn/mic/artist.rs
index 49dd2cb7..e867819f 100644
--- a/crates/jacquard-api/src/haus_opn/mic/artist.rs
+++ b/crates/jacquard-api/src/haus_opn/mic/artist.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -27,7 +27,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// Metadata for an open mic artist.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -123,19 +123,16 @@ impl LexiconSchema for Artist {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["image/*"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("artist_pic"),
@@ -172,7 +169,7 @@ impl LexiconSchema for Artist {
 
 pub mod artist_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -323,10 +320,7 @@ where
     St::Name: artist_state::IsUnset,
 {
     /// Set the `name` field (required)
-    pub fn name(
-        mut self,
-        value: impl Into,
-    ) -> ArtistBuilder> {
+    pub fn name(mut self, value: impl Into) -> ArtistBuilder> {
         self._fields.5 = Option::Some(value.into());
         ArtistBuilder {
             _state: PhantomData,
@@ -369,10 +363,10 @@ where
 }
 
 fn lexicon_doc_haus_opn_mic_artist() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("haus.opn.mic.artist"),
@@ -381,23 +375,21 @@ fn lexicon_doc_haus_opn_mic_artist() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static("Metadata for an open mic artist."),
-                    ),
+                    description: Some(CowStr::new_static("Metadata for an open mic artist.")),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("name"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("name"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
                             map.insert(
                                 SmolStr::new_static("artistPic"),
-                                LexObjectProperty::Blob(LexBlob { ..Default::default() }),
+                                LexObjectProperty::Blob(LexBlob {
+                                    ..Default::default()
+                                }),
                             );
                             map.insert(
                                 SmolStr::new_static("bio"),
@@ -450,4 +442,4 @@ fn lexicon_doc_haus_opn_mic_artist() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/haus_opn/mic/show.rs b/crates/jacquard-api/src/haus_opn/mic/show.rs
index 3a5d55e5..7615af00 100644
--- a/crates/jacquard-api/src/haus_opn/mic/show.rs
+++ b/crates/jacquard-api/src/haus_opn/mic/show.rs
@@ -8,13 +8,12 @@
 pub mod episode;
 pub mod favorite;
 
-
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -31,7 +30,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// A recurring open mic show series.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -55,7 +54,6 @@ pub struct Show {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Debug, Clone, PartialEq, Eq, Hash)]
 pub enum ShowSchedule {
     Daily,
@@ -216,19 +214,16 @@ impl LexiconSchema for Show {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["image/*"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("cover_art"),
@@ -265,7 +260,7 @@ impl LexiconSchema for Show {
 
 pub mod show_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -458,10 +453,7 @@ where
     St::Title: show_state::IsUnset,
 {
     /// Set the `title` field (required)
-    pub fn title(
-        mut self,
-        value: impl Into,
-    ) -> ShowBuilder> {
+    pub fn title(mut self, value: impl Into) -> ShowBuilder> {
         self._fields.5 = Option::Some(value.into());
         ShowBuilder {
             _state: PhantomData,
@@ -506,10 +498,10 @@ where
 }
 
 fn lexicon_doc_haus_opn_mic_show() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("haus.opn.mic.show"),
@@ -518,36 +510,33 @@ fn lexicon_doc_haus_opn_mic_show() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static("A recurring open mic show series."),
-                    ),
+                    description: Some(CowStr::new_static("A recurring open mic show series.")),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("title"), SmolStr::new_static("artist"),
-                                SmolStr::new_static("schedule"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("title"),
+                            SmolStr::new_static("artist"),
+                            SmolStr::new_static("schedule"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
                             map.insert(
                                 SmolStr::new_static("artist"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "The AT-URI of the haus.opn.mic.artist record.",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "The AT-URI of the haus.opn.mic.artist record.",
+                                    )),
                                     format: Some(LexStringFormat::AtUri),
                                     ..Default::default()
                                 }),
                             );
                             map.insert(
                                 SmolStr::new_static("coverArt"),
-                                LexObjectProperty::Blob(LexBlob { ..Default::default() }),
+                                LexObjectProperty::Blob(LexBlob {
+                                    ..Default::default()
+                                }),
                             );
                             map.insert(
                                 SmolStr::new_static("createdAt"),
@@ -587,4 +576,4 @@ fn lexicon_doc_haus_opn_mic_show() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/haus_opn/mic/show/episode.rs b/crates/jacquard-api/src/haus_opn/mic/show/episode.rs
index 1ca55543..36fcb4d2 100644
--- a/crates/jacquard-api/src/haus_opn/mic/show/episode.rs
+++ b/crates/jacquard-api/src/haus_opn/mic/show/episode.rs
@@ -7,13 +7,12 @@
 
 pub mod favorite;
 
-
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -30,7 +29,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// A specific episode or VOD of a show.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -215,19 +214,16 @@ impl LexiconSchema for Episode {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["image/*"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("cover_art"),
@@ -264,7 +260,7 @@ impl LexiconSchema for Episode {
 
 pub mod episode_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -450,10 +446,7 @@ where
     St::Title: episode_state::IsUnset,
 {
     /// Set the `title` field (required)
-    pub fn title(
-        mut self,
-        value: impl Into,
-    ) -> EpisodeBuilder> {
+    pub fn title(mut self, value: impl Into) -> EpisodeBuilder> {
         self._fields.6 = Option::Some(value.into());
         EpisodeBuilder {
             _state: PhantomData,
@@ -514,10 +507,10 @@ where
 }
 
 fn lexicon_doc_haus_opn_mic_show_episode() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("haus.opn.mic.show.episode"),
@@ -526,36 +519,32 @@ fn lexicon_doc_haus_opn_mic_show_episode() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static("A specific episode or VOD of a show."),
-                    ),
+                    description: Some(CowStr::new_static("A specific episode or VOD of a show.")),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("showUri"),
-                                SmolStr::new_static("title"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("showUri"),
+                            SmolStr::new_static("title"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
                             map.insert(
                                 SmolStr::new_static("airingDate"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "Scheduled or actual date/time when this episode airs.",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Scheduled or actual date/time when this episode airs.",
+                                    )),
                                     format: Some(LexStringFormat::Datetime),
                                     ..Default::default()
                                 }),
                             );
                             map.insert(
                                 SmolStr::new_static("coverArt"),
-                                LexObjectProperty::Blob(LexBlob { ..Default::default() }),
+                                LexObjectProperty::Blob(LexBlob {
+                                    ..Default::default()
+                                }),
                             );
                             map.insert(
                                 SmolStr::new_static("createdAt"),
@@ -574,11 +563,9 @@ fn lexicon_doc_haus_opn_mic_show_episode() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("showUri"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "Reference to the haus.opn.mic.show record.",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Reference to the haus.opn.mic.show record.",
+                                    )),
                                     format: Some(LexStringFormat::AtUri),
                                     ..Default::default()
                                 }),
@@ -586,9 +573,9 @@ fn lexicon_doc_haus_opn_mic_show_episode() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("status"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("Current episode lifecycle status."),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Current episode lifecycle status.",
+                                    )),
                                     ..Default::default()
                                 }),
                             );
@@ -617,4 +604,4 @@ fn lexicon_doc_haus_opn_mic_show_episode() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/haus_opn/mic/show/episode/favorite.rs b/crates/jacquard-api/src/haus_opn/mic/show/episode/favorite.rs
index 0eff9a8f..88f6191a 100644
--- a/crates/jacquard-api/src/haus_opn/mic/show/episode/favorite.rs
+++ b/crates/jacquard-api/src/haus_opn/mic/show/episode/favorite.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// An entry marking an episode as a favorite.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -105,7 +105,7 @@ impl LexiconSchema for Favorite {
 
 pub mod favorite_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -235,10 +235,10 @@ where
 }
 
 fn lexicon_doc_haus_opn_mic_show_episode_favorite() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("haus.opn.mic.show.episode.favorite"),
@@ -247,17 +247,15 @@ fn lexicon_doc_haus_opn_mic_show_episode_favorite() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static("An entry marking an episode as a favorite."),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "An entry marking an episode as a favorite.",
+                    )),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("subject"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("subject"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -271,11 +269,9 @@ fn lexicon_doc_haus_opn_mic_show_episode_favorite() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("subject"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "The AT-URI of the haus.opn.mic.show.episode record.",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "The AT-URI of the haus.opn.mic.show.episode record.",
+                                    )),
                                     format: Some(LexStringFormat::AtUri),
                                     ..Default::default()
                                 }),
@@ -291,4 +287,4 @@ fn lexicon_doc_haus_opn_mic_show_episode_favorite() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/haus_opn/mic/show/favorite.rs b/crates/jacquard-api/src/haus_opn/mic/show/favorite.rs
index 6a41cf4b..03c385cf 100644
--- a/crates/jacquard-api/src/haus_opn/mic/show/favorite.rs
+++ b/crates/jacquard-api/src/haus_opn/mic/show/favorite.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// An entry marking a show as a favorite.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -105,7 +105,7 @@ impl LexiconSchema for Favorite {
 
 pub mod favorite_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -235,10 +235,10 @@ where
 }
 
 fn lexicon_doc_haus_opn_mic_show_favorite() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("haus.opn.mic.show.favorite"),
@@ -247,17 +247,13 @@ fn lexicon_doc_haus_opn_mic_show_favorite() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static("An entry marking a show as a favorite."),
-                    ),
+                    description: Some(CowStr::new_static("An entry marking a show as a favorite.")),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("subject"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("subject"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -271,11 +267,9 @@ fn lexicon_doc_haus_opn_mic_show_favorite() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("subject"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "The AT-URI of the haus.opn.mic.show record.",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "The AT-URI of the haus.opn.mic.show record.",
+                                    )),
                                     format: Some(LexStringFormat::AtUri),
                                     ..Default::default()
                                 }),
@@ -291,4 +285,4 @@ fn lexicon_doc_haus_opn_mic_show_favorite() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/io_atcr.rs b/crates/jacquard-api/src/io_atcr.rs
index 0479dfa1..7cd16567 100644
--- a/crates/jacquard-api/src/io_atcr.rs
+++ b/crates/jacquard-api/src/io_atcr.rs
@@ -7,4 +7,4 @@ pub mod hold;
 pub mod manifest;
 pub mod repo;
 pub mod sailor;
-pub mod tag;
\ No newline at end of file
+pub mod tag;
diff --git a/crates/jacquard-api/src/io_atcr/hold.rs b/crates/jacquard-api/src/io_atcr/hold.rs
index 5fef3ae2..4461d2a6 100644
--- a/crates/jacquard-api/src/io_atcr/hold.rs
+++ b/crates/jacquard-api/src/io_atcr/hold.rs
@@ -19,8 +19,7 @@ pub mod scan;
 pub mod set_stats;
 pub mod stats;
 
-
 #[cfg(feature = "streaming")]
 pub mod subscribe_scan_jobs;
 pub mod update_crew_tier;
-pub mod upload_part;
\ No newline at end of file
+pub mod upload_part;
diff --git a/crates/jacquard-api/src/io_atcr/hold/abort_upload.rs b/crates/jacquard-api/src/io_atcr/hold/abort_upload.rs
index 71558672..c1c56f51 100644
--- a/crates/jacquard-api/src/io_atcr/hold/abort_upload.rs
+++ b/crates/jacquard-api/src/io_atcr/hold/abort_upload.rs
@@ -10,14 +10,17 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::{IntoStatic, open_union};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct AbortUpload {
     ///Upload session ID from initiateUpload
     pub upload_id: S,
@@ -25,9 +28,11 @@ pub struct AbortUpload {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct AbortUploadOutput {
     ///Always 'aborted' on success
     pub status: S,
@@ -35,18 +40,9 @@ pub struct AbortUploadOutput {
     pub extra_data: Option>>,
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum AbortUploadError {
     #[serde(rename = "InvalidUploadId")]
@@ -55,7 +51,10 @@ pub enum AbortUploadError {
     AbortFailed(Option),
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for AbortUploadError {
@@ -97,9 +96,8 @@ impl jacquard_common::xrpc::XrpcResp for AbortUploadResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for AbortUpload {
     const NSID: &'static str = "io.atcr.hold.abortUpload";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = AbortUploadResponse;
 }
 
@@ -107,9 +105,8 @@ impl jacquard_common::xrpc::XrpcRequest for AbortUpload {
 pub struct AbortUploadRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for AbortUploadRequest {
     const PATH: &'static str = "/xrpc/io.atcr.hold.abortUpload";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = AbortUpload;
     type Response = AbortUploadResponse;
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/io_atcr/hold/captain.rs b/crates/jacquard-api/src/io_atcr/hold/captain.rs
index 7ed0e1a7..7e3c600f 100644
--- a/crates/jacquard-api/src/io_atcr/hold/captain.rs
+++ b/crates/jacquard-api/src/io_atcr/hold/captain.rs
@@ -10,13 +10,13 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::collection::{Collection, RecordError};
-use jacquard_common::types::string::{Did, AtUri, Cid, Datetime};
+use jacquard_common::types::string::{AtUri, Cid, Datetime, Did};
 use jacquard_common::types::uri::{RecordUri, UriError};
 use jacquard_common::types::value::Data;
 use jacquard_common::xrpc::XrpcResp;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// Represents the hold's ownership and metadata. Stored as a singleton record at rkey 'self' in the hold's embedded PDS.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -128,7 +128,7 @@ impl LexiconSchema for Captain {
 
 pub mod captain_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -410,10 +410,10 @@ where
 }
 
 fn lexicon_doc_io_atcr_hold_captain() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("io.atcr.hold.captain"),
@@ -513,4 +513,4 @@ fn lexicon_doc_io_atcr_hold_captain() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/io_atcr/hold/complete_upload.rs b/crates/jacquard-api/src/io_atcr/hold/complete_upload.rs
index 32f047d8..fa1911cb 100644
--- a/crates/jacquard-api/src/io_atcr/hold/complete_upload.rs
+++ b/crates/jacquard-api/src/io_atcr/hold/complete_upload.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -20,13 +20,16 @@ use jacquard_derive::{IntoStatic, open_union};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::io_atcr::hold::complete_upload;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::io_atcr::hold::complete_upload;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct CompleteUpload {
     ///Final blob digest (e.g., sha256:abc123...)
     pub digest: S,
@@ -38,9 +41,11 @@ pub struct CompleteUpload {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct CompleteUploadOutput {
     ///The digest of the completed blob
     pub digest: S,
@@ -50,18 +55,9 @@ pub struct CompleteUploadOutput {
     pub extra_data: Option>>,
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum CompleteUploadError {
     #[serde(rename = "InvalidUploadId")]
@@ -74,7 +70,10 @@ pub enum CompleteUploadError {
     CompletionFailed(Option),
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for CompleteUploadError {
@@ -122,7 +121,10 @@ impl core::fmt::Display for CompleteUploadError {
 /// Information about a completed upload part
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct PartInfo {
     ///ETag returned when the part was uploaded
     pub etag: S,
@@ -143,9 +145,8 @@ impl jacquard_common::xrpc::XrpcResp for CompleteUploadResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for CompleteUpload {
     const NSID: &'static str = "io.atcr.hold.completeUpload";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = CompleteUploadResponse;
 }
 
@@ -153,9 +154,8 @@ impl jacquard_common::xrpc::XrpcRequest for CompleteUpload {
 pub struct CompleteUploadRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for CompleteUploadRequest {
     const PATH: &'static str = "/xrpc/io.atcr.hold.completeUpload";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = CompleteUpload;
     type Response = CompleteUploadResponse;
 }
@@ -198,7 +198,7 @@ impl LexiconSchema for PartInfo {
 
 pub mod complete_upload_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -257,7 +257,11 @@ pub mod complete_upload_state {
 /// Builder for constructing an instance of this type.
 pub struct CompleteUploadBuilder {
     _state: PhantomData St>,
-    _fields: (Option, Option>>, Option),
+    _fields: (
+        Option,
+        Option>>,
+        Option,
+    ),
     _type: PhantomData S>,
 }
 
@@ -353,10 +357,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> CompleteUpload {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> CompleteUpload {
         CompleteUpload {
             digest: self._fields.0.unwrap(),
             parts: self._fields.1.unwrap(),
@@ -368,7 +369,7 @@ where
 
 pub mod part_info_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -441,10 +442,7 @@ where
     St::Etag: part_info_state::IsUnset,
 {
     /// Set the `etag` field (required)
-    pub fn etag(
-        mut self,
-        value: impl Into,
-    ) -> PartInfoBuilder> {
+    pub fn etag(mut self, value: impl Into) -> PartInfoBuilder> {
         self._fields.0 = Option::Some(value.into());
         PartInfoBuilder {
             _state: PhantomData,
@@ -498,10 +496,10 @@ where
 }
 
 fn lexicon_doc_io_atcr_hold_completeUpload() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("io.atcr.hold.completeUpload"),
@@ -512,59 +510,52 @@ fn lexicon_doc_io_atcr_hold_completeUpload() -> LexiconDoc<'static> {
                 LexUserType::XrpcProcedure(LexXrpcProcedure {
                     input: Some(LexXrpcBody {
                         encoding: CowStr::new_static("application/json"),
-                        schema: Some(
-                            LexXrpcBodySchema::Object(LexObject {
-                                required: Some(
-                                    vec![
-                                        SmolStr::new_static("uploadId"),
-                                        SmolStr::new_static("digest"), SmolStr::new_static("parts")
-                                    ],
-                                ),
-                                properties: {
-                                    #[allow(unused_mut)]
-                                    let mut map = BTreeMap::new();
-                                    map.insert(
-                                        SmolStr::new_static("digest"),
-                                        LexObjectProperty::String(LexString {
-                                            description: Some(
-                                                CowStr::new_static(
-                                                    "Final blob digest (e.g., sha256:abc123...)",
-                                                ),
-                                            ),
-                                            max_length: Some(128usize),
-                                            ..Default::default()
-                                        }),
-                                    );
-                                    map.insert(
-                                        SmolStr::new_static("parts"),
-                                        LexObjectProperty::Array(LexArray {
-                                            description: Some(
-                                                CowStr::new_static(
-                                                    "List of uploaded parts with their ETags",
-                                                ),
-                                            ),
-                                            items: LexArrayItem::Ref(LexRef {
-                                                r#ref: CowStr::new_static("#partInfo"),
-                                                ..Default::default()
-                                            }),
-                                            ..Default::default()
-                                        }),
-                                    );
-                                    map.insert(
-                                        SmolStr::new_static("uploadId"),
-                                        LexObjectProperty::String(LexString {
-                                            description: Some(
-                                                CowStr::new_static("Upload session ID from initiateUpload"),
-                                            ),
-                                            max_length: Some(256usize),
+                        schema: Some(LexXrpcBodySchema::Object(LexObject {
+                            required: Some(vec![
+                                SmolStr::new_static("uploadId"),
+                                SmolStr::new_static("digest"),
+                                SmolStr::new_static("parts"),
+                            ]),
+                            properties: {
+                                #[allow(unused_mut)]
+                                let mut map = BTreeMap::new();
+                                map.insert(
+                                    SmolStr::new_static("digest"),
+                                    LexObjectProperty::String(LexString {
+                                        description: Some(CowStr::new_static(
+                                            "Final blob digest (e.g., sha256:abc123...)",
+                                        )),
+                                        max_length: Some(128usize),
+                                        ..Default::default()
+                                    }),
+                                );
+                                map.insert(
+                                    SmolStr::new_static("parts"),
+                                    LexObjectProperty::Array(LexArray {
+                                        description: Some(CowStr::new_static(
+                                            "List of uploaded parts with their ETags",
+                                        )),
+                                        items: LexArrayItem::Ref(LexRef {
+                                            r#ref: CowStr::new_static("#partInfo"),
                                             ..Default::default()
                                         }),
-                                    );
-                                    map
-                                },
-                                ..Default::default()
-                            }),
-                        ),
+                                        ..Default::default()
+                                    }),
+                                );
+                                map.insert(
+                                    SmolStr::new_static("uploadId"),
+                                    LexObjectProperty::String(LexString {
+                                        description: Some(CowStr::new_static(
+                                            "Upload session ID from initiateUpload",
+                                        )),
+                                        max_length: Some(256usize),
+                                        ..Default::default()
+                                    }),
+                                );
+                                map
+                            },
+                            ..Default::default()
+                        })),
                         ..Default::default()
                     }),
                     ..Default::default()
@@ -573,26 +564,22 @@ fn lexicon_doc_io_atcr_hold_completeUpload() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("partInfo"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("Information about a completed upload part"),
-                    ),
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("partNumber"),
-                            SmolStr::new_static("etag")
-                        ],
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Information about a completed upload part",
+                    )),
+                    required: Some(vec![
+                        SmolStr::new_static("partNumber"),
+                        SmolStr::new_static("etag"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("etag"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "ETag returned when the part was uploaded",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "ETag returned when the part was uploaded",
+                                )),
                                 max_length: Some(256usize),
                                 ..Default::default()
                             }),
@@ -613,4 +600,4 @@ fn lexicon_doc_io_atcr_hold_completeUpload() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/io_atcr/hold/crew.rs b/crates/jacquard-api/src/io_atcr/hold/crew.rs
index ff80f874..90561226 100644
--- a/crates/jacquard-api/src/io_atcr/hold/crew.rs
+++ b/crates/jacquard-api/src/io_atcr/hold/crew.rs
@@ -10,13 +10,13 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::collection::{Collection, RecordError};
-use jacquard_common::types::string::{Did, AtUri, Cid, Datetime};
+use jacquard_common::types::string::{AtUri, Cid, Datetime, Did};
 use jacquard_common::types::uri::{RecordUri, UriError};
 use jacquard_common::types::value::Data;
 use jacquard_common::xrpc::XrpcResp;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// Crew member in a hold's embedded PDS. Grants access permissions to push blobs to the hold. Stored in the hold's embedded PDS (one record per member).
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -221,7 +221,7 @@ impl LexiconSchema for Crew {
 
 pub mod crew_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -349,10 +349,7 @@ where
     St::Member: crew_state::IsUnset,
 {
     /// Set the `member` field (required)
-    pub fn member(
-        mut self,
-        value: impl Into>,
-    ) -> CrewBuilder> {
+    pub fn member(mut self, value: impl Into>) -> CrewBuilder> {
         self._fields.1 = Option::Some(value.into());
         CrewBuilder {
             _state: PhantomData,
@@ -446,10 +443,10 @@ where
 }
 
 fn lexicon_doc_io_atcr_hold_crew() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("io.atcr.hold.crew"),
@@ -545,4 +542,4 @@ fn lexicon_doc_io_atcr_hold_crew() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/io_atcr/hold/delete_user_data.rs b/crates/jacquard-api/src/io_atcr/hold/delete_user_data.rs
index 34eb2d48..6753949e 100644
--- a/crates/jacquard-api/src/io_atcr/hold/delete_user_data.rs
+++ b/crates/jacquard-api/src/io_atcr/hold/delete_user_data.rs
@@ -10,22 +10,27 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::{IntoStatic, open_union};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct DeleteUserData {
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct DeleteUserDataOutput {
     ///Whether the user's crew record was deleted (false if user is captain)
     pub crew_deleted: bool,
@@ -39,18 +44,9 @@ pub struct DeleteUserDataOutput {
     pub extra_data: Option>>,
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum DeleteUserDataError {
     #[serde(rename = "AuthRequired")]
@@ -59,7 +55,10 @@ pub enum DeleteUserDataError {
     DeletionFailed(Option),
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for DeleteUserDataError {
@@ -101,9 +100,8 @@ impl jacquard_common::xrpc::XrpcResp for DeleteUserDataResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for DeleteUserData {
     const NSID: &'static str = "io.atcr.hold.deleteUserData";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = DeleteUserDataResponse;
 }
 
@@ -111,9 +109,8 @@ impl jacquard_common::xrpc::XrpcRequest for DeleteUserData {
 pub struct DeleteUserDataRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for DeleteUserDataRequest {
     const PATH: &'static str = "/xrpc/io.atcr.hold.deleteUserData";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = DeleteUserData;
     type Response = DeleteUserDataResponse;
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/io_atcr/hold/export_user_data.rs b/crates/jacquard-api/src/io_atcr/hold/export_user_data.rs
index 46c533a2..93ea9474 100644
--- a/crates/jacquard-api/src/io_atcr/hold/export_user_data.rs
+++ b/crates/jacquard-api/src/io_atcr/hold/export_user_data.rs
@@ -10,24 +10,27 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
 use jacquard_common::deps::smol_str::SmolStr;
-use jacquard_common::types::string::{Did, AtUri, Datetime};
+use jacquard_common::types::string::{AtUri, Datetime, Did};
 use jacquard_common::types::value::Data;
 use jacquard_derive::{IntoStatic, open_union};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::io_atcr::hold::export_user_data;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::io_atcr::hold::export_user_data;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct CrewExport {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub added_at: Option,
@@ -41,9 +44,11 @@ pub struct CrewExport {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct LayerExport {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub created_at: Option,
@@ -59,13 +64,15 @@ pub struct LayerExport {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(rename_all = "camelCase")]
 pub struct ExportUserData;
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ExportUserDataOutput {
     ///Bluesky posts that mention the user
     pub bluesky_posts: Vec>,
@@ -88,25 +95,19 @@ pub struct ExportUserDataOutput {
     pub extra_data: Option>>,
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum ExportUserDataError {
     #[serde(rename = "AuthRequired")]
     AuthRequired(Option),
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for ExportUserDataError {
@@ -130,9 +131,11 @@ impl core::fmt::Display for ExportUserDataError {
     }
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct PostExport {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub created_at: Option,
@@ -144,9 +147,11 @@ pub struct PostExport {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct StatsExport {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub last_pull: Option,
@@ -321,10 +326,10 @@ impl LexiconSchema for StatsExport {
 }
 
 fn lexicon_doc_io_atcr_hold_exportUserData() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("io.atcr.hold.exportUserData"),
@@ -420,16 +425,14 @@ fn lexicon_doc_io_atcr_hold_exportUserData() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::XrpcQuery(LexXrpcQuery {
-                    parameters: Some(
-                        LexXrpcQueryParameter::Params(LexXrpcParameters {
-                            properties: {
-                                #[allow(unused_mut)]
-                                let mut map = BTreeMap::new();
-                                map
-                            },
-                            ..Default::default()
-                        }),
-                    ),
+                    parameters: Some(LexXrpcQueryParameter::Params(LexXrpcParameters {
+                        properties: {
+                            #[allow(unused_mut)]
+                            let mut map = BTreeMap::new();
+                            map
+                        },
+                        ..Default::default()
+                    })),
                     ..Default::default()
                 }),
             );
@@ -521,4 +524,4 @@ fn lexicon_doc_io_atcr_hold_exportUserData() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/io_atcr/hold/get_part_upload_url.rs b/crates/jacquard-api/src/io_atcr/hold/get_part_upload_url.rs
index 6f142980..bf38c17d 100644
--- a/crates/jacquard-api/src/io_atcr/hold/get_part_upload_url.rs
+++ b/crates/jacquard-api/src/io_atcr/hold/get_part_upload_url.rs
@@ -10,15 +10,18 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::UriValue;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::{IntoStatic, open_union};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetPartUploadUrl {
     ///Part sequence number (1-indexed)
     pub part_number: i64,
@@ -28,9 +31,11 @@ pub struct GetPartUploadUrl {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetPartUploadUrlOutput {
     ///Additional headers required for the request (e.g., content-type)
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -45,18 +50,9 @@ pub struct GetPartUploadUrlOutput {
     pub extra_data: Option>>,
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum GetPartUploadUrlError {
     #[serde(rename = "InvalidUploadId")]
@@ -65,7 +61,10 @@ pub enum GetPartUploadUrlError {
     InvalidPartNumber(Option),
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for GetPartUploadUrlError {
@@ -107,9 +106,8 @@ impl jacquard_common::xrpc::XrpcResp for GetPartUploadUrlResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for GetPartUploadUrl {
     const NSID: &'static str = "io.atcr.hold.getPartUploadUrl";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = GetPartUploadUrlResponse;
 }
 
@@ -117,16 +115,15 @@ impl jacquard_common::xrpc::XrpcRequest for GetPartUploadUrl {
 pub struct GetPartUploadUrlRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for GetPartUploadUrlRequest {
     const PATH: &'static str = "/xrpc/io.atcr.hold.getPartUploadUrl";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = GetPartUploadUrl;
     type Response = GetPartUploadUrlResponse;
 }
 
 pub mod get_part_upload_url_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -246,10 +243,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> GetPartUploadUrl {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> GetPartUploadUrl {
         GetPartUploadUrl {
             part_number: self._fields.0.unwrap(),
             upload_id: self._fields.1.unwrap(),
@@ -258,8 +252,6 @@ where
     }
 }
 
-fn _default_get_part_upload_url_output_method() -> ::core::option::Option<
-    S,
-> {
+fn _default_get_part_upload_url_output_method() -> ::core::option::Option {
     Some(S::from_static("PUT"))
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/io_atcr/hold/get_quota.rs b/crates/jacquard-api/src/io_atcr/hold/get_quota.rs
index 16a1a02a..838bb825 100644
--- a/crates/jacquard-api/src/io_atcr/hold/get_quota.rs
+++ b/crates/jacquard-api/src/io_atcr/hold/get_quota.rs
@@ -10,22 +10,27 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::Did;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::{IntoStatic, open_union};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetQuota {
     pub user_did: Did,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetQuotaOutput {
     ///Storage limit in bytes (absent if unlimited)
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -43,25 +48,19 @@ pub struct GetQuotaOutput {
     pub extra_data: Option>>,
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum GetQuotaError {
     #[serde(rename = "InvalidUserDid")]
     InvalidUserDid(Option),
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for GetQuotaError {
@@ -111,7 +110,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetQuotaRequest {
 
 pub mod get_quota_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -196,4 +195,4 @@ where
             user_did: self._fields.0.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/io_atcr/hold/initiate_upload.rs b/crates/jacquard-api/src/io_atcr/hold/initiate_upload.rs
index 85e4c1e3..f4ba2556 100644
--- a/crates/jacquard-api/src/io_atcr/hold/initiate_upload.rs
+++ b/crates/jacquard-api/src/io_atcr/hold/initiate_upload.rs
@@ -10,14 +10,17 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::{IntoStatic, open_union};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct InitiateUpload {
     ///The blob digest (e.g., sha256:abc123...)
     pub digest: S,
@@ -25,9 +28,11 @@ pub struct InitiateUpload {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct InitiateUploadOutput {
     ///Unique identifier for this upload session
     pub upload_id: S,
@@ -35,25 +40,19 @@ pub struct InitiateUploadOutput {
     pub extra_data: Option>>,
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum InitiateUploadError {
     #[serde(rename = "InvalidDigest")]
     InvalidDigest(Option),
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for InitiateUploadError {
@@ -88,9 +87,8 @@ impl jacquard_common::xrpc::XrpcResp for InitiateUploadResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for InitiateUpload {
     const NSID: &'static str = "io.atcr.hold.initiateUpload";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = InitiateUploadResponse;
 }
 
@@ -98,9 +96,8 @@ impl jacquard_common::xrpc::XrpcRequest for InitiateUpload {
 pub struct InitiateUploadRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for InitiateUploadRequest {
     const PATH: &'static str = "/xrpc/io.atcr.hold.initiateUpload";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = InitiateUpload;
     type Response = InitiateUploadResponse;
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/io_atcr/hold/layer.rs b/crates/jacquard-api/src/io_atcr/hold/layer.rs
index 9ea9b338..42e8f3d7 100644
--- a/crates/jacquard-api/src/io_atcr/hold/layer.rs
+++ b/crates/jacquard-api/src/io_atcr/hold/layer.rs
@@ -10,13 +10,13 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::collection::{Collection, RecordError};
-use jacquard_common::types::string::{Did, AtUri, Cid, Datetime};
+use jacquard_common::types::string::{AtUri, Cid, Datetime, Did};
 use jacquard_common::types::uri::{RecordUri, UriError};
 use jacquard_common::types::value::Data;
 use jacquard_common::xrpc::XrpcResp;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// Represents metadata about a container layer stored in the hold. Stored in the hold's embedded PDS for tracking and analytics.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -136,7 +136,7 @@ impl LexiconSchema for Layer {
 
 pub mod layer_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -303,10 +303,7 @@ where
     St::Digest: layer_state::IsUnset,
 {
     /// Set the `digest` field (required)
-    pub fn digest(
-        mut self,
-        value: impl Into,
-    ) -> LayerBuilder> {
+    pub fn digest(mut self, value: impl Into) -> LayerBuilder> {
         self._fields.1 = Option::Some(value.into());
         LayerBuilder {
             _state: PhantomData,
@@ -360,10 +357,7 @@ where
     St::Size: layer_state::IsUnset,
 {
     /// Set the `size` field (required)
-    pub fn size(
-        mut self,
-        value: impl Into,
-    ) -> LayerBuilder> {
+    pub fn size(mut self, value: impl Into) -> LayerBuilder> {
         self._fields.4 = Option::Some(value.into());
         LayerBuilder {
             _state: PhantomData,
@@ -429,10 +423,10 @@ where
 }
 
 fn lexicon_doc_io_atcr_hold_layer() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("io.atcr.hold.layer"),
@@ -533,4 +527,4 @@ fn lexicon_doc_io_atcr_hold_layer() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/io_atcr/hold/notify_manifest.rs b/crates/jacquard-api/src/io_atcr/hold/notify_manifest.rs
index a67598d5..e73941a4 100644
--- a/crates/jacquard-api/src/io_atcr/hold/notify_manifest.rs
+++ b/crates/jacquard-api/src/io_atcr/hold/notify_manifest.rs
@@ -10,24 +10,27 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
 use jacquard_common::deps::smol_str::SmolStr;
-use jacquard_common::types::string::{Did, AtUri};
+use jacquard_common::types::string::{AtUri, Did};
 use jacquard_common::types::value::Data;
 use jacquard_derive::{IntoStatic, open_union};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::io_atcr::hold::notify_manifest;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::io_atcr::hold::notify_manifest;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct BlobInfo {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub digest: Option,
@@ -37,9 +40,11 @@ pub struct BlobInfo {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ChildManifestInfo {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub digest: Option,
@@ -53,9 +58,11 @@ pub struct ChildManifestInfo {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct LayerInfo {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub digest: Option,
@@ -67,9 +74,11 @@ pub struct LayerInfo {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct NotifyManifest {
     pub manifest: notify_manifest::ManifestInfo,
     ///Manifest digest for building layer record AT-URIs
@@ -162,16 +171,16 @@ where
         match self {
             NotifyManifestOperation::Push => NotifyManifestOperation::Push,
             NotifyManifestOperation::Pull => NotifyManifestOperation::Pull,
-            NotifyManifestOperation::Other(v) => {
-                NotifyManifestOperation::Other(v.into_static())
-            }
+            NotifyManifestOperation::Other(v) => NotifyManifestOperation::Other(v.into_static()),
         }
     }
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct NotifyManifestOutput {
     ///Number of layer records created (push only)
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -192,18 +201,9 @@ pub struct NotifyManifestOutput {
     pub extra_data: Option>>,
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum NotifyManifestError {
     #[serde(rename = "InvalidOperation")]
@@ -214,7 +214,10 @@ pub enum NotifyManifestError {
     QuotaExceeded(Option),
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for NotifyManifestError {
@@ -255,7 +258,10 @@ impl core::fmt::Display for NotifyManifestError {
 /// OCI manifest information
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ManifestInfo {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub config: Option>,
@@ -271,9 +277,11 @@ pub struct ManifestInfo {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct PlatformInfo {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub architecture: Option,
@@ -389,9 +397,8 @@ impl jacquard_common::xrpc::XrpcResp for NotifyManifestResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for NotifyManifest {
     const NSID: &'static str = "io.atcr.hold.notifyManifest";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = NotifyManifestResponse;
 }
 
@@ -399,9 +406,8 @@ impl jacquard_common::xrpc::XrpcRequest for NotifyManifest {
 pub struct NotifyManifestRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for NotifyManifestRequest {
     const PATH: &'static str = "/xrpc/io.atcr.hold.notifyManifest";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = NotifyManifest;
     type Response = NotifyManifestResponse;
 }
@@ -467,10 +473,10 @@ impl LexiconSchema for PlatformInfo {
 }
 
 fn lexicon_doc_io_atcr_hold_notifyManifest() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("io.atcr.hold.notifyManifest"),
@@ -687,9 +693,9 @@ fn lexicon_doc_io_atcr_hold_notifyManifest() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("manifests"),
                             LexObjectProperty::Array(LexArray {
-                                description: Some(
-                                    CowStr::new_static("Child manifests for multi-arch images"),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Child manifests for multi-arch images",
+                                )),
                                 items: LexArrayItem::Ref(LexRef {
                                     r#ref: CowStr::new_static("#childManifestInfo"),
                                     ..Default::default()
@@ -743,7 +749,7 @@ fn lexicon_doc_io_atcr_hold_notifyManifest() -> LexiconDoc<'static> {
 
 pub mod notify_manifest_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -887,10 +893,7 @@ where
 
 impl NotifyManifestBuilder {
     /// Set the `operation` field (optional)
-    pub fn operation(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn operation(mut self, value: impl Into>>) -> Self {
         self._fields.2 = value.into();
         self
     }
@@ -973,10 +976,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> NotifyManifest {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> NotifyManifest {
         NotifyManifest {
             manifest: self._fields.0.unwrap(),
             manifest_digest: self._fields.1.unwrap(),
@@ -987,4 +987,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/io_atcr/hold/request_crew.rs b/crates/jacquard-api/src/io_atcr/hold/request_crew.rs
index 1242ee07..52ebe5f4 100644
--- a/crates/jacquard-api/src/io_atcr/hold/request_crew.rs
+++ b/crates/jacquard-api/src/io_atcr/hold/request_crew.rs
@@ -10,15 +10,18 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::{AtUri, Cid};
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::{IntoStatic, open_union};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct RequestCrew {
     ///Requested permissions (default: ['blob:read', 'blob:write'])
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -31,9 +34,11 @@ pub struct RequestCrew {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct RequestCrewOutput {
     ///CID of the crew record
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -123,28 +128,15 @@ where
     fn into_static(self) -> Self::Output {
         match self {
             RequestCrewOutputStatus::Created => RequestCrewOutputStatus::Created,
-            RequestCrewOutputStatus::AlreadyMember => {
-                RequestCrewOutputStatus::AlreadyMember
-            }
-            RequestCrewOutputStatus::Other(v) => {
-                RequestCrewOutputStatus::Other(v.into_static())
-            }
+            RequestCrewOutputStatus::AlreadyMember => RequestCrewOutputStatus::AlreadyMember,
+            RequestCrewOutputStatus::Other(v) => RequestCrewOutputStatus::Other(v.into_static()),
         }
     }
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum RequestCrewError {
     #[serde(rename = "AuthRequired")]
@@ -153,7 +145,10 @@ pub enum RequestCrewError {
     RegistrationDisabled(Option),
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for RequestCrewError {
@@ -195,9 +190,8 @@ impl jacquard_common::xrpc::XrpcResp for RequestCrewResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for RequestCrew {
     const NSID: &'static str = "io.atcr.hold.requestCrew";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = RequestCrewResponse;
 }
 
@@ -205,13 +199,12 @@ impl jacquard_common::xrpc::XrpcRequest for RequestCrew {
 pub struct RequestCrewRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for RequestCrewRequest {
     const PATH: &'static str = "/xrpc/io.atcr.hold.requestCrew";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = RequestCrew;
     type Response = RequestCrewResponse;
 }
 
 fn _default_request_crew_role() -> ::core::option::Option {
     Some(S::from_static("member"))
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/io_atcr/hold/scan.rs b/crates/jacquard-api/src/io_atcr/hold/scan.rs
index 590b9f7e..65f6cca4 100644
--- a/crates/jacquard-api/src/io_atcr/hold/scan.rs
+++ b/crates/jacquard-api/src/io_atcr/hold/scan.rs
@@ -10,14 +10,14 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::blob::BlobRef;
 use jacquard_common::types::collection::{Collection, RecordError};
-use jacquard_common::types::string::{Did, AtUri, Cid, Datetime};
+use jacquard_common::types::string::{AtUri, Cid, Datetime, Did};
 use jacquard_common::types::uri::{RecordUri, UriError};
 use jacquard_common::types::value::Data;
 use jacquard_common::xrpc::XrpcResp;
@@ -27,7 +27,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// Vulnerability scan results for a container manifest. Stored in the hold's embedded PDS. Record key is deterministic: the manifest digest hex without the 'sha256:' prefix, so re-scans upsert the existing record.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -178,19 +178,16 @@ impl LexiconSchema for Scan {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["application/spdx+json"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("sbom_blob"),
@@ -225,25 +222,20 @@ impl LexiconSchema for Scan {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["application/vnd.atcr.vulnerabilities+json"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("vuln_report_blob"),
-                        accepted: vec![
-                            "application/vnd.atcr.vulnerabilities+json".to_string()
-                        ],
+                        accepted: vec!["application/vnd.atcr.vulnerabilities+json".to_string()],
                         actual: mime.to_string(),
                     });
                 }
@@ -255,7 +247,7 @@ impl LexiconSchema for Scan {
 
 pub mod scan_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -498,18 +490,7 @@ impl ScanBuilder {
         ScanBuilder {
             _state: PhantomData,
             _fields: (
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
+                None, None, None, None, None, None, None, None, None, None, None, None,
             ),
             _type: PhantomData,
         }
@@ -541,10 +522,7 @@ where
     St::High: scan_state::IsUnset,
 {
     /// Set the `high` field (required)
-    pub fn high(
-        mut self,
-        value: impl Into,
-    ) -> ScanBuilder> {
+    pub fn high(mut self, value: impl Into) -> ScanBuilder> {
         self._fields.1 = Option::Some(value.into());
         ScanBuilder {
             _state: PhantomData,
@@ -560,10 +538,7 @@ where
     St::Low: scan_state::IsUnset,
 {
     /// Set the `low` field (required)
-    pub fn low(
-        mut self,
-        value: impl Into,
-    ) -> ScanBuilder> {
+    pub fn low(mut self, value: impl Into) -> ScanBuilder> {
         self._fields.2 = Option::Some(value.into());
         ScanBuilder {
             _state: PhantomData,
@@ -598,10 +573,7 @@ where
     St::Medium: scan_state::IsUnset,
 {
     /// Set the `medium` field (required)
-    pub fn medium(
-        mut self,
-        value: impl Into,
-    ) -> ScanBuilder> {
+    pub fn medium(mut self, value: impl Into) -> ScanBuilder> {
         self._fields.4 = Option::Some(value.into());
         ScanBuilder {
             _state: PhantomData,
@@ -687,10 +659,7 @@ where
     St::Total: scan_state::IsUnset,
 {
     /// Set the `total` field (required)
-    pub fn total(
-        mut self,
-        value: impl Into,
-    ) -> ScanBuilder> {
+    pub fn total(mut self, value: impl Into) -> ScanBuilder> {
         self._fields.9 = Option::Some(value.into());
         ScanBuilder {
             _state: PhantomData,
@@ -785,10 +754,10 @@ where
 }
 
 fn lexicon_doc_io_atcr_hold_scan() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("io.atcr.hold.scan"),
@@ -929,4 +898,4 @@ fn lexicon_doc_io_atcr_hold_scan() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/io_atcr/hold/set_stats.rs b/crates/jacquard-api/src/io_atcr/hold/set_stats.rs
index 000c5f17..9be0b40e 100644
--- a/crates/jacquard-api/src/io_atcr/hold/set_stats.rs
+++ b/crates/jacquard-api/src/io_atcr/hold/set_stats.rs
@@ -10,15 +10,18 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
-use jacquard_common::types::string::{Did, Datetime};
+use jacquard_common::types::string::{Datetime, Did};
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::{IntoStatic, open_union};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct SetStats {
     ///RFC3339 timestamp of last pull
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -40,9 +43,11 @@ pub struct SetStats {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct SetStatsOutput {
     ///Whether the stats were successfully updated
     pub success: bool,
@@ -50,18 +55,9 @@ pub struct SetStatsOutput {
     pub extra_data: Option>>,
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum SetStatsError {
     #[serde(rename = "InvalidOwner")]
@@ -70,7 +66,10 @@ pub enum SetStatsError {
     InvalidRepository(Option),
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for SetStatsError {
@@ -112,9 +111,8 @@ impl jacquard_common::xrpc::XrpcResp for SetStatsResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for SetStats {
     const NSID: &'static str = "io.atcr.hold.setStats";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = SetStatsResponse;
 }
 
@@ -122,16 +120,15 @@ impl jacquard_common::xrpc::XrpcRequest for SetStats {
 pub struct SetStatsRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for SetStatsRequest {
     const PATH: &'static str = "/xrpc/io.atcr.hold.setStats";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = SetStats;
     type Response = SetStatsResponse;
 }
 
 pub mod set_stats_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -325,4 +322,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/io_atcr/hold/stats.rs b/crates/jacquard-api/src/io_atcr/hold/stats.rs
index 78c81cb6..9a76fce1 100644
--- a/crates/jacquard-api/src/io_atcr/hold/stats.rs
+++ b/crates/jacquard-api/src/io_atcr/hold/stats.rs
@@ -10,13 +10,13 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::collection::{Collection, RecordError};
-use jacquard_common::types::string::{Did, AtUri, Cid, Datetime};
+use jacquard_common::types::string::{AtUri, Cid, Datetime, Did};
 use jacquard_common::types::uri::{RecordUri, UriError};
 use jacquard_common::types::value::Data;
 use jacquard_common::xrpc::XrpcResp;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// Repository statistics stored in the hold's embedded PDS. Tracks pull/push counts per owner+repository combination. Record key is deterministic: base32(sha256(ownerDID + "/" + repository)[:16]).
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -149,7 +149,7 @@ impl LexiconSchema for Stats {
 
 pub mod stats_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -431,10 +431,10 @@ where
 }
 
 fn lexicon_doc_io_atcr_hold_stats() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("io.atcr.hold.stats"),
@@ -541,4 +541,4 @@ fn lexicon_doc_io_atcr_hold_stats() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/io_atcr/hold/subscribe_scan_jobs.rs b/crates/jacquard-api/src/io_atcr/hold/subscribe_scan_jobs.rs
index 093a4a1e..10f5b9ad 100644
--- a/crates/jacquard-api/src/io_atcr/hold/subscribe_scan_jobs.rs
+++ b/crates/jacquard-api/src/io_atcr/hold/subscribe_scan_jobs.rs
@@ -10,8 +10,8 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::bytes::Bytes;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -22,10 +22,10 @@ use jacquard_derive::{IntoStatic, open_union};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::io_atcr::hold::subscribe_scan_jobs;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::io_atcr::hold::subscribe_scan_jobs;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(rename_all = "camelCase")]
@@ -34,7 +34,6 @@ pub struct SubscribeScanJobs {
     pub cursor: Option,
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -53,43 +52,26 @@ impl SubscribeScanJobsMessage {
     where
         S: serde::Deserialize<'de>,
     {
-        let (header, body) = jacquard_common::xrpc::subscription::parse_event_header(
-            bytes,
-        )?;
+        let (header, body) = jacquard_common::xrpc::subscription::parse_event_header(bytes)?;
         match header.t.as_str() {
             "#scanJob" => {
-                let variant = jacquard_common::deps::codegen::serde_ipld_dagcbor::from_slice(
-                    body,
-                )?;
+                let variant = jacquard_common::deps::codegen::serde_ipld_dagcbor::from_slice(body)?;
                 Ok(Self::ScanJob(Box::new(variant)))
             }
             "#scanResult" => {
-                let variant = jacquard_common::deps::codegen::serde_ipld_dagcbor::from_slice(
-                    body,
-                )?;
+                let variant = jacquard_common::deps::codegen::serde_ipld_dagcbor::from_slice(body)?;
                 Ok(Self::ScanResult(Box::new(variant)))
             }
-            unknown => {
-                Err(
-                    jacquard_common::error::DecodeError::UnknownEventType(unknown.into()),
-                )
-            }
+            unknown => Err(jacquard_common::error::DecodeError::UnknownEventType(
+                unknown.into(),
+            )),
         }
     }
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum SubscribeScanJobsError {
     /// Scanner shared secret is invalid
@@ -97,7 +79,10 @@ pub enum SubscribeScanJobsError {
     InvalidSecret(Option),
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for SubscribeScanJobsError {
@@ -124,7 +109,10 @@ impl core::fmt::Display for SubscribeScanJobsError {
 /// A scan job dispatched from hold to scanner. Sent as a JSON WebSocket message.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ScanJob {
     ///Manifest digest (e.g., sha256:abc123...)
     pub digest: S,
@@ -153,7 +141,10 @@ pub struct ScanJob {
 /// A scan result sent from scanner back to hold. Sent as a JSON WebSocket message.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ScanResult {
     ///Manifest digest that was scanned
     pub digest: S,
@@ -179,9 +170,11 @@ pub struct ScanResult {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct VulnSummary {
     ///Count of critical severity vulnerabilities
     pub critical: i64,
@@ -202,21 +195,24 @@ pub struct VulnSummary {
 pub struct SubscribeScanJobsStream;
 impl jacquard_common::xrpc::SubscriptionResp for SubscribeScanJobsStream {
     const NSID: &'static str = "io.atcr.hold.subscribeScanJobs";
-    const ENCODING: jacquard_common::xrpc::MessageEncoding = jacquard_common::xrpc::MessageEncoding::Json;
+    const ENCODING: jacquard_common::xrpc::MessageEncoding =
+        jacquard_common::xrpc::MessageEncoding::Json;
     type Message = SubscribeScanJobsMessage;
     type Error = SubscribeScanJobsError;
 }
 
 impl jacquard_common::xrpc::XrpcSubscription for SubscribeScanJobs {
     const NSID: &'static str = "io.atcr.hold.subscribeScanJobs";
-    const ENCODING: jacquard_common::xrpc::MessageEncoding = jacquard_common::xrpc::MessageEncoding::Json;
+    const ENCODING: jacquard_common::xrpc::MessageEncoding =
+        jacquard_common::xrpc::MessageEncoding::Json;
     type Stream = SubscribeScanJobsStream;
 }
 
 pub struct SubscribeScanJobsEndpoint;
 impl jacquard_common::xrpc::SubscriptionEndpoint for SubscribeScanJobsEndpoint {
     const PATH: &'static str = "/xrpc/io.atcr.hold.subscribeScanJobs";
-    const ENCODING: jacquard_common::xrpc::MessageEncoding = jacquard_common::xrpc::MessageEncoding::Json;
+    const ENCODING: jacquard_common::xrpc::MessageEncoding =
+        jacquard_common::xrpc::MessageEncoding::Json;
     type Params = SubscribeScanJobs;
     type Stream = SubscribeScanJobsStream;
 }
@@ -403,7 +399,7 @@ impl LexiconSchema for VulnSummary {
 
 pub mod subscribe_scan_jobs_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -470,7 +466,7 @@ where
 
 pub mod scan_job_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -732,10 +728,7 @@ where
     St::Seq: scan_job_state::IsUnset,
 {
     /// Set the `seq` field (required)
-    pub fn seq(
-        mut self,
-        value: impl Into,
-    ) -> ScanJobBuilder> {
+    pub fn seq(mut self, value: impl Into) -> ScanJobBuilder> {
         self._fields.5 = Option::Some(value.into());
         ScanJobBuilder {
             _state: PhantomData,
@@ -764,10 +757,7 @@ where
     St::Type: scan_job_state::IsUnset,
 {
     /// Set the `type` field (required)
-    pub fn r#type(
-        mut self,
-        value: impl Into,
-    ) -> ScanJobBuilder> {
+    pub fn r#type(mut self, value: impl Into) -> ScanJobBuilder> {
         self._fields.7 = Option::Some(value.into());
         ScanJobBuilder {
             _state: PhantomData,
@@ -840,10 +830,10 @@ where
 }
 
 fn lexicon_doc_io_atcr_hold_subscribeScanJobs() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("io.atcr.hold.subscribeScanJobs"),
@@ -852,22 +842,20 @@ fn lexicon_doc_io_atcr_hold_subscribeScanJobs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::XrpcSubscription(LexXrpcSubscription {
-                    parameters: Some(
-                        LexXrpcSubscriptionParameter::Params(LexXrpcParameters {
-                            properties: {
-                                #[allow(unused_mut)]
-                                let mut map = BTreeMap::new();
-                                map.insert(
-                                    SmolStr::new_static("cursor"),
-                                    LexXrpcParametersProperty::Integer(LexInteger {
-                                        ..Default::default()
-                                    }),
-                                );
-                                map
-                            },
-                            ..Default::default()
-                        }),
-                    ),
+                    parameters: Some(LexXrpcSubscriptionParameter::Params(LexXrpcParameters {
+                        properties: {
+                            #[allow(unused_mut)]
+                            let mut map = BTreeMap::new();
+                            map.insert(
+                                SmolStr::new_static("cursor"),
+                                LexXrpcParametersProperty::Integer(LexInteger {
+                                    ..Default::default()
+                                }),
+                            );
+                            map
+                        },
+                        ..Default::default()
+                    })),
                     ..Default::default()
                 }),
             );
@@ -1071,13 +1059,13 @@ fn lexicon_doc_io_atcr_hold_subscribeScanJobs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("vulnSummary"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("critical"), SmolStr::new_static("high"),
-                            SmolStr::new_static("medium"), SmolStr::new_static("low"),
-                            SmolStr::new_static("total")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("critical"),
+                        SmolStr::new_static("high"),
+                        SmolStr::new_static("medium"),
+                        SmolStr::new_static("low"),
+                        SmolStr::new_static("total"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -1129,7 +1117,7 @@ fn lexicon_doc_io_atcr_hold_subscribeScanJobs() -> LexiconDoc<'static> {
 
 pub mod scan_result_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1348,10 +1336,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> ScanResult {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> ScanResult {
         ScanResult {
             digest: self._fields.0.unwrap(),
             error: self._fields.1,
@@ -1367,7 +1352,7 @@ where
 
 pub mod vuln_summary_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1460,7 +1445,13 @@ pub mod vuln_summary_state {
 /// Builder for constructing an instance of this type.
 pub struct VulnSummaryBuilder {
     _state: PhantomData St>,
-    _fields: (Option, Option, Option, Option, Option),
+    _fields: (
+        Option,
+        Option,
+        Option,
+        Option,
+        Option,
+    ),
     _type: PhantomData S>,
 }
 
@@ -1598,10 +1589,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> VulnSummary {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> VulnSummary {
         VulnSummary {
             critical: self._fields.0.unwrap(),
             high: self._fields.1.unwrap(),
@@ -1611,4 +1599,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/io_atcr/hold/update_crew_tier.rs b/crates/jacquard-api/src/io_atcr/hold/update_crew_tier.rs
index b859c16e..2483cc69 100644
--- a/crates/jacquard-api/src/io_atcr/hold/update_crew_tier.rs
+++ b/crates/jacquard-api/src/io_atcr/hold/update_crew_tier.rs
@@ -10,15 +10,18 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::Did;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::{IntoStatic, open_union};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct UpdateCrewTier {
     ///Tier rank index (0-based, maps to hold tier list by position).
     pub tier_rank: i64,
@@ -28,9 +31,11 @@ pub struct UpdateCrewTier {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct UpdateCrewTierOutput {
     ///Resolved tier name on this hold.
     pub tier_name: S,
@@ -38,18 +43,9 @@ pub struct UpdateCrewTierOutput {
     pub extra_data: Option>>,
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum UpdateCrewTierError {
     /// Valid appview token required.
@@ -60,7 +56,10 @@ pub enum UpdateCrewTierError {
     UserNotFound(Option),
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for UpdateCrewTierError {
@@ -102,9 +101,8 @@ impl jacquard_common::xrpc::XrpcResp for UpdateCrewTierResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for UpdateCrewTier {
     const NSID: &'static str = "io.atcr.hold.updateCrewTier";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = UpdateCrewTierResponse;
 }
 
@@ -112,16 +110,15 @@ impl jacquard_common::xrpc::XrpcRequest for UpdateCrewTier {
 pub struct UpdateCrewTierRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for UpdateCrewTierRequest {
     const PATH: &'static str = "/xrpc/io.atcr.hold.updateCrewTier";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = UpdateCrewTier;
     type Response = UpdateCrewTierResponse;
 }
 
 pub mod update_crew_tier_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -241,14 +238,11 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> UpdateCrewTier {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> UpdateCrewTier {
         UpdateCrewTier {
             tier_rank: self._fields.0.unwrap(),
             user_did: self._fields.1.unwrap(),
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/io_atcr/hold/upload_part.rs b/crates/jacquard-api/src/io_atcr/hold/upload_part.rs
index c8af4bf3..f74afd84 100644
--- a/crates/jacquard-api/src/io_atcr/hold/upload_part.rs
+++ b/crates/jacquard-api/src/io_atcr/hold/upload_part.rs
@@ -10,12 +10,12 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::bytes::Bytes;
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::{IntoStatic, open_union};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// Raw binary part data
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -24,9 +24,11 @@ pub struct UploadPart {
     pub body: Bytes,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct UploadPartOutput {
     ///ETag of the uploaded part, required for completeUpload
     pub etag: S,
@@ -34,18 +36,9 @@ pub struct UploadPartOutput {
     pub extra_data: Option>>,
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum UploadPartError {
     #[serde(rename = "InvalidUploadId")]
@@ -56,7 +49,10 @@ pub enum UploadPartError {
     UploadFailed(Option),
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for UploadPartError {
@@ -105,22 +101,16 @@ impl jacquard_common::xrpc::XrpcResp for UploadPartResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for UploadPart {
     const NSID: &'static str = "io.atcr.hold.uploadPart";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "*/*",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("*/*");
     type Response = UploadPartResponse;
-    fn encode_body(
-        &self,
-        buffer: &mut Vec,
-    ) -> Result<(), jacquard_common::xrpc::EncodeError>
+    fn encode_body(&self, buffer: &mut Vec) -> Result<(), jacquard_common::xrpc::EncodeError>
     where
         Self: Serialize,
     {
         Ok(buffer.copy_from_slice(self.body.as_ref()))
     }
-    fn decode_body<'de>(
-        body: &'de [u8],
-    ) -> Result
+    fn decode_body<'de>(body: &'de [u8]) -> Result
     where
         Self: Deserialize<'de>,
     {
@@ -134,9 +124,8 @@ impl jacquard_common::xrpc::XrpcRequest for UploadPart {
 pub struct UploadPartRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for UploadPartRequest {
     const PATH: &'static str = "/xrpc/io.atcr.hold.uploadPart";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "*/*",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("*/*");
     type Request = UploadPart;
     type Response = UploadPartResponse;
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/io_atcr/manifest.rs b/crates/jacquard-api/src/io_atcr/manifest.rs
index 0f24e46c..a47e78dd 100644
--- a/crates/jacquard-api/src/io_atcr/manifest.rs
+++ b/crates/jacquard-api/src/io_atcr/manifest.rs
@@ -10,14 +10,14 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::blob::BlobRef;
 use jacquard_common::types::collection::{Collection, RecordError};
-use jacquard_common::types::string::{Did, AtUri, Cid, Datetime, UriValue};
+use jacquard_common::types::string::{AtUri, Cid, Datetime, Did, UriValue};
 use jacquard_common::types::uri::{RecordUri, UriError};
 use jacquard_common::types::value::Data;
 use jacquard_common::xrpc::XrpcResp;
@@ -25,14 +25,17 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::io_atcr::manifest;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::io_atcr::manifest;
+use serde::{Deserialize, Serialize};
 /// Reference to a blob stored in S3 or external storage
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct BlobReference {
     ///Optional OCI annotation metadata. Map of string keys to string values.
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -118,9 +121,7 @@ impl ManifestMediaType {
             Self::ApplicationVndDockerDistributionManifestV2Json => {
                 "application/vnd.docker.distribution.manifest.v2+json"
             }
-            Self::ApplicationVndOciImageIndexV1Json => {
-                "application/vnd.oci.image.index.v1+json"
-            }
+            Self::ApplicationVndOciImageIndexV1Json => "application/vnd.oci.image.index.v1+json",
             Self::ApplicationVndDockerDistributionManifestListV2Json => {
                 "application/vnd.docker.distribution.manifest.list.v2+json"
             }
@@ -136,9 +137,7 @@ impl ManifestMediaType {
             "application/vnd.docker.distribution.manifest.v2+json" => {
                 Self::ApplicationVndDockerDistributionManifestV2Json
             }
-            "application/vnd.oci.image.index.v1+json" => {
-                Self::ApplicationVndOciImageIndexV1Json
-            }
+            "application/vnd.oci.image.index.v1+json" => Self::ApplicationVndOciImageIndexV1Json,
             "application/vnd.docker.distribution.manifest.list.v2+json" => {
                 Self::ApplicationVndDockerDistributionManifestListV2Json
             }
@@ -223,7 +222,10 @@ pub struct ManifestGetRecordOutput {
 /// Reference to a manifest in a manifest list/index
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ManifestReference {
     ///Optional OCI annotation metadata. Map of string keys to string values.
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -244,7 +246,10 @@ pub struct ManifestReference {
 /// Platform information describing OS and architecture
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Platform {
     ///CPU architecture (e.g., 'amd64', 'arm64', 'arm')
     pub architecture: S,
@@ -477,7 +482,7 @@ impl LexiconSchema for Platform {
 
 pub mod blob_reference_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -666,10 +671,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> BlobReference {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> BlobReference {
         BlobReference {
             annotations: self._fields.0,
             digest: self._fields.1.unwrap(),
@@ -682,10 +684,10 @@ where
 }
 
 fn lexicon_doc_io_atcr_manifest() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("io.atcr.manifest"),
@@ -694,17 +696,14 @@ fn lexicon_doc_io_atcr_manifest() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("blobReference"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static(
-                            "Reference to a blob stored in S3 or external storage",
-                        ),
-                    ),
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("mediaType"),
-                            SmolStr::new_static("size"), SmolStr::new_static("digest")
-                        ],
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Reference to a blob stored in S3 or external storage",
+                    )),
+                    required: Some(vec![
+                        SmolStr::new_static("mediaType"),
+                        SmolStr::new_static("size"),
+                        SmolStr::new_static("digest"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -717,9 +716,9 @@ fn lexicon_doc_io_atcr_manifest() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("digest"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Content digest (e.g., 'sha256:...')"),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Content digest (e.g., 'sha256:...')",
+                                )),
                                 max_length: Some(128usize),
                                 ..Default::default()
                             }),
@@ -727,9 +726,7 @@ fn lexicon_doc_io_atcr_manifest() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("mediaType"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("MIME type of the blob"),
-                                ),
+                                description: Some(CowStr::new_static("MIME type of the blob")),
                                 max_length: Some(128usize),
                                 ..Default::default()
                             }),
@@ -743,11 +740,9 @@ fn lexicon_doc_io_atcr_manifest() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("urls"),
                             LexObjectProperty::Array(LexArray {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "Optional direct URLs to blob (for BYOS)",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Optional direct URLs to blob (for BYOS)",
+                                )),
                                 items: LexArrayItem::String(LexString {
                                     format: Some(LexStringFormat::Uri),
                                     ..Default::default()
@@ -918,17 +913,14 @@ fn lexicon_doc_io_atcr_manifest() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("manifestReference"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static(
-                            "Reference to a manifest in a manifest list/index",
-                        ),
-                    ),
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("mediaType"),
-                            SmolStr::new_static("size"), SmolStr::new_static("digest")
-                        ],
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Reference to a manifest in a manifest list/index",
+                    )),
+                    required: Some(vec![
+                        SmolStr::new_static("mediaType"),
+                        SmolStr::new_static("size"),
+                        SmolStr::new_static("digest"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -941,9 +933,9 @@ fn lexicon_doc_io_atcr_manifest() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("digest"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Content digest (e.g., 'sha256:...')"),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Content digest (e.g., 'sha256:...')",
+                                )),
                                 max_length: Some(128usize),
                                 ..Default::default()
                             }),
@@ -951,9 +943,9 @@ fn lexicon_doc_io_atcr_manifest() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("mediaType"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Media type of the referenced manifest"),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Media type of the referenced manifest",
+                                )),
                                 max_length: Some(128usize),
                                 ..Default::default()
                             }),
@@ -979,28 +971,22 @@ fn lexicon_doc_io_atcr_manifest() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("platform"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static(
-                            "Platform information describing OS and architecture",
-                        ),
-                    ),
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("architecture"),
-                            SmolStr::new_static("os")
-                        ],
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Platform information describing OS and architecture",
+                    )),
+                    required: Some(vec![
+                        SmolStr::new_static("architecture"),
+                        SmolStr::new_static("os"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("architecture"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "CPU architecture (e.g., 'amd64', 'arm64', 'arm')",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "CPU architecture (e.g., 'amd64', 'arm64', 'arm')",
+                                )),
                                 max_length: Some(32usize),
                                 ..Default::default()
                             }),
@@ -1008,11 +994,9 @@ fn lexicon_doc_io_atcr_manifest() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("os"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "Operating system (e.g., 'linux', 'windows', 'darwin')",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Operating system (e.g., 'linux', 'windows', 'darwin')",
+                                )),
                                 max_length: Some(32usize),
                                 ..Default::default()
                             }),
@@ -1020,9 +1004,7 @@ fn lexicon_doc_io_atcr_manifest() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("osFeatures"),
                             LexObjectProperty::Array(LexArray {
-                                description: Some(
-                                    CowStr::new_static("Optional OS features"),
-                                ),
+                                description: Some(CowStr::new_static("Optional OS features")),
                                 items: LexArrayItem::String(LexString {
                                     max_length: Some(64usize),
                                     ..Default::default()
@@ -1033,9 +1015,7 @@ fn lexicon_doc_io_atcr_manifest() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("osVersion"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Optional OS version"),
-                                ),
+                                description: Some(CowStr::new_static("Optional OS version")),
                                 max_length: Some(64usize),
                                 ..Default::default()
                             }),
@@ -1043,11 +1023,9 @@ fn lexicon_doc_io_atcr_manifest() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("variant"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "Optional CPU variant (e.g., 'v7' for ARM)",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Optional CPU variant (e.g., 'v7' for ARM)",
+                                )),
                                 max_length: Some(32usize),
                                 ..Default::default()
                             }),
@@ -1065,7 +1043,7 @@ fn lexicon_doc_io_atcr_manifest() -> LexiconDoc<'static> {
 
 pub mod manifest_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1189,19 +1167,7 @@ impl ManifestBuilder {
         ManifestBuilder {
             _state: PhantomData,
             _fields: (
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
+                None, None, None, None, None, None, None, None, None, None, None, None, None,
             ),
             _type: PhantomData,
         }
@@ -1223,10 +1189,7 @@ impl ManifestBuilder {
 
 impl ManifestBuilder {
     /// Set the `config` field (optional)
-    pub fn config(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn config(mut self, value: impl Into>>) -> Self {
         self._fields.1 = value.into();
         self
     }
@@ -1303,18 +1266,12 @@ impl ManifestBuilder {
 
 impl ManifestBuilder {
     /// Set the `layers` field (optional)
-    pub fn layers(
-        mut self,
-        value: impl Into>>>,
-    ) -> Self {
+    pub fn layers(mut self, value: impl Into>>>) -> Self {
         self._fields.6 = value.into();
         self
     }
     /// Set the `layers` field to an Option value (optional)
-    pub fn maybe_layers(
-        mut self,
-        value: Option>>,
-    ) -> Self {
+    pub fn maybe_layers(mut self, value: Option>>) -> Self {
         self._fields.6 = value;
         self
     }
@@ -1343,10 +1300,7 @@ impl ManifestBuilder {
         self
     }
     /// Set the `manifests` field to an Option value (optional)
-    pub fn maybe_manifests(
-        mut self,
-        value: Option>>,
-    ) -> Self {
+    pub fn maybe_manifests(mut self, value: Option>>) -> Self {
         self._fields.8 = value;
         self
     }
@@ -1411,10 +1365,7 @@ where
 
 impl ManifestBuilder {
     /// Set the `subject` field (optional)
-    pub fn subject(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn subject(mut self, value: impl Into>>) -> Self {
         self._fields.12 = value.into();
         self
     }
@@ -1476,7 +1427,7 @@ where
 
 pub mod manifest_reference_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1665,10 +1616,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> ManifestReference {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> ManifestReference {
         ManifestReference {
             annotations: self._fields.0,
             digest: self._fields.1.unwrap(),
@@ -1678,4 +1626,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/io_atcr/repo.rs b/crates/jacquard-api/src/io_atcr/repo.rs
index e42a9eae..ea718d36 100644
--- a/crates/jacquard-api/src/io_atcr/repo.rs
+++ b/crates/jacquard-api/src/io_atcr/repo.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod page;
\ No newline at end of file
+pub mod page;
diff --git a/crates/jacquard-api/src/io_atcr/repo/page.rs b/crates/jacquard-api/src/io_atcr/repo/page.rs
index 9f8b2990..51d34ccf 100644
--- a/crates/jacquard-api/src/io_atcr/repo/page.rs
+++ b/crates/jacquard-api/src/io_atcr/repo/page.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -27,7 +27,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// Repository page metadata including description and avatar. Users can edit this directly in their PDS to customize their repository page.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -125,25 +125,23 @@ impl LexiconSchema for Page {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["image/png", "image/jpeg", "image/webp"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("avatar"),
                         accepted: vec![
-                            "image/png".to_string(), "image/jpeg".to_string(),
-                            "image/webp".to_string()
+                            "image/png".to_string(),
+                            "image/jpeg".to_string(),
+                            "image/webp".to_string(),
                         ],
                         actual: mime.to_string(),
                     });
@@ -177,7 +175,7 @@ impl LexiconSchema for Page {
 
 pub mod page_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -379,10 +377,10 @@ where
 }
 
 fn lexicon_doc_io_atcr_repo_page() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("io.atcr.repo.page"),
@@ -467,4 +465,4 @@ fn lexicon_doc_io_atcr_repo_page() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/io_atcr/sailor.rs b/crates/jacquard-api/src/io_atcr/sailor.rs
index 5c7c5020..3d745c64 100644
--- a/crates/jacquard-api/src/io_atcr/sailor.rs
+++ b/crates/jacquard-api/src/io_atcr/sailor.rs
@@ -5,4 +5,4 @@
 
 pub mod profile;
 pub mod star;
-pub mod webhook;
\ No newline at end of file
+pub mod webhook;
diff --git a/crates/jacquard-api/src/io_atcr/sailor/profile.rs b/crates/jacquard-api/src/io_atcr/sailor/profile.rs
index a71d1682..558fefe2 100644
--- a/crates/jacquard-api/src/io_atcr/sailor/profile.rs
+++ b/crates/jacquard-api/src/io_atcr/sailor/profile.rs
@@ -10,13 +10,13 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::collection::{Collection, RecordError};
-use jacquard_common::types::string::{Did, AtUri, Cid, Datetime};
+use jacquard_common::types::string::{AtUri, Cid, Datetime, Did};
 use jacquard_common::types::uri::{RecordUri, UriError};
 use jacquard_common::types::value::Data;
 use jacquard_common::xrpc::XrpcResp;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// User profile for ATCR registry. Stores preferences like default hold for blob storage.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -113,7 +113,7 @@ impl LexiconSchema for Profile {
 
 pub mod profile_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -146,7 +146,12 @@ pub mod profile_state {
 /// Builder for constructing an instance of this type.
 pub struct ProfileBuilder {
     _state: PhantomData St>,
-    _fields: (Option, Option, Option>, Option),
+    _fields: (
+        Option,
+        Option,
+        Option>,
+        Option,
+    ),
     _type: PhantomData S>,
 }
 
@@ -254,10 +259,10 @@ where
 }
 
 fn lexicon_doc_io_atcr_sailor_profile() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("io.atcr.sailor.profile"),
@@ -326,4 +331,4 @@ fn lexicon_doc_io_atcr_sailor_profile() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/io_atcr/sailor/star.rs b/crates/jacquard-api/src/io_atcr/sailor/star.rs
index 091aa41d..2f20300e 100644
--- a/crates/jacquard-api/src/io_atcr/sailor/star.rs
+++ b/crates/jacquard-api/src/io_atcr/sailor/star.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// A star (like) on a container image repository. Stored in the starrer's PDS, similar to Bluesky likes. Subject is an AT URI pointing to the repo page record being starred.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -106,7 +106,7 @@ impl LexiconSchema for Star {
 
 pub mod star_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -236,10 +236,10 @@ where
 }
 
 fn lexicon_doc_io_atcr_sailor_star() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("io.atcr.sailor.star"),
@@ -297,4 +297,4 @@ fn lexicon_doc_io_atcr_sailor_star() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/io_atcr/sailor/webhook.rs b/crates/jacquard-api/src/io_atcr/sailor/webhook.rs
index 954e9962..c1981081 100644
--- a/crates/jacquard-api/src/io_atcr/sailor/webhook.rs
+++ b/crates/jacquard-api/src/io_atcr/sailor/webhook.rs
@@ -10,13 +10,13 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::collection::{Collection, RecordError};
-use jacquard_common::types::string::{Did, AtUri, Cid, Datetime};
+use jacquard_common::types::string::{AtUri, Cid, Datetime, Did};
 use jacquard_common::types::uri::{RecordUri, UriError};
 use jacquard_common::types::value::Data;
 use jacquard_common::xrpc::XrpcResp;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// Public webhook metadata stored in the user's PDS. Links to a private io.atcr.hold.webhook record on the hold where URL and secret are stored. Part of a two-record split: this record is visible via ATProto (Jetstream), the hold record is not.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -134,7 +134,7 @@ impl LexiconSchema for Webhook {
 
 pub mod webhook_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -359,10 +359,10 @@ where
 }
 
 fn lexicon_doc_io_atcr_sailor_webhook() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("io.atcr.sailor.webhook"),
@@ -455,4 +455,4 @@ fn lexicon_doc_io_atcr_sailor_webhook() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/io_atcr/tag.rs b/crates/jacquard-api/src/io_atcr/tag.rs
index c73c2f87..727ef9d5 100644
--- a/crates/jacquard-api/src/io_atcr/tag.rs
+++ b/crates/jacquard-api/src/io_atcr/tag.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// A named tag pointing to a specific manifest digest
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -147,7 +147,7 @@ impl LexiconSchema for Tag {
 
 pub mod tag_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -192,7 +192,13 @@ pub mod tag_state {
 /// Builder for constructing an instance of this type.
 pub struct TagBuilder {
     _state: PhantomData St>,
-    _fields: (Option>, Option, Option, Option, Option),
+    _fields: (
+        Option>,
+        Option,
+        Option,
+        Option,
+        Option,
+    ),
     _type: PhantomData S>,
 }
 
@@ -319,10 +325,10 @@ where
 }
 
 fn lexicon_doc_io_atcr_tag() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("io.atcr.tag"),
@@ -416,4 +422,4 @@ fn lexicon_doc_io_atcr_tag() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/io_kich.rs b/crates/jacquard-api/src/io_kich.rs
index 4c8a65c0..9115109b 100644
--- a/crates/jacquard-api/src/io_kich.rs
+++ b/crates/jacquard-api/src/io_kich.rs
@@ -7,4 +7,4 @@ pub mod accomplishment;
 pub mod cookinglog;
 pub mod graph;
 pub mod profile;
-pub mod recipe;
\ No newline at end of file
+pub mod recipe;
diff --git a/crates/jacquard-api/src/io_kich/accomplishment.rs b/crates/jacquard-api/src/io_kich/accomplishment.rs
index 84d25727..d43550dd 100644
--- a/crates/jacquard-api/src/io_kich/accomplishment.rs
+++ b/crates/jacquard-api/src/io_kich/accomplishment.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(
@@ -107,7 +107,7 @@ impl LexiconSchema for Accomplishment {
 
 pub mod accomplishment_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -241,10 +241,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> Accomplishment {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> Accomplishment {
         Accomplishment {
             created_at: self._fields.0.unwrap(),
             metadata: self._fields.1,
@@ -255,10 +252,10 @@ where
 }
 
 fn lexicon_doc_io_kich_accomplishment() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("io.kich.accomplishment"),
@@ -269,12 +266,10 @@ fn lexicon_doc_io_kich_accomplishment() -> LexiconDoc<'static> {
                 LexUserType::Record(LexRecord {
                     key: Some(CowStr::new_static("any")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("type"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("type"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -294,11 +289,9 @@ fn lexicon_doc_io_kich_accomplishment() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("type"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "Accomplishment type key (e.g. first_made, first_recipe)",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Accomplishment type key (e.g. first_made, first_recipe)",
+                                    )),
                                     ..Default::default()
                                 }),
                             );
@@ -313,4 +306,4 @@ fn lexicon_doc_io_kich_accomplishment() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/io_kich/cookinglog.rs b/crates/jacquard-api/src/io_kich/cookinglog.rs
index 6a4c6035..850f2adf 100644
--- a/crates/jacquard-api/src/io_kich/cookinglog.rs
+++ b/crates/jacquard-api/src/io_kich/cookinglog.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::com_atproto::repo::strong_ref::StrongRef;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::com_atproto::repo::strong_ref::StrongRef;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(
@@ -122,7 +122,7 @@ impl LexiconSchema for Cookinglog {
 
 pub mod cookinglog_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -167,7 +167,12 @@ pub mod cookinglog_state {
 /// Builder for constructing an instance of this type.
 pub struct CookinglogBuilder {
     _state: PhantomData St>,
-    _fields: (Option, Option, Option>, Option>),
+    _fields: (
+        Option,
+        Option,
+        Option>,
+        Option>,
+    ),
     _type: PhantomData S>,
 }
 
@@ -270,10 +275,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> Cookinglog {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> Cookinglog {
         Cookinglog {
             created_at: self._fields.0.unwrap(),
             notes: self._fields.1,
@@ -285,10 +287,10 @@ where
 }
 
 fn lexicon_doc_io_kich_cookinglog() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("io.kich.cookinglog"),
@@ -299,21 +301,19 @@ fn lexicon_doc_io_kich_cookinglog() -> LexiconDoc<'static> {
                 LexUserType::Record(LexRecord {
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("subject"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("subject"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
                             map.insert(
                                 SmolStr::new_static("createdAt"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("When this cooking log was created."),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "When this cooking log was created.",
+                                    )),
                                     format: Some(LexStringFormat::Datetime),
                                     ..Default::default()
                                 }),
@@ -321,11 +321,9 @@ fn lexicon_doc_io_kich_cookinglog() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("notes"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "Optional user notes captured at completion.",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Optional user notes captured at completion.",
+                                    )),
                                     max_length: Some(500usize),
                                     ..Default::default()
                                 }),
@@ -354,4 +352,4 @@ fn lexicon_doc_io_kich_cookinglog() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/io_kich/graph.rs b/crates/jacquard-api/src/io_kich/graph.rs
index c6580524..5ecc1200 100644
--- a/crates/jacquard-api/src/io_kich/graph.rs
+++ b/crates/jacquard-api/src/io_kich/graph.rs
@@ -7,7 +7,6 @@
 
 pub mod follow;
 
-
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
@@ -22,11 +21,14 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// Shared definitions for graph-related lexicons
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Defs {
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
@@ -48,10 +50,10 @@ impl LexiconSchema for Defs {
 }
 
 fn lexicon_doc_io_kich_graph_defs() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("io.kich.graph.defs"),
@@ -60,11 +62,9 @@ fn lexicon_doc_io_kich_graph_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static(
-                            "Shared definitions for graph-related lexicons",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Shared definitions for graph-related lexicons",
+                    )),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -77,4 +77,4 @@ fn lexicon_doc_io_kich_graph_defs() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/io_kich/graph/follow.rs b/crates/jacquard-api/src/io_kich/graph/follow.rs
index c43c65c4..58fcce4e 100644
--- a/crates/jacquard-api/src/io_kich/graph/follow.rs
+++ b/crates/jacquard-api/src/io_kich/graph/follow.rs
@@ -10,13 +10,13 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::collection::{Collection, RecordError};
-use jacquard_common::types::string::{Did, AtUri, Cid, Datetime};
+use jacquard_common::types::string::{AtUri, Cid, Datetime, Did};
 use jacquard_common::types::uri::{RecordUri, UriError};
 use jacquard_common::types::value::Data;
 use jacquard_common::xrpc::XrpcResp;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(
@@ -105,7 +105,7 @@ impl LexiconSchema for Follow {
 
 pub mod follow_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -235,10 +235,10 @@ where
 }
 
 fn lexicon_doc_io_kich_graph_follow() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("io.kich.graph.follow"),
@@ -249,21 +249,19 @@ fn lexicon_doc_io_kich_graph_follow() -> LexiconDoc<'static> {
                 LexUserType::Record(LexRecord {
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("subject"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("subject"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
                             map.insert(
                                 SmolStr::new_static("createdAt"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("When this follow was created"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "When this follow was created",
+                                    )),
                                     format: Some(LexStringFormat::Datetime),
                                     ..Default::default()
                                 }),
@@ -271,9 +269,9 @@ fn lexicon_doc_io_kich_graph_follow() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("subject"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("The DID of the user being followed"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "The DID of the user being followed",
+                                    )),
                                     format: Some(LexStringFormat::Did),
                                     ..Default::default()
                                 }),
@@ -289,4 +287,4 @@ fn lexicon_doc_io_kich_graph_follow() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/io_kich/profile.rs b/crates/jacquard-api/src/io_kich/profile.rs
index c9c1dc46..dc585193 100644
--- a/crates/jacquard-api/src/io_kich/profile.rs
+++ b/crates/jacquard-api/src/io_kich/profile.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(
@@ -116,7 +116,7 @@ impl LexiconSchema for Profile {
 
 pub mod profile_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -227,10 +227,10 @@ where
 }
 
 fn lexicon_doc_io_kich_profile() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("io.kich.profile"),
@@ -248,9 +248,9 @@ fn lexicon_doc_io_kich_profile() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("createdAt"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("When this profile was created"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "When this profile was created",
+                                    )),
                                     format: Some(LexStringFormat::Datetime),
                                     ..Default::default()
                                 }),
@@ -258,11 +258,9 @@ fn lexicon_doc_io_kich_profile() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("description"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "Optional description or bio for this Kitchen profile",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Optional description or bio for this Kitchen profile",
+                                    )),
                                     max_length: Some(500usize),
                                     ..Default::default()
                                 }),
@@ -278,4 +276,4 @@ fn lexicon_doc_io_kich_profile() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/io_kich/recipe.rs b/crates/jacquard-api/src/io_kich/recipe.rs
index 84ce0a8f..003555e1 100644
--- a/crates/jacquard-api/src/io_kich/recipe.rs
+++ b/crates/jacquard-api/src/io_kich/recipe.rs
@@ -13,7 +13,6 @@ pub mod recipe;
 pub mod review;
 pub mod save;
 
-
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
@@ -28,11 +27,14 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// Shared definitions for recipe-related lexicons
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Defs {
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
@@ -54,10 +56,10 @@ impl LexiconSchema for Defs {
 }
 
 fn lexicon_doc_io_kich_recipe_defs() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("io.kich.recipe.defs"),
@@ -66,11 +68,9 @@ fn lexicon_doc_io_kich_recipe_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static(
-                            "Shared definitions for recipe-related lexicons",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Shared definitions for recipe-related lexicons",
+                    )),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -83,4 +83,4 @@ fn lexicon_doc_io_kich_recipe_defs() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/io_kich/recipe/collection.rs b/crates/jacquard-api/src/io_kich/recipe/collection.rs
index 5543ba1b..3e2ca565 100644
--- a/crates/jacquard-api/src/io_kich/recipe/collection.rs
+++ b/crates/jacquard-api/src/io_kich/recipe/collection.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -27,7 +27,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(
@@ -123,19 +123,16 @@ impl LexiconSchema for Collection {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["image/*"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("image"),
@@ -173,7 +170,7 @@ impl LexiconSchema for Collection {
 
 pub mod collection_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -341,10 +338,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> Collection {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> Collection {
         Collection {
             created_at: self._fields.0.unwrap(),
             description: self._fields.1,
@@ -357,10 +351,10 @@ where
 }
 
 fn lexicon_doc_io_kich_recipe_collection() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("io.kich.recipe.collection"),
@@ -371,21 +365,19 @@ fn lexicon_doc_io_kich_recipe_collection() -> LexiconDoc<'static> {
                 LexUserType::Record(LexRecord {
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("name"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("name"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
                             map.insert(
                                 SmolStr::new_static("createdAt"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("When this collection was created"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "When this collection was created",
+                                    )),
                                     format: Some(LexStringFormat::Datetime),
                                     ..Default::default()
                                 }),
@@ -393,23 +385,25 @@ fn lexicon_doc_io_kich_recipe_collection() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("description"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("Optional description of the collection"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Optional description of the collection",
+                                    )),
                                     max_length: Some(3000usize),
                                     ..Default::default()
                                 }),
                             );
                             map.insert(
                                 SmolStr::new_static("image"),
-                                LexObjectProperty::Blob(LexBlob { ..Default::default() }),
+                                LexObjectProperty::Blob(LexBlob {
+                                    ..Default::default()
+                                }),
                             );
                             map.insert(
                                 SmolStr::new_static("name"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("Display name for the collection"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Display name for the collection",
+                                    )),
                                     min_length: Some(1usize),
                                     max_length: Some(64usize),
                                     ..Default::default()
@@ -418,9 +412,9 @@ fn lexicon_doc_io_kich_recipe_collection() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("updatedAt"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("When this collection was last updated"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "When this collection was last updated",
+                                    )),
                                     format: Some(LexStringFormat::Datetime),
                                     ..Default::default()
                                 }),
@@ -436,4 +430,4 @@ fn lexicon_doc_io_kich_recipe_collection() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/io_kich/recipe/collectionfollow.rs b/crates/jacquard-api/src/io_kich/recipe/collectionfollow.rs
index f530fa8b..0bda9942 100644
--- a/crates/jacquard-api/src/io_kich/recipe/collectionfollow.rs
+++ b/crates/jacquard-api/src/io_kich/recipe/collectionfollow.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::com_atproto::repo::strong_ref::StrongRef;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::com_atproto::repo::strong_ref::StrongRef;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(
@@ -106,7 +106,7 @@ impl LexiconSchema for Collectionfollow {
 
 pub mod collectionfollow_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -226,10 +226,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> Collectionfollow {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> Collectionfollow {
         Collectionfollow {
             created_at: self._fields.0.unwrap(),
             subject: self._fields.1.unwrap(),
@@ -239,10 +236,10 @@ where
 }
 
 fn lexicon_doc_io_kich_recipe_collectionfollow() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("io.kich.recipe.collectionfollow"),
@@ -253,21 +250,19 @@ fn lexicon_doc_io_kich_recipe_collectionfollow() -> LexiconDoc<'static> {
                 LexUserType::Record(LexRecord {
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("subject"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("subject"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
                             map.insert(
                                 SmolStr::new_static("createdAt"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("When this follow was created"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "When this follow was created",
+                                    )),
                                     format: Some(LexStringFormat::Datetime),
                                     ..Default::default()
                                 }),
@@ -290,4 +285,4 @@ fn lexicon_doc_io_kich_recipe_collectionfollow() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/io_kich/recipe/collectionitem.rs b/crates/jacquard-api/src/io_kich/recipe/collectionitem.rs
index e5bf860c..7b48579d 100644
--- a/crates/jacquard-api/src/io_kich/recipe/collectionitem.rs
+++ b/crates/jacquard-api/src/io_kich/recipe/collectionitem.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::com_atproto::repo::strong_ref::StrongRef;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::com_atproto::repo::strong_ref::StrongRef;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(
@@ -114,7 +114,7 @@ impl LexiconSchema for Collectionitem {
 
 pub mod collectionitem_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -303,10 +303,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> Collectionitem {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> Collectionitem {
         Collectionitem {
             collection: self._fields.0.unwrap(),
             created_at: self._fields.1.unwrap(),
@@ -319,10 +316,10 @@ where
 }
 
 fn lexicon_doc_io_kich_recipe_collectionitem() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("io.kich.recipe.collectionitem"),
@@ -402,4 +399,4 @@ fn lexicon_doc_io_kich_recipe_collectionitem() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/io_kich/recipe/like.rs b/crates/jacquard-api/src/io_kich/recipe/like.rs
index d9e650c4..325d808e 100644
--- a/crates/jacquard-api/src/io_kich/recipe/like.rs
+++ b/crates/jacquard-api/src/io_kich/recipe/like.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::com_atproto::repo::strong_ref::StrongRef;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::com_atproto::repo::strong_ref::StrongRef;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(
@@ -106,7 +106,7 @@ impl LexiconSchema for Like {
 
 pub mod like_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -251,10 +251,10 @@ where
 }
 
 fn lexicon_doc_io_kich_recipe_like() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("io.kich.recipe.like"),
@@ -265,12 +265,10 @@ fn lexicon_doc_io_kich_recipe_like() -> LexiconDoc<'static> {
                 LexUserType::Record(LexRecord {
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("subject"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("subject"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -306,4 +304,4 @@ fn lexicon_doc_io_kich_recipe_like() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/io_kich/recipe/recipe.rs b/crates/jacquard-api/src/io_kich/recipe/recipe.rs
index 3307ed4a..64c14425 100644
--- a/crates/jacquard-api/src/io_kich/recipe/recipe.rs
+++ b/crates/jacquard-api/src/io_kich/recipe/recipe.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -25,14 +25,17 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::com_atproto::repo::strong_ref::StrongRef;
 use crate::io_kich::recipe::recipe;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Ingredient {
     ///[Deprecated] Amount needed in grams. Use measuredAmount/measuredUnit instead.
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -71,9 +74,11 @@ pub struct Ingredient {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct InstructionStep {
     ///Unique identifier for this instruction step
     pub id: S,
@@ -83,7 +88,6 @@ pub struct InstructionStep {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(
     rename_all = "camelCase",
@@ -160,9 +164,11 @@ pub struct RecipeGetRecordOutput {
     pub value: Recipe,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Tag {
     ///Tag identifier
     pub id: S,
@@ -284,10 +290,10 @@ fn _default_ingredient_is_optional() -> Option {
 }
 
 fn lexicon_doc_io_kich_recipe_recipe() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("io.kich.recipe.recipe"),
@@ -398,20 +404,19 @@ fn lexicon_doc_io_kich_recipe_recipe() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("instructionStep"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![SmolStr::new_static("id"), SmolStr::new_static("value")],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("id"),
+                        SmolStr::new_static("value"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("id"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "Unique identifier for this instruction step",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Unique identifier for this instruction step",
+                                )),
                                 ..Default::default()
                             }),
                         );
@@ -618,9 +623,7 @@ fn lexicon_doc_io_kich_recipe_recipe() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("tag"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![SmolStr::new_static("id"), SmolStr::new_static("name")],
-                    ),
+                    required: Some(vec![SmolStr::new_static("id"), SmolStr::new_static("name")]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -659,7 +662,7 @@ fn _default_recipe_servings() -> i64 {
 
 pub mod recipe_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -754,24 +757,8 @@ impl RecipeBuilder {
         RecipeBuilder {
             _state: PhantomData,
             _fields: (
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
+                None, None, None, None, None, None, None, None, None, None, None, None, None, None,
+                None, None, None, None,
             ),
             _type: PhantomData,
         }
@@ -877,18 +864,12 @@ impl RecipeBuilder {
 
 impl RecipeBuilder {
     /// Set the `ingredients` field (optional)
-    pub fn ingredients(
-        mut self,
-        value: impl Into>>>,
-    ) -> Self {
+    pub fn ingredients(mut self, value: impl Into>>>) -> Self {
         self._fields.7 = value.into();
         self
     }
     /// Set the `ingredients` field to an Option value (optional)
-    pub fn maybe_ingredients(
-        mut self,
-        value: Option>>,
-    ) -> Self {
+    pub fn maybe_ingredients(mut self, value: Option>>) -> Self {
         self._fields.7 = value;
         self
     }
@@ -904,10 +885,7 @@ impl RecipeBuilder {
         self
     }
     /// Set the `instructions` field to an Option value (optional)
-    pub fn maybe_instructions(
-        mut self,
-        value: Option>>,
-    ) -> Self {
+    pub fn maybe_instructions(mut self, value: Option>>) -> Self {
         self._fields.8 = value;
         self
     }
@@ -932,10 +910,7 @@ where
     St::Name: recipe_state::IsUnset,
 {
     /// Set the `name` field (required)
-    pub fn name(
-        mut self,
-        value: impl Into,
-    ) -> RecipeBuilder> {
+    pub fn name(mut self, value: impl Into) -> RecipeBuilder> {
         self._fields.10 = Option::Some(value.into());
         RecipeBuilder {
             _state: PhantomData,
@@ -1097,4 +1072,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/io_kich/recipe/review.rs b/crates/jacquard-api/src/io_kich/recipe/review.rs
index 46fba836..41dde6c7 100644
--- a/crates/jacquard-api/src/io_kich/recipe/review.rs
+++ b/crates/jacquard-api/src/io_kich/recipe/review.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::com_atproto::repo::strong_ref::StrongRef;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::com_atproto::repo::strong_ref::StrongRef;
+use serde::{Deserialize, Serialize};
 /// Record key is the recipe's rkey for one-review-per-user-per-recipe; pass recipeId as rkey
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -145,7 +145,7 @@ impl LexiconSchema for Review {
 
 pub mod review_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -347,10 +347,10 @@ where
 }
 
 fn lexicon_doc_io_kich_recipe_review() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("io.kich.recipe.review"),
@@ -434,4 +434,4 @@ fn lexicon_doc_io_kich_recipe_review() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/io_kich/recipe/save.rs b/crates/jacquard-api/src/io_kich/recipe/save.rs
index 51dc35f3..37f8ed5b 100644
--- a/crates/jacquard-api/src/io_kich/recipe/save.rs
+++ b/crates/jacquard-api/src/io_kich/recipe/save.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::com_atproto::repo::strong_ref::StrongRef;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::com_atproto::repo::strong_ref::StrongRef;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(
@@ -107,7 +107,7 @@ impl LexiconSchema for Save {
 
 pub mod save_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -252,10 +252,10 @@ where
 }
 
 fn lexicon_doc_io_kich_recipe_save() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("io.kich.recipe.save"),
@@ -266,12 +266,10 @@ fn lexicon_doc_io_kich_recipe_save() -> LexiconDoc<'static> {
                 LexUserType::Record(LexRecord {
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("subject"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("subject"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -307,4 +305,4 @@ fn lexicon_doc_io_kich_recipe_save() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/io_livewire.rs b/crates/jacquard-api/src/io_livewire.rs
index 9321df1c..c53e4fbd 100644
--- a/crates/jacquard-api/src/io_livewire.rs
+++ b/crates/jacquard-api/src/io_livewire.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod p3k;
\ No newline at end of file
+pub mod p3k;
diff --git a/crates/jacquard-api/src/io_livewire/p3k.rs b/crates/jacquard-api/src/io_livewire/p3k.rs
index 00b2df67..bf43c749 100644
--- a/crates/jacquard-api/src/io_livewire/p3k.rs
+++ b/crates/jacquard-api/src/io_livewire/p3k.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod podping00;
\ No newline at end of file
+pub mod podping00;
diff --git a/crates/jacquard-api/src/io_livewire/p3k/podping00.rs b/crates/jacquard-api/src/io_livewire/p3k/podping00.rs
index c81baae0..4b7934df 100644
--- a/crates/jacquard-api/src/io_livewire/p3k/podping00.rs
+++ b/crates/jacquard-api/src/io_livewire/p3k/podping00.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// Podping v0.0.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -106,7 +106,7 @@ impl LexiconSchema for Podping00 {
 
 pub mod podping00_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -226,10 +226,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> Podping00 {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> Podping00 {
         Podping00 {
             created_at: self._fields.0.unwrap(),
             url: self._fields.1.unwrap(),
@@ -239,10 +236,10 @@ where
 }
 
 fn lexicon_doc_io_livewire_p3k_podping00() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("io.livewire.p3k.podping00"),
@@ -254,22 +251,19 @@ fn lexicon_doc_io_livewire_p3k_podping00() -> LexiconDoc<'static> {
                     description: Some(CowStr::new_static("Podping v0.0.")),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("url"), SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("url"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
                             map.insert(
                                 SmolStr::new_static("createdAt"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "The timestamp of when the podping was created.",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "The timestamp of when the podping was created.",
+                                    )),
                                     format: Some(LexStringFormat::Datetime),
                                     ..Default::default()
                                 }),
@@ -277,9 +271,9 @@ fn lexicon_doc_io_livewire_p3k_podping00() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("url"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("The feed URL that updated."),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "The feed URL that updated.",
+                                    )),
                                     format: Some(LexStringFormat::Uri),
                                     ..Default::default()
                                 }),
@@ -295,4 +289,4 @@ fn lexicon_doc_io_livewire_p3k_podping00() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/io_sound.rs b/crates/jacquard-api/src/io_sound.rs
index de235a03..dcd33bda 100644
--- a/crates/jacquard-api/src/io_sound.rs
+++ b/crates/jacquard-api/src/io_sound.rs
@@ -4,4 +4,4 @@
 // Any manual changes will be overwritten on the next regeneration.
 
 pub mod credit;
-pub mod sequence;
\ No newline at end of file
+pub mod sequence;
diff --git a/crates/jacquard-api/src/io_sound/credit.rs b/crates/jacquard-api/src/io_sound/credit.rs
index 3848a58d..887e4530 100644
--- a/crates/jacquard-api/src/io_sound/credit.rs
+++ b/crates/jacquard-api/src/io_sound/credit.rs
@@ -7,7 +7,7 @@
 
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -20,11 +20,14 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// Attribution for a creative work
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Credit {
     ///Name of the credited person
     pub name: S,
@@ -204,10 +207,10 @@ impl LexiconSchema for Credit {
 }
 
 fn lexicon_doc_io_sound_credit() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("io.sound.credit"),
@@ -216,21 +219,20 @@ fn lexicon_doc_io_sound_credit() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("Attribution for a creative work"),
-                    ),
-                    required: Some(
-                        vec![SmolStr::new_static("name"), SmolStr::new_static("role")],
-                    ),
+                    description: Some(CowStr::new_static("Attribution for a creative work")),
+                    required: Some(vec![
+                        SmolStr::new_static("name"),
+                        SmolStr::new_static("role"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("name"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Name of the credited person"),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Name of the credited person",
+                                )),
                                 max_length: Some(640usize),
                                 max_graphemes: Some(320usize),
                                 ..Default::default()
@@ -239,11 +241,9 @@ fn lexicon_doc_io_sound_credit() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("role"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "Role: composer, lyricist, arranger, etc",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Role: composer, lyricist, arranger, etc",
+                                )),
                                 max_length: Some(64usize),
                                 max_graphemes: Some(32usize),
                                 ..Default::default()
@@ -252,11 +252,9 @@ fn lexicon_doc_io_sound_credit() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("url"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "URL to credited person's profile or website",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "URL to credited person's profile or website",
+                                )),
                                 format: Some(LexStringFormat::Uri),
                                 ..Default::default()
                             }),
@@ -270,4 +268,4 @@ fn lexicon_doc_io_sound_credit() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/io_sound/sequence.rs b/crates/jacquard-api/src/io_sound/sequence.rs
index 82fbac34..ae235388 100644
--- a/crates/jacquard-api/src/io_sound/sequence.rs
+++ b/crates/jacquard-api/src/io_sound/sequence.rs
@@ -10,8 +10,8 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::bytes::Bytes;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -25,12 +25,12 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::com_atproto::repo::strong_ref::StrongRef;
 use crate::io_sound::credit::Credit;
 use crate::io_sound::sequence;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// A sequence of timed events. Full documentation at https://github.com/soundio/sequence/.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -180,7 +180,7 @@ impl LexiconSchema for Sequence {
 
 pub mod sequence_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -241,7 +241,9 @@ impl SequenceBuilder {
     pub fn new() -> Self {
         SequenceBuilder {
             _state: PhantomData,
-            _fields: (None, None, None, None, None, None, None, None, None, None, None),
+            _fields: (
+                None, None, None, None, None, None, None, None, None, None, None,
+            ),
             _type: PhantomData,
         }
     }
@@ -333,10 +335,7 @@ impl SequenceBuilder {
 
 impl SequenceBuilder {
     /// Set the `sequences` field (optional)
-    pub fn sequences(
-        mut self,
-        value: impl Into>>>,
-    ) -> Self {
+    pub fn sequences(mut self, value: impl Into>>>) -> Self {
         self._fields.6 = value.into();
         self
     }
@@ -441,10 +440,10 @@ where
 }
 
 fn lexicon_doc_io_sound_sequence() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("io.sound.sequence"),
@@ -592,4 +591,4 @@ fn lexicon_doc_io_sound_sequence() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/io_whiteley.rs b/crates/jacquard-api/src/io_whiteley.rs
index 20eb16f2..e3b7cc08 100644
--- a/crates/jacquard-api/src/io_whiteley.rs
+++ b/crates/jacquard-api/src/io_whiteley.rs
@@ -4,4 +4,4 @@
 // Any manual changes will be overwritten on the next regeneration.
 
 pub mod ATlas;
-pub mod luke;
\ No newline at end of file
+pub mod luke;
diff --git a/crates/jacquard-api/src/io_whiteley/ATlas.rs b/crates/jacquard-api/src/io_whiteley/ATlas.rs
index 3edfce2d..7af46372 100644
--- a/crates/jacquard-api/src/io_whiteley/ATlas.rs
+++ b/crates/jacquard-api/src/io_whiteley/ATlas.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod pin;
\ No newline at end of file
+pub mod pin;
diff --git a/crates/jacquard-api/src/io_whiteley/ATlas/pin.rs b/crates/jacquard-api/src/io_whiteley/ATlas/pin.rs
index c5cac4b1..52c487bd 100644
--- a/crates/jacquard-api/src/io_whiteley/ATlas/pin.rs
+++ b/crates/jacquard-api/src/io_whiteley/ATlas/pin.rs
@@ -10,13 +10,13 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::collection::{Collection, RecordError};
-use jacquard_common::types::string::{Did, AtUri, Cid, Datetime};
+use jacquard_common::types::string::{AtUri, Cid, Datetime, Did};
 use jacquard_common::types::uri::{RecordUri, UriError};
 use jacquard_common::types::value::Data;
 use jacquard_common::xrpc::XrpcResp;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// A user's geographical pin on the atlas
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -152,7 +152,7 @@ impl LexiconSchema for Pin {
 
 pub mod pin_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -299,10 +299,7 @@ where
     St::Did: pin_state::IsUnset,
 {
     /// Set the `did` field (required)
-    pub fn did(
-        mut self,
-        value: impl Into>,
-    ) -> PinBuilder> {
+    pub fn did(mut self, value: impl Into>) -> PinBuilder> {
         self._fields.1 = Option::Some(value.into());
         PinBuilder {
             _state: PhantomData,
@@ -318,10 +315,7 @@ where
     St::Latitude: pin_state::IsUnset,
 {
     /// Set the `latitude` field (required)
-    pub fn latitude(
-        mut self,
-        value: impl Into,
-    ) -> PinBuilder> {
+    pub fn latitude(mut self, value: impl Into) -> PinBuilder> {
         self._fields.2 = Option::Some(value.into());
         PinBuilder {
             _state: PhantomData,
@@ -337,10 +331,7 @@ where
     St::Longitude: pin_state::IsUnset,
 {
     /// Set the `longitude` field (required)
-    pub fn longitude(
-        mut self,
-        value: impl Into,
-    ) -> PinBuilder> {
+    pub fn longitude(mut self, value: impl Into) -> PinBuilder> {
         self._fields.3 = Option::Some(value.into());
         PinBuilder {
             _state: PhantomData,
@@ -418,10 +409,10 @@ where
 }
 
 fn lexicon_doc_io_whiteley_ATlas_pin() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("io.whiteley.ATlas.pin"),
@@ -430,20 +421,16 @@ fn lexicon_doc_io_whiteley_ATlas_pin() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static("A user's geographical pin on the atlas"),
-                    ),
+                    description: Some(CowStr::new_static("A user's geographical pin on the atlas")),
                     key: Some(CowStr::new_static("literal:self")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("did"),
-                                SmolStr::new_static("longitude"),
-                                SmolStr::new_static("latitude"),
-                                SmolStr::new_static("description"),
-                                SmolStr::new_static("placedAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("did"),
+                            SmolStr::new_static("longitude"),
+                            SmolStr::new_static("latitude"),
+                            SmolStr::new_static("description"),
+                            SmolStr::new_static("placedAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -500,4 +487,4 @@ fn lexicon_doc_io_whiteley_ATlas_pin() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/io_whiteley/luke.rs b/crates/jacquard-api/src/io_whiteley/luke.rs
index 8f269270..22bb5e88 100644
--- a/crates/jacquard-api/src/io_whiteley/luke.rs
+++ b/crates/jacquard-api/src/io_whiteley/luke.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod ATlas;
\ No newline at end of file
+pub mod ATlas;
diff --git a/crates/jacquard-api/src/io_whiteley/luke/ATlas.rs b/crates/jacquard-api/src/io_whiteley/luke/ATlas.rs
index 3edfce2d..7af46372 100644
--- a/crates/jacquard-api/src/io_whiteley/luke/ATlas.rs
+++ b/crates/jacquard-api/src/io_whiteley/luke/ATlas.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod pin;
\ No newline at end of file
+pub mod pin;
diff --git a/crates/jacquard-api/src/io_whiteley/luke/ATlas/pin.rs b/crates/jacquard-api/src/io_whiteley/luke/ATlas/pin.rs
index ac704285..34bb0bd4 100644
--- a/crates/jacquard-api/src/io_whiteley/luke/ATlas/pin.rs
+++ b/crates/jacquard-api/src/io_whiteley/luke/ATlas/pin.rs
@@ -10,13 +10,13 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::collection::{Collection, RecordError};
-use jacquard_common::types::string::{Did, AtUri, Cid, Datetime};
+use jacquard_common::types::string::{AtUri, Cid, Datetime, Did};
 use jacquard_common::types::uri::{RecordUri, UriError};
 use jacquard_common::types::value::Data;
 use jacquard_common::xrpc::XrpcResp;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// A user's geographical pin on the ATlas
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -152,7 +152,7 @@ impl LexiconSchema for Pin {
 
 pub mod pin_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -299,10 +299,7 @@ where
     St::Did: pin_state::IsUnset,
 {
     /// Set the `did` field (required)
-    pub fn did(
-        mut self,
-        value: impl Into>,
-    ) -> PinBuilder> {
+    pub fn did(mut self, value: impl Into>) -> PinBuilder> {
         self._fields.1 = Option::Some(value.into());
         PinBuilder {
             _state: PhantomData,
@@ -318,10 +315,7 @@ where
     St::Latitude: pin_state::IsUnset,
 {
     /// Set the `latitude` field (required)
-    pub fn latitude(
-        mut self,
-        value: impl Into,
-    ) -> PinBuilder> {
+    pub fn latitude(mut self, value: impl Into) -> PinBuilder> {
         self._fields.2 = Option::Some(value.into());
         PinBuilder {
             _state: PhantomData,
@@ -337,10 +331,7 @@ where
     St::Longitude: pin_state::IsUnset,
 {
     /// Set the `longitude` field (required)
-    pub fn longitude(
-        mut self,
-        value: impl Into,
-    ) -> PinBuilder> {
+    pub fn longitude(mut self, value: impl Into) -> PinBuilder> {
         self._fields.3 = Option::Some(value.into());
         PinBuilder {
             _state: PhantomData,
@@ -418,10 +409,10 @@ where
 }
 
 fn lexicon_doc_io_whiteley_luke_ATlas_pin() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("io.whiteley.luke.ATlas.pin"),
@@ -430,20 +421,16 @@ fn lexicon_doc_io_whiteley_luke_ATlas_pin() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static("A user's geographical pin on the ATlas"),
-                    ),
+                    description: Some(CowStr::new_static("A user's geographical pin on the ATlas")),
                     key: Some(CowStr::new_static("literal:self")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("did"),
-                                SmolStr::new_static("longitude"),
-                                SmolStr::new_static("latitude"),
-                                SmolStr::new_static("description"),
-                                SmolStr::new_static("placedAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("did"),
+                            SmolStr::new_static("longitude"),
+                            SmolStr::new_static("latitude"),
+                            SmolStr::new_static("description"),
+                            SmolStr::new_static("placedAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -500,4 +487,4 @@ fn lexicon_doc_io_whiteley_luke_ATlas_pin() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/io_whiteside.rs b/crates/jacquard-api/src/io_whiteside.rs
index 8c9bf1ac..62c01f1a 100644
--- a/crates/jacquard-api/src/io_whiteside.rs
+++ b/crates/jacquard-api/src/io_whiteside.rs
@@ -4,4 +4,4 @@
 // Any manual changes will be overwritten on the next regeneration.
 
 pub mod linked_account;
-pub mod profile;
\ No newline at end of file
+pub mod profile;
diff --git a/crates/jacquard-api/src/io_whiteside/linked_account.rs b/crates/jacquard-api/src/io_whiteside/linked_account.rs
index 6cb22dcc..e9db3ef5 100644
--- a/crates/jacquard-api/src/io_whiteside/linked_account.rs
+++ b/crates/jacquard-api/src/io_whiteside/linked_account.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// A linked account record containing external account information
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -111,7 +111,7 @@ impl LexiconSchema for LinkedAccount {
 
 pub mod linked_account_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -280,10 +280,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> LinkedAccount {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> LinkedAccount {
         LinkedAccount {
             icon: self._fields.0.unwrap(),
             link: self._fields.1.unwrap(),
@@ -295,10 +292,10 @@ where
 }
 
 fn lexicon_doc_io_whiteside_linkedAccount() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("io.whiteside.linkedAccount"),
@@ -307,38 +304,33 @@ fn lexicon_doc_io_whiteside_linkedAccount() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static(
-                            "A linked account record containing external account information",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "A linked account record containing external account information",
+                    )),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("icon"), SmolStr::new_static("name"),
-                                SmolStr::new_static("link")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("icon"),
+                            SmolStr::new_static("name"),
+                            SmolStr::new_static("link"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
                             map.insert(
                                 SmolStr::new_static("icon"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "Icon identifier or URL for the linked account",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Icon identifier or URL for the linked account",
+                                    )),
                                     ..Default::default()
                                 }),
                             );
                             map.insert(
                                 SmolStr::new_static("link"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("URL to the linked account"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "URL to the linked account",
+                                    )),
                                     format: Some(LexStringFormat::Uri),
                                     ..Default::default()
                                 }),
@@ -346,9 +338,9 @@ fn lexicon_doc_io_whiteside_linkedAccount() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("name"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("Display name of the linked account"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Display name of the linked account",
+                                    )),
                                     ..Default::default()
                                 }),
                             );
@@ -369,4 +361,4 @@ fn lexicon_doc_io_whiteside_linkedAccount() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/io_whiteside/profile.rs b/crates/jacquard-api/src/io_whiteside/profile.rs
index ffee6050..0e1b87e9 100644
--- a/crates/jacquard-api/src/io_whiteside/profile.rs
+++ b/crates/jacquard-api/src/io_whiteside/profile.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// Profile information (bio, skills, etc.)
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -130,7 +130,7 @@ impl LexiconSchema for Profile {
 
 pub mod profile_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -296,10 +296,10 @@ where
 }
 
 fn lexicon_doc_io_whiteside_profile() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("io.whiteside.profile"),
@@ -308,29 +308,25 @@ fn lexicon_doc_io_whiteside_profile() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static("Profile information (bio, skills, etc.)"),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Profile information (bio, skills, etc.)",
+                    )),
                     key: Some(CowStr::new_static("literal:bio")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("heading"),
-                                SmolStr::new_static("content"),
-                                SmolStr::new_static("updatedAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("heading"),
+                            SmolStr::new_static("content"),
+                            SmolStr::new_static("updatedAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
                             map.insert(
                                 SmolStr::new_static("content"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "Profile content in plain text or markdown format",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Profile content in plain text or markdown format",
+                                    )),
                                     max_length: Some(5000usize),
                                     ..Default::default()
                                 }),
@@ -338,11 +334,9 @@ fn lexicon_doc_io_whiteside_profile() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("heading"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "Profile section heading (e.g. 'Hey, I'm John')",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Profile section heading (e.g. 'Hey, I'm John')",
+                                    )),
                                     max_length: Some(200usize),
                                     ..Default::default()
                                 }),
@@ -350,11 +344,9 @@ fn lexicon_doc_io_whiteside_profile() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("updatedAt"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "Last update timestamp in ISO 8601 format",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Last update timestamp in ISO 8601 format",
+                                    )),
                                     format: Some(LexStringFormat::Datetime),
                                     ..Default::default()
                                 }),
@@ -370,4 +362,4 @@ fn lexicon_doc_io_whiteside_profile() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/lib.rs b/crates/jacquard-api/src/lib.rs
index 6e2fdab2..44ac2633 100644
--- a/crates/jacquard-api/src/lib.rs
+++ b/crates/jacquard-api/src/lib.rs
@@ -8,711 +8,534 @@ extern crate alloc;
 #[cfg(feature = "actor_rpg")]
 pub mod actor_rpg;
 
-
 #[cfg(feature = "ai_syui")]
 pub mod ai_syui;
 
-
 #[cfg(feature = "app_beaconbits")]
 pub mod app_beaconbits;
 
-
 #[cfg(feature = "app_blebbit")]
 pub mod app_blebbit;
 
-
 #[cfg(feature = "app_bsky")]
 pub mod app_bsky;
 
-
 #[cfg(feature = "app_certified")]
 pub mod app_certified;
 
-
 #[cfg(feature = "app_chavatar")]
 pub mod app_chavatar;
 
-
 #[cfg(feature = "app_chronosky")]
 pub mod app_chronosky;
 
-
 #[cfg(feature = "app_dropanchor")]
 pub mod app_dropanchor;
 
-
 #[cfg(feature = "app_fitsky")]
 pub mod app_fitsky;
 
-
 #[cfg(feature = "app_gainforest")]
 pub mod app_gainforest;
 
-
 #[cfg(feature = "app_greengale")]
 pub mod app_greengale;
 
-
 #[cfg(feature = "app_juttu")]
 pub mod app_juttu;
 
-
 #[cfg(feature = "app_mathr")]
 pub mod app_mathr;
 
-
 #[cfg(feature = "app_nblr")]
 pub mod app_nblr;
 
-
 #[cfg(feature = "app_ocho")]
 pub mod app_ocho;
 
-
 #[cfg(feature = "app_offprint")]
 pub mod app_offprint;
 
-
 #[cfg(feature = "app_openmkt")]
 pub mod app_openmkt;
 
-
 #[cfg(feature = "app_protoimsg")]
 pub mod app_protoimsg;
 
-
 #[cfg(feature = "app_rocksky")]
 pub mod app_rocksky;
 
-
 #[cfg(feature = "art_cllctv")]
 pub mod art_cllctv;
 
-
 #[cfg(feature = "at_dropb")]
 pub mod at_dropb;
 
-
 #[cfg(feature = "at_inlay")]
 pub mod at_inlay;
 
-
 #[cfg(feature = "at_margin")]
 pub mod at_margin;
 
-
 #[cfg(feature = "at_noted")]
 pub mod at_noted;
 
-
 #[cfg(feature = "at_pasteb")]
 pub mod at_pasteb;
 
-
 #[cfg(feature = "at_podping")]
 pub mod at_podping;
 
-
 #[cfg(feature = "at_unthread")]
 pub mod at_unthread;
 
-
 #[cfg(feature = "at_youandme")]
 pub mod at_youandme;
 
-
 #[cfg(feature = "beauty_cybernetic")]
 pub mod beauty_cybernetic;
 
-
 #[cfg(feature = "blog_pckt")]
 pub mod blog_pckt;
 
-
 #[cfg(feature = "blue__2048")]
 pub mod blue__2048;
 
-
 #[cfg(feature = "blue_atplane")]
 pub mod blue_atplane;
 
-
 #[cfg(feature = "blue_atplay")]
 pub mod blue_atplay;
 
-
 #[cfg(feature = "blue_atroom")]
 pub mod blue_atroom;
 
-
 #[cfg(feature = "blue_backyard")]
 pub mod blue_backyard;
 
-
 #[cfg(feature = "blue_linkat")]
 pub mod blue_linkat;
 
-
 #[cfg(feature = "blue_recipes")]
 pub mod blue_recipes;
 
-
 #[cfg(feature = "blue_rito")]
 pub mod blue_rito;
 
-
 #[cfg(feature = "blue_skytalk")]
 pub mod blue_skytalk;
 
-
 #[cfg(feature = "blue_zio")]
 pub mod blue_zio;
 
-
 #[cfg(feature = "bond_biblio")]
 pub mod bond_biblio;
 pub mod builder_types;
 
-
 #[cfg(feature = "buzz_bookhive")]
 pub mod buzz_bookhive;
 
-
 #[cfg(feature = "ca_jmaingot")]
 pub mod ca_jmaingot;
 
-
 #[cfg(feature = "cat_vt3e")]
 pub mod cat_vt3e;
 
-
 #[cfg(feature = "ch_indiemusi")]
 pub mod ch_indiemusi;
 
-
 #[cfg(feature = "chat_bsky")]
 pub mod chat_bsky;
 
-
 #[cfg(feature = "chat_firehose")]
 pub mod chat_firehose;
 
-
 #[cfg(feature = "city_yoyle")]
 pub mod city_yoyle;
 
-
 #[cfg(feature = "club_stellz")]
 pub mod club_stellz;
 
-
 #[cfg(feature = "com__5jiji")]
 pub mod com__5jiji;
 
-
 #[cfg(feature = "com_alephcubed")]
 pub mod com_alephcubed;
 
-
 #[cfg(feature = "com_atproto")]
 pub mod com_atproto;
 
-
 #[cfg(feature = "com_atprotofans")]
 pub mod com_atprotofans;
 
-
 #[cfg(feature = "com_bad_example")]
 pub mod com_bad_example;
 
-
 #[cfg(feature = "com_chrisvanderloo")]
 pub mod com_chrisvanderloo;
 
-
 #[cfg(feature = "com_crabdance")]
 pub mod com_crabdance;
 
-
 #[cfg(feature = "com_deckbelcher")]
 pub mod com_deckbelcher;
 
-
 #[cfg(feature = "com_germnetwork")]
 pub mod com_germnetwork;
 
-
 #[cfg(feature = "com_kipclip")]
 pub mod com_kipclip;
 
-
 #[cfg(feature = "com_shinolabs")]
 pub mod com_shinolabs;
 
-
 #[cfg(feature = "com_suibari")]
 pub mod com_suibari;
 
-
 #[cfg(feature = "com_whtwnd")]
 pub mod com_whtwnd;
 
-
 #[cfg(feature = "com_yuna0x0")]
 pub mod com_yuna0x0;
 
-
 #[cfg(feature = "community_lexicon")]
 pub mod community_lexicon;
 
-
 #[cfg(feature = "computer_aesthetic")]
 pub mod computer_aesthetic;
 
-
 #[cfg(feature = "coop_hypha")]
 pub mod coop_hypha;
 
-
 #[cfg(feature = "dev_baileytownsend")]
 pub mod dev_baileytownsend;
 
-
 #[cfg(feature = "dev_fudgeu")]
 pub mod dev_fudgeu;
 
-
 #[cfg(feature = "dev_kanad")]
 pub mod dev_kanad;
 
-
 #[cfg(feature = "dev_keytrace")]
 pub mod dev_keytrace;
 
-
 #[cfg(feature = "dev_ocbwoy3")]
 pub mod dev_ocbwoy3;
 
-
 #[cfg(feature = "dev_regnault")]
 pub mod dev_regnault;
 
-
 #[cfg(feature = "dev_sensorthings")]
 pub mod dev_sensorthings;
 
-
 #[cfg(feature = "dev_tsunagite")]
 pub mod dev_tsunagite;
 
-
 #[cfg(feature = "dev_vielle")]
 pub mod dev_vielle;
 
-
 #[cfg(feature = "directory_evnt")]
 pub mod directory_evnt;
 
-
 #[cfg(feature = "diy_razorgirl")]
 pub mod diy_razorgirl;
 
-
 #[cfg(feature = "download_darkworld")]
 pub mod download_darkworld;
 
-
 #[cfg(feature = "eu_atchef")]
 pub mod eu_atchef;
 
-
 #[cfg(feature = "events_smokesignal")]
 pub mod events_smokesignal;
 
-
 #[cfg(feature = "fm_teal")]
 pub mod fm_teal;
 
-
 #[cfg(feature = "fyi_frontpage")]
 pub mod fyi_frontpage;
 
-
 #[cfg(feature = "fyi_questionable")]
 pub mod fyi_questionable;
 
-
 #[cfg(feature = "fyi_unravel")]
 pub mod fyi_unravel;
 
-
 #[cfg(feature = "games_firehose")]
 pub mod games_firehose;
 
-
 #[cfg(feature = "games_gamesgamesgamesgames")]
 pub mod games_gamesgamesgamesgames;
 
-
 #[cfg(feature = "garden_goals")]
 pub mod garden_goals;
 
-
 #[cfg(feature = "garden_lexicon")]
 pub mod garden_lexicon;
 
-
 #[cfg(feature = "haus_opn")]
 pub mod haus_opn;
 
-
 #[cfg(feature = "io_atcr")]
 pub mod io_atcr;
 
-
 #[cfg(feature = "io_kich")]
 pub mod io_kich;
 
-
 #[cfg(feature = "io_livewire")]
 pub mod io_livewire;
 
-
 #[cfg(feature = "io_sound")]
 pub mod io_sound;
 
-
 #[cfg(feature = "io_whiteley")]
 pub mod io_whiteley;
 
-
 #[cfg(feature = "io_whiteside")]
 pub mod io_whiteside;
 
-
 #[cfg(feature = "link_bridgebeats")]
 pub mod link_bridgebeats;
 
-
 #[cfg(feature = "lol_gayfamicom")]
 pub mod lol_gayfamicom;
 
-
 #[cfg(feature = "lol_jbc")]
 pub mod lol_jbc;
 
-
 #[cfg(feature = "me_linkna")]
 pub mod me_linkna;
 
-
 #[cfg(feature = "media_ionosphere")]
 pub mod media_ionosphere;
 
-
 #[cfg(feature = "moe_karashiiro")]
 pub mod moe_karashiiro;
 
-
 #[cfg(feature = "mov_danabra")]
 pub mod mov_danabra;
 
-
 #[cfg(feature = "my_skylights")]
 pub mod my_skylights;
 
-
 #[cfg(feature = "net_aftertheinter")]
 pub mod net_aftertheinter;
 
-
 #[cfg(feature = "net_alternativeproto")]
 pub mod net_alternativeproto;
 
-
 #[cfg(feature = "net_altq")]
 pub mod net_altq;
 
-
 #[cfg(feature = "net_anisota")]
 pub mod net_anisota;
 
-
 #[cfg(feature = "net_asadaame5121")]
 pub mod net_asadaame5121;
 
-
 #[cfg(feature = "net_bnewbold")]
 pub mod net_bnewbold;
 
-
 #[cfg(feature = "net_jbsm")]
 pub mod net_jbsm;
 
-
 #[cfg(feature = "net_mimonelu")]
 pub mod net_mimonelu;
 
-
 #[cfg(feature = "net_mmatt")]
 pub mod net_mmatt;
 
-
 #[cfg(feature = "net_shwilliam")]
 pub mod net_shwilliam;
 
-
 #[cfg(feature = "net_wafrn")]
 pub mod net_wafrn;
 
-
 #[cfg(feature = "network_cosmik")]
 pub mod network_cosmik;
 
-
 #[cfg(feature = "network_slices")]
 pub mod network_slices;
 
-
 #[cfg(feature = "ooo_bsky")]
 pub mod ooo_bsky;
 
-
 #[cfg(feature = "org_atpodcasting")]
 pub mod org_atpodcasting;
 
-
 #[cfg(feature = "org_atsui")]
 pub mod org_atsui;
 
-
 #[cfg(feature = "org_custorium")]
 pub mod org_custorium;
 
-
 #[cfg(feature = "org_devcon")]
 pub mod org_devcon;
 
-
 #[cfg(feature = "org_farmapps")]
 pub mod org_farmapps;
 
-
 #[cfg(feature = "org_hyperboards")]
 pub mod org_hyperboards;
 
-
 #[cfg(feature = "org_hypercerts")]
 pub mod org_hypercerts;
 
-
 #[cfg(feature = "org_impactindexer")]
 pub mod org_impactindexer;
 
-
 #[cfg(feature = "org_okazu_diary")]
 pub mod org_okazu_diary;
 
-
 #[cfg(feature = "org_passingreads")]
 pub mod org_passingreads;
 
-
 #[cfg(feature = "org_robocracy")]
 pub mod org_robocracy;
 
-
 #[cfg(feature = "org_simocracy")]
 pub mod org_simocracy;
 
-
 #[cfg(feature = "org_stormlightlabs")]
 pub mod org_stormlightlabs;
 
-
 #[cfg(feature = "org_user_intents")]
 pub mod org_user_intents;
 
-
 #[cfg(feature = "pink_vase")]
 pub mod pink_vase;
 
-
 #[cfg(feature = "place_atwork")]
 pub mod place_atwork;
 
-
 #[cfg(feature = "place_stream")]
 pub mod place_stream;
 
-
 #[cfg(feature = "place_wisp")]
 pub mod place_wisp;
 
-
 #[cfg(feature = "pub_leaflet")]
 pub mod pub_leaflet;
 
-
 #[cfg(feature = "pub_quizzy")]
 pub mod pub_quizzy;
 
-
 #[cfg(feature = "science_alt")]
 pub mod science_alt;
 
-
 #[cfg(feature = "scot_comhairle")]
 pub mod scot_comhairle;
 
-
 #[cfg(feature = "sh_tangled")]
 pub mod sh_tangled;
 
-
 #[cfg(feature = "sh_weaver")]
 pub mod sh_weaver;
 
-
 #[cfg(feature = "site_standard")]
 pub mod site_standard;
 
-
 #[cfg(feature = "social_clippr")]
 pub mod social_clippr;
 
-
 #[cfg(feature = "social_colibri")]
 pub mod social_colibri;
 
-
 #[cfg(feature = "social_drydown")]
 pub mod social_drydown;
 
-
 #[cfg(feature = "social_flockfeeds")]
 pub mod social_flockfeeds;
 
-
 #[cfg(feature = "social_grain")]
 pub mod social_grain;
 
-
 #[cfg(feature = "social_lexical")]
 pub mod social_lexical;
 
-
 #[cfg(feature = "social_octosphere")]
 pub mod social_octosphere;
 
-
 #[cfg(feature = "social_pace")]
 pub mod social_pace;
 
-
 #[cfg(feature = "social_pmsky")]
 pub mod social_pmsky;
 
-
 #[cfg(feature = "social_psky")]
 pub mod social_psky;
 
-
 #[cfg(feature = "social_showcase")]
 pub mod social_showcase;
 
-
 #[cfg(feature = "social_sket")]
 pub mod social_sket;
 
-
 #[cfg(feature = "social_tophhie")]
 pub mod social_tophhie;
 
-
 #[cfg(feature = "space_litenote")]
 pub mod space_litenote;
 
-
 #[cfg(feature = "space_remanso")]
 pub mod space_remanso;
 
-
 #[cfg(feature = "st_lifepo")]
 pub mod st_lifepo;
 
-
 #[cfg(feature = "st_snowpo")]
 pub mod st_snowpo;
 
-
 #[cfg(feature = "store__88x31")]
 pub mod store__88x31;
 
-
 #[cfg(feature = "systems_timker")]
 pub mod systems_timker;
 
-
 #[cfg(feature = "tech_lenooby09")]
 pub mod tech_lenooby09;
 
-
 #[cfg(feature = "tech_manos")]
 pub mod tech_manos;
 
-
 #[cfg(feature = "tech_tokimeki")]
 pub mod tech_tokimeki;
 
-
 #[cfg(feature = "to_atpr")]
 pub mod to_atpr;
 
-
 #[cfg(feature = "tools_ozone")]
 pub mod tools_ozone;
 
-
 #[cfg(feature = "tools_smokesignal")]
 pub mod tools_smokesignal;
 
-
 #[cfg(feature = "top_launchpadx")]
 pub mod top_launchpadx;
 
-
 #[cfg(feature = "uk_ewancroft")]
 pub mod uk_ewancroft;
 
-
 #[cfg(feature = "uk_skyblur")]
 pub mod uk_skyblur;
 
-
 #[cfg(feature = "us_polhem")]
 pub mod us_polhem;
 
-
 #[cfg(feature = "win_tomo_x")]
 pub mod win_tomo_x;
 
-
 #[cfg(feature = "world_ptah")]
 pub mod world_ptah;
 
-
 #[cfg(feature = "xyz_atpoke")]
 pub mod xyz_atpoke;
 
-
 #[cfg(feature = "za_co")]
 pub mod za_co;
 
-
 #[cfg(feature = "zip_viruus")]
 pub mod zip_viruus;
 
-
 #[cfg(feature = "zone_stratos")]
-pub mod zone_stratos;
\ No newline at end of file
+pub mod zone_stratos;
diff --git a/crates/jacquard-api/src/link_bridgebeats.rs b/crates/jacquard-api/src/link_bridgebeats.rs
index 49986b47..f28a46cc 100644
--- a/crates/jacquard-api/src/link_bridgebeats.rs
+++ b/crates/jacquard-api/src/link_bridgebeats.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod lookup;
\ No newline at end of file
+pub mod lookup;
diff --git a/crates/jacquard-api/src/link_bridgebeats/lookup.rs b/crates/jacquard-api/src/link_bridgebeats/lookup.rs
index 9f2e8634..a215a0cc 100644
--- a/crates/jacquard-api/src/link_bridgebeats/lookup.rs
+++ b/crates/jacquard-api/src/link_bridgebeats/lookup.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::link_bridgebeats::lookup;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::link_bridgebeats::lookup;
+use serde::{Deserialize, Serialize};
 /// Result of parsing and looking up media links across supported music streaming providers.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -60,7 +60,10 @@ pub struct LookupGetRecordOutput {
 /// Music metadata from a specific provider's API query.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ProviderResult {
     ///URL to the cover artwork image.
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -237,7 +240,7 @@ impl LexiconSchema for ProviderResult {
 
 pub mod lookup_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -367,10 +370,10 @@ where
 }
 
 fn lexicon_doc_link_bridgebeats_lookup() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("link.bridgebeats.lookup"),
@@ -554,7 +557,7 @@ fn _default_provider_result_market_region() -> S {
 
 pub mod provider_result_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -836,10 +839,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> ProviderResult {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> ProviderResult {
         ProviderResult {
             art_url: self._fields.0,
             artist: self._fields.1.unwrap(),
@@ -852,4 +852,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/lol_gayfamicom.rs b/crates/jacquard-api/src/lol_gayfamicom.rs
index df75eb57..19f155fd 100644
--- a/crates/jacquard-api/src/lol_gayfamicom.rs
+++ b/crates/jacquard-api/src/lol_gayfamicom.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod hi;
\ No newline at end of file
+pub mod hi;
diff --git a/crates/jacquard-api/src/lol_gayfamicom/hi.rs b/crates/jacquard-api/src/lol_gayfamicom/hi.rs
index 97e3af29..969a476a 100644
--- a/crates/jacquard-api/src/lol_gayfamicom/hi.rs
+++ b/crates/jacquard-api/src/lol_gayfamicom/hi.rs
@@ -7,13 +7,12 @@
 
 pub mod hello;
 
-
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -29,7 +28,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// Hi
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -110,7 +109,7 @@ impl LexiconSchema for Hi {
 
 pub mod hi_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -201,10 +200,10 @@ where
 }
 
 fn lexicon_doc_lol_gayfamicom_hi() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("lol.gayfamicom.hi"),
@@ -244,4 +243,4 @@ fn lexicon_doc_lol_gayfamicom_hi() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/lol_gayfamicom/hi/hello.rs b/crates/jacquard-api/src/lol_gayfamicom/hi/hello.rs
index 2a0ea8e7..7cd99338 100644
--- a/crates/jacquard-api/src/lol_gayfamicom/hi/hello.rs
+++ b/crates/jacquard-api/src/lol_gayfamicom/hi/hello.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// Hi
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -107,7 +107,7 @@ impl LexiconSchema for Hello {
 
 pub mod hello_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -198,10 +198,10 @@ where
 }
 
 fn lexicon_doc_lol_gayfamicom_hi_hello() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("lol.gayfamicom.hi.hello"),
@@ -241,4 +241,4 @@ fn lexicon_doc_lol_gayfamicom_hi_hello() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/lol_jbc.rs b/crates/jacquard-api/src/lol_jbc.rs
index 72d5ac7f..5134acd8 100644
--- a/crates/jacquard-api/src/lol_jbc.rs
+++ b/crates/jacquard-api/src/lol_jbc.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod feed;
\ No newline at end of file
+pub mod feed;
diff --git a/crates/jacquard-api/src/lol_jbc/feed.rs b/crates/jacquard-api/src/lol_jbc/feed.rs
index 5d0aa0a7..95a2b9ad 100644
--- a/crates/jacquard-api/src/lol_jbc/feed.rs
+++ b/crates/jacquard-api/src/lol_jbc/feed.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod bite;
\ No newline at end of file
+pub mod bite;
diff --git a/crates/jacquard-api/src/lol_jbc/feed/bite.rs b/crates/jacquard-api/src/lol_jbc/feed/bite.rs
index a1bb14c2..c6e82b26 100644
--- a/crates/jacquard-api/src/lol_jbc/feed/bite.rs
+++ b/crates/jacquard-api/src/lol_jbc/feed/bite.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// Record declaring a 'bite' of a piece of subject content.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -106,7 +106,7 @@ impl LexiconSchema for Bite {
 
 pub mod bite_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -197,10 +197,10 @@ where
 }
 
 fn lexicon_doc_lol_jbc_feed_bite() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("lol.jbc.feed.bite"),
@@ -209,11 +209,9 @@ fn lexicon_doc_lol_jbc_feed_bite() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static(
-                            "Record declaring a 'bite' of a piece of subject content.",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Record declaring a 'bite' of a piece of subject content.",
+                    )),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
                         properties: {
@@ -243,4 +241,4 @@ fn lexicon_doc_lol_jbc_feed_bite() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/me_linkna.rs b/crates/jacquard-api/src/me_linkna.rs
index 4731b1b9..a7f74912 100644
--- a/crates/jacquard-api/src/me_linkna.rs
+++ b/crates/jacquard-api/src/me_linkna.rs
@@ -5,4 +5,4 @@
 
 pub mod lastfm;
 pub mod linkinbio;
-pub mod profile;
\ No newline at end of file
+pub mod profile;
diff --git a/crates/jacquard-api/src/me_linkna/lastfm.rs b/crates/jacquard-api/src/me_linkna/lastfm.rs
index 29b246cd..c70c1a9c 100644
--- a/crates/jacquard-api/src/me_linkna/lastfm.rs
+++ b/crates/jacquard-api/src/me_linkna/lastfm.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// A Last.fm scrobble play record written by Linkname.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -129,7 +129,7 @@ impl LexiconSchema for Lastfm {
 
 pub mod lastfm_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -411,10 +411,10 @@ where
 }
 
 fn lexicon_doc_me_linkna_lastfm() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("me.linkna.lastfm"),
@@ -423,29 +423,25 @@ fn lexicon_doc_me_linkna_lastfm() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static(
-                            "A Last.fm scrobble play record written by Linkname.",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "A Last.fm scrobble play record written by Linkname.",
+                    )),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("trackName"),
-                                SmolStr::new_static("artistNames"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("trackName"),
+                            SmolStr::new_static("artistNames"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
                             map.insert(
                                 SmolStr::new_static("artistMbId"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("MusicBrainz ID for the artist."),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "MusicBrainz ID for the artist.",
+                                    )),
                                     ..Default::default()
                                 }),
                             );
@@ -462,18 +458,18 @@ fn lexicon_doc_me_linkna_lastfm() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("coverArtUrl"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("URL to the album cover art."),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "URL to the album cover art.",
+                                    )),
                                     ..Default::default()
                                 }),
                             );
                             map.insert(
                                 SmolStr::new_static("createdAt"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("When this record was created."),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "When this record was created.",
+                                    )),
                                     format: Some(LexStringFormat::Datetime),
                                     ..Default::default()
                                 }),
@@ -481,9 +477,9 @@ fn lexicon_doc_me_linkna_lastfm() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("originUrl"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("URL to the track on Last.fm."),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "URL to the track on Last.fm.",
+                                    )),
                                     format: Some(LexStringFormat::Uri),
                                     ..Default::default()
                                 }),
@@ -491,9 +487,9 @@ fn lexicon_doc_me_linkna_lastfm() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("playedTime"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("When the track was played on Last.fm."),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "When the track was played on Last.fm.",
+                                    )),
                                     format: Some(LexStringFormat::Datetime),
                                     ..Default::default()
                                 }),
@@ -501,27 +497,25 @@ fn lexicon_doc_me_linkna_lastfm() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("releaseMbId"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("MusicBrainz ID for the release/album."),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "MusicBrainz ID for the release/album.",
+                                    )),
                                     ..Default::default()
                                 }),
                             );
                             map.insert(
                                 SmolStr::new_static("releaseName"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("Album/release name."),
-                                    ),
+                                    description: Some(CowStr::new_static("Album/release name.")),
                                     ..Default::default()
                                 }),
                             );
                             map.insert(
                                 SmolStr::new_static("trackMbId"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("MusicBrainz ID for the track."),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "MusicBrainz ID for the track.",
+                                    )),
                                     ..Default::default()
                                 }),
                             );
@@ -543,4 +537,4 @@ fn lexicon_doc_me_linkna_lastfm() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/me_linkna/linkinbio.rs b/crates/jacquard-api/src/me_linkna/linkinbio.rs
index 1aeb9f86..75d99e1b 100644
--- a/crates/jacquard-api/src/me_linkna/linkinbio.rs
+++ b/crates/jacquard-api/src/me_linkna/linkinbio.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -25,14 +25,17 @@ use jacquard_derive::{IntoStatic, lexicon, open_union};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::me_linkna::linkinbio;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::me_linkna::linkinbio;
+use serde::{Deserialize, Serialize};
 /// Saved service credentials/identifiers for pre-filling widget forms.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ConnectedServices {
     ///GitHub username.
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -47,7 +50,10 @@ pub struct ConnectedServices {
 /// A single day's contribution data from GitHub.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GithubContributionDay {
     ///Number of contributions on this day.
     pub count: i64,
@@ -62,7 +68,10 @@ pub struct GithubContributionDay {
 /// A book from a Goodreads shelf.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GoodreadsBook {
     ///Book author.
     pub author: S,
@@ -84,7 +93,10 @@ pub struct GoodreadsBook {
 /// A standard link card.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct LinkCard {
     ///Whether the card is visible on the public page. Defaults to true.
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -134,7 +146,6 @@ pub struct Linkinbio {
     pub extra_data: Option>>,
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -163,7 +174,10 @@ pub struct LinkinbioGetRecordOutput {
 /// A social media icon link.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct SocialIcon {
     ///Unique identifier for the icon.
     pub id: S,
@@ -178,7 +192,10 @@ pub struct SocialIcon {
 /// A recently played track from teal.fm.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct TealfmPlay {
     ///Artist name(s).
     pub artist_name: S,
@@ -203,7 +220,10 @@ pub struct TealfmPlay {
 /// Theme configuration for the page appearance.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ThemeConfig {
     ///Page background color.
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -344,8 +364,7 @@ impl Serialize for ThemeConfigButtonAlignment {
     }
 }
 
-impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de>
-for ThemeConfigButtonAlignment {
+impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> for ThemeConfigButtonAlignment {
     fn deserialize(deserializer: D) -> Result
     where
         D: serde::Deserializer<'de>,
@@ -435,8 +454,7 @@ impl Serialize for ThemeConfigCardBorderRadius {
     }
 }
 
-impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de>
-for ThemeConfigCardBorderRadius {
+impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> for ThemeConfigCardBorderRadius {
     fn deserialize(deserializer: D) -> Result
     where
         D: serde::Deserializer<'de>,
@@ -558,9 +576,7 @@ where
             ThemeConfigCardShadow::Md => ThemeConfigCardShadow::Md,
             ThemeConfigCardShadow::Lg => ThemeConfigCardShadow::Lg,
             ThemeConfigCardShadow::Xl => ThemeConfigCardShadow::Xl,
-            ThemeConfigCardShadow::Other(v) => {
-                ThemeConfigCardShadow::Other(v.into_static())
-            }
+            ThemeConfigCardShadow::Other(v) => ThemeConfigCardShadow::Other(v.into_static()),
         }
     }
 }
@@ -639,9 +655,7 @@ where
         match self {
             ThemeConfigCursorStyle::Default => ThemeConfigCursorStyle::Default,
             ThemeConfigCursorStyle::HelloKitty => ThemeConfigCursorStyle::HelloKitty,
-            ThemeConfigCursorStyle::Other(v) => {
-                ThemeConfigCursorStyle::Other(v.into_static())
-            }
+            ThemeConfigCursorStyle::Other(v) => ThemeConfigCursorStyle::Other(v.into_static()),
         }
     }
 }
@@ -811,9 +825,7 @@ where
             ThemeConfigParticles::White => ThemeConfigParticles::White,
             ThemeConfigParticles::Blue => ThemeConfigParticles::Blue,
             ThemeConfigParticles::Leaves => ThemeConfigParticles::Leaves,
-            ThemeConfigParticles::Other(v) => {
-                ThemeConfigParticles::Other(v.into_static())
-            }
+            ThemeConfigParticles::Other(v) => ThemeConfigParticles::Other(v.into_static()),
         }
     }
 }
@@ -869,8 +881,7 @@ impl Serialize for ThemeConfigProfileAlignment {
     }
 }
 
-impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de>
-for ThemeConfigProfileAlignment {
+impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> for ThemeConfigProfileAlignment {
     fn deserialize(deserializer: D) -> Result
     where
         D: serde::Deserializer<'de>,
@@ -955,8 +966,7 @@ impl Serialize for ThemeConfigProfilePictureShape {
     }
 }
 
-impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de>
-for ThemeConfigProfilePictureShape {
+impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> for ThemeConfigProfilePictureShape {
     fn deserialize(deserializer: D) -> Result
     where
         D: serde::Deserializer<'de>,
@@ -980,15 +990,9 @@ where
     type Output = ThemeConfigProfilePictureShape;
     fn into_static(self) -> Self::Output {
         match self {
-            ThemeConfigProfilePictureShape::Circle => {
-                ThemeConfigProfilePictureShape::Circle
-            }
-            ThemeConfigProfilePictureShape::Rounded => {
-                ThemeConfigProfilePictureShape::Rounded
-            }
-            ThemeConfigProfilePictureShape::Square => {
-                ThemeConfigProfilePictureShape::Square
-            }
+            ThemeConfigProfilePictureShape::Circle => ThemeConfigProfilePictureShape::Circle,
+            ThemeConfigProfilePictureShape::Rounded => ThemeConfigProfilePictureShape::Rounded,
+            ThemeConfigProfilePictureShape::Square => ThemeConfigProfilePictureShape::Square,
             ThemeConfigProfilePictureShape::Other(v) => {
                 ThemeConfigProfilePictureShape::Other(v.into_static())
             }
@@ -1047,8 +1051,7 @@ impl Serialize for ThemeConfigProfilePictureSize {
     }
 }
 
-impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de>
-for ThemeConfigProfilePictureSize {
+impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> for ThemeConfigProfilePictureSize {
     fn deserialize(deserializer: D) -> Result
     where
         D: serde::Deserializer<'de>,
@@ -1130,8 +1133,7 @@ impl Serialize for ThemeConfigSocialIconsShape {
     }
 }
 
-impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de>
-for ThemeConfigSocialIconsShape {
+impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> for ThemeConfigSocialIconsShape {
     fn deserialize(deserializer: D) -> Result
     where
         D: serde::Deserializer<'de>,
@@ -1167,7 +1169,10 @@ where
 /// A GitHub contributions graph widget card.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct WidgetGithub {
     ///Contribution data for the last year.
     pub contributions: Vec>,
@@ -1279,7 +1284,10 @@ where
 /// A Goodreads bookshelf widget card.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct WidgetGoodreads {
     ///Books on the currently-reading shelf.
     pub books: Vec>,
@@ -1393,7 +1401,10 @@ where
 /// A teal.fm recently played tracks widget card.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct WidgetTealfm {
     ///Copyright notice for cover art images.
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -1713,25 +1724,23 @@ impl LexiconSchema for ThemeConfig {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["image/png", "image/jpeg", "image/webp"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("background_image"),
                         accepted: vec![
-                            "image/png".to_string(), "image/jpeg".to_string(),
-                            "image/webp".to_string()
+                            "image/png".to_string(),
+                            "image/jpeg".to_string(),
+                            "image/webp".to_string(),
                         ],
                         actual: mime.to_string(),
                     });
@@ -1788,10 +1797,10 @@ impl LexiconSchema for WidgetTealfm {
 }
 
 fn lexicon_doc_me_linkna_linkinbio() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("me.linkna.linkinbio"),
@@ -1800,11 +1809,9 @@ fn lexicon_doc_me_linkna_linkinbio() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("connectedServices"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static(
-                            "Saved service credentials/identifiers for pre-filling widget forms.",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Saved service credentials/identifiers for pre-filling widget forms.",
+                    )),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -1818,9 +1825,7 @@ fn lexicon_doc_me_linkna_linkinbio() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("goodreadsUserId"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Goodreads numeric user ID."),
-                                ),
+                                description: Some(CowStr::new_static("Goodreads numeric user ID.")),
                                 ..Default::default()
                             }),
                         );
@@ -1832,17 +1837,14 @@ fn lexicon_doc_me_linkna_linkinbio() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("githubContributionDay"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static(
-                            "A single day's contribution data from GitHub.",
-                        ),
-                    ),
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("date"), SmolStr::new_static("count"),
-                            SmolStr::new_static("level")
-                        ],
-                    ),
+                    description: Some(CowStr::new_static(
+                        "A single day's contribution data from GitHub.",
+                    )),
+                    required: Some(vec![
+                        SmolStr::new_static("date"),
+                        SmolStr::new_static("count"),
+                        SmolStr::new_static("level"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -1855,9 +1857,7 @@ fn lexicon_doc_me_linkna_linkinbio() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("date"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Date in YYYY-MM-DD format."),
-                                ),
+                                description: Some(CowStr::new_static("Date in YYYY-MM-DD format.")),
                                 ..Default::default()
                             }),
                         );
@@ -1877,12 +1877,11 @@ fn lexicon_doc_me_linkna_linkinbio() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("goodreadsBook"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("A book from a Goodreads shelf."),
-                    ),
-                    required: Some(
-                        vec![SmolStr::new_static("title"), SmolStr::new_static("author")],
-                    ),
+                    description: Some(CowStr::new_static("A book from a Goodreads shelf.")),
+                    required: Some(vec![
+                        SmolStr::new_static("title"),
+                        SmolStr::new_static("author"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -1896,18 +1895,18 @@ fn lexicon_doc_me_linkna_linkinbio() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("coverUrl"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("URL to the book cover image."),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "URL to the book cover image.",
+                                )),
                                 ..Default::default()
                             }),
                         );
                         map.insert(
                             SmolStr::new_static("link"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("URL to the book on Goodreads."),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "URL to the book on Goodreads.",
+                                )),
                                 ..Default::default()
                             }),
                         );
@@ -2129,15 +2128,11 @@ fn lexicon_doc_me_linkna_linkinbio() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("tealfmPlay"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("A recently played track from teal.fm."),
-                    ),
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("trackName"),
-                            SmolStr::new_static("artistName")
-                        ],
-                    ),
+                    description: Some(CowStr::new_static("A recently played track from teal.fm.")),
+                    required: Some(vec![
+                        SmolStr::new_static("trackName"),
+                        SmolStr::new_static("artistName"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -2151,31 +2146,25 @@ fn lexicon_doc_me_linkna_linkinbio() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("coverUrl"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "URL to the album cover image (from Cover Art Archive).",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "URL to the album cover image (from Cover Art Archive).",
+                                )),
                                 ..Default::default()
                             }),
                         );
                         map.insert(
                             SmolStr::new_static("originUrl"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "URL to the track on the original music service.",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "URL to the track on the original music service.",
+                                )),
                                 ..Default::default()
                             }),
                         );
                         map.insert(
                             SmolStr::new_static("playedTime"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("When the track was played."),
-                                ),
+                                description: Some(CowStr::new_static("When the track was played.")),
                                 format: Some(LexStringFormat::Datetime),
                                 ..Default::default()
                             }),
@@ -2183,9 +2172,7 @@ fn lexicon_doc_me_linkna_linkinbio() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("releaseName"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Album/release name."),
-                                ),
+                                description: Some(CowStr::new_static("Album/release name.")),
                                 ..Default::default()
                             }),
                         );
@@ -2486,25 +2473,24 @@ fn lexicon_doc_me_linkna_linkinbio() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("widgetGithub"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("A GitHub contributions graph widget card."),
-                    ),
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("id"), SmolStr::new_static("type"),
-                            SmolStr::new_static("githubUsername"),
-                            SmolStr::new_static("contributions")
-                        ],
-                    ),
+                    description: Some(CowStr::new_static(
+                        "A GitHub contributions graph widget card.",
+                    )),
+                    required: Some(vec![
+                        SmolStr::new_static("id"),
+                        SmolStr::new_static("type"),
+                        SmolStr::new_static("githubUsername"),
+                        SmolStr::new_static("contributions"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("contributions"),
                             LexObjectProperty::Array(LexArray {
-                                description: Some(
-                                    CowStr::new_static("Contribution data for the last year."),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Contribution data for the last year.",
+                                )),
                                 items: LexArrayItem::Ref(LexRef {
                                     r#ref: CowStr::new_static("#githubContributionDay"),
                                     ..Default::default()
@@ -2528,20 +2514,18 @@ fn lexicon_doc_me_linkna_linkinbio() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("id"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Unique identifier for the card."),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Unique identifier for the card.",
+                                )),
                                 ..Default::default()
                             }),
                         );
                         map.insert(
                             SmolStr::new_static("lastSyncedAt"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "When the contribution data was last fetched from GitHub.",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "When the contribution data was last fetched from GitHub.",
+                                )),
                                 format: Some(LexStringFormat::Datetime),
                                 ..Default::default()
                             }),
@@ -2549,9 +2533,9 @@ fn lexicon_doc_me_linkna_linkinbio() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("size"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Widget display size. Default: 1x1."),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Widget display size. Default: 1x1.",
+                                )),
                                 ..Default::default()
                             }),
                         );
@@ -2564,9 +2548,7 @@ fn lexicon_doc_me_linkna_linkinbio() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("type"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Card type discriminator."),
-                                ),
+                                description: Some(CowStr::new_static("Card type discriminator.")),
                                 ..Default::default()
                             }),
                         );
@@ -2578,25 +2560,23 @@ fn lexicon_doc_me_linkna_linkinbio() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("widgetGoodreads"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("A Goodreads bookshelf widget card."),
-                    ),
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("id"), SmolStr::new_static("type"),
-                            SmolStr::new_static("goodreadsUserId"),
-                            SmolStr::new_static("shelf"), SmolStr::new_static("books")
-                        ],
-                    ),
+                    description: Some(CowStr::new_static("A Goodreads bookshelf widget card.")),
+                    required: Some(vec![
+                        SmolStr::new_static("id"),
+                        SmolStr::new_static("type"),
+                        SmolStr::new_static("goodreadsUserId"),
+                        SmolStr::new_static("shelf"),
+                        SmolStr::new_static("books"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("books"),
                             LexObjectProperty::Array(LexArray {
-                                description: Some(
-                                    CowStr::new_static("Books on the currently-reading shelf."),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Books on the currently-reading shelf.",
+                                )),
                                 items: LexArrayItem::Ref(LexRef {
                                     r#ref: CowStr::new_static("#goodreadsBook"),
                                     ..Default::default()
@@ -2613,29 +2593,25 @@ fn lexicon_doc_me_linkna_linkinbio() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("goodreadsUserId"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Goodreads numeric user ID."),
-                                ),
+                                description: Some(CowStr::new_static("Goodreads numeric user ID.")),
                                 ..Default::default()
                             }),
                         );
                         map.insert(
                             SmolStr::new_static("id"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Unique identifier for the card."),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Unique identifier for the card.",
+                                )),
                                 ..Default::default()
                             }),
                         );
                         map.insert(
                             SmolStr::new_static("lastSyncedAt"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "When the book data was last fetched from Goodreads.",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "When the book data was last fetched from Goodreads.",
+                                )),
                                 format: Some(LexStringFormat::Datetime),
                                 ..Default::default()
                             }),
@@ -2643,11 +2619,9 @@ fn lexicon_doc_me_linkna_linkinbio() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("readBooks"),
                             LexObjectProperty::Array(LexArray {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "Books on the read shelf (used by 1x2 size).",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Books on the read shelf (used by 1x2 size).",
+                                )),
                                 items: LexArrayItem::Ref(LexRef {
                                     r#ref: CowStr::new_static("#goodreadsBook"),
                                     ..Default::default()
@@ -2658,29 +2632,25 @@ fn lexicon_doc_me_linkna_linkinbio() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("shelf"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "Shelf name (currently-reading, read, or to-read).",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Shelf name (currently-reading, read, or to-read).",
+                                )),
                                 ..Default::default()
                             }),
                         );
                         map.insert(
                             SmolStr::new_static("size"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Widget display size. Default: 1x1."),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Widget display size. Default: 1x1.",
+                                )),
                                 ..Default::default()
                             }),
                         );
                         map.insert(
                             SmolStr::new_static("type"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Card type discriminator."),
-                                ),
+                                description: Some(CowStr::new_static("Card type discriminator.")),
                                 ..Default::default()
                             }),
                         );
@@ -2692,26 +2662,23 @@ fn lexicon_doc_me_linkna_linkinbio() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("widgetTealfm"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static(
-                            "A teal.fm recently played tracks widget card.",
-                        ),
-                    ),
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("id"), SmolStr::new_static("type"),
-                            SmolStr::new_static("plays")
-                        ],
-                    ),
+                    description: Some(CowStr::new_static(
+                        "A teal.fm recently played tracks widget card.",
+                    )),
+                    required: Some(vec![
+                        SmolStr::new_static("id"),
+                        SmolStr::new_static("type"),
+                        SmolStr::new_static("plays"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("coverArtNotice"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Copyright notice for cover art images."),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Copyright notice for cover art images.",
+                                )),
                                 ..Default::default()
                             }),
                         );
@@ -2724,20 +2691,18 @@ fn lexicon_doc_me_linkna_linkinbio() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("id"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Unique identifier for the card."),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Unique identifier for the card.",
+                                )),
                                 ..Default::default()
                             }),
                         );
                         map.insert(
                             SmolStr::new_static("lastSyncedAt"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "When the play data was last fetched from the PDS.",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "When the play data was last fetched from the PDS.",
+                                )),
                                 format: Some(LexStringFormat::Datetime),
                                 ..Default::default()
                             }),
@@ -2745,9 +2710,7 @@ fn lexicon_doc_me_linkna_linkinbio() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("plays"),
                             LexObjectProperty::Array(LexArray {
-                                description: Some(
-                                    CowStr::new_static("Recently played tracks."),
-                                ),
+                                description: Some(CowStr::new_static("Recently played tracks.")),
                                 items: LexArrayItem::Ref(LexRef {
                                     r#ref: CowStr::new_static("#tealfmPlay"),
                                     ..Default::default()
@@ -2758,18 +2721,16 @@ fn lexicon_doc_me_linkna_linkinbio() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("size"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Widget display size. Default: 1x1."),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Widget display size. Default: 1x1.",
+                                )),
                                 ..Default::default()
                             }),
                         );
                         map.insert(
                             SmolStr::new_static("type"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Card type discriminator."),
-                                ),
+                                description: Some(CowStr::new_static("Card type discriminator.")),
                                 ..Default::default()
                             }),
                         );
@@ -2786,7 +2747,7 @@ fn lexicon_doc_me_linkna_linkinbio() -> LexiconDoc<'static> {
 
 pub mod github_contribution_day_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -2843,10 +2804,7 @@ pub mod github_contribution_day_state {
 }
 
 /// Builder for constructing an instance of this type.
-pub struct GithubContributionDayBuilder<
-    S: BosStr,
-    St: github_contribution_day_state::State,
-> {
+pub struct GithubContributionDayBuilder {
     _state: PhantomData St>,
     _fields: (Option, Option, Option),
     _type: PhantomData S>,
@@ -2854,10 +2812,7 @@ pub struct GithubContributionDayBuilder<
 
 impl GithubContributionDay {
     /// Create a new builder for this type.
-    pub fn new() -> GithubContributionDayBuilder<
-        S,
-        github_contribution_day_state::Empty,
-    > {
+    pub fn new() -> GithubContributionDayBuilder {
         GithubContributionDayBuilder::new()
     }
 }
@@ -2962,7 +2917,7 @@ where
 
 pub mod linkinbio_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -3063,18 +3018,12 @@ impl LinkinbioBuilder {
 
 impl LinkinbioBuilder {
     /// Set the `socialIcons` field (optional)
-    pub fn social_icons(
-        mut self,
-        value: impl Into>>>,
-    ) -> Self {
+    pub fn social_icons(mut self, value: impl Into>>>) -> Self {
         self._fields.2 = value.into();
         self
     }
     /// Set the `socialIcons` field to an Option value (optional)
-    pub fn maybe_social_icons(
-        mut self,
-        value: Option>>,
-    ) -> Self {
+    pub fn maybe_social_icons(mut self, value: Option>>) -> Self {
         self._fields.2 = value;
         self
     }
@@ -3095,18 +3044,12 @@ impl LinkinbioBuilder {
 
 impl LinkinbioBuilder {
     /// Set the `themeConfig` field (optional)
-    pub fn theme_config(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn theme_config(mut self, value: impl Into>>) -> Self {
         self._fields.4 = value.into();
         self
     }
     /// Set the `themeConfig` field to an Option value (optional)
-    pub fn maybe_theme_config(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_theme_config(mut self, value: Option>) -> Self {
         self._fields.4 = value;
         self
     }
@@ -3129,10 +3072,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> Linkinbio {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> Linkinbio {
         Linkinbio {
             cards: self._fields.0.unwrap(),
             connected_services: self._fields.1,
@@ -3146,7 +3086,7 @@ where
 
 pub mod social_icon_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -3233,10 +3173,7 @@ where
     St::Id: social_icon_state::IsUnset,
 {
     /// Set the `id` field (required)
-    pub fn id(
-        mut self,
-        value: impl Into,
-    ) -> SocialIconBuilder> {
+    pub fn id(mut self, value: impl Into) -> SocialIconBuilder> {
         self._fields.0 = Option::Some(value.into());
         SocialIconBuilder {
             _state: PhantomData,
@@ -3301,10 +3238,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> SocialIcon {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> SocialIcon {
         SocialIcon {
             id: self._fields.0.unwrap(),
             platform: self._fields.1.unwrap(),
@@ -3316,7 +3250,7 @@ where
 
 pub mod widget_github_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -3573,10 +3507,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> WidgetGithub {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> WidgetGithub {
         WidgetGithub {
             contributions: self._fields.0.unwrap(),
             enabled: self._fields.1,
@@ -3593,7 +3524,7 @@ where
 
 pub mod widget_goodreads_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -3811,10 +3742,7 @@ impl WidgetGoodreadsBuilder
         self
     }
     /// Set the `readBooks` field to an Option value (optional)
-    pub fn maybe_read_books(
-        mut self,
-        value: Option>>,
-    ) -> Self {
+    pub fn maybe_read_books(mut self, value: Option>>) -> Self {
         self._fields.5 = value;
         self
     }
@@ -3896,10 +3824,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> WidgetGoodreads {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> WidgetGoodreads {
         WidgetGoodreads {
             books: self._fields.0.unwrap(),
             enabled: self._fields.1,
@@ -3917,7 +3842,7 @@ where
 
 pub mod widget_tealfm_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -4136,10 +4061,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> WidgetTealfm {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> WidgetTealfm {
         WidgetTealfm {
             cover_art_notice: self._fields.0,
             enabled: self._fields.1,
@@ -4151,4 +4073,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/me_linkna/profile.rs b/crates/jacquard-api/src/me_linkna/profile.rs
index 858374bf..6bd34ae8 100644
--- a/crates/jacquard-api/src/me_linkna/profile.rs
+++ b/crates/jacquard-api/src/me_linkna/profile.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -27,7 +27,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// A user's custom profile for their Linkname page.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -120,31 +120,25 @@ impl LexiconSchema for Profile {
         if let Some(ref value) = self.avatar {
             {
                 let mime = value.blob().mime_type.as_str();
-                let accepted: &[&str] = &[
-                    "image/png",
-                    "image/jpeg",
-                    "image/webp",
-                    "image/gif",
-                ];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let accepted: &[&str] = &["image/png", "image/jpeg", "image/webp", "image/gif"];
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("avatar"),
                         accepted: vec![
-                            "image/png".to_string(), "image/jpeg".to_string(),
-                            "image/webp".to_string(), "image/gif".to_string()
+                            "image/png".to_string(),
+                            "image/jpeg".to_string(),
+                            "image/webp".to_string(),
+                            "image/gif".to_string(),
                         ],
                         actual: mime.to_string(),
                     });
@@ -167,7 +161,7 @@ impl LexiconSchema for Profile {
 
 pub mod profile_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -273,10 +267,10 @@ where
 }
 
 fn lexicon_doc_me_linkna_profile() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("me.linkna.profile"),
@@ -285,11 +279,9 @@ fn lexicon_doc_me_linkna_profile() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static(
-                            "A user's custom profile for their Linkname page.",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "A user's custom profile for their Linkname page.",
+                    )),
                     key: Some(CowStr::new_static("literal:self")),
                     record: LexRecordRecord::Object(LexObject {
                         properties: {
@@ -297,7 +289,9 @@ fn lexicon_doc_me_linkna_profile() -> LexiconDoc<'static> {
                             let mut map = BTreeMap::new();
                             map.insert(
                                 SmolStr::new_static("avatar"),
-                                LexObjectProperty::Blob(LexBlob { ..Default::default() }),
+                                LexObjectProperty::Blob(LexBlob {
+                                    ..Default::default()
+                                }),
                             );
                             map.insert(
                                 SmolStr::new_static("createdAt"),
@@ -309,11 +303,9 @@ fn lexicon_doc_me_linkna_profile() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("description"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "Custom profile description for Linkname page.",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Custom profile description for Linkname page.",
+                                    )),
                                     max_length: Some(256usize),
                                     ..Default::default()
                                 }),
@@ -329,4 +321,4 @@ fn lexicon_doc_me_linkna_profile() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/media_ionosphere.rs b/crates/jacquard-api/src/media_ionosphere.rs
index a35acccf..974ada6a 100644
--- a/crates/jacquard-api/src/media_ionosphere.rs
+++ b/crates/jacquard-api/src/media_ionosphere.rs
@@ -10,13 +10,12 @@ pub mod log;
 pub mod programme;
 pub mod service;
 
-
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -27,16 +26,19 @@ use jacquard_derive::IntoStatic;
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::media_ionosphere;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::media_ionosphere;
+use serde::{Deserialize, Serialize};
 /// BearerURI as specified in ETSI TS 103 270
 pub type Bearer = UriValue;
 /// Represents the method of accessing a broadcast; i.e. live
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Broadcast {
     pub bearer: media_ionosphere::Bearer,
     ///When used in a list, this can be used to sort the attempted connections or preferred methods  Defaults to `0`.
@@ -57,9 +59,11 @@ pub struct Broadcast {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Credit {
     pub entity: media_ionosphere::Entity,
     ///Self-explanatory, but beware that the expected values may change in future (possibly to match TV-Anytime role classification schema)
@@ -151,9 +155,11 @@ where
     }
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Entity {
     pub name: S,
     pub r#type: S,
@@ -165,7 +171,10 @@ pub struct Entity {
 pub type Genre = UriValue;
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Geocoordinates {
     pub latitude: S,
     pub longitude: S,
@@ -176,7 +185,10 @@ pub struct Geocoordinates {
 /// Represents membership to a group, optionally with an index
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Membership {
     pub group: AtUri,
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -188,7 +200,10 @@ pub struct Membership {
 /// Represents the method of accessing a recording
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Recording {
     pub bearer: media_ionosphere::Bearer,
     ///When used in a list, this can be used to sort the attempted connections or preferred methods  Defaults to `0`.
@@ -205,9 +220,11 @@ pub struct Recording {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Track {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub album: Option,
@@ -411,7 +428,7 @@ fn _default_broadcast_offset() -> Option {
 
 pub mod broadcast_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -560,10 +577,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> Broadcast {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> Broadcast {
         Broadcast {
             bearer: self._fields.0.unwrap(),
             cost: self._fields.1.or_else(|| Some(0i64)),
@@ -576,10 +590,10 @@ where
 }
 
 fn lexicon_doc_media_ionosphere_defs() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("media.ionosphere.defs"),
@@ -588,9 +602,9 @@ fn lexicon_doc_media_ionosphere_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("bearer"),
                 LexUserType::String(LexString {
-                    description: Some(
-                        CowStr::new_static("BearerURI as specified in ETSI TS 103 270"),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "BearerURI as specified in ETSI TS 103 270",
+                    )),
                     format: Some(LexStringFormat::Uri),
                     ..Default::default()
                 }),
@@ -598,11 +612,9 @@ fn lexicon_doc_media_ionosphere_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("broadcast"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static(
-                            "Represents the method of accessing a broadcast; i.e. live",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Represents the method of accessing a broadcast; i.e. live",
+                    )),
                     required: Some(vec![SmolStr::new_static("bearer")]),
                     properties: {
                         #[allow(unused_mut)]
@@ -623,11 +635,9 @@ fn lexicon_doc_media_ionosphere_defs() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("from"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "The datetime from which this method is available",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "The datetime from which this method is available",
+                                )),
                                 format: Some(LexStringFormat::Datetime),
                                 ..Default::default()
                             }),
@@ -641,11 +651,9 @@ fn lexicon_doc_media_ionosphere_defs() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("until"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "The datetime where this method is no longer available",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "The datetime where this method is no longer available",
+                                )),
                                 format: Some(LexStringFormat::Datetime),
                                 ..Default::default()
                             }),
@@ -691,9 +699,10 @@ fn lexicon_doc_media_ionosphere_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("entity"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![SmolStr::new_static("type"), SmolStr::new_static("name")],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("type"),
+                        SmolStr::new_static("name"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -731,12 +740,10 @@ fn lexicon_doc_media_ionosphere_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("geocoordinates"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("latitude"),
-                            SmolStr::new_static("longitude")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("latitude"),
+                        SmolStr::new_static("longitude"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -762,11 +769,9 @@ fn lexicon_doc_media_ionosphere_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("membership"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static(
-                            "Represents membership to a group, optionally with an index",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Represents membership to a group, optionally with an index",
+                    )),
                     required: Some(vec![SmolStr::new_static("group")]),
                     properties: {
                         #[allow(unused_mut)]
@@ -792,11 +797,9 @@ fn lexicon_doc_media_ionosphere_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("recording"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static(
-                            "Represents the method of accessing a recording",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Represents the method of accessing a recording",
+                    )),
                     required: Some(vec![SmolStr::new_static("bearer")]),
                     properties: {
                         #[allow(unused_mut)]
@@ -817,11 +820,9 @@ fn lexicon_doc_media_ionosphere_defs() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("from"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "The datetime from which this method is available",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "The datetime from which this method is available",
+                                )),
                                 format: Some(LexStringFormat::Datetime),
                                 ..Default::default()
                             }),
@@ -829,11 +830,9 @@ fn lexicon_doc_media_ionosphere_defs() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("until"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "The datetime where this method is no longer available",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "The datetime where this method is no longer available",
+                                )),
                                 format: Some(LexStringFormat::Datetime),
                                 ..Default::default()
                             }),
@@ -846,11 +845,10 @@ fn lexicon_doc_media_ionosphere_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("track"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("title"), SmolStr::new_static("artists")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("title"),
+                        SmolStr::new_static("artists"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -864,11 +862,9 @@ fn lexicon_doc_media_ionosphere_defs() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("artists"),
                             LexObjectProperty::Array(LexArray {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "Artists in order of importance to the track",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Artists in order of importance to the track",
+                                )),
                                 items: LexArrayItem::String(LexString {
                                     max_length: Some(256usize),
                                     ..Default::default()
@@ -896,7 +892,7 @@ fn lexicon_doc_media_ionosphere_defs() -> LexiconDoc<'static> {
 
 pub mod credit_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1027,7 +1023,7 @@ where
 
 pub mod membership_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1128,10 +1124,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> Membership {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> Membership {
         Membership {
             group: self._fields.0.unwrap(),
             index: self._fields.1,
@@ -1146,7 +1139,7 @@ fn _default_recording_cost() -> Option {
 
 pub mod recording_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1280,10 +1273,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> Recording {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> Recording {
         Recording {
             bearer: self._fields.0.unwrap(),
             cost: self._fields.1.or_else(|| Some(0i64)),
@@ -1296,7 +1286,7 @@ where
 
 pub mod track_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1401,10 +1391,7 @@ where
     St::Title: track_state::IsUnset,
 {
     /// Set the `title` field (required)
-    pub fn title(
-        mut self,
-        value: impl Into,
-    ) -> TrackBuilder> {
+    pub fn title(mut self, value: impl Into) -> TrackBuilder> {
         self._fields.2 = Option::Some(value.into());
         TrackBuilder {
             _state: PhantomData,
@@ -1438,4 +1425,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/media_ionosphere/group.rs b/crates/jacquard-api/src/media_ionosphere/group.rs
index 9cb64361..6f57d5c2 100644
--- a/crates/jacquard-api/src/media_ionosphere/group.rs
+++ b/crates/jacquard-api/src/media_ionosphere/group.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -25,11 +25,11 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::media_ionosphere::Genre;
 use crate::media_ionosphere::Membership;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// Represents a grouping of subgroups or programmes
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -231,19 +231,16 @@ impl LexiconSchema for Group {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["image/*"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("icon"),
@@ -293,7 +290,7 @@ impl LexiconSchema for Group {
 
 pub mod group_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -506,10 +503,7 @@ where
     St::Name: group_state::IsUnset,
 {
     /// Set the `name` field (required)
-    pub fn name(
-        mut self,
-        value: impl Into,
-    ) -> GroupBuilder> {
+    pub fn name(mut self, value: impl Into) -> GroupBuilder> {
         self._fields.8 = Option::Some(value.into());
         GroupBuilder {
             _state: PhantomData,
@@ -559,10 +553,10 @@ where
 }
 
 fn lexicon_doc_media_ionosphere_group() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("media.ionosphere.group"),
@@ -685,4 +679,4 @@ fn lexicon_doc_media_ionosphere_group() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/media_ionosphere/log.rs b/crates/jacquard-api/src/media_ionosphere/log.rs
index e055c0d1..05433842 100644
--- a/crates/jacquard-api/src/media_ionosphere/log.rs
+++ b/crates/jacquard-api/src/media_ionosphere/log.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::media_ionosphere::Track;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::media_ionosphere::Track;
+use serde::{Deserialize, Serialize};
 /// Represents information about what was played
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -121,7 +121,7 @@ impl LexiconSchema for Log {
 
 pub mod log_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -180,7 +180,12 @@ pub mod log_state {
 /// Builder for constructing an instance of this type.
 pub struct LogBuilder {
     _state: PhantomData St>,
-    _fields: (Option, Option, Option>, Option>),
+    _fields: (
+        Option,
+        Option,
+        Option>,
+        Option>,
+    ),
     _type: PhantomData S>,
 }
 
@@ -246,10 +251,7 @@ where
     St::Item: log_state::IsUnset,
 {
     /// Set the `item` field (required)
-    pub fn item(
-        mut self,
-        value: impl Into>,
-    ) -> LogBuilder> {
+    pub fn item(mut self, value: impl Into>) -> LogBuilder> {
         self._fields.2 = Option::Some(value.into());
         LogBuilder {
             _state: PhantomData,
@@ -302,10 +304,10 @@ where
 }
 
 fn lexicon_doc_media_ionosphere_log() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("media.ionosphere.log"),
@@ -314,20 +316,16 @@ fn lexicon_doc_media_ionosphere_log() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static(
-                            "Represents information about what was played",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Represents information about what was played",
+                    )),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("ionosphere"),
-                                SmolStr::new_static("createdAt"),
-                                SmolStr::new_static("item")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("ionosphere"),
+                            SmolStr::new_static("createdAt"),
+                            SmolStr::new_static("item"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -349,18 +347,16 @@ fn lexicon_doc_media_ionosphere_log() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("item"),
                                 LexObjectProperty::Union(LexRefUnion {
-                                    refs: vec![
-                                        CowStr::new_static("media.ionosphere.defs#track")
-                                    ],
+                                    refs: vec![CowStr::new_static("media.ionosphere.defs#track")],
                                     ..Default::default()
                                 }),
                             );
                             map.insert(
                                 SmolStr::new_static("programme"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("The programme this log is a part of"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "The programme this log is a part of",
+                                    )),
                                     format: Some(LexStringFormat::AtUri),
                                     ..Default::default()
                                 }),
@@ -376,4 +372,4 @@ fn lexicon_doc_media_ionosphere_log() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/media_ionosphere/programme.rs b/crates/jacquard-api/src/media_ionosphere/programme.rs
index 6179630d..e024270c 100644
--- a/crates/jacquard-api/src/media_ionosphere/programme.rs
+++ b/crates/jacquard-api/src/media_ionosphere/programme.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -25,14 +25,14 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::media_ionosphere::Broadcast;
 use crate::media_ionosphere::Credit;
 use crate::media_ionosphere::Genre;
 use crate::media_ionosphere::Membership;
 use crate::media_ionosphere::Recording;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// A programme represents an individual piece of media. It does not represent a long-running show.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -69,7 +69,6 @@ pub struct Programme {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
 pub enum ProgrammeDeliveryItem {
@@ -148,19 +147,16 @@ impl LexiconSchema for Programme {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["image/*"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("icon"),
@@ -200,7 +196,7 @@ impl LexiconSchema for Programme {
 
 pub mod programme_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -287,7 +283,9 @@ impl ProgrammeBuilder {
     pub fn new() -> Self {
         ProgrammeBuilder {
             _state: PhantomData,
-            _fields: (None, None, None, None, None, None, None, None, None, None, None),
+            _fields: (
+                None, None, None, None, None, None, None, None, None, None, None,
+            ),
             _type: PhantomData,
         }
     }
@@ -308,18 +306,12 @@ impl ProgrammeBuilder {
 
 impl ProgrammeBuilder {
     /// Set the `delivery` field (optional)
-    pub fn delivery(
-        mut self,
-        value: impl Into>>>,
-    ) -> Self {
+    pub fn delivery(mut self, value: impl Into>>>) -> Self {
         self._fields.1 = value.into();
         self
     }
     /// Set the `delivery` field to an Option value (optional)
-    pub fn maybe_delivery(
-        mut self,
-        value: Option>>,
-    ) -> Self {
+    pub fn maybe_delivery(mut self, value: Option>>) -> Self {
         self._fields.1 = value;
         self
     }
@@ -485,10 +477,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> Programme {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> Programme {
         Programme {
             credits: self._fields.0,
             delivery: self._fields.1,
@@ -507,10 +496,10 @@ where
 }
 
 fn lexicon_doc_media_ionosphere_programme() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("media.ionosphere.programme"),
@@ -652,4 +641,4 @@ fn lexicon_doc_media_ionosphere_programme() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/media_ionosphere/service.rs b/crates/jacquard-api/src/media_ionosphere/service.rs
index 26c12027..560ddd3e 100644
--- a/crates/jacquard-api/src/media_ionosphere/service.rs
+++ b/crates/jacquard-api/src/media_ionosphere/service.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -25,12 +25,12 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::media_ionosphere::Broadcast;
 use crate::media_ionosphere::Genre;
 use crate::media_ionosphere::Geocoordinates;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// Represents the service belonging to this PDS
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -134,19 +134,16 @@ impl LexiconSchema for Service {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["image/*"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("icon"),
@@ -186,7 +183,7 @@ impl LexiconSchema for Service {
 
 pub mod service_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -400,10 +397,7 @@ where
     St::Name: service_state::IsUnset,
 {
     /// Set the `name` field (required)
-    pub fn name(
-        mut self,
-        value: impl Into,
-    ) -> ServiceBuilder> {
+    pub fn name(mut self, value: impl Into) -> ServiceBuilder> {
         self._fields.8 = Option::Some(value.into());
         ServiceBuilder {
             _state: PhantomData,
@@ -468,10 +462,10 @@ where
 }
 
 fn lexicon_doc_media_ionosphere_service() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("media.ionosphere.service"),
@@ -598,4 +592,4 @@ fn lexicon_doc_media_ionosphere_service() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/moe_karashiiro.rs b/crates/jacquard-api/src/moe_karashiiro.rs
index dacd9dd5..471dcd6b 100644
--- a/crates/jacquard-api/src/moe_karashiiro.rs
+++ b/crates/jacquard-api/src/moe_karashiiro.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod kpaste;
\ No newline at end of file
+pub mod kpaste;
diff --git a/crates/jacquard-api/src/moe_karashiiro/kpaste.rs b/crates/jacquard-api/src/moe_karashiiro/kpaste.rs
index e256fa0a..c26bb5d0 100644
--- a/crates/jacquard-api/src/moe_karashiiro/kpaste.rs
+++ b/crates/jacquard-api/src/moe_karashiiro/kpaste.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod paste;
\ No newline at end of file
+pub mod paste;
diff --git a/crates/jacquard-api/src/moe_karashiiro/kpaste/paste.rs b/crates/jacquard-api/src/moe_karashiiro/kpaste/paste.rs
index 8fd5590b..c0a7be8c 100644
--- a/crates/jacquard-api/src/moe_karashiiro/kpaste/paste.rs
+++ b/crates/jacquard-api/src/moe_karashiiro/kpaste/paste.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -27,7 +27,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(
@@ -128,19 +128,16 @@ impl LexiconSchema for Paste {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["text/plain", "text/*"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("content"),
@@ -180,7 +177,7 @@ fn _default_paste_language() -> ::core::option::Option {
 
 pub mod paste_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -361,10 +358,10 @@ where
 }
 
 fn lexicon_doc_moe_karashiiro_kpaste_paste() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("moe.karashiiro.kpaste.paste"),
@@ -444,4 +441,4 @@ fn lexicon_doc_moe_karashiiro_kpaste_paste() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/mov_danabra.rs b/crates/jacquard-api/src/mov_danabra.rs
index 20f4b4a0..e2e257dc 100644
--- a/crates/jacquard-api/src/mov_danabra.rs
+++ b/crates/jacquard-api/src/mov_danabra.rs
@@ -8,4 +8,4 @@ pub mod greeting;
 pub mod post;
 pub mod post_embed;
 pub mod profile_header;
-pub mod profile_tab;
\ No newline at end of file
+pub mod profile_tab;
diff --git a/crates/jacquard-api/src/mov_danabra/avi_handle.rs b/crates/jacquard-api/src/mov_danabra/avi_handle.rs
index 8158d22b..63444a23 100644
--- a/crates/jacquard-api/src/mov_danabra/avi_handle.rs
+++ b/crates/jacquard-api/src/mov_danabra/avi_handle.rs
@@ -8,27 +8,32 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::at_inlay::Response;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::AtUri;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::at_inlay::Response;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct AviHandle {
     pub uri: AtUri,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct AviHandleOutput {
     #[serde(flatten)]
     pub value: Response,
@@ -47,9 +52,8 @@ impl jacquard_common::xrpc::XrpcResp for AviHandleResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for AviHandle {
     const NSID: &'static str = "mov.danabra.AviHandle";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = AviHandleResponse;
 }
 
@@ -57,16 +61,15 @@ impl jacquard_common::xrpc::XrpcRequest for AviHandle {
 pub struct AviHandleRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for AviHandleRequest {
     const PATH: &'static str = "/xrpc/mov.danabra.AviHandle";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = AviHandle;
     type Response = AviHandleResponse;
 }
 
 pub mod avi_handle_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -153,13 +156,10 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> AviHandle {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> AviHandle {
         AviHandle {
             uri: self._fields.0.unwrap(),
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/mov_danabra/greeting.rs b/crates/jacquard-api/src/mov_danabra/greeting.rs
index 58ea371f..92bdc930 100644
--- a/crates/jacquard-api/src/mov_danabra/greeting.rs
+++ b/crates/jacquard-api/src/mov_danabra/greeting.rs
@@ -8,17 +8,20 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::at_inlay::Response;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::at_inlay::Response;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Greeting {
     ///Name to greet.
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -27,9 +30,11 @@ pub struct Greeting {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GreetingOutput {
     #[serde(flatten)]
     pub value: Response,
@@ -48,9 +53,8 @@ impl jacquard_common::xrpc::XrpcResp for GreetingResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for Greeting {
     const NSID: &'static str = "mov.danabra.Greeting";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = GreetingResponse;
 }
 
@@ -58,9 +62,8 @@ impl jacquard_common::xrpc::XrpcRequest for Greeting {
 pub struct GreetingRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for GreetingRequest {
     const PATH: &'static str = "/xrpc/mov.danabra.Greeting";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = Greeting;
     type Response = GreetingResponse;
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/mov_danabra/post.rs b/crates/jacquard-api/src/mov_danabra/post.rs
index ea1e5027..82cd3e18 100644
--- a/crates/jacquard-api/src/mov_danabra/post.rs
+++ b/crates/jacquard-api/src/mov_danabra/post.rs
@@ -8,18 +8,21 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::at_inlay::Response;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::AtUri;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::at_inlay::Response;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Post {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub foo: Option>,
@@ -28,7 +31,6 @@ pub struct Post {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Debug, Clone, PartialEq, Eq, Hash)]
 pub enum PostFoo {
     Bar,
@@ -106,9 +108,11 @@ where
     }
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct PostOutput {
     #[serde(flatten)]
     pub value: Response,
@@ -127,9 +131,8 @@ impl jacquard_common::xrpc::XrpcResp for PostResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for Post {
     const NSID: &'static str = "mov.danabra.Post";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = PostResponse;
 }
 
@@ -137,16 +140,15 @@ impl jacquard_common::xrpc::XrpcRequest for Post {
 pub struct PostRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for PostRequest {
     const PATH: &'static str = "/xrpc/mov.danabra.Post";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = Post;
     type Response = PostResponse;
 }
 
 pub mod post_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -220,10 +222,7 @@ where
     St::Uri: post_state::IsUnset,
 {
     /// Set the `uri` field (required)
-    pub fn uri(
-        mut self,
-        value: impl Into>,
-    ) -> PostBuilder> {
+    pub fn uri(mut self, value: impl Into>) -> PostBuilder> {
         self._fields.1 = Option::Some(value.into());
         PostBuilder {
             _state: PhantomData,
@@ -254,4 +253,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/mov_danabra/post_embed.rs b/crates/jacquard-api/src/mov_danabra/post_embed.rs
index e28aad77..466f619d 100644
--- a/crates/jacquard-api/src/mov_danabra/post_embed.rs
+++ b/crates/jacquard-api/src/mov_danabra/post_embed.rs
@@ -8,18 +8,21 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::at_inlay::Response;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::AtUri;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::at_inlay::Response;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct PostEmbed {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub foo: Option,
@@ -28,9 +31,11 @@ pub struct PostEmbed {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct PostEmbedOutput {
     #[serde(flatten)]
     pub value: Response,
@@ -49,9 +54,8 @@ impl jacquard_common::xrpc::XrpcResp for PostEmbedResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for PostEmbed {
     const NSID: &'static str = "mov.danabra.PostEmbed";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = PostEmbedResponse;
 }
 
@@ -59,16 +63,15 @@ impl jacquard_common::xrpc::XrpcRequest for PostEmbed {
 pub struct PostEmbedRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for PostEmbedRequest {
     const PATH: &'static str = "/xrpc/mov.danabra.PostEmbed";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = PostEmbed;
     type Response = PostEmbedResponse;
 }
 
 pub mod post_embed_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -169,14 +172,11 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> PostEmbed {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> PostEmbed {
         PostEmbed {
             foo: self._fields.0,
             uri: self._fields.1.unwrap(),
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/mov_danabra/profile_header.rs b/crates/jacquard-api/src/mov_danabra/profile_header.rs
index f0ea2124..8307fd5c 100644
--- a/crates/jacquard-api/src/mov_danabra/profile_header.rs
+++ b/crates/jacquard-api/src/mov_danabra/profile_header.rs
@@ -8,27 +8,32 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::at_inlay::Response;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::AtUri;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::at_inlay::Response;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ProfileHeader {
     pub uri: AtUri,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ProfileHeaderOutput {
     #[serde(flatten)]
     pub value: Response,
@@ -47,9 +52,8 @@ impl jacquard_common::xrpc::XrpcResp for ProfileHeaderResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for ProfileHeader {
     const NSID: &'static str = "mov.danabra.ProfileHeader";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = ProfileHeaderResponse;
 }
 
@@ -57,16 +61,15 @@ impl jacquard_common::xrpc::XrpcRequest for ProfileHeader {
 pub struct ProfileHeaderRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for ProfileHeaderRequest {
     const PATH: &'static str = "/xrpc/mov.danabra.ProfileHeader";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = ProfileHeader;
     type Response = ProfileHeaderResponse;
 }
 
 pub mod profile_header_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -153,13 +156,10 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> ProfileHeader {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> ProfileHeader {
         ProfileHeader {
             uri: self._fields.0.unwrap(),
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/mov_danabra/profile_tab.rs b/crates/jacquard-api/src/mov_danabra/profile_tab.rs
index b4a6d35c..b92afa18 100644
--- a/crates/jacquard-api/src/mov_danabra/profile_tab.rs
+++ b/crates/jacquard-api/src/mov_danabra/profile_tab.rs
@@ -10,15 +10,18 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::AtUri;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ProfileTab {
     /// Defaults to `10`.
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -31,7 +34,6 @@ pub struct ProfileTab {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Debug, Clone, PartialEq, Eq, Hash)]
 pub enum ProfileTabTab {
     PostsAndAuthorThreads,
@@ -109,9 +111,11 @@ where
     }
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ProfileTabOutput {
     #[serde(flatten)]
     pub value: Data,
@@ -130,9 +134,8 @@ impl jacquard_common::xrpc::XrpcResp for ProfileTabResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for ProfileTab {
     const NSID: &'static str = "mov.danabra.ProfileTab";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = ProfileTabResponse;
 }
 
@@ -140,9 +143,8 @@ impl jacquard_common::xrpc::XrpcRequest for ProfileTab {
 pub struct ProfileTabRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for ProfileTabRequest {
     const PATH: &'static str = "/xrpc/mov.danabra.ProfileTab";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = ProfileTab;
     type Response = ProfileTabResponse;
 }
@@ -153,7 +155,7 @@ fn _default_profile_tab_limit() -> Option {
 
 pub mod profile_tab_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -268,10 +270,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> ProfileTab {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> ProfileTab {
         ProfileTab {
             limit: self._fields.0.or_else(|| Some(10i64)),
             tab: self._fields.1,
@@ -279,4 +278,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/my_skylights.rs b/crates/jacquard-api/src/my_skylights.rs
index 196a0436..b2d8d837 100644
--- a/crates/jacquard-api/src/my_skylights.rs
+++ b/crates/jacquard-api/src/my_skylights.rs
@@ -9,10 +9,9 @@ pub mod list;
 pub mod list_item;
 pub mod rel;
 
-
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,10 +23,13 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Item {
     pub r#ref: ItemRef,
     pub value: S,
@@ -35,7 +37,6 @@ pub struct Item {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Debug, Clone, PartialEq, Eq, Hash)]
 pub enum ItemRef {
     OpenLibrary,
@@ -133,10 +134,10 @@ impl LexiconSchema for Item {
 }
 
 fn lexicon_doc_my_skylights_defs() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("my.skylights.defs"),
@@ -145,19 +146,24 @@ fn lexicon_doc_my_skylights_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("item"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![SmolStr::new_static("ref"), SmolStr::new_static("value")],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("ref"),
+                        SmolStr::new_static("value"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("ref"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("value"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map
                     },
@@ -168,4 +174,4 @@ fn lexicon_doc_my_skylights_defs() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/my_skylights/list.rs b/crates/jacquard-api/src/my_skylights/list.rs
index e16c1e90..fa88a5c3 100644
--- a/crates/jacquard-api/src/my_skylights/list.rs
+++ b/crates/jacquard-api/src/my_skylights/list.rs
@@ -7,7 +7,7 @@
 
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -20,10 +20,13 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct List {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub created_at: Option,
@@ -36,7 +39,6 @@ pub struct List {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Debug, Clone, PartialEq, Eq, Hash)]
 pub enum ListSortBy {
     Position,
@@ -130,10 +132,10 @@ impl LexiconSchema for List {
 }
 
 fn lexicon_doc_my_skylights_list() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("my.skylights.list"),
@@ -155,15 +157,21 @@ fn lexicon_doc_my_skylights_list() -> LexiconDoc<'static> {
                         );
                         map.insert(
                             SmolStr::new_static("description"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("sortBy"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("title"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map
                     },
@@ -174,4 +182,4 @@ fn lexicon_doc_my_skylights_list() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/my_skylights/list_item.rs b/crates/jacquard-api/src/my_skylights/list_item.rs
index a078d24f..9f671758 100644
--- a/crates/jacquard-api/src/my_skylights/list_item.rs
+++ b/crates/jacquard-api/src/my_skylights/list_item.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -21,12 +21,12 @@ use jacquard_derive::{IntoStatic, open_union};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::my_skylights::Item;
 use crate::my_skylights::list::List;
 use crate::my_skylights::list_item;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// User gave up on finishing the item
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Hash)]
@@ -37,9 +37,11 @@ impl core::fmt::Display for Abandoned {
     }
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Builtin {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub r#type: Option>,
@@ -47,7 +49,6 @@ pub struct Builtin {
     pub extra_data: Option>>,
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -74,9 +75,11 @@ impl core::fmt::Display for InProgress {
     }
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ListItem {
     pub added_at: Datetime,
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -89,7 +92,6 @@ pub struct ListItem {
     pub extra_data: Option>>,
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -161,10 +163,10 @@ impl LexiconSchema for ListItem {
 }
 
 fn lexicon_doc_my_skylights_listItem() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("my.skylights.listItem"),
@@ -172,7 +174,9 @@ fn lexicon_doc_my_skylights_listItem() -> LexiconDoc<'static> {
             let mut map = BTreeMap::new();
             map.insert(
                 SmolStr::new_static("abandoned"),
-                LexUserType::Token(LexToken { ..Default::default() }),
+                LexUserType::Token(LexToken {
+                    ..Default::default()
+                }),
             );
             map.insert(
                 SmolStr::new_static("builtin"),
@@ -188,7 +192,7 @@ fn lexicon_doc_my_skylights_listItem() -> LexiconDoc<'static> {
                                     CowStr::new_static("my.skylights.listItem#queue"),
                                     CowStr::new_static("my.skylights.listItem#abandoned"),
                                     CowStr::new_static("my.skylights.listItem#owned"),
-                                    CowStr::new_static("my.skylights.listItem#wishlist")
+                                    CowStr::new_static("my.skylights.listItem#wishlist"),
                                 ],
                                 ..Default::default()
                             }),
@@ -200,17 +204,18 @@ fn lexicon_doc_my_skylights_listItem() -> LexiconDoc<'static> {
             );
             map.insert(
                 SmolStr::new_static("inProgress"),
-                LexUserType::Token(LexToken { ..Default::default() }),
+                LexUserType::Token(LexToken {
+                    ..Default::default()
+                }),
             );
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("list"), SmolStr::new_static("addedAt"),
-                            SmolStr::new_static("position")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("list"),
+                        SmolStr::new_static("addedAt"),
+                        SmolStr::new_static("position"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -233,18 +238,22 @@ fn lexicon_doc_my_skylights_listItem() -> LexiconDoc<'static> {
                             LexObjectProperty::Union(LexRefUnion {
                                 refs: vec![
                                     CowStr::new_static("my.skylights.list"),
-                                    CowStr::new_static("#builtin")
+                                    CowStr::new_static("#builtin"),
                                 ],
                                 ..Default::default()
                             }),
                         );
                         map.insert(
                             SmolStr::new_static("note"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("position"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map
                     },
@@ -253,15 +262,21 @@ fn lexicon_doc_my_skylights_listItem() -> LexiconDoc<'static> {
             );
             map.insert(
                 SmolStr::new_static("owned"),
-                LexUserType::Token(LexToken { ..Default::default() }),
+                LexUserType::Token(LexToken {
+                    ..Default::default()
+                }),
             );
             map.insert(
                 SmolStr::new_static("queue"),
-                LexUserType::Token(LexToken { ..Default::default() }),
+                LexUserType::Token(LexToken {
+                    ..Default::default()
+                }),
             );
             map.insert(
                 SmolStr::new_static("wishlist"),
-                LexUserType::Token(LexToken { ..Default::default() }),
+                LexUserType::Token(LexToken {
+                    ..Default::default()
+                }),
             );
             map
         },
@@ -271,7 +286,7 @@ fn lexicon_doc_my_skylights_listItem() -> LexiconDoc<'static> {
 
 pub mod list_item_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -470,4 +485,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/my_skylights/rel.rs b/crates/jacquard-api/src/my_skylights/rel.rs
index 2a352e79..c6c0e289 100644
--- a/crates/jacquard-api/src/my_skylights/rel.rs
+++ b/crates/jacquard-api/src/my_skylights/rel.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,11 +24,11 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::my_skylights::Item;
 use crate::my_skylights::rel;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(
@@ -60,9 +60,11 @@ pub struct RelGetRecordOutput {
     pub value: Rel,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Note {
     pub created_at: Datetime,
     pub updated_at: Datetime,
@@ -71,9 +73,11 @@ pub struct Note {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Rating {
     pub created_at: Datetime,
     pub value: i64,
@@ -181,7 +185,7 @@ impl LexiconSchema for Rating {
 
 pub mod rel_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -260,10 +264,7 @@ where
     St::Item: rel_state::IsUnset,
 {
     /// Set the `item` field (required)
-    pub fn item(
-        mut self,
-        value: impl Into>,
-    ) -> RelBuilder> {
+    pub fn item(mut self, value: impl Into>) -> RelBuilder> {
         self._fields.1 = Option::Some(value.into());
         RelBuilder {
             _state: PhantomData,
@@ -327,10 +328,10 @@ where
 }
 
 fn lexicon_doc_my_skylights_rel() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("my.skylights.rel"),
@@ -386,13 +387,11 @@ fn lexicon_doc_my_skylights_rel() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("note"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("value"),
-                            SmolStr::new_static("createdAt"),
-                            SmolStr::new_static("updatedAt")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("value"),
+                        SmolStr::new_static("createdAt"),
+                        SmolStr::new_static("updatedAt"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -412,7 +411,9 @@ fn lexicon_doc_my_skylights_rel() -> LexiconDoc<'static> {
                         );
                         map.insert(
                             SmolStr::new_static("value"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map
                     },
@@ -422,12 +423,10 @@ fn lexicon_doc_my_skylights_rel() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("rating"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("value"),
-                            SmolStr::new_static("createdAt")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("value"),
+                        SmolStr::new_static("createdAt"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -459,7 +458,7 @@ fn lexicon_doc_my_skylights_rel() -> LexiconDoc<'static> {
 
 pub mod note_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -584,10 +583,7 @@ where
     St::Value: note_state::IsUnset,
 {
     /// Set the `value` field (required)
-    pub fn value(
-        mut self,
-        value: impl Into,
-    ) -> NoteBuilder> {
+    pub fn value(mut self, value: impl Into) -> NoteBuilder> {
         self._fields.2 = Option::Some(value.into());
         NoteBuilder {
             _state: PhantomData,
@@ -626,7 +622,7 @@ where
 
 pub mod rating_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -718,10 +714,7 @@ where
     St::Value: rating_state::IsUnset,
 {
     /// Set the `value` field (required)
-    pub fn value(
-        mut self,
-        value: impl Into,
-    ) -> RatingBuilder> {
+    pub fn value(mut self, value: impl Into) -> RatingBuilder> {
         self._fields.1 = Option::Some(value.into());
         RatingBuilder {
             _state: PhantomData,
@@ -753,4 +746,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/net_aftertheinter.rs b/crates/jacquard-api/src/net_aftertheinter.rs
index 1a413b64..65d2561f 100644
--- a/crates/jacquard-api/src/net_aftertheinter.rs
+++ b/crates/jacquard-api/src/net_aftertheinter.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod coolthingtwo;
\ No newline at end of file
+pub mod coolthingtwo;
diff --git a/crates/jacquard-api/src/net_aftertheinter/coolthingtwo.rs b/crates/jacquard-api/src/net_aftertheinter/coolthingtwo.rs
index f577a626..70ef5768 100644
--- a/crates/jacquard-api/src/net_aftertheinter/coolthingtwo.rs
+++ b/crates/jacquard-api/src/net_aftertheinter/coolthingtwo.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(
@@ -138,7 +138,7 @@ impl LexiconSchema for Coolthingtwo {
 
 pub mod coolthingtwo_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -258,10 +258,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> Coolthingtwo {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> Coolthingtwo {
         Coolthingtwo {
             created_at: self._fields.0.unwrap(),
             status: self._fields.1.unwrap(),
@@ -271,10 +268,10 @@ where
 }
 
 fn lexicon_doc_net_aftertheinter_coolthingtwo() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("net.aftertheinter.coolthingtwo"),
@@ -285,12 +282,10 @@ fn lexicon_doc_net_aftertheinter_coolthingtwo() -> LexiconDoc<'static> {
                 LexUserType::Record(LexRecord {
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("status"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("status"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -321,4 +316,4 @@ fn lexicon_doc_net_aftertheinter_coolthingtwo() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/net_alternativeproto.rs b/crates/jacquard-api/src/net_alternativeproto.rs
index 5b90dcf7..7d3f2aaa 100644
--- a/crates/jacquard-api/src/net_alternativeproto.rs
+++ b/crates/jacquard-api/src/net_alternativeproto.rs
@@ -5,4 +5,4 @@
 
 pub mod review;
 pub mod submission;
-pub mod vote;
\ No newline at end of file
+pub mod vote;
diff --git a/crates/jacquard-api/src/net_alternativeproto/review.rs b/crates/jacquard-api/src/net_alternativeproto/review.rs
index 5b97df13..26b15917 100644
--- a/crates/jacquard-api/src/net_alternativeproto/review.rs
+++ b/crates/jacquard-api/src/net_alternativeproto/review.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// A user review of an AlternativeProto project
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -154,7 +154,7 @@ impl LexiconSchema for Review {
 
 pub mod review_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -314,10 +314,7 @@ where
     St::Text: review_state::IsUnset,
 {
     /// Set the `text` field (required)
-    pub fn text(
-        mut self,
-        value: impl Into,
-    ) -> ReviewBuilder> {
+    pub fn text(mut self, value: impl Into) -> ReviewBuilder> {
         self._fields.3 = Option::Some(value.into());
         ReviewBuilder {
             _state: PhantomData,
@@ -358,10 +355,10 @@ where
 }
 
 fn lexicon_doc_net_alternativeproto_review() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("net.alternativeproto.review"),
@@ -440,4 +437,4 @@ fn lexicon_doc_net_alternativeproto_review() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/net_alternativeproto/submission.rs b/crates/jacquard-api/src/net_alternativeproto/submission.rs
index 95f50f1d..674d7252 100644
--- a/crates/jacquard-api/src/net_alternativeproto/submission.rs
+++ b/crates/jacquard-api/src/net_alternativeproto/submission.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -27,7 +27,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// A user submission of a project to AlternativeProto
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -239,27 +239,26 @@ impl LexiconSchema for Submission {
                     "image/x-icon",
                     "image/vnd.microsoft.icon",
                 ];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("icon"),
                         accepted: vec![
-                            "image/png".to_string(), "image/jpeg".to_string(),
-                            "image/webp".to_string(), "image/svg+xml".to_string(),
-                            "image/x-icon".to_string(), "image/vnd.microsoft.icon"
-                            .to_string()
+                            "image/png".to_string(),
+                            "image/jpeg".to_string(),
+                            "image/webp".to_string(),
+                            "image/svg+xml".to_string(),
+                            "image/x-icon".to_string(),
+                            "image/vnd.microsoft.icon".to_string(),
                         ],
                         actual: mime.to_string(),
                     });
@@ -283,7 +282,7 @@ impl LexiconSchema for Submission {
 
 pub mod submission_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -595,10 +594,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> Submission {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> Submission {
         Submission {
             alternative_to: self._fields.0,
             auth_type: self._fields.1.unwrap(),
@@ -616,10 +612,10 @@ where
 }
 
 fn lexicon_doc_net_alternativeproto_submission() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("net.alternativeproto.submission"),
@@ -628,32 +624,27 @@ fn lexicon_doc_net_alternativeproto_submission() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static(
-                            "A user submission of a project to AlternativeProto",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "A user submission of a project to AlternativeProto",
+                    )),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("name"),
-                                SmolStr::new_static("description"),
-                                SmolStr::new_static("url"), SmolStr::new_static("authType"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("name"),
+                            SmolStr::new_static("description"),
+                            SmolStr::new_static("url"),
+                            SmolStr::new_static("authType"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
                             map.insert(
                                 SmolStr::new_static("alternativeTo"),
                                 LexObjectProperty::Array(LexArray {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "Services this project is an alternative to",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Services this project is an alternative to",
+                                    )),
                                     items: LexArrayItem::String(LexString {
                                         max_length: Some(100usize),
                                         ..Default::default()
@@ -664,22 +655,18 @@ fn lexicon_doc_net_alternativeproto_submission() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("authType"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "Authentication method used by the project",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Authentication method used by the project",
+                                    )),
                                     ..Default::default()
                                 }),
                             );
                             map.insert(
                                 SmolStr::new_static("createdAt"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "Timestamp when the submission was created",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Timestamp when the submission was created",
+                                    )),
                                     format: Some(LexStringFormat::Datetime),
                                     ..Default::default()
                                 }),
@@ -687,16 +674,18 @@ fn lexicon_doc_net_alternativeproto_submission() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("description"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("Description of the project"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Description of the project",
+                                    )),
                                     max_length: Some(5000usize),
                                     ..Default::default()
                                 }),
                             );
                             map.insert(
                                 SmolStr::new_static("icon"),
-                                LexObjectProperty::Blob(LexBlob { ..Default::default() }),
+                                LexObjectProperty::Blob(LexBlob {
+                                    ..Default::default()
+                                }),
                             );
                             map.insert(
                                 SmolStr::new_static("isOpenSource"),
@@ -715,9 +704,9 @@ fn lexicon_doc_net_alternativeproto_submission() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("repositoryUrl"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("Source code repository URL"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Source code repository URL",
+                                    )),
                                     format: Some(LexStringFormat::Uri),
                                     ..Default::default()
                                 }),
@@ -725,9 +714,9 @@ fn lexicon_doc_net_alternativeproto_submission() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("tags"),
                                 LexObjectProperty::Array(LexArray {
-                                    description: Some(
-                                        CowStr::new_static("Tags for categorization"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Tags for categorization",
+                                    )),
                                     items: LexArrayItem::String(LexString {
                                         max_length: Some(50usize),
                                         ..Default::default()
@@ -754,4 +743,4 @@ fn lexicon_doc_net_alternativeproto_submission() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/net_alternativeproto/vote.rs b/crates/jacquard-api/src/net_alternativeproto/vote.rs
index c5b134a0..82df1021 100644
--- a/crates/jacquard-api/src/net_alternativeproto/vote.rs
+++ b/crates/jacquard-api/src/net_alternativeproto/vote.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::com_atproto::repo::strong_ref::StrongRef;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::com_atproto::repo::strong_ref::StrongRef;
+use serde::{Deserialize, Serialize};
 /// A user vote on a submission to AlternativeProto. Each user may cast one vote per submission.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -188,7 +188,7 @@ impl LexiconSchema for Vote {
 
 pub mod vote_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -247,7 +247,11 @@ pub mod vote_state {
 /// Builder for constructing an instance of this type.
 pub struct VoteBuilder {
     _state: PhantomData St>,
-    _fields: (Option, Option>, Option>),
+    _fields: (
+        Option,
+        Option>,
+        Option>,
+    ),
     _type: PhantomData S>,
 }
 
@@ -354,10 +358,10 @@ where
 }
 
 fn lexicon_doc_net_alternativeproto_vote() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("net.alternativeproto.vote"),
@@ -422,4 +426,4 @@ fn lexicon_doc_net_alternativeproto_vote() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/net_altq.rs b/crates/jacquard-api/src/net_altq.rs
index 7e2b8323..1d1ed71d 100644
--- a/crates/jacquard-api/src/net_altq.rs
+++ b/crates/jacquard-api/src/net_altq.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod aqfile;
\ No newline at end of file
+pub mod aqfile;
diff --git a/crates/jacquard-api/src/net_altq/aqfile.rs b/crates/jacquard-api/src/net_altq/aqfile.rs
index 692523c5..63f68f1a 100644
--- a/crates/jacquard-api/src/net_altq/aqfile.rs
+++ b/crates/jacquard-api/src/net_altq/aqfile.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,14 +26,17 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::net_altq::aqfile;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::net_altq::aqfile;
+use serde::{Deserialize, Serialize};
 /// Cryptographic checksum for integrity verification.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Checksum {
     ///Hash algorithm name.
     pub algo: ChecksumAlgo,
@@ -129,7 +132,10 @@ where
 /// File metadata describing the uploaded blob.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct File {
     ///MIME type, e.g. 'video/mp4'.
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -337,19 +343,16 @@ impl LexiconSchema for Aqfile {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["*/*"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("blob"),
@@ -364,10 +367,10 @@ impl LexiconSchema for Aqfile {
 }
 
 fn lexicon_doc_net_altq_aqfile() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("net.altq.aqfile"),
@@ -376,23 +379,20 @@ fn lexicon_doc_net_altq_aqfile() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("checksum"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static(
-                            "Cryptographic checksum for integrity verification.",
-                        ),
-                    ),
-                    required: Some(
-                        vec![SmolStr::new_static("algo"), SmolStr::new_static("hash")],
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Cryptographic checksum for integrity verification.",
+                    )),
+                    required: Some(vec![
+                        SmolStr::new_static("algo"),
+                        SmolStr::new_static("hash"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("algo"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Hash algorithm name."),
-                                ),
+                                description: Some(CowStr::new_static("Hash algorithm name.")),
                                 max_length: Some(32usize),
                                 ..Default::default()
                             }),
@@ -400,11 +400,9 @@ fn lexicon_doc_net_altq_aqfile() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("hash"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "Hex or base64 encoded digest produced by the algorithm.",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Hex or base64 encoded digest produced by the algorithm.",
+                                )),
                                 max_length: Some(128usize),
                                 ..Default::default()
                             }),
@@ -417,21 +415,22 @@ fn lexicon_doc_net_altq_aqfile() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("file"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("File metadata describing the uploaded blob."),
-                    ),
-                    required: Some(
-                        vec![SmolStr::new_static("name"), SmolStr::new_static("size")],
-                    ),
+                    description: Some(CowStr::new_static(
+                        "File metadata describing the uploaded blob.",
+                    )),
+                    required: Some(vec![
+                        SmolStr::new_static("name"),
+                        SmolStr::new_static("size"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("mimeType"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("MIME type, e.g. 'video/mp4'."),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "MIME type, e.g. 'video/mp4'.",
+                                )),
                                 max_length: Some(255usize),
                                 ..Default::default()
                             }),
@@ -439,9 +438,9 @@ fn lexicon_doc_net_altq_aqfile() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("modifiedAt"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Client-side last-modified timestamp."),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Client-side last-modified timestamp.",
+                                )),
                                 format: Some(LexStringFormat::Datetime),
                                 ..Default::default()
                             }),
@@ -449,9 +448,7 @@ fn lexicon_doc_net_altq_aqfile() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("name"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("User-visible filename."),
-                                ),
+                                description: Some(CowStr::new_static("User-visible filename.")),
                                 max_length: Some(512usize),
                                 ..Default::default()
                             }),
@@ -472,38 +469,34 @@ fn lexicon_doc_net_altq_aqfile() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static(
-                            "A record representing an uploaded file blob with metadata.",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "A record representing an uploaded file blob with metadata.",
+                    )),
                     key: Some(CowStr::new_static("any")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("blob"),
-                                SmolStr::new_static("createdAt"),
-                                SmolStr::new_static("file")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("blob"),
+                            SmolStr::new_static("createdAt"),
+                            SmolStr::new_static("file"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
                             map.insert(
                                 SmolStr::new_static("attribution"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "Handle or DID of the account to attribute this upload to.",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Handle or DID of the account to attribute this upload to.",
+                                    )),
                                     format: Some(LexStringFormat::AtIdentifier),
                                     ..Default::default()
                                 }),
                             );
                             map.insert(
                                 SmolStr::new_static("blob"),
-                                LexObjectProperty::Blob(LexBlob { ..Default::default() }),
+                                LexObjectProperty::Blob(LexBlob {
+                                    ..Default::default()
+                                }),
                             );
                             map.insert(
                                 SmolStr::new_static("checksum"),
@@ -515,11 +508,9 @@ fn lexicon_doc_net_altq_aqfile() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("createdAt"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "Timestamp when this record was created.",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Timestamp when this record was created.",
+                                    )),
                                     format: Some(LexStringFormat::Datetime),
                                     ..Default::default()
                                 }),
@@ -546,7 +537,7 @@ fn lexicon_doc_net_altq_aqfile() -> LexiconDoc<'static> {
 
 pub mod file_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -645,10 +636,7 @@ where
     St::Name: file_state::IsUnset,
 {
     /// Set the `name` field (required)
-    pub fn name(
-        mut self,
-        value: impl Into,
-    ) -> FileBuilder> {
+    pub fn name(mut self, value: impl Into) -> FileBuilder> {
         self._fields.2 = Option::Some(value.into());
         FileBuilder {
             _state: PhantomData,
@@ -664,10 +652,7 @@ where
     St::Size: file_state::IsUnset,
 {
     /// Set the `size` field (required)
-    pub fn size(
-        mut self,
-        value: impl Into,
-    ) -> FileBuilder> {
+    pub fn size(mut self, value: impl Into) -> FileBuilder> {
         self._fields.3 = Option::Some(value.into());
         FileBuilder {
             _state: PhantomData,
@@ -707,7 +692,7 @@ where
 
 pub mod aqfile_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -906,4 +891,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/net_anisota.rs b/crates/jacquard-api/src/net_anisota.rs
index 297517c5..12d44b82 100644
--- a/crates/jacquard-api/src/net_anisota.rs
+++ b/crates/jacquard-api/src/net_anisota.rs
@@ -7,4 +7,4 @@ pub mod beta;
 pub mod feed;
 pub mod graph;
 pub mod harvest;
-pub mod settings;
\ No newline at end of file
+pub mod settings;
diff --git a/crates/jacquard-api/src/net_anisota/beta.rs b/crates/jacquard-api/src/net_anisota/beta.rs
index 5d949e00..8867526c 100644
--- a/crates/jacquard-api/src/net_anisota/beta.rs
+++ b/crates/jacquard-api/src/net_anisota/beta.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod game;
\ No newline at end of file
+pub mod game;
diff --git a/crates/jacquard-api/src/net_anisota/beta/game.rs b/crates/jacquard-api/src/net_anisota/beta/game.rs
index d548149d..534787bf 100644
--- a/crates/jacquard-api/src/net_anisota/beta/game.rs
+++ b/crates/jacquard-api/src/net_anisota/beta/game.rs
@@ -8,4 +8,4 @@ pub mod inventory;
 pub mod log;
 pub mod pack;
 pub mod progress;
-pub mod session;
\ No newline at end of file
+pub mod session;
diff --git a/crates/jacquard-api/src/net_anisota/beta/game/collection.rs b/crates/jacquard-api/src/net_anisota/beta/game/collection.rs
index 2983aced..0814af38 100644
--- a/crates/jacquard-api/src/net_anisota/beta/game/collection.rs
+++ b/crates/jacquard-api/src/net_anisota/beta/game/collection.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::net_anisota::beta::game::collection;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::net_anisota::beta::game::collection;
+use serde::{Deserialize, Serialize};
 /// Beta version: Record representing a collected specimen in a player's collection
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -101,7 +101,10 @@ pub struct CollectionGetRecordOutput {
 /// Additional details about how the specimen was acquired
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct SourceDetails {
     ///Number of attempts before successful capture
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -122,7 +125,10 @@ pub struct SourceDetails {
 /// Complete specimen information
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct SpecimenData {
     ///Scientific authorship of the species
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -285,7 +291,7 @@ impl LexiconSchema for SpecimenData {
 
 pub mod collection_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -395,23 +401,8 @@ impl CollectionBuilder {
         CollectionBuilder {
             _state: PhantomData,
             _fields: (
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
+                None, None, None, None, None, None, None, None, None, None, None, None, None, None,
+                None, None, None,
             ),
             _type: PhantomData,
         }
@@ -602,10 +593,7 @@ impl CollectionBuilder {
         self
     }
     /// Set the `sourceDetails` field to an Option value (optional)
-    pub fn maybe_source_details(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_source_details(mut self, value: Option>) -> Self {
         self._fields.12 = value;
         self
     }
@@ -626,18 +614,12 @@ impl CollectionBuilder {
 
 impl CollectionBuilder {
     /// Set the `specimenData` field (optional)
-    pub fn specimen_data(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn specimen_data(mut self, value: impl Into>>) -> Self {
         self._fields.14 = value.into();
         self
     }
     /// Set the `specimenData` field to an Option value (optional)
-    pub fn maybe_specimen_data(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_specimen_data(mut self, value: Option>) -> Self {
         self._fields.14 = value;
         self
     }
@@ -707,10 +689,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> Collection {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> Collection {
         Collection {
             acquired_at: self._fields.0.unwrap(),
             common_name: self._fields.1,
@@ -735,10 +714,10 @@ where
 }
 
 fn lexicon_doc_net_anisota_beta_game_collection() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("net.anisota.beta.game.collection"),
@@ -983,27 +962,25 @@ fn lexicon_doc_net_anisota_beta_game_collection() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("specimenData"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("Complete specimen information"),
-                    ),
+                    description: Some(CowStr::new_static("Complete specimen information")),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("authorship"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Scientific authorship of the species"),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Scientific authorship of the species",
+                                )),
                                 ..Default::default()
                             }),
                         );
                         map.insert(
                             SmolStr::new_static("description"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Detailed description of the specimen"),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Detailed description of the specimen",
+                                )),
                                 ..Default::default()
                             }),
                         );
@@ -1016,4 +993,4 @@ fn lexicon_doc_net_anisota_beta_game_collection() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/net_anisota/beta/game/inventory.rs b/crates/jacquard-api/src/net_anisota/beta/game/inventory.rs
index 66429627..ebd31702 100644
--- a/crates/jacquard-api/src/net_anisota/beta/game/inventory.rs
+++ b/crates/jacquard-api/src/net_anisota/beta/game/inventory.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::net_anisota::beta::game::inventory;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::net_anisota::beta::game::inventory;
+use serde::{Deserialize, Serialize};
 /// Beta version: Record representing an item in a player's game inventory
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -96,7 +96,10 @@ pub struct InventoryGetRecordOutput {
 /// Additional details about how the item was acquired
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct SourceDetails {
     ///URI of the game card that provided this item
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -235,7 +238,7 @@ impl LexiconSchema for SourceDetails {
 
 pub mod inventory_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -343,20 +346,7 @@ impl InventoryBuilder {
         InventoryBuilder {
             _state: PhantomData,
             _fields: (
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
+                None, None, None, None, None, None, None, None, None, None, None, None, None, None,
                 None,
             ),
             _type: PhantomData,
@@ -559,18 +549,12 @@ impl InventoryBuilder {
 
 impl InventoryBuilder {
     /// Set the `sourceDetails` field (optional)
-    pub fn source_details(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn source_details(mut self, value: impl Into>>) -> Self {
         self._fields.13 = value.into();
         self
     }
     /// Set the `sourceDetails` field to an Option value (optional)
-    pub fn maybe_source_details(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_source_details(mut self, value: Option>) -> Self {
         self._fields.13 = value;
         self
     }
@@ -619,10 +603,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> Inventory {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> Inventory {
         Inventory {
             acquired_at: self._fields.0.unwrap(),
             created_at: self._fields.1.unwrap(),
@@ -645,10 +626,10 @@ where
 }
 
 fn lexicon_doc_net_anisota_beta_game_inventory() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("net.anisota.beta.game.inventory"),
@@ -818,33 +799,27 @@ fn lexicon_doc_net_anisota_beta_game_inventory() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("sourceDetails"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static(
-                            "Additional details about how the item was acquired",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Additional details about how the item was acquired",
+                    )),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("gameCardUri"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "URI of the game card that provided this item",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "URI of the game card that provided this item",
+                                )),
                                 ..Default::default()
                             }),
                         );
                         map.insert(
                             SmolStr::new_static("questId"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "ID of the quest that rewarded this item",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "ID of the quest that rewarded this item",
+                                )),
                                 ..Default::default()
                             }),
                         );
@@ -863,4 +838,4 @@ fn lexicon_doc_net_anisota_beta_game_inventory() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/net_anisota/beta/game/log.rs b/crates/jacquard-api/src/net_anisota/beta/game/log.rs
index 7984b4e7..35b0b140 100644
--- a/crates/jacquard-api/src/net_anisota/beta/game/log.rs
+++ b/crates/jacquard-api/src/net_anisota/beta/game/log.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,14 +24,17 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::net_anisota::beta::game::log;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::net_anisota::beta::game::log;
+use serde::{Deserialize, Serialize};
 /// Details about item/specimen collection
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct CollectionData {
     ///Catch probability for specimens (decimal string between 0.0 and 1.0)
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -61,7 +64,10 @@ pub struct CollectionData {
 /// Details about daily rewards claim
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct DailyRewardsData {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub reward_items: Option>>,
@@ -81,7 +87,10 @@ pub struct DailyRewardsData {
 /// Context about the feed when event occurred
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct FeedContext {
     ///URI of the feed being viewed
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -102,7 +111,10 @@ pub struct FeedContext {
 /// Details about game cards generated or interacted with
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GameCardData {
     ///Type of game card
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -132,7 +144,10 @@ pub struct GameCardData {
 /// Details about item usage
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ItemUsageData {
     ///Effect that was applied
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -214,7 +229,10 @@ pub struct LogGetRecordOutput {
 /// Additional event-specific metadata
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Metadata {
     ///Version of the client application
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -235,7 +253,10 @@ pub struct Metadata {
 /// Item received as a reward
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct RewardItem {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub item_id: Option,
@@ -538,10 +559,10 @@ impl LexiconSchema for RewardItem {
 }
 
 fn lexicon_doc_net_anisota_beta_game_log() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("net.anisota.beta.game.log"),
@@ -622,9 +643,7 @@ fn lexicon_doc_net_anisota_beta_game_log() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("dailyRewardsData"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("Details about daily rewards claim"),
-                    ),
+                    description: Some(CowStr::new_static("Details about daily rewards claim")),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -667,18 +686,18 @@ fn lexicon_doc_net_anisota_beta_game_log() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("feedContext"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("Context about the feed when event occurred"),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Context about the feed when event occurred",
+                    )),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("feedUri"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("URI of the feed being viewed"),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "URI of the feed being viewed",
+                                )),
                                 ..Default::default()
                             }),
                         );
@@ -711,11 +730,9 @@ fn lexicon_doc_net_anisota_beta_game_log() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("gameCardData"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static(
-                            "Details about game cards generated or interacted with",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Details about game cards generated or interacted with",
+                    )),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -729,20 +746,18 @@ fn lexicon_doc_net_anisota_beta_game_log() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("cardUri"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Unique identifier for the game card"),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Unique identifier for the game card",
+                                )),
                                 ..Default::default()
                             }),
                         );
                         map.insert(
                             SmolStr::new_static("generationSeed"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "Random seed used for generation (for verification)",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Random seed used for generation (for verification)",
+                                )),
                                 ..Default::default()
                             }),
                         );
@@ -756,9 +771,7 @@ fn lexicon_doc_net_anisota_beta_game_log() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("itemId"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("ID of the item/specimen"),
-                                ),
+                                description: Some(CowStr::new_static("ID of the item/specimen")),
                                 ..Default::default()
                             }),
                         );
@@ -772,9 +785,9 @@ fn lexicon_doc_net_anisota_beta_game_log() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("rarity"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Rarity of the item/specimen"),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Rarity of the item/specimen",
+                                )),
                                 ..Default::default()
                             }),
                         );
@@ -793,27 +806,23 @@ fn lexicon_doc_net_anisota_beta_game_log() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("effectApplied"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Effect that was applied"),
-                                ),
+                                description: Some(CowStr::new_static("Effect that was applied")),
                                 ..Default::default()
                             }),
                         );
                         map.insert(
                             SmolStr::new_static("inventoryRecordUri"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("URI of the modified inventory record"),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "URI of the modified inventory record",
+                                )),
                                 ..Default::default()
                             }),
                         );
                         map.insert(
                             SmolStr::new_static("itemId"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("ID of the item used"),
-                                ),
+                                description: Some(CowStr::new_static("ID of the item used")),
                                 ..Default::default()
                             }),
                         );
@@ -993,18 +1002,16 @@ fn lexicon_doc_net_anisota_beta_game_log() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("metadata"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("Additional event-specific metadata"),
-                    ),
+                    description: Some(CowStr::new_static("Additional event-specific metadata")),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("clientVersion"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Version of the client application"),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Version of the client application",
+                                )),
                                 ..Default::default()
                             }),
                         );
@@ -1024,9 +1031,9 @@ fn lexicon_doc_net_anisota_beta_game_log() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("platform"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Platform (web, mobile, etc.)"),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Platform (web, mobile, etc.)",
+                                )),
                                 ..Default::default()
                             }),
                         );
@@ -1044,7 +1051,9 @@ fn lexicon_doc_net_anisota_beta_game_log() -> LexiconDoc<'static> {
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("itemId"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("quantity"),
@@ -1055,7 +1064,9 @@ fn lexicon_doc_net_anisota_beta_game_log() -> LexiconDoc<'static> {
                         );
                         map.insert(
                             SmolStr::new_static("rarity"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map
                     },
@@ -1070,7 +1081,7 @@ fn lexicon_doc_net_anisota_beta_game_log() -> LexiconDoc<'static> {
 
 pub mod log_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1161,20 +1172,7 @@ impl LogBuilder {
         LogBuilder {
             _state: PhantomData,
             _fields: (
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
+                None, None, None, None, None, None, None, None, None, None, None, None, None, None,
             ),
             _type: PhantomData,
         }
@@ -1183,18 +1181,12 @@ impl LogBuilder {
 
 impl LogBuilder {
     /// Set the `collectionData` field (optional)
-    pub fn collection_data(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn collection_data(mut self, value: impl Into>>) -> Self {
         self._fields.0 = value.into();
         self
     }
     /// Set the `collectionData` field to an Option value (optional)
-    pub fn maybe_collection_data(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_collection_data(mut self, value: Option>) -> Self {
         self._fields.0 = value;
         self
     }
@@ -1223,10 +1215,7 @@ impl LogBuilder {
         self
     }
     /// Set the `dailyRewardsData` field to an Option value (optional)
-    pub fn maybe_daily_rewards_data(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_daily_rewards_data(mut self, value: Option>) -> Self {
         self._fields.2 = value;
         self
     }
@@ -1238,10 +1227,7 @@ where
     St::EventType: log_state::IsUnset,
 {
     /// Set the `eventType` field (required)
-    pub fn event_type(
-        mut self,
-        value: impl Into,
-    ) -> LogBuilder> {
+    pub fn event_type(mut self, value: impl Into) -> LogBuilder> {
         self._fields.3 = Option::Some(value.into());
         LogBuilder {
             _state: PhantomData,
@@ -1253,10 +1239,7 @@ where
 
 impl LogBuilder {
     /// Set the `feedContext` field (optional)
-    pub fn feed_context(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn feed_context(mut self, value: impl Into>>) -> Self {
         self._fields.4 = value.into();
         self
     }
@@ -1269,10 +1252,7 @@ impl LogBuilder {
 
 impl LogBuilder {
     /// Set the `gameCardData` field (optional)
-    pub fn game_card_data(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn game_card_data(mut self, value: impl Into>>) -> Self {
         self._fields.5 = value.into();
         self
     }
@@ -1298,18 +1278,12 @@ impl LogBuilder {
 
 impl LogBuilder {
     /// Set the `itemUsageData` field (optional)
-    pub fn item_usage_data(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn item_usage_data(mut self, value: impl Into>>) -> Self {
         self._fields.7 = value.into();
         self
     }
     /// Set the `itemUsageData` field to an Option value (optional)
-    pub fn maybe_item_usage_data(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_item_usage_data(mut self, value: Option>) -> Self {
         self._fields.7 = value;
         self
     }
@@ -1360,10 +1334,7 @@ where
     St::SessionId: log_state::IsUnset,
 {
     /// Set the `sessionId` field (required)
-    pub fn session_id(
-        mut self,
-        value: impl Into,
-    ) -> LogBuilder> {
+    pub fn session_id(mut self, value: impl Into) -> LogBuilder> {
         self._fields.11 = Option::Some(value.into());
         LogBuilder {
             _state: PhantomData,
@@ -1452,4 +1423,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/net_anisota/beta/game/pack.rs b/crates/jacquard-api/src/net_anisota/beta/game/pack.rs
index b0cb7183..21fc0897 100644
--- a/crates/jacquard-api/src/net_anisota/beta/game/pack.rs
+++ b/crates/jacquard-api/src/net_anisota/beta/game/pack.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::net_anisota::beta::game::pack;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::net_anisota::beta::game::pack;
+use serde::{Deserialize, Serialize};
 /// Beta version: Record tracking daily pack openings and streak information
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -73,7 +73,10 @@ pub struct PackGetRecordOutput {
 /// A single pack opening entry in the history
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct PackHistoryEntry {
     ///Items received from this pack
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -91,7 +94,10 @@ pub struct PackHistoryEntry {
 /// An item received from a pack opening
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ReceivedItem {
     ///ID of the item received
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -225,7 +231,7 @@ impl LexiconSchema for ReceivedItem {
 
 pub mod pack_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -404,10 +410,7 @@ impl PackBuilder {
         self
     }
     /// Set the `packHistory` field to an Option value (optional)
-    pub fn maybe_pack_history(
-        mut self,
-        value: Option>>,
-    ) -> Self {
+    pub fn maybe_pack_history(mut self, value: Option>>) -> Self {
         self._fields.4 = value;
         self
     }
@@ -419,10 +422,7 @@ where
     St::Streak: pack_state::IsUnset,
 {
     /// Set the `streak` field (required)
-    pub fn streak(
-        mut self,
-        value: impl Into,
-    ) -> PackBuilder> {
+    pub fn streak(mut self, value: impl Into) -> PackBuilder> {
         self._fields.5 = Option::Some(value.into());
         PackBuilder {
             _state: PhantomData,
@@ -488,10 +488,10 @@ where
 }
 
 fn lexicon_doc_net_anisota_beta_game_pack() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("net.anisota.beta.game.pack"),
@@ -500,30 +500,26 @@ fn lexicon_doc_net_anisota_beta_game_pack() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static(
-                            "Beta version: Record tracking daily pack openings and streak information",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Beta version: Record tracking daily pack openings and streak information",
+                    )),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("lastOpenTime"),
-                                SmolStr::new_static("totalOpens"),
-                                SmolStr::new_static("streak"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("lastOpenTime"),
+                            SmolStr::new_static("totalOpens"),
+                            SmolStr::new_static("streak"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
                             map.insert(
                                 SmolStr::new_static("createdAt"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("When the record was created"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "When the record was created",
+                                    )),
                                     format: Some(LexStringFormat::Datetime),
                                     ..Default::default()
                                 }),
@@ -531,9 +527,9 @@ fn lexicon_doc_net_anisota_beta_game_pack() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("lastModified"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("When the record was last modified"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "When the record was last modified",
+                                    )),
                                     format: Some(LexStringFormat::Datetime),
                                     ..Default::default()
                                 }),
@@ -541,9 +537,9 @@ fn lexicon_doc_net_anisota_beta_game_pack() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("lastOpenTime"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("When daily pack was last opened"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "When daily pack was last opened",
+                                    )),
                                     format: Some(LexStringFormat::Datetime),
                                     ..Default::default()
                                 }),
@@ -558,9 +554,9 @@ fn lexicon_doc_net_anisota_beta_game_pack() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("packHistory"),
                                 LexObjectProperty::Array(LexArray {
-                                    description: Some(
-                                        CowStr::new_static("History of the last few pack openings"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "History of the last few pack openings",
+                                    )),
                                     items: LexArrayItem::Ref(LexRef {
                                         r#ref: CowStr::new_static("#packHistoryEntry"),
                                         ..Default::default()
@@ -593,18 +589,18 @@ fn lexicon_doc_net_anisota_beta_game_pack() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("packHistoryEntry"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("A single pack opening entry in the history"),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "A single pack opening entry in the history",
+                    )),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("itemsReceived"),
                             LexObjectProperty::Array(LexArray {
-                                description: Some(
-                                    CowStr::new_static("Items received from this pack"),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Items received from this pack",
+                                )),
                                 items: LexArrayItem::Ref(LexRef {
                                     r#ref: CowStr::new_static("#receivedItem"),
                                     ..Default::default()
@@ -615,9 +611,7 @@ fn lexicon_doc_net_anisota_beta_game_pack() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("openTime"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("When this pack was opened"),
-                                ),
+                                description: Some(CowStr::new_static("When this pack was opened")),
                                 format: Some(LexStringFormat::Datetime),
                                 ..Default::default()
                             }),
@@ -636,18 +630,14 @@ fn lexicon_doc_net_anisota_beta_game_pack() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("receivedItem"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("An item received from a pack opening"),
-                    ),
+                    description: Some(CowStr::new_static("An item received from a pack opening")),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("itemId"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("ID of the item received"),
-                                ),
+                                description: Some(CowStr::new_static("ID of the item received")),
                                 ..Default::default()
                             }),
                         );
@@ -673,4 +663,4 @@ fn lexicon_doc_net_anisota_beta_game_pack() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/net_anisota/beta/game/progress.rs b/crates/jacquard-api/src/net_anisota/beta/game/progress.rs
index e8883e48..7c5c9297 100644
--- a/crates/jacquard-api/src/net_anisota/beta/game/progress.rs
+++ b/crates/jacquard-api/src/net_anisota/beta/game/progress.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::net_anisota::beta::game::progress;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::net_anisota::beta::game::progress;
+use serde::{Deserialize, Serialize};
 /// Record representing a player's level progression and game statistics
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -94,7 +94,10 @@ pub struct ProgressGetRecordOutput {
 /// Additional metadata about this progress update
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Metadata {
     ///Version of the client when this progress was recorded
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -109,7 +112,10 @@ pub struct Metadata {
 /// Game-specific statistics and metrics
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Stats {
     ///Total daily rewards claimed
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -330,7 +336,7 @@ impl LexiconSchema for Stats {
 
 pub mod progress_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -456,20 +462,7 @@ impl ProgressBuilder {
         ProgressBuilder {
             _state: PhantomData,
             _fields: (
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
+                None, None, None, None, None, None, None, None, None, None, None, None, None, None,
                 None,
             ),
             _type: PhantomData,
@@ -756,10 +749,10 @@ where
 }
 
 fn lexicon_doc_net_anisota_beta_game_progress() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("net.anisota.beta.game.progress"),
@@ -936,33 +929,27 @@ fn lexicon_doc_net_anisota_beta_game_progress() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("metadata"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static(
-                            "Additional metadata about this progress update",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Additional metadata about this progress update",
+                    )),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("clientVersion"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "Version of the client when this progress was recorded",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Version of the client when this progress was recorded",
+                                )),
                                 ..Default::default()
                             }),
                         );
                         map.insert(
                             SmolStr::new_static("platform"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "Platform where the level up occurred (web, mobile, etc.)",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Platform where the level up occurred (web, mobile, etc.)",
+                                )),
                                 ..Default::default()
                             }),
                         );
@@ -1050,4 +1037,4 @@ fn lexicon_doc_net_anisota_beta_game_progress() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/net_anisota/beta/game/session.rs b/crates/jacquard-api/src/net_anisota/beta/game/session.rs
index 5fddd2c0..0f2cecb2 100644
--- a/crates/jacquard-api/src/net_anisota/beta/game/session.rs
+++ b/crates/jacquard-api/src/net_anisota/beta/game/session.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,14 +24,17 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::net_anisota::beta::game::session;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::net_anisota::beta::game::session;
+use serde::{Deserialize, Serialize};
 /// Summary of activity during this session
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ActivitySummary {
     ///Player's current level at the time of this session update
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -57,7 +60,10 @@ pub struct ActivitySummary {
 /// Game-specific actions performed
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GameActions {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub daily_rewards_claimed: Option,
@@ -147,7 +153,10 @@ pub struct SessionGetRecordOutput {
 /// Additional session metadata
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Metadata {
     ///List of features used during the session
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -164,7 +173,10 @@ pub struct Metadata {
 /// Performance-related data
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct PerformanceMetrics {
     ///Average API response time in milliseconds (rounded to nearest integer)
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -179,7 +191,10 @@ pub struct PerformanceMetrics {
 /// Context about how the session started
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct SessionContext {
     ///How the user was authenticated
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -438,10 +453,10 @@ impl LexiconSchema for SessionContext {
 }
 
 fn lexicon_doc_net_anisota_beta_game_session() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("net.anisota.beta.game.session"),
@@ -450,9 +465,9 @@ fn lexicon_doc_net_anisota_beta_game_session() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("activitySummary"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("Summary of activity during this session"),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Summary of activity during this session",
+                    )),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -480,9 +495,9 @@ fn lexicon_doc_net_anisota_beta_game_session() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("pagesVisited"),
                             LexObjectProperty::Array(LexArray {
-                                description: Some(
-                                    CowStr::new_static("List of unique pages/routes visited"),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "List of unique pages/routes visited",
+                                )),
                                 items: LexArrayItem::String(LexString {
                                     ..Default::default()
                                 }),
@@ -511,9 +526,7 @@ fn lexicon_doc_net_anisota_beta_game_session() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("gameActions"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("Game-specific actions performed"),
-                    ),
+                    description: Some(CowStr::new_static("Game-specific actions performed")),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -773,11 +786,9 @@ fn lexicon_doc_net_anisota_beta_game_session() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("features"),
                             LexObjectProperty::Array(LexArray {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "List of features used during the session",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "List of features used during the session",
+                                )),
                                 items: LexArrayItem::String(LexString {
                                     ..Default::default()
                                 }),
@@ -787,9 +798,9 @@ fn lexicon_doc_net_anisota_beta_game_session() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("networkCondition"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Network condition during session"),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Network condition during session",
+                                )),
                                 ..Default::default()
                             }),
                         );
@@ -834,27 +845,25 @@ fn lexicon_doc_net_anisota_beta_game_session() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("sessionContext"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("Context about how the session started"),
-                    ),
+                    description: Some(CowStr::new_static("Context about how the session started")),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("authenticationMethod"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("How the user was authenticated"),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "How the user was authenticated",
+                                )),
                                 ..Default::default()
                             }),
                         );
                         map.insert(
                             SmolStr::new_static("entryPoint"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("How the user entered the app"),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "How the user entered the app",
+                                )),
                                 ..Default::default()
                             }),
                         );
@@ -867,9 +876,7 @@ fn lexicon_doc_net_anisota_beta_game_session() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("referrer"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Referrer URL if applicable"),
-                                ),
+                                description: Some(CowStr::new_static("Referrer URL if applicable")),
                                 ..Default::default()
                             }),
                         );
@@ -886,7 +893,7 @@ fn lexicon_doc_net_anisota_beta_game_session() -> LexiconDoc<'static> {
 
 pub mod session_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -996,23 +1003,8 @@ impl SessionBuilder {
         SessionBuilder {
             _state: PhantomData,
             _fields: (
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
+                None, None, None, None, None, None, None, None, None, None, None, None, None, None,
+                None, None, None,
             ),
             _type: PhantomData,
         }
@@ -1029,10 +1021,7 @@ impl SessionBuilder {
         self
     }
     /// Set the `activitySummary` field to an Option value (optional)
-    pub fn maybe_activity_summary(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_activity_summary(mut self, value: Option>) -> Self {
         self._fields.0 = value;
         self
     }
@@ -1208,18 +1197,12 @@ impl SessionBuilder {
 
 impl SessionBuilder {
     /// Set the `sessionContext` field (optional)
-    pub fn session_context(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn session_context(mut self, value: impl Into>>) -> Self {
         self._fields.13 = value.into();
         self
     }
     /// Set the `sessionContext` field to an Option value (optional)
-    pub fn maybe_session_context(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_session_context(mut self, value: Option>) -> Self {
         self._fields.13 = value;
         self
     }
@@ -1330,4 +1313,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/net_anisota/feed.rs b/crates/jacquard-api/src/net_anisota/feed.rs
index 18da64c8..a6b6c209 100644
--- a/crates/jacquard-api/src/net_anisota/feed.rs
+++ b/crates/jacquard-api/src/net_anisota/feed.rs
@@ -8,4 +8,4 @@ pub mod like;
 pub mod list;
 pub mod list_item;
 pub mod post;
-pub mod repost;
\ No newline at end of file
+pub mod repost;
diff --git a/crates/jacquard-api/src/net_anisota/feed/draft.rs b/crates/jacquard-api/src/net_anisota/feed/draft.rs
index 50fe4f2b..a13937af 100644
--- a/crates/jacquard-api/src/net_anisota/feed/draft.rs
+++ b/crates/jacquard-api/src/net_anisota/feed/draft.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,9 +24,6 @@ use jacquard_derive::{IntoStatic, lexicon, open_union};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::app_bsky::embed::external::ExternalRecord;
 use crate::app_bsky::embed::images::Images;
 use crate::app_bsky::embed::record::Record;
@@ -36,6 +33,9 @@ use crate::app_bsky::richtext::facet::Facet;
 use crate::com_atproto::label::SelfLabels;
 use crate::com_atproto::repo::strong_ref::StrongRef;
 use crate::net_anisota::feed::draft;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// Record containing a draft post that can be edited and later published as app.bsky.feed.post
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -73,7 +73,6 @@ pub struct Draft {
     pub extra_data: Option>>,
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -101,9 +100,11 @@ pub struct DraftGetRecordOutput {
     pub value: Draft,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ReplyRef {
     pub parent: StrongRef,
     pub root: StrongRef,
@@ -220,7 +221,7 @@ impl LexiconSchema for ReplyRef {
 
 pub mod draft_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -400,10 +401,7 @@ where
     St::Text: draft_state::IsUnset,
 {
     /// Set the `text` field (required)
-    pub fn text(
-        mut self,
-        value: impl Into,
-    ) -> DraftBuilder> {
+    pub fn text(mut self, value: impl Into) -> DraftBuilder> {
         self._fields.7 = Option::Some(value.into());
         DraftBuilder {
             _state: PhantomData,
@@ -465,10 +463,10 @@ where
 }
 
 fn lexicon_doc_net_anisota_feed_draft() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("net.anisota.feed.draft"),
@@ -622,9 +620,10 @@ fn lexicon_doc_net_anisota_feed_draft() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("replyRef"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![SmolStr::new_static("root"), SmolStr::new_static("parent")],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("root"),
+                        SmolStr::new_static("parent"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -655,7 +654,7 @@ fn lexicon_doc_net_anisota_feed_draft() -> LexiconDoc<'static> {
 
 pub mod reply_ref_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -782,4 +781,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/net_anisota/feed/like.rs b/crates/jacquard-api/src/net_anisota/feed/like.rs
index 19d320d8..6dfe2ce3 100644
--- a/crates/jacquard-api/src/net_anisota/feed/like.rs
+++ b/crates/jacquard-api/src/net_anisota/feed/like.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::com_atproto::repo::strong_ref::StrongRef;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::com_atproto::repo::strong_ref::StrongRef;
+use serde::{Deserialize, Serialize};
 /// Record declaring a 'like' of a piece of content published in the Anisota feed. The target of the like is the 'subject' of the record.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -107,7 +107,7 @@ impl LexiconSchema for Like {
 
 pub mod like_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -237,10 +237,10 @@ where
 }
 
 fn lexicon_doc_net_anisota_feed_like() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("net.anisota.feed.like"),
@@ -295,4 +295,4 @@ fn lexicon_doc_net_anisota_feed_like() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/net_anisota/feed/list.rs b/crates/jacquard-api/src/net_anisota/feed/list.rs
index cfaf20e9..177f7355 100644
--- a/crates/jacquard-api/src/net_anisota/feed/list.rs
+++ b/crates/jacquard-api/src/net_anisota/feed/list.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -27,7 +27,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// A list of posts for curation, bookmarking, or organization
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -126,25 +126,20 @@ impl LexiconSchema for List {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["image/png", "image/jpeg"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("avatar"),
-                        accepted: vec![
-                            "image/png".to_string(), "image/jpeg".to_string()
-                        ],
+                        accepted: vec!["image/png".to_string(), "image/jpeg".to_string()],
                         actual: mime.to_string(),
                     });
                 }
@@ -187,7 +182,7 @@ impl LexiconSchema for List {
 
 pub mod list_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -311,10 +306,7 @@ where
     St::Name: list_state::IsUnset,
 {
     /// Set the `name` field (required)
-    pub fn name(
-        mut self,
-        value: impl Into,
-    ) -> ListBuilder> {
+    pub fn name(mut self, value: impl Into) -> ListBuilder> {
         self._fields.3 = Option::Some(value.into());
         ListBuilder {
             _state: PhantomData,
@@ -368,10 +360,10 @@ where
 }
 
 fn lexicon_doc_net_anisota_feed_list() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("net.anisota.feed.list"),
@@ -380,32 +372,30 @@ fn lexicon_doc_net_anisota_feed_list() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static(
-                            "A list of posts for curation, bookmarking, or organization",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "A list of posts for curation, bookmarking, or organization",
+                    )),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("name"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("name"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
                             map.insert(
                                 SmolStr::new_static("avatar"),
-                                LexObjectProperty::Blob(LexBlob { ..Default::default() }),
+                                LexObjectProperty::Blob(LexBlob {
+                                    ..Default::default()
+                                }),
                             );
                             map.insert(
                                 SmolStr::new_static("createdAt"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("When the list was created"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "When the list was created",
+                                    )),
                                     format: Some(LexStringFormat::Datetime),
                                     ..Default::default()
                                 }),
@@ -413,9 +403,9 @@ fn lexicon_doc_net_anisota_feed_list() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("description"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("Optional description of the list"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Optional description of the list",
+                                    )),
                                     max_length: Some(300usize),
                                     ..Default::default()
                                 }),
@@ -423,9 +413,9 @@ fn lexicon_doc_net_anisota_feed_list() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("name"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("Display name for the list"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Display name for the list",
+                                    )),
                                     max_length: Some(64usize),
                                     ..Default::default()
                                 }),
@@ -433,9 +423,9 @@ fn lexicon_doc_net_anisota_feed_list() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("tags"),
                                 LexObjectProperty::Array(LexArray {
-                                    description: Some(
-                                        CowStr::new_static("Tags for categorizing the list"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Tags for categorizing the list",
+                                    )),
                                     items: LexArrayItem::String(LexString {
                                         max_length: Some(32usize),
                                         ..Default::default()
@@ -455,4 +445,4 @@ fn lexicon_doc_net_anisota_feed_list() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/net_anisota/feed/list_item.rs b/crates/jacquard-api/src/net_anisota/feed/list_item.rs
index 47d22fd9..ad790846 100644
--- a/crates/jacquard-api/src/net_anisota/feed/list_item.rs
+++ b/crates/jacquard-api/src/net_anisota/feed/list_item.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// Record representing a post's inclusion on a specific list. The AppView will ignore duplicate listitem records.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -108,7 +108,7 @@ impl LexiconSchema for ListItem {
 
 pub mod list_item_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -274,10 +274,10 @@ where
 }
 
 fn lexicon_doc_net_anisota_feed_listItem() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("net.anisota.feed.listItem"),
@@ -349,4 +349,4 @@ fn lexicon_doc_net_anisota_feed_listItem() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/net_anisota/feed/post.rs b/crates/jacquard-api/src/net_anisota/feed/post.rs
index 5f3470ec..ba54153c 100644
--- a/crates/jacquard-api/src/net_anisota/feed/post.rs
+++ b/crates/jacquard-api/src/net_anisota/feed/post.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,9 +24,6 @@ use jacquard_derive::{IntoStatic, lexicon, open_union};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::app_bsky::embed::external::ExternalRecord;
 use crate::app_bsky::embed::images::Images;
 use crate::app_bsky::embed::record::Record;
@@ -36,6 +33,9 @@ use crate::app_bsky::richtext::facet::Facet;
 use crate::com_atproto::label::SelfLabels;
 use crate::com_atproto::repo::strong_ref::StrongRef;
 use crate::net_anisota::feed::post;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// A post that can be created on the Anisota network
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -70,7 +70,6 @@ pub struct Post {
     pub extra_data: Option>>,
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -98,9 +97,11 @@ pub struct PostGetRecordOutput {
     pub value: Post,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ReplyRef {
     pub parent: StrongRef,
     pub root: StrongRef,
@@ -217,7 +218,7 @@ impl LexiconSchema for ReplyRef {
 
 pub mod post_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -396,10 +397,7 @@ where
     St::Text: post_state::IsUnset,
 {
     /// Set the `text` field (required)
-    pub fn text(
-        mut self,
-        value: impl Into,
-    ) -> PostBuilder> {
+    pub fn text(mut self, value: impl Into) -> PostBuilder> {
         self._fields.7 = Option::Some(value.into());
         PostBuilder {
             _state: PhantomData,
@@ -446,10 +444,10 @@ where
 }
 
 fn lexicon_doc_net_anisota_feed_post() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("net.anisota.feed.post"),
@@ -591,9 +589,10 @@ fn lexicon_doc_net_anisota_feed_post() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("replyRef"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![SmolStr::new_static("root"), SmolStr::new_static("parent")],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("root"),
+                        SmolStr::new_static("parent"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -624,7 +623,7 @@ fn lexicon_doc_net_anisota_feed_post() -> LexiconDoc<'static> {
 
 pub mod reply_ref_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -751,4 +750,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/net_anisota/feed/repost.rs b/crates/jacquard-api/src/net_anisota/feed/repost.rs
index b0f1c5a7..16346cf6 100644
--- a/crates/jacquard-api/src/net_anisota/feed/repost.rs
+++ b/crates/jacquard-api/src/net_anisota/feed/repost.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::com_atproto::repo::strong_ref::StrongRef;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::com_atproto::repo::strong_ref::StrongRef;
+use serde::{Deserialize, Serialize};
 /// Record representing a 'repost' of an existing piece of content published in the Anisota feed. The target of the repost is the 'subject' of the record.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -107,7 +107,7 @@ impl LexiconSchema for Repost {
 
 pub mod repost_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -237,10 +237,10 @@ where
 }
 
 fn lexicon_doc_net_anisota_feed_repost() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("net.anisota.feed.repost"),
@@ -295,4 +295,4 @@ fn lexicon_doc_net_anisota_feed_repost() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/net_anisota/graph.rs b/crates/jacquard-api/src/net_anisota/graph.rs
index 9ff3b741..8479d7f6 100644
--- a/crates/jacquard-api/src/net_anisota/graph.rs
+++ b/crates/jacquard-api/src/net_anisota/graph.rs
@@ -4,4 +4,4 @@
 // Any manual changes will be overwritten on the next regeneration.
 
 pub mod list_mute;
-pub mod mute;
\ No newline at end of file
+pub mod mute;
diff --git a/crates/jacquard-api/src/net_anisota/graph/list_mute.rs b/crates/jacquard-api/src/net_anisota/graph/list_mute.rs
index 6acbd0d5..5e1cc99c 100644
--- a/crates/jacquard-api/src/net_anisota/graph/list_mute.rs
+++ b/crates/jacquard-api/src/net_anisota/graph/list_mute.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,14 +24,17 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::net_anisota::graph::list_mute;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::net_anisota::graph::list_mute;
+use serde::{Deserialize, Serialize};
 /// Configuration for which types of content to mute
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ContentTypes {
     ///Mute regular posts from accounts on this list  Defaults to `true`.
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -206,10 +209,10 @@ impl Default for ContentTypes {
 }
 
 fn lexicon_doc_net_anisota_graph_listMute() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("net.anisota.graph.listMute"),
@@ -218,11 +221,9 @@ fn lexicon_doc_net_anisota_graph_listMute() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("contentTypes"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static(
-                            "Configuration for which types of content to mute",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Configuration for which types of content to mute",
+                    )),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -356,7 +357,7 @@ fn lexicon_doc_net_anisota_graph_listMute() -> LexiconDoc<'static> {
 
 pub mod list_mute_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -432,18 +433,12 @@ impl ListMuteBuilder {
 
 impl ListMuteBuilder {
     /// Set the `contentTypes` field (optional)
-    pub fn content_types(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn content_types(mut self, value: impl Into>>) -> Self {
         self._fields.0 = value.into();
         self
     }
     /// Set the `contentTypes` field to an Option value (optional)
-    pub fn maybe_content_types(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_content_types(mut self, value: Option>) -> Self {
         self._fields.0 = value;
         self
     }
@@ -556,4 +551,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/net_anisota/graph/mute.rs b/crates/jacquard-api/src/net_anisota/graph/mute.rs
index c962886d..ad6a7c67 100644
--- a/crates/jacquard-api/src/net_anisota/graph/mute.rs
+++ b/crates/jacquard-api/src/net_anisota/graph/mute.rs
@@ -10,13 +10,13 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::collection::{Collection, RecordError};
-use jacquard_common::types::string::{Did, AtUri, Cid, Datetime};
+use jacquard_common::types::string::{AtUri, Cid, Datetime, Did};
 use jacquard_common::types::uri::{RecordUri, UriError};
 use jacquard_common::types::value::Data;
 use jacquard_common::xrpc::XrpcResp;
@@ -24,14 +24,17 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::net_anisota::graph::mute;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::net_anisota::graph::mute;
+use serde::{Deserialize, Serialize};
 /// Configuration for which types of content to mute
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ContentTypes {
     ///Mute regular posts from this account  Defaults to `true`.
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -206,10 +209,10 @@ impl Default for ContentTypes {
 }
 
 fn lexicon_doc_net_anisota_graph_mute() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("net.anisota.graph.mute"),
@@ -218,11 +221,9 @@ fn lexicon_doc_net_anisota_graph_mute() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("contentTypes"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static(
-                            "Configuration for which types of content to mute",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Configuration for which types of content to mute",
+                    )),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -356,7 +357,7 @@ fn lexicon_doc_net_anisota_graph_mute() -> LexiconDoc<'static> {
 
 pub mod mute_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -432,10 +433,7 @@ impl MuteBuilder {
 
 impl MuteBuilder {
     /// Set the `contentTypes` field (optional)
-    pub fn content_types(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn content_types(mut self, value: impl Into>>) -> Self {
         self._fields.0 = value.into();
         self
     }
@@ -553,4 +551,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/net_anisota/harvest.rs b/crates/jacquard-api/src/net_anisota/harvest.rs
index 83d7fe51..a93d2c37 100644
--- a/crates/jacquard-api/src/net_anisota/harvest.rs
+++ b/crates/jacquard-api/src/net_anisota/harvest.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod minigame;
\ No newline at end of file
+pub mod minigame;
diff --git a/crates/jacquard-api/src/net_anisota/harvest/minigame.rs b/crates/jacquard-api/src/net_anisota/harvest/minigame.rs
index 3dc4243d..6cc2d8b6 100644
--- a/crates/jacquard-api/src/net_anisota/harvest/minigame.rs
+++ b/crates/jacquard-api/src/net_anisota/harvest/minigame.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::net_anisota::harvest::minigame;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::net_anisota::harvest::minigame;
+use serde::{Deserialize, Serialize};
 /// A record of a harvest minigame round played by a user
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -101,7 +101,10 @@ pub struct MinigameGetRecordOutput {
 /// Count of each rarity level collected
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct RarityBreakdown {
     ///Number of common (triangle) shapes collected
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -352,7 +355,7 @@ impl LexiconSchema for RarityBreakdown {
 
 pub mod minigame_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -480,23 +483,8 @@ impl MinigameBuilder {
         MinigameBuilder {
             _state: PhantomData,
             _fields: (
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
+                None, None, None, None, None, None, None, None, None, None, None, None, None, None,
+                None, None, None,
             ),
             _type: PhantomData,
         }
@@ -687,10 +675,7 @@ impl MinigameBuilder {
         self
     }
     /// Set the `rarityBreakdown` field to an Option value (optional)
-    pub fn maybe_rarity_breakdown(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_rarity_breakdown(mut self, value: Option>) -> Self {
         self._fields.12 = value;
         self
     }
@@ -818,10 +803,10 @@ where
 }
 
 fn lexicon_doc_net_anisota_harvest_minigame() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("net.anisota.harvest.minigame"),
@@ -993,9 +978,7 @@ fn lexicon_doc_net_anisota_harvest_minigame() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("rarityBreakdown"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("Count of each rarity level collected"),
-                    ),
+                    description: Some(CowStr::new_static("Count of each rarity level collected")),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -1043,4 +1026,4 @@ fn lexicon_doc_net_anisota_harvest_minigame() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/net_anisota/settings.rs b/crates/jacquard-api/src/net_anisota/settings.rs
index 3740183e..8f5fee6b 100644
--- a/crates/jacquard-api/src/net_anisota/settings.rs
+++ b/crates/jacquard-api/src/net_anisota/settings.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,14 +24,17 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::net_anisota::settings;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::net_anisota::settings;
+use serde::{Deserialize, Serialize};
 /// Animation timing and speed settings for various UI animations
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct AnimationTiming {
     ///Card advance exit to right and entrance back in from right (stored as string)
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -67,9 +70,11 @@ pub struct AnimationTiming {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct BatchNotificationTypes {
     ///Batch follow notifications
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -96,7 +101,10 @@ pub struct BatchNotificationTypes {
 /// App behavior and functionality settings
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct BehaviorSettings {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub animation_timing: Option>,
@@ -243,7 +251,10 @@ pub struct BehaviorSettings {
 /// Control button visibility settings
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ControlSettings {
     ///Show account list button
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -336,7 +347,10 @@ pub struct ControlSettings {
 /// Corner element positioning settings
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct CornerElements {
     ///Element to show in bottom left corner
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -354,9 +368,11 @@ pub struct CornerElements {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct FilterNotificationTypes {
     ///Show follow notifications
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -380,9 +396,11 @@ pub struct FilterNotificationTypes {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct FilterRelationshipTypes {
     ///Show notifications from followers
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -400,9 +418,11 @@ pub struct FilterRelationshipTypes {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct HideReposts {
     ///Hide reposts in feed
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -414,9 +434,11 @@ pub struct HideReposts {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct HighlightNotificationTypes {
     ///Highlight follow notifications
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -443,7 +465,10 @@ pub struct HighlightNotificationTypes {
 /// Keyboard shortcut configuration
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct KeyboardShortcuts {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub composer: Option>,
@@ -462,7 +487,10 @@ pub struct KeyboardShortcuts {
 /// Post composer keyboard shortcuts
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct KeyboardShortcutsComposer {
     ///Publish post (e.g., ctrl+enter)
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -474,7 +502,10 @@ pub struct KeyboardShortcutsComposer {
 /// Global navigation keyboard shortcuts
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct KeyboardShortcutsGlobal {
     ///Navigate to collection
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -495,7 +526,10 @@ pub struct KeyboardShortcutsGlobal {
 /// Modal keyboard shortcuts
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct KeyboardShortcutsModals {
     ///Show keyboard shortcuts help
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -519,7 +553,10 @@ pub struct KeyboardShortcutsModals {
 /// Navigation keyboard shortcuts
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct KeyboardShortcutsNavigation {
     ///Scroll down or next item
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -543,7 +580,10 @@ pub struct KeyboardShortcutsNavigation {
 /// Post interaction keyboard shortcuts
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct KeyboardShortcutsPostInteractions {
     ///Like current post
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -607,7 +647,10 @@ pub struct SettingsGetRecordOutput {
 /// Content moderation and filtering settings
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ModerationSettings {
     ///How to handle posts from muted accounts
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -619,9 +662,11 @@ pub struct ModerationSettings {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct StatsVisibleSections {
     ///Show activity section in stats overview
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -639,7 +684,10 @@ pub struct StatsVisibleSections {
 /// UI visibility and behavior settings
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct UiSettings {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub corner_elements: Option>,
@@ -1439,10 +1487,10 @@ impl LexiconSchema for UiSettings {
 }
 
 fn lexicon_doc_net_anisota_settings() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("net.anisota.settings"),
@@ -1992,9 +2040,7 @@ fn lexicon_doc_net_anisota_settings() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("controlSettings"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("Control button visibility settings"),
-                    ),
+                    description: Some(CowStr::new_static("Control button visibility settings")),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -2174,45 +2220,43 @@ fn lexicon_doc_net_anisota_settings() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("cornerElements"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("Corner element positioning settings"),
-                    ),
+                    description: Some(CowStr::new_static("Corner element positioning settings")),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("bottomLeft"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Element to show in bottom left corner"),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Element to show in bottom left corner",
+                                )),
                                 ..Default::default()
                             }),
                         );
                         map.insert(
                             SmolStr::new_static("bottomRight"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Element to show in bottom right corner"),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Element to show in bottom right corner",
+                                )),
                                 ..Default::default()
                             }),
                         );
                         map.insert(
                             SmolStr::new_static("topLeft"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Element to show in top left corner"),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Element to show in top left corner",
+                                )),
                                 ..Default::default()
                             }),
                         );
                         map.insert(
                             SmolStr::new_static("topRight"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Element to show in top right corner"),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Element to show in top right corner",
+                                )),
                                 ..Default::default()
                             }),
                         );
@@ -2376,9 +2420,7 @@ fn lexicon_doc_net_anisota_settings() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("keyboardShortcuts"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("Keyboard shortcut configuration"),
-                    ),
+                    description: Some(CowStr::new_static("Keyboard shortcut configuration")),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -2413,9 +2455,7 @@ fn lexicon_doc_net_anisota_settings() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("postInteractions"),
                             LexObjectProperty::Ref(LexRef {
-                                r#ref: CowStr::new_static(
-                                    "#keyboardShortcutsPostInteractions",
-                                ),
+                                r#ref: CowStr::new_static("#keyboardShortcutsPostInteractions"),
                                 ..Default::default()
                             }),
                         );
@@ -2427,18 +2467,16 @@ fn lexicon_doc_net_anisota_settings() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("keyboardShortcutsComposer"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("Post composer keyboard shortcuts"),
-                    ),
+                    description: Some(CowStr::new_static("Post composer keyboard shortcuts")),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("publish"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Publish post (e.g., ctrl+enter)"),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Publish post (e.g., ctrl+enter)",
+                                )),
                                 max_length: Some(50usize),
                                 ..Default::default()
                             }),
@@ -2451,18 +2489,14 @@ fn lexicon_doc_net_anisota_settings() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("keyboardShortcutsGlobal"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("Global navigation keyboard shortcuts"),
-                    ),
+                    description: Some(CowStr::new_static("Global navigation keyboard shortcuts")),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("collection"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Navigate to collection"),
-                                ),
+                                description: Some(CowStr::new_static("Navigate to collection")),
                                 max_length: Some(50usize),
                                 ..Default::default()
                             }),
@@ -2478,9 +2512,7 @@ fn lexicon_doc_net_anisota_settings() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("inventory"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Navigate to inventory"),
-                                ),
+                                description: Some(CowStr::new_static("Navigate to inventory")),
                                 max_length: Some(50usize),
                                 ..Default::default()
                             }),
@@ -2488,9 +2520,7 @@ fn lexicon_doc_net_anisota_settings() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("profile"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Navigate to profile"),
-                                ),
+                                description: Some(CowStr::new_static("Navigate to profile")),
                                 max_length: Some(50usize),
                                 ..Default::default()
                             }),
@@ -2510,9 +2540,9 @@ fn lexicon_doc_net_anisota_settings() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("keyboardHelp"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Show keyboard shortcuts help"),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Show keyboard shortcuts help",
+                                )),
                                 max_length: Some(50usize),
                                 ..Default::default()
                             }),
@@ -2557,18 +2587,14 @@ fn lexicon_doc_net_anisota_settings() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("keyboardShortcutsNavigation"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("Navigation keyboard shortcuts"),
-                    ),
+                    description: Some(CowStr::new_static("Navigation keyboard shortcuts")),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("arrowDown"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Scroll down or next item"),
-                                ),
+                                description: Some(CowStr::new_static("Scroll down or next item")),
                                 max_length: Some(50usize),
                                 ..Default::default()
                             }),
@@ -2576,9 +2602,7 @@ fn lexicon_doc_net_anisota_settings() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("arrowLeft"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Go back to previous card"),
-                                ),
+                                description: Some(CowStr::new_static("Go back to previous card")),
                                 max_length: Some(50usize),
                                 ..Default::default()
                             }),
@@ -2586,9 +2610,7 @@ fn lexicon_doc_net_anisota_settings() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("arrowRight"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Advance to next card"),
-                                ),
+                                description: Some(CowStr::new_static("Advance to next card")),
                                 max_length: Some(50usize),
                                 ..Default::default()
                             }),
@@ -2596,9 +2618,7 @@ fn lexicon_doc_net_anisota_settings() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("arrowUp"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Scroll up or previous item"),
-                                ),
+                                description: Some(CowStr::new_static("Scroll up or previous item")),
                                 max_length: Some(50usize),
                                 ..Default::default()
                             }),
@@ -2606,9 +2626,9 @@ fn lexicon_doc_net_anisota_settings() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("escape"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Exit fullscreen or close modals"),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Exit fullscreen or close modals",
+                                )),
                                 max_length: Some(50usize),
                                 ..Default::default()
                             }),
@@ -2621,9 +2641,7 @@ fn lexicon_doc_net_anisota_settings() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("keyboardShortcutsPostInteractions"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("Post interaction keyboard shortcuts"),
-                    ),
+                    description: Some(CowStr::new_static("Post interaction keyboard shortcuts")),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -2646,9 +2664,7 @@ fn lexicon_doc_net_anisota_settings() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("reply"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Reply to current post"),
-                                ),
+                                description: Some(CowStr::new_static("Reply to current post")),
                                 max_length: Some(50usize),
                                 ..Default::default()
                             }),
@@ -2656,9 +2672,7 @@ fn lexicon_doc_net_anisota_settings() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("repost"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Repost current post"),
-                                ),
+                                description: Some(CowStr::new_static("Repost current post")),
                                 max_length: Some(50usize),
                                 ..Default::default()
                             }),
@@ -2769,31 +2783,27 @@ fn lexicon_doc_net_anisota_settings() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("moderationSettings"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("Content moderation and filtering settings"),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Content moderation and filtering settings",
+                    )),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("mutedAccountsHandling"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "How to handle posts from muted accounts",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "How to handle posts from muted accounts",
+                                )),
                                 ..Default::default()
                             }),
                         );
                         map.insert(
                             SmolStr::new_static("mutedContentHandling"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "How to handle posts containing muted words or phrases",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "How to handle posts containing muted words or phrases",
+                                )),
                                 ..Default::default()
                             }),
                         );
@@ -2834,9 +2844,7 @@ fn lexicon_doc_net_anisota_settings() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("uiSettings"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("UI visibility and behavior settings"),
-                    ),
+                    description: Some(CowStr::new_static("UI visibility and behavior settings")),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -2850,11 +2858,9 @@ fn lexicon_doc_net_anisota_settings() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("fontSize"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "Font size scale (0.8 = 80%, 1.0 = 100% default, 1.2 = 120%)",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Font size scale (0.8 = 80%, 1.0 = 100% default, 1.2 = 120%)",
+                                )),
                                 max_length: Some(10usize),
                                 ..Default::default()
                             }),
@@ -2862,36 +2868,36 @@ fn lexicon_doc_net_anisota_settings() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("postCardPrimarySlot"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Primary name slot for post cards"),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Primary name slot for post cards",
+                                )),
                                 ..Default::default()
                             }),
                         );
                         map.insert(
                             SmolStr::new_static("postCardSecondarySlot"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Secondary name slot for post cards"),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Secondary name slot for post cards",
+                                )),
                                 ..Default::default()
                             }),
                         );
                         map.insert(
                             SmolStr::new_static("profileCardPrimarySlot"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Primary name slot for profile cards"),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Primary name slot for profile cards",
+                                )),
                                 ..Default::default()
                             }),
                         );
                         map.insert(
                             SmolStr::new_static("profileCardSecondarySlot"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Secondary name slot for profile cards"),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Secondary name slot for profile cards",
+                                )),
                                 ..Default::default()
                             }),
                         );
@@ -3106,7 +3112,7 @@ fn lexicon_doc_net_anisota_settings() -> LexiconDoc<'static> {
 
 pub mod settings_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -3206,10 +3212,7 @@ impl SettingsBuilder {
         self
     }
     /// Set the `behaviorSettings` field to an Option value (optional)
-    pub fn maybe_behavior_settings(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_behavior_settings(mut self, value: Option>) -> Self {
         self._fields.0 = value;
         self
     }
@@ -3238,10 +3241,7 @@ impl SettingsBuilder {
         self
     }
     /// Set the `controlSettings` field to an Option value (optional)
-    pub fn maybe_control_settings(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_control_settings(mut self, value: Option>) -> Self {
         self._fields.2 = value;
         self
     }
@@ -3281,10 +3281,7 @@ impl SettingsBuilder {
 
 impl SettingsBuilder {
     /// Set the `uiSettings` field (optional)
-    pub fn ui_settings(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn ui_settings(mut self, value: impl Into>>) -> Self {
         self._fields.5 = value.into();
         self
     }
@@ -3368,4 +3365,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/net_asadaame5121.rs b/crates/jacquard-api/src/net_asadaame5121.rs
index 277e8f08..47a78d18 100644
--- a/crates/jacquard-api/src/net_asadaame5121.rs
+++ b/crates/jacquard-api/src/net_asadaame5121.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod at_circle;
\ No newline at end of file
+pub mod at_circle;
diff --git a/crates/jacquard-api/src/net_asadaame5121/at_circle.rs b/crates/jacquard-api/src/net_asadaame5121/at_circle.rs
index d76239f4..33ef3ee4 100644
--- a/crates/jacquard-api/src/net_asadaame5121/at_circle.rs
+++ b/crates/jacquard-api/src/net_asadaame5121/at_circle.rs
@@ -11,7 +11,6 @@ pub mod member;
 pub mod request;
 pub mod ring;
 
-
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
@@ -30,10 +29,13 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct RingRef {
     ///Optional CID for strong reference
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -82,7 +84,7 @@ impl LexiconSchema for RingRef {
 
 pub mod ring_ref_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -193,10 +195,10 @@ where
 }
 
 fn lexicon_doc_net_asadaame5121_at_circle_defs() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("net.asadaame5121.at-circle.defs"),
@@ -212,9 +214,9 @@ fn lexicon_doc_net_asadaame5121_at_circle_defs() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("cid"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Optional CID for strong reference"),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Optional CID for strong reference",
+                                )),
                                 format: Some(LexStringFormat::Cid),
                                 max_length: Some(100usize),
                                 ..Default::default()
@@ -238,4 +240,4 @@ fn lexicon_doc_net_asadaame5121_at_circle_defs() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/net_asadaame5121/at_circle/banner.rs b/crates/jacquard-api/src/net_asadaame5121/at_circle/banner.rs
index b72a9516..02a48837 100644
--- a/crates/jacquard-api/src/net_asadaame5121/at_circle/banner.rs
+++ b/crates/jacquard-api/src/net_asadaame5121/at_circle/banner.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -25,10 +25,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::net_asadaame5121::at_circle::RingRef;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::net_asadaame5121::at_circle::RingRef;
+use serde::{Deserialize, Serialize};
 /// A banner image for a ring
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -119,19 +119,16 @@ impl LexiconSchema for Banner {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["image/*"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("banner"),
@@ -147,7 +144,7 @@ impl LexiconSchema for Banner {
 
 pub mod banner_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -313,10 +310,10 @@ where
 }
 
 fn lexicon_doc_net_asadaame5121_at_circle_banner() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("net.asadaame5121.at-circle.banner"),
@@ -328,18 +325,19 @@ fn lexicon_doc_net_asadaame5121_at_circle_banner() -> LexiconDoc<'static> {
                     description: Some(CowStr::new_static("A banner image for a ring")),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("ring"), SmolStr::new_static("banner"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("ring"),
+                            SmolStr::new_static("banner"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
                             map.insert(
                                 SmolStr::new_static("banner"),
-                                LexObjectProperty::Blob(LexBlob { ..Default::default() }),
+                                LexObjectProperty::Blob(LexBlob {
+                                    ..Default::default()
+                                }),
                             );
                             map.insert(
                                 SmolStr::new_static("createdAt"),
@@ -368,4 +366,4 @@ fn lexicon_doc_net_asadaame5121_at_circle_banner() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/net_asadaame5121/at_circle/block.rs b/crates/jacquard-api/src/net_asadaame5121/at_circle/block.rs
index dc92dfae..0c803d11 100644
--- a/crates/jacquard-api/src/net_asadaame5121/at_circle/block.rs
+++ b/crates/jacquard-api/src/net_asadaame5121/at_circle/block.rs
@@ -10,13 +10,13 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::collection::{Collection, RecordError};
-use jacquard_common::types::string::{Did, AtUri, Cid, Datetime};
+use jacquard_common::types::string::{AtUri, Cid, Datetime, Did};
 use jacquard_common::types::uri::{RecordUri, UriError};
 use jacquard_common::types::value::Data;
 use jacquard_common::xrpc::XrpcResp;
@@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::net_asadaame5121::at_circle::RingRef;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::net_asadaame5121::at_circle::RingRef;
+use serde::{Deserialize, Serialize};
 /// Block/Kick a member from the circle
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -143,7 +143,7 @@ impl LexiconSchema for Block {
 
 pub mod block_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -202,7 +202,12 @@ pub mod block_state {
 /// Builder for constructing an instance of this type.
 pub struct BlockBuilder {
     _state: PhantomData St>,
-    _fields: (Option, Option, Option>, Option>),
+    _fields: (
+        Option,
+        Option,
+        Option>,
+        Option>,
+    ),
     _type: PhantomData S>,
 }
 
@@ -324,10 +329,10 @@ where
 }
 
 fn lexicon_doc_net_asadaame5121_at_circle_block() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("net.asadaame5121.at-circle.block"),
@@ -336,17 +341,14 @@ fn lexicon_doc_net_asadaame5121_at_circle_block() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static("Block/Kick a member from the circle"),
-                    ),
+                    description: Some(CowStr::new_static("Block/Kick a member from the circle")),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("subject"), SmolStr::new_static("ring"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("subject"),
+                            SmolStr::new_static("ring"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -360,9 +362,7 @@ fn lexicon_doc_net_asadaame5121_at_circle_block() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("reason"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("Reason for blocking"),
-                                    ),
+                                    description: Some(CowStr::new_static("Reason for blocking")),
                                     max_length: Some(1000usize),
                                     max_graphemes: Some(100usize),
                                     ..Default::default()
@@ -380,9 +380,9 @@ fn lexicon_doc_net_asadaame5121_at_circle_block() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("subject"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("DID of the member to block"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "DID of the member to block",
+                                    )),
                                     format: Some(LexStringFormat::Did),
                                     max_length: Some(2000usize),
                                     ..Default::default()
@@ -399,4 +399,4 @@ fn lexicon_doc_net_asadaame5121_at_circle_block() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/net_asadaame5121/at_circle/member.rs b/crates/jacquard-api/src/net_asadaame5121/at_circle/member.rs
index 7666a593..40abf113 100644
--- a/crates/jacquard-api/src/net_asadaame5121/at_circle/member.rs
+++ b/crates/jacquard-api/src/net_asadaame5121/at_circle/member.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::net_asadaame5121::at_circle::RingRef;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::net_asadaame5121::at_circle::RingRef;
+use serde::{Deserialize, Serialize};
 /// Membership in an at-circle (Sidecar Record)
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -182,7 +182,7 @@ impl LexiconSchema for Member {
 
 pub mod member_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -356,10 +356,7 @@ where
     St::Title: member_state::IsUnset,
 {
     /// Set the `title` field (required)
-    pub fn title(
-        mut self,
-        value: impl Into,
-    ) -> MemberBuilder> {
+    pub fn title(mut self, value: impl Into) -> MemberBuilder> {
         self._fields.4 = Option::Some(value.into());
         MemberBuilder {
             _state: PhantomData,
@@ -423,10 +420,10 @@ where
 }
 
 fn lexicon_doc_net_asadaame5121_at_circle_member() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("net.asadaame5121.at-circle.member"),
@@ -435,18 +432,17 @@ fn lexicon_doc_net_asadaame5121_at_circle_member() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static("Membership in an at-circle (Sidecar Record)"),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Membership in an at-circle (Sidecar Record)",
+                    )),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("ring"), SmolStr::new_static("url"),
-                                SmolStr::new_static("title"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("ring"),
+                            SmolStr::new_static("url"),
+                            SmolStr::new_static("title"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -487,9 +483,9 @@ fn lexicon_doc_net_asadaame5121_at_circle_member() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("title"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("Title of the participant's site"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Title of the participant's site",
+                                    )),
                                     max_length: Some(1000usize),
                                     max_graphemes: Some(100usize),
                                     ..Default::default()
@@ -498,9 +494,9 @@ fn lexicon_doc_net_asadaame5121_at_circle_member() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("url"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("URL of the participant's site"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "URL of the participant's site",
+                                    )),
                                     format: Some(LexStringFormat::Uri),
                                     max_length: Some(2000usize),
                                     ..Default::default()
@@ -517,4 +513,4 @@ fn lexicon_doc_net_asadaame5121_at_circle_member() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/net_asadaame5121/at_circle/request.rs b/crates/jacquard-api/src/net_asadaame5121/at_circle/request.rs
index 31c860e3..b2d078b2 100644
--- a/crates/jacquard-api/src/net_asadaame5121/at_circle/request.rs
+++ b/crates/jacquard-api/src/net_asadaame5121/at_circle/request.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::net_asadaame5121::at_circle::RingRef;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::net_asadaame5121::at_circle::RingRef;
+use serde::{Deserialize, Serialize};
 /// A request to join a webring
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -161,7 +161,7 @@ impl LexiconSchema for Request {
 
 pub mod request_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -402,10 +402,10 @@ where
 }
 
 fn lexicon_doc_net_asadaame5121_at_circle_request() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("net.asadaame5121.at-circle.request"),
@@ -417,13 +417,12 @@ fn lexicon_doc_net_asadaame5121_at_circle_request() -> LexiconDoc<'static> {
                     description: Some(CowStr::new_static("A request to join a webring")),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("ring"), SmolStr::new_static("siteUrl"),
-                                SmolStr::new_static("siteTitle"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("ring"),
+                            SmolStr::new_static("siteUrl"),
+                            SmolStr::new_static("siteTitle"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -437,9 +436,7 @@ fn lexicon_doc_net_asadaame5121_at_circle_request() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("message"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("Introduction message"),
-                                    ),
+                                    description: Some(CowStr::new_static("Introduction message")),
                                     max_length: Some(1000usize),
                                     max_graphemes: Some(100usize),
                                     ..Default::default()
@@ -457,9 +454,9 @@ fn lexicon_doc_net_asadaame5121_at_circle_request() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("rssUrl"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("RSS feed URL of the site"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "RSS feed URL of the site",
+                                    )),
                                     format: Some(LexStringFormat::Uri),
                                     ..Default::default()
                                 }),
@@ -476,9 +473,9 @@ fn lexicon_doc_net_asadaame5121_at_circle_request() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("siteUrl"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("URL of the site to register"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "URL of the site to register",
+                                    )),
                                     format: Some(LexStringFormat::Uri),
                                     ..Default::default()
                                 }),
@@ -494,4 +491,4 @@ fn lexicon_doc_net_asadaame5121_at_circle_request() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/net_asadaame5121/at_circle/ring.rs b/crates/jacquard-api/src/net_asadaame5121/at_circle/ring.rs
index 3e3cc6e7..2ac87b6d 100644
--- a/crates/jacquard-api/src/net_asadaame5121/at_circle/ring.rs
+++ b/crates/jacquard-api/src/net_asadaame5121/at_circle/ring.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// An at-circle group definition
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -126,9 +126,7 @@ where
         match self {
             RingAcceptancePolicy::Automatic => RingAcceptancePolicy::Automatic,
             RingAcceptancePolicy::Manual => RingAcceptancePolicy::Manual,
-            RingAcceptancePolicy::Other(v) => {
-                RingAcceptancePolicy::Other(v.into_static())
-            }
+            RingAcceptancePolicy::Other(v) => RingAcceptancePolicy::Other(v.into_static()),
         }
     }
 }
@@ -340,7 +338,7 @@ impl LexiconSchema for Ring {
 
 pub mod ring_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -429,18 +427,12 @@ impl RingBuilder {
 
 impl RingBuilder {
     /// Set the `acceptancePolicy` field (optional)
-    pub fn acceptance_policy(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn acceptance_policy(mut self, value: impl Into>>) -> Self {
         self._fields.0 = value.into();
         self
     }
     /// Set the `acceptancePolicy` field to an Option value (optional)
-    pub fn maybe_acceptance_policy(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_acceptance_policy(mut self, value: Option>) -> Self {
         self._fields.0 = value;
         self
     }
@@ -503,10 +495,7 @@ where
     St::Title: ring_state::IsUnset,
 {
     /// Set the `title` field (required)
-    pub fn title(
-        mut self,
-        value: impl Into,
-    ) -> RingBuilder> {
+    pub fn title(mut self, value: impl Into) -> RingBuilder> {
         self._fields.4 = Option::Some(value.into());
         RingBuilder {
             _state: PhantomData,
@@ -548,10 +537,10 @@ where
 }
 
 fn lexicon_doc_net_asadaame5121_at_circle_ring() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("net.asadaame5121.at-circle.ring"),
@@ -560,27 +549,23 @@ fn lexicon_doc_net_asadaame5121_at_circle_ring() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static("An at-circle group definition"),
-                    ),
+                    description: Some(CowStr::new_static("An at-circle group definition")),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("title"),
-                                SmolStr::new_static("createdAt"),
-                                SmolStr::new_static("status")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("title"),
+                            SmolStr::new_static("createdAt"),
+                            SmolStr::new_static("status"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
                             map.insert(
                                 SmolStr::new_static("acceptancePolicy"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("How new members are accepted"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "How new members are accepted",
+                                    )),
                                     max_length: Some(64usize),
                                     ..Default::default()
                                 }),
@@ -595,9 +580,9 @@ fn lexicon_doc_net_asadaame5121_at_circle_ring() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("description"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("Description of the circle"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Description of the circle",
+                                    )),
                                     max_length: Some(10000usize),
                                     max_graphemes: Some(1000usize),
                                     ..Default::default()
@@ -631,4 +616,4 @@ fn lexicon_doc_net_asadaame5121_at_circle_ring() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/net_bnewbold.rs b/crates/jacquard-api/src/net_bnewbold.rs
index fafe9d7d..a619e5b9 100644
--- a/crates/jacquard-api/src/net_bnewbold.rs
+++ b/crates/jacquard-api/src/net_bnewbold.rs
@@ -4,4 +4,4 @@
 // Any manual changes will be overwritten on the next regeneration.
 
 pub mod demo;
-pub mod m;
\ No newline at end of file
+pub mod m;
diff --git a/crates/jacquard-api/src/net_bnewbold/demo.rs b/crates/jacquard-api/src/net_bnewbold/demo.rs
index 5f640ce3..58b068c2 100644
--- a/crates/jacquard-api/src/net_bnewbold/demo.rs
+++ b/crates/jacquard-api/src/net_bnewbold/demo.rs
@@ -4,4 +4,4 @@
 // Any manual changes will be overwritten on the next regeneration.
 
 pub mod mushies;
-pub mod mushroom;
\ No newline at end of file
+pub mod mushroom;
diff --git a/crates/jacquard-api/src/net_bnewbold/demo/mushies.rs b/crates/jacquard-api/src/net_bnewbold/demo/mushies.rs
index 0e34261b..388e7063 100644
--- a/crates/jacquard-api/src/net_bnewbold/demo/mushies.rs
+++ b/crates/jacquard-api/src/net_bnewbold/demo/mushies.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// it's a kind of fungus
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -153,7 +153,7 @@ impl LexiconSchema for Mushies {
 
 pub mod mushies_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -279,10 +279,10 @@ where
 }
 
 fn lexicon_doc_net_bnewbold_demo_mushies() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("net.bnewbold.demo.mushies"),
@@ -331,4 +331,4 @@ fn lexicon_doc_net_bnewbold_demo_mushies() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/net_bnewbold/demo/mushroom.rs b/crates/jacquard-api/src/net_bnewbold/demo/mushroom.rs
index 2f16ffce..be9aec35 100644
--- a/crates/jacquard-api/src/net_bnewbold/demo/mushroom.rs
+++ b/crates/jacquard-api/src/net_bnewbold/demo/mushroom.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// it's a kind of fungus
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -153,7 +153,7 @@ impl LexiconSchema for Mushroom {
 
 pub mod mushroom_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -279,10 +279,10 @@ where
 }
 
 fn lexicon_doc_net_bnewbold_demo_mushroom() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("net.bnewbold.demo.mushroom"),
@@ -331,4 +331,4 @@ fn lexicon_doc_net_bnewbold_demo_mushroom() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/net_bnewbold/m.rs b/crates/jacquard-api/src/net_bnewbold/m.rs
index 583e8d71..92a8cd72 100644
--- a/crates/jacquard-api/src/net_bnewbold/m.rs
+++ b/crates/jacquard-api/src/net_bnewbold/m.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// it's a kind of fungus
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -153,7 +153,7 @@ impl LexiconSchema for M {
 
 pub mod m_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -214,10 +214,7 @@ where
     St::CommonName: m_state::IsUnset,
 {
     /// Set the `commonName` field (required)
-    pub fn common_name(
-        mut self,
-        value: impl Into,
-    ) -> MBuilder> {
+    pub fn common_name(mut self, value: impl Into) -> MBuilder> {
         self._fields.0 = Option::Some(value.into());
         MBuilder {
             _state: PhantomData,
@@ -279,10 +276,10 @@ where
 }
 
 fn lexicon_doc_net_bnewbold_m() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("net.bnewbold.m"),
@@ -331,4 +328,4 @@ fn lexicon_doc_net_bnewbold_m() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/net_jbsm.rs b/crates/jacquard-api/src/net_jbsm.rs
index af091da5..a9fca52d 100644
--- a/crates/jacquard-api/src/net_jbsm.rs
+++ b/crates/jacquard-api/src/net_jbsm.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod jb;
\ No newline at end of file
+pub mod jb;
diff --git a/crates/jacquard-api/src/net_jbsm/jb.rs b/crates/jacquard-api/src/net_jbsm/jb.rs
index 2ca1ea2e..030b16e2 100644
--- a/crates/jacquard-api/src/net_jbsm/jb.rs
+++ b/crates/jacquard-api/src/net_jbsm/jb.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod reminder;
\ No newline at end of file
+pub mod reminder;
diff --git a/crates/jacquard-api/src/net_jbsm/jb/reminder.rs b/crates/jacquard-api/src/net_jbsm/jb/reminder.rs
index 07121053..27cb3377 100644
--- a/crates/jacquard-api/src/net_jbsm/jb/reminder.rs
+++ b/crates/jacquard-api/src/net_jbsm/jb/reminder.rs
@@ -10,13 +10,13 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::collection::{Collection, RecordError};
-use jacquard_common::types::string::{Did, AtUri, Cid, Datetime};
+use jacquard_common::types::string::{AtUri, Cid, Datetime, Did};
 use jacquard_common::types::uri::{RecordUri, UriError};
 use jacquard_common::types::value::Data;
 use jacquard_common::xrpc::XrpcResp;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// A reminder scheduled to trigger at a specific time
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -132,7 +132,7 @@ fn _default_reminder_occurred() -> Option {
 
 pub mod reminder_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -373,10 +373,10 @@ where
 }
 
 fn lexicon_doc_net_jbsm_jb_reminder() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("net.jbsm.jb.reminder"),
@@ -478,4 +478,4 @@ fn lexicon_doc_net_jbsm_jb_reminder() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/net_mimonelu.rs b/crates/jacquard-api/src/net_mimonelu.rs
index e1e5a131..00a0dd15 100644
--- a/crates/jacquard-api/src/net_mimonelu.rs
+++ b/crates/jacquard-api/src/net_mimonelu.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod klearsky;
\ No newline at end of file
+pub mod klearsky;
diff --git a/crates/jacquard-api/src/net_mimonelu/klearsky.rs b/crates/jacquard-api/src/net_mimonelu/klearsky.rs
index d509b2c9..4ad99150 100644
--- a/crates/jacquard-api/src/net_mimonelu/klearsky.rs
+++ b/crates/jacquard-api/src/net_mimonelu/klearsky.rs
@@ -7,4 +7,4 @@ pub mod extra_feed;
 pub mod lightning;
 pub mod repost_mutes;
 pub mod updated_at;
-pub mod via;
\ No newline at end of file
+pub mod via;
diff --git a/crates/jacquard-api/src/net_mimonelu/klearsky/extra_feed.rs b/crates/jacquard-api/src/net_mimonelu/klearsky/extra_feed.rs
index 41dd90d6..81744c48 100644
--- a/crates/jacquard-api/src/net_mimonelu/klearsky/extra_feed.rs
+++ b/crates/jacquard-api/src/net_mimonelu/klearsky/extra_feed.rs
@@ -5,7 +5,7 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 /// Extra feed type for Klearsky. Used as an extension in app.bsky.actor.defs#savedFeedsPrefV2 items.
 
 #[derive(Debug, Clone, PartialEq, Eq, Hash)]
@@ -77,4 +77,4 @@ where
             ExtraFeed::Other(v) => ExtraFeed::Other(v.into_static()),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/net_mimonelu/klearsky/lightning.rs b/crates/jacquard-api/src/net_mimonelu/klearsky/lightning.rs
index f7dd9a28..d910725e 100644
--- a/crates/jacquard-api/src/net_mimonelu/klearsky/lightning.rs
+++ b/crates/jacquard-api/src/net_mimonelu/klearsky/lightning.rs
@@ -5,6 +5,6 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 /// Lightning Address for Bitcoin Lightning Network payments. Used as an extension field in app.bsky.feed.post records to enable tipping.
-pub type Lightning = S;
\ No newline at end of file
+pub type Lightning = S;
diff --git a/crates/jacquard-api/src/net_mimonelu/klearsky/repost_mutes.rs b/crates/jacquard-api/src/net_mimonelu/klearsky/repost_mutes.rs
index a6598dfd..1a903784 100644
--- a/crates/jacquard-api/src/net_mimonelu/klearsky/repost_mutes.rs
+++ b/crates/jacquard-api/src/net_mimonelu/klearsky/repost_mutes.rs
@@ -10,13 +10,13 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::collection::{Collection, RecordError};
-use jacquard_common::types::string::{Did, AtUri, Cid, Datetime};
+use jacquard_common::types::string::{AtUri, Cid, Datetime, Did};
 use jacquard_common::types::uri::{RecordUri, UriError};
 use jacquard_common::types::value::Data;
 use jacquard_common::xrpc::XrpcResp;
@@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::net_mimonelu::klearsky::repost_mutes;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::net_mimonelu::klearsky::repost_mutes;
+use serde::{Deserialize, Serialize};
 /// Klearsky client-specific record that stores a list of DIDs whose reposts should be muted.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -60,7 +60,10 @@ pub struct RepostMutesGetRecordOutput {
 /// A DID added to repost-mute list and the timestamp when it was added.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Subject {
     ///Timestamp when this DID was added to the mute list.
     pub created_at: Datetime,
@@ -135,7 +138,7 @@ impl LexiconSchema for Subject {
 
 pub mod repost_mutes_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -255,10 +258,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> RepostMutes {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> RepostMutes {
         RepostMutes {
             created_at: self._fields.0.unwrap(),
             subjects: self._fields.1.unwrap(),
@@ -268,10 +268,10 @@ where
 }
 
 fn lexicon_doc_net_mimonelu_klearsky_repostMutes() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("net.mimonelu.klearsky.repostMutes"),
@@ -333,27 +333,22 @@ fn lexicon_doc_net_mimonelu_klearsky_repostMutes() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("subject"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static(
-                            "A DID added to repost-mute list and the timestamp when it was added.",
-                        ),
-                    ),
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("did"), SmolStr::new_static("createdAt")
-                        ],
-                    ),
+                    description: Some(CowStr::new_static(
+                        "A DID added to repost-mute list and the timestamp when it was added.",
+                    )),
+                    required: Some(vec![
+                        SmolStr::new_static("did"),
+                        SmolStr::new_static("createdAt"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("createdAt"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "Timestamp when this DID was added to the mute list.",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Timestamp when this DID was added to the mute list.",
+                                )),
                                 format: Some(LexStringFormat::Datetime),
                                 ..Default::default()
                             }),
@@ -361,11 +356,9 @@ fn lexicon_doc_net_mimonelu_klearsky_repostMutes() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("did"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "DID of the user whose reposts are muted.",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "DID of the user whose reposts are muted.",
+                                )),
                                 format: Some(LexStringFormat::Did),
                                 ..Default::default()
                             }),
@@ -383,7 +376,7 @@ fn lexicon_doc_net_mimonelu_klearsky_repostMutes() -> LexiconDoc<'static> {
 
 pub mod subject_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -475,10 +468,7 @@ where
     St::Did: subject_state::IsUnset,
 {
     /// Set the `did` field (required)
-    pub fn did(
-        mut self,
-        value: impl Into>,
-    ) -> SubjectBuilder> {
+    pub fn did(mut self, value: impl Into>) -> SubjectBuilder> {
         self._fields.1 = Option::Some(value.into());
         SubjectBuilder {
             _state: PhantomData,
@@ -510,4 +500,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/net_mimonelu/klearsky/updated_at.rs b/crates/jacquard-api/src/net_mimonelu/klearsky/updated_at.rs
index 4837922e..3aafc41b 100644
--- a/crates/jacquard-api/src/net_mimonelu/klearsky/updated_at.rs
+++ b/crates/jacquard-api/src/net_mimonelu/klearsky/updated_at.rs
@@ -5,7 +5,7 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::types::string::Datetime;
+use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 /// Timestamp when the post was last edited. Used as an extension field in app.bsky.feed.post records to indicate post modification by Klearsky's edit feature.
-pub type UpdatedAt = Datetime;
\ No newline at end of file
+pub type UpdatedAt = Datetime;
diff --git a/crates/jacquard-api/src/net_mimonelu/klearsky/via.rs b/crates/jacquard-api/src/net_mimonelu/klearsky/via.rs
index 4f8f8ba5..18475a5c 100644
--- a/crates/jacquard-api/src/net_mimonelu/klearsky/via.rs
+++ b/crates/jacquard-api/src/net_mimonelu/klearsky/via.rs
@@ -5,6 +5,6 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 /// Client application name and version that created the post. Used as an extension field in app.bsky.feed.post records.
-pub type Via = S;
\ No newline at end of file
+pub type Via = S;
diff --git a/crates/jacquard-api/src/net_mmatt.rs b/crates/jacquard-api/src/net_mmatt.rs
index 9267ebbd..3eca1524 100644
--- a/crates/jacquard-api/src/net_mmatt.rs
+++ b/crates/jacquard-api/src/net_mmatt.rs
@@ -5,4 +5,4 @@
 
 pub mod my;
 pub mod right;
-pub mod vitals;
\ No newline at end of file
+pub mod vitals;
diff --git a/crates/jacquard-api/src/net_mmatt/my.rs b/crates/jacquard-api/src/net_mmatt/my.rs
index a1b63e3f..a6143f30 100644
--- a/crates/jacquard-api/src/net_mmatt/my.rs
+++ b/crates/jacquard-api/src/net_mmatt/my.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod accounts;
\ No newline at end of file
+pub mod accounts;
diff --git a/crates/jacquard-api/src/net_mmatt/my/accounts.rs b/crates/jacquard-api/src/net_mmatt/my/accounts.rs
index a05fa480..5ea8655d 100644
--- a/crates/jacquard-api/src/net_mmatt/my/accounts.rs
+++ b/crates/jacquard-api/src/net_mmatt/my/accounts.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::com_atproto::repo::strong_ref::StrongRef;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::com_atproto::repo::strong_ref::StrongRef;
+use serde::{Deserialize, Serialize};
 /// Record declaring a list of account references.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -104,7 +104,7 @@ impl LexiconSchema for Accounts {
 
 pub mod accounts_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -200,10 +200,10 @@ where
 }
 
 fn lexicon_doc_net_mmatt_my_accounts() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("net.mmatt.my.accounts"),
@@ -212,11 +212,9 @@ fn lexicon_doc_net_mmatt_my_accounts() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static(
-                            "Record declaring a list of account references.",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Record declaring a list of account references.",
+                    )),
                     key: Some(CowStr::new_static("literal:self")),
                     record: LexRecordRecord::Object(LexObject {
                         required: Some(vec![SmolStr::new_static("accounts")]),
@@ -244,4 +242,4 @@ fn lexicon_doc_net_mmatt_my_accounts() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/net_mmatt/right.rs b/crates/jacquard-api/src/net_mmatt/right.rs
index 351b1f7d..953b0124 100644
--- a/crates/jacquard-api/src/net_mmatt/right.rs
+++ b/crates/jacquard-api/src/net_mmatt/right.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod now;
\ No newline at end of file
+pub mod now;
diff --git a/crates/jacquard-api/src/net_mmatt/right/now.rs b/crates/jacquard-api/src/net_mmatt/right/now.rs
index c9207684..adb7f77a 100644
--- a/crates/jacquard-api/src/net_mmatt/right/now.rs
+++ b/crates/jacquard-api/src/net_mmatt/right/now.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// A personal lexicon for mmatt's statuslog.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -109,7 +109,7 @@ impl LexiconSchema for Now {
 
 pub mod now_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -251,10 +251,10 @@ where
 }
 
 fn lexicon_doc_net_mmatt_right_now() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("net.mmatt.right.now"),
@@ -263,28 +263,24 @@ fn lexicon_doc_net_mmatt_right_now() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static("A personal lexicon for mmatt's statuslog."),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "A personal lexicon for mmatt's statuslog.",
+                    )),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("createdAt"),
-                                SmolStr::new_static("text")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("createdAt"),
+                            SmolStr::new_static("text"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
                             map.insert(
                                 SmolStr::new_static("createdAt"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "The unix timestamp of when the status was recorded",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "The unix timestamp of when the status was recorded",
+                                    )),
                                     format: Some(LexStringFormat::Datetime),
                                     ..Default::default()
                                 }),
@@ -292,18 +288,18 @@ fn lexicon_doc_net_mmatt_right_now() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("emoji"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("The emoji of the status update"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "The emoji of the status update",
+                                    )),
                                     ..Default::default()
                                 }),
                             );
                             map.insert(
                                 SmolStr::new_static("text"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("The text of the status update"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "The text of the status update",
+                                    )),
                                     ..Default::default()
                                 }),
                             );
@@ -318,4 +314,4 @@ fn lexicon_doc_net_mmatt_right_now() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/net_mmatt/vitals.rs b/crates/jacquard-api/src/net_mmatt/vitals.rs
index 58e8d14f..380bdbfb 100644
--- a/crates/jacquard-api/src/net_mmatt/vitals.rs
+++ b/crates/jacquard-api/src/net_mmatt/vitals.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod car;
\ No newline at end of file
+pub mod car;
diff --git a/crates/jacquard-api/src/net_mmatt/vitals/car.rs b/crates/jacquard-api/src/net_mmatt/vitals/car.rs
index 76d0b399..a228dcb6 100644
--- a/crates/jacquard-api/src/net_mmatt/vitals/car.rs
+++ b/crates/jacquard-api/src/net_mmatt/vitals/car.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(
@@ -120,7 +120,7 @@ impl LexiconSchema for Car {
 
 pub mod car_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -418,10 +418,10 @@ where
 }
 
 fn lexicon_doc_net_mmatt_vitals_car() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("net.mmatt.vitals.car"),
@@ -523,4 +523,4 @@ fn lexicon_doc_net_mmatt_vitals_car() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/net_shwilliam.rs b/crates/jacquard-api/src/net_shwilliam.rs
index ec6f15c0..be766e79 100644
--- a/crates/jacquard-api/src/net_shwilliam.rs
+++ b/crates/jacquard-api/src/net_shwilliam.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod hyphae;
\ No newline at end of file
+pub mod hyphae;
diff --git a/crates/jacquard-api/src/net_shwilliam/hyphae.rs b/crates/jacquard-api/src/net_shwilliam/hyphae.rs
index 04adb41f..6cea23ea 100644
--- a/crates/jacquard-api/src/net_shwilliam/hyphae.rs
+++ b/crates/jacquard-api/src/net_shwilliam/hyphae.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod note;
\ No newline at end of file
+pub mod note;
diff --git a/crates/jacquard-api/src/net_shwilliam/hyphae/note.rs b/crates/jacquard-api/src/net_shwilliam/hyphae/note.rs
index d121df40..9d578b3a 100644
--- a/crates/jacquard-api/src/net_shwilliam/hyphae/note.rs
+++ b/crates/jacquard-api/src/net_shwilliam/hyphae/note.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::com_atproto::repo::strong_ref::StrongRef;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::com_atproto::repo::strong_ref::StrongRef;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(
@@ -156,7 +156,7 @@ impl LexiconSchema for Note {
 
 pub mod note_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -201,7 +201,12 @@ pub mod note_state {
 /// Builder for constructing an instance of this type.
 pub struct NoteBuilder {
     _state: PhantomData St>,
-    _fields: (Option, Option>>, Option>, Option),
+    _fields: (
+        Option,
+        Option>>,
+        Option>,
+        Option,
+    ),
     _type: PhantomData S>,
 }
 
@@ -274,10 +279,7 @@ where
     St::Text: note_state::IsUnset,
 {
     /// Set the `text` field (required)
-    pub fn text(
-        mut self,
-        value: impl Into,
-    ) -> NoteBuilder> {
+    pub fn text(mut self, value: impl Into) -> NoteBuilder> {
         self._fields.3 = Option::Some(value.into());
         NoteBuilder {
             _state: PhantomData,
@@ -316,10 +318,10 @@ where
 }
 
 fn lexicon_doc_net_shwilliam_hyphae_note() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("net.shwilliam.hyphae.note"),
@@ -330,12 +332,10 @@ fn lexicon_doc_net_shwilliam_hyphae_note() -> LexiconDoc<'static> {
                 LexUserType::Record(LexRecord {
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("createdAt"),
-                                SmolStr::new_static("text")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("createdAt"),
+                            SmolStr::new_static("text"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -375,9 +375,7 @@ fn lexicon_doc_net_shwilliam_hyphae_note() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("text"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("primary note content"),
-                                    ),
+                                    description: Some(CowStr::new_static("primary note content")),
                                     max_length: Some(100000usize),
                                     max_graphemes: Some(10000usize),
                                     ..Default::default()
@@ -394,4 +392,4 @@ fn lexicon_doc_net_shwilliam_hyphae_note() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/net_wafrn.rs b/crates/jacquard-api/src/net_wafrn.rs
index 72d5ac7f..5134acd8 100644
--- a/crates/jacquard-api/src/net_wafrn.rs
+++ b/crates/jacquard-api/src/net_wafrn.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod feed;
\ No newline at end of file
+pub mod feed;
diff --git a/crates/jacquard-api/src/net_wafrn/feed.rs b/crates/jacquard-api/src/net_wafrn/feed.rs
index 2152d750..fc04b8f7 100644
--- a/crates/jacquard-api/src/net_wafrn/feed.rs
+++ b/crates/jacquard-api/src/net_wafrn/feed.rs
@@ -4,4 +4,4 @@
 // Any manual changes will be overwritten on the next regeneration.
 
 pub mod bite;
-pub mod explode;
\ No newline at end of file
+pub mod explode;
diff --git a/crates/jacquard-api/src/net_wafrn/feed/bite.rs b/crates/jacquard-api/src/net_wafrn/feed/bite.rs
index d3624fab..3e911482 100644
--- a/crates/jacquard-api/src/net_wafrn/feed/bite.rs
+++ b/crates/jacquard-api/src/net_wafrn/feed/bite.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// Record declaring a 'bite' of a piece of subject content.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -106,7 +106,7 @@ impl LexiconSchema for Bite {
 
 pub mod bite_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -197,10 +197,10 @@ where
 }
 
 fn lexicon_doc_net_wafrn_feed_bite() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("net.wafrn.feed.bite"),
@@ -209,11 +209,9 @@ fn lexicon_doc_net_wafrn_feed_bite() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static(
-                            "Record declaring a 'bite' of a piece of subject content.",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Record declaring a 'bite' of a piece of subject content.",
+                    )),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
                         properties: {
@@ -243,4 +241,4 @@ fn lexicon_doc_net_wafrn_feed_bite() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/net_wafrn/feed/explode.rs b/crates/jacquard-api/src/net_wafrn/feed/explode.rs
index 4a5cc043..c30ab107 100644
--- a/crates/jacquard-api/src/net_wafrn/feed/explode.rs
+++ b/crates/jacquard-api/src/net_wafrn/feed/explode.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::com_atproto::repo::strong_ref::StrongRef;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::com_atproto::repo::strong_ref::StrongRef;
+use serde::{Deserialize, Serialize};
 /// Record declaring a 'explode' of a piece of subject content.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -107,7 +107,7 @@ impl LexiconSchema for Explode {
 
 pub mod explode_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -198,10 +198,10 @@ where
 }
 
 fn lexicon_doc_net_wafrn_feed_explode() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("net.wafrn.feed.explode"),
@@ -210,11 +210,9 @@ fn lexicon_doc_net_wafrn_feed_explode() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static(
-                            "Record declaring a 'explode' of a piece of subject content.",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Record declaring a 'explode' of a piece of subject content.",
+                    )),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
                         properties: {
@@ -245,4 +243,4 @@ fn lexicon_doc_net_wafrn_feed_explode() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/network_cosmik.rs b/crates/jacquard-api/src/network_cosmik.rs
index 84862bc4..2b66a333 100644
--- a/crates/jacquard-api/src/network_cosmik.rs
+++ b/crates/jacquard-api/src/network_cosmik.rs
@@ -12,7 +12,6 @@ pub mod collection_link_removal;
 pub mod connection;
 pub mod follow;
 
-
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
@@ -25,14 +24,17 @@ use jacquard_derive::IntoStatic;
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::com_atproto::repo::strong_ref::StrongRef;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::com_atproto::repo::strong_ref::StrongRef;
+use serde::{Deserialize, Serialize};
 /// Represents the provenance or source of a record.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Provenance {
     ///Strong reference to the card that led to this record.
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -57,10 +59,10 @@ impl LexiconSchema for Provenance {
 }
 
 fn lexicon_doc_network_cosmik_defs() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("network.cosmik.defs"),
@@ -69,11 +71,9 @@ fn lexicon_doc_network_cosmik_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("provenance"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static(
-                            "Represents the provenance or source of a record.",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Represents the provenance or source of a record.",
+                    )),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -93,4 +93,4 @@ fn lexicon_doc_network_cosmik_defs() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/network_cosmik/card.rs b/crates/jacquard-api/src/network_cosmik/card.rs
index 91c245a0..8fc31e37 100644
--- a/crates/jacquard-api/src/network_cosmik/card.rs
+++ b/crates/jacquard-api/src/network_cosmik/card.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,12 +24,12 @@ use jacquard_derive::{IntoStatic, lexicon, open_union};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::com_atproto::repo::strong_ref::StrongRef;
 use crate::network_cosmik::Provenance;
 use crate::network_cosmik::card;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// A record representing a card with content.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -63,7 +63,6 @@ pub struct Card {
     pub extra_data: Option>>,
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -167,7 +166,10 @@ pub struct CardGetRecordOutput {
 /// Content structure for a note card.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct NoteContent {
     ///The note text content
     pub text: S,
@@ -178,7 +180,10 @@ pub struct NoteContent {
 /// Content structure for a URL card.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct UrlContent {
     ///Optional metadata about the URL
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -192,7 +197,10 @@ pub struct UrlContent {
 /// Metadata about a URL.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct UrlMetadata {
     ///Author of the content
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -334,7 +342,7 @@ impl LexiconSchema for UrlMetadata {
 
 pub mod card_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -547,10 +555,10 @@ where
 }
 
 fn lexicon_doc_network_cosmik_card() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("network.cosmik.card"),
@@ -649,9 +657,7 @@ fn lexicon_doc_network_cosmik_card() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("noteContent"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("Content structure for a note card."),
-                    ),
+                    description: Some(CowStr::new_static("Content structure for a note card.")),
                     required: Some(vec![SmolStr::new_static("text")]),
                     properties: {
                         #[allow(unused_mut)]
@@ -659,9 +665,7 @@ fn lexicon_doc_network_cosmik_card() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("text"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("The note text content"),
-                                ),
+                                description: Some(CowStr::new_static("The note text content")),
                                 max_length: Some(10000usize),
                                 ..Default::default()
                             }),
@@ -674,9 +678,7 @@ fn lexicon_doc_network_cosmik_card() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("urlContent"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("Content structure for a URL card."),
-                    ),
+                    description: Some(CowStr::new_static("Content structure for a URL card.")),
                     required: Some(vec![SmolStr::new_static("url")]),
                     properties: {
                         #[allow(unused_mut)]
@@ -691,9 +693,7 @@ fn lexicon_doc_network_cosmik_card() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("url"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("The URL being saved"),
-                                ),
+                                description: Some(CowStr::new_static("The URL being saved")),
                                 format: Some(LexStringFormat::Uri),
                                 ..Default::default()
                             }),
@@ -713,38 +713,32 @@ fn lexicon_doc_network_cosmik_card() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("author"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Author of the content"),
-                                ),
+                                description: Some(CowStr::new_static("Author of the content")),
                                 ..Default::default()
                             }),
                         );
                         map.insert(
                             SmolStr::new_static("description"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Description of the page"),
-                                ),
+                                description: Some(CowStr::new_static("Description of the page")),
                                 ..Default::default()
                             }),
                         );
                         map.insert(
                             SmolStr::new_static("doi"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "Digital Object Identifier (DOI) for academic content",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Digital Object Identifier (DOI) for academic content",
+                                )),
                                 ..Default::default()
                             }),
                         );
                         map.insert(
                             SmolStr::new_static("imageUrl"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("URL of a representative image"),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "URL of a representative image",
+                                )),
                                 format: Some(LexStringFormat::Uri),
                                 ..Default::default()
                             }),
@@ -752,20 +746,18 @@ fn lexicon_doc_network_cosmik_card() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("isbn"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "International Standard Book Number (ISBN) for books",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "International Standard Book Number (ISBN) for books",
+                                )),
                                 ..Default::default()
                             }),
                         );
                         map.insert(
                             SmolStr::new_static("publishedDate"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("When the content was published"),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "When the content was published",
+                                )),
                                 format: Some(LexStringFormat::Datetime),
                                 ..Default::default()
                             }),
@@ -773,9 +765,9 @@ fn lexicon_doc_network_cosmik_card() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("retrievedAt"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("When the metadata was retrieved"),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "When the metadata was retrieved",
+                                )),
                                 format: Some(LexStringFormat::Datetime),
                                 ..Default::default()
                             }),
@@ -797,11 +789,9 @@ fn lexicon_doc_network_cosmik_card() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("type"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "Type of content (e.g., 'video', 'article')",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Type of content (e.g., 'video', 'article')",
+                                )),
                                 ..Default::default()
                             }),
                         );
@@ -818,7 +808,7 @@ fn lexicon_doc_network_cosmik_card() -> LexiconDoc<'static> {
 
 pub mod url_content_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -919,14 +909,11 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> UrlContent {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> UrlContent {
         UrlContent {
             metadata: self._fields.0,
             url: self._fields.1.unwrap(),
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/network_cosmik/collection.rs b/crates/jacquard-api/src/network_cosmik/collection.rs
index b6e50614..47788a52 100644
--- a/crates/jacquard-api/src/network_cosmik/collection.rs
+++ b/crates/jacquard-api/src/network_cosmik/collection.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// A record representing a collection of cards.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -131,9 +131,7 @@ where
         match self {
             CollectionAccessType::Open => CollectionAccessType::Open,
             CollectionAccessType::Closed => CollectionAccessType::Closed,
-            CollectionAccessType::Other(v) => {
-                CollectionAccessType::Other(v.into_static())
-            }
+            CollectionAccessType::Other(v) => CollectionAccessType::Other(v.into_static()),
         }
     }
 }
@@ -220,7 +218,7 @@ impl LexiconSchema for Collection {
 
 pub mod collection_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -403,10 +401,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> Collection {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> Collection {
         Collection {
             access_type: self._fields.0.unwrap(),
             collaborators: self._fields.1,
@@ -420,10 +415,10 @@ where
 }
 
 fn lexicon_doc_network_cosmik_collection() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("network.cosmik.collection"),
@@ -529,4 +524,4 @@ fn lexicon_doc_network_cosmik_collection() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/network_cosmik/collection_link.rs b/crates/jacquard-api/src/network_cosmik/collection_link.rs
index 0815372a..d2e5cc72 100644
--- a/crates/jacquard-api/src/network_cosmik/collection_link.rs
+++ b/crates/jacquard-api/src/network_cosmik/collection_link.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,11 +24,11 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::com_atproto::repo::strong_ref::StrongRef;
 use crate::network_cosmik::Provenance;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// A record representing the relationship between a card and a collection.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -121,7 +121,7 @@ impl LexiconSchema for CollectionLink {
 
 pub mod collection_link_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -363,10 +363,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> CollectionLink {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> CollectionLink {
         CollectionLink {
             added_at: self._fields.0.unwrap(),
             added_by: self._fields.1.unwrap(),
@@ -381,10 +378,10 @@ where
 }
 
 fn lexicon_doc_network_cosmik_collectionLink() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("network.cosmik.collectionLink"),
@@ -484,4 +481,4 @@ fn lexicon_doc_network_cosmik_collectionLink() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/network_cosmik/collection_link_removal.rs b/crates/jacquard-api/src/network_cosmik/collection_link_removal.rs
index 7f6805a1..fb0d2940 100644
--- a/crates/jacquard-api/src/network_cosmik/collection_link_removal.rs
+++ b/crates/jacquard-api/src/network_cosmik/collection_link_removal.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::com_atproto::repo::strong_ref::StrongRef;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::com_atproto::repo::strong_ref::StrongRef;
+use serde::{Deserialize, Serialize};
 /// A record representing the removal of a collection link by a collection owner when they cannot delete the original link (which exists in another user's repository). The creator of this record (determined from the AT-URI) is the user who performed the removal.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -76,8 +76,7 @@ impl XrpcResp for CollectionLinkRemovalRecord {
     type Err = RecordError;
 }
 
-impl From>
-for CollectionLinkRemoval {
+impl From> for CollectionLinkRemoval {
     fn from(output: CollectionLinkRemovalGetRecordOutput) -> Self {
         output.value
     }
@@ -110,7 +109,7 @@ impl LexiconSchema for CollectionLinkRemoval {
 
 pub mod collection_link_removal_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -167,10 +166,7 @@ pub mod collection_link_removal_state {
 }
 
 /// Builder for constructing an instance of this type.
-pub struct CollectionLinkRemovalBuilder<
-    S: BosStr,
-    St: collection_link_removal_state::State,
-> {
+pub struct CollectionLinkRemovalBuilder {
     _state: PhantomData St>,
     _fields: (Option>, Option, Option>),
     _type: PhantomData S>,
@@ -178,10 +174,7 @@ pub struct CollectionLinkRemovalBuilder<
 
 impl CollectionLinkRemoval {
     /// Create a new builder for this type.
-    pub fn new() -> CollectionLinkRemovalBuilder<
-        S,
-        collection_link_removal_state::Empty,
-    > {
+    pub fn new() -> CollectionLinkRemovalBuilder {
         CollectionLinkRemovalBuilder::new()
     }
 }
@@ -206,10 +199,7 @@ where
     pub fn collection(
         mut self,
         value: impl Into>,
-    ) -> CollectionLinkRemovalBuilder<
-        S,
-        collection_link_removal_state::SetCollection,
-    > {
+    ) -> CollectionLinkRemovalBuilder> {
         self._fields.0 = Option::Some(value.into());
         CollectionLinkRemovalBuilder {
             _state: PhantomData,
@@ -228,10 +218,7 @@ where
     pub fn removed_at(
         mut self,
         value: impl Into,
-    ) -> CollectionLinkRemovalBuilder<
-        S,
-        collection_link_removal_state::SetRemovedAt,
-    > {
+    ) -> CollectionLinkRemovalBuilder> {
         self._fields.1 = Option::Some(value.into());
         CollectionLinkRemovalBuilder {
             _state: PhantomData,
@@ -250,10 +237,7 @@ where
     pub fn removed_link(
         mut self,
         value: impl Into>,
-    ) -> CollectionLinkRemovalBuilder<
-        S,
-        collection_link_removal_state::SetRemovedLink,
-    > {
+    ) -> CollectionLinkRemovalBuilder> {
         self._fields.2 = Option::Some(value.into());
         CollectionLinkRemovalBuilder {
             _state: PhantomData,
@@ -294,10 +278,10 @@ where
 }
 
 fn lexicon_doc_network_cosmik_collectionLinkRemoval() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("network.cosmik.collectionLinkRemoval"),
@@ -360,4 +344,4 @@ fn lexicon_doc_network_cosmik_collectionLinkRemoval() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/network_cosmik/connection.rs b/crates/jacquard-api/src/network_cosmik/connection.rs
index 938d4878..6e2a764f 100644
--- a/crates/jacquard-api/src/network_cosmik/connection.rs
+++ b/crates/jacquard-api/src/network_cosmik/connection.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// A connection linking a source to a target, with optional type and note.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -128,7 +128,7 @@ impl LexiconSchema for Connection {
 
 pub mod connection_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -311,10 +311,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> Connection {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> Connection {
         Connection {
             connection_type: self._fields.0,
             created_at: self._fields.1,
@@ -328,10 +325,10 @@ where
 }
 
 fn lexicon_doc_network_cosmik_connection() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("network.cosmik.connection"),
@@ -340,38 +337,33 @@ fn lexicon_doc_network_cosmik_connection() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static(
-                            "A connection linking a source to a target, with optional type and note.",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "A connection linking a source to a target, with optional type and note.",
+                    )),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("source"), SmolStr::new_static("target")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("source"),
+                            SmolStr::new_static("target"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
                             map.insert(
                                 SmolStr::new_static("connectionType"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("Optional type of connection"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Optional type of connection",
+                                    )),
                                     ..Default::default()
                                 }),
                             );
                             map.insert(
                                 SmolStr::new_static("createdAt"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "Timestamp when this connection was created.",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Timestamp when this connection was created.",
+                                    )),
                                     format: Some(LexStringFormat::Datetime),
                                     ..Default::default()
                                 }),
@@ -379,9 +371,9 @@ fn lexicon_doc_network_cosmik_connection() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("note"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("Optional note about the connection"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Optional note about the connection",
+                                    )),
                                     max_length: Some(1000usize),
                                     ..Default::default()
                                 }),
@@ -389,29 +381,27 @@ fn lexicon_doc_network_cosmik_connection() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("source"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("Source entity (URL string or AT URI)"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Source entity (URL string or AT URI)",
+                                    )),
                                     ..Default::default()
                                 }),
                             );
                             map.insert(
                                 SmolStr::new_static("target"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("Target entity (URL string or AT URI)"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Target entity (URL string or AT URI)",
+                                    )),
                                     ..Default::default()
                                 }),
                             );
                             map.insert(
                                 SmolStr::new_static("updatedAt"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "Timestamp when this connection was last updated.",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Timestamp when this connection was last updated.",
+                                    )),
                                     format: Some(LexStringFormat::Datetime),
                                     ..Default::default()
                                 }),
@@ -427,4 +417,4 @@ fn lexicon_doc_network_cosmik_connection() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/network_cosmik/follow.rs b/crates/jacquard-api/src/network_cosmik/follow.rs
index c864b378..29a25418 100644
--- a/crates/jacquard-api/src/network_cosmik/follow.rs
+++ b/crates/jacquard-api/src/network_cosmik/follow.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// A record representing a follow of a user or collection.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -106,7 +106,7 @@ impl LexiconSchema for Follow {
 
 pub mod follow_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -236,10 +236,10 @@ where
 }
 
 fn lexicon_doc_network_cosmik_follow() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("network.cosmik.follow"),
@@ -298,4 +298,4 @@ fn lexicon_doc_network_cosmik_follow() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/network_slices.rs b/crates/jacquard-api/src/network_slices.rs
index 34935be5..2e336cda 100644
--- a/crates/jacquard-api/src/network_slices.rs
+++ b/crates/jacquard-api/src/network_slices.rs
@@ -7,4 +7,4 @@ pub mod actor;
 pub mod lexicon;
 pub mod slice;
 pub mod tools;
-pub mod waitlist;
\ No newline at end of file
+pub mod waitlist;
diff --git a/crates/jacquard-api/src/network_slices/actor.rs b/crates/jacquard-api/src/network_slices/actor.rs
index 837292dc..dd45d673 100644
--- a/crates/jacquard-api/src/network_slices/actor.rs
+++ b/crates/jacquard-api/src/network_slices/actor.rs
@@ -7,13 +7,12 @@
 
 pub mod profile;
 
-
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,10 +25,13 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ProfileViewBasic {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub avatar: Option,
@@ -105,7 +107,7 @@ impl LexiconSchema for ProfileViewBasic {
 
 pub mod profile_view_basic_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -150,7 +152,13 @@ pub mod profile_view_basic_state {
 /// Builder for constructing an instance of this type.
 pub struct ProfileViewBasicBuilder {
     _state: PhantomData St>,
-    _fields: (Option, Option, Option>, Option, Option>),
+    _fields: (
+        Option,
+        Option,
+        Option>,
+        Option,
+        Option>,
+    ),
     _type: PhantomData S>,
 }
 
@@ -267,10 +275,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> ProfileViewBasic {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> ProfileViewBasic {
         ProfileViewBasic {
             avatar: self._fields.0,
             description: self._fields.1,
@@ -283,10 +288,10 @@ where
 }
 
 fn lexicon_doc_network_slices_actor_defs() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("network.slices.actor.defs"),
@@ -295,22 +300,25 @@ fn lexicon_doc_network_slices_actor_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("profileViewBasic"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![SmolStr::new_static("did"), SmolStr::new_static("handle")],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("did"),
+                        SmolStr::new_static("handle"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("avatar"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("description"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Free-form profile description text."),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Free-form profile description text.",
+                                )),
                                 max_length: Some(2560usize),
                                 max_graphemes: Some(256usize),
                                 ..Default::default()
@@ -347,4 +355,4 @@ fn lexicon_doc_network_slices_actor_defs() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/network_slices/actor/profile.rs b/crates/jacquard-api/src/network_slices/actor/profile.rs
index 15ccf92b..17c7d47e 100644
--- a/crates/jacquard-api/src/network_slices/actor/profile.rs
+++ b/crates/jacquard-api/src/network_slices/actor/profile.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -27,7 +27,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// A declaration of a basic account profile.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -123,25 +123,20 @@ impl LexiconSchema for Profile {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["image/png", "image/jpeg"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("avatar"),
-                        accepted: vec![
-                            "image/png".to_string(), "image/jpeg".to_string()
-                        ],
+                        accepted: vec!["image/png".to_string(), "image/jpeg".to_string()],
                         actual: mime.to_string(),
                     });
                 }
@@ -197,7 +192,7 @@ impl LexiconSchema for Profile {
 
 pub mod profile_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -318,10 +313,10 @@ where
 }
 
 fn lexicon_doc_network_slices_actor_profile() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("network.slices.actor.profile"),
@@ -330,9 +325,9 @@ fn lexicon_doc_network_slices_actor_profile() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static("A declaration of a basic account profile."),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "A declaration of a basic account profile.",
+                    )),
                     key: Some(CowStr::new_static("literal:self")),
                     record: LexRecordRecord::Object(LexObject {
                         properties: {
@@ -340,7 +335,9 @@ fn lexicon_doc_network_slices_actor_profile() -> LexiconDoc<'static> {
                             let mut map = BTreeMap::new();
                             map.insert(
                                 SmolStr::new_static("avatar"),
-                                LexObjectProperty::Blob(LexBlob { ..Default::default() }),
+                                LexObjectProperty::Blob(LexBlob {
+                                    ..Default::default()
+                                }),
                             );
                             map.insert(
                                 SmolStr::new_static("createdAt"),
@@ -352,9 +349,9 @@ fn lexicon_doc_network_slices_actor_profile() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("description"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("Free-form profile description text."),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Free-form profile description text.",
+                                    )),
                                     max_length: Some(2560usize),
                                     max_graphemes: Some(256usize),
                                     ..Default::default()
@@ -379,4 +376,4 @@ fn lexicon_doc_network_slices_actor_profile() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/network_slices/lexicon.rs b/crates/jacquard-api/src/network_slices/lexicon.rs
index e7fb03a1..c698e6cd 100644
--- a/crates/jacquard-api/src/network_slices/lexicon.rs
+++ b/crates/jacquard-api/src/network_slices/lexicon.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(
@@ -144,7 +144,7 @@ fn _default_lexicon_excluded_from_sync() -> Option {
 
 pub mod lexicon_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -319,10 +319,7 @@ where
     St::Nsid: lexicon_state::IsUnset,
 {
     /// Set the `nsid` field (required)
-    pub fn nsid(
-        mut self,
-        value: impl Into,
-    ) -> LexiconBuilder> {
+    pub fn nsid(mut self, value: impl Into) -> LexiconBuilder> {
         self._fields.4 = Option::Some(value.into());
         LexiconBuilder {
             _state: PhantomData,
@@ -401,10 +398,10 @@ where
 }
 
 fn lexicon_doc_network_slices_lexicon() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("network.slices.lexicon"),
@@ -415,23 +412,21 @@ fn lexicon_doc_network_slices_lexicon() -> LexiconDoc<'static> {
                 LexUserType::Record(LexRecord {
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("nsid"),
-                                SmolStr::new_static("definitions"),
-                                SmolStr::new_static("createdAt"),
-                                SmolStr::new_static("slice")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("nsid"),
+                            SmolStr::new_static("definitions"),
+                            SmolStr::new_static("createdAt"),
+                            SmolStr::new_static("slice"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
                             map.insert(
                                 SmolStr::new_static("createdAt"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("When the lexicon was created"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "When the lexicon was created",
+                                    )),
                                     format: Some(LexStringFormat::Datetime),
                                     ..Default::default()
                                 }),
@@ -439,20 +434,18 @@ fn lexicon_doc_network_slices_lexicon() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("definitions"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("The lexicon schema definitions as JSON"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "The lexicon schema definitions as JSON",
+                                    )),
                                     ..Default::default()
                                 }),
                             );
                             map.insert(
                                 SmolStr::new_static("description"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "Human-readable description of the lexicon",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Human-readable description of the lexicon",
+                                    )),
                                     max_length: Some(500usize),
                                     ..Default::default()
                                 }),
@@ -466,9 +459,9 @@ fn lexicon_doc_network_slices_lexicon() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("nsid"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("Namespaced identifier for the lexicon"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Namespaced identifier for the lexicon",
+                                    )),
                                     max_length: Some(256usize),
                                     ..Default::default()
                                 }),
@@ -476,11 +469,9 @@ fn lexicon_doc_network_slices_lexicon() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("slice"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "AT-URI reference to the slice this lexicon belongs to",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "AT-URI reference to the slice this lexicon belongs to",
+                                    )),
                                     format: Some(LexStringFormat::AtUri),
                                     ..Default::default()
                                 }),
@@ -488,9 +479,9 @@ fn lexicon_doc_network_slices_lexicon() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("updatedAt"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("When the lexicon was last updated"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "When the lexicon was last updated",
+                                    )),
                                     format: Some(LexStringFormat::Datetime),
                                     ..Default::default()
                                 }),
@@ -506,4 +497,4 @@ fn lexicon_doc_network_slices_lexicon() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/network_slices/slice.rs b/crates/jacquard-api/src/network_slices/slice.rs
index debe131c..39adc17d 100644
--- a/crates/jacquard-api/src/network_slices/slice.rs
+++ b/crates/jacquard-api/src/network_slices/slice.rs
@@ -22,13 +22,12 @@ pub mod stats;
 pub mod sync_user_collections;
 pub mod update_o_auth_client;
 
-
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -42,11 +41,11 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::network_slices::actor::ProfileViewBasic;
 use crate::network_slices::slice;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(
@@ -77,9 +76,11 @@ pub struct SliceGetRecordOutput {
     pub value: Slice,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct SliceView {
     pub cid: Cid,
     pub created_at: Datetime,
@@ -112,9 +113,11 @@ pub struct SliceView {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct SparklinePoint {
     pub count: i64,
     pub timestamp: Datetime,
@@ -234,7 +237,7 @@ impl LexiconSchema for SparklinePoint {
 
 pub mod slice_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -340,10 +343,7 @@ where
     St::Domain: slice_state::IsUnset,
 {
     /// Set the `domain` field (required)
-    pub fn domain(
-        mut self,
-        value: impl Into,
-    ) -> SliceBuilder> {
+    pub fn domain(mut self, value: impl Into) -> SliceBuilder> {
         self._fields.1 = Option::Some(value.into());
         SliceBuilder {
             _state: PhantomData,
@@ -359,10 +359,7 @@ where
     St::Name: slice_state::IsUnset,
 {
     /// Set the `name` field (required)
-    pub fn name(
-        mut self,
-        value: impl Into,
-    ) -> SliceBuilder> {
+    pub fn name(mut self, value: impl Into) -> SliceBuilder> {
         self._fields.2 = Option::Some(value.into());
         SliceBuilder {
             _state: PhantomData,
@@ -400,10 +397,10 @@ where
 }
 
 fn lexicon_doc_network_slices_slice() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("network.slices.slice"),
@@ -468,7 +465,7 @@ fn lexicon_doc_network_slices_slice() -> LexiconDoc<'static> {
 
 pub mod slice_view_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -611,18 +608,7 @@ impl SliceViewBuilder {
         SliceViewBuilder {
             _state: PhantomData,
             _fields: (
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
+                None, None, None, None, None, None, None, None, None, None, None, None,
             ),
             _type: PhantomData,
         }
@@ -765,18 +751,12 @@ where
 
 impl SliceViewBuilder {
     /// Set the `sparkline` field (optional)
-    pub fn sparkline(
-        mut self,
-        value: impl Into>>>,
-    ) -> Self {
+    pub fn sparkline(mut self, value: impl Into>>>) -> Self {
         self._fields.8 = value.into();
         self
     }
     /// Set the `sparkline` field to an Option value (optional)
-    pub fn maybe_sparkline(
-        mut self,
-        value: Option>>,
-    ) -> Self {
+    pub fn maybe_sparkline(mut self, value: Option>>) -> Self {
         self._fields.8 = value;
         self
     }
@@ -856,10 +836,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> SliceView {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> SliceView {
         SliceView {
             cid: self._fields.0.unwrap(),
             created_at: self._fields.1.unwrap(),
@@ -879,10 +856,10 @@ where
 }
 
 fn lexicon_doc_network_slices_slice_defs() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("network.slices.slice.defs"),
@@ -891,14 +868,14 @@ fn lexicon_doc_network_slices_slice_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("sliceView"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("uri"), SmolStr::new_static("cid"),
-                            SmolStr::new_static("name"), SmolStr::new_static("domain"),
-                            SmolStr::new_static("creator"),
-                            SmolStr::new_static("createdAt")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("uri"),
+                        SmolStr::new_static("cid"),
+                        SmolStr::new_static("name"),
+                        SmolStr::new_static("domain"),
+                        SmolStr::new_static("creator"),
+                        SmolStr::new_static("createdAt"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -928,11 +905,9 @@ fn lexicon_doc_network_slices_slice_defs() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("domain"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "Primary domain namespace for this slice (e.g. social.grain)",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Primary domain namespace for this slice (e.g. social.grain)",
+                                )),
                                 ..Default::default()
                             }),
                         );
@@ -957,20 +932,16 @@ fn lexicon_doc_network_slices_slice_defs() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("name"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Display name of the slice"),
-                                ),
+                                description: Some(CowStr::new_static("Display name of the slice")),
                                 ..Default::default()
                             }),
                         );
                         map.insert(
                             SmolStr::new_static("sparkline"),
                             LexObjectProperty::Array(LexArray {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "Recent activity sparkline data points for the last 24 hours",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Recent activity sparkline data points for the last 24 hours",
+                                )),
                                 items: LexArrayItem::Ref(LexRef {
                                     r#ref: CowStr::new_static("#sparklinePoint"),
                                     ..Default::default()
@@ -1005,12 +976,10 @@ fn lexicon_doc_network_slices_slice_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("sparklinePoint"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("timestamp"),
-                            SmolStr::new_static("count")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("timestamp"),
+                        SmolStr::new_static("count"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -1041,7 +1010,7 @@ fn lexicon_doc_network_slices_slice_defs() -> LexiconDoc<'static> {
 
 pub mod sparkline_point_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1161,14 +1130,11 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> SparklinePoint {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> SparklinePoint {
         SparklinePoint {
             count: self._fields.0.unwrap(),
             timestamp: self._fields.1.unwrap(),
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/network_slices/slice/clear_slice_records.rs b/crates/jacquard-api/src/network_slices/slice/clear_slice_records.rs
index aaf8e1d0..22aeb659 100644
--- a/crates/jacquard-api/src/network_slices/slice/clear_slice_records.rs
+++ b/crates/jacquard-api/src/network_slices/slice/clear_slice_records.rs
@@ -10,14 +10,17 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ClearSliceRecords {
     ///AT-URI of the slice to clear
     pub slice: S,
@@ -25,9 +28,11 @@ pub struct ClearSliceRecords {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ClearSliceRecordsOutput {
     ///Success message
     pub message: S,
@@ -46,9 +51,8 @@ impl jacquard_common::xrpc::XrpcResp for ClearSliceRecordsResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for ClearSliceRecords {
     const NSID: &'static str = "network.slices.slice.clearSliceRecords";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = ClearSliceRecordsResponse;
 }
 
@@ -56,9 +60,8 @@ impl jacquard_common::xrpc::XrpcRequest for ClearSliceRecords {
 pub struct ClearSliceRecordsRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for ClearSliceRecordsRequest {
     const PATH: &'static str = "/xrpc/network.slices.slice.clearSliceRecords";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = ClearSliceRecords;
     type Response = ClearSliceRecordsResponse;
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/network_slices/slice/create_o_auth_client.rs b/crates/jacquard-api/src/network_slices/slice/create_o_auth_client.rs
index 1b8322be..598d70c4 100644
--- a/crates/jacquard-api/src/network_slices/slice/create_o_auth_client.rs
+++ b/crates/jacquard-api/src/network_slices/slice/create_o_auth_client.rs
@@ -8,18 +8,21 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::network_slices::slice::get_o_auth_clients::OauthClientDetails;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::UriValue;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::network_slices::slice::get_o_auth_clients::OauthClientDetails;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct CreateOAuthClient {
     ///Human-readable name of the OAuth client
     pub client_name: S,
@@ -52,9 +55,11 @@ pub struct CreateOAuthClient {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct CreateOAuthClientOutput {
     #[serde(flatten)]
     pub value: OauthClientDetails,
@@ -73,9 +78,8 @@ impl jacquard_common::xrpc::XrpcResp for CreateOAuthClientResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for CreateOAuthClient {
     const NSID: &'static str = "network.slices.slice.createOAuthClient";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = CreateOAuthClientResponse;
 }
 
@@ -83,16 +87,15 @@ impl jacquard_common::xrpc::XrpcRequest for CreateOAuthClient {
 pub struct CreateOAuthClientRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for CreateOAuthClientRequest {
     const PATH: &'static str = "/xrpc/network.slices.slice.createOAuthClient";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = CreateOAuthClient;
     type Response = CreateOAuthClientResponse;
 }
 
 pub mod create_o_auth_client_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -356,10 +359,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> CreateOAuthClient {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> CreateOAuthClient {
         CreateOAuthClient {
             client_name: self._fields.0.unwrap(),
             client_uri: self._fields.1,
@@ -374,4 +374,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/network_slices/slice/delete_o_auth_client.rs b/crates/jacquard-api/src/network_slices/slice/delete_o_auth_client.rs
index 1cfc42ea..8fcc9ced 100644
--- a/crates/jacquard-api/src/network_slices/slice/delete_o_auth_client.rs
+++ b/crates/jacquard-api/src/network_slices/slice/delete_o_auth_client.rs
@@ -10,14 +10,17 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct DeleteOAuthClient {
     ///OAuth client ID to delete
     pub client_id: S,
@@ -25,9 +28,11 @@ pub struct DeleteOAuthClient {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct DeleteOAuthClientOutput {
     ///Success confirmation message
     pub message: S,
@@ -46,9 +51,8 @@ impl jacquard_common::xrpc::XrpcResp for DeleteOAuthClientResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for DeleteOAuthClient {
     const NSID: &'static str = "network.slices.slice.deleteOAuthClient";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = DeleteOAuthClientResponse;
 }
 
@@ -56,9 +60,8 @@ impl jacquard_common::xrpc::XrpcRequest for DeleteOAuthClient {
 pub struct DeleteOAuthClientRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for DeleteOAuthClientRequest {
     const PATH: &'static str = "/xrpc/network.slices.slice.deleteOAuthClient";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = DeleteOAuthClient;
     type Response = DeleteOAuthClientResponse;
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/network_slices/slice/get_actors.rs b/crates/jacquard-api/src/network_slices/slice/get_actors.rs
index 04224687..2c6d7070 100644
--- a/crates/jacquard-api/src/network_slices/slice/get_actors.rs
+++ b/crates/jacquard-api/src/network_slices/slice/get_actors.rs
@@ -10,24 +10,27 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
 use jacquard_common::deps::smol_str::SmolStr;
-use jacquard_common::types::string::{Did, Handle, Datetime};
+use jacquard_common::types::string::{Datetime, Did, Handle};
 use jacquard_common::types::value::Data;
 use jacquard_derive::IntoStatic;
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::network_slices::slice::get_actors;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::network_slices::slice::get_actors;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Actor {
     ///Decentralized identifier of the actor
     pub did: Did,
@@ -42,9 +45,11 @@ pub struct Actor {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetActors {
     ///Pagination cursor from previous response
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -62,9 +67,11 @@ pub struct GetActors {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetActorsOutput {
     pub actors: Vec>,
     ///Pagination cursor for next page
@@ -100,9 +107,8 @@ impl jacquard_common::xrpc::XrpcResp for GetActorsResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for GetActors {
     const NSID: &'static str = "network.slices.slice.getActors";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = GetActorsResponse;
 }
 
@@ -110,16 +116,15 @@ impl jacquard_common::xrpc::XrpcRequest for GetActors {
 pub struct GetActorsRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for GetActorsRequest {
     const PATH: &'static str = "/xrpc/network.slices.slice.getActors";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = GetActors;
     type Response = GetActorsResponse;
 }
 
 pub mod actor_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -178,7 +183,12 @@ pub mod actor_state {
 /// Builder for constructing an instance of this type.
 pub struct ActorBuilder {
     _state: PhantomData St>,
-    _fields: (Option>, Option>, Option, Option),
+    _fields: (
+        Option>,
+        Option>,
+        Option,
+        Option,
+    ),
     _type: PhantomData S>,
 }
 
@@ -206,10 +216,7 @@ where
     St::Did: actor_state::IsUnset,
 {
     /// Set the `did` field (required)
-    pub fn did(
-        mut self,
-        value: impl Into>,
-    ) -> ActorBuilder> {
+    pub fn did(mut self, value: impl Into>) -> ActorBuilder> {
         self._fields.0 = Option::Some(value.into());
         ActorBuilder {
             _state: PhantomData,
@@ -300,10 +307,10 @@ where
 }
 
 fn lexicon_doc_network_slices_slice_getActors() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("network.slices.slice.getActors"),
@@ -312,21 +319,20 @@ fn lexicon_doc_network_slices_slice_getActors() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("actor"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("did"), SmolStr::new_static("sliceUri"),
-                            SmolStr::new_static("indexedAt")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("did"),
+                        SmolStr::new_static("sliceUri"),
+                        SmolStr::new_static("indexedAt"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("did"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Decentralized identifier of the actor"),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Decentralized identifier of the actor",
+                                )),
                                 format: Some(LexStringFormat::Did),
                                 ..Default::default()
                             }),
@@ -334,9 +340,9 @@ fn lexicon_doc_network_slices_slice_getActors() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("handle"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Human-readable handle of the actor"),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Human-readable handle of the actor",
+                                )),
                                 format: Some(LexStringFormat::Handle),
                                 ..Default::default()
                             }),
@@ -344,9 +350,9 @@ fn lexicon_doc_network_slices_slice_getActors() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("indexedAt"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("When this actor was indexed"),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "When this actor was indexed",
+                                )),
                                 format: Some(LexStringFormat::Datetime),
                                 ..Default::default()
                             }),
@@ -354,11 +360,9 @@ fn lexicon_doc_network_slices_slice_getActors() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("sliceUri"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "AT-URI of the slice this actor is indexed in",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "AT-URI of the slice this actor is indexed in",
+                                )),
                                 ..Default::default()
                             }),
                         );
@@ -372,51 +376,47 @@ fn lexicon_doc_network_slices_slice_getActors() -> LexiconDoc<'static> {
                 LexUserType::XrpcProcedure(LexXrpcProcedure {
                     input: Some(LexXrpcBody {
                         encoding: CowStr::new_static("application/json"),
-                        schema: Some(
-                            LexXrpcBodySchema::Object(LexObject {
-                                required: Some(vec![SmolStr::new_static("slice")]),
-                                properties: {
-                                    #[allow(unused_mut)]
-                                    let mut map = BTreeMap::new();
-                                    map.insert(
-                                        SmolStr::new_static("cursor"),
-                                        LexObjectProperty::String(LexString {
-                                            description: Some(
-                                                CowStr::new_static(
-                                                    "Pagination cursor from previous response",
-                                                ),
-                                            ),
-                                            ..Default::default()
-                                        }),
-                                    );
-                                    map.insert(
-                                        SmolStr::new_static("limit"),
-                                        LexObjectProperty::Integer(LexInteger {
-                                            minimum: Some(1i64),
-                                            maximum: Some(100i64),
-                                            ..Default::default()
-                                        }),
-                                    );
-                                    map.insert(
-                                        SmolStr::new_static("slice"),
-                                        LexObjectProperty::String(LexString {
-                                            description: Some(
-                                                CowStr::new_static("AT-URI of the slice to query"),
-                                            ),
-                                            ..Default::default()
-                                        }),
-                                    );
-                                    map.insert(
-                                        SmolStr::new_static("where"),
-                                        LexObjectProperty::Unknown(LexUnknown {
-                                            ..Default::default()
-                                        }),
-                                    );
-                                    map
-                                },
-                                ..Default::default()
-                            }),
-                        ),
+                        schema: Some(LexXrpcBodySchema::Object(LexObject {
+                            required: Some(vec![SmolStr::new_static("slice")]),
+                            properties: {
+                                #[allow(unused_mut)]
+                                let mut map = BTreeMap::new();
+                                map.insert(
+                                    SmolStr::new_static("cursor"),
+                                    LexObjectProperty::String(LexString {
+                                        description: Some(CowStr::new_static(
+                                            "Pagination cursor from previous response",
+                                        )),
+                                        ..Default::default()
+                                    }),
+                                );
+                                map.insert(
+                                    SmolStr::new_static("limit"),
+                                    LexObjectProperty::Integer(LexInteger {
+                                        minimum: Some(1i64),
+                                        maximum: Some(100i64),
+                                        ..Default::default()
+                                    }),
+                                );
+                                map.insert(
+                                    SmolStr::new_static("slice"),
+                                    LexObjectProperty::String(LexString {
+                                        description: Some(CowStr::new_static(
+                                            "AT-URI of the slice to query",
+                                        )),
+                                        ..Default::default()
+                                    }),
+                                );
+                                map.insert(
+                                    SmolStr::new_static("where"),
+                                    LexObjectProperty::Unknown(LexUnknown {
+                                        ..Default::default()
+                                    }),
+                                );
+                                map
+                            },
+                            ..Default::default()
+                        })),
                         ..Default::default()
                     }),
                     ..Default::default()
@@ -430,4 +430,4 @@ fn lexicon_doc_network_slices_slice_getActors() -> LexiconDoc<'static> {
 
 fn _default_get_actors_limit() -> Option {
     Some(50i64)
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/network_slices/slice/get_jetstream_logs.rs b/crates/jacquard-api/src/network_slices/slice/get_jetstream_logs.rs
index f250194a..9ae77d6e 100644
--- a/crates/jacquard-api/src/network_slices/slice/get_jetstream_logs.rs
+++ b/crates/jacquard-api/src/network_slices/slice/get_jetstream_logs.rs
@@ -8,17 +8,20 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::network_slices::slice::get_job_logs::LogEntry;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::network_slices::slice::get_job_logs::LogEntry;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetJetstreamLogs {
     ///Defaults to `100`. Min: 1. Max: 1000.
     #[serde(default = "_default_limit")]
@@ -28,9 +31,11 @@ pub struct GetJetstreamLogs {
     pub slice: Option,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetJetstreamLogsOutput {
     pub logs: Vec>,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
@@ -67,7 +72,7 @@ fn _default_limit() -> Option {
 
 pub mod get_jetstream_logs_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -146,4 +151,4 @@ where
             slice: self._fields.1,
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/network_slices/slice/get_jetstream_status.rs b/crates/jacquard-api/src/network_slices/slice/get_jetstream_status.rs
index 95529fd2..9281f8dd 100644
--- a/crates/jacquard-api/src/network_slices/slice/get_jetstream_status.rs
+++ b/crates/jacquard-api/src/network_slices/slice/get_jetstream_status.rs
@@ -10,18 +10,21 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(rename_all = "camelCase")]
 pub struct GetJetstreamStatus;
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetJetstreamStatusOutput {
     ///Whether Jetstream is currently connected and receiving events
     pub connected: bool,
@@ -51,4 +54,4 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetJetstreamStatusRequest {
     const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Query;
     type Request = GetJetstreamStatus;
     type Response = GetJetstreamStatusResponse;
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/network_slices/slice/get_job_logs.rs b/crates/jacquard-api/src/network_slices/slice/get_job_logs.rs
index cd79a84a..23c1160a 100644
--- a/crates/jacquard-api/src/network_slices/slice/get_job_logs.rs
+++ b/crates/jacquard-api/src/network_slices/slice/get_job_logs.rs
@@ -10,24 +10,27 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
 use jacquard_common::deps::smol_str::SmolStr;
-use jacquard_common::types::string::{Did, Datetime};
+use jacquard_common::types::string::{Datetime, Did};
 use jacquard_common::types::value::Data;
 use jacquard_derive::IntoStatic;
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::network_slices::slice::get_job_logs;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::network_slices::slice::get_job_logs;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct LogEntry {
     ///When the log entry was created
     pub created_at: Datetime,
@@ -55,9 +58,11 @@ pub struct LogEntry {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetJobLogs {
     pub job_id: S,
     ///Defaults to `100`. Min: 1. Max: 1000.
@@ -66,9 +71,11 @@ pub struct GetJobLogs {
     pub limit: Option,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetJobLogsOutput {
     pub logs: Vec>,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
@@ -116,7 +123,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetJobLogsRequest {
 
 pub mod log_entry_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -266,10 +273,7 @@ where
     St::Id: log_entry_state::IsUnset,
 {
     /// Set the `id` field (required)
-    pub fn id(
-        mut self,
-        value: impl Into,
-    ) -> LogEntryBuilder> {
+    pub fn id(mut self, value: impl Into) -> LogEntryBuilder> {
         self._fields.1 = Option::Some(value.into());
         LogEntryBuilder {
             _state: PhantomData,
@@ -430,10 +434,10 @@ where
 }
 
 fn lexicon_doc_network_slices_slice_getJobLogs() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("network.slices.slice.getJobLogs"),
@@ -442,22 +446,22 @@ fn lexicon_doc_network_slices_slice_getJobLogs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("logEntry"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("id"), SmolStr::new_static("createdAt"),
-                            SmolStr::new_static("logType"), SmolStr::new_static("level"),
-                            SmolStr::new_static("message")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("id"),
+                        SmolStr::new_static("createdAt"),
+                        SmolStr::new_static("logType"),
+                        SmolStr::new_static("level"),
+                        SmolStr::new_static("message"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("createdAt"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("When the log entry was created"),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "When the log entry was created",
+                                )),
                                 format: Some(LexStringFormat::Datetime),
                                 ..Default::default()
                             }),
@@ -471,9 +475,9 @@ fn lexicon_doc_network_slices_slice_getJobLogs() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("jobId"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("UUID of related job if applicable"),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "UUID of related job if applicable",
+                                )),
                                 ..Default::default()
                             }),
                         );
@@ -507,18 +511,18 @@ fn lexicon_doc_network_slices_slice_getJobLogs() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("sliceUri"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("AT-URI of related slice if applicable"),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "AT-URI of related slice if applicable",
+                                )),
                                 ..Default::default()
                             }),
                         );
                         map.insert(
                             SmolStr::new_static("userDid"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("DID of related user if applicable"),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "DID of related user if applicable",
+                                )),
                                 format: Some(LexStringFormat::Did),
                                 ..Default::default()
                             }),
@@ -531,32 +535,28 @@ fn lexicon_doc_network_slices_slice_getJobLogs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::XrpcQuery(LexXrpcQuery {
-                    parameters: Some(
-                        LexXrpcQueryParameter::Params(LexXrpcParameters {
-                            required: Some(vec![SmolStr::new_static("jobId")]),
-                            properties: {
-                                #[allow(unused_mut)]
-                                let mut map = BTreeMap::new();
-                                map.insert(
-                                    SmolStr::new_static("jobId"),
-                                    LexXrpcParametersProperty::String(LexString {
-                                        description: Some(
-                                            CowStr::new_static("UUID of the sync job"),
-                                        ),
-                                        ..Default::default()
-                                    }),
-                                );
-                                map.insert(
-                                    SmolStr::new_static("limit"),
-                                    LexXrpcParametersProperty::Integer(LexInteger {
-                                        ..Default::default()
-                                    }),
-                                );
-                                map
-                            },
-                            ..Default::default()
-                        }),
-                    ),
+                    parameters: Some(LexXrpcQueryParameter::Params(LexXrpcParameters {
+                        required: Some(vec![SmolStr::new_static("jobId")]),
+                        properties: {
+                            #[allow(unused_mut)]
+                            let mut map = BTreeMap::new();
+                            map.insert(
+                                SmolStr::new_static("jobId"),
+                                LexXrpcParametersProperty::String(LexString {
+                                    description: Some(CowStr::new_static("UUID of the sync job")),
+                                    ..Default::default()
+                                }),
+                            );
+                            map.insert(
+                                SmolStr::new_static("limit"),
+                                LexXrpcParametersProperty::Integer(LexInteger {
+                                    ..Default::default()
+                                }),
+                            );
+                            map
+                        },
+                        ..Default::default()
+                    })),
                     ..Default::default()
                 }),
             );
@@ -572,7 +572,7 @@ fn _default_limit() -> Option {
 
 pub mod get_job_logs_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -671,4 +671,4 @@ where
             limit: self._fields.1,
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/network_slices/slice/get_job_status.rs b/crates/jacquard-api/src/network_slices/slice/get_job_status.rs
index 48f9d575..a84b2653 100644
--- a/crates/jacquard-api/src/network_slices/slice/get_job_status.rs
+++ b/crates/jacquard-api/src/network_slices/slice/get_job_status.rs
@@ -10,24 +10,27 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
 use jacquard_common::deps::smol_str::SmolStr;
-use jacquard_common::types::string::{Nsid, Datetime};
+use jacquard_common::types::string::{Datetime, Nsid};
 use jacquard_common::types::value::Data;
 use jacquard_derive::IntoStatic;
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::network_slices::slice::get_job_status;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::network_slices::slice::get_job_status;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct JobStatus {
     ///When the job completed
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -53,16 +56,20 @@ pub struct JobStatus {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetJobStatus {
     pub job_id: S,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetJobStatusOutput {
     #[serde(flatten)]
     pub value: Data,
@@ -70,9 +77,11 @@ pub struct GetJobStatusOutput {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct SyncJobResult {
     ///List of collection NSIDs that were synced
     pub collections_synced: Vec>,
@@ -144,7 +153,7 @@ impl LexiconSchema for SyncJobResult {
 
 pub mod job_status_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -316,18 +325,12 @@ where
 
 impl JobStatusBuilder {
     /// Set the `result` field (optional)
-    pub fn result(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn result(mut self, value: impl Into>>) -> Self {
         self._fields.4 = value.into();
         self
     }
     /// Set the `result` field to an Option value (optional)
-    pub fn maybe_result(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_result(mut self, value: Option>) -> Self {
         self._fields.4 = value;
         self
     }
@@ -407,10 +410,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> JobStatus {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> JobStatus {
         JobStatus {
             completed_at: self._fields.0,
             created_at: self._fields.1.unwrap(),
@@ -426,10 +426,10 @@ where
 }
 
 fn lexicon_doc_network_slices_slice_getJobStatus() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("network.slices.slice.getJobStatus"),
@@ -438,22 +438,19 @@ fn lexicon_doc_network_slices_slice_getJobStatus() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("jobStatus"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("jobId"), SmolStr::new_static("status"),
-                            SmolStr::new_static("createdAt"),
-                            SmolStr::new_static("retryCount")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("jobId"),
+                        SmolStr::new_static("status"),
+                        SmolStr::new_static("createdAt"),
+                        SmolStr::new_static("retryCount"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("completedAt"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("When the job completed"),
-                                ),
+                                description: Some(CowStr::new_static("When the job completed")),
                                 format: Some(LexStringFormat::Datetime),
                                 ..Default::default()
                             }),
@@ -461,9 +458,7 @@ fn lexicon_doc_network_slices_slice_getJobStatus() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("createdAt"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("When the job was created"),
-                                ),
+                                description: Some(CowStr::new_static("When the job was created")),
                                 format: Some(LexStringFormat::Datetime),
                                 ..Default::default()
                             }),
@@ -471,9 +466,9 @@ fn lexicon_doc_network_slices_slice_getJobStatus() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("error"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Error message if job failed"),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Error message if job failed",
+                                )),
                                 ..Default::default()
                             }),
                         );
@@ -500,9 +495,9 @@ fn lexicon_doc_network_slices_slice_getJobStatus() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("startedAt"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("When the job started executing"),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "When the job started executing",
+                                )),
                                 format: Some(LexStringFormat::Datetime),
                                 ..Default::default()
                             }),
@@ -510,9 +505,7 @@ fn lexicon_doc_network_slices_slice_getJobStatus() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("status"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Current status of the job"),
-                                ),
+                                description: Some(CowStr::new_static("Current status of the job")),
                                 ..Default::default()
                             }),
                         );
@@ -524,52 +517,44 @@ fn lexicon_doc_network_slices_slice_getJobStatus() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::XrpcQuery(LexXrpcQuery {
-                    parameters: Some(
-                        LexXrpcQueryParameter::Params(LexXrpcParameters {
-                            required: Some(vec![SmolStr::new_static("jobId")]),
-                            properties: {
-                                #[allow(unused_mut)]
-                                let mut map = BTreeMap::new();
-                                map.insert(
-                                    SmolStr::new_static("jobId"),
-                                    LexXrpcParametersProperty::String(LexString {
-                                        description: Some(
-                                            CowStr::new_static("UUID of the sync job"),
-                                        ),
-                                        ..Default::default()
-                                    }),
-                                );
-                                map
-                            },
-                            ..Default::default()
-                        }),
-                    ),
+                    parameters: Some(LexXrpcQueryParameter::Params(LexXrpcParameters {
+                        required: Some(vec![SmolStr::new_static("jobId")]),
+                        properties: {
+                            #[allow(unused_mut)]
+                            let mut map = BTreeMap::new();
+                            map.insert(
+                                SmolStr::new_static("jobId"),
+                                LexXrpcParametersProperty::String(LexString {
+                                    description: Some(CowStr::new_static("UUID of the sync job")),
+                                    ..Default::default()
+                                }),
+                            );
+                            map
+                        },
+                        ..Default::default()
+                    })),
                     ..Default::default()
                 }),
             );
             map.insert(
                 SmolStr::new_static("syncJobResult"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("success"),
-                            SmolStr::new_static("totalRecords"),
-                            SmolStr::new_static("collectionsSynced"),
-                            SmolStr::new_static("reposProcessed"),
-                            SmolStr::new_static("message")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("success"),
+                        SmolStr::new_static("totalRecords"),
+                        SmolStr::new_static("collectionsSynced"),
+                        SmolStr::new_static("reposProcessed"),
+                        SmolStr::new_static("message"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("collectionsSynced"),
                             LexObjectProperty::Array(LexArray {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "List of collection NSIDs that were synced",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "List of collection NSIDs that were synced",
+                                )),
                                 items: LexArrayItem::String(LexString {
                                     format: Some(LexStringFormat::Nsid),
                                     ..Default::default()
@@ -580,11 +565,9 @@ fn lexicon_doc_network_slices_slice_getJobStatus() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("message"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "Human-readable message about the job completion",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Human-readable message about the job completion",
+                                )),
                                 ..Default::default()
                             }),
                         );
@@ -619,7 +602,7 @@ fn lexicon_doc_network_slices_slice_getJobStatus() -> LexiconDoc<'static> {
 
 pub mod get_job_status_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -708,7 +691,7 @@ where
 
 pub mod sync_job_result_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -801,7 +784,13 @@ pub mod sync_job_result_state {
 /// Builder for constructing an instance of this type.
 pub struct SyncJobResultBuilder {
     _state: PhantomData St>,
-    _fields: (Option>>, Option, Option, Option, Option),
+    _fields: (
+        Option>>,
+        Option,
+        Option,
+        Option,
+        Option,
+    ),
     _type: PhantomData S>,
 }
 
@@ -939,10 +928,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> SyncJobResult {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> SyncJobResult {
         SyncJobResult {
             collections_synced: self._fields.0.unwrap(),
             message: self._fields.1.unwrap(),
@@ -952,4 +938,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/network_slices/slice/get_o_auth_clients.rs b/crates/jacquard-api/src/network_slices/slice/get_o_auth_clients.rs
index a3a2750d..605587b0 100644
--- a/crates/jacquard-api/src/network_slices/slice/get_o_auth_clients.rs
+++ b/crates/jacquard-api/src/network_slices/slice/get_o_auth_clients.rs
@@ -10,40 +10,47 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
 use jacquard_common::deps::smol_str::SmolStr;
-use jacquard_common::types::string::{Did, Datetime, UriValue};
+use jacquard_common::types::string::{Datetime, Did, UriValue};
 use jacquard_common::types::value::Data;
 use jacquard_derive::IntoStatic;
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::network_slices::slice::get_o_auth_clients;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::network_slices::slice::get_o_auth_clients;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetOAuthClients {
     pub slice: S,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetOAuthClientsOutput {
     pub clients: Vec>,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct OauthClientDetails {
     ///OAuth client ID
     pub client_id: S,
@@ -122,7 +129,7 @@ impl LexiconSchema for OauthClientDetails {
 
 pub mod get_o_auth_clients_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -211,7 +218,7 @@ where
 
 pub mod oauth_client_details_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -377,19 +384,7 @@ impl OauthClientDetailsBuilder
         OauthClientDetailsBuilder {
             _state: PhantomData,
             _fields: (
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
+                None, None, None, None, None, None, None, None, None, None, None, None, None,
             ),
             _type: PhantomData,
         }
@@ -638,10 +633,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> OauthClientDetails {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> OauthClientDetails {
         OauthClientDetails {
             client_id: self._fields.0.unwrap(),
             client_name: self._fields.1.unwrap(),
@@ -662,10 +654,10 @@ where
 }
 
 fn lexicon_doc_network_slices_slice_getOAuthClients() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("network.slices.slice.getOAuthClients"),
@@ -674,45 +666,39 @@ fn lexicon_doc_network_slices_slice_getOAuthClients() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::XrpcQuery(LexXrpcQuery {
-                    parameters: Some(
-                        LexXrpcQueryParameter::Params(LexXrpcParameters {
-                            required: Some(vec![SmolStr::new_static("slice")]),
-                            properties: {
-                                #[allow(unused_mut)]
-                                let mut map = BTreeMap::new();
-                                map.insert(
-                                    SmolStr::new_static("slice"),
-                                    LexXrpcParametersProperty::String(LexString {
-                                        description: Some(
-                                            CowStr::new_static(
-                                                "AT-URI of the slice to get OAuth clients for",
-                                            ),
-                                        ),
-                                        ..Default::default()
-                                    }),
-                                );
-                                map
-                            },
-                            ..Default::default()
-                        }),
-                    ),
+                    parameters: Some(LexXrpcQueryParameter::Params(LexXrpcParameters {
+                        required: Some(vec![SmolStr::new_static("slice")]),
+                        properties: {
+                            #[allow(unused_mut)]
+                            let mut map = BTreeMap::new();
+                            map.insert(
+                                SmolStr::new_static("slice"),
+                                LexXrpcParametersProperty::String(LexString {
+                                    description: Some(CowStr::new_static(
+                                        "AT-URI of the slice to get OAuth clients for",
+                                    )),
+                                    ..Default::default()
+                                }),
+                            );
+                            map
+                        },
+                        ..Default::default()
+                    })),
                     ..Default::default()
                 }),
             );
             map.insert(
                 SmolStr::new_static("oauthClientDetails"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("clientId"),
-                            SmolStr::new_static("clientName"),
-                            SmolStr::new_static("redirectUris"),
-                            SmolStr::new_static("grantTypes"),
-                            SmolStr::new_static("responseTypes"),
-                            SmolStr::new_static("createdAt"),
-                            SmolStr::new_static("createdByDid")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("clientId"),
+                        SmolStr::new_static("clientName"),
+                        SmolStr::new_static("redirectUris"),
+                        SmolStr::new_static("grantTypes"),
+                        SmolStr::new_static("responseTypes"),
+                        SmolStr::new_static("createdAt"),
+                        SmolStr::new_static("createdByDid"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -726,31 +712,27 @@ fn lexicon_doc_network_slices_slice_getOAuthClients() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("clientName"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "Human-readable name of the OAuth client",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Human-readable name of the OAuth client",
+                                )),
                                 ..Default::default()
                             }),
                         );
                         map.insert(
                             SmolStr::new_static("clientSecret"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "OAuth client secret (only returned on creation)",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "OAuth client secret (only returned on creation)",
+                                )),
                                 ..Default::default()
                             }),
                         );
                         map.insert(
                             SmolStr::new_static("clientUri"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("URI of the client application"),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "URI of the client application",
+                                )),
                                 format: Some(LexStringFormat::Uri),
                                 ..Default::default()
                             }),
@@ -758,9 +740,9 @@ fn lexicon_doc_network_slices_slice_getOAuthClients() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("createdAt"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("When the OAuth client was created"),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "When the OAuth client was created",
+                                )),
                                 format: Some(LexStringFormat::Datetime),
                                 ..Default::default()
                             }),
@@ -768,11 +750,9 @@ fn lexicon_doc_network_slices_slice_getOAuthClients() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("createdByDid"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "DID of the user who created this client",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "DID of the user who created this client",
+                                )),
                                 format: Some(LexStringFormat::Did),
                                 ..Default::default()
                             }),
@@ -780,9 +760,7 @@ fn lexicon_doc_network_slices_slice_getOAuthClients() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("grantTypes"),
                             LexObjectProperty::Array(LexArray {
-                                description: Some(
-                                    CowStr::new_static("Allowed OAuth grant types"),
-                                ),
+                                description: Some(CowStr::new_static("Allowed OAuth grant types")),
                                 items: LexArrayItem::String(LexString {
                                     ..Default::default()
                                 }),
@@ -792,9 +770,7 @@ fn lexicon_doc_network_slices_slice_getOAuthClients() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("logoUri"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("URI of the client logo"),
-                                ),
+                                description: Some(CowStr::new_static("URI of the client logo")),
                                 format: Some(LexStringFormat::Uri),
                                 ..Default::default()
                             }),
@@ -802,9 +778,7 @@ fn lexicon_doc_network_slices_slice_getOAuthClients() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("policyUri"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("URI of the privacy policy"),
-                                ),
+                                description: Some(CowStr::new_static("URI of the privacy policy")),
                                 format: Some(LexStringFormat::Uri),
                                 ..Default::default()
                             }),
@@ -812,9 +786,9 @@ fn lexicon_doc_network_slices_slice_getOAuthClients() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("redirectUris"),
                             LexObjectProperty::Array(LexArray {
-                                description: Some(
-                                    CowStr::new_static("Allowed redirect URIs for OAuth flow"),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Allowed redirect URIs for OAuth flow",
+                                )),
                                 items: LexArrayItem::String(LexString {
                                     format: Some(LexStringFormat::Uri),
                                     ..Default::default()
@@ -825,9 +799,9 @@ fn lexicon_doc_network_slices_slice_getOAuthClients() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("responseTypes"),
                             LexObjectProperty::Array(LexArray {
-                                description: Some(
-                                    CowStr::new_static("Allowed OAuth response types"),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Allowed OAuth response types",
+                                )),
                                 items: LexArrayItem::String(LexString {
                                     ..Default::default()
                                 }),
@@ -844,9 +818,9 @@ fn lexicon_doc_network_slices_slice_getOAuthClients() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("tosUri"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("URI of the terms of service"),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "URI of the terms of service",
+                                )),
                                 format: Some(LexStringFormat::Uri),
                                 ..Default::default()
                             }),
@@ -860,4 +834,4 @@ fn lexicon_doc_network_slices_slice_getOAuthClients() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/network_slices/slice/get_slice_records.rs b/crates/jacquard-api/src/network_slices/slice/get_slice_records.rs
index b80d9ac3..8489dc7d 100644
--- a/crates/jacquard-api/src/network_slices/slice/get_slice_records.rs
+++ b/crates/jacquard-api/src/network_slices/slice/get_slice_records.rs
@@ -10,24 +10,27 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
 use jacquard_common::deps::smol_str::SmolStr;
-use jacquard_common::types::string::{Did, AtUri, Nsid, Cid, Datetime};
+use jacquard_common::types::string::{AtUri, Cid, Datetime, Did, Nsid};
 use jacquard_common::types::value::Data;
 use jacquard_derive::IntoStatic;
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::network_slices::slice::get_slice_records;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::network_slices::slice::get_slice_records;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct IndexedRecord {
     ///Content identifier of the record
     pub cid: Cid,
@@ -45,9 +48,11 @@ pub struct IndexedRecord {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetSliceRecords {
     ///Pagination cursor from previous response
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -68,9 +73,11 @@ pub struct GetSliceRecords {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetSliceRecordsOutput {
     ///Pagination cursor for next page
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -106,9 +113,8 @@ impl jacquard_common::xrpc::XrpcResp for GetSliceRecordsResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for GetSliceRecords {
     const NSID: &'static str = "network.slices.slice.getSliceRecords";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = GetSliceRecordsResponse;
 }
 
@@ -116,16 +122,15 @@ impl jacquard_common::xrpc::XrpcRequest for GetSliceRecords {
 pub struct GetSliceRecordsRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for GetSliceRecordsRequest {
     const PATH: &'static str = "/xrpc/network.slices.slice.getSliceRecords";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = GetSliceRecords;
     type Response = GetSliceRecordsResponse;
 }
 
 pub mod indexed_record_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -404,10 +409,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> IndexedRecord {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> IndexedRecord {
         IndexedRecord {
             cid: self._fields.0.unwrap(),
             collection: self._fields.1.unwrap(),
@@ -421,10 +423,10 @@ where
 }
 
 fn lexicon_doc_network_slices_slice_getSliceRecords() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("network.slices.slice.getSliceRecords"),
@@ -433,24 +435,23 @@ fn lexicon_doc_network_slices_slice_getSliceRecords() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("indexedRecord"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("uri"), SmolStr::new_static("cid"),
-                            SmolStr::new_static("did"),
-                            SmolStr::new_static("collection"),
-                            SmolStr::new_static("value"),
-                            SmolStr::new_static("indexedAt")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("uri"),
+                        SmolStr::new_static("cid"),
+                        SmolStr::new_static("did"),
+                        SmolStr::new_static("collection"),
+                        SmolStr::new_static("value"),
+                        SmolStr::new_static("indexedAt"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("cid"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Content identifier of the record"),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Content identifier of the record",
+                                )),
                                 format: Some(LexStringFormat::Cid),
                                 ..Default::default()
                             }),
@@ -458,11 +459,9 @@ fn lexicon_doc_network_slices_slice_getSliceRecords() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("collection"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "NSID of the collection this record belongs to",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "NSID of the collection this record belongs to",
+                                )),
                                 format: Some(LexStringFormat::Nsid),
                                 ..Default::default()
                             }),
@@ -470,9 +469,7 @@ fn lexicon_doc_network_slices_slice_getSliceRecords() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("did"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("DID of the record creator"),
-                                ),
+                                description: Some(CowStr::new_static("DID of the record creator")),
                                 format: Some(LexStringFormat::Did),
                                 ..Default::default()
                             }),
@@ -480,9 +477,9 @@ fn lexicon_doc_network_slices_slice_getSliceRecords() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("indexedAt"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("When this record was indexed"),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "When this record was indexed",
+                                )),
                                 format: Some(LexStringFormat::Datetime),
                                 ..Default::default()
                             }),
@@ -490,9 +487,7 @@ fn lexicon_doc_network_slices_slice_getSliceRecords() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("uri"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("AT-URI of the record"),
-                                ),
+                                description: Some(CowStr::new_static("AT-URI of the record")),
                                 format: Some(LexStringFormat::AtUri),
                                 ..Default::default()
                             }),
@@ -513,57 +508,53 @@ fn lexicon_doc_network_slices_slice_getSliceRecords() -> LexiconDoc<'static> {
                 LexUserType::XrpcProcedure(LexXrpcProcedure {
                     input: Some(LexXrpcBody {
                         encoding: CowStr::new_static("application/json"),
-                        schema: Some(
-                            LexXrpcBodySchema::Object(LexObject {
-                                required: Some(vec![SmolStr::new_static("slice")]),
-                                properties: {
-                                    #[allow(unused_mut)]
-                                    let mut map = BTreeMap::new();
-                                    map.insert(
-                                        SmolStr::new_static("cursor"),
-                                        LexObjectProperty::String(LexString {
-                                            description: Some(
-                                                CowStr::new_static(
-                                                    "Pagination cursor from previous response",
-                                                ),
-                                            ),
-                                            ..Default::default()
-                                        }),
-                                    );
-                                    map.insert(
-                                        SmolStr::new_static("limit"),
-                                        LexObjectProperty::Integer(LexInteger {
-                                            minimum: Some(1i64),
-                                            maximum: Some(100i64),
-                                            ..Default::default()
-                                        }),
-                                    );
-                                    map.insert(
-                                        SmolStr::new_static("slice"),
-                                        LexObjectProperty::String(LexString {
-                                            description: Some(
-                                                CowStr::new_static("AT-URI of the slice to query"),
-                                            ),
-                                            ..Default::default()
-                                        }),
-                                    );
-                                    map.insert(
-                                        SmolStr::new_static("sortBy"),
-                                        LexObjectProperty::Unknown(LexUnknown {
-                                            ..Default::default()
-                                        }),
-                                    );
-                                    map.insert(
-                                        SmolStr::new_static("where"),
-                                        LexObjectProperty::Unknown(LexUnknown {
-                                            ..Default::default()
-                                        }),
-                                    );
-                                    map
-                                },
-                                ..Default::default()
-                            }),
-                        ),
+                        schema: Some(LexXrpcBodySchema::Object(LexObject {
+                            required: Some(vec![SmolStr::new_static("slice")]),
+                            properties: {
+                                #[allow(unused_mut)]
+                                let mut map = BTreeMap::new();
+                                map.insert(
+                                    SmolStr::new_static("cursor"),
+                                    LexObjectProperty::String(LexString {
+                                        description: Some(CowStr::new_static(
+                                            "Pagination cursor from previous response",
+                                        )),
+                                        ..Default::default()
+                                    }),
+                                );
+                                map.insert(
+                                    SmolStr::new_static("limit"),
+                                    LexObjectProperty::Integer(LexInteger {
+                                        minimum: Some(1i64),
+                                        maximum: Some(100i64),
+                                        ..Default::default()
+                                    }),
+                                );
+                                map.insert(
+                                    SmolStr::new_static("slice"),
+                                    LexObjectProperty::String(LexString {
+                                        description: Some(CowStr::new_static(
+                                            "AT-URI of the slice to query",
+                                        )),
+                                        ..Default::default()
+                                    }),
+                                );
+                                map.insert(
+                                    SmolStr::new_static("sortBy"),
+                                    LexObjectProperty::Unknown(LexUnknown {
+                                        ..Default::default()
+                                    }),
+                                );
+                                map.insert(
+                                    SmolStr::new_static("where"),
+                                    LexObjectProperty::Unknown(LexUnknown {
+                                        ..Default::default()
+                                    }),
+                                );
+                                map
+                            },
+                            ..Default::default()
+                        })),
                         ..Default::default()
                     }),
                     ..Default::default()
@@ -577,4 +568,4 @@ fn lexicon_doc_network_slices_slice_getSliceRecords() -> LexiconDoc<'static> {
 
 fn _default_get_slice_records_limit() -> Option {
     Some(50i64)
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/network_slices/slice/get_sparklines.rs b/crates/jacquard-api/src/network_slices/slice/get_sparklines.rs
index fc105b6c..2667b5df 100644
--- a/crates/jacquard-api/src/network_slices/slice/get_sparklines.rs
+++ b/crates/jacquard-api/src/network_slices/slice/get_sparklines.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -20,14 +20,17 @@ use jacquard_derive::IntoStatic;
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::network_slices::slice::SparklinePoint;
 use crate::network_slices::slice::get_sparklines;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetSparklines {
     ///Time range to fetch data for  Defaults to `"24h"`.
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -43,9 +46,11 @@ pub struct GetSparklines {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetSparklinesOutput {
     ///Array of slice sparkline data entries
     pub sparklines: Vec>,
@@ -53,9 +58,11 @@ pub struct GetSparklinesOutput {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct SparklineEntry {
     ///Array of sparkline data points
     pub points: Vec>,
@@ -76,9 +83,8 @@ impl jacquard_common::xrpc::XrpcResp for GetSparklinesResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for GetSparklines {
     const NSID: &'static str = "network.slices.slice.getSparklines";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = GetSparklinesResponse;
 }
 
@@ -86,9 +92,8 @@ impl jacquard_common::xrpc::XrpcRequest for GetSparklines {
 pub struct GetSparklinesRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for GetSparklinesRequest {
     const PATH: &'static str = "/xrpc/network.slices.slice.getSparklines";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = GetSparklines;
     type Response = GetSparklinesResponse;
 }
@@ -118,7 +123,7 @@ fn _default_get_sparklines_interval() -> ::core::option::Optio
 
 pub mod get_sparklines_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -233,10 +238,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> GetSparklines {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> GetSparklines {
         GetSparklines {
             duration: self._fields.0.or_else(|| Some(S::from_static("24h"))),
             interval: self._fields.1.or_else(|| Some(S::from_static("hour"))),
@@ -248,7 +250,7 @@ where
 
 pub mod sparkline_entry_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -368,10 +370,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> SparklineEntry {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> SparklineEntry {
         SparklineEntry {
             points: self._fields.0.unwrap(),
             slice_uri: self._fields.1.unwrap(),
@@ -381,10 +380,10 @@ where
 }
 
 fn lexicon_doc_network_slices_slice_getSparklines() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("network.slices.slice.getSparklines"),
@@ -395,49 +394,45 @@ fn lexicon_doc_network_slices_slice_getSparklines() -> LexiconDoc<'static> {
                 LexUserType::XrpcProcedure(LexXrpcProcedure {
                     input: Some(LexXrpcBody {
                         encoding: CowStr::new_static("application/json"),
-                        schema: Some(
-                            LexXrpcBodySchema::Object(LexObject {
-                                required: Some(vec![SmolStr::new_static("slices")]),
-                                properties: {
-                                    #[allow(unused_mut)]
-                                    let mut map = BTreeMap::new();
-                                    map.insert(
-                                        SmolStr::new_static("duration"),
-                                        LexObjectProperty::String(LexString {
-                                            description: Some(
-                                                CowStr::new_static("Time range to fetch data for"),
-                                            ),
+                        schema: Some(LexXrpcBodySchema::Object(LexObject {
+                            required: Some(vec![SmolStr::new_static("slices")]),
+                            properties: {
+                                #[allow(unused_mut)]
+                                let mut map = BTreeMap::new();
+                                map.insert(
+                                    SmolStr::new_static("duration"),
+                                    LexObjectProperty::String(LexString {
+                                        description: Some(CowStr::new_static(
+                                            "Time range to fetch data for",
+                                        )),
+                                        ..Default::default()
+                                    }),
+                                );
+                                map.insert(
+                                    SmolStr::new_static("interval"),
+                                    LexObjectProperty::String(LexString {
+                                        description: Some(CowStr::new_static(
+                                            "Time interval for data points",
+                                        )),
+                                        ..Default::default()
+                                    }),
+                                );
+                                map.insert(
+                                    SmolStr::new_static("slices"),
+                                    LexObjectProperty::Array(LexArray {
+                                        description: Some(CowStr::new_static(
+                                            "Array of slice AT-URIs to get sparkline data for",
+                                        )),
+                                        items: LexArrayItem::String(LexString {
                                             ..Default::default()
                                         }),
-                                    );
-                                    map.insert(
-                                        SmolStr::new_static("interval"),
-                                        LexObjectProperty::String(LexString {
-                                            description: Some(
-                                                CowStr::new_static("Time interval for data points"),
-                                            ),
-                                            ..Default::default()
-                                        }),
-                                    );
-                                    map.insert(
-                                        SmolStr::new_static("slices"),
-                                        LexObjectProperty::Array(LexArray {
-                                            description: Some(
-                                                CowStr::new_static(
-                                                    "Array of slice AT-URIs to get sparkline data for",
-                                                ),
-                                            ),
-                                            items: LexArrayItem::String(LexString {
-                                                ..Default::default()
-                                            }),
-                                            ..Default::default()
-                                        }),
-                                    );
-                                    map
-                                },
-                                ..Default::default()
-                            }),
-                        ),
+                                        ..Default::default()
+                                    }),
+                                );
+                                map
+                            },
+                            ..Default::default()
+                        })),
                         ..Default::default()
                     }),
                     ..Default::default()
@@ -446,21 +441,19 @@ fn lexicon_doc_network_slices_slice_getSparklines() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("sparklineEntry"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("sliceUri"),
-                            SmolStr::new_static("points")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("sliceUri"),
+                        SmolStr::new_static("points"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("points"),
                             LexObjectProperty::Array(LexArray {
-                                description: Some(
-                                    CowStr::new_static("Array of sparkline data points"),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Array of sparkline data points",
+                                )),
                                 items: LexArrayItem::Ref(LexRef {
                                     r#ref: CowStr::new_static(
                                         "network.slices.slice.defs#sparklinePoint",
@@ -473,9 +466,7 @@ fn lexicon_doc_network_slices_slice_getSparklines() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("sliceUri"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("AT-URI of the slice"),
-                                ),
+                                description: Some(CowStr::new_static("AT-URI of the slice")),
                                 ..Default::default()
                             }),
                         );
@@ -488,4 +479,4 @@ fn lexicon_doc_network_slices_slice_getSparklines() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/network_slices/slice/get_sync_summary.rs b/crates/jacquard-api/src/network_slices/slice/get_sync_summary.rs
index 24004c38..ceea6342 100644
--- a/crates/jacquard-api/src/network_slices/slice/get_sync_summary.rs
+++ b/crates/jacquard-api/src/network_slices/slice/get_sync_summary.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -20,13 +20,16 @@ use jacquard_derive::IntoStatic;
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::network_slices::slice::get_sync_summary;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::network_slices::slice::get_sync_summary;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct CollectionSummary {
     pub collection: S,
     pub estimated_repos: i64,
@@ -35,9 +38,11 @@ pub struct CollectionSummary {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetSyncSummary {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub collections: Option>,
@@ -48,9 +53,11 @@ pub struct GetSyncSummary {
     pub slice: S,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetSyncSummaryOutput {
     ///The actual limit applied (user-specified or default)
     pub applied_limit: i64,
@@ -106,7 +113,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetSyncSummaryRequest {
 
 pub mod collection_summary_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -261,10 +268,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> CollectionSummary {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> CollectionSummary {
         CollectionSummary {
             collection: self._fields.0.unwrap(),
             estimated_repos: self._fields.1.unwrap(),
@@ -275,10 +279,10 @@ where
 }
 
 fn lexicon_doc_network_slices_slice_getSyncSummary() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("network.slices.slice.getSyncSummary"),
@@ -287,19 +291,19 @@ fn lexicon_doc_network_slices_slice_getSyncSummary() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("collectionSummary"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("collection"),
-                            SmolStr::new_static("estimatedRepos"),
-                            SmolStr::new_static("isExternal")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("collection"),
+                        SmolStr::new_static("estimatedRepos"),
+                        SmolStr::new_static("isExternal"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("collection"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("estimatedRepos"),
@@ -321,53 +325,51 @@ fn lexicon_doc_network_slices_slice_getSyncSummary() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::XrpcQuery(LexXrpcQuery {
-                    parameters: Some(
-                        LexXrpcQueryParameter::Params(LexXrpcParameters {
-                            required: Some(vec![SmolStr::new_static("slice")]),
-                            properties: {
-                                #[allow(unused_mut)]
-                                let mut map = BTreeMap::new();
-                                map.insert(
-                                    SmolStr::new_static("collections"),
-                                    LexXrpcParametersProperty::Array(LexPrimitiveArray {
-                                        items: LexPrimitiveArrayItem::String(LexString {
-                                            ..Default::default()
-                                        }),
+                    parameters: Some(LexXrpcQueryParameter::Params(LexXrpcParameters {
+                        required: Some(vec![SmolStr::new_static("slice")]),
+                        properties: {
+                            #[allow(unused_mut)]
+                            let mut map = BTreeMap::new();
+                            map.insert(
+                                SmolStr::new_static("collections"),
+                                LexXrpcParametersProperty::Array(LexPrimitiveArray {
+                                    items: LexPrimitiveArrayItem::String(LexString {
                                         ..Default::default()
                                     }),
-                                );
-                                map.insert(
-                                    SmolStr::new_static("externalCollections"),
-                                    LexXrpcParametersProperty::Array(LexPrimitiveArray {
-                                        items: LexPrimitiveArrayItem::String(LexString {
-                                            ..Default::default()
-                                        }),
+                                    ..Default::default()
+                                }),
+                            );
+                            map.insert(
+                                SmolStr::new_static("externalCollections"),
+                                LexXrpcParametersProperty::Array(LexPrimitiveArray {
+                                    items: LexPrimitiveArrayItem::String(LexString {
                                         ..Default::default()
                                     }),
-                                );
-                                map.insert(
-                                    SmolStr::new_static("repos"),
-                                    LexXrpcParametersProperty::Array(LexPrimitiveArray {
-                                        items: LexPrimitiveArrayItem::String(LexString {
-                                            ..Default::default()
-                                        }),
+                                    ..Default::default()
+                                }),
+                            );
+                            map.insert(
+                                SmolStr::new_static("repos"),
+                                LexXrpcParametersProperty::Array(LexPrimitiveArray {
+                                    items: LexPrimitiveArrayItem::String(LexString {
                                         ..Default::default()
                                     }),
-                                );
-                                map.insert(
-                                    SmolStr::new_static("slice"),
-                                    LexXrpcParametersProperty::String(LexString {
-                                        description: Some(
-                                            CowStr::new_static("URI of the slice to sync"),
-                                        ),
-                                        ..Default::default()
-                                    }),
-                                );
-                                map
-                            },
-                            ..Default::default()
-                        }),
-                    ),
+                                    ..Default::default()
+                                }),
+                            );
+                            map.insert(
+                                SmolStr::new_static("slice"),
+                                LexXrpcParametersProperty::String(LexString {
+                                    description: Some(CowStr::new_static(
+                                        "URI of the slice to sync",
+                                    )),
+                                    ..Default::default()
+                                }),
+                            );
+                            map
+                        },
+                        ..Default::default()
+                    })),
                     ..Default::default()
                 }),
             );
@@ -379,7 +381,7 @@ fn lexicon_doc_network_slices_slice_getSyncSummary() -> LexiconDoc<'static> {
 
 pub mod get_sync_summary_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -506,4 +508,4 @@ where
             slice: self._fields.3.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/network_slices/slice/start_sync.rs b/crates/jacquard-api/src/network_slices/slice/start_sync.rs
index c8ccfb93..72fddc9b 100644
--- a/crates/jacquard-api/src/network_slices/slice/start_sync.rs
+++ b/crates/jacquard-api/src/network_slices/slice/start_sync.rs
@@ -10,15 +10,18 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::{Did, Nsid};
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct StartSync {
     ///List of collection NSIDs to sync (primary collections matching slice domain)
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -42,9 +45,11 @@ pub struct StartSync {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct StartSyncOutput {
     ///UUID of the enqueued sync job
     pub job_id: S,
@@ -65,9 +70,8 @@ impl jacquard_common::xrpc::XrpcResp for StartSyncResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for StartSync {
     const NSID: &'static str = "network.slices.slice.startSync";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = StartSyncResponse;
 }
 
@@ -75,13 +79,12 @@ impl jacquard_common::xrpc::XrpcRequest for StartSync {
 pub struct StartSyncRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for StartSyncRequest {
     const PATH: &'static str = "/xrpc/network.slices.slice.startSync";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = StartSync;
     type Response = StartSyncResponse;
 }
 
 fn _default_start_sync_skip_validation() -> Option {
     Some(false)
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/network_slices/slice/stats.rs b/crates/jacquard-api/src/network_slices/slice/stats.rs
index 765b748a..429a4d31 100644
--- a/crates/jacquard-api/src/network_slices/slice/stats.rs
+++ b/crates/jacquard-api/src/network_slices/slice/stats.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -21,13 +21,16 @@ use jacquard_derive::IntoStatic;
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::network_slices::slice::stats;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::network_slices::slice::stats;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct CollectionStats {
     ///Collection NSID
     pub collection: Nsid,
@@ -39,16 +42,20 @@ pub struct CollectionStats {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Stats {
     pub slice: S,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct StatsOutput {
     ///Per-collection statistics
     pub collection_stats: Vec>,
@@ -105,7 +112,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for StatsRequest {
 
 pub mod collection_stats_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -260,10 +267,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> CollectionStats {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> CollectionStats {
         CollectionStats {
             collection: self._fields.0.unwrap(),
             record_count: self._fields.1.unwrap(),
@@ -274,10 +278,10 @@ where
 }
 
 fn lexicon_doc_network_slices_slice_stats() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("network.slices.slice.stats"),
@@ -286,13 +290,11 @@ fn lexicon_doc_network_slices_slice_stats() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("collectionStats"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("collection"),
-                            SmolStr::new_static("recordCount"),
-                            SmolStr::new_static("uniqueActors")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("collection"),
+                        SmolStr::new_static("recordCount"),
+                        SmolStr::new_static("uniqueActors"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -324,28 +326,24 @@ fn lexicon_doc_network_slices_slice_stats() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::XrpcQuery(LexXrpcQuery {
-                    parameters: Some(
-                        LexXrpcQueryParameter::Params(LexXrpcParameters {
-                            required: Some(vec![SmolStr::new_static("slice")]),
-                            properties: {
-                                #[allow(unused_mut)]
-                                let mut map = BTreeMap::new();
-                                map.insert(
-                                    SmolStr::new_static("slice"),
-                                    LexXrpcParametersProperty::String(LexString {
-                                        description: Some(
-                                            CowStr::new_static(
-                                                "AT-URI of the slice to get statistics for",
-                                            ),
-                                        ),
-                                        ..Default::default()
-                                    }),
-                                );
-                                map
-                            },
-                            ..Default::default()
-                        }),
-                    ),
+                    parameters: Some(LexXrpcQueryParameter::Params(LexXrpcParameters {
+                        required: Some(vec![SmolStr::new_static("slice")]),
+                        properties: {
+                            #[allow(unused_mut)]
+                            let mut map = BTreeMap::new();
+                            map.insert(
+                                SmolStr::new_static("slice"),
+                                LexXrpcParametersProperty::String(LexString {
+                                    description: Some(CowStr::new_static(
+                                        "AT-URI of the slice to get statistics for",
+                                    )),
+                                    ..Default::default()
+                                }),
+                            );
+                            map
+                        },
+                        ..Default::default()
+                    })),
                     ..Default::default()
                 }),
             );
@@ -357,7 +355,7 @@ fn lexicon_doc_network_slices_slice_stats() -> LexiconDoc<'static> {
 
 pub mod stats_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -418,10 +416,7 @@ where
     St::Slice: stats_state::IsUnset,
 {
     /// Set the `slice` field (required)
-    pub fn slice(
-        mut self,
-        value: impl Into,
-    ) -> StatsBuilder> {
+    pub fn slice(mut self, value: impl Into) -> StatsBuilder> {
         self._fields.0 = Option::Some(value.into());
         StatsBuilder {
             _state: PhantomData,
@@ -442,4 +437,4 @@ where
             slice: self._fields.0.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/network_slices/slice/sync_user_collections.rs b/crates/jacquard-api/src/network_slices/slice/sync_user_collections.rs
index 1fa844b9..865379e0 100644
--- a/crates/jacquard-api/src/network_slices/slice/sync_user_collections.rs
+++ b/crates/jacquard-api/src/network_slices/slice/sync_user_collections.rs
@@ -10,14 +10,17 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct SyncUserCollections {
     ///AT-URI of the slice to sync user data into
     pub slice: S,
@@ -29,9 +32,11 @@ pub struct SyncUserCollections {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct SyncUserCollectionsOutput {
     ///Number of records successfully synced
     pub records_synced: i64,
@@ -54,9 +59,8 @@ impl jacquard_common::xrpc::XrpcResp for SyncUserCollectionsResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for SyncUserCollections {
     const NSID: &'static str = "network.slices.slice.syncUserCollections";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = SyncUserCollectionsResponse;
 }
 
@@ -64,13 +68,12 @@ impl jacquard_common::xrpc::XrpcRequest for SyncUserCollections {
 pub struct SyncUserCollectionsRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for SyncUserCollectionsRequest {
     const PATH: &'static str = "/xrpc/network.slices.slice.syncUserCollections";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = SyncUserCollections;
     type Response = SyncUserCollectionsResponse;
 }
 
 fn _default_sync_user_collections_timeout_seconds() -> Option {
     Some(30i64)
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/network_slices/slice/update_o_auth_client.rs b/crates/jacquard-api/src/network_slices/slice/update_o_auth_client.rs
index 34d8bb08..476aa68c 100644
--- a/crates/jacquard-api/src/network_slices/slice/update_o_auth_client.rs
+++ b/crates/jacquard-api/src/network_slices/slice/update_o_auth_client.rs
@@ -8,18 +8,21 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::network_slices::slice::get_o_auth_clients::OauthClientDetails;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::UriValue;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::network_slices::slice::get_o_auth_clients::OauthClientDetails;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct UpdateOAuthClient {
     ///OAuth client ID to update
     pub client_id: S,
@@ -48,9 +51,11 @@ pub struct UpdateOAuthClient {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct UpdateOAuthClientOutput {
     #[serde(flatten)]
     pub value: OauthClientDetails,
@@ -69,9 +74,8 @@ impl jacquard_common::xrpc::XrpcResp for UpdateOAuthClientResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for UpdateOAuthClient {
     const NSID: &'static str = "network.slices.slice.updateOAuthClient";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = UpdateOAuthClientResponse;
 }
 
@@ -79,9 +83,8 @@ impl jacquard_common::xrpc::XrpcRequest for UpdateOAuthClient {
 pub struct UpdateOAuthClientRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for UpdateOAuthClientRequest {
     const PATH: &'static str = "/xrpc/network.slices.slice.updateOAuthClient";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = UpdateOAuthClient;
     type Response = UpdateOAuthClientResponse;
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/network_slices/tools.rs b/crates/jacquard-api/src/network_slices/tools.rs
index 5584d9e0..3b50c424 100644
--- a/crates/jacquard-api/src/network_slices/tools.rs
+++ b/crates/jacquard-api/src/network_slices/tools.rs
@@ -9,13 +9,12 @@ pub mod bug;
 pub mod document;
 pub mod richtext;
 
-
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,13 +25,16 @@ use jacquard_derive::IntoStatic;
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::network_slices::tools;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::network_slices::tools;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Image {
     ///Alt text description of the image, for accessibility
     pub alt: S,
@@ -41,9 +43,11 @@ pub struct Image {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Images {
     pub images: Vec>,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
@@ -79,19 +83,16 @@ impl LexiconSchema for Image {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["image/*"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("image"),
@@ -133,7 +134,7 @@ impl LexiconSchema for Images {
 
 pub mod image_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -206,10 +207,7 @@ where
     St::Alt: image_state::IsUnset,
 {
     /// Set the `alt` field (required)
-    pub fn alt(
-        mut self,
-        value: impl Into,
-    ) -> ImageBuilder> {
+    pub fn alt(mut self, value: impl Into) -> ImageBuilder> {
         self._fields.0 = Option::Some(value.into());
         ImageBuilder {
             _state: PhantomData,
@@ -263,10 +261,10 @@ where
 }
 
 fn lexicon_doc_network_slices_tools_defs() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("network.slices.tools.defs"),
@@ -275,26 +273,27 @@ fn lexicon_doc_network_slices_tools_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("image"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![SmolStr::new_static("image"), SmolStr::new_static("alt")],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("image"),
+                        SmolStr::new_static("alt"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("alt"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "Alt text description of the image, for accessibility",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Alt text description of the image, for accessibility",
+                                )),
                                 ..Default::default()
                             }),
                         );
                         map.insert(
                             SmolStr::new_static("image"),
-                            LexObjectProperty::Blob(LexBlob { ..Default::default() }),
+                            LexObjectProperty::Blob(LexBlob {
+                                ..Default::default()
+                            }),
                         );
                         map
                     },
@@ -332,7 +331,7 @@ fn lexicon_doc_network_slices_tools_defs() -> LexiconDoc<'static> {
 
 pub mod images_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -425,4 +424,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/network_slices/tools/bug.rs b/crates/jacquard-api/src/network_slices/tools/bug.rs
index f404499c..b1e833f4 100644
--- a/crates/jacquard-api/src/network_slices/tools/bug.rs
+++ b/crates/jacquard-api/src/network_slices/tools/bug.rs
@@ -9,13 +9,12 @@ pub mod comment;
 pub mod issue;
 pub mod response;
 
-
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -29,11 +28,11 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::network_slices::tools::Images;
 use crate::network_slices::tools::richtext::facet::Facet;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(
@@ -64,7 +63,6 @@ pub struct Bug {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Debug, Clone, PartialEq, Eq, Hash)]
 pub enum BugSeverity {
     Cosmetic,
@@ -293,7 +291,7 @@ impl LexiconSchema for Bug {
 
 pub mod bug_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -505,10 +503,7 @@ where
 
 impl BugBuilder {
     /// Set the `descriptionFacets` field (optional)
-    pub fn description_facets(
-        mut self,
-        value: impl Into>>>,
-    ) -> Self {
+    pub fn description_facets(mut self, value: impl Into>>>) -> Self {
         self._fields.4 = value.into();
         self
     }
@@ -525,10 +520,7 @@ where
     St::Namespace: bug_state::IsUnset,
 {
     /// Set the `namespace` field (required)
-    pub fn namespace(
-        mut self,
-        value: impl Into,
-    ) -> BugBuilder> {
+    pub fn namespace(mut self, value: impl Into) -> BugBuilder> {
         self._fields.5 = Option::Some(value.into());
         BugBuilder {
             _state: PhantomData,
@@ -578,18 +570,12 @@ where
 
 impl BugBuilder {
     /// Set the `stepsToReproduceFacets` field (optional)
-    pub fn steps_to_reproduce_facets(
-        mut self,
-        value: impl Into>>>,
-    ) -> Self {
+    pub fn steps_to_reproduce_facets(mut self, value: impl Into>>>) -> Self {
         self._fields.8 = value.into();
         self
     }
     /// Set the `stepsToReproduceFacets` field to an Option value (optional)
-    pub fn maybe_steps_to_reproduce_facets(
-        mut self,
-        value: Option>>,
-    ) -> Self {
+    pub fn maybe_steps_to_reproduce_facets(mut self, value: Option>>) -> Self {
         self._fields.8 = value;
         self
     }
@@ -601,10 +587,7 @@ where
     St::Title: bug_state::IsUnset,
 {
     /// Set the `title` field (required)
-    pub fn title(
-        mut self,
-        value: impl Into,
-    ) -> BugBuilder> {
+    pub fn title(mut self, value: impl Into) -> BugBuilder> {
         self._fields.9 = Option::Some(value.into());
         BugBuilder {
             _state: PhantomData,
@@ -659,10 +642,10 @@ where
 }
 
 fn lexicon_doc_network_slices_tools_bug() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("network.slices.tools.bug"),
@@ -673,16 +656,14 @@ fn lexicon_doc_network_slices_tools_bug() -> LexiconDoc<'static> {
                 LexUserType::Record(LexRecord {
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("title"),
-                                SmolStr::new_static("namespace"),
-                                SmolStr::new_static("description"),
-                                SmolStr::new_static("stepsToReproduce"),
-                                SmolStr::new_static("severity"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("title"),
+                            SmolStr::new_static("namespace"),
+                            SmolStr::new_static("description"),
+                            SmolStr::new_static("stepsToReproduce"),
+                            SmolStr::new_static("severity"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -696,9 +677,9 @@ fn lexicon_doc_network_slices_tools_bug() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("attachments"),
                                 LexObjectProperty::Union(LexRefUnion {
-                                    refs: vec![
-                                        CowStr::new_static("network.slices.tools.defs#images")
-                                    ],
+                                    refs: vec![CowStr::new_static(
+                                        "network.slices.tools.defs#images",
+                                    )],
                                     ..Default::default()
                                 }),
                             );
@@ -720,11 +701,9 @@ fn lexicon_doc_network_slices_tools_bug() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("descriptionFacets"),
                                 LexObjectProperty::Array(LexArray {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "Annotations of description (mentions and links)",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Annotations of description (mentions and links)",
+                                    )),
                                     items: LexArrayItem::Ref(LexRef {
                                         r#ref: CowStr::new_static(
                                             "network.slices.tools.richtext.facet",
@@ -737,11 +716,9 @@ fn lexicon_doc_network_slices_tools_bug() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("namespace"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "Target namespace like 'social.grain' or 'app.bsky'",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Target namespace like 'social.grain' or 'app.bsky'",
+                                    )),
                                     ..Default::default()
                                 }),
                             );
@@ -762,11 +739,9 @@ fn lexicon_doc_network_slices_tools_bug() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("stepsToReproduceFacets"),
                                 LexObjectProperty::Array(LexArray {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "Annotations of steps to reproduce (mentions and links)",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Annotations of steps to reproduce (mentions and links)",
+                                    )),
                                     items: LexArrayItem::Ref(LexRef {
                                         r#ref: CowStr::new_static(
                                             "network.slices.tools.richtext.facet",
@@ -795,4 +770,4 @@ fn lexicon_doc_network_slices_tools_bug() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/network_slices/tools/bug/comment.rs b/crates/jacquard-api/src/network_slices/tools/bug/comment.rs
index 34d963cc..bc1cdbc7 100644
--- a/crates/jacquard-api/src/network_slices/tools/bug/comment.rs
+++ b/crates/jacquard-api/src/network_slices/tools/bug/comment.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,11 +24,11 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::app_bsky::richtext::facet::Facet;
 use crate::network_slices::tools::Images;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(
@@ -139,7 +139,7 @@ impl LexiconSchema for Comment {
 
 pub mod comment_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -246,10 +246,7 @@ where
     St::Body: comment_state::IsUnset,
 {
     /// Set the `body` field (required)
-    pub fn body(
-        mut self,
-        value: impl Into,
-    ) -> CommentBuilder> {
+    pub fn body(mut self, value: impl Into) -> CommentBuilder> {
         self._fields.1 = Option::Some(value.into());
         CommentBuilder {
             _state: PhantomData,
@@ -357,10 +354,10 @@ where
 }
 
 fn lexicon_doc_network_slices_tools_bug_comment() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("network.slices.tools.bug.comment"),
@@ -371,21 +368,20 @@ fn lexicon_doc_network_slices_tools_bug_comment() -> LexiconDoc<'static> {
                 LexUserType::Record(LexRecord {
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("bug"), SmolStr::new_static("body"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("bug"),
+                            SmolStr::new_static("body"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
                             map.insert(
                                 SmolStr::new_static("attachments"),
                                 LexObjectProperty::Union(LexRefUnion {
-                                    refs: vec![
-                                        CowStr::new_static("network.slices.tools.defs#images")
-                                    ],
+                                    refs: vec![CowStr::new_static(
+                                        "network.slices.tools.defs#images",
+                                    )],
                                     ..Default::default()
                                 }),
                             );
@@ -400,11 +396,9 @@ fn lexicon_doc_network_slices_tools_bug_comment() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("bodyFacets"),
                                 LexObjectProperty::Array(LexArray {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "Annotations of body text (mentions and links)",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Annotations of body text (mentions and links)",
+                                    )),
                                     items: LexArrayItem::Ref(LexRef {
                                         r#ref: CowStr::new_static("app.bsky.richtext.facet"),
                                         ..Default::default()
@@ -415,9 +409,9 @@ fn lexicon_doc_network_slices_tools_bug_comment() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("bug"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("Reference to the bug report"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Reference to the bug report",
+                                    )),
                                     format: Some(LexStringFormat::AtUri),
                                     ..Default::default()
                                 }),
@@ -432,11 +426,9 @@ fn lexicon_doc_network_slices_tools_bug_comment() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("parent"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "Optional reference to parent comment for threading",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Optional reference to parent comment for threading",
+                                    )),
                                     format: Some(LexStringFormat::AtUri),
                                     ..Default::default()
                                 }),
@@ -452,4 +444,4 @@ fn lexicon_doc_network_slices_tools_bug_comment() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/network_slices/tools/bug/issue.rs b/crates/jacquard-api/src/network_slices/tools/bug/issue.rs
index 41877c5e..ded975cb 100644
--- a/crates/jacquard-api/src/network_slices/tools/bug/issue.rs
+++ b/crates/jacquard-api/src/network_slices/tools/bug/issue.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(
@@ -106,7 +106,7 @@ impl LexiconSchema for Issue {
 
 pub mod issue_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -193,10 +193,7 @@ where
     St::Bug: issue_state::IsUnset,
 {
     /// Set the `bug` field (required)
-    pub fn bug(
-        mut self,
-        value: impl Into>,
-    ) -> IssueBuilder> {
+    pub fn bug(mut self, value: impl Into>) -> IssueBuilder> {
         self._fields.0 = Option::Some(value.into());
         IssueBuilder {
             _state: PhantomData,
@@ -272,10 +269,10 @@ where
 }
 
 fn lexicon_doc_network_slices_tools_bug_issue() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("network.slices.tools.bug.issue"),
@@ -286,21 +283,20 @@ fn lexicon_doc_network_slices_tools_bug_issue() -> LexiconDoc<'static> {
                 LexUserType::Record(LexRecord {
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("bug"), SmolStr::new_static("issue"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("bug"),
+                            SmolStr::new_static("issue"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
                             map.insert(
                                 SmolStr::new_static("bug"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("Reference to the bug report"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Reference to the bug report",
+                                    )),
                                     format: Some(LexStringFormat::AtUri),
                                     ..Default::default()
                                 }),
@@ -315,9 +311,9 @@ fn lexicon_doc_network_slices_tools_bug_issue() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("issue"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("Reference to the linked issue"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Reference to the linked issue",
+                                    )),
                                     format: Some(LexStringFormat::AtUri),
                                     ..Default::default()
                                 }),
@@ -333,4 +329,4 @@ fn lexicon_doc_network_slices_tools_bug_issue() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/network_slices/tools/bug/response.rs b/crates/jacquard-api/src/network_slices/tools/bug/response.rs
index d5345c83..d0c25293 100644
--- a/crates/jacquard-api/src/network_slices/tools/bug/response.rs
+++ b/crates/jacquard-api/src/network_slices/tools/bug/response.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::app_bsky::richtext::facet::Facet;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::app_bsky::richtext::facet::Facet;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(
@@ -51,7 +51,6 @@ pub struct Response {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Debug, Clone, PartialEq, Eq, Hash)]
 pub enum ResponseStatus {
     Acknowledged,
@@ -224,7 +223,7 @@ impl LexiconSchema for Response {
 
 pub mod response_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -426,10 +425,10 @@ where
 }
 
 fn lexicon_doc_network_slices_tools_bug_response() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("network.slices.tools.bug.response"),
@@ -440,21 +439,20 @@ fn lexicon_doc_network_slices_tools_bug_response() -> LexiconDoc<'static> {
                 LexUserType::Record(LexRecord {
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("bug"), SmolStr::new_static("status"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("bug"),
+                            SmolStr::new_static("status"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
                             map.insert(
                                 SmolStr::new_static("bug"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("Reference to the bug report"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Reference to the bug report",
+                                    )),
                                     format: Some(LexStringFormat::AtUri),
                                     ..Default::default()
                                 }),
@@ -469,9 +467,9 @@ fn lexicon_doc_network_slices_tools_bug_response() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("message"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("Optional explanation or link to fix"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Optional explanation or link to fix",
+                                    )),
                                     max_length: Some(3000usize),
                                     max_graphemes: Some(1000usize),
                                     ..Default::default()
@@ -480,11 +478,9 @@ fn lexicon_doc_network_slices_tools_bug_response() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("messageFacets"),
                                 LexObjectProperty::Array(LexArray {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "Annotations of message (mentions and links)",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Annotations of message (mentions and links)",
+                                    )),
                                     items: LexArrayItem::Ref(LexRef {
                                         r#ref: CowStr::new_static("app.bsky.richtext.facet"),
                                         ..Default::default()
@@ -509,4 +505,4 @@ fn lexicon_doc_network_slices_tools_bug_response() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/network_slices/tools/document.rs b/crates/jacquard-api/src/network_slices/tools/document.rs
index b66a002e..065b9b5e 100644
--- a/crates/jacquard-api/src/network_slices/tools/document.rs
+++ b/crates/jacquard-api/src/network_slices/tools/document.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -25,15 +25,18 @@ use jacquard_derive::{IntoStatic, lexicon, open_union};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::network_slices::tools::document;
+use crate::network_slices::tools::richtext::facet::Facet;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::network_slices::tools::richtext::facet::Facet;
-use crate::network_slices::tools::document;
+use serde::{Deserialize, Serialize};
 /// A fenced code block
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct CodeBlock {
     pub code: S,
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -45,7 +48,10 @@ pub struct CodeBlock {
 /// A heading block (h1-h3) with optional inline formatting
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Heading {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub facets: Option>>,
@@ -58,7 +64,10 @@ pub struct Heading {
 /// An embedded image with alt text
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ImageEmbed {
     ///Alt text for accessibility
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -68,7 +77,6 @@ pub struct ImageEmbed {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(
     rename_all = "camelCase",
@@ -90,7 +98,6 @@ pub struct Document {
     pub extra_data: Option>>,
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -123,7 +130,10 @@ pub struct DocumentGetRecordOutput {
 /// A paragraph block with optional inline formatting
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Paragraph {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub facets: Option>>,
@@ -135,7 +145,10 @@ pub struct Paragraph {
 /// A blockquote with optional inline formatting
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Quote {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub facets: Option>>,
@@ -147,7 +160,10 @@ pub struct Quote {
 /// An embedded Tangled repo card
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct TangledEmbed {
     ///The repo owner's handle
     pub handle: S,
@@ -284,19 +300,16 @@ impl LexiconSchema for ImageEmbed {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["image/*"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("image"),
@@ -464,10 +477,10 @@ impl LexiconSchema for TangledEmbed {
 }
 
 fn lexicon_doc_network_slices_tools_document() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("network.slices.tools.document"),
@@ -503,14 +516,13 @@ fn lexicon_doc_network_slices_tools_document() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("heading"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static(
-                            "A heading block (h1-h3) with optional inline formatting",
-                        ),
-                    ),
-                    required: Some(
-                        vec![SmolStr::new_static("level"), SmolStr::new_static("text")],
-                    ),
+                    description: Some(CowStr::new_static(
+                        "A heading block (h1-h3) with optional inline formatting",
+                    )),
+                    required: Some(vec![
+                        SmolStr::new_static("level"),
+                        SmolStr::new_static("text"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -549,9 +561,7 @@ fn lexicon_doc_network_slices_tools_document() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("imageEmbed"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("An embedded image with alt text"),
-                    ),
+                    description: Some(CowStr::new_static("An embedded image with alt text")),
                     required: Some(vec![SmolStr::new_static("image")]),
                     properties: {
                         #[allow(unused_mut)]
@@ -559,16 +569,16 @@ fn lexicon_doc_network_slices_tools_document() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("alt"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Alt text for accessibility"),
-                                ),
+                                description: Some(CowStr::new_static("Alt text for accessibility")),
                                 max_length: Some(1000usize),
                                 ..Default::default()
                             }),
                         );
                         map.insert(
                             SmolStr::new_static("image"),
-                            LexObjectProperty::Blob(LexBlob { ..Default::default() }),
+                            LexObjectProperty::Blob(LexBlob {
+                                ..Default::default()
+                            }),
                         );
                         map
                     },
@@ -580,22 +590,21 @@ fn lexicon_doc_network_slices_tools_document() -> LexiconDoc<'static> {
                 LexUserType::Record(LexRecord {
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("title"), SmolStr::new_static("slug"),
-                                SmolStr::new_static("blocks"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("title"),
+                            SmolStr::new_static("slug"),
+                            SmolStr::new_static("blocks"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
                             map.insert(
                                 SmolStr::new_static("blocks"),
                                 LexObjectProperty::Array(LexArray {
-                                    description: Some(
-                                        CowStr::new_static("Document content as array of blocks"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Document content as array of blocks",
+                                    )),
                                     items: LexArrayItem::Union(LexRefUnion {
                                         refs: vec![
                                             CowStr::new_static("#paragraph"),
@@ -603,7 +612,7 @@ fn lexicon_doc_network_slices_tools_document() -> LexiconDoc<'static> {
                                             CowStr::new_static("#codeBlock"),
                                             CowStr::new_static("#quote"),
                                             CowStr::new_static("#tangledEmbed"),
-                                            CowStr::new_static("#imageEmbed")
+                                            CowStr::new_static("#imageEmbed"),
                                         ],
                                         ..Default::default()
                                     }),
@@ -620,11 +629,9 @@ fn lexicon_doc_network_slices_tools_document() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("slug"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "URL-friendly identifier, unique per author",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "URL-friendly identifier, unique per author",
+                                    )),
                                     max_length: Some(100usize),
                                     ..Default::default()
                                 }),
@@ -654,11 +661,9 @@ fn lexicon_doc_network_slices_tools_document() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("paragraph"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static(
-                            "A paragraph block with optional inline formatting",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "A paragraph block with optional inline formatting",
+                    )),
                     required: Some(vec![SmolStr::new_static("text")]),
                     properties: {
                         #[allow(unused_mut)]
@@ -690,11 +695,9 @@ fn lexicon_doc_network_slices_tools_document() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("quote"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static(
-                            "A blockquote with optional inline formatting",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "A blockquote with optional inline formatting",
+                    )),
                     required: Some(vec![SmolStr::new_static("text")]),
                     properties: {
                         #[allow(unused_mut)]
@@ -726,21 +729,18 @@ fn lexicon_doc_network_slices_tools_document() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("tangledEmbed"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("An embedded Tangled repo card"),
-                    ),
-                    required: Some(
-                        vec![SmolStr::new_static("handle"), SmolStr::new_static("repo")],
-                    ),
+                    description: Some(CowStr::new_static("An embedded Tangled repo card")),
+                    required: Some(vec![
+                        SmolStr::new_static("handle"),
+                        SmolStr::new_static("repo"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("handle"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("The repo owner's handle"),
-                                ),
+                                description: Some(CowStr::new_static("The repo owner's handle")),
                                 max_length: Some(300usize),
                                 ..Default::default()
                             }),
@@ -748,9 +748,7 @@ fn lexicon_doc_network_slices_tools_document() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("repo"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("The repository name"),
-                                ),
+                                description: Some(CowStr::new_static("The repository name")),
                                 max_length: Some(300usize),
                                 ..Default::default()
                             }),
@@ -768,7 +766,7 @@ fn lexicon_doc_network_slices_tools_document() -> LexiconDoc<'static> {
 
 pub mod heading_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -873,10 +871,7 @@ where
     St::Text: heading_state::IsUnset,
 {
     /// Set the `text` field (required)
-    pub fn text(
-        mut self,
-        value: impl Into,
-    ) -> HeadingBuilder> {
+    pub fn text(mut self, value: impl Into) -> HeadingBuilder> {
         self._fields.2 = Option::Some(value.into());
         HeadingBuilder {
             _state: PhantomData,
@@ -914,7 +909,7 @@ where
 
 pub mod image_embed_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1015,10 +1010,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> ImageEmbed {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> ImageEmbed {
         ImageEmbed {
             alt: self._fields.0,
             image: self._fields.1.unwrap(),
@@ -1029,7 +1021,7 @@ where
 
 pub mod document_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1176,10 +1168,7 @@ where
     St::Slug: document_state::IsUnset,
 {
     /// Set the `slug` field (required)
-    pub fn slug(
-        mut self,
-        value: impl Into,
-    ) -> DocumentBuilder> {
+    pub fn slug(mut self, value: impl Into) -> DocumentBuilder> {
         self._fields.2 = Option::Some(value.into());
         DocumentBuilder {
             _state: PhantomData,
@@ -1251,4 +1240,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/network_slices/tools/richtext.rs b/crates/jacquard-api/src/network_slices/tools/richtext.rs
index b7b3177b..3bf124e6 100644
--- a/crates/jacquard-api/src/network_slices/tools/richtext.rs
+++ b/crates/jacquard-api/src/network_slices/tools/richtext.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod facet;
\ No newline at end of file
+pub mod facet;
diff --git a/crates/jacquard-api/src/network_slices/tools/richtext/facet.rs b/crates/jacquard-api/src/network_slices/tools/richtext/facet.rs
index 5aa0f53e..7899870f 100644
--- a/crates/jacquard-api/src/network_slices/tools/richtext/facet.rs
+++ b/crates/jacquard-api/src/network_slices/tools/richtext/facet.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -21,14 +21,17 @@ use jacquard_derive::{IntoStatic, open_union};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::network_slices::tools::richtext::facet;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::network_slices::tools::richtext::facet;
+use serde::{Deserialize, Serialize};
 /// Facet feature for bold text.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Bold {
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
@@ -37,7 +40,10 @@ pub struct Bold {
 /// Specifies the sub-string range a facet feature applies to. Start index is inclusive, end index is exclusive. Indices are zero-indexed, counting bytes of the UTF-8 encoded text.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ByteSlice {
     pub byte_end: i64,
     pub byte_start: i64,
@@ -48,7 +54,10 @@ pub struct ByteSlice {
 /// Facet feature for inline code.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Code {
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
@@ -57,7 +66,10 @@ pub struct Code {
 /// Facet feature for fenced code blocks.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct CodeBlock {
     ///Optional language identifier for syntax highlighting.
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -69,7 +81,10 @@ pub struct CodeBlock {
 /// Facet feature for italic text.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Italic {
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
@@ -78,7 +93,10 @@ pub struct Italic {
 /// Facet feature for a URL.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Link {
     pub uri: UriValue,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
@@ -88,7 +106,10 @@ pub struct Link {
 /// Annotation of a sub-string within rich text.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Facet {
     pub features: Vec>,
     pub index: facet::ByteSlice,
@@ -96,7 +117,6 @@ pub struct Facet {
     pub extra_data: Option>>,
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -239,10 +259,10 @@ impl LexiconSchema for Facet {
 }
 
 fn lexicon_doc_network_slices_tools_richtext_facet() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("network.slices.tools.richtext.facet"),
@@ -251,9 +271,7 @@ fn lexicon_doc_network_slices_tools_richtext_facet() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("bold"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("Facet feature for bold text."),
-                    ),
+                    description: Some(CowStr::new_static("Facet feature for bold text.")),
                     required: Some(vec![]),
                     properties: {
                         #[allow(unused_mut)]
@@ -302,9 +320,7 @@ fn lexicon_doc_network_slices_tools_richtext_facet() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("code"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("Facet feature for inline code."),
-                    ),
+                    description: Some(CowStr::new_static("Facet feature for inline code.")),
                     required: Some(vec![]),
                     properties: {
                         #[allow(unused_mut)]
@@ -317,9 +333,7 @@ fn lexicon_doc_network_slices_tools_richtext_facet() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("codeBlock"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("Facet feature for fenced code blocks."),
-                    ),
+                    description: Some(CowStr::new_static("Facet feature for fenced code blocks.")),
                     required: Some(vec![]),
                     properties: {
                         #[allow(unused_mut)]
@@ -327,11 +341,9 @@ fn lexicon_doc_network_slices_tools_richtext_facet() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("lang"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "Optional language identifier for syntax highlighting.",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Optional language identifier for syntax highlighting.",
+                                )),
                                 ..Default::default()
                             }),
                         );
@@ -343,9 +355,7 @@ fn lexicon_doc_network_slices_tools_richtext_facet() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("italic"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("Facet feature for italic text."),
-                    ),
+                    description: Some(CowStr::new_static("Facet feature for italic text.")),
                     required: Some(vec![]),
                     properties: {
                         #[allow(unused_mut)]
@@ -378,16 +388,13 @@ fn lexicon_doc_network_slices_tools_richtext_facet() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static(
-                            "Annotation of a sub-string within rich text.",
-                        ),
-                    ),
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("index"), SmolStr::new_static("features")
-                        ],
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Annotation of a sub-string within rich text.",
+                    )),
+                    required: Some(vec![
+                        SmolStr::new_static("index"),
+                        SmolStr::new_static("features"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -396,9 +403,11 @@ fn lexicon_doc_network_slices_tools_richtext_facet() -> LexiconDoc<'static> {
                             LexObjectProperty::Array(LexArray {
                                 items: LexArrayItem::Union(LexRefUnion {
                                     refs: vec![
-                                        CowStr::new_static("#link"), CowStr::new_static("#bold"),
-                                        CowStr::new_static("#italic"), CowStr::new_static("#code"),
-                                        CowStr::new_static("#codeBlock")
+                                        CowStr::new_static("#link"),
+                                        CowStr::new_static("#bold"),
+                                        CowStr::new_static("#italic"),
+                                        CowStr::new_static("#code"),
+                                        CowStr::new_static("#codeBlock"),
                                     ],
                                     ..Default::default()
                                 }),
@@ -425,7 +434,7 @@ fn lexicon_doc_network_slices_tools_richtext_facet() -> LexiconDoc<'static> {
 
 pub mod byte_slice_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -545,10 +554,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> ByteSlice {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> ByteSlice {
         ByteSlice {
             byte_end: self._fields.0.unwrap(),
             byte_start: self._fields.1.unwrap(),
@@ -559,7 +565,7 @@ where
 
 pub mod link_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -620,10 +626,7 @@ where
     St::Uri: link_state::IsUnset,
 {
     /// Set the `uri` field (required)
-    pub fn uri(
-        mut self,
-        value: impl Into>,
-    ) -> LinkBuilder> {
+    pub fn uri(mut self, value: impl Into>) -> LinkBuilder> {
         self._fields.0 = Option::Some(value.into());
         LinkBuilder {
             _state: PhantomData,
@@ -656,7 +659,7 @@ where
 
 pub mod facet_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -701,7 +704,10 @@ pub mod facet_state {
 /// Builder for constructing an instance of this type.
 pub struct FacetBuilder {
     _state: PhantomData St>,
-    _fields: (Option>>, Option>),
+    _fields: (
+        Option>>,
+        Option>,
+    ),
     _type: PhantomData S>,
 }
 
@@ -783,4 +789,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/network_slices/waitlist.rs b/crates/jacquard-api/src/network_slices/waitlist.rs
index 5acd9c79..9dc4c39e 100644
--- a/crates/jacquard-api/src/network_slices/waitlist.rs
+++ b/crates/jacquard-api/src/network_slices/waitlist.rs
@@ -8,7 +8,6 @@
 pub mod invite;
 pub mod request;
 
-
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
@@ -19,20 +18,23 @@ use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
 use jacquard_common::deps::smol_str::SmolStr;
-use jacquard_common::types::string::{Did, AtUri, Datetime};
+use jacquard_common::types::string::{AtUri, Datetime, Did};
 use jacquard_common::types::value::Data;
 use jacquard_derive::IntoStatic;
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::app_bsky::actor::ProfileViewBasic;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::app_bsky::actor::ProfileViewBasic;
+use serde::{Deserialize, Serialize};
 /// An invite granting a DID access with profile information
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct InviteView {
     ///When this invitation was created
     pub created_at: Datetime,
@@ -56,7 +58,10 @@ pub struct InviteView {
 /// A request to join the waitlist with profile information
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct RequestView {
     ///When the user joined the waitlist
     pub created_at: Datetime,
@@ -101,7 +106,7 @@ impl LexiconSchema for RequestView {
 
 pub mod invite_view_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -305,10 +310,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> InviteView {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> InviteView {
         InviteView {
             created_at: self._fields.0.unwrap(),
             did: self._fields.1.unwrap(),
@@ -322,10 +324,10 @@ where
 }
 
 fn lexicon_doc_network_slices_waitlist_defs() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("network.slices.waitlist.defs"),
@@ -334,26 +336,23 @@ fn lexicon_doc_network_slices_waitlist_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("inviteView"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static(
-                            "An invite granting a DID access with profile information",
-                        ),
-                    ),
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("did"), SmolStr::new_static("slice"),
-                            SmolStr::new_static("createdAt")
-                        ],
-                    ),
+                    description: Some(CowStr::new_static(
+                        "An invite granting a DID access with profile information",
+                    )),
+                    required: Some(vec![
+                        SmolStr::new_static("did"),
+                        SmolStr::new_static("slice"),
+                        SmolStr::new_static("createdAt"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("createdAt"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("When this invitation was created"),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "When this invitation was created",
+                                )),
                                 format: Some(LexStringFormat::Datetime),
                                 ..Default::default()
                             }),
@@ -361,9 +360,7 @@ fn lexicon_doc_network_slices_waitlist_defs() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("did"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("The DID being invited"),
-                                ),
+                                description: Some(CowStr::new_static("The DID being invited")),
                                 format: Some(LexStringFormat::Did),
                                 ..Default::default()
                             }),
@@ -371,11 +368,9 @@ fn lexicon_doc_network_slices_waitlist_defs() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("expiresAt"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "Optional expiration date for this invitation",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Optional expiration date for this invitation",
+                                )),
                                 format: Some(LexStringFormat::Datetime),
                                 ..Default::default()
                             }),
@@ -383,20 +378,16 @@ fn lexicon_doc_network_slices_waitlist_defs() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("profile"),
                             LexObjectProperty::Ref(LexRef {
-                                r#ref: CowStr::new_static(
-                                    "app.bsky.actor.defs#profileViewBasic",
-                                ),
+                                r#ref: CowStr::new_static("app.bsky.actor.defs#profileViewBasic"),
                                 ..Default::default()
                             }),
                         );
                         map.insert(
                             SmolStr::new_static("slice"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "The AT URI of the slice this invite is for",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "The AT URI of the slice this invite is for",
+                                )),
                                 format: Some(LexStringFormat::AtUri),
                                 ..Default::default()
                             }),
@@ -404,9 +395,9 @@ fn lexicon_doc_network_slices_waitlist_defs() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("uri"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("The AT URI of this invite record"),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "The AT URI of this invite record",
+                                )),
                                 format: Some(LexStringFormat::AtUri),
                                 ..Default::default()
                             }),
@@ -419,26 +410,22 @@ fn lexicon_doc_network_slices_waitlist_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("requestView"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static(
-                            "A request to join the waitlist with profile information",
-                        ),
-                    ),
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("slice"),
-                            SmolStr::new_static("createdAt")
-                        ],
-                    ),
+                    description: Some(CowStr::new_static(
+                        "A request to join the waitlist with profile information",
+                    )),
+                    required: Some(vec![
+                        SmolStr::new_static("slice"),
+                        SmolStr::new_static("createdAt"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("createdAt"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("When the user joined the waitlist"),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "When the user joined the waitlist",
+                                )),
                                 format: Some(LexStringFormat::Datetime),
                                 ..Default::default()
                             }),
@@ -446,20 +433,16 @@ fn lexicon_doc_network_slices_waitlist_defs() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("profile"),
                             LexObjectProperty::Ref(LexRef {
-                                r#ref: CowStr::new_static(
-                                    "app.bsky.actor.defs#profileViewBasic",
-                                ),
+                                r#ref: CowStr::new_static("app.bsky.actor.defs#profileViewBasic"),
                                 ..Default::default()
                             }),
                         );
                         map.insert(
                             SmolStr::new_static("slice"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "The AT URI of the slice being requested access to",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "The AT URI of the slice being requested access to",
+                                )),
                                 format: Some(LexStringFormat::AtUri),
                                 ..Default::default()
                             }),
@@ -477,7 +460,7 @@ fn lexicon_doc_network_slices_waitlist_defs() -> LexiconDoc<'static> {
 
 pub mod request_view_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -522,7 +505,11 @@ pub mod request_view_state {
 /// Builder for constructing an instance of this type.
 pub struct RequestViewBuilder {
     _state: PhantomData St>,
-    _fields: (Option, Option>, Option>),
+    _fields: (
+        Option,
+        Option>,
+        Option>,
+    ),
     _type: PhantomData S>,
 }
 
@@ -611,10 +598,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> RequestView {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> RequestView {
         RequestView {
             created_at: self._fields.0.unwrap(),
             profile: self._fields.1,
@@ -622,4 +606,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/network_slices/waitlist/invite.rs b/crates/jacquard-api/src/network_slices/waitlist/invite.rs
index 6d6abdee..f4be3f87 100644
--- a/crates/jacquard-api/src/network_slices/waitlist/invite.rs
+++ b/crates/jacquard-api/src/network_slices/waitlist/invite.rs
@@ -10,13 +10,13 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::collection::{Collection, RecordError};
-use jacquard_common::types::string::{Did, AtUri, Cid, Datetime};
+use jacquard_common::types::string::{AtUri, Cid, Datetime, Did};
 use jacquard_common::types::uri::{RecordUri, UriError};
 use jacquard_common::types::value::Data;
 use jacquard_common::xrpc::XrpcResp;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// An invite granting a DID access, created by the slice owner
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -111,7 +111,7 @@ impl LexiconSchema for Invite {
 
 pub mod invite_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -170,7 +170,12 @@ pub mod invite_state {
 /// Builder for constructing an instance of this type.
 pub struct InviteBuilder {
     _state: PhantomData St>,
-    _fields: (Option, Option>, Option, Option>),
+    _fields: (
+        Option,
+        Option>,
+        Option,
+        Option>,
+    ),
     _type: PhantomData S>,
 }
 
@@ -217,10 +222,7 @@ where
     St::Did: invite_state::IsUnset,
 {
     /// Set the `did` field (required)
-    pub fn did(
-        mut self,
-        value: impl Into>,
-    ) -> InviteBuilder> {
+    pub fn did(mut self, value: impl Into>) -> InviteBuilder> {
         self._fields.1 = Option::Some(value.into());
         InviteBuilder {
             _state: PhantomData,
@@ -292,10 +294,10 @@ where
 }
 
 fn lexicon_doc_network_slices_waitlist_invite() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("network.slices.waitlist.invite"),
@@ -304,28 +306,25 @@ fn lexicon_doc_network_slices_waitlist_invite() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static(
-                            "An invite granting a DID access, created by the slice owner",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "An invite granting a DID access, created by the slice owner",
+                    )),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("did"), SmolStr::new_static("slice"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("did"),
+                            SmolStr::new_static("slice"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
                             map.insert(
                                 SmolStr::new_static("createdAt"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("When this invitation was created"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "When this invitation was created",
+                                    )),
                                     format: Some(LexStringFormat::Datetime),
                                     ..Default::default()
                                 }),
@@ -333,9 +332,7 @@ fn lexicon_doc_network_slices_waitlist_invite() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("did"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("The DID being invited"),
-                                    ),
+                                    description: Some(CowStr::new_static("The DID being invited")),
                                     format: Some(LexStringFormat::Did),
                                     ..Default::default()
                                 }),
@@ -343,11 +340,9 @@ fn lexicon_doc_network_slices_waitlist_invite() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("expiresAt"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "Optional expiration date for this invitation",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Optional expiration date for this invitation",
+                                    )),
                                     format: Some(LexStringFormat::Datetime),
                                     ..Default::default()
                                 }),
@@ -355,11 +350,9 @@ fn lexicon_doc_network_slices_waitlist_invite() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("slice"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "The AT URI of the slice this invite is for",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "The AT URI of the slice this invite is for",
+                                    )),
                                     format: Some(LexStringFormat::AtUri),
                                     ..Default::default()
                                 }),
@@ -375,4 +368,4 @@ fn lexicon_doc_network_slices_waitlist_invite() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/network_slices/waitlist/request.rs b/crates/jacquard-api/src/network_slices/waitlist/request.rs
index 7a93753f..c42cb452 100644
--- a/crates/jacquard-api/src/network_slices/waitlist/request.rs
+++ b/crates/jacquard-api/src/network_slices/waitlist/request.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// A request to join the waitlist
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -106,7 +106,7 @@ impl LexiconSchema for Request {
 
 pub mod request_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -236,10 +236,10 @@ where
 }
 
 fn lexicon_doc_network_slices_waitlist_request() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("network.slices.waitlist.request"),
@@ -248,26 +248,22 @@ fn lexicon_doc_network_slices_waitlist_request() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static("A request to join the waitlist"),
-                    ),
+                    description: Some(CowStr::new_static("A request to join the waitlist")),
                     key: Some(CowStr::new_static("literal:self")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("slice"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("slice"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
                             map.insert(
                                 SmolStr::new_static("createdAt"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("When the user joined the waitlist"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "When the user joined the waitlist",
+                                    )),
                                     format: Some(LexStringFormat::Datetime),
                                     ..Default::default()
                                 }),
@@ -275,11 +271,9 @@ fn lexicon_doc_network_slices_waitlist_request() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("slice"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "The AT URI of the slice being requested access to",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "The AT URI of the slice being requested access to",
+                                    )),
                                     format: Some(LexStringFormat::AtUri),
                                     ..Default::default()
                                 }),
@@ -295,4 +289,4 @@ fn lexicon_doc_network_slices_waitlist_request() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/ooo_bsky.rs b/crates/jacquard-api/src/ooo_bsky.rs
index 3befc6d5..e52f8368 100644
--- a/crates/jacquard-api/src/ooo_bsky.rs
+++ b/crates/jacquard-api/src/ooo_bsky.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod authfetch;
\ No newline at end of file
+pub mod authfetch;
diff --git a/crates/jacquard-api/src/ooo_bsky/authfetch.rs b/crates/jacquard-api/src/ooo_bsky/authfetch.rs
index 9211cb63..af83ceef 100644
--- a/crates/jacquard-api/src/ooo_bsky/authfetch.rs
+++ b/crates/jacquard-api/src/ooo_bsky/authfetch.rs
@@ -11,4 +11,4 @@ pub mod fetch_records;
 pub mod import_repo;
 pub mod list_records;
 pub mod put_record;
-pub mod strategy;
\ No newline at end of file
+pub mod strategy;
diff --git a/crates/jacquard-api/src/ooo_bsky/authfetch/delete_records.rs b/crates/jacquard-api/src/ooo_bsky/authfetch/delete_records.rs
index bee169a7..854b2c26 100644
--- a/crates/jacquard-api/src/ooo_bsky/authfetch/delete_records.rs
+++ b/crates/jacquard-api/src/ooo_bsky/authfetch/delete_records.rs
@@ -10,15 +10,18 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::AtUri;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct DeleteRecords {
     ///The AT URIs of the records to delete.
     pub uris: Vec>,
@@ -37,9 +40,8 @@ impl jacquard_common::xrpc::XrpcResp for DeleteRecordsResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for DeleteRecords {
     const NSID: &'static str = "ooo.bsky.authfetch.deleteRecords";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = DeleteRecordsResponse;
 }
 
@@ -47,16 +49,15 @@ impl jacquard_common::xrpc::XrpcRequest for DeleteRecords {
 pub struct DeleteRecordsRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for DeleteRecordsRequest {
     const PATH: &'static str = "/xrpc/ooo.bsky.authfetch.deleteRecords";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = DeleteRecords;
     type Response = DeleteRecordsResponse;
 }
 
 pub mod delete_records_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -143,13 +144,10 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> DeleteRecords {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> DeleteRecords {
         DeleteRecords {
             uris: self._fields.0.unwrap(),
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/ooo_bsky/authfetch/describe_repo.rs b/crates/jacquard-api/src/ooo_bsky/authfetch/describe_repo.rs
index 859b22cb..57860493 100644
--- a/crates/jacquard-api/src/ooo_bsky/authfetch/describe_repo.rs
+++ b/crates/jacquard-api/src/ooo_bsky/authfetch/describe_repo.rs
@@ -10,15 +10,18 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::{Did, Nsid};
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct DescribeRepoOutput {
     ///The list of collection NSIDs in the hidden repository.
     pub collections: Vec>,
@@ -54,4 +57,4 @@ impl jacquard_common::xrpc::XrpcEndpoint for DescribeRepoRequest {
     const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Query;
     type Request = DescribeRepo;
     type Response = DescribeRepoResponse;
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/ooo_bsky/authfetch/destroy_repo.rs b/crates/jacquard-api/src/ooo_bsky/authfetch/destroy_repo.rs
index 77cb2d1c..324acefd 100644
--- a/crates/jacquard-api/src/ooo_bsky/authfetch/destroy_repo.rs
+++ b/crates/jacquard-api/src/ooo_bsky/authfetch/destroy_repo.rs
@@ -10,11 +10,11 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// XRPC request marker type.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Copy)]
@@ -30,9 +30,8 @@ impl jacquard_common::xrpc::XrpcResp for DestroyRepoResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for DestroyRepo {
     const NSID: &'static str = "ooo.bsky.authfetch.destroyRepo";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = DestroyRepoResponse;
 }
 
@@ -40,9 +39,8 @@ impl jacquard_common::xrpc::XrpcRequest for DestroyRepo {
 pub struct DestroyRepoRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for DestroyRepoRequest {
     const PATH: &'static str = "/xrpc/ooo.bsky.authfetch.destroyRepo";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = DestroyRepo;
     type Response = DestroyRepoResponse;
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/ooo_bsky/authfetch/export_repo.rs b/crates/jacquard-api/src/ooo_bsky/authfetch/export_repo.rs
index eeb6e665..b9966a04 100644
--- a/crates/jacquard-api/src/ooo_bsky/authfetch/export_repo.rs
+++ b/crates/jacquard-api/src/ooo_bsky/authfetch/export_repo.rs
@@ -10,12 +10,12 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::bytes::Bytes;
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(rename_all = "camelCase")]
@@ -68,4 +68,4 @@ impl jacquard_common::xrpc::XrpcEndpoint for ExportRepoRequest {
     const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Query;
     type Request = ExportRepo;
     type Response = ExportRepoResponse;
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/ooo_bsky/authfetch/fetch_records.rs b/crates/jacquard-api/src/ooo_bsky/authfetch/fetch_records.rs
index a8da8616..4f5f41d3 100644
--- a/crates/jacquard-api/src/ooo_bsky/authfetch/fetch_records.rs
+++ b/crates/jacquard-api/src/ooo_bsky/authfetch/fetch_records.rs
@@ -21,21 +21,26 @@ use jacquard_derive::IntoStatic;
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::ooo_bsky::authfetch::fetch_records;
+use crate::ooo_bsky::authfetch::strategy::Strategy;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::ooo_bsky::authfetch::strategy::Strategy;
-use crate::ooo_bsky::authfetch::fetch_records;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct FetchRecords {
     pub uris: Vec>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct FetchRecordsOutput {
     ///The results of the queries. Missing results indicate an error. For privacy, the error is not returned.
     pub results: Vec>,
@@ -46,7 +51,10 @@ pub struct FetchRecordsOutput {
 /// Successful result, with the record value.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct FetchRecordsResult {
     ///The stored private record value.
     pub record: Data,
@@ -99,7 +107,7 @@ impl LexiconSchema for FetchRecordsResult {
 
 pub mod fetch_records_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -188,7 +196,7 @@ where
 
 pub mod fetch_records_result_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -343,10 +351,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> FetchRecordsResult {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> FetchRecordsResult {
         FetchRecordsResult {
             record: self._fields.0.unwrap(),
             strategy: self._fields.1.unwrap(),
@@ -357,10 +362,10 @@ where
 }
 
 fn lexicon_doc_ooo_bsky_authfetch_fetchRecords() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("ooo.bsky.authfetch.fetchRecords"),
@@ -369,44 +374,41 @@ fn lexicon_doc_ooo_bsky_authfetch_fetchRecords() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::XrpcQuery(LexXrpcQuery {
-                    parameters: Some(
-                        LexXrpcQueryParameter::Params(LexXrpcParameters {
-                            required: Some(vec![SmolStr::new_static("uris")]),
-                            properties: {
-                                #[allow(unused_mut)]
-                                let mut map = BTreeMap::new();
-                                map.insert(
-                                    SmolStr::new_static("uris"),
-                                    LexXrpcParametersProperty::Array(LexPrimitiveArray {
-                                        items: LexPrimitiveArrayItem::String(LexString {
-                                            format: Some(LexStringFormat::AtUri),
-                                            ..Default::default()
-                                        }),
-                                        min_length: Some(1usize),
-                                        max_length: Some(50usize),
+                    parameters: Some(LexXrpcQueryParameter::Params(LexXrpcParameters {
+                        required: Some(vec![SmolStr::new_static("uris")]),
+                        properties: {
+                            #[allow(unused_mut)]
+                            let mut map = BTreeMap::new();
+                            map.insert(
+                                SmolStr::new_static("uris"),
+                                LexXrpcParametersProperty::Array(LexPrimitiveArray {
+                                    items: LexPrimitiveArrayItem::String(LexString {
+                                        format: Some(LexStringFormat::AtUri),
                                         ..Default::default()
                                     }),
-                                );
-                                map
-                            },
-                            ..Default::default()
-                        }),
-                    ),
+                                    min_length: Some(1usize),
+                                    max_length: Some(50usize),
+                                    ..Default::default()
+                                }),
+                            );
+                            map
+                        },
+                        ..Default::default()
+                    })),
                     ..Default::default()
                 }),
             );
             map.insert(
                 SmolStr::new_static("result"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("Successful result, with the record value."),
-                    ),
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("uri"), SmolStr::new_static("strategy"),
-                            SmolStr::new_static("record")
-                        ],
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Successful result, with the record value.",
+                    )),
+                    required: Some(vec![
+                        SmolStr::new_static("uri"),
+                        SmolStr::new_static("strategy"),
+                        SmolStr::new_static("record"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -426,9 +428,7 @@ fn lexicon_doc_ooo_bsky_authfetch_fetchRecords() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("uri"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("The AT URI of the record."),
-                                ),
+                                description: Some(CowStr::new_static("The AT URI of the record.")),
                                 format: Some(LexStringFormat::AtUri),
                                 ..Default::default()
                             }),
@@ -442,4 +442,4 @@ fn lexicon_doc_ooo_bsky_authfetch_fetchRecords() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/ooo_bsky/authfetch/import_repo.rs b/crates/jacquard-api/src/ooo_bsky/authfetch/import_repo.rs
index 2098c5b3..dc2cf59a 100644
--- a/crates/jacquard-api/src/ooo_bsky/authfetch/import_repo.rs
+++ b/crates/jacquard-api/src/ooo_bsky/authfetch/import_repo.rs
@@ -10,12 +10,12 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::bytes::Bytes;
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(rename_all = "camelCase")]
@@ -34,22 +34,16 @@ impl jacquard_common::xrpc::XrpcResp for ImportRepoResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for ImportRepo {
     const NSID: &'static str = "ooo.bsky.authfetch.importRepo";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/vnd.ipld.car",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/vnd.ipld.car");
     type Response = ImportRepoResponse;
-    fn encode_body(
-        &self,
-        buffer: &mut Vec,
-    ) -> Result<(), jacquard_common::xrpc::EncodeError>
+    fn encode_body(&self, buffer: &mut Vec) -> Result<(), jacquard_common::xrpc::EncodeError>
     where
         Self: Serialize,
     {
         Ok(buffer.copy_from_slice(self.body.as_ref()))
     }
-    fn decode_body<'de>(
-        body: &'de [u8],
-    ) -> Result
+    fn decode_body<'de>(body: &'de [u8]) -> Result
     where
         Self: Deserialize<'de>,
     {
@@ -63,9 +57,8 @@ impl jacquard_common::xrpc::XrpcRequest for ImportRepo {
 pub struct ImportRepoRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for ImportRepoRequest {
     const PATH: &'static str = "/xrpc/ooo.bsky.authfetch.importRepo";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/vnd.ipld.car",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/vnd.ipld.car");
     type Request = ImportRepo;
     type Response = ImportRepoResponse;
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/ooo_bsky/authfetch/list_records.rs b/crates/jacquard-api/src/ooo_bsky/authfetch/list_records.rs
index 31d82650..05fc6a34 100644
--- a/crates/jacquard-api/src/ooo_bsky/authfetch/list_records.rs
+++ b/crates/jacquard-api/src/ooo_bsky/authfetch/list_records.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -21,14 +21,17 @@ use jacquard_derive::IntoStatic;
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::ooo_bsky::authfetch::list_records;
+use crate::ooo_bsky::authfetch::strategy::Strategy;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::ooo_bsky::authfetch::strategy::Strategy;
-use crate::ooo_bsky::authfetch::list_records;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ListRecords {
     pub collection: Nsid,
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -41,9 +44,11 @@ pub struct ListRecords {
     pub reverse: Option,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ListRecordsOutput {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub cursor: Option,
@@ -55,7 +60,10 @@ pub struct ListRecordsOutput {
 /// A record in the hidden repository.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Record {
     ///The strategy used to authenticate fetch requests for this record.
     pub strategy: Strategy,
@@ -112,7 +120,7 @@ fn _default_limit() -> Option {
 
 pub mod list_records_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -243,7 +251,7 @@ where
 
 pub mod record_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -349,10 +357,7 @@ where
     St::Uri: record_state::IsUnset,
 {
     /// Set the `uri` field (required)
-    pub fn uri(
-        mut self,
-        value: impl Into>,
-    ) -> RecordBuilder> {
+    pub fn uri(mut self, value: impl Into>) -> RecordBuilder> {
         self._fields.1 = Option::Some(value.into());
         RecordBuilder {
             _state: PhantomData,
@@ -409,10 +414,10 @@ where
 }
 
 fn lexicon_doc_ooo_bsky_authfetch_listRecords() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("ooo.bsky.authfetch.listRecords"),
@@ -421,60 +426,55 @@ fn lexicon_doc_ooo_bsky_authfetch_listRecords() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::XrpcQuery(LexXrpcQuery {
-                    parameters: Some(
-                        LexXrpcQueryParameter::Params(LexXrpcParameters {
-                            required: Some(vec![SmolStr::new_static("collection")]),
-                            properties: {
-                                #[allow(unused_mut)]
-                                let mut map = BTreeMap::new();
-                                map.insert(
-                                    SmolStr::new_static("collection"),
-                                    LexXrpcParametersProperty::String(LexString {
-                                        description: Some(
-                                            CowStr::new_static("The NSID of the record collection."),
-                                        ),
-                                        format: Some(LexStringFormat::Nsid),
-                                        ..Default::default()
-                                    }),
-                                );
-                                map.insert(
-                                    SmolStr::new_static("cursor"),
-                                    LexXrpcParametersProperty::String(LexString {
-                                        ..Default::default()
-                                    }),
-                                );
-                                map.insert(
-                                    SmolStr::new_static("limit"),
-                                    LexXrpcParametersProperty::Integer(LexInteger {
-                                        ..Default::default()
-                                    }),
-                                );
-                                map.insert(
-                                    SmolStr::new_static("reverse"),
-                                    LexXrpcParametersProperty::Boolean(LexBoolean {
-                                        ..Default::default()
-                                    }),
-                                );
-                                map
-                            },
-                            ..Default::default()
-                        }),
-                    ),
+                    parameters: Some(LexXrpcQueryParameter::Params(LexXrpcParameters {
+                        required: Some(vec![SmolStr::new_static("collection")]),
+                        properties: {
+                            #[allow(unused_mut)]
+                            let mut map = BTreeMap::new();
+                            map.insert(
+                                SmolStr::new_static("collection"),
+                                LexXrpcParametersProperty::String(LexString {
+                                    description: Some(CowStr::new_static(
+                                        "The NSID of the record collection.",
+                                    )),
+                                    format: Some(LexStringFormat::Nsid),
+                                    ..Default::default()
+                                }),
+                            );
+                            map.insert(
+                                SmolStr::new_static("cursor"),
+                                LexXrpcParametersProperty::String(LexString {
+                                    ..Default::default()
+                                }),
+                            );
+                            map.insert(
+                                SmolStr::new_static("limit"),
+                                LexXrpcParametersProperty::Integer(LexInteger {
+                                    ..Default::default()
+                                }),
+                            );
+                            map.insert(
+                                SmolStr::new_static("reverse"),
+                                LexXrpcParametersProperty::Boolean(LexBoolean {
+                                    ..Default::default()
+                                }),
+                            );
+                            map
+                        },
+                        ..Default::default()
+                    })),
                     ..Default::default()
                 }),
             );
             map.insert(
                 SmolStr::new_static("record"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("A record in the hidden repository."),
-                    ),
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("uri"), SmolStr::new_static("strategy"),
-                            SmolStr::new_static("value")
-                        ],
-                    ),
+                    description: Some(CowStr::new_static("A record in the hidden repository.")),
+                    required: Some(vec![
+                        SmolStr::new_static("uri"),
+                        SmolStr::new_static("strategy"),
+                        SmolStr::new_static("value"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -488,9 +488,7 @@ fn lexicon_doc_ooo_bsky_authfetch_listRecords() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("uri"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("The AT URI of the record."),
-                                ),
+                                description: Some(CowStr::new_static("The AT URI of the record.")),
                                 format: Some(LexStringFormat::AtUri),
                                 ..Default::default()
                             }),
@@ -510,4 +508,4 @@ fn lexicon_doc_ooo_bsky_authfetch_listRecords() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/ooo_bsky/authfetch/put_record.rs b/crates/jacquard-api/src/ooo_bsky/authfetch/put_record.rs
index 7c973cc3..beffd5bc 100644
--- a/crates/jacquard-api/src/ooo_bsky/authfetch/put_record.rs
+++ b/crates/jacquard-api/src/ooo_bsky/authfetch/put_record.rs
@@ -8,18 +8,21 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::ooo_bsky::authfetch::strategy::Strategy;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::{AtUri, Nsid, RecordKey, Rkey};
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::ooo_bsky::authfetch::strategy::Strategy;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct PutRecord {
     ///The NSID of the record collection.
     pub collection: Nsid,
@@ -33,9 +36,11 @@ pub struct PutRecord {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct PutRecordOutput {
     ///The AT URI of the stored record.
     pub uri: AtUri,
@@ -54,9 +59,8 @@ impl jacquard_common::xrpc::XrpcResp for PutRecordResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for PutRecord {
     const NSID: &'static str = "ooo.bsky.authfetch.putRecord";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = PutRecordResponse;
 }
 
@@ -64,16 +68,15 @@ impl jacquard_common::xrpc::XrpcRequest for PutRecord {
 pub struct PutRecordRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for PutRecordRequest {
     const PATH: &'static str = "/xrpc/ooo.bsky.authfetch.putRecord";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = PutRecord;
     type Response = PutRecordResponse;
 }
 
 pub mod put_record_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -270,10 +273,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> PutRecord {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> PutRecord {
         PutRecord {
             collection: self._fields.0.unwrap(),
             record: self._fields.1.unwrap(),
@@ -282,4 +282,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/ooo_bsky/authfetch/strategy.rs b/crates/jacquard-api/src/ooo_bsky/authfetch/strategy.rs
index 3033b831..607f24f4 100644
--- a/crates/jacquard-api/src/ooo_bsky/authfetch/strategy.rs
+++ b/crates/jacquard-api/src/ooo_bsky/authfetch/strategy.rs
@@ -7,7 +7,7 @@
 
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -19,26 +19,29 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// The strategy used to authenticate fetch requests for private records in a hidden repository.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Strategy {
     /**The name that identifies the strategy. The following strategies are supported:
-1. `nobody` - Only the author
-2. `author-follows` - Accounts the author follows
-3. `following-author` - Accounts following the author
-4. `mutuals` - Accounts that both the author follows and are following the author
-5. `mentioned` - The author, along with any accounts "mentioned", including in-text or via reply/embed/etc. links
-6. `threadgate` - Uses the public post's existing `app.bsky.feed.threadgate` record to determine visibility
-7. `circle` - Implementation-defined, generally a configurable per-author list of accounts
-8. `inherit` - Implementation-defined, generally used for replies, allows the set of accounts that the parent record allows, plus the author of the reply record
+    1. `nobody` - Only the author
+    2. `author-follows` - Accounts the author follows
+    3. `following-author` - Accounts following the author
+    4. `mutuals` - Accounts that both the author follows and are following the author
+    5. `mentioned` - The author, along with any accounts "mentioned", including in-text or via reply/embed/etc. links
+    6. `threadgate` - Uses the public post's existing `app.bsky.feed.threadgate` record to determine visibility
+    7. `circle` - Implementation-defined, generally a configurable per-author list of accounts
+    8. `inherit` - Implementation-defined, generally used for replies, allows the set of accounts that the parent record allows, plus the author of the reply record
 
-When fetching a private record from the hidden repository, the server will check the record's strategy, and if the requesting account is not allowed, the server will act as if the record does not exist.
+    When fetching a private record from the hidden repository, the server will check the record's strategy, and if the requesting account is not allowed, the server will act as if the record does not exist.
 
-Of course, many of these strategies depend on the specifics of `app.bsky.graph.follow` / `app.bsky.feed.post` or similar implementation-defined records. You might need to write some code to get support for non-bsky apps.
-*/
+    Of course, many of these strategies depend on the specifics of `app.bsky.graph.follow` / `app.bsky.feed.post` or similar implementation-defined records. You might need to write some code to get support for non-bsky apps.
+    */
     pub name: S,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
@@ -60,10 +63,10 @@ impl LexiconSchema for Strategy {
 }
 
 fn lexicon_doc_ooo_bsky_authfetch_strategy() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("ooo.bsky.authfetch.strategy"),
@@ -101,4 +104,4 @@ fn lexicon_doc_ooo_bsky_authfetch_strategy() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_atpodcasting.rs b/crates/jacquard-api/src/org_atpodcasting.rs
index 465252d0..7e28056d 100644
--- a/crates/jacquard-api/src/org_atpodcasting.rs
+++ b/crates/jacquard-api/src/org_atpodcasting.rs
@@ -10,10 +10,9 @@ pub mod follow;
 pub mod like;
 pub mod podcast;
 
-
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,11 +25,14 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// A podcast category from the Apple Podcasts taxonomy.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct AppleCategory {
     ///The category value. Subcategories use the format 'Category > Subcategory'.
     pub value: AppleCategoryValue,
@@ -187,9 +189,7 @@ impl AppleCategoryValue {
             Self::FictionScienceFiction => "Fiction > Science Fiction",
             Self::Government => "Government",
             Self::HealthFitness => "Health & Fitness",
-            Self::HealthFitnessAlternativeHealth => {
-                "Health & Fitness > Alternative Health"
-            }
+            Self::HealthFitnessAlternativeHealth => "Health & Fitness > Alternative Health",
             Self::HealthFitnessFitness => "Health & Fitness > Fitness",
             Self::HealthFitnessMedicine => "Health & Fitness > Medicine",
             Self::HealthFitnessMentalHealth => "Health & Fitness > Mental Health",
@@ -224,16 +224,12 @@ impl AppleCategoryValue {
             Self::NewsTechNews => "News > Tech News",
             Self::ReligionSpirituality => "Religion & Spirituality",
             Self::ReligionSpiritualityBuddhism => "Religion & Spirituality > Buddhism",
-            Self::ReligionSpiritualityChristianity => {
-                "Religion & Spirituality > Christianity"
-            }
+            Self::ReligionSpiritualityChristianity => "Religion & Spirituality > Christianity",
             Self::ReligionSpiritualityHinduism => "Religion & Spirituality > Hinduism",
             Self::ReligionSpiritualityIslam => "Religion & Spirituality > Islam",
             Self::ReligionSpiritualityJudaism => "Religion & Spirituality > Judaism",
             Self::ReligionSpiritualityReligion => "Religion & Spirituality > Religion",
-            Self::ReligionSpiritualitySpirituality => {
-                "Religion & Spirituality > Spirituality"
-            }
+            Self::ReligionSpiritualitySpirituality => "Religion & Spirituality > Spirituality",
             Self::Science => "Science",
             Self::ScienceAstronomy => "Science > Astronomy",
             Self::ScienceChemistry => "Science > Chemistry",
@@ -246,9 +242,7 @@ impl AppleCategoryValue {
             Self::ScienceSocialSciences => "Science > Social Sciences",
             Self::SocietyCulture => "Society & Culture",
             Self::SocietyCultureDocumentary => "Society & Culture > Documentary",
-            Self::SocietyCulturePersonalJournals => {
-                "Society & Culture > Personal Journals"
-            }
+            Self::SocietyCulturePersonalJournals => "Society & Culture > Personal Journals",
             Self::SocietyCulturePhilosophy => "Society & Culture > Philosophy",
             Self::SocietyCulturePlacesTravel => "Society & Culture > Places & Travel",
             Self::SocietyCultureRelationships => "Society & Culture > Relationships",
@@ -311,9 +305,7 @@ impl AppleCategoryValue {
             "Fiction > Science Fiction" => Self::FictionScienceFiction,
             "Government" => Self::Government,
             "Health & Fitness" => Self::HealthFitness,
-            "Health & Fitness > Alternative Health" => {
-                Self::HealthFitnessAlternativeHealth
-            }
+            "Health & Fitness > Alternative Health" => Self::HealthFitnessAlternativeHealth,
             "Health & Fitness > Fitness" => Self::HealthFitnessFitness,
             "Health & Fitness > Medicine" => Self::HealthFitnessMedicine,
             "Health & Fitness > Mental Health" => Self::HealthFitnessMentalHealth,
@@ -348,16 +340,12 @@ impl AppleCategoryValue {
             "News > Tech News" => Self::NewsTechNews,
             "Religion & Spirituality" => Self::ReligionSpirituality,
             "Religion & Spirituality > Buddhism" => Self::ReligionSpiritualityBuddhism,
-            "Religion & Spirituality > Christianity" => {
-                Self::ReligionSpiritualityChristianity
-            }
+            "Religion & Spirituality > Christianity" => Self::ReligionSpiritualityChristianity,
             "Religion & Spirituality > Hinduism" => Self::ReligionSpiritualityHinduism,
             "Religion & Spirituality > Islam" => Self::ReligionSpiritualityIslam,
             "Religion & Spirituality > Judaism" => Self::ReligionSpiritualityJudaism,
             "Religion & Spirituality > Religion" => Self::ReligionSpiritualityReligion,
-            "Religion & Spirituality > Spirituality" => {
-                Self::ReligionSpiritualitySpirituality
-            }
+            "Religion & Spirituality > Spirituality" => Self::ReligionSpiritualitySpirituality,
             "Science" => Self::Science,
             "Science > Astronomy" => Self::ScienceAstronomy,
             "Science > Chemistry" => Self::ScienceChemistry,
@@ -370,9 +358,7 @@ impl AppleCategoryValue {
             "Science > Social Sciences" => Self::ScienceSocialSciences,
             "Society & Culture" => Self::SocietyCulture,
             "Society & Culture > Documentary" => Self::SocietyCultureDocumentary,
-            "Society & Culture > Personal Journals" => {
-                Self::SocietyCulturePersonalJournals
-            }
+            "Society & Culture > Personal Journals" => Self::SocietyCulturePersonalJournals,
             "Society & Culture > Philosophy" => Self::SocietyCulturePhilosophy,
             "Society & Culture > Places & Travel" => Self::SocietyCulturePlacesTravel,
             "Society & Culture > Relationships" => Self::SocietyCultureRelationships,
@@ -453,31 +439,19 @@ where
             AppleCategoryValue::Arts => AppleCategoryValue::Arts,
             AppleCategoryValue::ArtsBooks => AppleCategoryValue::ArtsBooks,
             AppleCategoryValue::ArtsDesign => AppleCategoryValue::ArtsDesign,
-            AppleCategoryValue::ArtsFashionBeauty => {
-                AppleCategoryValue::ArtsFashionBeauty
-            }
+            AppleCategoryValue::ArtsFashionBeauty => AppleCategoryValue::ArtsFashionBeauty,
             AppleCategoryValue::ArtsFood => AppleCategoryValue::ArtsFood,
-            AppleCategoryValue::ArtsPerformingArts => {
-                AppleCategoryValue::ArtsPerformingArts
-            }
+            AppleCategoryValue::ArtsPerformingArts => AppleCategoryValue::ArtsPerformingArts,
             AppleCategoryValue::ArtsVisualArts => AppleCategoryValue::ArtsVisualArts,
             AppleCategoryValue::Business => AppleCategoryValue::Business,
             AppleCategoryValue::BusinessCareers => AppleCategoryValue::BusinessCareers,
             AppleCategoryValue::BusinessEntrepreneurship => {
                 AppleCategoryValue::BusinessEntrepreneurship
             }
-            AppleCategoryValue::BusinessInvesting => {
-                AppleCategoryValue::BusinessInvesting
-            }
-            AppleCategoryValue::BusinessManagement => {
-                AppleCategoryValue::BusinessManagement
-            }
-            AppleCategoryValue::BusinessMarketing => {
-                AppleCategoryValue::BusinessMarketing
-            }
-            AppleCategoryValue::BusinessNonProfit => {
-                AppleCategoryValue::BusinessNonProfit
-            }
+            AppleCategoryValue::BusinessInvesting => AppleCategoryValue::BusinessInvesting,
+            AppleCategoryValue::BusinessManagement => AppleCategoryValue::BusinessManagement,
+            AppleCategoryValue::BusinessMarketing => AppleCategoryValue::BusinessMarketing,
+            AppleCategoryValue::BusinessNonProfit => AppleCategoryValue::BusinessNonProfit,
             AppleCategoryValue::Comedy => AppleCategoryValue::Comedy,
             AppleCategoryValue::ComedyComedyInterviews => {
                 AppleCategoryValue::ComedyComedyInterviews
@@ -494,24 +468,16 @@ where
                 AppleCategoryValue::EducationSelfImprovement
             }
             AppleCategoryValue::Fiction => AppleCategoryValue::Fiction,
-            AppleCategoryValue::FictionComedyFiction => {
-                AppleCategoryValue::FictionComedyFiction
-            }
+            AppleCategoryValue::FictionComedyFiction => AppleCategoryValue::FictionComedyFiction,
             AppleCategoryValue::FictionDrama => AppleCategoryValue::FictionDrama,
-            AppleCategoryValue::FictionScienceFiction => {
-                AppleCategoryValue::FictionScienceFiction
-            }
+            AppleCategoryValue::FictionScienceFiction => AppleCategoryValue::FictionScienceFiction,
             AppleCategoryValue::Government => AppleCategoryValue::Government,
             AppleCategoryValue::HealthFitness => AppleCategoryValue::HealthFitness,
             AppleCategoryValue::HealthFitnessAlternativeHealth => {
                 AppleCategoryValue::HealthFitnessAlternativeHealth
             }
-            AppleCategoryValue::HealthFitnessFitness => {
-                AppleCategoryValue::HealthFitnessFitness
-            }
-            AppleCategoryValue::HealthFitnessMedicine => {
-                AppleCategoryValue::HealthFitnessMedicine
-            }
+            AppleCategoryValue::HealthFitnessFitness => AppleCategoryValue::HealthFitnessFitness,
+            AppleCategoryValue::HealthFitnessMedicine => AppleCategoryValue::HealthFitnessMedicine,
             AppleCategoryValue::HealthFitnessMentalHealth => {
                 AppleCategoryValue::HealthFitnessMentalHealth
             }
@@ -526,57 +492,33 @@ where
             AppleCategoryValue::KidsFamilyEducationForKids => {
                 AppleCategoryValue::KidsFamilyEducationForKids
             }
-            AppleCategoryValue::KidsFamilyParenting => {
-                AppleCategoryValue::KidsFamilyParenting
-            }
-            AppleCategoryValue::KidsFamilyPetsAnimals => {
-                AppleCategoryValue::KidsFamilyPetsAnimals
-            }
+            AppleCategoryValue::KidsFamilyParenting => AppleCategoryValue::KidsFamilyParenting,
+            AppleCategoryValue::KidsFamilyPetsAnimals => AppleCategoryValue::KidsFamilyPetsAnimals,
             AppleCategoryValue::KidsFamilyStoriesForKids => {
                 AppleCategoryValue::KidsFamilyStoriesForKids
             }
             AppleCategoryValue::Leisure => AppleCategoryValue::Leisure,
-            AppleCategoryValue::LeisureAnimationManga => {
-                AppleCategoryValue::LeisureAnimationManga
-            }
-            AppleCategoryValue::LeisureAutomotive => {
-                AppleCategoryValue::LeisureAutomotive
-            }
+            AppleCategoryValue::LeisureAnimationManga => AppleCategoryValue::LeisureAnimationManga,
+            AppleCategoryValue::LeisureAutomotive => AppleCategoryValue::LeisureAutomotive,
             AppleCategoryValue::LeisureAviation => AppleCategoryValue::LeisureAviation,
             AppleCategoryValue::LeisureCrafts => AppleCategoryValue::LeisureCrafts,
             AppleCategoryValue::LeisureGames => AppleCategoryValue::LeisureGames,
             AppleCategoryValue::LeisureHobbies => AppleCategoryValue::LeisureHobbies,
-            AppleCategoryValue::LeisureHomeGarden => {
-                AppleCategoryValue::LeisureHomeGarden
-            }
-            AppleCategoryValue::LeisureVideoGames => {
-                AppleCategoryValue::LeisureVideoGames
-            }
+            AppleCategoryValue::LeisureHomeGarden => AppleCategoryValue::LeisureHomeGarden,
+            AppleCategoryValue::LeisureVideoGames => AppleCategoryValue::LeisureVideoGames,
             AppleCategoryValue::Music => AppleCategoryValue::Music,
-            AppleCategoryValue::MusicMusicCommentary => {
-                AppleCategoryValue::MusicMusicCommentary
-            }
-            AppleCategoryValue::MusicMusicHistory => {
-                AppleCategoryValue::MusicMusicHistory
-            }
-            AppleCategoryValue::MusicMusicInterviews => {
-                AppleCategoryValue::MusicMusicInterviews
-            }
+            AppleCategoryValue::MusicMusicCommentary => AppleCategoryValue::MusicMusicCommentary,
+            AppleCategoryValue::MusicMusicHistory => AppleCategoryValue::MusicMusicHistory,
+            AppleCategoryValue::MusicMusicInterviews => AppleCategoryValue::MusicMusicInterviews,
             AppleCategoryValue::News => AppleCategoryValue::News,
             AppleCategoryValue::NewsBusinessNews => AppleCategoryValue::NewsBusinessNews,
             AppleCategoryValue::NewsDailyNews => AppleCategoryValue::NewsDailyNews,
-            AppleCategoryValue::NewsEntertainmentNews => {
-                AppleCategoryValue::NewsEntertainmentNews
-            }
-            AppleCategoryValue::NewsNewsCommentary => {
-                AppleCategoryValue::NewsNewsCommentary
-            }
+            AppleCategoryValue::NewsEntertainmentNews => AppleCategoryValue::NewsEntertainmentNews,
+            AppleCategoryValue::NewsNewsCommentary => AppleCategoryValue::NewsNewsCommentary,
             AppleCategoryValue::NewsPolitics => AppleCategoryValue::NewsPolitics,
             AppleCategoryValue::NewsSportsNews => AppleCategoryValue::NewsSportsNews,
             AppleCategoryValue::NewsTechNews => AppleCategoryValue::NewsTechNews,
-            AppleCategoryValue::ReligionSpirituality => {
-                AppleCategoryValue::ReligionSpirituality
-            }
+            AppleCategoryValue::ReligionSpirituality => AppleCategoryValue::ReligionSpirituality,
             AppleCategoryValue::ReligionSpiritualityBuddhism => {
                 AppleCategoryValue::ReligionSpiritualityBuddhism
             }
@@ -601,23 +543,15 @@ where
             AppleCategoryValue::Science => AppleCategoryValue::Science,
             AppleCategoryValue::ScienceAstronomy => AppleCategoryValue::ScienceAstronomy,
             AppleCategoryValue::ScienceChemistry => AppleCategoryValue::ScienceChemistry,
-            AppleCategoryValue::ScienceEarthSciences => {
-                AppleCategoryValue::ScienceEarthSciences
-            }
-            AppleCategoryValue::ScienceLifeSciences => {
-                AppleCategoryValue::ScienceLifeSciences
-            }
-            AppleCategoryValue::ScienceMathematics => {
-                AppleCategoryValue::ScienceMathematics
-            }
+            AppleCategoryValue::ScienceEarthSciences => AppleCategoryValue::ScienceEarthSciences,
+            AppleCategoryValue::ScienceLifeSciences => AppleCategoryValue::ScienceLifeSciences,
+            AppleCategoryValue::ScienceMathematics => AppleCategoryValue::ScienceMathematics,
             AppleCategoryValue::ScienceNaturalSciences => {
                 AppleCategoryValue::ScienceNaturalSciences
             }
             AppleCategoryValue::ScienceNature => AppleCategoryValue::ScienceNature,
             AppleCategoryValue::SciencePhysics => AppleCategoryValue::SciencePhysics,
-            AppleCategoryValue::ScienceSocialSciences => {
-                AppleCategoryValue::ScienceSocialSciences
-            }
+            AppleCategoryValue::ScienceSocialSciences => AppleCategoryValue::ScienceSocialSciences,
             AppleCategoryValue::SocietyCulture => AppleCategoryValue::SocietyCulture,
             AppleCategoryValue::SocietyCultureDocumentary => {
                 AppleCategoryValue::SocietyCultureDocumentary
@@ -638,9 +572,7 @@ where
             AppleCategoryValue::SportsBaseball => AppleCategoryValue::SportsBaseball,
             AppleCategoryValue::SportsBasketball => AppleCategoryValue::SportsBasketball,
             AppleCategoryValue::SportsCricket => AppleCategoryValue::SportsCricket,
-            AppleCategoryValue::SportsFantasySports => {
-                AppleCategoryValue::SportsFantasySports
-            }
+            AppleCategoryValue::SportsFantasySports => AppleCategoryValue::SportsFantasySports,
             AppleCategoryValue::SportsFootball => AppleCategoryValue::SportsFootball,
             AppleCategoryValue::SportsGolf => AppleCategoryValue::SportsGolf,
             AppleCategoryValue::SportsHockey => AppleCategoryValue::SportsHockey,
@@ -656,15 +588,9 @@ where
             AppleCategoryValue::TrueCrime => AppleCategoryValue::TrueCrime,
             AppleCategoryValue::TvFilm => AppleCategoryValue::TvFilm,
             AppleCategoryValue::TvFilmAfterShows => AppleCategoryValue::TvFilmAfterShows,
-            AppleCategoryValue::TvFilmFilmHistory => {
-                AppleCategoryValue::TvFilmFilmHistory
-            }
-            AppleCategoryValue::TvFilmFilmInterviews => {
-                AppleCategoryValue::TvFilmFilmInterviews
-            }
-            AppleCategoryValue::TvFilmFilmReviews => {
-                AppleCategoryValue::TvFilmFilmReviews
-            }
+            AppleCategoryValue::TvFilmFilmHistory => AppleCategoryValue::TvFilmFilmHistory,
+            AppleCategoryValue::TvFilmFilmInterviews => AppleCategoryValue::TvFilmFilmInterviews,
+            AppleCategoryValue::TvFilmFilmReviews => AppleCategoryValue::TvFilmFilmReviews,
             AppleCategoryValue::TvFilmTvReviews => AppleCategoryValue::TvFilmTvReviews,
             AppleCategoryValue::Other(v) => AppleCategoryValue::Other(v.into_static()),
         }
@@ -674,7 +600,10 @@ where
 /// Identifies a podcast episode by its podcast GUID and feed item identifier, independent of which repository currently holds the record.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct EpisodeRef {
     ///The original feed item identifier. Must match the  element of the corresponding RSS feed item.
     pub feed_item_guid: S,
@@ -690,7 +619,10 @@ pub struct EpisodeRef {
 /// Identifies a podcast by its Podcasting 2.0 GUID, independent of which repository currently holds the record.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct PodcastRef {
     ///URL of the podcast's RSS feed.
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -780,10 +712,10 @@ impl LexiconSchema for PodcastRef {
 }
 
 fn lexicon_doc_org_atpodcasting_defs() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("org.atpodcasting.defs"),
@@ -916,4 +848,4 @@ fn lexicon_doc_org_atpodcasting_defs() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_atpodcasting/episode.rs b/crates/jacquard-api/src/org_atpodcasting/episode.rs
index e28c0f41..9d3dcde6 100644
--- a/crates/jacquard-api/src/org_atpodcasting/episode.rs
+++ b/crates/jacquard-api/src/org_atpodcasting/episode.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -25,15 +25,18 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::org_atpodcasting::PodcastRef;
 use crate::org_atpodcasting::episode;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// Reference to an externally hosted chapters file.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ChaptersRef {
     ///MIME type of the chapters file (e.g. application/json+chapters).
     pub mime_type: S,
@@ -198,7 +201,10 @@ pub struct EpisodeGetRecordOutput {
 /// Reference to an externally hosted media file.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct MediaRef {
     ///MIME type of the media file (e.g. audio/mpeg, video/mp4).
     pub mime_type: S,
@@ -211,7 +217,10 @@ pub struct MediaRef {
 /// Reference to an externally hosted transcript file.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct TranscriptRef {
     ///Language of the transcript (ISO 639-1 two-letter code, e.g. 'en', 'es', 'pt').
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -309,25 +318,20 @@ impl LexiconSchema for Episode {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["image/png", "image/jpeg"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("artwork"),
-                        accepted: vec![
-                            "image/png".to_string(), "image/jpeg".to_string()
-                        ],
+                        accepted: vec!["image/png".to_string(), "image/jpeg".to_string()],
                         actual: mime.to_string(),
                     });
                 }
@@ -439,7 +443,7 @@ impl LexiconSchema for TranscriptRef {
 
 pub mod chapters_ref_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -559,10 +563,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> ChaptersRef {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> ChaptersRef {
         ChaptersRef {
             mime_type: self._fields.0.unwrap(),
             url: self._fields.1.unwrap(),
@@ -572,10 +573,10 @@ where
 }
 
 fn lexicon_doc_org_atpodcasting_episode() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("org.atpodcasting.episode"),
@@ -815,34 +816,29 @@ fn lexicon_doc_org_atpodcasting_episode() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("mediaRef"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static(
-                            "Reference to an externally hosted media file.",
-                        ),
-                    ),
-                    required: Some(
-                        vec![SmolStr::new_static("url"), SmolStr::new_static("mimeType")],
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Reference to an externally hosted media file.",
+                    )),
+                    required: Some(vec![
+                        SmolStr::new_static("url"),
+                        SmolStr::new_static("mimeType"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("mimeType"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "MIME type of the media file (e.g. audio/mpeg, video/mp4).",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "MIME type of the media file (e.g. audio/mpeg, video/mp4).",
+                                )),
                                 ..Default::default()
                             }),
                         );
                         map.insert(
                             SmolStr::new_static("url"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("URL of the media file."),
-                                ),
+                                description: Some(CowStr::new_static("URL of the media file.")),
                                 format: Some(LexStringFormat::Uri),
                                 ..Default::default()
                             }),
@@ -912,7 +908,7 @@ fn lexicon_doc_org_atpodcasting_episode() -> LexiconDoc<'static> {
 
 pub mod episode_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1082,23 +1078,8 @@ impl EpisodeBuilder {
         EpisodeBuilder {
             _state: PhantomData,
             _fields: (
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
+                None, None, None, None, None, None, None, None, None, None, None, None, None, None,
+                None, None, None,
             ),
             _type: PhantomData,
         }
@@ -1107,18 +1088,12 @@ impl EpisodeBuilder {
 
 impl EpisodeBuilder {
     /// Set the `alternateMedia` field (optional)
-    pub fn alternate_media(
-        mut self,
-        value: impl Into>>>,
-    ) -> Self {
+    pub fn alternate_media(mut self, value: impl Into>>>) -> Self {
         self._fields.0 = value.into();
         self
     }
     /// Set the `alternateMedia` field to an Option value (optional)
-    pub fn maybe_alternate_media(
-        mut self,
-        value: Option>>,
-    ) -> Self {
+    pub fn maybe_alternate_media(mut self, value: Option>>) -> Self {
         self._fields.0 = value;
         self
     }
@@ -1139,10 +1114,7 @@ impl EpisodeBuilder {
 
 impl EpisodeBuilder {
     /// Set the `chapters` field (optional)
-    pub fn chapters(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn chapters(mut self, value: impl Into>>) -> Self {
         self._fields.2 = value.into();
         self
     }
@@ -1219,10 +1191,7 @@ impl EpisodeBuilder {
 
 impl EpisodeBuilder {
     /// Set the `episodeType` field (optional)
-    pub fn episode_type(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn episode_type(mut self, value: impl Into>>) -> Self {
         self._fields.7 = value.into();
         self
     }
@@ -1354,10 +1323,7 @@ where
     St::Title: episode_state::IsUnset,
 {
     /// Set the `title` field (required)
-    pub fn title(
-        mut self,
-        value: impl Into,
-    ) -> EpisodeBuilder> {
+    pub fn title(mut self, value: impl Into) -> EpisodeBuilder> {
         self._fields.15 = Option::Some(value.into());
         EpisodeBuilder {
             _state: PhantomData,
@@ -1369,18 +1335,12 @@ where
 
 impl EpisodeBuilder {
     /// Set the `transcript` field (optional)
-    pub fn transcript(
-        mut self,
-        value: impl Into>>>,
-    ) -> Self {
+    pub fn transcript(mut self, value: impl Into>>>) -> Self {
         self._fields.16 = value.into();
         self
     }
     /// Set the `transcript` field to an Option value (optional)
-    pub fn maybe_transcript(
-        mut self,
-        value: Option>>,
-    ) -> Self {
+    pub fn maybe_transcript(mut self, value: Option>>) -> Self {
         self._fields.16 = value;
         self
     }
@@ -1447,7 +1407,7 @@ where
 
 pub mod media_ref_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1578,7 +1538,7 @@ where
 
 pub mod transcript_ref_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1712,10 +1672,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> TranscriptRef {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> TranscriptRef {
         TranscriptRef {
             language: self._fields.0,
             mime_type: self._fields.1.unwrap(),
@@ -1723,4 +1680,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_atpodcasting/follow.rs b/crates/jacquard-api/src/org_atpodcasting/follow.rs
index bb29f97d..106bb8af 100644
--- a/crates/jacquard-api/src/org_atpodcasting/follow.rs
+++ b/crates/jacquard-api/src/org_atpodcasting/follow.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::org_atpodcasting::PodcastRef;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::org_atpodcasting::PodcastRef;
+use serde::{Deserialize, Serialize};
 /// A personal expression of interest in a podcast, stored in the follower's own repository and portable across applications. This record does not define notification behavior, feed inclusion, ranking, or metrics — it captures follow intent only.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -107,7 +107,7 @@ impl LexiconSchema for Follow {
 
 pub mod follow_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -237,10 +237,10 @@ where
 }
 
 fn lexicon_doc_org_atpodcasting_follow() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("org.atpodcasting.follow"),
@@ -295,4 +295,4 @@ fn lexicon_doc_org_atpodcasting_follow() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_atpodcasting/like.rs b/crates/jacquard-api/src/org_atpodcasting/like.rs
index 249c481a..06c6f87c 100644
--- a/crates/jacquard-api/src/org_atpodcasting/like.rs
+++ b/crates/jacquard-api/src/org_atpodcasting/like.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::org_atpodcasting::EpisodeRef;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::org_atpodcasting::EpisodeRef;
+use serde::{Deserialize, Serialize};
 /// A personal expression of appreciation for a podcast episode, stored in the liker's own repository and portable across applications. This record does not define notification behavior, ranking, or metrics — it captures like intent only.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -107,7 +107,7 @@ impl LexiconSchema for Like {
 
 pub mod like_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -237,10 +237,10 @@ where
 }
 
 fn lexicon_doc_org_atpodcasting_like() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("org.atpodcasting.like"),
@@ -295,4 +295,4 @@ fn lexicon_doc_org_atpodcasting_like() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_atpodcasting/podcast.rs b/crates/jacquard-api/src/org_atpodcasting/podcast.rs
index ee1fdce0..b268fde4 100644
--- a/crates/jacquard-api/src/org_atpodcasting/podcast.rs
+++ b/crates/jacquard-api/src/org_atpodcasting/podcast.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -25,10 +25,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::org_atpodcasting::AppleCategory;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::org_atpodcasting::AppleCategory;
+use serde::{Deserialize, Serialize};
 /// A podcast feed/show. Record key is the podcast's Podcasting 2.0 UUIDv5 GUID, enabling direct lookup from RSS feed metadata.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -141,25 +141,20 @@ impl LexiconSchema for Podcast {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["image/png", "image/jpeg"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("artwork"),
-                        accepted: vec![
-                            "image/png".to_string(), "image/jpeg".to_string()
-                        ],
+                        accepted: vec!["image/png".to_string(), "image/jpeg".to_string()],
                         actual: mime.to_string(),
                     });
                 }
@@ -215,7 +210,7 @@ impl LexiconSchema for Podcast {
 
 pub mod podcast_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -402,7 +397,9 @@ impl PodcastBuilder {
     pub fn new() -> Self {
         PodcastBuilder {
             _state: PhantomData,
-            _fields: (None, None, None, None, None, None, None, None, None, None, None),
+            _fields: (
+                None, None, None, None, None, None, None, None, None, None, None,
+            ),
             _type: PhantomData,
         }
     }
@@ -522,10 +519,7 @@ where
     St::Guid: podcast_state::IsUnset,
 {
     /// Set the `guid` field (required)
-    pub fn guid(
-        mut self,
-        value: impl Into,
-    ) -> PodcastBuilder> {
+    pub fn guid(mut self, value: impl Into) -> PodcastBuilder> {
         self._fields.6 = Option::Some(value.into());
         PodcastBuilder {
             _state: PhantomData,
@@ -586,10 +580,7 @@ where
     St::Title: podcast_state::IsUnset,
 {
     /// Set the `title` field (required)
-    pub fn title(
-        mut self,
-        value: impl Into,
-    ) -> PodcastBuilder> {
+    pub fn title(mut self, value: impl Into) -> PodcastBuilder> {
         self._fields.10 = Option::Some(value.into());
         PodcastBuilder {
             _state: PhantomData,
@@ -648,10 +639,10 @@ where
 }
 
 fn lexicon_doc_org_atpodcasting_podcast() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("org.atpodcasting.podcast"),
@@ -807,4 +798,4 @@ fn lexicon_doc_org_atpodcasting_podcast() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_atsui.rs b/crates/jacquard-api/src/org_atsui.rs
index be142eda..4e245edb 100644
--- a/crates/jacquard-api/src/org_atsui.rs
+++ b/crates/jacquard-api/src/org_atsui.rs
@@ -20,4 +20,4 @@ pub mod stack;
 pub mod tabs;
 pub mod text;
 pub mod timestamp;
-pub mod title;
\ No newline at end of file
+pub mod title;
diff --git a/crates/jacquard-api/src/org_atsui/avatar.rs b/crates/jacquard-api/src/org_atsui/avatar.rs
index 15795e6d..1b6c3697 100644
--- a/crates/jacquard-api/src/org_atsui/avatar.rs
+++ b/crates/jacquard-api/src/org_atsui/avatar.rs
@@ -8,18 +8,21 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::at_inlay::Response;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::Did;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::at_inlay::Response;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Avatar {
     ///DID of the blob owner. Used to resolve blob URLs.
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -123,9 +126,11 @@ where
     }
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct AvatarOutput {
     #[serde(flatten)]
     pub value: Response,
@@ -144,9 +149,8 @@ impl jacquard_common::xrpc::XrpcResp for AvatarResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for Avatar {
     const NSID: &'static str = "org.atsui.Avatar";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = AvatarResponse;
 }
 
@@ -154,16 +158,15 @@ impl jacquard_common::xrpc::XrpcRequest for Avatar {
 pub struct AvatarRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for AvatarRequest {
     const PATH: &'static str = "/xrpc/org.atsui.Avatar";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = Avatar;
     type Response = AvatarResponse;
 }
 
 pub mod avatar_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -196,7 +199,12 @@ pub mod avatar_state {
 /// Builder for constructing an instance of this type.
 pub struct AvatarBuilder {
     _state: PhantomData St>,
-    _fields: (Option>, Option, Option>, Option>),
+    _fields: (
+        Option>,
+        Option,
+        Option>,
+        Option>,
+    ),
     _type: PhantomData S>,
 }
 
@@ -263,10 +271,7 @@ where
     St::Src: avatar_state::IsUnset,
 {
     /// Set the `src` field (required)
-    pub fn src(
-        mut self,
-        value: impl Into>,
-    ) -> AvatarBuilder> {
+    pub fn src(mut self, value: impl Into>) -> AvatarBuilder> {
         self._fields.3 = Option::Some(value.into());
         AvatarBuilder {
             _state: PhantomData,
@@ -301,4 +306,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_atsui/blob.rs b/crates/jacquard-api/src/org_atsui/blob.rs
index 2c1d9f36..2a6b5e00 100644
--- a/crates/jacquard-api/src/org_atsui/blob.rs
+++ b/crates/jacquard-api/src/org_atsui/blob.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -21,14 +21,17 @@ use jacquard_derive::IntoStatic;
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::at_inlay::Response;
 use crate::org_atsui::blob;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct AspectRatio {
     pub height: i64,
     pub width: i64,
@@ -36,9 +39,11 @@ pub struct AspectRatio {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Blob {
     ///DID of the blob owner. Used to resolve blob URLs.
     pub did: Did,
@@ -54,9 +59,11 @@ pub struct Blob {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct BlobOutput {
     #[serde(flatten)]
     pub value: Response,
@@ -110,9 +117,8 @@ impl jacquard_common::xrpc::XrpcResp for BlobResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for Blob {
     const NSID: &'static str = "org.atsui.Blob";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = BlobResponse;
 }
 
@@ -120,16 +126,15 @@ impl jacquard_common::xrpc::XrpcRequest for Blob {
 pub struct BlobRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for BlobRequest {
     const PATH: &'static str = "/xrpc/org.atsui.Blob";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = Blob;
     type Response = BlobResponse;
 }
 
 pub mod aspect_ratio_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -249,10 +254,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> AspectRatio {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> AspectRatio {
         AspectRatio {
             height: self._fields.0.unwrap(),
             width: self._fields.1.unwrap(),
@@ -262,10 +264,10 @@ where
 }
 
 fn lexicon_doc_org_atsui_Blob() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("org.atsui.Blob"),
@@ -274,9 +276,10 @@ fn lexicon_doc_org_atsui_Blob() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("aspectRatio"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![SmolStr::new_static("width"), SmolStr::new_static("height")],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("width"),
+                        SmolStr::new_static("height"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -367,7 +370,7 @@ fn lexicon_doc_org_atsui_Blob() -> LexiconDoc<'static> {
 
 pub mod blob_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -412,7 +415,12 @@ pub mod blob_state {
 /// Builder for constructing an instance of this type.
 pub struct BlobBuilder {
     _state: PhantomData St>,
-    _fields: (Option>, Option, Option>, Option>),
+    _fields: (
+        Option>,
+        Option,
+        Option>,
+        Option>,
+    ),
     _type: PhantomData S>,
 }
 
@@ -440,10 +448,7 @@ where
     St::Did: blob_state::IsUnset,
 {
     /// Set the `did` field (required)
-    pub fn did(
-        mut self,
-        value: impl Into>,
-    ) -> BlobBuilder> {
+    pub fn did(mut self, value: impl Into>) -> BlobBuilder> {
         self._fields.0 = Option::Some(value.into());
         BlobBuilder {
             _state: PhantomData,
@@ -485,10 +490,7 @@ where
     St::Src: blob_state::IsUnset,
 {
     /// Set the `src` field (required)
-    pub fn src(
-        mut self,
-        value: impl Into>,
-    ) -> BlobBuilder> {
+    pub fn src(mut self, value: impl Into>) -> BlobBuilder> {
         self._fields.3 = Option::Some(value.into());
         BlobBuilder {
             _state: PhantomData,
@@ -524,4 +526,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_atsui/caption.rs b/crates/jacquard-api/src/org_atsui/caption.rs
index 08dfbabb..d7319536 100644
--- a/crates/jacquard-api/src/org_atsui/caption.rs
+++ b/crates/jacquard-api/src/org_atsui/caption.rs
@@ -8,26 +8,31 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::at_inlay::Response;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::at_inlay::Response;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Caption {
     pub children: Data,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct CaptionOutput {
     #[serde(flatten)]
     pub value: Response,
@@ -46,9 +51,8 @@ impl jacquard_common::xrpc::XrpcResp for CaptionResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for Caption {
     const NSID: &'static str = "org.atsui.Caption";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = CaptionResponse;
 }
 
@@ -56,16 +60,15 @@ impl jacquard_common::xrpc::XrpcRequest for Caption {
 pub struct CaptionRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for CaptionRequest {
     const PATH: &'static str = "/xrpc/org.atsui.Caption";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = Caption;
     type Response = CaptionResponse;
 }
 
 pub mod caption_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -158,4 +161,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_atsui/clip.rs b/crates/jacquard-api/src/org_atsui/clip.rs
index 12dfa265..ad4fdd56 100644
--- a/crates/jacquard-api/src/org_atsui/clip.rs
+++ b/crates/jacquard-api/src/org_atsui/clip.rs
@@ -20,14 +20,17 @@ use jacquard_derive::IntoStatic;
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::at_inlay::Response;
 use crate::org_atsui::clip;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct AspectRatio {
     pub height: i64,
     pub width: i64,
@@ -35,9 +38,11 @@ pub struct AspectRatio {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Clip {
     pub children: Data,
     ///Maximum box proportions (tallest allowed shape). E.g. {width:1, height:2} means at most twice as tall as wide.
@@ -50,9 +55,11 @@ pub struct Clip {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ClipOutput {
     #[serde(flatten)]
     pub value: Response,
@@ -106,9 +113,8 @@ impl jacquard_common::xrpc::XrpcResp for ClipResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for Clip {
     const NSID: &'static str = "org.atsui.Clip";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = ClipResponse;
 }
 
@@ -116,16 +122,15 @@ impl jacquard_common::xrpc::XrpcRequest for Clip {
 pub struct ClipRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for ClipRequest {
     const PATH: &'static str = "/xrpc/org.atsui.Clip";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = Clip;
     type Response = ClipResponse;
 }
 
 pub mod aspect_ratio_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -245,10 +250,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> AspectRatio {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> AspectRatio {
         AspectRatio {
             height: self._fields.0.unwrap(),
             width: self._fields.1.unwrap(),
@@ -258,10 +260,10 @@ where
 }
 
 fn lexicon_doc_org_atsui_Clip() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("org.atsui.Clip"),
@@ -270,9 +272,10 @@ fn lexicon_doc_org_atsui_Clip() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("aspectRatio"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![SmolStr::new_static("width"), SmolStr::new_static("height")],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("width"),
+                        SmolStr::new_static("height"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -300,37 +303,35 @@ fn lexicon_doc_org_atsui_Clip() -> LexiconDoc<'static> {
                 LexUserType::XrpcProcedure(LexXrpcProcedure {
                     input: Some(LexXrpcBody {
                         encoding: CowStr::new_static("application/json"),
-                        schema: Some(
-                            LexXrpcBodySchema::Object(LexObject {
-                                required: Some(vec![SmolStr::new_static("children")]),
-                                properties: {
-                                    #[allow(unused_mut)]
-                                    let mut map = BTreeMap::new();
-                                    map.insert(
-                                        SmolStr::new_static("children"),
-                                        LexObjectProperty::Unknown(LexUnknown {
-                                            ..Default::default()
-                                        }),
-                                    );
-                                    map.insert(
-                                        SmolStr::new_static("max"),
-                                        LexObjectProperty::Ref(LexRef {
-                                            r#ref: CowStr::new_static("#aspectRatio"),
-                                            ..Default::default()
-                                        }),
-                                    );
-                                    map.insert(
-                                        SmolStr::new_static("min"),
-                                        LexObjectProperty::Ref(LexRef {
-                                            r#ref: CowStr::new_static("#aspectRatio"),
-                                            ..Default::default()
-                                        }),
-                                    );
-                                    map
-                                },
-                                ..Default::default()
-                            }),
-                        ),
+                        schema: Some(LexXrpcBodySchema::Object(LexObject {
+                            required: Some(vec![SmolStr::new_static("children")]),
+                            properties: {
+                                #[allow(unused_mut)]
+                                let mut map = BTreeMap::new();
+                                map.insert(
+                                    SmolStr::new_static("children"),
+                                    LexObjectProperty::Unknown(LexUnknown {
+                                        ..Default::default()
+                                    }),
+                                );
+                                map.insert(
+                                    SmolStr::new_static("max"),
+                                    LexObjectProperty::Ref(LexRef {
+                                        r#ref: CowStr::new_static("#aspectRatio"),
+                                        ..Default::default()
+                                    }),
+                                );
+                                map.insert(
+                                    SmolStr::new_static("min"),
+                                    LexObjectProperty::Ref(LexRef {
+                                        r#ref: CowStr::new_static("#aspectRatio"),
+                                        ..Default::default()
+                                    }),
+                                );
+                                map
+                            },
+                            ..Default::default()
+                        })),
                         ..Default::default()
                     }),
                     ..Default::default()
@@ -344,7 +345,7 @@ fn lexicon_doc_org_atsui_Clip() -> LexiconDoc<'static> {
 
 pub mod clip_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -471,4 +472,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_atsui/cover.rs b/crates/jacquard-api/src/org_atsui/cover.rs
index 88053b55..81ffbaa9 100644
--- a/crates/jacquard-api/src/org_atsui/cover.rs
+++ b/crates/jacquard-api/src/org_atsui/cover.rs
@@ -8,18 +8,21 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::at_inlay::Response;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::Did;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::at_inlay::Response;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Cover {
     ///DID of the blob owner. Used to resolve blob URLs.
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -30,9 +33,11 @@ pub struct Cover {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct CoverOutput {
     #[serde(flatten)]
     pub value: Response,
@@ -51,9 +56,8 @@ impl jacquard_common::xrpc::XrpcResp for CoverResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for Cover {
     const NSID: &'static str = "org.atsui.Cover";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = CoverResponse;
 }
 
@@ -61,16 +65,15 @@ impl jacquard_common::xrpc::XrpcRequest for Cover {
 pub struct CoverRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for CoverRequest {
     const PATH: &'static str = "/xrpc/org.atsui.Cover";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = Cover;
     type Response = CoverResponse;
 }
 
 pub mod cover_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -144,10 +147,7 @@ where
     St::Src: cover_state::IsUnset,
 {
     /// Set the `src` field (required)
-    pub fn src(
-        mut self,
-        value: impl Into>,
-    ) -> CoverBuilder> {
+    pub fn src(mut self, value: impl Into>) -> CoverBuilder> {
         self._fields.1 = Option::Some(value.into());
         CoverBuilder {
             _state: PhantomData,
@@ -178,4 +178,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_atsui/editor.rs b/crates/jacquard-api/src/org_atsui/editor.rs
index 99a853d4..7630a05b 100644
--- a/crates/jacquard-api/src/org_atsui/editor.rs
+++ b/crates/jacquard-api/src/org_atsui/editor.rs
@@ -8,18 +8,21 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::at_inlay::Response;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::AtUri;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::at_inlay::Response;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Editor {
     ///AT-URI of the component record to edit
     pub uri: AtUri,
@@ -27,9 +30,11 @@ pub struct Editor {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct EditorOutput {
     #[serde(flatten)]
     pub value: Response,
@@ -48,9 +53,8 @@ impl jacquard_common::xrpc::XrpcResp for EditorResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for Editor {
     const NSID: &'static str = "org.atsui.Editor";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = EditorResponse;
 }
 
@@ -58,16 +62,15 @@ impl jacquard_common::xrpc::XrpcRequest for Editor {
 pub struct EditorRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for EditorRequest {
     const PATH: &'static str = "/xrpc/org.atsui.Editor";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = Editor;
     type Response = EditorResponse;
 }
 
 pub mod editor_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -128,10 +131,7 @@ where
     St::Uri: editor_state::IsUnset,
 {
     /// Set the `uri` field (required)
-    pub fn uri(
-        mut self,
-        value: impl Into>,
-    ) -> EditorBuilder> {
+    pub fn uri(mut self, value: impl Into>) -> EditorBuilder> {
         self._fields.0 = Option::Some(value.into());
         EditorBuilder {
             _state: PhantomData,
@@ -160,4 +160,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_atsui/fill.rs b/crates/jacquard-api/src/org_atsui/fill.rs
index e801a073..8eee5b73 100644
--- a/crates/jacquard-api/src/org_atsui/fill.rs
+++ b/crates/jacquard-api/src/org_atsui/fill.rs
@@ -8,26 +8,31 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::at_inlay::Response;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::at_inlay::Response;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Fill {
     pub children: Data,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct FillOutput {
     #[serde(flatten)]
     pub value: Response,
@@ -46,9 +51,8 @@ impl jacquard_common::xrpc::XrpcResp for FillResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for Fill {
     const NSID: &'static str = "org.atsui.Fill";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = FillResponse;
 }
 
@@ -56,16 +60,15 @@ impl jacquard_common::xrpc::XrpcRequest for Fill {
 pub struct FillRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for FillRequest {
     const PATH: &'static str = "/xrpc/org.atsui.Fill";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = Fill;
     type Response = FillResponse;
 }
 
 pub mod fill_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -158,4 +161,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_atsui/grid.rs b/crates/jacquard-api/src/org_atsui/grid.rs
index ad668fc3..5f077421 100644
--- a/crates/jacquard-api/src/org_atsui/grid.rs
+++ b/crates/jacquard-api/src/org_atsui/grid.rs
@@ -8,17 +8,20 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::at_inlay::Response;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::at_inlay::Response;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Grid {
     pub children: Data,
     ///Number of equal columns.  Defaults to `3`.
@@ -119,9 +122,11 @@ where
     }
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GridOutput {
     #[serde(flatten)]
     pub value: Response,
@@ -140,9 +145,8 @@ impl jacquard_common::xrpc::XrpcResp for GridResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for Grid {
     const NSID: &'static str = "org.atsui.Grid";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = GridResponse;
 }
 
@@ -150,9 +154,8 @@ impl jacquard_common::xrpc::XrpcRequest for Grid {
 pub struct GridRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for GridRequest {
     const PATH: &'static str = "/xrpc/org.atsui.Grid";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = Grid;
     type Response = GridResponse;
 }
@@ -163,7 +166,7 @@ fn _default_grid_columns() -> Option {
 
 pub mod grid_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -286,4 +289,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_atsui/heading.rs b/crates/jacquard-api/src/org_atsui/heading.rs
index 744d5c01..c87f902e 100644
--- a/crates/jacquard-api/src/org_atsui/heading.rs
+++ b/crates/jacquard-api/src/org_atsui/heading.rs
@@ -8,26 +8,31 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::at_inlay::Response;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::at_inlay::Response;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Heading {
     pub children: Data,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct HeadingOutput {
     #[serde(flatten)]
     pub value: Response,
@@ -46,9 +51,8 @@ impl jacquard_common::xrpc::XrpcResp for HeadingResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for Heading {
     const NSID: &'static str = "org.atsui.Heading";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = HeadingResponse;
 }
 
@@ -56,16 +60,15 @@ impl jacquard_common::xrpc::XrpcRequest for Heading {
 pub struct HeadingRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for HeadingRequest {
     const PATH: &'static str = "/xrpc/org.atsui.Heading";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = Heading;
     type Response = HeadingResponse;
 }
 
 pub mod heading_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -158,4 +161,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_atsui/link.rs b/crates/jacquard-api/src/org_atsui/link.rs
index efbae212..81b9c3ef 100644
--- a/crates/jacquard-api/src/org_atsui/link.rs
+++ b/crates/jacquard-api/src/org_atsui/link.rs
@@ -8,18 +8,21 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::at_inlay::Response;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::UriValue;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::at_inlay::Response;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Link {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub children: Option>,
@@ -30,7 +33,6 @@ pub struct Link {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Debug, Clone, PartialEq, Eq, Hash)]
 pub enum LinkDecoration {
     None,
@@ -108,9 +110,11 @@ where
     }
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct LinkOutput {
     #[serde(flatten)]
     pub value: Response,
@@ -129,9 +133,8 @@ impl jacquard_common::xrpc::XrpcResp for LinkResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for Link {
     const NSID: &'static str = "org.atsui.Link";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = LinkResponse;
 }
 
@@ -139,16 +142,15 @@ impl jacquard_common::xrpc::XrpcRequest for Link {
 pub struct LinkRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for LinkRequest {
     const PATH: &'static str = "/xrpc/org.atsui.Link";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = Link;
     type Response = LinkResponse;
 }
 
 pub mod link_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -181,7 +183,11 @@ pub mod link_state {
 /// Builder for constructing an instance of this type.
 pub struct LinkBuilder {
     _state: PhantomData St>,
-    _fields: (Option>, Option>, Option>),
+    _fields: (
+        Option>,
+        Option>,
+        Option>,
+    ),
     _type: PhantomData S>,
 }
 
@@ -235,10 +241,7 @@ where
     St::Uri: link_state::IsUnset,
 {
     /// Set the `uri` field (required)
-    pub fn uri(
-        mut self,
-        value: impl Into>,
-    ) -> LinkBuilder> {
+    pub fn uri(mut self, value: impl Into>) -> LinkBuilder> {
         self._fields.2 = Option::Some(value.into());
         LinkBuilder {
             _state: PhantomData,
@@ -271,4 +274,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_atsui/list.rs b/crates/jacquard-api/src/org_atsui/list.rs
index f6a30074..2cecffc3 100644
--- a/crates/jacquard-api/src/org_atsui/list.rs
+++ b/crates/jacquard-api/src/org_atsui/list.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -21,14 +21,17 @@ use jacquard_derive::IntoStatic;
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::at_inlay::Element;
 use crate::at_inlay::Response;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct List {
     ///DID of the service that implements the query.
     pub did: Did,
@@ -41,9 +44,11 @@ pub struct List {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ListOutput {
     #[serde(flatten)]
     pub value: Response,
@@ -54,7 +59,10 @@ pub struct ListOutput {
 /// Response shape from a List data source query.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Page {
     ///Opaque pagination token. Absent means no more items.
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -76,9 +84,8 @@ impl jacquard_common::xrpc::XrpcResp for ListResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for List {
     const NSID: &'static str = "org.atsui.List";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = ListResponse;
 }
 
@@ -86,9 +93,8 @@ impl jacquard_common::xrpc::XrpcRequest for List {
 pub struct ListRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for ListRequest {
     const PATH: &'static str = "/xrpc/org.atsui.List";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = List;
     type Response = ListResponse;
 }
@@ -120,7 +126,7 @@ impl LexiconSchema for Page {
 
 pub mod list_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -193,10 +199,7 @@ where
     St::Did: list_state::IsUnset,
 {
     /// Set the `did` field (required)
-    pub fn did(
-        mut self,
-        value: impl Into>,
-    ) -> ListBuilder> {
+    pub fn did(mut self, value: impl Into>) -> ListBuilder> {
         self._fields.0 = Option::Some(value.into());
         ListBuilder {
             _state: PhantomData,
@@ -225,10 +228,7 @@ where
     St::Query: list_state::IsUnset,
 {
     /// Set the `query` field (required)
-    pub fn query(
-        mut self,
-        value: impl Into>,
-    ) -> ListBuilder> {
+    pub fn query(mut self, value: impl Into>) -> ListBuilder> {
         self._fields.2 = Option::Some(value.into());
         ListBuilder {
             _state: PhantomData,
@@ -266,7 +266,7 @@ where
 
 pub mod page_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -377,10 +377,10 @@ where
 }
 
 fn lexicon_doc_org_atsui_List() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("org.atsui.List"),
@@ -391,49 +391,44 @@ fn lexicon_doc_org_atsui_List() -> LexiconDoc<'static> {
                 LexUserType::XrpcProcedure(LexXrpcProcedure {
                     input: Some(LexXrpcBody {
                         encoding: CowStr::new_static("application/json"),
-                        schema: Some(
-                            LexXrpcBodySchema::Object(LexObject {
-                                required: Some(
-                                    vec![
-                                        SmolStr::new_static("query"), SmolStr::new_static("did")
-                                    ],
-                                ),
-                                properties: {
-                                    #[allow(unused_mut)]
-                                    let mut map = BTreeMap::new();
-                                    map.insert(
-                                        SmolStr::new_static("did"),
-                                        LexObjectProperty::String(LexString {
-                                            description: Some(
-                                                CowStr::new_static(
-                                                    "DID of the service that implements the query.",
-                                                ),
-                                            ),
-                                            format: Some(LexStringFormat::Did),
-                                            ..Default::default()
-                                        }),
-                                    );
-                                    map.insert(
-                                        SmolStr::new_static("input"),
-                                        LexObjectProperty::Unknown(LexUnknown {
-                                            ..Default::default()
-                                        }),
-                                    );
-                                    map.insert(
-                                        SmolStr::new_static("query"),
-                                        LexObjectProperty::String(LexString {
-                                            description: Some(
-                                                CowStr::new_static("XRPC query to call for pages of items."),
-                                            ),
-                                            format: Some(LexStringFormat::Nsid),
-                                            ..Default::default()
-                                        }),
-                                    );
-                                    map
-                                },
-                                ..Default::default()
-                            }),
-                        ),
+                        schema: Some(LexXrpcBodySchema::Object(LexObject {
+                            required: Some(vec![
+                                SmolStr::new_static("query"),
+                                SmolStr::new_static("did"),
+                            ]),
+                            properties: {
+                                #[allow(unused_mut)]
+                                let mut map = BTreeMap::new();
+                                map.insert(
+                                    SmolStr::new_static("did"),
+                                    LexObjectProperty::String(LexString {
+                                        description: Some(CowStr::new_static(
+                                            "DID of the service that implements the query.",
+                                        )),
+                                        format: Some(LexStringFormat::Did),
+                                        ..Default::default()
+                                    }),
+                                );
+                                map.insert(
+                                    SmolStr::new_static("input"),
+                                    LexObjectProperty::Unknown(LexUnknown {
+                                        ..Default::default()
+                                    }),
+                                );
+                                map.insert(
+                                    SmolStr::new_static("query"),
+                                    LexObjectProperty::String(LexString {
+                                        description: Some(CowStr::new_static(
+                                            "XRPC query to call for pages of items.",
+                                        )),
+                                        format: Some(LexStringFormat::Nsid),
+                                        ..Default::default()
+                                    }),
+                                );
+                                map
+                            },
+                            ..Default::default()
+                        })),
                         ..Default::default()
                     }),
                     ..Default::default()
@@ -442,11 +437,9 @@ fn lexicon_doc_org_atsui_List() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("page"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static(
-                            "Response shape from a List data source query.",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Response shape from a List data source query.",
+                    )),
                     required: Some(vec![SmolStr::new_static("items")]),
                     properties: {
                         #[allow(unused_mut)]
@@ -454,11 +447,9 @@ fn lexicon_doc_org_atsui_List() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("cursor"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "Opaque pagination token. Absent means no more items.",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Opaque pagination token. Absent means no more items.",
+                                )),
                                 max_length: Some(512usize),
                                 ..Default::default()
                             }),
@@ -466,9 +457,9 @@ fn lexicon_doc_org_atsui_List() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("items"),
                             LexObjectProperty::Array(LexArray {
-                                description: Some(
-                                    CowStr::new_static("Elements to render as list rows."),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Elements to render as list rows.",
+                                )),
                                 items: LexArrayItem::Ref(LexRef {
                                     r#ref: CowStr::new_static("at.inlay.defs#element"),
                                     ..Default::default()
@@ -485,4 +476,4 @@ fn lexicon_doc_org_atsui_List() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_atsui/record.rs b/crates/jacquard-api/src/org_atsui/record.rs
index ac59e8b5..5c5dc7ab 100644
--- a/crates/jacquard-api/src/org_atsui/record.rs
+++ b/crates/jacquard-api/src/org_atsui/record.rs
@@ -8,18 +8,21 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::at_inlay::Response;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::AtUri;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::at_inlay::Response;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Record {
     ///AT-URI of the record to display
     pub uri: AtUri,
@@ -27,9 +30,11 @@ pub struct Record {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct RecordOutput {
     #[serde(flatten)]
     pub value: Response,
@@ -48,9 +53,8 @@ impl jacquard_common::xrpc::XrpcResp for RecordResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for Record {
     const NSID: &'static str = "org.atsui.Record";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = RecordResponse;
 }
 
@@ -58,16 +62,15 @@ impl jacquard_common::xrpc::XrpcRequest for Record {
 pub struct RecordRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for RecordRequest {
     const PATH: &'static str = "/xrpc/org.atsui.Record";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = Record;
     type Response = RecordResponse;
 }
 
 pub mod record_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -128,10 +131,7 @@ where
     St::Uri: record_state::IsUnset,
 {
     /// Set the `uri` field (required)
-    pub fn uri(
-        mut self,
-        value: impl Into>,
-    ) -> RecordBuilder> {
+    pub fn uri(mut self, value: impl Into>) -> RecordBuilder> {
         self._fields.0 = Option::Some(value.into());
         RecordBuilder {
             _state: PhantomData,
@@ -160,4 +160,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_atsui/row.rs b/crates/jacquard-api/src/org_atsui/row.rs
index 285bf5a8..97b82497 100644
--- a/crates/jacquard-api/src/org_atsui/row.rs
+++ b/crates/jacquard-api/src/org_atsui/row.rs
@@ -8,17 +8,20 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::at_inlay::Response;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::at_inlay::Response;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Row {
     ///Cross-axis (vertical) alignment of children.
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -304,9 +307,11 @@ where
     }
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct RowOutput {
     #[serde(flatten)]
     pub value: Response,
@@ -325,9 +330,8 @@ impl jacquard_common::xrpc::XrpcResp for RowResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for Row {
     const NSID: &'static str = "org.atsui.Row";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = RowResponse;
 }
 
@@ -335,16 +339,15 @@ impl jacquard_common::xrpc::XrpcRequest for Row {
 pub struct RowRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for RowRequest {
     const PATH: &'static str = "/xrpc/org.atsui.Row";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = Row;
     type Response = RowResponse;
 }
 
 pub mod row_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -535,4 +538,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_atsui/stack.rs b/crates/jacquard-api/src/org_atsui/stack.rs
index c5c4d738..0f469a67 100644
--- a/crates/jacquard-api/src/org_atsui/stack.rs
+++ b/crates/jacquard-api/src/org_atsui/stack.rs
@@ -8,17 +8,20 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::at_inlay::Response;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::at_inlay::Response;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Stack {
     ///Cross-axis alignment of children.
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -307,9 +310,11 @@ where
     }
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct StackOutput {
     #[serde(flatten)]
     pub value: Response,
@@ -328,9 +333,8 @@ impl jacquard_common::xrpc::XrpcResp for StackResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for Stack {
     const NSID: &'static str = "org.atsui.Stack";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = StackResponse;
 }
 
@@ -338,16 +342,15 @@ impl jacquard_common::xrpc::XrpcRequest for Stack {
 pub struct StackRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for StackRequest {
     const PATH: &'static str = "/xrpc/org.atsui.Stack";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = Stack;
     type Response = StackResponse;
 }
 
 pub mod stack_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -554,4 +557,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_atsui/tabs.rs b/crates/jacquard-api/src/org_atsui/tabs.rs
index 35bf5b81..9969d93d 100644
--- a/crates/jacquard-api/src/org_atsui/tabs.rs
+++ b/crates/jacquard-api/src/org_atsui/tabs.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -20,15 +20,18 @@ use jacquard_derive::IntoStatic;
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::at_inlay::Element;
 use crate::at_inlay::Response;
 use crate::org_atsui::tabs;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Tabs {
     ///Tabs to display.
     pub items: Vec>,
@@ -36,9 +39,11 @@ pub struct Tabs {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct TabsOutput {
     #[serde(flatten)]
     pub value: Response,
@@ -46,9 +51,11 @@ pub struct TabsOutput {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Tab {
     ///Element to render as tab content.
     pub content: Element,
@@ -71,9 +78,8 @@ impl jacquard_common::xrpc::XrpcResp for TabsResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for Tabs {
     const NSID: &'static str = "org.atsui.Tabs";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = TabsResponse;
 }
 
@@ -81,9 +87,8 @@ impl jacquard_common::xrpc::XrpcRequest for Tabs {
 pub struct TabsRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for TabsRequest {
     const PATH: &'static str = "/xrpc/org.atsui.Tabs";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = Tabs;
     type Response = TabsResponse;
 }
@@ -127,7 +132,7 @@ impl LexiconSchema for Tab {
 
 pub mod tabs_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -224,7 +229,7 @@ where
 
 pub mod tab_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -346,10 +351,7 @@ where
     St::Label: tab_state::IsUnset,
 {
     /// Set the `label` field (required)
-    pub fn label(
-        mut self,
-        value: impl Into,
-    ) -> TabBuilder> {
+    pub fn label(mut self, value: impl Into) -> TabBuilder> {
         self._fields.2 = Option::Some(value.into());
         TabBuilder {
             _state: PhantomData,
@@ -387,10 +389,10 @@ where
 }
 
 fn lexicon_doc_org_atsui_Tabs() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("org.atsui.Tabs"),
@@ -401,28 +403,26 @@ fn lexicon_doc_org_atsui_Tabs() -> LexiconDoc<'static> {
                 LexUserType::XrpcProcedure(LexXrpcProcedure {
                     input: Some(LexXrpcBody {
                         encoding: CowStr::new_static("application/json"),
-                        schema: Some(
-                            LexXrpcBodySchema::Object(LexObject {
-                                required: Some(vec![SmolStr::new_static("items")]),
-                                properties: {
-                                    #[allow(unused_mut)]
-                                    let mut map = BTreeMap::new();
-                                    map.insert(
-                                        SmolStr::new_static("items"),
-                                        LexObjectProperty::Array(LexArray {
-                                            description: Some(CowStr::new_static("Tabs to display.")),
-                                            items: LexArrayItem::Ref(LexRef {
-                                                r#ref: CowStr::new_static("#tab"),
-                                                ..Default::default()
-                                            }),
+                        schema: Some(LexXrpcBodySchema::Object(LexObject {
+                            required: Some(vec![SmolStr::new_static("items")]),
+                            properties: {
+                                #[allow(unused_mut)]
+                                let mut map = BTreeMap::new();
+                                map.insert(
+                                    SmolStr::new_static("items"),
+                                    LexObjectProperty::Array(LexArray {
+                                        description: Some(CowStr::new_static("Tabs to display.")),
+                                        items: LexArrayItem::Ref(LexRef {
+                                            r#ref: CowStr::new_static("#tab"),
                                             ..Default::default()
                                         }),
-                                    );
-                                    map
-                                },
-                                ..Default::default()
-                            }),
-                        ),
+                                        ..Default::default()
+                                    }),
+                                );
+                                map
+                            },
+                            ..Default::default()
+                        })),
                         ..Default::default()
                     }),
                     ..Default::default()
@@ -431,12 +431,11 @@ fn lexicon_doc_org_atsui_Tabs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("tab"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("key"), SmolStr::new_static("label"),
-                            SmolStr::new_static("content")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("key"),
+                        SmolStr::new_static("label"),
+                        SmolStr::new_static("content"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -450,11 +449,9 @@ fn lexicon_doc_org_atsui_Tabs() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("key"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "Stable key that identifies the tab among its siblings.",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Stable key that identifies the tab among its siblings.",
+                                )),
                                 max_length: Some(64usize),
                                 ..Default::default()
                             }),
@@ -462,9 +459,7 @@ fn lexicon_doc_org_atsui_Tabs() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("label"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Display label for the tab."),
-                                ),
+                                description: Some(CowStr::new_static("Display label for the tab.")),
                                 max_length: Some(128usize),
                                 ..Default::default()
                             }),
@@ -478,4 +473,4 @@ fn lexicon_doc_org_atsui_Tabs() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_atsui/text.rs b/crates/jacquard-api/src/org_atsui/text.rs
index 7dd29075..3745a534 100644
--- a/crates/jacquard-api/src/org_atsui/text.rs
+++ b/crates/jacquard-api/src/org_atsui/text.rs
@@ -8,26 +8,31 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::at_inlay::Response;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::at_inlay::Response;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Text {
     pub children: Data,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct TextOutput {
     #[serde(flatten)]
     pub value: Response,
@@ -46,9 +51,8 @@ impl jacquard_common::xrpc::XrpcResp for TextResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for Text {
     const NSID: &'static str = "org.atsui.Text";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = TextResponse;
 }
 
@@ -56,16 +60,15 @@ impl jacquard_common::xrpc::XrpcRequest for Text {
 pub struct TextRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for TextRequest {
     const PATH: &'static str = "/xrpc/org.atsui.Text";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = Text;
     type Response = TextResponse;
 }
 
 pub mod text_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -158,4 +161,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_atsui/timestamp.rs b/crates/jacquard-api/src/org_atsui/timestamp.rs
index bb541286..71cabd6c 100644
--- a/crates/jacquard-api/src/org_atsui/timestamp.rs
+++ b/crates/jacquard-api/src/org_atsui/timestamp.rs
@@ -8,27 +8,32 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::at_inlay::Response;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::Datetime;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::at_inlay::Response;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Timestamp {
     pub value: Datetime,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct TimestampOutput {
     #[serde(flatten)]
     pub value: Response,
@@ -47,9 +52,8 @@ impl jacquard_common::xrpc::XrpcResp for TimestampResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for Timestamp {
     const NSID: &'static str = "org.atsui.Timestamp";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = TimestampResponse;
 }
 
@@ -57,16 +61,15 @@ impl jacquard_common::xrpc::XrpcRequest for Timestamp {
 pub struct TimestampRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for TimestampRequest {
     const PATH: &'static str = "/xrpc/org.atsui.Timestamp";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = Timestamp;
     type Response = TimestampResponse;
 }
 
 pub mod timestamp_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -153,13 +156,10 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> Timestamp {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> Timestamp {
         Timestamp {
             value: self._fields.0.unwrap(),
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_atsui/title.rs b/crates/jacquard-api/src/org_atsui/title.rs
index 1ecf1b2e..d12b9605 100644
--- a/crates/jacquard-api/src/org_atsui/title.rs
+++ b/crates/jacquard-api/src/org_atsui/title.rs
@@ -8,26 +8,31 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::at_inlay::Response;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::at_inlay::Response;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Title {
     pub children: Data,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct TitleOutput {
     #[serde(flatten)]
     pub value: Response,
@@ -46,9 +51,8 @@ impl jacquard_common::xrpc::XrpcResp for TitleResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for Title {
     const NSID: &'static str = "org.atsui.Title";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = TitleResponse;
 }
 
@@ -56,16 +60,15 @@ impl jacquard_common::xrpc::XrpcRequest for Title {
 pub struct TitleRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for TitleRequest {
     const PATH: &'static str = "/xrpc/org.atsui.Title";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = Title;
     type Response = TitleResponse;
 }
 
 pub mod title_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -158,4 +161,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_custorium.rs b/crates/jacquard-api/src/org_custorium.rs
index 8aaa080c..116455fb 100644
--- a/crates/jacquard-api/src/org_custorium.rs
+++ b/crates/jacquard-api/src/org_custorium.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod temp;
\ No newline at end of file
+pub mod temp;
diff --git a/crates/jacquard-api/src/org_custorium/temp.rs b/crates/jacquard-api/src/org_custorium/temp.rs
index 8184abaa..8b447576 100644
--- a/crates/jacquard-api/src/org_custorium/temp.rs
+++ b/crates/jacquard-api/src/org_custorium/temp.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod jsonfg;
\ No newline at end of file
+pub mod jsonfg;
diff --git a/crates/jacquard-api/src/org_custorium/temp/jsonfg.rs b/crates/jacquard-api/src/org_custorium/temp/jsonfg.rs
index 0d2f5958..efead833 100644
--- a/crates/jacquard-api/src/org_custorium/temp/jsonfg.rs
+++ b/crates/jacquard-api/src/org_custorium/temp/jsonfg.rs
@@ -4,4 +4,4 @@
 // Any manual changes will be overwritten on the next regeneration.
 
 pub mod coord_ref_sys;
-pub mod test_record;
\ No newline at end of file
+pub mod test_record;
diff --git a/crates/jacquard-api/src/org_custorium/temp/jsonfg/coord_ref_sys.rs b/crates/jacquard-api/src/org_custorium/temp/jsonfg/coord_ref_sys.rs
index c0165236..40e8fc72 100644
--- a/crates/jacquard-api/src/org_custorium/temp/jsonfg/coord_ref_sys.rs
+++ b/crates/jacquard-api/src/org_custorium/temp/jsonfg/coord_ref_sys.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -21,13 +21,16 @@ use jacquard_derive::{IntoStatic, open_union};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::org_custorium::temp::jsonfg::coord_ref_sys;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::org_custorium::temp::jsonfg::coord_ref_sys;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct MultiRefSys {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub ref_sys: Option>>,
@@ -35,9 +38,11 @@ pub struct MultiRefSys {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct RefSysByRef {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub epoch: Option,
@@ -46,9 +51,11 @@ pub struct RefSysByRef {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct RefSysCustom {
     ///Value should not be reference
     pub r#type: S,
@@ -56,9 +63,11 @@ pub struct RefSysCustom {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct RefSysSimpleRef {
     ///The value is either a URI or a CURIE.
     pub uri: S,
@@ -66,16 +75,17 @@ pub struct RefSysSimpleRef {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct SingleRefSys {
     pub ref_sys: SingleRefSysRefSys,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -174,10 +184,10 @@ impl LexiconSchema for SingleRefSys {
 }
 
 fn lexicon_doc_org_custorium_temp_jsonfg_coordRefSys() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("org.custorium.temp.jsonfg.coordRefSys"),
@@ -240,9 +250,9 @@ fn lexicon_doc_org_custorium_temp_jsonfg_coordRefSys() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("type"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Value should not be reference"),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Value should not be reference",
+                                )),
                                 ..Default::default()
                             }),
                         );
@@ -261,9 +271,9 @@ fn lexicon_doc_org_custorium_temp_jsonfg_coordRefSys() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("uri"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("The value is either a URI or a CURIE."),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "The value is either a URI or a CURIE.",
+                                )),
                                 ..Default::default()
                             }),
                         );
@@ -285,7 +295,7 @@ fn lexicon_doc_org_custorium_temp_jsonfg_coordRefSys() -> LexiconDoc<'static> {
                                 refs: vec![
                                     CowStr::new_static("#refSysSimpleRef"),
                                     CowStr::new_static("#refSysByRef"),
-                                    CowStr::new_static("#refSysCustom")
+                                    CowStr::new_static("#refSysCustom"),
                                 ],
                                 ..Default::default()
                             }),
@@ -303,7 +313,7 @@ fn lexicon_doc_org_custorium_temp_jsonfg_coordRefSys() -> LexiconDoc<'static> {
 
 pub mod ref_sys_by_ref_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -404,10 +414,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> RefSysByRef {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> RefSysByRef {
         RefSysByRef {
             epoch: self._fields.0,
             href: self._fields.1.unwrap(),
@@ -418,7 +425,7 @@ where
 
 pub mod single_ref_sys_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -505,13 +512,10 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> SingleRefSys {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> SingleRefSys {
         SingleRefSys {
             ref_sys: self._fields.0.unwrap(),
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_custorium/temp/jsonfg/test_record.rs b/crates/jacquard-api/src/org_custorium/temp/jsonfg/test_record.rs
index 077a0677..4b52de7d 100644
--- a/crates/jacquard-api/src/org_custorium/temp/jsonfg/test_record.rs
+++ b/crates/jacquard-api/src/org_custorium/temp/jsonfg/test_record.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// A test record type for geometries
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -43,7 +43,6 @@ pub struct TestRecord {
     pub extra_data: Option>>,
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -120,7 +119,7 @@ impl LexiconSchema for TestRecord {
 
 pub mod test_record_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -240,10 +239,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> TestRecord {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> TestRecord {
         TestRecord {
             geometry: self._fields.0.unwrap(),
             text: self._fields.1.unwrap(),
@@ -253,10 +249,10 @@ where
 }
 
 fn lexicon_doc_org_custorium_temp_jsonfg_testRecord() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("org.custorium.temp.jsonfg.testRecord"),
@@ -310,4 +306,4 @@ fn lexicon_doc_org_custorium_temp_jsonfg_testRecord() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_devcon.rs b/crates/jacquard-api/src/org_devcon.rs
index 16dfce64..9178617a 100644
--- a/crates/jacquard-api/src/org_devcon.rs
+++ b/crates/jacquard-api/src/org_devcon.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod event;
\ No newline at end of file
+pub mod event;
diff --git a/crates/jacquard-api/src/org_devcon/event.rs b/crates/jacquard-api/src/org_devcon/event.rs
index c7b0a859..7a00fc65 100644
--- a/crates/jacquard-api/src/org_devcon/event.rs
+++ b/crates/jacquard-api/src/org_devcon/event.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod test;
\ No newline at end of file
+pub mod test;
diff --git a/crates/jacquard-api/src/org_devcon/event/test.rs b/crates/jacquard-api/src/org_devcon/event/test.rs
index 4cd0035e..7f08a407 100644
--- a/crates/jacquard-api/src/org_devcon/event/test.rs
+++ b/crates/jacquard-api/src/org_devcon/event/test.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(
@@ -118,7 +118,7 @@ impl LexiconSchema for Test {
 
 pub mod test_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -239,10 +239,7 @@ where
     St::End: test_state::IsUnset,
 {
     /// Set the `end` field (required)
-    pub fn end(
-        mut self,
-        value: impl Into,
-    ) -> TestBuilder> {
+    pub fn end(mut self, value: impl Into) -> TestBuilder> {
         self._fields.2 = Option::Some(value.into());
         TestBuilder {
             _state: PhantomData,
@@ -271,10 +268,7 @@ where
     St::Start: test_state::IsUnset,
 {
     /// Set the `start` field (required)
-    pub fn start(
-        mut self,
-        value: impl Into,
-    ) -> TestBuilder> {
+    pub fn start(mut self, value: impl Into) -> TestBuilder> {
         self._fields.4 = Option::Some(value.into());
         TestBuilder {
             _state: PhantomData,
@@ -290,10 +284,7 @@ where
     St::Title: test_state::IsUnset,
 {
     /// Set the `title` field (required)
-    pub fn title(
-        mut self,
-        value: impl Into,
-    ) -> TestBuilder> {
+    pub fn title(mut self, value: impl Into) -> TestBuilder> {
         self._fields.5 = Option::Some(value.into());
         TestBuilder {
             _state: PhantomData,
@@ -352,10 +343,10 @@ where
 }
 
 fn lexicon_doc_org_devcon_event_test() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("org.devcon.event.test"),
@@ -366,12 +357,11 @@ fn lexicon_doc_org_devcon_event_test() -> LexiconDoc<'static> {
                 LexUserType::Record(LexRecord {
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("title"), SmolStr::new_static("start"),
-                                SmolStr::new_static("end")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("title"),
+                            SmolStr::new_static("start"),
+                            SmolStr::new_static("end"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -385,18 +375,16 @@ fn lexicon_doc_org_devcon_event_test() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("description"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("Description of the event"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Description of the event",
+                                    )),
                                     ..Default::default()
                                 }),
                             );
                             map.insert(
                                 SmolStr::new_static("end"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("End time of the event"),
-                                    ),
+                                    description: Some(CowStr::new_static("End time of the event")),
                                     format: Some(LexStringFormat::Datetime),
                                     ..Default::default()
                                 }),
@@ -404,18 +392,16 @@ fn lexicon_doc_org_devcon_event_test() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("location"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("Location of the event"),
-                                    ),
+                                    description: Some(CowStr::new_static("Location of the event")),
                                     ..Default::default()
                                 }),
                             );
                             map.insert(
                                 SmolStr::new_static("start"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("Start time of the event"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Start time of the event",
+                                    )),
                                     format: Some(LexStringFormat::Datetime),
                                     ..Default::default()
                                 }),
@@ -445,4 +431,4 @@ fn lexicon_doc_org_devcon_event_test() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_farmapps.rs b/crates/jacquard-api/src/org_farmapps.rs
index 8aaa080c..116455fb 100644
--- a/crates/jacquard-api/src/org_farmapps.rs
+++ b/crates/jacquard-api/src/org_farmapps.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod temp;
\ No newline at end of file
+pub mod temp;
diff --git a/crates/jacquard-api/src/org_farmapps/temp.rs b/crates/jacquard-api/src/org_farmapps/temp.rs
index 72827657..81723ccd 100644
--- a/crates/jacquard-api/src/org_farmapps/temp.rs
+++ b/crates/jacquard-api/src/org_farmapps/temp.rs
@@ -4,4 +4,4 @@
 // Any manual changes will be overwritten on the next regeneration.
 
 pub mod agroconnect;
-pub mod ecrop;
\ No newline at end of file
+pub mod ecrop;
diff --git a/crates/jacquard-api/src/org_farmapps/temp/agroconnect.rs b/crates/jacquard-api/src/org_farmapps/temp/agroconnect.rs
index 1940d3dd..cf83c6a2 100644
--- a/crates/jacquard-api/src/org_farmapps/temp/agroconnect.rs
+++ b/crates/jacquard-api/src/org_farmapps/temp/agroconnect.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod cl022;
\ No newline at end of file
+pub mod cl022;
diff --git a/crates/jacquard-api/src/org_farmapps/temp/agroconnect/cl022.rs b/crates/jacquard-api/src/org_farmapps/temp/agroconnect/cl022.rs
index d0e11ae9..15bd258d 100644
--- a/crates/jacquard-api/src/org_farmapps/temp/agroconnect/cl022.rs
+++ b/crates/jacquard-api/src/org_farmapps/temp/agroconnect/cl022.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::org_farmapps::temp::ecrop::CodeType;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::org_farmapps::temp::ecrop::CodeType;
+use serde::{Deserialize, Serialize};
 /// Fertilizer codelist
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -170,7 +170,7 @@ impl LexiconSchema for Cl022 {
 
 pub mod cl022_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -243,7 +243,9 @@ impl Cl022Builder {
     pub fn new() -> Self {
         Cl022Builder {
             _state: PhantomData,
-            _fields: (None, None, None, None, None, None, None, None, None, None, None),
+            _fields: (
+                None, None, None, None, None, None, None, None, None, None, None,
+            ),
             _type: PhantomData,
         }
     }
@@ -313,10 +315,7 @@ where
     St::Id: cl022_state::IsUnset,
 {
     /// Set the `id` field (required)
-    pub fn id(
-        mut self,
-        value: impl Into>,
-    ) -> Cl022Builder> {
+    pub fn id(mut self, value: impl Into>) -> Cl022Builder> {
         self._fields.4 = Option::Some(value.into());
         Cl022Builder {
             _state: PhantomData,
@@ -447,10 +446,10 @@ where
 }
 
 fn lexicon_doc_org_farmapps_temp_agroconnect_cl022() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("org.farmapps.temp.agroconnect.cl022"),
@@ -463,21 +462,19 @@ fn lexicon_doc_org_farmapps_temp_agroconnect_cl022() -> LexiconDoc<'static> {
                     key: Some(CowStr::new_static("any")),
                     record: LexRecordRecord::Object(LexObject {
                         description: Some(CowStr::new_static("Codelist ferilizers")),
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("id"),
-                                SmolStr::new_static("description")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("id"),
+                            SmolStr::new_static("description"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
                             map.insert(
                                 SmolStr::new_static("added"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("Date when added to the list"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Date when added to the list",
+                                    )),
                                     format: Some(LexStringFormat::Datetime),
                                     ..Default::default()
                                 }),
@@ -499,9 +496,9 @@ fn lexicon_doc_org_farmapps_temp_agroconnect_cl022() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("description"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("Description / name of the fertilizer"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Description / name of the fertilizer",
+                                    )),
                                     ..Default::default()
                                 }),
                             );
@@ -568,4 +565,4 @@ fn lexicon_doc_org_farmapps_temp_agroconnect_cl022() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_farmapps/temp/ecrop.rs b/crates/jacquard-api/src/org_farmapps/temp/ecrop.rs
index a5c62782..3705834d 100644
--- a/crates/jacquard-api/src/org_farmapps/temp/ecrop.rs
+++ b/crates/jacquard-api/src/org_farmapps/temp/ecrop.rs
@@ -23,11 +23,14 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// Generic class to represent the code list and code that is used
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct CodeType {
     pub code: RecordKey>,
     ///Identifier of the standard code list that contains the allowed codes.
@@ -53,7 +56,7 @@ impl LexiconSchema for CodeType {
 
 pub mod code_type_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -183,10 +186,10 @@ where
 }
 
 fn lexicon_doc_org_farmapps_temp_ecrop_defs() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("org.farmapps.temp.ecrop.defs"),
@@ -234,4 +237,4 @@ fn lexicon_doc_org_farmapps_temp_ecrop_defs() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_hyperboards.rs b/crates/jacquard-api/src/org_hyperboards.rs
index f499e52c..799bac67 100644
--- a/crates/jacquard-api/src/org_hyperboards.rs
+++ b/crates/jacquard-api/src/org_hyperboards.rs
@@ -5,4 +5,4 @@
 
 pub mod board;
 pub mod contributor;
-pub mod display_profile;
\ No newline at end of file
+pub mod display_profile;
diff --git a/crates/jacquard-api/src/org_hyperboards/board.rs b/crates/jacquard-api/src/org_hyperboards/board.rs
index 140b9ac5..bd88ab59 100644
--- a/crates/jacquard-api/src/org_hyperboards/board.rs
+++ b/crates/jacquard-api/src/org_hyperboards/board.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,19 +24,22 @@ use jacquard_derive::{IntoStatic, lexicon, open_union};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::com_atproto::repo::strong_ref::StrongRef;
+use crate::org_hyperboards::board;
 use crate::org_hypercerts::SmallImage;
 use crate::org_hypercerts::SmallVideo;
 use crate::org_hypercerts::Uri;
 use crate::org_hypercerts::claim::activity::ContributorIdentity;
-use crate::org_hyperboards::board;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// Visual configuration for a hyperboard's background, colors, and layout.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct BoardConfig {
     ///Display aspect ratio of the board.
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -150,14 +153,11 @@ where
             BoardConfigAspectRatio::_169 => BoardConfigAspectRatio::_169,
             BoardConfigAspectRatio::_43 => BoardConfigAspectRatio::_43,
             BoardConfigAspectRatio::_11 => BoardConfigAspectRatio::_11,
-            BoardConfigAspectRatio::Other(v) => {
-                BoardConfigAspectRatio::Other(v.into_static())
-            }
+            BoardConfigAspectRatio::Other(v) => BoardConfigAspectRatio::Other(v.into_static()),
         }
     }
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -216,8 +216,7 @@ impl Serialize for BoardConfigBackgroundType {
     }
 }
 
-impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de>
-for BoardConfigBackgroundType {
+impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> for BoardConfigBackgroundType {
     fn deserialize(deserializer: D) -> Result
     where
         D: serde::Deserializer<'de>,
@@ -324,9 +323,7 @@ where
         match self {
             BoardConfigImageShape::Circular => BoardConfigImageShape::Circular,
             BoardConfigImageShape::Square => BoardConfigImageShape::Square,
-            BoardConfigImageShape::Other(v) => {
-                BoardConfigImageShape::Other(v.into_static())
-            }
+            BoardConfigImageShape::Other(v) => BoardConfigImageShape::Other(v.into_static()),
         }
     }
 }
@@ -334,7 +331,10 @@ where
 /// Configuration for a specific contributor within a board. Values serve as fallbacks when the contributor has not defined them on their profile. It can also be used to override contributor settings on this board without changing their global profile.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ContributorConfig {
     ///Identifies the contributor being styled. A strong reference to an org.hypercerts.claim.contributorInformation record, or a contributorIdentity (DID or identifier string) for contributors without a dedicated record.
     pub contributor: ContributorConfigContributor,
@@ -363,7 +363,6 @@ pub struct ContributorConfig {
     pub extra_data: Option>>,
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -374,7 +373,6 @@ pub enum ContributorConfigContributor {
     ActivityContributorIdentity(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -385,7 +383,6 @@ pub enum ContributorConfigHoverImage {
     SmallImage(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -396,7 +393,6 @@ pub enum ContributorConfigImage {
     SmallImage(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -651,10 +647,10 @@ impl LexiconSchema for Board {
 }
 
 fn lexicon_doc_org_hyperboards_board() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("org.hyperboards.board"),
@@ -663,20 +659,18 @@ fn lexicon_doc_org_hyperboards_board() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("boardConfig"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static(
-                            "Visual configuration for a hyperboard's background, colors, and layout.",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Visual configuration for a hyperboard's background, colors, and layout.",
+                    )),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("aspectRatio"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Display aspect ratio of the board."),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Display aspect ratio of the board.",
+                                )),
                                 max_length: Some(10usize),
                                 ..Default::default()
                             }),
@@ -684,11 +678,9 @@ fn lexicon_doc_org_hyperboards_board() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("backgroundColor"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "Background color as a hex string (e.g. '#ffffff').",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Background color as a hex string (e.g. '#ffffff').",
+                                )),
                                 max_length: Some(20usize),
                                 ..Default::default()
                             }),
@@ -702,9 +694,9 @@ fn lexicon_doc_org_hyperboards_board() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("backgroundIframeUrl"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("URI of the background iframe."),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "URI of the background iframe.",
+                                )),
                                 format: Some(LexStringFormat::Uri),
                                 max_length: Some(2048usize),
                                 ..Default::default()
@@ -713,14 +705,12 @@ fn lexicon_doc_org_hyperboards_board() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("backgroundImage"),
                             LexObjectProperty::Union(LexRefUnion {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "Background image as a URI or image blob.",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Background image as a URI or image blob.",
+                                )),
                                 refs: vec![
                                     CowStr::new_static("org.hypercerts.defs#uri"),
-                                    CowStr::new_static("org.hypercerts.defs#smallImage")
+                                    CowStr::new_static("org.hypercerts.defs#smallImage"),
                                 ],
                                 ..Default::default()
                             }),
@@ -736,9 +726,9 @@ fn lexicon_doc_org_hyperboards_board() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("backgroundType"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Type of background content."),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Type of background content.",
+                                )),
                                 max_length: Some(10usize),
                                 ..Default::default()
                             }),
@@ -746,11 +736,9 @@ fn lexicon_doc_org_hyperboards_board() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("borderColor"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "Border color as a hex string (e.g. '#000000').",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Border color as a hex string (e.g. '#000000').",
+                                )),
                                 max_length: Some(20usize),
                                 ..Default::default()
                             }),
@@ -764,11 +752,9 @@ fn lexicon_doc_org_hyperboards_board() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("imageShape"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "Shape used to crop contributor images on this board.",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Shape used to crop contributor images on this board.",
+                                )),
                                 max_length: Some(20usize),
                                 ..Default::default()
                             }),
@@ -976,7 +962,7 @@ fn lexicon_doc_org_hyperboards_board() -> LexiconDoc<'static> {
 
 pub mod contributor_config_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1087,18 +1073,12 @@ impl ContributorConfigBuilder ContributorConfigBuilder {
     /// Set the `hoverImage` field (optional)
-    pub fn hover_image(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn hover_image(mut self, value: impl Into>>) -> Self {
         self._fields.3 = value.into();
         self
     }
     /// Set the `hoverImage` field to an Option value (optional)
-    pub fn maybe_hover_image(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_hover_image(mut self, value: Option>) -> Self {
         self._fields.3 = value;
         self
     }
@@ -1176,10 +1156,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> ContributorConfig {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> ContributorConfig {
         ContributorConfig {
             contributor: self._fields.0.unwrap(),
             display_name: self._fields.1,
@@ -1196,7 +1173,7 @@ where
 
 pub mod board_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1364,4 +1341,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_hyperboards/contributor.rs b/crates/jacquard-api/src/org_hyperboards/contributor.rs
index 2a7715c5..cad38963 100644
--- a/crates/jacquard-api/src/org_hyperboards/contributor.rs
+++ b/crates/jacquard-api/src/org_hyperboards/contributor.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::com_atproto::repo::strong_ref::StrongRef;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::com_atproto::repo::strong_ref::StrongRef;
+use serde::{Deserialize, Serialize};
 /// Per-contributor presentation defaults, reusable across boards.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -122,7 +122,7 @@ impl LexiconSchema for Contributor {
 
 pub mod contributor_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -320,10 +320,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> Contributor {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> Contributor {
         Contributor {
             circular_image: self._fields.0,
             contributor_ref: self._fields.1.unwrap(),
@@ -338,10 +335,10 @@ where
 }
 
 fn lexicon_doc_org_hyperboards_contributor() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("org.hyperboards.contributor"),
@@ -350,19 +347,15 @@ fn lexicon_doc_org_hyperboards_contributor() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static(
-                            "Per-contributor presentation defaults, reusable across boards.",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Per-contributor presentation defaults, reusable across boards.",
+                    )),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("contributorRef"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("contributorRef"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -382,11 +375,9 @@ fn lexicon_doc_org_hyperboards_contributor() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("createdAt"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "Timestamp when the contributor record was created",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Timestamp when the contributor record was created",
+                                    )),
                                     format: Some(LexStringFormat::Datetime),
                                     ..Default::default()
                                 }),
@@ -394,9 +385,7 @@ fn lexicon_doc_org_hyperboards_contributor() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("hoverIframeUrl"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("Iframe shown on hover"),
-                                    ),
+                                    description: Some(CowStr::new_static("Iframe shown on hover")),
                                     format: Some(LexStringFormat::Uri),
                                     ..Default::default()
                                 }),
@@ -404,9 +393,9 @@ fn lexicon_doc_org_hyperboards_contributor() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("hoverImageUrl"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("Image overlay shown on hover"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Image overlay shown on hover",
+                                    )),
                                     format: Some(LexStringFormat::Uri),
                                     ..Default::default()
                                 }),
@@ -414,9 +403,9 @@ fn lexicon_doc_org_hyperboards_contributor() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("url"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("Link URL for this contributor"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Link URL for this contributor",
+                                    )),
                                     format: Some(LexStringFormat::Uri),
                                     ..Default::default()
                                 }),
@@ -424,9 +413,9 @@ fn lexicon_doc_org_hyperboards_contributor() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("videoUrl"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("Direct video or Instagram URL"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Direct video or Instagram URL",
+                                    )),
                                     format: Some(LexStringFormat::Uri),
                                     ..Default::default()
                                 }),
@@ -442,4 +431,4 @@ fn lexicon_doc_org_hyperboards_contributor() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_hyperboards/display_profile.rs b/crates/jacquard-api/src/org_hyperboards/display_profile.rs
index 2bef715b..1a6b1418 100644
--- a/crates/jacquard-api/src/org_hyperboards/display_profile.rs
+++ b/crates/jacquard-api/src/org_hyperboards/display_profile.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,12 +24,12 @@ use jacquard_derive::{IntoStatic, lexicon, open_union};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::org_hypercerts::SmallImage;
 use crate::org_hypercerts::SmallVideo;
 use crate::org_hypercerts::Uri;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// User-declared visual presentation defaults for how a contributor appears on hyperboards. Stored in the contributor's own PDS and reusable across multiple boards.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -64,7 +64,6 @@ pub struct DisplayProfile {
     pub extra_data: Option>>,
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -75,7 +74,6 @@ pub enum DisplayProfileHoverImage {
     SmallImage(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -86,7 +84,6 @@ pub enum DisplayProfileImage {
     SmallImage(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -200,7 +197,7 @@ impl LexiconSchema for DisplayProfile {
 
 pub mod display_profile_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -310,18 +307,12 @@ impl DisplayProfileBuilder {
 
 impl DisplayProfileBuilder {
     /// Set the `hoverImage` field (optional)
-    pub fn hover_image(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn hover_image(mut self, value: impl Into>>) -> Self {
         self._fields.3 = value.into();
         self
     }
     /// Set the `hoverImage` field to an Option value (optional)
-    pub fn maybe_hover_image(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_hover_image(mut self, value: Option>) -> Self {
         self._fields.3 = value;
         self
     }
@@ -385,10 +376,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> DisplayProfile {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> DisplayProfile {
         DisplayProfile {
             created_at: self._fields.0.unwrap(),
             display_name: self._fields.1,
@@ -403,10 +391,10 @@ where
 }
 
 fn lexicon_doc_org_hyperboards_displayProfile() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("org.hyperboards.displayProfile"),
@@ -533,4 +521,4 @@ fn lexicon_doc_org_hyperboards_displayProfile() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_hypercerts.rs b/crates/jacquard-api/src/org_hypercerts.rs
index c45c8b9b..3bcc77a8 100644
--- a/crates/jacquard-api/src/org_hypercerts.rs
+++ b/crates/jacquard-api/src/org_hypercerts.rs
@@ -12,7 +12,6 @@ pub mod funding;
 pub mod helper;
 pub mod workscope;
 
-
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
@@ -32,11 +31,14 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// Object containing a blob to external data
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct LargeBlob {
     ///Blob to external data (up to 100MB)
     pub blob: BlobRef,
@@ -47,7 +49,10 @@ pub struct LargeBlob {
 /// Object containing a large image
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct LargeImage {
     ///Image (up to 10MB)
     pub image: BlobRef,
@@ -58,7 +63,10 @@ pub struct LargeImage {
 /// Object containing a blob to external data
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct SmallBlob {
     ///Blob to external data (up to 10MB)
     pub blob: BlobRef,
@@ -69,7 +77,10 @@ pub struct SmallBlob {
 /// Object containing a small image
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct SmallImage {
     ///Image (up to 5MB)
     pub image: BlobRef,
@@ -80,7 +91,10 @@ pub struct SmallImage {
 /// Object containing a small video
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct SmallVideo {
     ///Video (up to 20MB)
     pub video: BlobRef,
@@ -91,7 +105,10 @@ pub struct SmallVideo {
 /// Object containing a URI to external data
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Uri {
     ///URI to external data
     pub uri: UriValue,
@@ -128,19 +145,16 @@ impl LexiconSchema for LargeBlob {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["*/*"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("blob"),
@@ -182,31 +196,25 @@ impl LexiconSchema for LargeImage {
             let value = &self.image;
             {
                 let mime = value.blob().mime_type.as_str();
-                let accepted: &[&str] = &[
-                    "image/jpeg",
-                    "image/jpg",
-                    "image/png",
-                    "image/webp",
-                ];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let accepted: &[&str] = &["image/jpeg", "image/jpg", "image/png", "image/webp"];
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("image"),
                         accepted: vec![
-                            "image/jpeg".to_string(), "image/jpg".to_string(),
-                            "image/png".to_string(), "image/webp".to_string()
+                            "image/jpeg".to_string(),
+                            "image/jpg".to_string(),
+                            "image/png".to_string(),
+                            "image/webp".to_string(),
                         ],
                         actual: mime.to_string(),
                     });
@@ -246,19 +254,16 @@ impl LexiconSchema for SmallBlob {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["*/*"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("blob"),
@@ -300,31 +305,25 @@ impl LexiconSchema for SmallImage {
             let value = &self.image;
             {
                 let mime = value.blob().mime_type.as_str();
-                let accepted: &[&str] = &[
-                    "image/jpeg",
-                    "image/jpg",
-                    "image/png",
-                    "image/webp",
-                ];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let accepted: &[&str] = &["image/jpeg", "image/jpg", "image/png", "image/webp"];
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("image"),
                         accepted: vec![
-                            "image/jpeg".to_string(), "image/jpg".to_string(),
-                            "image/png".to_string(), "image/webp".to_string()
+                            "image/jpeg".to_string(),
+                            "image/jpg".to_string(),
+                            "image/png".to_string(),
+                            "image/webp".to_string(),
                         ],
                         actual: mime.to_string(),
                     });
@@ -364,25 +363,20 @@ impl LexiconSchema for SmallVideo {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["video/mp4", "video/webm"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("video"),
-                        accepted: vec![
-                            "video/mp4".to_string(), "video/webm".to_string()
-                        ],
+                        accepted: vec!["video/mp4".to_string(), "video/webm".to_string()],
                         actual: mime.to_string(),
                     });
                 }
@@ -409,7 +403,7 @@ impl LexiconSchema for Uri {
 
 pub mod large_blob_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -496,10 +490,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> LargeBlob {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> LargeBlob {
         LargeBlob {
             blob: self._fields.0.unwrap(),
             extra_data: Some(extra_data),
@@ -508,10 +499,10 @@ where
 }
 
 fn lexicon_doc_org_hypercerts_defs() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("org.hypercerts.defs"),
@@ -520,16 +511,18 @@ fn lexicon_doc_org_hypercerts_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("largeBlob"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("Object containing a blob to external data"),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Object containing a blob to external data",
+                    )),
                     required: Some(vec![SmolStr::new_static("blob")]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("blob"),
-                            LexObjectProperty::Blob(LexBlob { ..Default::default() }),
+                            LexObjectProperty::Blob(LexBlob {
+                                ..Default::default()
+                            }),
                         );
                         map
                     },
@@ -539,16 +532,16 @@ fn lexicon_doc_org_hypercerts_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("largeImage"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("Object containing a large image"),
-                    ),
+                    description: Some(CowStr::new_static("Object containing a large image")),
                     required: Some(vec![SmolStr::new_static("image")]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("image"),
-                            LexObjectProperty::Blob(LexBlob { ..Default::default() }),
+                            LexObjectProperty::Blob(LexBlob {
+                                ..Default::default()
+                            }),
                         );
                         map
                     },
@@ -558,16 +551,18 @@ fn lexicon_doc_org_hypercerts_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("smallBlob"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("Object containing a blob to external data"),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Object containing a blob to external data",
+                    )),
                     required: Some(vec![SmolStr::new_static("blob")]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("blob"),
-                            LexObjectProperty::Blob(LexBlob { ..Default::default() }),
+                            LexObjectProperty::Blob(LexBlob {
+                                ..Default::default()
+                            }),
                         );
                         map
                     },
@@ -577,16 +572,16 @@ fn lexicon_doc_org_hypercerts_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("smallImage"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("Object containing a small image"),
-                    ),
+                    description: Some(CowStr::new_static("Object containing a small image")),
                     required: Some(vec![SmolStr::new_static("image")]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("image"),
-                            LexObjectProperty::Blob(LexBlob { ..Default::default() }),
+                            LexObjectProperty::Blob(LexBlob {
+                                ..Default::default()
+                            }),
                         );
                         map
                     },
@@ -596,16 +591,16 @@ fn lexicon_doc_org_hypercerts_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("smallVideo"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("Object containing a small video"),
-                    ),
+                    description: Some(CowStr::new_static("Object containing a small video")),
                     required: Some(vec![SmolStr::new_static("video")]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("video"),
-                            LexObjectProperty::Blob(LexBlob { ..Default::default() }),
+                            LexObjectProperty::Blob(LexBlob {
+                                ..Default::default()
+                            }),
                         );
                         map
                     },
@@ -615,9 +610,9 @@ fn lexicon_doc_org_hypercerts_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("uri"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("Object containing a URI to external data"),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Object containing a URI to external data",
+                    )),
                     required: Some(vec![SmolStr::new_static("uri")]),
                     properties: {
                         #[allow(unused_mut)]
@@ -625,9 +620,7 @@ fn lexicon_doc_org_hypercerts_defs() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("uri"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("URI to external data"),
-                                ),
+                                description: Some(CowStr::new_static("URI to external data")),
                                 format: Some(LexStringFormat::Uri),
                                 ..Default::default()
                             }),
@@ -645,7 +638,7 @@ fn lexicon_doc_org_hypercerts_defs() -> LexiconDoc<'static> {
 
 pub mod large_image_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -732,10 +725,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> LargeImage {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> LargeImage {
         LargeImage {
             image: self._fields.0.unwrap(),
             extra_data: Some(extra_data),
@@ -745,7 +735,7 @@ where
 
 pub mod small_blob_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -832,10 +822,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> SmallBlob {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> SmallBlob {
         SmallBlob {
             blob: self._fields.0.unwrap(),
             extra_data: Some(extra_data),
@@ -845,7 +832,7 @@ where
 
 pub mod small_image_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -932,10 +919,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> SmallImage {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> SmallImage {
         SmallImage {
             image: self._fields.0.unwrap(),
             extra_data: Some(extra_data),
@@ -945,7 +929,7 @@ where
 
 pub mod small_video_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1032,10 +1016,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> SmallVideo {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> SmallVideo {
         SmallVideo {
             video: self._fields.0.unwrap(),
             extra_data: Some(extra_data),
@@ -1045,7 +1026,7 @@ where
 
 pub mod uri_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1106,10 +1087,7 @@ where
     St::Uri: uri_state::IsUnset,
 {
     /// Set the `uri` field (required)
-    pub fn uri(
-        mut self,
-        value: impl Into>,
-    ) -> UriBuilder> {
+    pub fn uri(mut self, value: impl Into>) -> UriBuilder> {
         self._fields.0 = Option::Some(value.into());
         UriBuilder {
             _state: PhantomData,
@@ -1138,4 +1116,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_hypercerts/claim.rs b/crates/jacquard-api/src/org_hypercerts/claim.rs
index e03536f1..900d876e 100644
--- a/crates/jacquard-api/src/org_hypercerts/claim.rs
+++ b/crates/jacquard-api/src/org_hypercerts/claim.rs
@@ -6,4 +6,4 @@
 pub mod activity;
 pub mod contribution;
 pub mod contributor_information;
-pub mod rights;
\ No newline at end of file
+pub mod rights;
diff --git a/crates/jacquard-api/src/org_hypercerts/claim/activity.rs b/crates/jacquard-api/src/org_hypercerts/claim/activity.rs
index e448fef2..ff608d99 100644
--- a/crates/jacquard-api/src/org_hypercerts/claim/activity.rs
+++ b/crates/jacquard-api/src/org_hypercerts/claim/activity.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,19 +24,22 @@ use jacquard_derive::{IntoStatic, lexicon, open_union};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::app_bsky::richtext::facet::Facet;
 use crate::com_atproto::repo::strong_ref::StrongRef;
 use crate::org_hypercerts::SmallImage;
 use crate::org_hypercerts::Uri;
+use crate::org_hypercerts::claim::activity;
 use crate::org_hypercerts::workscope::cel::Cel;
 use crate::pub_leaflet::pages::linear_document::LinearDocument;
-use crate::org_hypercerts::claim::activity;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Contributor {
     ///Inline contribution role object with a role string via org.hypercerts.claim.activity#contributorRole, or a strong reference to a contribution details record. The record referenced must conform with the lexicon org.hypercerts.claim.contribution.
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -50,7 +53,6 @@ pub struct Contributor {
     pub extra_data: Option>>,
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -61,7 +63,6 @@ pub enum ContributorContributionDetails {
     StrongRef(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -75,7 +76,10 @@ pub enum ContributorContributorIdentity {
 /// Contributor information as a string (DID or identifier).
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ContributorIdentity {
     ///The contributor identity string (DID or identifier).
     pub identity: S,
@@ -86,7 +90,10 @@ pub struct ContributorIdentity {
 /// Contribution details as a string.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ContributorRole {
     ///The contribution role or details.
     pub role: S,
@@ -141,7 +148,6 @@ pub struct Activity {
     pub extra_data: Option>>,
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -152,7 +158,6 @@ pub enum ActivityImage {
     SmallImage(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -177,7 +182,10 @@ pub struct ActivityGetRecordOutput {
 /// A free-form string describing the work scope for simple or legacy scopes.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct WorkScopeString {
     ///The work scope description string.
     pub scope: S,
@@ -432,7 +440,7 @@ impl LexiconSchema for WorkScopeString {
 
 pub mod contributor_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -557,10 +565,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> Contributor {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> Contributor {
         Contributor {
             contribution_details: self._fields.0,
             contribution_weight: self._fields.1,
@@ -571,10 +576,10 @@ where
 }
 
 fn lexicon_doc_org_hypercerts_claim_activity() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("org.hypercerts.claim.activity"),
@@ -637,11 +642,9 @@ fn lexicon_doc_org_hypercerts_claim_activity() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("contributorIdentity"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static(
-                            "Contributor information as a string (DID or identifier).",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Contributor information as a string (DID or identifier).",
+                    )),
                     required: Some(vec![SmolStr::new_static("identity")]),
                     properties: {
                         #[allow(unused_mut)]
@@ -649,11 +652,9 @@ fn lexicon_doc_org_hypercerts_claim_activity() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("identity"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "The contributor identity string (DID or identifier).",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "The contributor identity string (DID or identifier).",
+                                )),
                                 max_length: Some(1000usize),
                                 max_graphemes: Some(100usize),
                                 ..Default::default()
@@ -667,9 +668,7 @@ fn lexicon_doc_org_hypercerts_claim_activity() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("contributorRole"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("Contribution details as a string."),
-                    ),
+                    description: Some(CowStr::new_static("Contribution details as a string.")),
                     required: Some(vec![SmolStr::new_static("role")]),
                     properties: {
                         #[allow(unused_mut)]
@@ -677,9 +676,9 @@ fn lexicon_doc_org_hypercerts_claim_activity() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("role"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("The contribution role or details."),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "The contribution role or details.",
+                                )),
                                 max_length: Some(1000usize),
                                 max_graphemes: Some(100usize),
                                 ..Default::default()
@@ -868,11 +867,9 @@ fn lexicon_doc_org_hypercerts_claim_activity() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("workScopeString"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static(
-                            "A free-form string describing the work scope for simple or legacy scopes.",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "A free-form string describing the work scope for simple or legacy scopes.",
+                    )),
                     required: Some(vec![SmolStr::new_static("scope")]),
                     properties: {
                         #[allow(unused_mut)]
@@ -880,9 +877,9 @@ fn lexicon_doc_org_hypercerts_claim_activity() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("scope"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("The work scope description string."),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "The work scope description string.",
+                                )),
                                 max_length: Some(1000usize),
                                 max_graphemes: Some(100usize),
                                 ..Default::default()
@@ -901,7 +898,7 @@ fn lexicon_doc_org_hypercerts_claim_activity() -> LexiconDoc<'static> {
 
 pub mod activity_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -990,18 +987,7 @@ impl ActivityBuilder {
         ActivityBuilder {
             _state: PhantomData,
             _fields: (
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
+                None, None, None, None, None, None, None, None, None, None, None, None,
             ),
             _type: PhantomData,
         }
@@ -1010,18 +996,12 @@ impl ActivityBuilder {
 
 impl ActivityBuilder {
     /// Set the `contributors` field (optional)
-    pub fn contributors(
-        mut self,
-        value: impl Into>>>,
-    ) -> Self {
+    pub fn contributors(mut self, value: impl Into>>>) -> Self {
         self._fields.0 = value.into();
         self
     }
     /// Set the `contributors` field to an Option value (optional)
-    pub fn maybe_contributors(
-        mut self,
-        value: Option>>,
-    ) -> Self {
+    pub fn maybe_contributors(mut self, value: Option>>) -> Self {
         self._fields.0 = value;
         self
     }
@@ -1132,18 +1112,12 @@ where
 
 impl ActivityBuilder {
     /// Set the `shortDescriptionFacets` field (optional)
-    pub fn short_description_facets(
-        mut self,
-        value: impl Into>>>,
-    ) -> Self {
+    pub fn short_description_facets(mut self, value: impl Into>>>) -> Self {
         self._fields.8 = value.into();
         self
     }
     /// Set the `shortDescriptionFacets` field to an Option value (optional)
-    pub fn maybe_short_description_facets(
-        mut self,
-        value: Option>>,
-    ) -> Self {
+    pub fn maybe_short_description_facets(mut self, value: Option>>) -> Self {
         self._fields.8 = value;
         self
     }
@@ -1237,4 +1211,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_hypercerts/claim/contribution.rs b/crates/jacquard-api/src/org_hypercerts/claim/contribution.rs
index a59c7d30..8c432f13 100644
--- a/crates/jacquard-api/src/org_hypercerts/claim/contribution.rs
+++ b/crates/jacquard-api/src/org_hypercerts/claim/contribution.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// Details about a specific contribution including role, description, and timeframe.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -148,7 +148,7 @@ impl LexiconSchema for Contribution {
 
 pub mod contribution_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -297,10 +297,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> Contribution {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> Contribution {
         Contribution {
             contribution_description: self._fields.0,
             created_at: self._fields.1.unwrap(),
@@ -313,10 +310,10 @@ where
 }
 
 fn lexicon_doc_org_hypercerts_claim_contribution() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("org.hypercerts.claim.contribution"),
@@ -406,4 +403,4 @@ fn lexicon_doc_org_hypercerts_claim_contribution() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_hypercerts/claim/contributor_information.rs b/crates/jacquard-api/src/org_hypercerts/claim/contributor_information.rs
index 5c0b578c..550b31f7 100644
--- a/crates/jacquard-api/src/org_hypercerts/claim/contributor_information.rs
+++ b/crates/jacquard-api/src/org_hypercerts/claim/contributor_information.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,11 +24,11 @@ use jacquard_derive::{IntoStatic, lexicon, open_union};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::org_hypercerts::SmallImage;
 use crate::org_hypercerts::Uri;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// Contributor information including identifier, display name, and image.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -54,7 +54,6 @@ pub struct ContributorInformation {
     pub extra_data: Option>>,
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -93,8 +92,7 @@ impl XrpcResp for ContributorInformationRecord {
     type Err = RecordError;
 }
 
-impl From>
-for ContributorInformation {
+impl From> for ContributorInformation {
     fn from(output: ContributorInformationGetRecordOutput) -> Self {
         output.value
     }
@@ -147,7 +145,7 @@ impl LexiconSchema for ContributorInformation {
 
 pub mod contributor_information_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -178,10 +176,7 @@ pub mod contributor_information_state {
 }
 
 /// Builder for constructing an instance of this type.
-pub struct ContributorInformationBuilder<
-    S: BosStr,
-    St: contributor_information_state::State,
-> {
+pub struct ContributorInformationBuilder {
     _state: PhantomData St>,
     _fields: (
         Option,
@@ -194,10 +189,7 @@ pub struct ContributorInformationBuilder<
 
 impl ContributorInformation {
     /// Create a new builder for this type.
-    pub fn new() -> ContributorInformationBuilder<
-        S,
-        contributor_information_state::Empty,
-    > {
+    pub fn new() -> ContributorInformationBuilder {
         ContributorInformationBuilder::new()
     }
 }
@@ -222,10 +214,7 @@ where
     pub fn created_at(
         mut self,
         value: impl Into,
-    ) -> ContributorInformationBuilder<
-        S,
-        contributor_information_state::SetCreatedAt,
-    > {
+    ) -> ContributorInformationBuilder> {
         self._fields.0 = Option::Some(value.into());
         ContributorInformationBuilder {
             _state: PhantomData,
@@ -235,10 +224,7 @@ where
     }
 }
 
-impl<
-    S: BosStr,
-    St: contributor_information_state::State,
-> ContributorInformationBuilder {
+impl ContributorInformationBuilder {
     /// Set the `displayName` field (optional)
     pub fn display_name(mut self, value: impl Into>) -> Self {
         self._fields.1 = value.into();
@@ -251,10 +237,7 @@ impl<
     }
 }
 
-impl<
-    S: BosStr,
-    St: contributor_information_state::State,
-> ContributorInformationBuilder {
+impl ContributorInformationBuilder {
     /// Set the `identifier` field (optional)
     pub fn identifier(mut self, value: impl Into>) -> Self {
         self._fields.2 = value.into();
@@ -267,15 +250,9 @@ impl<
     }
 }
 
-impl<
-    S: BosStr,
-    St: contributor_information_state::State,
-> ContributorInformationBuilder {
+impl ContributorInformationBuilder {
     /// Set the `image` field (optional)
-    pub fn image(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn image(mut self, value: impl Into>>) -> Self {
         self._fields.3 = value.into();
         self
     }
@@ -317,10 +294,10 @@ where
 }
 
 fn lexicon_doc_org_hypercerts_claim_contributorInformation() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("org.hypercerts.claim.contributorInformation"),
@@ -402,4 +379,4 @@ fn lexicon_doc_org_hypercerts_claim_contributorInformation() -> LexiconDoc<'stat
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_hypercerts/claim/rights.rs b/crates/jacquard-api/src/org_hypercerts/claim/rights.rs
index 168a9798..a8bc738d 100644
--- a/crates/jacquard-api/src/org_hypercerts/claim/rights.rs
+++ b/crates/jacquard-api/src/org_hypercerts/claim/rights.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,11 +24,11 @@ use jacquard_derive::{IntoStatic, lexicon, open_union};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::org_hypercerts::SmallBlob;
 use crate::org_hypercerts::Uri;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// Describes the rights that a contributor and/or an owner has, such as whether the hypercert can be sold, transferred, and under what conditions.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -54,7 +54,6 @@ pub struct Rights {
     pub extra_data: Option>>,
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -172,7 +171,7 @@ impl LexiconSchema for Rights {
 
 pub mod rights_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -397,10 +396,10 @@ where
 }
 
 fn lexicon_doc_org_hypercerts_claim_rights() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("org.hypercerts.claim.rights"),
@@ -502,4 +501,4 @@ fn lexicon_doc_org_hypercerts_claim_rights() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_hypercerts/collection.rs b/crates/jacquard-api/src/org_hypercerts/collection.rs
index 5c6c1fbe..36004514 100644
--- a/crates/jacquard-api/src/org_hypercerts/collection.rs
+++ b/crates/jacquard-api/src/org_hypercerts/collection.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,18 +24,21 @@ use jacquard_derive::{IntoStatic, lexicon, open_union};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::com_atproto::repo::strong_ref::StrongRef;
 use crate::org_hypercerts::LargeImage;
 use crate::org_hypercerts::SmallImage;
 use crate::org_hypercerts::Uri;
-use crate::pub_leaflet::pages::linear_document::LinearDocument;
 use crate::org_hypercerts::collection;
+use crate::pub_leaflet::pages::linear_document::LinearDocument;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Item {
     ///Strong reference to an item in this collection. Items can be activities (org.hypercerts.claim.activity) and/or other collections (org.hypercerts.collection).
     pub item_identifier: StrongRef,
@@ -85,7 +88,6 @@ pub struct Collection {
     pub extra_data: Option>>,
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -96,7 +98,6 @@ pub enum CollectionAvatar {
     SmallImage(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -259,7 +260,7 @@ impl LexiconSchema for Collection {
 
 pub mod item_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -370,10 +371,10 @@ where
 }
 
 fn lexicon_doc_org_hypercerts_collection() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("org.hypercerts.collection"),
@@ -556,7 +557,7 @@ fn lexicon_doc_org_hypercerts_collection() -> LexiconDoc<'static> {
 
 pub mod collection_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -784,10 +785,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> Collection {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> Collection {
         Collection {
             avatar: self._fields.0,
             banner: self._fields.1,
@@ -801,4 +799,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_hypercerts/context.rs b/crates/jacquard-api/src/org_hypercerts/context.rs
index 41658583..77878f47 100644
--- a/crates/jacquard-api/src/org_hypercerts/context.rs
+++ b/crates/jacquard-api/src/org_hypercerts/context.rs
@@ -6,4 +6,4 @@
 pub mod acknowledgement;
 pub mod attachment;
 pub mod evaluation;
-pub mod measurement;
\ No newline at end of file
+pub mod measurement;
diff --git a/crates/jacquard-api/src/org_hypercerts/context/acknowledgement.rs b/crates/jacquard-api/src/org_hypercerts/context/acknowledgement.rs
index cc73a9ee..2a62c012 100644
--- a/crates/jacquard-api/src/org_hypercerts/context/acknowledgement.rs
+++ b/crates/jacquard-api/src/org_hypercerts/context/acknowledgement.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,11 +24,11 @@ use jacquard_derive::{IntoStatic, lexicon, open_union};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::com_atproto::repo::strong_ref::StrongRef;
 use crate::org_hypercerts::Uri;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// Acknowledges a record (subject) or its relationship in a context. Created in the acknowledging actor's repo to form a bidirectional link. Examples: a contributor acknowledging inclusion in an activity, an activity owner acknowledging inclusion in a collection, or a record owner acknowledging an evaluation.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -55,7 +55,6 @@ pub struct Acknowledgement {
     pub extra_data: Option>>,
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -149,7 +148,7 @@ impl LexiconSchema for Acknowledgement {
 
 pub mod acknowledgement_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -270,10 +269,7 @@ impl AcknowledgementBuilder
 
 impl AcknowledgementBuilder {
     /// Set the `context` field (optional)
-    pub fn context(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn context(mut self, value: impl Into>>) -> Self {
         self._fields.2 = value.into();
         self
     }
@@ -341,10 +337,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> Acknowledgement {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> Acknowledgement {
         Acknowledgement {
             acknowledged: self._fields.0.unwrap(),
             comment: self._fields.1,
@@ -357,10 +350,10 @@ where
 }
 
 fn lexicon_doc_org_hypercerts_context_acknowledgement() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("org.hypercerts.context.acknowledgement"),
@@ -450,4 +443,4 @@ fn lexicon_doc_org_hypercerts_context_acknowledgement() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_hypercerts/context/attachment.rs b/crates/jacquard-api/src/org_hypercerts/context/attachment.rs
index 795f0721..3bf96934 100644
--- a/crates/jacquard-api/src/org_hypercerts/context/attachment.rs
+++ b/crates/jacquard-api/src/org_hypercerts/context/attachment.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,14 +24,14 @@ use jacquard_derive::{IntoStatic, lexicon, open_union};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::app_bsky::richtext::facet::Facet;
 use crate::com_atproto::repo::strong_ref::StrongRef;
 use crate::org_hypercerts::SmallBlob;
 use crate::org_hypercerts::Uri;
 use crate::pub_leaflet::pages::linear_document::LinearDocument;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// An attachment providing commentary, context, evidence, or documentary material related to a hypercert record (e.g. an activity, project, claim, or evaluation).
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -71,7 +71,6 @@ pub struct Attachment {
     pub extra_data: Option>>,
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -206,7 +205,7 @@ impl LexiconSchema for Attachment {
 
 pub mod attachment_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -285,18 +284,12 @@ impl AttachmentBuilder {
 
 impl AttachmentBuilder {
     /// Set the `content` field (optional)
-    pub fn content(
-        mut self,
-        value: impl Into>>>,
-    ) -> Self {
+    pub fn content(mut self, value: impl Into>>>) -> Self {
         self._fields.0 = value.into();
         self
     }
     /// Set the `content` field to an Option value (optional)
-    pub fn maybe_content(
-        mut self,
-        value: Option>>,
-    ) -> Self {
+    pub fn maybe_content(mut self, value: Option>>) -> Self {
         self._fields.0 = value;
         self
     }
@@ -375,18 +368,12 @@ impl AttachmentBuilder {
 
 impl AttachmentBuilder {
     /// Set the `shortDescriptionFacets` field (optional)
-    pub fn short_description_facets(
-        mut self,
-        value: impl Into>>>,
-    ) -> Self {
+    pub fn short_description_facets(mut self, value: impl Into>>>) -> Self {
         self._fields.6 = value.into();
         self
     }
     /// Set the `shortDescriptionFacets` field to an Option value (optional)
-    pub fn maybe_short_description_facets(
-        mut self,
-        value: Option>>,
-    ) -> Self {
+    pub fn maybe_short_description_facets(mut self, value: Option>>) -> Self {
         self._fields.6 = value;
         self
     }
@@ -446,10 +433,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> Attachment {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> Attachment {
         Attachment {
             content: self._fields.0,
             content_type: self._fields.1,
@@ -466,10 +450,10 @@ where
 }
 
 fn lexicon_doc_org_hypercerts_context_attachment() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("org.hypercerts.context.attachment"),
@@ -620,4 +604,4 @@ fn lexicon_doc_org_hypercerts_context_attachment() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_hypercerts/context/evaluation.rs b/crates/jacquard-api/src/org_hypercerts/context/evaluation.rs
index 5574429a..a9a379ac 100644
--- a/crates/jacquard-api/src/org_hypercerts/context/evaluation.rs
+++ b/crates/jacquard-api/src/org_hypercerts/context/evaluation.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,14 +24,14 @@ use jacquard_derive::{IntoStatic, lexicon, open_union};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::app_certified::Did;
 use crate::com_atproto::repo::strong_ref::StrongRef;
 use crate::org_hypercerts::SmallBlob;
 use crate::org_hypercerts::Uri;
 use crate::org_hypercerts::context::evaluation;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// An evaluation of a hypercert record (e.g. an activity and its impact).
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -67,7 +67,6 @@ pub struct Evaluation {
     pub extra_data: Option>>,
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -92,7 +91,10 @@ pub struct EvaluationGetRecordOutput {
 /// Overall score for an evaluation on a numeric scale.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Score {
     ///Maximum value of the scale, e.g. 5 or 10.
     pub max: i64,
@@ -224,7 +226,7 @@ impl LexiconSchema for Score {
 
 pub mod evaluation_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -316,18 +318,12 @@ impl EvaluationBuilder {
 
 impl EvaluationBuilder {
     /// Set the `content` field (optional)
-    pub fn content(
-        mut self,
-        value: impl Into>>>,
-    ) -> Self {
+    pub fn content(mut self, value: impl Into>>>) -> Self {
         self._fields.0 = value.into();
         self
     }
     /// Set the `content` field to an Option value (optional)
-    pub fn maybe_content(
-        mut self,
-        value: Option>>,
-    ) -> Self {
+    pub fn maybe_content(mut self, value: Option>>) -> Self {
         self._fields.0 = value;
         self
     }
@@ -464,10 +460,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> Evaluation {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> Evaluation {
         Evaluation {
             content: self._fields.0,
             created_at: self._fields.1.unwrap(),
@@ -483,10 +476,10 @@ where
 }
 
 fn lexicon_doc_org_hypercerts_context_evaluation() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("org.hypercerts.context.evaluation"),
@@ -615,17 +608,14 @@ fn lexicon_doc_org_hypercerts_context_evaluation() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("score"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static(
-                            "Overall score for an evaluation on a numeric scale.",
-                        ),
-                    ),
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("min"), SmolStr::new_static("max"),
-                            SmolStr::new_static("value")
-                        ],
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Overall score for an evaluation on a numeric scale.",
+                    )),
+                    required: Some(vec![
+                        SmolStr::new_static("min"),
+                        SmolStr::new_static("max"),
+                        SmolStr::new_static("value"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -660,7 +650,7 @@ fn lexicon_doc_org_hypercerts_context_evaluation() -> LexiconDoc<'static> {
 
 pub mod score_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -747,10 +737,7 @@ where
     St::Max: score_state::IsUnset,
 {
     /// Set the `max` field (required)
-    pub fn max(
-        mut self,
-        value: impl Into,
-    ) -> ScoreBuilder> {
+    pub fn max(mut self, value: impl Into) -> ScoreBuilder> {
         self._fields.0 = Option::Some(value.into());
         ScoreBuilder {
             _state: PhantomData,
@@ -766,10 +753,7 @@ where
     St::Min: score_state::IsUnset,
 {
     /// Set the `min` field (required)
-    pub fn min(
-        mut self,
-        value: impl Into,
-    ) -> ScoreBuilder> {
+    pub fn min(mut self, value: impl Into) -> ScoreBuilder> {
         self._fields.1 = Option::Some(value.into());
         ScoreBuilder {
             _state: PhantomData,
@@ -785,10 +769,7 @@ where
     St::Value: score_state::IsUnset,
 {
     /// Set the `value` field (required)
-    pub fn value(
-        mut self,
-        value: impl Into,
-    ) -> ScoreBuilder> {
+    pub fn value(mut self, value: impl Into) -> ScoreBuilder> {
         self._fields.2 = Option::Some(value.into());
         ScoreBuilder {
             _state: PhantomData,
@@ -823,4 +804,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_hypercerts/context/measurement.rs b/crates/jacquard-api/src/org_hypercerts/context/measurement.rs
index 1675e0cd..f812682b 100644
--- a/crates/jacquard-api/src/org_hypercerts/context/measurement.rs
+++ b/crates/jacquard-api/src/org_hypercerts/context/measurement.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,12 +24,12 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::app_bsky::richtext::facet::Facet;
 use crate::app_certified::Did;
 use crate::com_atproto::repo::strong_ref::StrongRef;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// Measurement data related to one or more records (e.g. activities, projects, etc.).
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -248,7 +248,7 @@ impl LexiconSchema for Measurement {
 
 pub mod measurement_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -355,20 +355,7 @@ impl MeasurementBuilder {
         MeasurementBuilder {
             _state: PhantomData,
             _fields: (
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
+                None, None, None, None, None, None, None, None, None, None, None, None, None, None,
             ),
             _type: PhantomData,
         }
@@ -610,10 +597,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> Measurement {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> Measurement {
         Measurement {
             comment: self._fields.0,
             comment_facets: self._fields.1,
@@ -635,10 +619,10 @@ where
 }
 
 fn lexicon_doc_org_hypercerts_context_measurement() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("org.hypercerts.context.measurement"),
@@ -863,4 +847,4 @@ fn lexicon_doc_org_hypercerts_context_measurement() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_hypercerts/funding.rs b/crates/jacquard-api/src/org_hypercerts/funding.rs
index b024feb2..d66c1c32 100644
--- a/crates/jacquard-api/src/org_hypercerts/funding.rs
+++ b/crates/jacquard-api/src/org_hypercerts/funding.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod receipt;
\ No newline at end of file
+pub mod receipt;
diff --git a/crates/jacquard-api/src/org_hypercerts/funding/receipt.rs b/crates/jacquard-api/src/org_hypercerts/funding/receipt.rs
index 5f9ed48b..de88276b 100644
--- a/crates/jacquard-api/src/org_hypercerts/funding/receipt.rs
+++ b/crates/jacquard-api/src/org_hypercerts/funding/receipt.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::app_certified::Did;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::app_certified::Did;
+use serde::{Deserialize, Serialize};
 /// Records a funding receipt for a payment from one user to another user. It may be recorded by the recipient, by the sender, or by a third party. The sender may remain anonymous.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -204,7 +204,7 @@ impl LexiconSchema for Receipt {
 
 pub mod receipt_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -325,7 +325,9 @@ impl ReceiptBuilder {
     pub fn new() -> Self {
         ReceiptBuilder {
             _state: PhantomData,
-            _fields: (None, None, None, None, None, None, None, None, None, None, None),
+            _fields: (
+                None, None, None, None, None, None, None, None, None, None, None,
+            ),
             _type: PhantomData,
         }
     }
@@ -478,10 +480,7 @@ where
     St::To: receipt_state::IsUnset,
 {
     /// Set the `to` field (required)
-    pub fn to(
-        mut self,
-        value: impl Into,
-    ) -> ReceiptBuilder> {
+    pub fn to(mut self, value: impl Into) -> ReceiptBuilder> {
         self._fields.9 = Option::Some(value.into());
         ReceiptBuilder {
             _state: PhantomData,
@@ -550,10 +549,10 @@ where
 }
 
 fn lexicon_doc_org_hypercerts_funding_receipt() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("org.hypercerts.funding.receipt"),
@@ -716,4 +715,4 @@ fn lexicon_doc_org_hypercerts_funding_receipt() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_hypercerts/helper.rs b/crates/jacquard-api/src/org_hypercerts/helper.rs
index 2d68a525..5bdc29e9 100644
--- a/crates/jacquard-api/src/org_hypercerts/helper.rs
+++ b/crates/jacquard-api/src/org_hypercerts/helper.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod work_scope_tag;
\ No newline at end of file
+pub mod work_scope_tag;
diff --git a/crates/jacquard-api/src/org_hypercerts/helper/work_scope_tag.rs b/crates/jacquard-api/src/org_hypercerts/helper/work_scope_tag.rs
index bee2fad4..8f506077 100644
--- a/crates/jacquard-api/src/org_hypercerts/helper/work_scope_tag.rs
+++ b/crates/jacquard-api/src/org_hypercerts/helper/work_scope_tag.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,12 +24,12 @@ use jacquard_derive::{IntoStatic, lexicon, open_union};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::com_atproto::repo::strong_ref::StrongRef;
 use crate::org_hypercerts::SmallBlob;
 use crate::org_hypercerts::Uri;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// A reusable scope atom for work scope logic expressions. Scopes can represent topics, languages, domains, deliverables, methods, regions, tags, or other categorical labels.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -65,7 +65,6 @@ pub struct WorkScopeTag {
     pub extra_data: Option>>,
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -201,7 +200,7 @@ impl LexiconSchema for WorkScopeTag {
 
 pub mod work_scope_tag_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -441,10 +440,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> WorkScopeTag {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> WorkScopeTag {
         WorkScopeTag {
             aliases: self._fields.0,
             created_at: self._fields.1.unwrap(),
@@ -460,10 +456,10 @@ where
 }
 
 fn lexicon_doc_org_hypercerts_helper_workScopeTag() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("org.hypercerts.helper.workScopeTag"),
@@ -596,4 +592,4 @@ fn lexicon_doc_org_hypercerts_helper_workScopeTag() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_hypercerts/workscope.rs b/crates/jacquard-api/src/org_hypercerts/workscope.rs
index de85bfbe..01fb1a04 100644
--- a/crates/jacquard-api/src/org_hypercerts/workscope.rs
+++ b/crates/jacquard-api/src/org_hypercerts/workscope.rs
@@ -4,4 +4,4 @@
 // Any manual changes will be overwritten on the next regeneration.
 
 pub mod cel;
-pub mod tag;
\ No newline at end of file
+pub mod tag;
diff --git a/crates/jacquard-api/src/org_hypercerts/workscope/cel.rs b/crates/jacquard-api/src/org_hypercerts/workscope/cel.rs
index 4b52fb48..92e97349 100644
--- a/crates/jacquard-api/src/org_hypercerts/workscope/cel.rs
+++ b/crates/jacquard-api/src/org_hypercerts/workscope/cel.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -21,14 +21,17 @@ use jacquard_derive::IntoStatic;
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::com_atproto::repo::strong_ref::StrongRef;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::com_atproto::repo::strong_ref::StrongRef;
+use serde::{Deserialize, Serialize};
 /// A structured, machine-evaluable work scope definition using CEL (Common Expression Language). Tags referenced in the expression correspond to org.hypercerts.workscope.tag keys. See https://github.com/google/cel-spec. Note: this is intentionally type 'object' (not 'record') so it can be directly embedded inline in union types (e.g., activity.workScope) without requiring a separate collection or strongRef indirection.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Cel {
     ///Client-declared timestamp when this expression was originally created.
     pub created_at: Datetime,
@@ -180,7 +183,7 @@ impl LexiconSchema for Cel {
 
 pub mod cel_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -389,10 +392,10 @@ where
 }
 
 fn lexicon_doc_org_hypercerts_workscope_cel() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("org.hypercerts.workscope.cel"),
@@ -477,4 +480,4 @@ fn lexicon_doc_org_hypercerts_workscope_cel() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_hypercerts/workscope/tag.rs b/crates/jacquard-api/src/org_hypercerts/workscope/tag.rs
index 4a07106d..5efd55a6 100644
--- a/crates/jacquard-api/src/org_hypercerts/workscope/tag.rs
+++ b/crates/jacquard-api/src/org_hypercerts/workscope/tag.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,12 +24,12 @@ use jacquard_derive::{IntoStatic, lexicon, open_union};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::com_atproto::repo::strong_ref::StrongRef;
 use crate::org_hypercerts::SmallBlob;
 use crate::org_hypercerts::Uri;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// A reusable scope atom for work scope logic expressions. Scopes can represent topics, languages, domains, deliverables, methods, regions, tags, or other categorical labels. Tags are composed into structured expressions via CEL (Common Expression Language) on activity records.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -161,7 +161,6 @@ where
     }
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -400,7 +399,7 @@ impl LexiconSchema for Tag {
 
 pub mod tag_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -487,7 +486,9 @@ impl TagBuilder {
     pub fn new() -> Self {
         TagBuilder {
             _state: PhantomData,
-            _fields: (None, None, None, None, None, None, None, None, None, None, None),
+            _fields: (
+                None, None, None, None, None, None, None, None, None, None, None,
+            ),
             _type: PhantomData,
         }
     }
@@ -598,18 +599,12 @@ impl TagBuilder {
 
 impl TagBuilder {
     /// Set the `referenceDocument` field (optional)
-    pub fn reference_document(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn reference_document(mut self, value: impl Into>>) -> Self {
         self._fields.7 = value.into();
         self
     }
     /// Set the `referenceDocument` field to an Option value (optional)
-    pub fn maybe_reference_document(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_reference_document(mut self, value: Option>) -> Self {
         self._fields.7 = value;
         self
     }
@@ -698,10 +693,10 @@ where
 }
 
 fn lexicon_doc_org_hypercerts_workscope_tag() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("org.hypercerts.workscope.tag"),
@@ -868,4 +863,4 @@ fn lexicon_doc_org_hypercerts_workscope_tag() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_impactindexer.rs b/crates/jacquard-api/src/org_impactindexer.rs
index 702e1998..d5946921 100644
--- a/crates/jacquard-api/src/org_impactindexer.rs
+++ b/crates/jacquard-api/src/org_impactindexer.rs
@@ -4,4 +4,4 @@
 // Any manual changes will be overwritten on the next regeneration.
 
 pub mod link;
-pub mod review;
\ No newline at end of file
+pub mod review;
diff --git a/crates/jacquard-api/src/org_impactindexer/link.rs b/crates/jacquard-api/src/org_impactindexer/link.rs
index b9f18698..0fa1142e 100644
--- a/crates/jacquard-api/src/org_impactindexer/link.rs
+++ b/crates/jacquard-api/src/org_impactindexer/link.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod attestation;
\ No newline at end of file
+pub mod attestation;
diff --git a/crates/jacquard-api/src/org_impactindexer/link/attestation.rs b/crates/jacquard-api/src/org_impactindexer/link/attestation.rs
index e5750309..831cfd4c 100644
--- a/crates/jacquard-api/src/org_impactindexer/link/attestation.rs
+++ b/crates/jacquard-api/src/org_impactindexer/link/attestation.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,14 +24,17 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::org_impactindexer::link::attestation;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::org_impactindexer::link::attestation;
+use serde::{Deserialize, Serialize};
 /// The EIP-712 typed data message structure
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Eip712Message {
     ///The chain ID as a string (for bigint compatibility, max uint256)
     pub chain_id: S,
@@ -124,8 +127,7 @@ impl Serialize for AttestationSignatureType {
     }
 }
 
-impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de>
-for AttestationSignatureType {
+impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> for AttestationSignatureType {
     fn deserialize(deserializer: D) -> Result
     where
         D: serde::Deserializer<'de>,
@@ -152,9 +154,7 @@ where
             AttestationSignatureType::Eoa => AttestationSignatureType::Eoa,
             AttestationSignatureType::Erc1271 => AttestationSignatureType::Erc1271,
             AttestationSignatureType::Erc6492 => AttestationSignatureType::Erc6492,
-            AttestationSignatureType::Other(v) => {
-                AttestationSignatureType::Other(v.into_static())
-            }
+            AttestationSignatureType::Other(v) => AttestationSignatureType::Other(v.into_static()),
         }
     }
 }
@@ -365,10 +365,10 @@ impl LexiconSchema for Attestation {
 }
 
 fn lexicon_doc_org_impactindexer_link_attestation() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("org.impactindexer.link.attestation"),
@@ -558,7 +558,7 @@ fn lexicon_doc_org_impactindexer_link_attestation() -> LexiconDoc<'static> {
 
 pub mod attestation_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -837,10 +837,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> Attestation {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> Attestation {
         Attestation {
             address: self._fields.0.unwrap(),
             chain_id: self._fields.1.unwrap(),
@@ -851,4 +848,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_impactindexer/review.rs b/crates/jacquard-api/src/org_impactindexer/review.rs
index c9e5fdff..746b3619 100644
--- a/crates/jacquard-api/src/org_impactindexer/review.rs
+++ b/crates/jacquard-api/src/org_impactindexer/review.rs
@@ -8,13 +8,12 @@
 pub mod comment;
 pub mod like;
 
-
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,14 +23,17 @@ use jacquard_derive::IntoStatic;
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::org_impactindexer::review;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::org_impactindexer::review;
+use serde::{Deserialize, Serialize};
 /// Reference to the subject being reviewed.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct SubjectRef {
     ///Optional CID for record subjects to pin to a specific version.
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -163,7 +165,7 @@ impl LexiconSchema for SubjectRef {
 
 pub mod subject_ref_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -297,10 +299,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> SubjectRef {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> SubjectRef {
         SubjectRef {
             cid: self._fields.0,
             r#type: self._fields.1.unwrap(),
@@ -311,10 +310,10 @@ where
 }
 
 fn lexicon_doc_org_impactindexer_review_defs() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("org.impactindexer.review.defs"),
@@ -371,9 +370,7 @@ fn lexicon_doc_org_impactindexer_review_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("subjectType"),
                 LexUserType::String(LexString {
-                    description: Some(
-                        CowStr::new_static("The type of subject being reviewed."),
-                    ),
+                    description: Some(CowStr::new_static("The type of subject being reviewed.")),
                     max_length: Some(32usize),
                     ..Default::default()
                 }),
@@ -382,4 +379,4 @@ fn lexicon_doc_org_impactindexer_review_defs() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_impactindexer/review/comment.rs b/crates/jacquard-api/src/org_impactindexer/review/comment.rs
index 7972b461..1fa85e27 100644
--- a/crates/jacquard-api/src/org_impactindexer/review/comment.rs
+++ b/crates/jacquard-api/src/org_impactindexer/review/comment.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::org_impactindexer::review::SubjectRef;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::org_impactindexer::review::SubjectRef;
+use serde::{Deserialize, Serialize};
 /// A text comment on a subject.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -136,7 +136,7 @@ impl LexiconSchema for Comment {
 
 pub mod comment_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -195,7 +195,12 @@ pub mod comment_state {
 /// Builder for constructing an instance of this type.
 pub struct CommentBuilder {
     _state: PhantomData St>,
-    _fields: (Option, Option>, Option>, Option),
+    _fields: (
+        Option,
+        Option>,
+        Option>,
+        Option,
+    ),
     _type: PhantomData S>,
 }
 
@@ -274,10 +279,7 @@ where
     St::Text: comment_state::IsUnset,
 {
     /// Set the `text` field (required)
-    pub fn text(
-        mut self,
-        value: impl Into,
-    ) -> CommentBuilder> {
+    pub fn text(mut self, value: impl Into) -> CommentBuilder> {
         self._fields.3 = Option::Some(value.into());
         CommentBuilder {
             _state: PhantomData,
@@ -317,10 +319,10 @@ where
 }
 
 fn lexicon_doc_org_impactindexer_review_comment() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("org.impactindexer.review.comment"),
@@ -396,4 +398,4 @@ fn lexicon_doc_org_impactindexer_review_comment() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_impactindexer/review/like.rs b/crates/jacquard-api/src/org_impactindexer/review/like.rs
index 2ba68f37..09a85d1c 100644
--- a/crates/jacquard-api/src/org_impactindexer/review/like.rs
+++ b/crates/jacquard-api/src/org_impactindexer/review/like.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::org_impactindexer::review::SubjectRef;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::org_impactindexer::review::SubjectRef;
+use serde::{Deserialize, Serialize};
 /// A like on a subject. Create to like, delete to remove like.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -107,7 +107,7 @@ impl LexiconSchema for Like {
 
 pub mod like_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -237,10 +237,10 @@ where
 }
 
 fn lexicon_doc_org_impactindexer_review_like() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("org.impactindexer.review.like"),
@@ -249,28 +249,24 @@ fn lexicon_doc_org_impactindexer_review_like() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static(
-                            "A like on a subject. Create to like, delete to remove like.",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "A like on a subject. Create to like, delete to remove like.",
+                    )),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("subject"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("subject"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
                             map.insert(
                                 SmolStr::new_static("createdAt"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("Timestamp when the like was created."),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Timestamp when the like was created.",
+                                    )),
                                     format: Some(LexStringFormat::Datetime),
                                     ..Default::default()
                                 }),
@@ -295,4 +291,4 @@ fn lexicon_doc_org_impactindexer_review_like() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_okazu_diary.rs b/crates/jacquard-api/src/org_okazu_diary.rs
index 4826fd32..0b1365fb 100644
--- a/crates/jacquard-api/src/org_okazu_diary.rs
+++ b/crates/jacquard-api/src/org_okazu_diary.rs
@@ -6,4 +6,4 @@
 pub mod actor;
 pub mod embed;
 pub mod feed;
-pub mod material;
\ No newline at end of file
+pub mod material;
diff --git a/crates/jacquard-api/src/org_okazu_diary/actor.rs b/crates/jacquard-api/src/org_okazu_diary/actor.rs
index 534c9681..1cb60f21 100644
--- a/crates/jacquard-api/src/org_okazu_diary/actor.rs
+++ b/crates/jacquard-api/src/org_okazu_diary/actor.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod profile;
\ No newline at end of file
+pub mod profile;
diff --git a/crates/jacquard-api/src/org_okazu_diary/actor/profile.rs b/crates/jacquard-api/src/org_okazu_diary/actor/profile.rs
index d2ac1788..af92e5fe 100644
--- a/crates/jacquard-api/src/org_okazu_diary/actor/profile.rs
+++ b/crates/jacquard-api/src/org_okazu_diary/actor/profile.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -25,10 +25,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::com_atproto::label::SelfLabels;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::com_atproto::label::SelfLabels;
+use serde::{Deserialize, Serialize};
 /// A declaration of an Okazu-Diary.org profile. If the repository has an `app.bsky.actor.profile` record, the application can substitute omitted properties of this record with the counterpart properties from that record, except for the `createdAt` and `labels` properties.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -129,25 +129,20 @@ impl LexiconSchema for Profile {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["image/png", "image/jpeg"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("avatar"),
-                        accepted: vec![
-                            "image/png".to_string(), "image/jpeg".to_string()
-                        ],
+                        accepted: vec!["image/png".to_string(), "image/jpeg".to_string()],
                         actual: mime.to_string(),
                     });
                 }
@@ -203,7 +198,7 @@ impl LexiconSchema for Profile {
 
 pub mod profile_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -361,10 +356,10 @@ where
 }
 
 fn lexicon_doc_org_okazu_diary_actor_profile() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("org.okazu-diary.actor.profile"),
@@ -445,4 +440,4 @@ fn lexicon_doc_org_okazu_diary_actor_profile() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_okazu_diary/embed.rs b/crates/jacquard-api/src/org_okazu_diary/embed.rs
index 86a6e8cd..db246d38 100644
--- a/crates/jacquard-api/src/org_okazu_diary/embed.rs
+++ b/crates/jacquard-api/src/org_okazu_diary/embed.rs
@@ -4,4 +4,4 @@
 // Any manual changes will be overwritten on the next regeneration.
 
 pub mod external;
-pub mod record;
\ No newline at end of file
+pub mod record;
diff --git a/crates/jacquard-api/src/org_okazu_diary/embed/external.rs b/crates/jacquard-api/src/org_okazu_diary/embed/external.rs
index 219fa997..6649099b 100644
--- a/crates/jacquard-api/src/org_okazu_diary/embed/external.rs
+++ b/crates/jacquard-api/src/org_okazu_diary/embed/external.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -21,13 +21,16 @@ use jacquard_derive::IntoStatic;
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::org_okazu_diary::embed::external;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::org_okazu_diary::embed::external;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct External {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub description: Option,
@@ -40,9 +43,11 @@ pub struct External {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Thumb {
     pub cid: Cid,
     pub uri: UriValue,
@@ -82,7 +87,7 @@ impl LexiconSchema for Thumb {
 
 pub mod external_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -115,7 +120,12 @@ pub mod external_state {
 /// Builder for constructing an instance of this type.
 pub struct ExternalBuilder {
     _state: PhantomData St>,
-    _fields: (Option, Option>, Option, Option>),
+    _fields: (
+        Option,
+        Option>,
+        Option,
+        Option>,
+    ),
     _type: PhantomData S>,
 }
 
@@ -223,10 +233,10 @@ where
 }
 
 fn lexicon_doc_org_okazu_diary_embed_external() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("org.okazu-diary.embed.external"),
@@ -241,7 +251,9 @@ fn lexicon_doc_org_okazu_diary_embed_external() -> LexiconDoc<'static> {
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("description"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("thumb"),
@@ -252,7 +264,9 @@ fn lexicon_doc_org_okazu_diary_embed_external() -> LexiconDoc<'static> {
                         );
                         map.insert(
                             SmolStr::new_static("title"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("uri"),
@@ -269,9 +283,7 @@ fn lexicon_doc_org_okazu_diary_embed_external() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("thumb"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![SmolStr::new_static("cid"), SmolStr::new_static("uri")],
-                    ),
+                    required: Some(vec![SmolStr::new_static("cid"), SmolStr::new_static("uri")]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -302,7 +314,7 @@ fn lexicon_doc_org_okazu_diary_embed_external() -> LexiconDoc<'static> {
 
 pub mod thumb_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -375,10 +387,7 @@ where
     St::Cid: thumb_state::IsUnset,
 {
     /// Set the `cid` field (required)
-    pub fn cid(
-        mut self,
-        value: impl Into>,
-    ) -> ThumbBuilder> {
+    pub fn cid(mut self, value: impl Into>) -> ThumbBuilder> {
         self._fields.0 = Option::Some(value.into());
         ThumbBuilder {
             _state: PhantomData,
@@ -429,4 +438,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_okazu_diary/embed/record.rs b/crates/jacquard-api/src/org_okazu_diary/embed/record.rs
index 0edc9e19..eaf08b0a 100644
--- a/crates/jacquard-api/src/org_okazu_diary/embed/record.rs
+++ b/crates/jacquard-api/src/org_okazu_diary/embed/record.rs
@@ -20,13 +20,16 @@ use jacquard_derive::IntoStatic;
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::com_atproto::repo::strong_ref::StrongRef;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::com_atproto::repo::strong_ref::StrongRef;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Record {
     pub record: StrongRef,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
@@ -50,7 +53,7 @@ impl LexiconSchema for Record {
 
 pub mod record_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -146,10 +149,10 @@ where
 }
 
 fn lexicon_doc_org_okazu_diary_embed_record() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("org.okazu-diary.embed.record"),
@@ -178,4 +181,4 @@ fn lexicon_doc_org_okazu_diary_embed_record() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_okazu_diary/feed.rs b/crates/jacquard-api/src/org_okazu_diary/feed.rs
index 9082388e..70ed3286 100644
--- a/crates/jacquard-api/src/org_okazu_diary/feed.rs
+++ b/crates/jacquard-api/src/org_okazu_diary/feed.rs
@@ -10,13 +10,12 @@ pub mod collection_item;
 pub mod entry;
 pub mod like;
 
-
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,16 +25,19 @@ use jacquard_derive::{IntoStatic, open_union};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::com_atproto::label::SelfLabels;
 use crate::org_okazu_diary::embed::external::External;
 use crate::org_okazu_diary::embed::record::Record;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// A descriptor of a material used to help self-gratification.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Subject {
     ///User-specified self-label values for the material. The Lexicon by its nature assumes the material to be possibly sensitive by default, so the explicit label values are intended to signal that a warning should be put on the material even for the Okazu-Diary.org application users who are willing to see mature contents in general.
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -45,7 +47,6 @@ pub struct Subject {
     pub extra_data: Option>>,
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -56,9 +57,11 @@ pub enum SubjectValue {
     Record(Box>),
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Tag {
     pub value: S,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
@@ -119,7 +122,7 @@ impl LexiconSchema for Tag {
 
 pub mod subject_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -230,10 +233,10 @@ where
 }
 
 fn lexicon_doc_org_okazu_diary_feed_defs() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("org.okazu-diary.feed.defs"),
@@ -304,4 +307,4 @@ fn lexicon_doc_org_okazu_diary_feed_defs() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_okazu_diary/feed/collection.rs b/crates/jacquard-api/src/org_okazu_diary/feed/collection.rs
index 7b4ed449..d4a7b739 100644
--- a/crates/jacquard-api/src/org_okazu_diary/feed/collection.rs
+++ b/crates/jacquard-api/src/org_okazu_diary/feed/collection.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::com_atproto::label::SelfLabels;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::com_atproto::label::SelfLabels;
+use serde::{Deserialize, Serialize};
 /// Record representing a user-curated colleciton of materials.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -154,7 +154,7 @@ impl LexiconSchema for Collection {
 
 pub mod collection_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -187,7 +187,12 @@ pub mod collection_state {
 /// Builder for constructing an instance of this type.
 pub struct CollectionBuilder {
     _state: PhantomData St>,
-    _fields: (Option, Option, Option>, Option),
+    _fields: (
+        Option,
+        Option,
+        Option>,
+        Option,
+    ),
     _type: PhantomData S>,
 }
 
@@ -283,10 +288,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> Collection {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> Collection {
         Collection {
             created_at: self._fields.0.unwrap(),
             description: self._fields.1,
@@ -298,10 +300,10 @@ where
 }
 
 fn lexicon_doc_org_okazu_diary_feed_collection() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("org.okazu-diary.feed.collection"),
@@ -372,4 +374,4 @@ fn lexicon_doc_org_okazu_diary_feed_collection() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_okazu_diary/feed/collection_item.rs b/crates/jacquard-api/src/org_okazu_diary/feed/collection_item.rs
index 610c7e76..0bda5f0a 100644
--- a/crates/jacquard-api/src/org_okazu_diary/feed/collection_item.rs
+++ b/crates/jacquard-api/src/org_okazu_diary/feed/collection_item.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,13 +24,13 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::com_atproto::label::SelfLabels;
 use crate::com_atproto::repo::strong_ref::StrongRef;
 use crate::org_okazu_diary::feed::Subject;
 use crate::org_okazu_diary::feed::Tag;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// Record declaring the inclusion of a single material or a set of materials in a specific collection.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -152,7 +152,7 @@ impl LexiconSchema for CollectionItem {
 
 pub mod collection_item_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -356,10 +356,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> CollectionItem {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> CollectionItem {
         CollectionItem {
             collection: self._fields.0.unwrap(),
             created_at: self._fields.1.unwrap(),
@@ -373,10 +370,10 @@ where
 }
 
 fn lexicon_doc_org_okazu_diary_feed_collectionItem() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("org.okazu-diary.feed.collectionItem"),
@@ -488,4 +485,4 @@ fn lexicon_doc_org_okazu_diary_feed_collectionItem() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_okazu_diary/feed/entry.rs b/crates/jacquard-api/src/org_okazu_diary/feed/entry.rs
index 9b223193..52455773 100644
--- a/crates/jacquard-api/src/org_okazu_diary/feed/entry.rs
+++ b/crates/jacquard-api/src/org_okazu_diary/feed/entry.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,12 +24,12 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::com_atproto::label::SelfLabels;
 use crate::com_atproto::repo::strong_ref::StrongRef;
 use crate::org_okazu_diary::material::Tag;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// A diary entry to record a self-gratification activity.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -254,7 +254,7 @@ fn _default_entry_had_hiatus() -> Option {
 
 pub mod entry_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -464,10 +464,10 @@ where
 }
 
 fn lexicon_doc_org_okazu_diary_feed_entry() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("org.okazu-diary.feed.entry"),
@@ -590,4 +590,4 @@ fn lexicon_doc_org_okazu_diary_feed_entry() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_okazu_diary/feed/like.rs b/crates/jacquard-api/src/org_okazu_diary/feed/like.rs
index 897f40f0..8a2568cb 100644
--- a/crates/jacquard-api/src/org_okazu_diary/feed/like.rs
+++ b/crates/jacquard-api/src/org_okazu_diary/feed/like.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::com_atproto::repo::strong_ref::StrongRef;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::com_atproto::repo::strong_ref::StrongRef;
+use serde::{Deserialize, Serialize};
 /// Record declaring a 'like' of a piece of subject activity.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -107,7 +107,7 @@ impl LexiconSchema for Like {
 
 pub mod like_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -252,10 +252,10 @@ where
 }
 
 fn lexicon_doc_org_okazu_diary_feed_like() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("org.okazu-diary.feed.like"),
@@ -264,19 +264,15 @@ fn lexicon_doc_org_okazu_diary_feed_like() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static(
-                            "Record declaring a 'like' of a piece of subject activity.",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Record declaring a 'like' of a piece of subject activity.",
+                    )),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("subject"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("subject"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -312,4 +308,4 @@ fn lexicon_doc_org_okazu_diary_feed_like() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_okazu_diary/material.rs b/crates/jacquard-api/src/org_okazu_diary/material.rs
index 0b7a5925..3533216e 100644
--- a/crates/jacquard-api/src/org_okazu_diary/material.rs
+++ b/crates/jacquard-api/src/org_okazu_diary/material.rs
@@ -9,10 +9,9 @@ pub mod collection;
 pub mod collection_item;
 pub mod external;
 
-
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,10 +23,13 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Tag {
     pub value: S,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
@@ -72,10 +74,10 @@ impl LexiconSchema for Tag {
 }
 
 fn lexicon_doc_org_okazu_diary_material_defs() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("org.okazu-diary.material.defs"),
@@ -105,4 +107,4 @@ fn lexicon_doc_org_okazu_diary_material_defs() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_okazu_diary/material/collection.rs b/crates/jacquard-api/src/org_okazu_diary/material/collection.rs
index 5562170e..a845cfbd 100644
--- a/crates/jacquard-api/src/org_okazu_diary/material/collection.rs
+++ b/crates/jacquard-api/src/org_okazu_diary/material/collection.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::com_atproto::label::SelfLabels;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::com_atproto::label::SelfLabels;
+use serde::{Deserialize, Serialize};
 /// Record representing a user-curated colleciton of materials.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -154,7 +154,7 @@ impl LexiconSchema for Collection {
 
 pub mod collection_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -187,7 +187,12 @@ pub mod collection_state {
 /// Builder for constructing an instance of this type.
 pub struct CollectionBuilder {
     _state: PhantomData St>,
-    _fields: (Option, Option, Option>, Option),
+    _fields: (
+        Option,
+        Option,
+        Option>,
+        Option,
+    ),
     _type: PhantomData S>,
 }
 
@@ -283,10 +288,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> Collection {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> Collection {
         Collection {
             created_at: self._fields.0.unwrap(),
             description: self._fields.1,
@@ -298,10 +300,10 @@ where
 }
 
 fn lexicon_doc_org_okazu_diary_material_collection() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("org.okazu-diary.material.collection"),
@@ -372,4 +374,4 @@ fn lexicon_doc_org_okazu_diary_material_collection() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_okazu_diary/material/collection_item.rs b/crates/jacquard-api/src/org_okazu_diary/material/collection_item.rs
index fbec8a3b..e11e5d68 100644
--- a/crates/jacquard-api/src/org_okazu_diary/material/collection_item.rs
+++ b/crates/jacquard-api/src/org_okazu_diary/material/collection_item.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::com_atproto::repo::strong_ref::StrongRef;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::com_atproto::repo::strong_ref::StrongRef;
+use serde::{Deserialize, Serialize};
 /// Record declaring the inclusion of a single material or a set of materials in a specific collection.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -158,7 +158,7 @@ impl LexiconSchema for CollectionItem {
 
 pub mod collection_item_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -347,10 +347,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> CollectionItem {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> CollectionItem {
         CollectionItem {
             collection: self._fields.0.unwrap(),
             created_at: self._fields.1.unwrap(),
@@ -363,10 +360,10 @@ where
 }
 
 fn lexicon_doc_org_okazu_diary_material_collectionItem() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("org.okazu-diary.material.collectionItem"),
@@ -457,4 +454,4 @@ fn lexicon_doc_org_okazu_diary_material_collectionItem() -> LexiconDoc<'static>
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_okazu_diary/material/external.rs b/crates/jacquard-api/src/org_okazu_diary/material/external.rs
index f1170146..00b04345 100644
--- a/crates/jacquard-api/src/org_okazu_diary/material/external.rs
+++ b/crates/jacquard-api/src/org_okazu_diary/material/external.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,13 +24,13 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::com_atproto::label::SelfLabels;
 use crate::com_atproto::repo::strong_ref::StrongRef;
 use crate::org_okazu_diary::material::Tag;
 use crate::org_okazu_diary::material::external;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// A descriptor of a pornographic material.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -83,9 +83,11 @@ pub struct ExternalGetRecordOutput {
     pub value: External,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Thumb {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub cid: Option>,
@@ -169,7 +171,7 @@ impl LexiconSchema for Thumb {
 
 pub mod external_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -375,10 +377,10 @@ where
 }
 
 fn lexicon_doc_org_okazu_diary_material_external() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("org.okazu-diary.material.external"),
@@ -535,7 +537,7 @@ fn lexicon_doc_org_okazu_diary_material_external() -> LexiconDoc<'static> {
 
 pub mod thumb_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -643,4 +645,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_passingreads.rs b/crates/jacquard-api/src/org_passingreads.rs
index c3cf70c4..88c743db 100644
--- a/crates/jacquard-api/src/org_passingreads.rs
+++ b/crates/jacquard-api/src/org_passingreads.rs
@@ -8,13 +8,12 @@
 pub mod actor;
 pub mod book;
 
-
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -27,11 +26,14 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// Basic actor information for embedding in responses
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Actor {
     pub did: Did,
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -45,7 +47,10 @@ pub struct Actor {
 /// width:height represents an aspect ratio. It may be approximate, and may not correspond to absolute dimensions in any unit.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct AspectRatio {
     pub height: i64,
     pub width: i64,
@@ -56,7 +61,10 @@ pub struct AspectRatio {
 /// Book ID entry for SSG
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct BookIdEntry {
     pub id: S,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
@@ -66,7 +74,10 @@ pub struct BookIdEntry {
 /// Location entry with book count for SSG
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct LocationEntry {
     pub book_count: i64,
     pub h3: S,
@@ -166,7 +177,7 @@ impl LexiconSchema for LocationEntry {
 
 pub mod actor_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -227,10 +238,7 @@ where
     St::Did: actor_state::IsUnset,
 {
     /// Set the `did` field (required)
-    pub fn did(
-        mut self,
-        value: impl Into>,
-    ) -> ActorBuilder> {
+    pub fn did(mut self, value: impl Into>) -> ActorBuilder> {
         self._fields.0 = Option::Some(value.into());
         ActorBuilder {
             _state: PhantomData,
@@ -292,10 +300,10 @@ where
 }
 
 fn lexicon_doc_org_passingreads_defs() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("org.passingreads.defs"),
@@ -304,11 +312,9 @@ fn lexicon_doc_org_passingreads_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("actor"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static(
-                            "Basic actor information for embedding in responses",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Basic actor information for embedding in responses",
+                    )),
                     required: Some(vec![SmolStr::new_static("did")]),
                     properties: {
                         #[allow(unused_mut)]
@@ -382,7 +388,9 @@ fn lexicon_doc_org_passingreads_defs() -> LexiconDoc<'static> {
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("id"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map
                     },
@@ -392,12 +400,11 @@ fn lexicon_doc_org_passingreads_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("locationEntry"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("Location entry with book count for SSG"),
-                    ),
-                    required: Some(
-                        vec![SmolStr::new_static("h3"), SmolStr::new_static("bookCount")],
-                    ),
+                    description: Some(CowStr::new_static("Location entry with book count for SSG")),
+                    required: Some(vec![
+                        SmolStr::new_static("h3"),
+                        SmolStr::new_static("bookCount"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -409,7 +416,9 @@ fn lexicon_doc_org_passingreads_defs() -> LexiconDoc<'static> {
                         );
                         map.insert(
                             SmolStr::new_static("h3"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map
                     },
@@ -424,7 +433,7 @@ fn lexicon_doc_org_passingreads_defs() -> LexiconDoc<'static> {
 
 pub mod aspect_ratio_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -544,10 +553,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> AspectRatio {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> AspectRatio {
         AspectRatio {
             height: self._fields.0.unwrap(),
             width: self._fields.1.unwrap(),
@@ -558,7 +564,7 @@ where
 
 pub mod location_entry_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -678,14 +684,11 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> LocationEntry {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> LocationEntry {
         LocationEntry {
             book_count: self._fields.0.unwrap(),
             h3: self._fields.1.unwrap(),
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_passingreads/actor.rs b/crates/jacquard-api/src/org_passingreads/actor.rs
index 2a3f7efe..cbf6ddf1 100644
--- a/crates/jacquard-api/src/org_passingreads/actor.rs
+++ b/crates/jacquard-api/src/org_passingreads/actor.rs
@@ -9,13 +9,12 @@ pub mod get_profile;
 pub mod list_profiles;
 pub mod profile;
 
-
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,14 +25,17 @@ use jacquard_derive::IntoStatic;
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::app_bsky::richtext::facet::Facet;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::app_bsky::richtext::facet::Facet;
+use serde::{Deserialize, Serialize};
 /// Profile view of a user for API responses. Based on the actor.profile record but with resolved avatar URL.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ProfileView {
     ///Alt text for the avatar image
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -101,7 +103,7 @@ impl LexiconSchema for ProfileView {
 
 pub mod profile_view_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -217,10 +219,7 @@ impl ProfileViewBuilder {
 
 impl ProfileViewBuilder {
     /// Set the `descriptionFacets` field (optional)
-    pub fn description_facets(
-        mut self,
-        value: impl Into>>>,
-    ) -> Self {
+    pub fn description_facets(mut self, value: impl Into>>>) -> Self {
         self._fields.3 = value.into();
         self
     }
@@ -302,10 +301,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> ProfileView {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> ProfileView {
         ProfileView {
             avatar_alt: self._fields.0,
             avatar_url: self._fields.1,
@@ -320,10 +316,10 @@ where
 }
 
 fn lexicon_doc_org_passingreads_actor_defs() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("org.passingreads.actor.defs"),
@@ -413,4 +409,4 @@ fn lexicon_doc_org_passingreads_actor_defs() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_passingreads/actor/get_profile.rs b/crates/jacquard-api/src/org_passingreads/actor/get_profile.rs
index f091a327..5a5878b8 100644
--- a/crates/jacquard-api/src/org_passingreads/actor/get_profile.rs
+++ b/crates/jacquard-api/src/org_passingreads/actor/get_profile.rs
@@ -8,25 +8,30 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::org_passingreads::actor::ProfileView;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::ident::AtIdentifier;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::org_passingreads::actor::ProfileView;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetProfile {
     pub actor: AtIdentifier,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetProfileOutput {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub profile: Option>,
@@ -60,7 +65,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetProfileRequest {
 
 pub mod get_profile_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -145,4 +150,4 @@ where
             actor: self._fields.0.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_passingreads/actor/list_profiles.rs b/crates/jacquard-api/src/org_passingreads/actor/list_profiles.rs
index b93091e4..f4640842 100644
--- a/crates/jacquard-api/src/org_passingreads/actor/list_profiles.rs
+++ b/crates/jacquard-api/src/org_passingreads/actor/list_profiles.rs
@@ -8,17 +8,20 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::org_passingreads::actor::ProfileView;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::org_passingreads::actor::ProfileView;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ListProfilesOutput {
     pub profiles: Vec>,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
@@ -51,4 +54,4 @@ impl jacquard_common::xrpc::XrpcEndpoint for ListProfilesRequest {
     const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Query;
     type Request = ListProfiles;
     type Response = ListProfilesResponse;
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_passingreads/actor/profile.rs b/crates/jacquard-api/src/org_passingreads/actor/profile.rs
index b6f20a5b..22a38ef9 100644
--- a/crates/jacquard-api/src/org_passingreads/actor/profile.rs
+++ b/crates/jacquard-api/src/org_passingreads/actor/profile.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -25,10 +25,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::app_bsky::richtext::facet::Facet;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::app_bsky::richtext::facet::Facet;
+use serde::{Deserialize, Serialize};
 /// Profile information describing the entity behind the PassingReads account.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -126,25 +126,20 @@ impl LexiconSchema for Profile {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["image/png", "image/jpeg"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("avatar"),
-                        accepted: vec![
-                            "image/png".to_string(), "image/jpeg".to_string()
-                        ],
+                        accepted: vec!["image/png".to_string(), "image/jpeg".to_string()],
                         actual: mime.to_string(),
                     });
                 }
@@ -222,7 +217,7 @@ impl LexiconSchema for Profile {
 
 pub mod profile_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -311,10 +306,7 @@ impl ProfileBuilder {
 
 impl ProfileBuilder {
     /// Set the `descriptionFacets` field (optional)
-    pub fn description_facets(
-        mut self,
-        value: impl Into>>>,
-    ) -> Self {
+    pub fn description_facets(mut self, value: impl Into>>>) -> Self {
         self._fields.3 = value.into();
         self
     }
@@ -367,10 +359,10 @@ where
 }
 
 fn lexicon_doc_org_passingreads_actor_profile() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("org.passingreads.actor.profile"),
@@ -441,4 +433,4 @@ fn lexicon_doc_org_passingreads_actor_profile() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_passingreads/book.rs b/crates/jacquard-api/src/org_passingreads/book.rs
index 1926e1d6..5f69570b 100644
--- a/crates/jacquard-api/src/org_passingreads/book.rs
+++ b/crates/jacquard-api/src/org_passingreads/book.rs
@@ -17,34 +17,36 @@ pub mod list_book_ids;
 pub mod list_dropped_books;
 pub mod registration;
 
-
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
 use jacquard_common::deps::smol_str::SmolStr;
-use jacquard_common::types::string::{Did, AtUri, Datetime, UriValue};
+use jacquard_common::types::string::{AtUri, Datetime, Did, UriValue};
 use jacquard_common::types::value::Data;
 use jacquard_derive::IntoStatic;
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::community_lexicon::location::hthree::Hthree;
 use crate::org_passingreads::Actor;
 use crate::org_passingreads::AspectRatio;
 use crate::org_passingreads::book;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// A confirmed book event for display purposes. Omits cryptographic fields (bookPub, bookSig) and book reference since it's shown in context of a book.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ConfirmedEvent {
     ///The person who performed this event
     pub actor: Actor,
@@ -152,7 +154,10 @@ where
 /// A view of a book registration for API responses. Omits cryptographic fields (bookPub, bookSig) and the cover blob.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct RegistrationView {
     ///Authors of this book, in order of credit
     pub authors: Vec,
@@ -174,7 +179,10 @@ pub struct RegistrationView {
 /// A book with its current state, combining registration data with computed state information.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct StatefulBook {
     ///Aspect ratio of the cover image
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -344,7 +352,7 @@ impl LexiconSchema for StatefulBook {
 
 pub mod confirmed_event_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -581,10 +589,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> ConfirmedEvent {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> ConfirmedEvent {
         ConfirmedEvent {
             actor: self._fields.0.unwrap(),
             event: self._fields.1.unwrap(),
@@ -597,10 +602,10 @@ where
 }
 
 fn lexicon_doc_org_passingreads_book_defs() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("org.passingreads.book.defs"),
@@ -889,7 +894,7 @@ fn lexicon_doc_org_passingreads_book_defs() -> LexiconDoc<'static> {
 
 pub mod registration_view_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1141,10 +1146,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> RegistrationView {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> RegistrationView {
         RegistrationView {
             authors: self._fields.0.unwrap(),
             book_id: self._fields.1.unwrap(),
@@ -1159,7 +1161,7 @@ where
 
 pub mod stateful_book_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1363,10 +1365,7 @@ impl StatefulBookBuilder {
 
 impl StatefulBookBuilder {
     /// Set the `events` field (optional)
-    pub fn events(
-        mut self,
-        value: impl Into>>>,
-    ) -> Self {
+    pub fn events(mut self, value: impl Into>>>) -> Self {
         self._fields.5 = value.into();
         self
     }
@@ -1459,10 +1458,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> StatefulBook {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> StatefulBook {
         StatefulBook {
             aspect_ratio: self._fields.0,
             cid: self._fields.1.unwrap(),
@@ -1476,4 +1472,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_passingreads/book/checkin.rs b/crates/jacquard-api/src/org_passingreads/book/checkin.rs
index 6cb0ece0..7c032022 100644
--- a/crates/jacquard-api/src/org_passingreads/book/checkin.rs
+++ b/crates/jacquard-api/src/org_passingreads/book/checkin.rs
@@ -7,7 +7,7 @@
 
 use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// Represents a book being moved to a location, without changing hands.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Hash)]
@@ -16,4 +16,4 @@ impl core::fmt::Display for Checkin {
     fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
         write!(f, "main")
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_passingreads/book/drop.rs b/crates/jacquard-api/src/org_passingreads/book/drop.rs
index 128832fa..0ae09353 100644
--- a/crates/jacquard-api/src/org_passingreads/book/drop.rs
+++ b/crates/jacquard-api/src/org_passingreads/book/drop.rs
@@ -7,7 +7,7 @@
 
 use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// Represents a book being dropped at a location.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Hash)]
@@ -16,4 +16,4 @@ impl core::fmt::Display for Drop {
     fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
         write!(f, "main")
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_passingreads/book/event.rs b/crates/jacquard-api/src/org_passingreads/book/event.rs
index d5313970..0b5958b1 100644
--- a/crates/jacquard-api/src/org_passingreads/book/event.rs
+++ b/crates/jacquard-api/src/org_passingreads/book/event.rs
@@ -10,14 +10,14 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::bytes::Bytes;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::collection::{Collection, RecordError};
-use jacquard_common::types::string::{Did, AtUri, Cid, Datetime};
+use jacquard_common::types::string::{AtUri, Cid, Datetime, Did};
 use jacquard_common::types::uri::{RecordUri, UriError};
 use jacquard_common::types::value::Data;
 use jacquard_common::xrpc::XrpcResp;
@@ -25,12 +25,12 @@ use jacquard_derive::{IntoStatic, lexicon, open_union};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::com_atproto::repo::strong_ref::StrongRef;
 use crate::community_lexicon::location::hthree::Hthree;
 use crate::org_passingreads::book::event;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// The status of a book has changed.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -137,9 +137,7 @@ where
     type Output = EventEvent;
     fn into_static(self) -> Self::Output {
         match self {
-            EventEvent::OrgPassingreadsBookCheckin => {
-                EventEvent::OrgPassingreadsBookCheckin
-            }
+            EventEvent::OrgPassingreadsBookCheckin => EventEvent::OrgPassingreadsBookCheckin,
             EventEvent::OrgPassingreadsBookDrop => EventEvent::OrgPassingreadsBookDrop,
             EventEvent::OrgPassingreadsBookFind => EventEvent::OrgPassingreadsBookFind,
             EventEvent::Other(v) => EventEvent::Other(v.into_static()),
@@ -147,7 +145,6 @@ where
     }
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -174,7 +171,10 @@ pub struct EventGetRecordOutput {
 /// A physical location from OpenStreetMap.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct OsmLocation {
     ///The type of place (e.g., cafe, library, park).
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -254,7 +254,7 @@ impl LexiconSchema for OsmLocation {
 
 pub mod event_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -460,10 +460,7 @@ where
     St::Did: event_state::IsUnset,
 {
     /// Set the `did` field (required)
-    pub fn did(
-        mut self,
-        value: impl Into>,
-    ) -> EventBuilder> {
+    pub fn did(mut self, value: impl Into>) -> EventBuilder> {
         self._fields.3 = Option::Some(value.into());
         EventBuilder {
             _state: PhantomData,
@@ -563,10 +560,10 @@ where
 }
 
 fn lexicon_doc_org_passingreads_book_event() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("org.passingreads.book.event"),
@@ -733,4 +730,4 @@ fn lexicon_doc_org_passingreads_book_event() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_passingreads/book/find.rs b/crates/jacquard-api/src/org_passingreads/book/find.rs
index ec5372cd..0724e2b3 100644
--- a/crates/jacquard-api/src/org_passingreads/book/find.rs
+++ b/crates/jacquard-api/src/org_passingreads/book/find.rs
@@ -7,7 +7,7 @@
 
 use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// Represents a book being found at a location.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Hash)]
@@ -16,4 +16,4 @@ impl core::fmt::Display for Find {
     fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
         write!(f, "main")
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_passingreads/book/get_book.rs b/crates/jacquard-api/src/org_passingreads/book/get_book.rs
index be262e63..bf2323e8 100644
--- a/crates/jacquard-api/src/org_passingreads/book/get_book.rs
+++ b/crates/jacquard-api/src/org_passingreads/book/get_book.rs
@@ -8,24 +8,29 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::org_passingreads::book::StatefulBook;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::org_passingreads::book::StatefulBook;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetBook {
     pub id: S,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetBookOutput {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub book: Option>,
@@ -59,7 +64,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetBookRequest {
 
 pub mod get_book_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -120,10 +125,7 @@ where
     St::Id: get_book_state::IsUnset,
 {
     /// Set the `id` field (required)
-    pub fn id(
-        mut self,
-        value: impl Into,
-    ) -> GetBookBuilder> {
+    pub fn id(mut self, value: impl Into) -> GetBookBuilder> {
         self._fields.0 = Option::Some(value.into());
         GetBookBuilder {
             _state: PhantomData,
@@ -144,4 +146,4 @@ where
             id: self._fields.0.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_passingreads/book/get_books.rs b/crates/jacquard-api/src/org_passingreads/book/get_books.rs
index 2a7ef244..c405dd83 100644
--- a/crates/jacquard-api/src/org_passingreads/book/get_books.rs
+++ b/crates/jacquard-api/src/org_passingreads/book/get_books.rs
@@ -8,24 +8,29 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::org_passingreads::book::StatefulBook;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::org_passingreads::book::StatefulBook;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetBooks {
     pub ids: S,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetBooksOutput {
     ///List of books found. Missing books are omitted.
     pub books: Vec>,
@@ -59,7 +64,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetBooksRequest {
 
 pub mod get_books_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -120,10 +125,7 @@ where
     St::Ids: get_books_state::IsUnset,
 {
     /// Set the `ids` field (required)
-    pub fn ids(
-        mut self,
-        value: impl Into,
-    ) -> GetBooksBuilder> {
+    pub fn ids(mut self, value: impl Into) -> GetBooksBuilder> {
         self._fields.0 = Option::Some(value.into());
         GetBooksBuilder {
             _state: PhantomData,
@@ -144,4 +146,4 @@ where
             ids: self._fields.0.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_passingreads/book/get_library.rs b/crates/jacquard-api/src/org_passingreads/book/get_library.rs
index 44d1920a..057d7c53 100644
--- a/crates/jacquard-api/src/org_passingreads/book/get_library.rs
+++ b/crates/jacquard-api/src/org_passingreads/book/get_library.rs
@@ -8,25 +8,30 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::org_passingreads::book::StatefulBook;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::ident::AtIdentifier;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::org_passingreads::book::StatefulBook;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetLibrary {
     pub actor: AtIdentifier,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetLibraryOutput {
     pub books: Vec>,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
@@ -59,7 +64,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetLibraryRequest {
 
 pub mod get_library_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -144,4 +149,4 @@ where
             actor: self._fields.0.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_passingreads/book/get_location_books.rs b/crates/jacquard-api/src/org_passingreads/book/get_location_books.rs
index 2d8e0572..fb8ab5b5 100644
--- a/crates/jacquard-api/src/org_passingreads/book/get_location_books.rs
+++ b/crates/jacquard-api/src/org_passingreads/book/get_location_books.rs
@@ -8,24 +8,29 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::org_passingreads::book::StatefulBook;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::org_passingreads::book::StatefulBook;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetLocationBooks {
     pub h3: S,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetLocationBooksOutput {
     pub books: Vec>,
     ///Human-readable name of the requested location
@@ -61,7 +66,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetLocationBooksRequest {
 
 pub mod get_location_books_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -146,4 +151,4 @@ where
             h3: self._fields.0.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_passingreads/book/list_book_ids.rs b/crates/jacquard-api/src/org_passingreads/book/list_book_ids.rs
index 50b7330d..3fef2d78 100644
--- a/crates/jacquard-api/src/org_passingreads/book/list_book_ids.rs
+++ b/crates/jacquard-api/src/org_passingreads/book/list_book_ids.rs
@@ -8,18 +8,21 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::org_passingreads::BookIdEntry;
+use crate::org_passingreads::LocationEntry;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::org_passingreads::BookIdEntry;
-use crate::org_passingreads::LocationEntry;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ListBookIdsOutput {
     pub books: Vec>,
     pub locations: Vec>,
@@ -53,4 +56,4 @@ impl jacquard_common::xrpc::XrpcEndpoint for ListBookIdsRequest {
     const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Query;
     type Request = ListBookIds;
     type Response = ListBookIdsResponse;
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_passingreads/book/list_dropped_books.rs b/crates/jacquard-api/src/org_passingreads/book/list_dropped_books.rs
index 761b4b92..2b287c2b 100644
--- a/crates/jacquard-api/src/org_passingreads/book/list_dropped_books.rs
+++ b/crates/jacquard-api/src/org_passingreads/book/list_dropped_books.rs
@@ -8,17 +8,20 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::org_passingreads::book::StatefulBook;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::org_passingreads::book::StatefulBook;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ListDroppedBooksOutput {
     pub books: Vec>,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
@@ -51,4 +54,4 @@ impl jacquard_common::xrpc::XrpcEndpoint for ListDroppedBooksRequest {
     const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Query;
     type Request = ListDroppedBooks;
     type Response = ListDroppedBooksResponse;
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_passingreads/book/registration.rs b/crates/jacquard-api/src/org_passingreads/book/registration.rs
index 6cdb0202..72367b8d 100644
--- a/crates/jacquard-api/src/org_passingreads/book/registration.rs
+++ b/crates/jacquard-api/src/org_passingreads/book/registration.rs
@@ -10,15 +10,15 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::bytes::Bytes;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::blob::BlobRef;
 use jacquard_common::types::collection::{Collection, RecordError};
-use jacquard_common::types::string::{Did, AtUri, Cid, Datetime};
+use jacquard_common::types::string::{AtUri, Cid, Datetime, Did};
 use jacquard_common::types::uri::{RecordUri, UriError};
 use jacquard_common::types::value::Data;
 use jacquard_common::xrpc::XrpcResp;
@@ -26,10 +26,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::org_passingreads::AspectRatio;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::org_passingreads::AspectRatio;
+use serde::{Deserialize, Serialize};
 /// A book that has been registered on PassingReads
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -138,25 +138,20 @@ impl LexiconSchema for Registration {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["image/png", "image/jpeg"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("cover"),
-                        accepted: vec![
-                            "image/png".to_string(), "image/jpeg".to_string()
-                        ],
+                        accepted: vec!["image/png".to_string(), "image/jpeg".to_string()],
                         actual: mime.to_string(),
                     });
                 }
@@ -190,7 +185,7 @@ impl LexiconSchema for Registration {
 
 pub mod registration_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -589,10 +584,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> Registration {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> Registration {
         Registration {
             aspect_ratio: self._fields.0,
             authors: self._fields.1.unwrap(),
@@ -610,10 +602,10 @@ where
 }
 
 fn lexicon_doc_org_passingreads_book_registration() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("org.passingreads.book.registration"),
@@ -741,4 +733,4 @@ fn lexicon_doc_org_passingreads_book_registration() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_robocracy.rs b/crates/jacquard-api/src/org_robocracy.rs
index 9c6258d2..60a52146 100644
--- a/crates/jacquard-api/src/org_robocracy.rs
+++ b/crates/jacquard-api/src/org_robocracy.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod demo;
\ No newline at end of file
+pub mod demo;
diff --git a/crates/jacquard-api/src/org_robocracy/demo.rs b/crates/jacquard-api/src/org_robocracy/demo.rs
index 9a9cb2be..0b7fd793 100644
--- a/crates/jacquard-api/src/org_robocracy/demo.rs
+++ b/crates/jacquard-api/src/org_robocracy/demo.rs
@@ -4,4 +4,4 @@
 // Any manual changes will be overwritten on the next regeneration.
 
 pub mod fungus;
-pub mod mushies;
\ No newline at end of file
+pub mod mushies;
diff --git a/crates/jacquard-api/src/org_robocracy/demo/fungus.rs b/crates/jacquard-api/src/org_robocracy/demo/fungus.rs
index 0224eb2e..74e1c876 100644
--- a/crates/jacquard-api/src/org_robocracy/demo/fungus.rs
+++ b/crates/jacquard-api/src/org_robocracy/demo/fungus.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// it's a kind of fungus!
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -153,7 +153,7 @@ impl LexiconSchema for Fungus {
 
 pub mod fungus_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -279,10 +279,10 @@ where
 }
 
 fn lexicon_doc_org_robocracy_demo_fungus() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("org.robocracy.demo.fungus"),
@@ -331,4 +331,4 @@ fn lexicon_doc_org_robocracy_demo_fungus() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_robocracy/demo/mushies.rs b/crates/jacquard-api/src/org_robocracy/demo/mushies.rs
index a7d79de1..778abc50 100644
--- a/crates/jacquard-api/src/org_robocracy/demo/mushies.rs
+++ b/crates/jacquard-api/src/org_robocracy/demo/mushies.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// it's a kind of fungus!
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -153,7 +153,7 @@ impl LexiconSchema for Mushies {
 
 pub mod mushies_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -279,10 +279,10 @@ where
 }
 
 fn lexicon_doc_org_robocracy_demo_mushies() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("org.robocracy.demo.mushies"),
@@ -331,4 +331,4 @@ fn lexicon_doc_org_robocracy_demo_mushies() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_simocracy.rs b/crates/jacquard-api/src/org_simocracy.rs
index 80cd7714..9b3a8dd1 100644
--- a/crates/jacquard-api/src/org_simocracy.rs
+++ b/crates/jacquard-api/src/org_simocracy.rs
@@ -14,7 +14,6 @@ pub mod skill;
 pub mod style;
 pub mod vote;
 
-
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
@@ -32,10 +31,13 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct SpriteSettings {
     ///0=right, 1=back, 2=left, 3=front
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -66,7 +68,7 @@ impl LexiconSchema for SpriteSettings {
 
 pub mod sprite_settings_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -181,10 +183,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> SpriteSettings {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> SpriteSettings {
         SpriteSettings {
             current_anim_direction: self._fields.0,
             part_color_settings: self._fields.1,
@@ -195,10 +194,10 @@ where
 }
 
 fn lexicon_doc_org_simocracy_defs() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("org.simocracy.defs"),
@@ -238,4 +237,4 @@ fn lexicon_doc_org_simocracy_defs() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_simocracy/agents.rs b/crates/jacquard-api/src/org_simocracy/agents.rs
index 9a1897ef..0b875796 100644
--- a/crates/jacquard-api/src/org_simocracy/agents.rs
+++ b/crates/jacquard-api/src/org_simocracy/agents.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,11 +24,11 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::app_bsky::richtext::facet::Facet;
 use crate::com_atproto::repo::strong_ref::StrongRef;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// A sim's constitution and agent configuration. One document per sim.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -165,7 +165,7 @@ impl LexiconSchema for Agents {
 
 pub mod agents_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -287,10 +287,7 @@ impl AgentsBuilder {
 
 impl AgentsBuilder {
     /// Set the `descriptionFacets` field (optional)
-    pub fn description_facets(
-        mut self,
-        value: impl Into>>>,
-    ) -> Self {
+    pub fn description_facets(mut self, value: impl Into>>>) -> Self {
         self._fields.2 = value.into();
         self
     }
@@ -322,18 +319,12 @@ where
 
 impl AgentsBuilder {
     /// Set the `shortDescriptionFacets` field (optional)
-    pub fn short_description_facets(
-        mut self,
-        value: impl Into>>>,
-    ) -> Self {
+    pub fn short_description_facets(mut self, value: impl Into>>>) -> Self {
         self._fields.4 = value.into();
         self
     }
     /// Set the `shortDescriptionFacets` field to an Option value (optional)
-    pub fn maybe_short_description_facets(
-        mut self,
-        value: Option>>,
-    ) -> Self {
+    pub fn maybe_short_description_facets(mut self, value: Option>>) -> Self {
         self._fields.4 = value;
         self
     }
@@ -392,10 +383,10 @@ where
 }
 
 fn lexicon_doc_org_simocracy_agents() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("org.simocracy.agents"),
@@ -505,4 +496,4 @@ fn lexicon_doc_org_simocracy_agents() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_simocracy/event.rs b/crates/jacquard-api/src/org_simocracy/event.rs
index 6bf1c851..092680f3 100644
--- a/crates/jacquard-api/src/org_simocracy/event.rs
+++ b/crates/jacquard-api/src/org_simocracy/event.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// Tracks user interactions — chat messages, senate hearings launched, and individual sim comments during hearings.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -181,7 +181,7 @@ impl LexiconSchema for Event {
 
 pub mod event_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -403,10 +403,7 @@ where
     St::Type: event_state::IsUnset,
 {
     /// Set the `type` field (required)
-    pub fn r#type(
-        mut self,
-        value: impl Into,
-    ) -> EventBuilder> {
+    pub fn r#type(mut self, value: impl Into) -> EventBuilder> {
         self._fields.7 = Option::Some(value.into());
         EventBuilder {
             _state: PhantomData,
@@ -470,10 +467,10 @@ where
 }
 
 fn lexicon_doc_org_simocracy_event() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("org.simocracy.event"),
@@ -606,4 +603,4 @@ fn lexicon_doc_org_simocracy_event() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_simocracy/interview.rs b/crates/jacquard-api/src/org_simocracy/interview.rs
index 3878962a..ec3f7bbb 100644
--- a/crates/jacquard-api/src/org_simocracy/interview.rs
+++ b/crates/jacquard-api/src/org_simocracy/interview.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,11 +24,11 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::com_atproto::repo::strong_ref::StrongRef;
 use crate::org_simocracy::interview;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// An interview transcript for a sim — captures voice answers and value positions to derive the sim's constitution and speaking style.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -65,7 +65,10 @@ pub struct InterviewGetRecordOutput {
 /// A single open-ended interview answer.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct OpenAnswer {
     ///The transcribed voice answer
     pub answer: S,
@@ -78,7 +81,10 @@ pub struct OpenAnswer {
 /// A yes/no response to a value statement.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ValueResponse {
     ///Whether the interviewee agreed (true) or disagreed (false)
     pub answer: bool,
@@ -214,7 +220,7 @@ impl LexiconSchema for ValueResponse {
 
 pub mod interview_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -411,10 +417,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> Interview {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> Interview {
         Interview {
             created_at: self._fields.0.unwrap(),
             open_answers: self._fields.1.unwrap(),
@@ -426,10 +429,10 @@ where
 }
 
 fn lexicon_doc_org_simocracy_interview() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("org.simocracy.interview"),
@@ -513,24 +516,20 @@ fn lexicon_doc_org_simocracy_interview() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("openAnswer"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("A single open-ended interview answer."),
-                    ),
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("question"),
-                            SmolStr::new_static("answer")
-                        ],
-                    ),
+                    description: Some(CowStr::new_static("A single open-ended interview answer.")),
+                    required: Some(vec![
+                        SmolStr::new_static("question"),
+                        SmolStr::new_static("answer"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("answer"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("The transcribed voice answer"),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "The transcribed voice answer",
+                                )),
                                 max_length: Some(30000usize),
                                 max_graphemes: Some(3000usize),
                                 ..Default::default()
@@ -539,9 +538,9 @@ fn lexicon_doc_org_simocracy_interview() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("question"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("The interview question that was asked"),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "The interview question that was asked",
+                                )),
                                 max_length: Some(1000usize),
                                 ..Default::default()
                             }),
@@ -554,15 +553,13 @@ fn lexicon_doc_org_simocracy_interview() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("valueResponse"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("A yes/no response to a value statement."),
-                    ),
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("statement"),
-                            SmolStr::new_static("answer")
-                        ],
-                    ),
+                    description: Some(CowStr::new_static(
+                        "A yes/no response to a value statement.",
+                    )),
+                    required: Some(vec![
+                        SmolStr::new_static("statement"),
+                        SmolStr::new_static("answer"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -575,9 +572,9 @@ fn lexicon_doc_org_simocracy_interview() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("statement"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("The value statement presented"),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "The value statement presented",
+                                )),
                                 max_length: Some(1000usize),
                                 ..Default::default()
                             }),
@@ -595,7 +592,7 @@ fn lexicon_doc_org_simocracy_interview() -> LexiconDoc<'static> {
 
 pub mod value_response_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -715,14 +712,11 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> ValueResponse {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> ValueResponse {
         ValueResponse {
             answer: self._fields.0.unwrap(),
             statement: self._fields.1.unwrap(),
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_simocracy/senate.rs b/crates/jacquard-api/src/org_simocracy/senate.rs
index 47ffc8a4..823b1732 100644
--- a/crates/jacquard-api/src/org_simocracy/senate.rs
+++ b/crates/jacquard-api/src/org_simocracy/senate.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod activity;
\ No newline at end of file
+pub mod activity;
diff --git a/crates/jacquard-api/src/org_simocracy/senate/activity.rs b/crates/jacquard-api/src/org_simocracy/senate/activity.rs
index 7ff71ce9..9f55a942 100644
--- a/crates/jacquard-api/src/org_simocracy/senate/activity.rs
+++ b/crates/jacquard-api/src/org_simocracy/senate/activity.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::com_atproto::repo::strong_ref::StrongRef;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::com_atproto::repo::strong_ref::StrongRef;
+use serde::{Deserialize, Serialize};
 /// Senate simulation activity log entry.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -135,18 +135,10 @@ where
     type Output = ActivityActivityType;
     fn into_static(self) -> Self::Output {
         match self {
-            ActivityActivityType::CommitteeEvaluation => {
-                ActivityActivityType::CommitteeEvaluation
-            }
-            ActivityActivityType::SimulationStarted => {
-                ActivityActivityType::SimulationStarted
-            }
-            ActivityActivityType::SimulationCompleted => {
-                ActivityActivityType::SimulationCompleted
-            }
-            ActivityActivityType::Other(v) => {
-                ActivityActivityType::Other(v.into_static())
-            }
+            ActivityActivityType::CommitteeEvaluation => ActivityActivityType::CommitteeEvaluation,
+            ActivityActivityType::SimulationStarted => ActivityActivityType::SimulationStarted,
+            ActivityActivityType::SimulationCompleted => ActivityActivityType::SimulationCompleted,
+            ActivityActivityType::Other(v) => ActivityActivityType::Other(v.into_static()),
         }
     }
 }
@@ -326,7 +318,7 @@ impl LexiconSchema for Activity {
 
 pub mod activity_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -560,10 +552,10 @@ where
 }
 
 fn lexicon_doc_org_simocracy_senate_activity() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("org.simocracy.senate.activity"),
@@ -669,4 +661,4 @@ fn lexicon_doc_org_simocracy_senate_activity() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_simocracy/sim.rs b/crates/jacquard-api/src/org_simocracy/sim.rs
index d4320537..66145485 100644
--- a/crates/jacquard-api/src/org_simocracy/sim.rs
+++ b/crates/jacquard-api/src/org_simocracy/sim.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -25,10 +25,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::org_simocracy::SpriteSettings;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::org_simocracy::SpriteSettings;
+use serde::{Deserialize, Serialize};
 /// An avatar/sim record. One user can have multiple sims.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -111,25 +111,23 @@ impl LexiconSchema for Sim {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["image/png", "image/jpeg", "image/webp"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("image"),
                         accepted: vec![
-                            "image/png".to_string(), "image/jpeg".to_string(),
-                            "image/webp".to_string()
+                            "image/png".to_string(),
+                            "image/jpeg".to_string(),
+                            "image/webp".to_string(),
                         ],
                         actual: mime.to_string(),
                     });
@@ -153,7 +151,7 @@ impl LexiconSchema for Sim {
 
 pub mod sim_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -336,10 +334,10 @@ where
 }
 
 fn lexicon_doc_org_simocracy_sim() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("org.simocracy.sim"),
@@ -348,43 +346,41 @@ fn lexicon_doc_org_simocracy_sim() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static(
-                            "An avatar/sim record. One user can have multiple sims.",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "An avatar/sim record. One user can have multiple sims.",
+                    )),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("name"),
-                                SmolStr::new_static("settings"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("name"),
+                            SmolStr::new_static("settings"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
                             map.insert(
                                 SmolStr::new_static("createdAt"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("Timestamp when the sim was created"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Timestamp when the sim was created",
+                                    )),
                                     format: Some(LexStringFormat::Datetime),
                                     ..Default::default()
                                 }),
                             );
                             map.insert(
                                 SmolStr::new_static("image"),
-                                LexObjectProperty::Blob(LexBlob { ..Default::default() }),
+                                LexObjectProperty::Blob(LexBlob {
+                                    ..Default::default()
+                                }),
                             );
                             map.insert(
                                 SmolStr::new_static("name"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("Display name of the sim"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Display name of the sim",
+                                    )),
                                     max_length: Some(64usize),
                                     ..Default::default()
                                 }),
@@ -392,9 +388,7 @@ fn lexicon_doc_org_simocracy_sim() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("settings"),
                                 LexObjectProperty::Ref(LexRef {
-                                    r#ref: CowStr::new_static(
-                                        "org.simocracy.defs#spriteSettings",
-                                    ),
+                                    r#ref: CowStr::new_static("org.simocracy.defs#spriteSettings"),
                                     ..Default::default()
                                 }),
                             );
@@ -409,4 +403,4 @@ fn lexicon_doc_org_simocracy_sim() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_simocracy/skill.rs b/crates/jacquard-api/src/org_simocracy/skill.rs
index 01d7801b..c0bf5b7b 100644
--- a/crates/jacquard-api/src/org_simocracy/skill.rs
+++ b/crates/jacquard-api/src/org_simocracy/skill.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,11 +24,11 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::app_bsky::richtext::facet::Facet;
 use crate::com_atproto::repo::strong_ref::StrongRef;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// A skill the sim possesses. A sim can have many skills.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -190,7 +190,7 @@ impl LexiconSchema for Skill {
 
 pub mod skill_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -314,10 +314,7 @@ impl SkillBuilder {
 
 impl SkillBuilder {
     /// Set the `descriptionFacets` field (optional)
-    pub fn description_facets(
-        mut self,
-        value: impl Into>>>,
-    ) -> Self {
+    pub fn description_facets(mut self, value: impl Into>>>) -> Self {
         self._fields.2 = value.into();
         self
     }
@@ -343,10 +340,7 @@ impl SkillBuilder {
 
 impl SkillBuilder {
     /// Set the `instructionsFacets` field (optional)
-    pub fn instructions_facets(
-        mut self,
-        value: impl Into>>>,
-    ) -> Self {
+    pub fn instructions_facets(mut self, value: impl Into>>>) -> Self {
         self._fields.4 = value.into();
         self
     }
@@ -363,10 +357,7 @@ where
     St::Name: skill_state::IsUnset,
 {
     /// Set the `name` field (required)
-    pub fn name(
-        mut self,
-        value: impl Into,
-    ) -> SkillBuilder> {
+    pub fn name(mut self, value: impl Into) -> SkillBuilder> {
         self._fields.5 = Option::Some(value.into());
         SkillBuilder {
             _state: PhantomData,
@@ -446,10 +437,10 @@ where
 }
 
 fn lexicon_doc_org_simocracy_skill() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("org.simocracy.skill"),
@@ -579,4 +570,4 @@ fn lexicon_doc_org_simocracy_skill() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_simocracy/style.rs b/crates/jacquard-api/src/org_simocracy/style.rs
index 8eebb708..2b3a68c6 100644
--- a/crates/jacquard-api/src/org_simocracy/style.rs
+++ b/crates/jacquard-api/src/org_simocracy/style.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,11 +24,11 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::app_bsky::richtext::facet::Facet;
 use crate::com_atproto::repo::strong_ref::StrongRef;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// Speaking and reply style for a sim — describes how the sim communicates.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -134,7 +134,7 @@ impl LexiconSchema for Style {
 
 pub mod style_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -193,7 +193,12 @@ pub mod style_state {
 /// Builder for constructing an instance of this type.
 pub struct StyleBuilder {
     _state: PhantomData St>,
-    _fields: (Option, Option, Option>>, Option>),
+    _fields: (
+        Option,
+        Option,
+        Option>>,
+        Option>,
+    ),
     _type: PhantomData S>,
 }
 
@@ -255,10 +260,7 @@ where
 
 impl StyleBuilder {
     /// Set the `descriptionFacets` field (optional)
-    pub fn description_facets(
-        mut self,
-        value: impl Into>>>,
-    ) -> Self {
+    pub fn description_facets(mut self, value: impl Into>>>) -> Self {
         self._fields.2 = value.into();
         self
     }
@@ -318,10 +320,10 @@ where
 }
 
 fn lexicon_doc_org_simocracy_style() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("org.simocracy.style"),
@@ -330,20 +332,16 @@ fn lexicon_doc_org_simocracy_style() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static(
-                            "Speaking and reply style for a sim — describes how the sim communicates.",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Speaking and reply style for a sim — describes how the sim communicates.",
+                    )),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("sim"),
-                                SmolStr::new_static("description"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("sim"),
+                            SmolStr::new_static("description"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -357,11 +355,9 @@ fn lexicon_doc_org_simocracy_style() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("description"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "A description of the sim's speaking and reply style.",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "A description of the sim's speaking and reply style.",
+                                    )),
                                     max_length: Some(30000usize),
                                     max_graphemes: Some(3000usize),
                                     ..Default::default()
@@ -395,4 +391,4 @@ fn lexicon_doc_org_simocracy_style() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_simocracy/vote.rs b/crates/jacquard-api/src/org_simocracy/vote.rs
index 7bd7a36c..4d136256 100644
--- a/crates/jacquard-api/src/org_simocracy/vote.rs
+++ b/crates/jacquard-api/src/org_simocracy/vote.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::com_atproto::repo::strong_ref::StrongRef;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::com_atproto::repo::strong_ref::StrongRef;
+use serde::{Deserialize, Serialize};
 /// A quadratic vote allocation targeting a sim.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -109,7 +109,7 @@ impl LexiconSchema for Vote {
 
 pub mod vote_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -215,10 +215,7 @@ where
     St::Sim: vote_state::IsUnset,
 {
     /// Set the `sim` field (required)
-    pub fn sim(
-        mut self,
-        value: impl Into>,
-    ) -> VoteBuilder> {
+    pub fn sim(mut self, value: impl Into>) -> VoteBuilder> {
         self._fields.1 = Option::Some(value.into());
         VoteBuilder {
             _state: PhantomData,
@@ -234,10 +231,7 @@ where
     St::Votes: vote_state::IsUnset,
 {
     /// Set the `votes` field (required)
-    pub fn votes(
-        mut self,
-        value: impl Into,
-    ) -> VoteBuilder> {
+    pub fn votes(mut self, value: impl Into) -> VoteBuilder> {
         self._fields.2 = Option::Some(value.into());
         VoteBuilder {
             _state: PhantomData,
@@ -275,10 +269,10 @@ where
 }
 
 fn lexicon_doc_org_simocracy_vote() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("org.simocracy.vote"),
@@ -287,28 +281,25 @@ fn lexicon_doc_org_simocracy_vote() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static(
-                            "A quadratic vote allocation targeting a sim.",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "A quadratic vote allocation targeting a sim.",
+                    )),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("sim"), SmolStr::new_static("votes"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("sim"),
+                            SmolStr::new_static("votes"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
                             map.insert(
                                 SmolStr::new_static("createdAt"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("Timestamp when the vote was cast"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Timestamp when the vote was cast",
+                                    )),
                                     format: Some(LexStringFormat::Datetime),
                                     ..Default::default()
                                 }),
@@ -337,4 +328,4 @@ fn lexicon_doc_org_simocracy_vote() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_stormlightlabs.rs b/crates/jacquard-api/src/org_stormlightlabs.rs
index f5b44834..17332fd6 100644
--- a/crates/jacquard-api/src/org_stormlightlabs.rs
+++ b/crates/jacquard-api/src/org_stormlightlabs.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod malfestio;
\ No newline at end of file
+pub mod malfestio;
diff --git a/crates/jacquard-api/src/org_stormlightlabs/malfestio.rs b/crates/jacquard-api/src/org_stormlightlabs/malfestio.rs
index fe29c188..42edc543 100644
--- a/crates/jacquard-api/src/org_stormlightlabs/malfestio.rs
+++ b/crates/jacquard-api/src/org_stormlightlabs/malfestio.rs
@@ -4,4 +4,4 @@
 // Any manual changes will be overwritten on the next regeneration.
 
 pub mod deck;
-pub mod thread;
\ No newline at end of file
+pub mod thread;
diff --git a/crates/jacquard-api/src/org_stormlightlabs/malfestio/deck.rs b/crates/jacquard-api/src/org_stormlightlabs/malfestio/deck.rs
index 07eb5cd9..420cbfe2 100644
--- a/crates/jacquard-api/src/org_stormlightlabs/malfestio/deck.rs
+++ b/crates/jacquard-api/src/org_stormlightlabs/malfestio/deck.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// A collection of flashcards and sources.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -272,7 +272,7 @@ impl LexiconSchema for Deck {
 
 pub mod deck_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -453,10 +453,7 @@ where
     St::Title: deck_state::IsUnset,
 {
     /// Set the `title` field (required)
-    pub fn title(
-        mut self,
-        value: impl Into,
-    ) -> DeckBuilder> {
+    pub fn title(mut self, value: impl Into) -> DeckBuilder> {
         self._fields.7 = Option::Some(value.into());
         DeckBuilder {
             _state: PhantomData,
@@ -533,10 +530,10 @@ where
 }
 
 fn lexicon_doc_org_stormlightlabs_malfestio_deck() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("org.stormlightlabs.malfestio.deck"),
@@ -678,4 +675,4 @@ fn lexicon_doc_org_stormlightlabs_malfestio_deck() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_stormlightlabs/malfestio/thread.rs b/crates/jacquard-api/src/org_stormlightlabs/malfestio/thread.rs
index d0d1aebb..97c9b888 100644
--- a/crates/jacquard-api/src/org_stormlightlabs/malfestio/thread.rs
+++ b/crates/jacquard-api/src/org_stormlightlabs/malfestio/thread.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod comment;
\ No newline at end of file
+pub mod comment;
diff --git a/crates/jacquard-api/src/org_stormlightlabs/malfestio/thread/comment.rs b/crates/jacquard-api/src/org_stormlightlabs/malfestio/thread/comment.rs
index 6932aa20..18386130 100644
--- a/crates/jacquard-api/src/org_stormlightlabs/malfestio/thread/comment.rs
+++ b/crates/jacquard-api/src/org_stormlightlabs/malfestio/thread/comment.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// A comment on a deck, card, or note.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -121,7 +121,7 @@ impl LexiconSchema for Comment {
 
 pub mod comment_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -180,7 +180,12 @@ pub mod comment_state {
 /// Builder for constructing an instance of this type.
 pub struct CommentBuilder {
     _state: PhantomData St>,
-    _fields: (Option, Option, Option>, Option>),
+    _fields: (
+        Option,
+        Option,
+        Option>,
+        Option>,
+    ),
     _type: PhantomData S>,
 }
 
@@ -208,10 +213,7 @@ where
     St::Body: comment_state::IsUnset,
 {
     /// Set the `body` field (required)
-    pub fn body(
-        mut self,
-        value: impl Into,
-    ) -> CommentBuilder> {
+    pub fn body(mut self, value: impl Into) -> CommentBuilder> {
         self._fields.0 = Option::Some(value.into());
         CommentBuilder {
             _state: PhantomData,
@@ -302,10 +304,10 @@ where
 }
 
 fn lexicon_doc_org_stormlightlabs_malfestio_thread_comment() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("org.stormlightlabs.malfestio.thread.comment"),
@@ -314,18 +316,14 @@ fn lexicon_doc_org_stormlightlabs_malfestio_thread_comment() -> LexiconDoc<'stat
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static("A comment on a deck, card, or note."),
-                    ),
+                    description: Some(CowStr::new_static("A comment on a deck, card, or note.")),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("subjectRef"),
-                                SmolStr::new_static("body"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("subjectRef"),
+                            SmolStr::new_static("body"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -347,9 +345,9 @@ fn lexicon_doc_org_stormlightlabs_malfestio_thread_comment() -> LexiconDoc<'stat
                             map.insert(
                                 SmolStr::new_static("replyTo"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("The parent comment if this is a reply."),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "The parent comment if this is a reply.",
+                                    )),
                                     format: Some(LexStringFormat::AtUri),
                                     ..Default::default()
                                 }),
@@ -357,9 +355,9 @@ fn lexicon_doc_org_stormlightlabs_malfestio_thread_comment() -> LexiconDoc<'stat
                             map.insert(
                                 SmolStr::new_static("subjectRef"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("The root subject being commented on."),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "The root subject being commented on.",
+                                    )),
                                     format: Some(LexStringFormat::AtUri),
                                     ..Default::default()
                                 }),
@@ -375,4 +373,4 @@ fn lexicon_doc_org_stormlightlabs_malfestio_thread_comment() -> LexiconDoc<'stat
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/org_user_intents.rs b/crates/jacquard-api/src/org_user_intents.rs
index 9c6258d2..60a52146 100644
--- a/crates/jacquard-api/src/org_user_intents.rs
+++ b/crates/jacquard-api/src/org_user_intents.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod demo;
\ No newline at end of file
+pub mod demo;
diff --git a/crates/jacquard-api/src/org_user_intents/demo.rs b/crates/jacquard-api/src/org_user_intents/demo.rs
index d955e255..b9853b34 100644
--- a/crates/jacquard-api/src/org_user_intents/demo.rs
+++ b/crates/jacquard-api/src/org_user_intents/demo.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod declaration;
\ No newline at end of file
+pub mod declaration;
diff --git a/crates/jacquard-api/src/org_user_intents/demo/declaration.rs b/crates/jacquard-api/src/org_user_intents/demo/declaration.rs
index 85ed5be6..64727592 100644
--- a/crates/jacquard-api/src/org_user_intents/demo/declaration.rs
+++ b/crates/jacquard-api/src/org_user_intents/demo/declaration.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,13 +24,16 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::org_user_intents::demo::declaration;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::org_user_intents::demo::declaration;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Intent {
     ///indicates user intent for reuse. Note that this field is optional, and thus tri-state (true, false, undefined)
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -146,7 +149,7 @@ impl LexiconSchema for Declaration {
 
 pub mod intent_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -257,10 +260,10 @@ where
 }
 
 fn lexicon_doc_org_user_intents_demo_declaration() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("org.user-intents.demo.declaration"),
@@ -352,7 +355,7 @@ fn lexicon_doc_org_user_intents_demo_declaration() -> LexiconDoc<'static> {
 
 pub mod declaration_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -402,10 +405,7 @@ impl DeclarationBuilder {
 
 impl DeclarationBuilder {
     /// Set the `bulkDataset` field (optional)
-    pub fn bulk_dataset(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn bulk_dataset(mut self, value: impl Into>>) -> Self {
         self._fields.0 = value.into();
         self
     }
@@ -418,18 +418,12 @@ impl DeclarationBuilder {
 
 impl DeclarationBuilder {
     /// Set the `protocolBridging` field (optional)
-    pub fn protocol_bridging(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn protocol_bridging(mut self, value: impl Into>>) -> Self {
         self._fields.1 = value.into();
         self
     }
     /// Set the `protocolBridging` field to an Option value (optional)
-    pub fn maybe_protocol_bridging(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_protocol_bridging(mut self, value: Option>) -> Self {
         self._fields.1 = value;
         self
     }
@@ -445,10 +439,7 @@ impl DeclarationBuilder {
         self
     }
     /// Set the `publicAccessArchive` field to an Option value (optional)
-    pub fn maybe_public_access_archive(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_public_access_archive(mut self, value: Option>) -> Self {
         self._fields.2 = value;
         self
     }
@@ -502,10 +493,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> Declaration {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> Declaration {
         Declaration {
             bulk_dataset: self._fields.0,
             protocol_bridging: self._fields.1,
@@ -515,4 +503,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/pink_vase.rs b/crates/jacquard-api/src/pink_vase.rs
index 43af6002..f593b3b7 100644
--- a/crates/jacquard-api/src/pink_vase.rs
+++ b/crates/jacquard-api/src/pink_vase.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod pod;
\ No newline at end of file
+pub mod pod;
diff --git a/crates/jacquard-api/src/pink_vase/pod.rs b/crates/jacquard-api/src/pink_vase/pod.rs
index 76981b63..2e73e3f6 100644
--- a/crates/jacquard-api/src/pink_vase/pod.rs
+++ b/crates/jacquard-api/src/pink_vase/pod.rs
@@ -8,4 +8,4 @@ pub mod episode;
 pub mod follow;
 pub mod like;
 pub mod playlist;
-pub mod show;
\ No newline at end of file
+pub mod show;
diff --git a/crates/jacquard-api/src/pink_vase/pod/comment.rs b/crates/jacquard-api/src/pink_vase/pod/comment.rs
index cd3e3ccc..413a1c35 100644
--- a/crates/jacquard-api/src/pink_vase/pod/comment.rs
+++ b/crates/jacquard-api/src/pink_vase/pod/comment.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::com_atproto::repo::strong_ref::StrongRef;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::com_atproto::repo::strong_ref::StrongRef;
+use serde::{Deserialize, Serialize};
 /// A comment on a podcast episode, optionally threaded.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -121,7 +121,7 @@ impl LexiconSchema for Comment {
 
 pub mod comment_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -180,7 +180,12 @@ pub mod comment_state {
 /// Builder for constructing an instance of this type.
 pub struct CommentBuilder {
     _state: PhantomData St>,
-    _fields: (Option, Option>, Option>, Option),
+    _fields: (
+        Option,
+        Option>,
+        Option>,
+        Option,
+    ),
     _type: PhantomData S>,
 }
 
@@ -259,10 +264,7 @@ where
     St::Text: comment_state::IsUnset,
 {
     /// Set the `text` field (required)
-    pub fn text(
-        mut self,
-        value: impl Into,
-    ) -> CommentBuilder> {
+    pub fn text(mut self, value: impl Into) -> CommentBuilder> {
         self._fields.3 = Option::Some(value.into());
         CommentBuilder {
             _state: PhantomData,
@@ -302,10 +304,10 @@ where
 }
 
 fn lexicon_doc_pink_vase_pod_comment() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("pink.vase.pod.comment"),
@@ -314,19 +316,16 @@ fn lexicon_doc_pink_vase_pod_comment() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static(
-                            "A comment on a podcast episode, optionally threaded.",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "A comment on a podcast episode, optionally threaded.",
+                    )),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("episode"), SmolStr::new_static("text"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("episode"),
+                            SmolStr::new_static("text"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -369,4 +368,4 @@ fn lexicon_doc_pink_vase_pod_comment() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/pink_vase/pod/episode.rs b/crates/jacquard-api/src/pink_vase/pod/episode.rs
index c239aa85..e2355a9f 100644
--- a/crates/jacquard-api/src/pink_vase/pod/episode.rs
+++ b/crates/jacquard-api/src/pink_vase/pod/episode.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -25,10 +25,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::com_atproto::repo::strong_ref::StrongRef;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::com_atproto::repo::strong_ref::StrongRef;
+use serde::{Deserialize, Serialize};
 /// A podcast episode belonging to a show.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -220,25 +220,23 @@ impl LexiconSchema for Episode {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["image/jpeg", "image/png", "image/webp"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("cover_art"),
                         accepted: vec![
-                            "image/jpeg".to_string(), "image/png".to_string(),
-                            "image/webp".to_string()
+                            "image/jpeg".to_string(),
+                            "image/png".to_string(),
+                            "image/webp".to_string(),
                         ],
                         actual: mime.to_string(),
                     });
@@ -272,7 +270,7 @@ impl LexiconSchema for Episode {
 
 pub mod episode_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -375,7 +373,9 @@ impl EpisodeBuilder {
     pub fn new() -> Self {
         EpisodeBuilder {
             _state: PhantomData,
-            _fields: (None, None, None, None, None, None, None, None, None, None, None),
+            _fields: (
+                None, None, None, None, None, None, None, None, None, None, None,
+            ),
             _type: PhantomData,
         }
     }
@@ -473,10 +473,7 @@ impl EpisodeBuilder {
 
 impl EpisodeBuilder {
     /// Set the `episodeType` field (optional)
-    pub fn episode_type(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn episode_type(mut self, value: impl Into>>) -> Self {
         self._fields.6 = value.into();
         self
     }
@@ -538,10 +535,7 @@ where
     St::Title: episode_state::IsUnset,
 {
     /// Set the `title` field (required)
-    pub fn title(
-        mut self,
-        value: impl Into,
-    ) -> EpisodeBuilder> {
+    pub fn title(mut self, value: impl Into) -> EpisodeBuilder> {
         self._fields.10 = Option::Some(value.into());
         EpisodeBuilder {
             _state: PhantomData,
@@ -596,10 +590,10 @@ where
 }
 
 fn lexicon_doc_pink_vase_pod_episode() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("pink.vase.pod.episode"),
@@ -713,4 +707,4 @@ fn lexicon_doc_pink_vase_pod_episode() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/pink_vase/pod/follow.rs b/crates/jacquard-api/src/pink_vase/pod/follow.rs
index 951c3f35..9c09e22a 100644
--- a/crates/jacquard-api/src/pink_vase/pod/follow.rs
+++ b/crates/jacquard-api/src/pink_vase/pod/follow.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::com_atproto::repo::strong_ref::StrongRef;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::com_atproto::repo::strong_ref::StrongRef;
+use serde::{Deserialize, Serialize};
 /// A follow relationship between a user and a podcast show.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -106,7 +106,7 @@ impl LexiconSchema for Follow {
 
 pub mod follow_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -236,10 +236,10 @@ where
 }
 
 fn lexicon_doc_pink_vase_pod_follow() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("pink.vase.pod.follow"),
@@ -248,19 +248,15 @@ fn lexicon_doc_pink_vase_pod_follow() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static(
-                            "A follow relationship between a user and a podcast show.",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "A follow relationship between a user and a podcast show.",
+                    )),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("show"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("show"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -289,4 +285,4 @@ fn lexicon_doc_pink_vase_pod_follow() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/pink_vase/pod/like.rs b/crates/jacquard-api/src/pink_vase/pod/like.rs
index daa7fd6e..80d96447 100644
--- a/crates/jacquard-api/src/pink_vase/pod/like.rs
+++ b/crates/jacquard-api/src/pink_vase/pod/like.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::com_atproto::repo::strong_ref::StrongRef;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::com_atproto::repo::strong_ref::StrongRef;
+use serde::{Deserialize, Serialize};
 /// A like on a podcast show or episode.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -106,7 +106,7 @@ impl LexiconSchema for Like {
 
 pub mod like_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -236,10 +236,10 @@ where
 }
 
 fn lexicon_doc_pink_vase_pod_like() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("pink.vase.pod.like"),
@@ -248,17 +248,13 @@ fn lexicon_doc_pink_vase_pod_like() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static("A like on a podcast show or episode."),
-                    ),
+                    description: Some(CowStr::new_static("A like on a podcast show or episode.")),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("subject"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("subject"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -287,4 +283,4 @@ fn lexicon_doc_pink_vase_pod_like() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/pink_vase/pod/playlist.rs b/crates/jacquard-api/src/pink_vase/pod/playlist.rs
index 9956371e..b61ff03f 100644
--- a/crates/jacquard-api/src/pink_vase/pod/playlist.rs
+++ b/crates/jacquard-api/src/pink_vase/pod/playlist.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::com_atproto::repo::strong_ref::StrongRef;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::com_atproto::repo::strong_ref::StrongRef;
+use serde::{Deserialize, Serialize};
 /// A user-curated ordered list of podcast episodes.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -224,7 +224,7 @@ impl LexiconSchema for Playlist {
 
 pub mod playlist_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -368,10 +368,7 @@ where
     St::Name: playlist_state::IsUnset,
 {
     /// Set the `name` field (required)
-    pub fn name(
-        mut self,
-        value: impl Into,
-    ) -> PlaylistBuilder> {
+    pub fn name(mut self, value: impl Into) -> PlaylistBuilder> {
         self._fields.3 = Option::Some(value.into());
         PlaylistBuilder {
             _state: PhantomData,
@@ -383,10 +380,7 @@ where
 
 impl PlaylistBuilder {
     /// Set the `visibility` field (optional)
-    pub fn visibility(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn visibility(mut self, value: impl Into>>) -> Self {
         self._fields.4 = value.into();
         self
     }
@@ -429,10 +423,10 @@ where
 }
 
 fn lexicon_doc_pink_vase_pod_playlist() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("pink.vase.pod.playlist"),
@@ -519,4 +513,4 @@ fn lexicon_doc_pink_vase_pod_playlist() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/pink_vase/pod/show.rs b/crates/jacquard-api/src/pink_vase/pod/show.rs
index eb0ccf21..3b4f7dde 100644
--- a/crates/jacquard-api/src/pink_vase/pod/show.rs
+++ b/crates/jacquard-api/src/pink_vase/pod/show.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -27,7 +27,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// A podcast show. A single user can have multiple shows.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -142,25 +142,23 @@ impl LexiconSchema for Show {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["image/jpeg", "image/png", "image/webp"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("cover_art"),
                         accepted: vec![
-                            "image/jpeg".to_string(), "image/png".to_string(),
-                            "image/webp".to_string()
+                            "image/jpeg".to_string(),
+                            "image/png".to_string(),
+                            "image/webp".to_string(),
                         ],
                         actual: mime.to_string(),
                     });
@@ -194,7 +192,7 @@ impl LexiconSchema for Show {
 
 pub mod show_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -360,10 +358,7 @@ where
     St::Name: show_state::IsUnset,
 {
     /// Set the `name` field (required)
-    pub fn name(
-        mut self,
-        value: impl Into,
-    ) -> ShowBuilder> {
+    pub fn name(mut self, value: impl Into) -> ShowBuilder> {
         self._fields.6 = Option::Some(value.into());
         ShowBuilder {
             _state: PhantomData,
@@ -423,10 +418,10 @@ where
 }
 
 fn lexicon_doc_pink_vase_pod_show() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("pink.vase.pod.show"),
@@ -531,4 +526,4 @@ fn lexicon_doc_pink_vase_pod_show() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/place_atwork.rs b/crates/jacquard-api/src/place_atwork.rs
index 39a73497..89d1db0e 100644
--- a/crates/jacquard-api/src/place_atwork.rs
+++ b/crates/jacquard-api/src/place_atwork.rs
@@ -9,4 +9,4 @@ pub mod get_listing;
 pub mod get_listings;
 pub mod listing;
 pub mod profile;
-pub mod search_listings;
\ No newline at end of file
+pub mod search_listings;
diff --git a/crates/jacquard-api/src/place_atwork/endorsement.rs b/crates/jacquard-api/src/place_atwork/endorsement.rs
index 4686ed87..73d08c2d 100644
--- a/crates/jacquard-api/src/place_atwork/endorsement.rs
+++ b/crates/jacquard-api/src/place_atwork/endorsement.rs
@@ -10,13 +10,13 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::collection::{Collection, RecordError};
-use jacquard_common::types::string::{Did, AtUri, Cid, Datetime};
+use jacquard_common::types::string::{AtUri, Cid, Datetime, Did};
 use jacquard_common::types::uri::{RecordUri, UriError};
 use jacquard_common::types::value::Data;
 use jacquard_common::xrpc::XrpcResp;
@@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::com_atproto::repo::strong_ref::StrongRef;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::com_atproto::repo::strong_ref::StrongRef;
+use serde::{Deserialize, Serialize};
 /// A cryptographically-verified professional endorsement between two identities.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -138,7 +138,7 @@ impl LexiconSchema for Endorsement {
 
 pub mod endorsement_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -350,10 +350,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> Endorsement {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> Endorsement {
         Endorsement {
             created_at: self._fields.0.unwrap(),
             giver: self._fields.1.unwrap(),
@@ -366,10 +363,10 @@ where
 }
 
 fn lexicon_doc_place_atwork_endorsement() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("place.atwork.endorsement"),
@@ -471,4 +468,4 @@ fn lexicon_doc_place_atwork_endorsement() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/place_atwork/endorsement_proof.rs b/crates/jacquard-api/src/place_atwork/endorsement_proof.rs
index 54aa26d9..6f06486b 100644
--- a/crates/jacquard-api/src/place_atwork/endorsement_proof.rs
+++ b/crates/jacquard-api/src/place_atwork/endorsement_proof.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// A cryptographic proof record that validates an endorsement by containing the CID of the endorsement content.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -104,7 +104,7 @@ impl LexiconSchema for EndorsementProof {
 
 pub mod endorsement_proof_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -191,10 +191,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> EndorsementProof {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> EndorsementProof {
         EndorsementProof {
             cid: self._fields.0.unwrap(),
             extra_data: Some(extra_data),
@@ -203,10 +200,10 @@ where
 }
 
 fn lexicon_doc_place_atwork_endorsementProof() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("place.atwork.endorsementProof"),
@@ -249,4 +246,4 @@ fn lexicon_doc_place_atwork_endorsementProof() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/place_atwork/get_listing.rs b/crates/jacquard-api/src/place_atwork/get_listing.rs
index 8e1facc8..9378032c 100644
--- a/crates/jacquard-api/src/place_atwork/get_listing.rs
+++ b/crates/jacquard-api/src/place_atwork/get_listing.rs
@@ -8,27 +8,32 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::place_atwork::listing::Listing;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::ident::AtIdentifier;
 use jacquard_common::types::string::{AtUri, Cid};
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::{IntoStatic, open_union};
-use serde::{Serialize, Deserialize};
-use crate::place_atwork::listing::Listing;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetListing {
     pub repo: AtIdentifier,
     pub rkey: S,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetListingOutput {
     ///CID of the listing record
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -41,18 +46,9 @@ pub struct GetListingOutput {
     pub extra_data: Option>>,
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum GetListingError {
     /// The requested listing does not exist
@@ -66,7 +62,10 @@ pub enum GetListingError {
     ListingFetchFailed(Option),
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for GetListingError {
@@ -130,7 +129,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetListingRequest {
 
 pub mod get_listing_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -248,4 +247,4 @@ where
             rkey: self._fields.1.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/place_atwork/get_listings.rs b/crates/jacquard-api/src/place_atwork/get_listings.rs
index 31bbee62..c5b7e28b 100644
--- a/crates/jacquard-api/src/place_atwork/get_listings.rs
+++ b/crates/jacquard-api/src/place_atwork/get_listings.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -21,15 +21,18 @@ use jacquard_derive::IntoStatic;
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::place_atwork::get_listings;
+use crate::place_atwork::listing::Listing;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::place_atwork::listing::Listing;
-use crate::place_atwork::get_listings;
+use serde::{Deserialize, Serialize};
 /// A job listing record with metadata for strong references
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ListingRecord {
     ///CID of the listing record
     pub cid: Cid,
@@ -42,9 +45,11 @@ pub struct ListingRecord {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetListings {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub identity: Option,
@@ -52,9 +57,11 @@ pub struct GetListings {
     pub tag: Option,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetListingsOutput {
     pub listings: Vec>,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
@@ -102,7 +109,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetListingsRequest {
 
 pub mod listing_record_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -236,10 +243,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> ListingRecord {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> ListingRecord {
         ListingRecord {
             cid: self._fields.0.unwrap(),
             uri: self._fields.1.unwrap(),
@@ -250,10 +254,10 @@ where
 }
 
 fn lexicon_doc_place_atwork_getListings() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("place.atwork.getListings"),
@@ -262,23 +266,17 @@ fn lexicon_doc_place_atwork_getListings() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("listingRecord"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static(
-                            "A job listing record with metadata for strong references",
-                        ),
-                    ),
-                    required: Some(
-                        vec![SmolStr::new_static("uri"), SmolStr::new_static("cid")],
-                    ),
+                    description: Some(CowStr::new_static(
+                        "A job listing record with metadata for strong references",
+                    )),
+                    required: Some(vec![SmolStr::new_static("uri"), SmolStr::new_static("cid")]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("cid"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("CID of the listing record"),
-                                ),
+                                description: Some(CowStr::new_static("CID of the listing record")),
                                 format: Some(LexStringFormat::Cid),
                                 ..Default::default()
                             }),
@@ -286,11 +284,9 @@ fn lexicon_doc_place_atwork_getListings() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("uri"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "AT-URI of the listing (at://did/place.atwork.listing/rkey)",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "AT-URI of the listing (at://did/place.atwork.listing/rkey)",
+                                )),
                                 format: Some(LexStringFormat::AtUri),
                                 ..Default::default()
                             }),
@@ -310,36 +306,32 @@ fn lexicon_doc_place_atwork_getListings() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::XrpcQuery(LexXrpcQuery {
-                    parameters: Some(
-                        LexXrpcQueryParameter::Params(LexXrpcParameters {
-                            properties: {
-                                #[allow(unused_mut)]
-                                let mut map = BTreeMap::new();
-                                map.insert(
-                                    SmolStr::new_static("identity"),
-                                    LexXrpcParametersProperty::String(LexString {
-                                        description: Some(
-                                            CowStr::new_static(
-                                                "Filter listings by creator DID (e.g., did:plc:abc123)",
-                                            ),
-                                        ),
-                                        ..Default::default()
-                                    }),
-                                );
-                                map.insert(
-                                    SmolStr::new_static("tag"),
-                                    LexXrpcParametersProperty::String(LexString {
-                                        description: Some(
-                                            CowStr::new_static("Filter listings by hashtag"),
-                                        ),
-                                        ..Default::default()
-                                    }),
-                                );
-                                map
-                            },
-                            ..Default::default()
-                        }),
-                    ),
+                    parameters: Some(LexXrpcQueryParameter::Params(LexXrpcParameters {
+                        properties: {
+                            #[allow(unused_mut)]
+                            let mut map = BTreeMap::new();
+                            map.insert(
+                                SmolStr::new_static("identity"),
+                                LexXrpcParametersProperty::String(LexString {
+                                    description: Some(CowStr::new_static(
+                                        "Filter listings by creator DID (e.g., did:plc:abc123)",
+                                    )),
+                                    ..Default::default()
+                                }),
+                            );
+                            map.insert(
+                                SmolStr::new_static("tag"),
+                                LexXrpcParametersProperty::String(LexString {
+                                    description: Some(CowStr::new_static(
+                                        "Filter listings by hashtag",
+                                    )),
+                                    ..Default::default()
+                                }),
+                            );
+                            map
+                        },
+                        ..Default::default()
+                    })),
                     ..Default::default()
                 }),
             );
@@ -351,7 +343,7 @@ fn lexicon_doc_place_atwork_getListings() -> LexiconDoc<'static> {
 
 pub mod get_listings_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -430,4 +422,4 @@ where
             tag: self._fields.1,
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/place_atwork/listing.rs b/crates/jacquard-api/src/place_atwork/listing.rs
index c862e266..9c2d37b6 100644
--- a/crates/jacquard-api/src/place_atwork/listing.rs
+++ b/crates/jacquard-api/src/place_atwork/listing.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -25,11 +25,11 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::app_bsky::richtext::facet::Facet;
 use crate::community_lexicon::location::hthree::Hthree;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// A job listing
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -135,25 +135,20 @@ impl LexiconSchema for Listing {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["image/png", "image/jpeg"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("banner"),
-                        accepted: vec![
-                            "image/png".to_string(), "image/jpeg".to_string()
-                        ],
+                        accepted: vec!["image/png".to_string(), "image/jpeg".to_string()],
                         actual: mime.to_string(),
                     });
                 }
@@ -200,7 +195,7 @@ impl LexiconSchema for Listing {
 
 pub mod listing_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -421,10 +416,7 @@ where
     St::Title: listing_state::IsUnset,
 {
     /// Set the `title` field (required)
-    pub fn title(
-        mut self,
-        value: impl Into,
-    ) -> ListingBuilder> {
+    pub fn title(mut self, value: impl Into) -> ListingBuilder> {
         self._fields.7 = Option::Some(value.into());
         ListingBuilder {
             _state: PhantomData,
@@ -473,10 +465,10 @@ where
 }
 
 fn lexicon_doc_place_atwork_listing() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("place.atwork.listing"),
@@ -603,4 +595,4 @@ fn lexicon_doc_place_atwork_listing() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/place_atwork/profile.rs b/crates/jacquard-api/src/place_atwork/profile.rs
index cfc7a84d..28b4083c 100644
--- a/crates/jacquard-api/src/place_atwork/profile.rs
+++ b/crates/jacquard-api/src/place_atwork/profile.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -25,10 +25,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::app_bsky::richtext::facet::Facet;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::app_bsky::richtext::facet::Facet;
+use serde::{Deserialize, Serialize};
 /// Indicates the identity is available for hire
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Hash)]
@@ -160,9 +160,7 @@ where
     fn into_static(self) -> Self::Output {
         match self {
             ProfileProfileHost::BskyApp => ProfileProfileHost::BskyApp,
-            ProfileProfileHost::BlackskyCommunity => {
-                ProfileProfileHost::BlackskyCommunity
-            }
+            ProfileProfileHost::BlackskyCommunity => ProfileProfileHost::BlackskyCommunity,
             ProfileProfileHost::Other(v) => ProfileProfileHost::Other(v.into_static()),
         }
     }
@@ -318,25 +316,20 @@ impl LexiconSchema for Profile {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["image/png", "image/jpeg"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("avatar"),
-                        accepted: vec![
-                            "image/png".to_string(), "image/jpeg".to_string()
-                        ],
+                        accepted: vec!["image/png".to_string(), "image/jpeg".to_string()],
                         actual: mime.to_string(),
                     });
                 }
@@ -358,25 +351,20 @@ impl LexiconSchema for Profile {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["image/png", "image/jpeg"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("banner"),
-                        accepted: vec![
-                            "image/png".to_string(), "image/jpeg".to_string()
-                        ],
+                        accepted: vec!["image/png".to_string(), "image/jpeg".to_string()],
                         actual: mime.to_string(),
                     });
                 }
@@ -442,25 +430,20 @@ impl LexiconSchema for Profile {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["application/pdf", "text/plain"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("resume"),
-                        accepted: vec![
-                            "application/pdf".to_string(), "text/plain".to_string()
-                        ],
+                        accepted: vec!["application/pdf".to_string(), "text/plain".to_string()],
                         actual: mime.to_string(),
                     });
                 }
@@ -472,7 +455,7 @@ impl LexiconSchema for Profile {
 
 pub mod profile_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -590,10 +573,7 @@ impl ProfileBuilder {
 
 impl ProfileBuilder {
     /// Set the `profile_host` field (optional)
-    pub fn profile_host(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn profile_host(mut self, value: impl Into>>) -> Self {
         self._fields.5 = value.into();
         self
     }
@@ -665,10 +645,10 @@ where
 }
 
 fn lexicon_doc_place_atwork_profile() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("place.atwork.profile"),
@@ -676,11 +656,15 @@ fn lexicon_doc_place_atwork_profile() -> LexiconDoc<'static> {
             let mut map = BTreeMap::new();
             map.insert(
                 SmolStr::new_static("forhire"),
-                LexUserType::Token(LexToken { ..Default::default() }),
+                LexUserType::Token(LexToken {
+                    ..Default::default()
+                }),
             );
             map.insert(
                 SmolStr::new_static("hiring"),
-                LexUserType::Token(LexToken { ..Default::default() }),
+                LexUserType::Token(LexToken {
+                    ..Default::default()
+                }),
             );
             map.insert(
                 SmolStr::new_static("main"),
@@ -773,4 +757,4 @@ fn lexicon_doc_place_atwork_profile() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/place_atwork/search_listings.rs b/crates/jacquard-api/src/place_atwork/search_listings.rs
index c68213b0..97c43807 100644
--- a/crates/jacquard-api/src/place_atwork/search_listings.rs
+++ b/crates/jacquard-api/src/place_atwork/search_listings.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -21,15 +21,18 @@ use jacquard_derive::{IntoStatic, open_union};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::place_atwork::listing::Listing;
 use crate::place_atwork::search_listings;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// A job listing record with metadata for strong references
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ListingRecord {
     ///CID of the listing record
     pub cid: Cid,
@@ -42,34 +45,29 @@ pub struct ListingRecord {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct SearchListings {
     pub query: S,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct SearchListingsOutput {
     pub listings: Vec>,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum SearchListingsError {
     /// Failed to search listings
@@ -77,7 +75,10 @@ pub enum SearchListingsError {
     SearchFailed(Option),
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for SearchListingsError {
@@ -142,7 +143,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for SearchListingsRequest {
 
 pub mod listing_record_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -276,10 +277,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> ListingRecord {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> ListingRecord {
         ListingRecord {
             cid: self._fields.0.unwrap(),
             uri: self._fields.1.unwrap(),
@@ -290,10 +288,10 @@ where
 }
 
 fn lexicon_doc_place_atwork_searchListings() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("place.atwork.searchListings"),
@@ -302,23 +300,17 @@ fn lexicon_doc_place_atwork_searchListings() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("listingRecord"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static(
-                            "A job listing record with metadata for strong references",
-                        ),
-                    ),
-                    required: Some(
-                        vec![SmolStr::new_static("uri"), SmolStr::new_static("cid")],
-                    ),
+                    description: Some(CowStr::new_static(
+                        "A job listing record with metadata for strong references",
+                    )),
+                    required: Some(vec![SmolStr::new_static("uri"), SmolStr::new_static("cid")]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("cid"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("CID of the listing record"),
-                                ),
+                                description: Some(CowStr::new_static("CID of the listing record")),
                                 format: Some(LexStringFormat::Cid),
                                 ..Default::default()
                             }),
@@ -326,11 +318,9 @@ fn lexicon_doc_place_atwork_searchListings() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("uri"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "AT-URI of the listing (at://did/place.atwork.listing/rkey)",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "AT-URI of the listing (at://did/place.atwork.listing/rkey)",
+                                )),
                                 format: Some(LexStringFormat::AtUri),
                                 ..Default::default()
                             }),
@@ -350,28 +340,24 @@ fn lexicon_doc_place_atwork_searchListings() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::XrpcQuery(LexXrpcQuery {
-                    parameters: Some(
-                        LexXrpcQueryParameter::Params(LexXrpcParameters {
-                            required: Some(vec![SmolStr::new_static("query")]),
-                            properties: {
-                                #[allow(unused_mut)]
-                                let mut map = BTreeMap::new();
-                                map.insert(
-                                    SmolStr::new_static("query"),
-                                    LexXrpcParametersProperty::String(LexString {
-                                        description: Some(
-                                            CowStr::new_static(
-                                                "Search query string for full-text search",
-                                            ),
-                                        ),
-                                        ..Default::default()
-                                    }),
-                                );
-                                map
-                            },
-                            ..Default::default()
-                        }),
-                    ),
+                    parameters: Some(LexXrpcQueryParameter::Params(LexXrpcParameters {
+                        required: Some(vec![SmolStr::new_static("query")]),
+                        properties: {
+                            #[allow(unused_mut)]
+                            let mut map = BTreeMap::new();
+                            map.insert(
+                                SmolStr::new_static("query"),
+                                LexXrpcParametersProperty::String(LexString {
+                                    description: Some(CowStr::new_static(
+                                        "Search query string for full-text search",
+                                    )),
+                                    ..Default::default()
+                                }),
+                            );
+                            map
+                        },
+                        ..Default::default()
+                    })),
                     ..Default::default()
                 }),
             );
@@ -383,7 +369,7 @@ fn lexicon_doc_place_atwork_searchListings() -> LexiconDoc<'static> {
 
 pub mod search_listings_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -468,4 +454,4 @@ where
             query: self._fields.0.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/place_stream.rs b/crates/jacquard-api/src/place_stream.rs
index d6b3e90e..4930eef8 100644
--- a/crates/jacquard-api/src/place_stream.rs
+++ b/crates/jacquard-api/src/place_stream.rs
@@ -22,13 +22,12 @@ pub mod richtext;
 pub mod segment;
 pub mod server;
 
-
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -39,15 +38,18 @@ use jacquard_derive::IntoStatic;
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::app_bsky::actor::ProfileViewBasic;
 use crate::app_bsky::graph::block::Block;
 use crate::place_stream;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct BlockView {
     pub blocker: ProfileViewBasic,
     pub cid: Cid,
@@ -58,18 +60,22 @@ pub struct BlockView {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Rendition {
     pub name: S,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Renditions {
     pub renditions: Vec>,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
@@ -123,7 +129,7 @@ impl LexiconSchema for Renditions {
 
 pub mod block_view_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -360,10 +366,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> BlockView {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> BlockView {
         BlockView {
             blocker: self._fields.0.unwrap(),
             cid: self._fields.1.unwrap(),
@@ -376,10 +379,10 @@ where
 }
 
 fn lexicon_doc_place_stream_defs() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("place.stream.defs"),
@@ -388,23 +391,20 @@ fn lexicon_doc_place_stream_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("blockView"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("uri"), SmolStr::new_static("cid"),
-                            SmolStr::new_static("blocker"),
-                            SmolStr::new_static("record"),
-                            SmolStr::new_static("indexedAt")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("uri"),
+                        SmolStr::new_static("cid"),
+                        SmolStr::new_static("blocker"),
+                        SmolStr::new_static("record"),
+                        SmolStr::new_static("indexedAt"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("blocker"),
                             LexObjectProperty::Ref(LexRef {
-                                r#ref: CowStr::new_static(
-                                    "app.bsky.actor.defs#profileViewBasic",
-                                ),
+                                r#ref: CowStr::new_static("app.bsky.actor.defs#profileViewBasic"),
                                 ..Default::default()
                             }),
                         );
@@ -450,7 +450,9 @@ fn lexicon_doc_place_stream_defs() -> LexiconDoc<'static> {
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("name"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map
                     },
@@ -487,7 +489,7 @@ fn lexicon_doc_place_stream_defs() -> LexiconDoc<'static> {
 
 pub mod renditions_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -574,13 +576,10 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> Renditions {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> Renditions {
         Renditions {
             renditions: self._fields.0.unwrap(),
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/place_stream/badge.rs b/crates/jacquard-api/src/place_stream/badge.rs
index 18962099..ed162697 100644
--- a/crates/jacquard-api/src/place_stream/badge.rs
+++ b/crates/jacquard-api/src/place_stream/badge.rs
@@ -7,13 +7,12 @@
 
 pub mod get_valid_badges;
 
-
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,11 +25,14 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// View of a badge record, with fields resolved for display. If the DID in issuer is not the current streamplace node, the signature field shall be required.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct BadgeView {
     pub badge_type: BadgeViewBadgeType,
     ///DID of the badge issuer.
@@ -44,7 +46,6 @@ pub struct BadgeView {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Debug, Clone, PartialEq, Eq, Hash)]
 pub enum BadgeViewBadgeType {
     Mod,
@@ -169,7 +170,7 @@ impl LexiconSchema for BadgeView {
 
 pub mod badge_view_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -228,7 +229,12 @@ pub mod badge_view_state {
 /// Builder for constructing an instance of this type.
 pub struct BadgeViewBuilder {
     _state: PhantomData St>,
-    _fields: (Option>, Option>, Option>, Option),
+    _fields: (
+        Option>,
+        Option>,
+        Option>,
+        Option,
+    ),
     _type: PhantomData S>,
 }
 
@@ -338,10 +344,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> BadgeView {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> BadgeView {
         BadgeView {
             badge_type: self._fields.0.unwrap(),
             issuer: self._fields.1.unwrap(),
@@ -353,10 +356,10 @@ where
 }
 
 fn lexicon_doc_place_stream_badge_defs() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("place.stream.badge.defs"),
@@ -422,18 +425,24 @@ fn lexicon_doc_place_stream_badge_defs() -> LexiconDoc<'static> {
             );
             map.insert(
                 SmolStr::new_static("mod"),
-                LexUserType::Token(LexToken { ..Default::default() }),
+                LexUserType::Token(LexToken {
+                    ..Default::default()
+                }),
             );
             map.insert(
                 SmolStr::new_static("streamer"),
-                LexUserType::Token(LexToken { ..Default::default() }),
+                LexUserType::Token(LexToken {
+                    ..Default::default()
+                }),
             );
             map.insert(
                 SmolStr::new_static("vip"),
-                LexUserType::Token(LexToken { ..Default::default() }),
+                LexUserType::Token(LexToken {
+                    ..Default::default()
+                }),
             );
             map
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/place_stream/badge/get_valid_badges.rs b/crates/jacquard-api/src/place_stream/badge/get_valid_badges.rs
index 018d2e55..2d948466 100644
--- a/crates/jacquard-api/src/place_stream/badge/get_valid_badges.rs
+++ b/crates/jacquard-api/src/place_stream/badge/get_valid_badges.rs
@@ -8,26 +8,31 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::place_stream::badge::BadgeView;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::Did;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::place_stream::badge::BadgeView;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetValidBadges {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub streamer: Option>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetValidBadgesOutput {
     pub badges: Vec>,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
@@ -60,7 +65,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetValidBadgesRequest {
 
 pub mod get_valid_badges_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -125,4 +130,4 @@ where
             streamer: self._fields.0,
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/place_stream/branding.rs b/crates/jacquard-api/src/place_stream/branding.rs
index 1f201185..8ac50560 100644
--- a/crates/jacquard-api/src/place_stream/branding.rs
+++ b/crates/jacquard-api/src/place_stream/branding.rs
@@ -6,4 +6,4 @@
 pub mod delete_blob;
 pub mod get_blob;
 pub mod get_branding;
-pub mod update_blob;
\ No newline at end of file
+pub mod update_blob;
diff --git a/crates/jacquard-api/src/place_stream/branding/delete_blob.rs b/crates/jacquard-api/src/place_stream/branding/delete_blob.rs
index 0d316a0c..94169fef 100644
--- a/crates/jacquard-api/src/place_stream/branding/delete_blob.rs
+++ b/crates/jacquard-api/src/place_stream/branding/delete_blob.rs
@@ -10,15 +10,18 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::Did;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::{IntoStatic, open_union};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct DeleteBlob {
     ///DID of the broadcaster. If not provided, uses the server's default broadcaster.
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -29,27 +32,20 @@ pub struct DeleteBlob {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct DeleteBlobOutput {
     pub success: bool,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum DeleteBlobError {
     /// The authenticated DID is not authorized to modify branding
@@ -60,7 +56,10 @@ pub enum DeleteBlobError {
     BrandingNotFound(Option),
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for DeleteBlobError {
@@ -102,9 +101,8 @@ impl jacquard_common::xrpc::XrpcResp for DeleteBlobResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for DeleteBlob {
     const NSID: &'static str = "place.stream.branding.deleteBlob";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = DeleteBlobResponse;
 }
 
@@ -112,9 +110,8 @@ impl jacquard_common::xrpc::XrpcRequest for DeleteBlob {
 pub struct DeleteBlobRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for DeleteBlobRequest {
     const PATH: &'static str = "/xrpc/place.stream.branding.deleteBlob";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = DeleteBlob;
     type Response = DeleteBlobResponse;
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/place_stream/branding/get_blob.rs b/crates/jacquard-api/src/place_stream/branding/get_blob.rs
index 5b2456bf..f3384341 100644
--- a/crates/jacquard-api/src/place_stream/branding/get_blob.rs
+++ b/crates/jacquard-api/src/place_stream/branding/get_blob.rs
@@ -10,16 +10,19 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::bytes::Bytes;
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::Did;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::{IntoStatic, open_union};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetBlob {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub broadcaster: Option>,
@@ -34,18 +37,9 @@ pub struct GetBlobOutput {
     pub body: Bytes,
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum GetBlobError {
     /// The requested branding asset does not exist
@@ -53,7 +47,10 @@ pub enum GetBlobError {
     BrandingNotFound(Option),
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for GetBlobError {
@@ -122,7 +119,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetBlobRequest {
 
 pub mod get_blob_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -196,10 +193,7 @@ where
     St::Key: get_blob_state::IsUnset,
 {
     /// Set the `key` field (required)
-    pub fn key(
-        mut self,
-        value: impl Into,
-    ) -> GetBlobBuilder> {
+    pub fn key(mut self, value: impl Into) -> GetBlobBuilder> {
         self._fields.1 = Option::Some(value.into());
         GetBlobBuilder {
             _state: PhantomData,
@@ -221,4 +215,4 @@ where
             key: self._fields.1.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/place_stream/branding/get_branding.rs b/crates/jacquard-api/src/place_stream/branding/get_branding.rs
index 1a53e399..d8e534c4 100644
--- a/crates/jacquard-api/src/place_stream/branding/get_branding.rs
+++ b/crates/jacquard-api/src/place_stream/branding/get_branding.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -21,13 +21,16 @@ use jacquard_derive::IntoStatic;
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::place_stream::branding::get_branding;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::place_stream::branding::get_branding;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct BrandingAsset {
     ///Inline data for text assets
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -49,17 +52,21 @@ pub struct BrandingAsset {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetBranding {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub broadcaster: Option>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetBrandingOutput {
     ///List of available branding assets
     pub assets: Vec>,
@@ -67,23 +74,17 @@ pub struct GetBrandingOutput {
     pub extra_data: Option>>,
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum GetBrandingError {
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for GetBrandingError {
@@ -140,10 +141,10 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetBrandingRequest {
 }
 
 fn lexicon_doc_place_stream_branding_getBranding() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("place.stream.branding.getBranding"),
@@ -152,18 +153,19 @@ fn lexicon_doc_place_stream_branding_getBranding() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("brandingAsset"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![SmolStr::new_static("key"), SmolStr::new_static("mimeType")],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("key"),
+                        SmolStr::new_static("mimeType"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("data"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Inline data for text assets"),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Inline data for text assets",
+                                )),
                                 ..Default::default()
                             }),
                         );
@@ -176,29 +178,23 @@ fn lexicon_doc_place_stream_branding_getBranding() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("key"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Asset key identifier"),
-                                ),
+                                description: Some(CowStr::new_static("Asset key identifier")),
                                 ..Default::default()
                             }),
                         );
                         map.insert(
                             SmolStr::new_static("mimeType"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("MIME type of the asset"),
-                                ),
+                                description: Some(CowStr::new_static("MIME type of the asset")),
                                 ..Default::default()
                             }),
                         );
                         map.insert(
                             SmolStr::new_static("url"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "URL to fetch the asset blob (for images)",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "URL to fetch the asset blob (for images)",
+                                )),
                                 ..Default::default()
                             }),
                         );
@@ -250,7 +246,7 @@ fn lexicon_doc_place_stream_branding_getBranding() -> LexiconDoc<'static> {
 
 pub mod get_branding_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -315,4 +311,4 @@ where
             broadcaster: self._fields.0,
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/place_stream/branding/update_blob.rs b/crates/jacquard-api/src/place_stream/branding/update_blob.rs
index 2a3532bb..f4968aec 100644
--- a/crates/jacquard-api/src/place_stream/branding/update_blob.rs
+++ b/crates/jacquard-api/src/place_stream/branding/update_blob.rs
@@ -10,15 +10,18 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::Did;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::{IntoStatic, open_union};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct UpdateBlob {
     ///DID of the broadcaster. If not provided, uses the server's default broadcaster.
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -39,27 +42,20 @@ pub struct UpdateBlob {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct UpdateBlobOutput {
     pub success: bool,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum UpdateBlobError {
     /// The authenticated DID is not authorized to modify branding
@@ -70,7 +66,10 @@ pub enum UpdateBlobError {
     BlobTooLarge(Option),
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for UpdateBlobError {
@@ -112,9 +111,8 @@ impl jacquard_common::xrpc::XrpcResp for UpdateBlobResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for UpdateBlob {
     const NSID: &'static str = "place.stream.branding.updateBlob";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = UpdateBlobResponse;
 }
 
@@ -122,9 +120,8 @@ impl jacquard_common::xrpc::XrpcRequest for UpdateBlob {
 pub struct UpdateBlobRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for UpdateBlobRequest {
     const PATH: &'static str = "/xrpc/place.stream.branding.updateBlob";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = UpdateBlob;
     type Response = UpdateBlobResponse;
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/place_stream/broadcast.rs b/crates/jacquard-api/src/place_stream/broadcast.rs
index ae4bc0bf..09dbb8ec 100644
--- a/crates/jacquard-api/src/place_stream/broadcast.rs
+++ b/crates/jacquard-api/src/place_stream/broadcast.rs
@@ -9,7 +9,6 @@ pub mod get_broadcaster;
 pub mod origin;
 pub mod syndication;
 
-
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
@@ -26,13 +25,16 @@ use jacquard_derive::IntoStatic;
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::app_bsky::actor::ProfileViewBasic;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::app_bsky::actor::ProfileViewBasic;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct BroadcastOriginView {
     pub author: ProfileViewBasic,
     pub cid: Cid,
@@ -59,7 +61,7 @@ impl LexiconSchema for BroadcastOriginView {
 
 pub mod broadcast_origin_view_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -132,10 +134,7 @@ pub mod broadcast_origin_view_state {
 }
 
 /// Builder for constructing an instance of this type.
-pub struct BroadcastOriginViewBuilder<
-    S: BosStr,
-    St: broadcast_origin_view_state::State,
-> {
+pub struct BroadcastOriginViewBuilder {
     _state: PhantomData St>,
     _fields: (
         Option>,
@@ -259,10 +258,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> BroadcastOriginView {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> BroadcastOriginView {
         BroadcastOriginView {
             author: self._fields.0.unwrap(),
             cid: self._fields.1.unwrap(),
@@ -274,10 +270,10 @@ where
 }
 
 fn lexicon_doc_place_stream_broadcast_defs() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("place.stream.broadcast.defs"),
@@ -286,21 +282,19 @@ fn lexicon_doc_place_stream_broadcast_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("broadcastOriginView"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("uri"), SmolStr::new_static("cid"),
-                            SmolStr::new_static("author"), SmolStr::new_static("record")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("uri"),
+                        SmolStr::new_static("cid"),
+                        SmolStr::new_static("author"),
+                        SmolStr::new_static("record"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("author"),
                             LexObjectProperty::Ref(LexRef {
-                                r#ref: CowStr::new_static(
-                                    "app.bsky.actor.defs#profileViewBasic",
-                                ),
+                                r#ref: CowStr::new_static("app.bsky.actor.defs#profileViewBasic"),
                                 ..Default::default()
                             }),
                         );
@@ -333,4 +327,4 @@ fn lexicon_doc_place_stream_broadcast_defs() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/place_stream/broadcast/get_broadcaster.rs b/crates/jacquard-api/src/place_stream/broadcast/get_broadcaster.rs
index 26f518ac..f6343471 100644
--- a/crates/jacquard-api/src/place_stream/broadcast/get_broadcaster.rs
+++ b/crates/jacquard-api/src/place_stream/broadcast/get_broadcaster.rs
@@ -10,19 +10,22 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::Did;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(rename_all = "camelCase")]
 pub struct GetBroadcaster;
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetBroadcasterOutput {
     ///Array of DIDs authorized as admins
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -58,4 +61,4 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetBroadcasterRequest {
     const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Query;
     type Request = GetBroadcaster;
     type Response = GetBroadcasterResponse;
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/place_stream/broadcast/origin.rs b/crates/jacquard-api/src/place_stream/broadcast/origin.rs
index 150d7d97..30cc0147 100644
--- a/crates/jacquard-api/src/place_stream/broadcast/origin.rs
+++ b/crates/jacquard-api/src/place_stream/broadcast/origin.rs
@@ -10,13 +10,13 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::collection::{Collection, RecordError};
-use jacquard_common::types::string::{Did, AtUri, Cid, Datetime, UriValue};
+use jacquard_common::types::string::{AtUri, Cid, Datetime, Did, UriValue};
 use jacquard_common::types::uri::{RecordUri, UriError};
 use jacquard_common::types::value::Data;
 use jacquard_common::xrpc::XrpcResp;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// Record indicating a livestream is published and available for replication at a given address. By convention, the record key is streamer::server
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -127,7 +127,7 @@ impl LexiconSchema for Origin {
 
 pub mod origin_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -345,10 +345,10 @@ where
 }
 
 fn lexicon_doc_place_stream_broadcast_origin() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("place.stream.broadcast.origin"),
@@ -457,4 +457,4 @@ fn lexicon_doc_place_stream_broadcast_origin() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/place_stream/broadcast/syndication.rs b/crates/jacquard-api/src/place_stream/broadcast/syndication.rs
index db5c43aa..c2dbc06a 100644
--- a/crates/jacquard-api/src/place_stream/broadcast/syndication.rs
+++ b/crates/jacquard-api/src/place_stream/broadcast/syndication.rs
@@ -10,13 +10,13 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::collection::{Collection, RecordError};
-use jacquard_common::types::string::{Did, AtUri, Cid, Datetime};
+use jacquard_common::types::string::{AtUri, Cid, Datetime, Did};
 use jacquard_common::types::uri::{RecordUri, UriError};
 use jacquard_common::types::value::Data;
 use jacquard_common::xrpc::XrpcResp;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// Record created by a Streamplace broadcaster to indicate that they will be replicating a livestream. NYI
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -108,7 +108,7 @@ impl LexiconSchema for Syndication {
 
 pub mod syndication_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -263,10 +263,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> Syndication {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> Syndication {
         Syndication {
             broadcaster: self._fields.0.unwrap(),
             created_at: self._fields.1.unwrap(),
@@ -277,10 +274,10 @@ where
 }
 
 fn lexicon_doc_place_stream_broadcast_syndication() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("place.stream.broadcast.syndication"),
@@ -353,4 +350,4 @@ fn lexicon_doc_place_stream_broadcast_syndication() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/place_stream/chat.rs b/crates/jacquard-api/src/place_stream/chat.rs
index 62a30b6e..d6bf1895 100644
--- a/crates/jacquard-api/src/place_stream/chat.rs
+++ b/crates/jacquard-api/src/place_stream/chat.rs
@@ -9,7 +9,6 @@ pub mod gate;
 pub mod message;
 pub mod profile;
 
-
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
@@ -26,15 +25,18 @@ use jacquard_derive::IntoStatic;
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::app_bsky::actor::ProfileViewBasic;
-use crate::place_stream::chat::profile::Profile;
 use crate::place_stream::chat;
+use crate::place_stream::chat::profile::Profile;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct MessageView {
     pub author: ProfileViewBasic,
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -52,7 +54,6 @@ pub struct MessageView {
     pub extra_data: Option>>,
 }
 
-
 #[jacquard_derive::open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -78,7 +79,7 @@ impl LexiconSchema for MessageView {
 
 pub mod message_view_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -360,10 +361,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> MessageView {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> MessageView {
         MessageView {
             author: self._fields.0.unwrap(),
             chat_profile: self._fields.1,
@@ -379,10 +377,10 @@ where
 }
 
 fn lexicon_doc_place_stream_chat_defs() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("place.stream.chat.defs"),
@@ -391,22 +389,20 @@ fn lexicon_doc_place_stream_chat_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("messageView"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("uri"), SmolStr::new_static("cid"),
-                            SmolStr::new_static("author"), SmolStr::new_static("record"),
-                            SmolStr::new_static("indexedAt")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("uri"),
+                        SmolStr::new_static("cid"),
+                        SmolStr::new_static("author"),
+                        SmolStr::new_static("record"),
+                        SmolStr::new_static("indexedAt"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("author"),
                             LexObjectProperty::Ref(LexRef {
-                                r#ref: CowStr::new_static(
-                                    "app.bsky.actor.defs#profileViewBasic",
-                                ),
+                                r#ref: CowStr::new_static("app.bsky.actor.defs#profileViewBasic"),
                                 ..Default::default()
                             }),
                         );
@@ -466,4 +462,4 @@ fn lexicon_doc_place_stream_chat_defs() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/place_stream/chat/gate.rs b/crates/jacquard-api/src/place_stream/chat/gate.rs
index b64d7106..0f48395c 100644
--- a/crates/jacquard-api/src/place_stream/chat/gate.rs
+++ b/crates/jacquard-api/src/place_stream/chat/gate.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// Record defining a single gated chat message.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -104,7 +104,7 @@ impl LexiconSchema for Gate {
 
 pub mod gate_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -200,10 +200,10 @@ where
 }
 
 fn lexicon_doc_place_stream_chat_gate() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("place.stream.chat.gate"),
@@ -212,11 +212,9 @@ fn lexicon_doc_place_stream_chat_gate() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static(
-                            "Record defining a single gated chat message.",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Record defining a single gated chat message.",
+                    )),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
                         required: Some(vec![SmolStr::new_static("hiddenMessage")]),
@@ -226,9 +224,9 @@ fn lexicon_doc_place_stream_chat_gate() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("hiddenMessage"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("URI of the hidden chat message."),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "URI of the hidden chat message.",
+                                    )),
                                     format: Some(LexStringFormat::AtUri),
                                     ..Default::default()
                                 }),
@@ -244,4 +242,4 @@ fn lexicon_doc_place_stream_chat_gate() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/place_stream/chat/message.rs b/crates/jacquard-api/src/place_stream/chat/message.rs
index 0e838f6b..cea715f2 100644
--- a/crates/jacquard-api/src/place_stream/chat/message.rs
+++ b/crates/jacquard-api/src/place_stream/chat/message.rs
@@ -10,13 +10,13 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::collection::{Collection, RecordError};
-use jacquard_common::types::string::{Did, AtUri, Cid, Datetime};
+use jacquard_common::types::string::{AtUri, Cid, Datetime, Did};
 use jacquard_common::types::uri::{RecordUri, UriError};
 use jacquard_common::types::value::Data;
 use jacquard_common::xrpc::XrpcResp;
@@ -24,12 +24,12 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::com_atproto::repo::strong_ref::StrongRef;
-use crate::place_stream::richtext::facet::Facet;
 use crate::place_stream::chat::message;
+use crate::place_stream::richtext::facet::Facet;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// Record containing a Streamplace chat message.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -66,9 +66,11 @@ pub struct MessageGetRecordOutput {
     pub value: Message,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ReplyRef {
     pub parent: StrongRef,
     pub root: StrongRef,
@@ -165,7 +167,7 @@ impl LexiconSchema for ReplyRef {
 
 pub mod message_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -322,10 +324,7 @@ where
     St::Text: message_state::IsUnset,
 {
     /// Set the `text` field (required)
-    pub fn text(
-        mut self,
-        value: impl Into,
-    ) -> MessageBuilder> {
+    pub fn text(mut self, value: impl Into) -> MessageBuilder> {
         self._fields.4 = Option::Some(value.into());
         MessageBuilder {
             _state: PhantomData,
@@ -367,10 +366,10 @@ where
 }
 
 fn lexicon_doc_place_stream_chat_message() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("place.stream.chat.message"),
@@ -465,9 +464,10 @@ fn lexicon_doc_place_stream_chat_message() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("replyRef"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![SmolStr::new_static("root"), SmolStr::new_static("parent")],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("root"),
+                        SmolStr::new_static("parent"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -498,7 +498,7 @@ fn lexicon_doc_place_stream_chat_message() -> LexiconDoc<'static> {
 
 pub mod reply_ref_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -625,4 +625,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/place_stream/chat/profile.rs b/crates/jacquard-api/src/place_stream/chat/profile.rs
index c9b7f920..c43a73af 100644
--- a/crates/jacquard-api/src/place_stream/chat/profile.rs
+++ b/crates/jacquard-api/src/place_stream/chat/profile.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,14 +24,17 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::place_stream::chat::profile;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::place_stream::chat::profile;
+use serde::{Deserialize, Serialize};
 /// Customizations for the color of a user's name in chat
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Color {
     pub blue: i64,
     pub green: i64,
@@ -192,7 +195,7 @@ impl LexiconSchema for Profile {
 
 pub mod color_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -279,10 +282,7 @@ where
     St::Blue: color_state::IsUnset,
 {
     /// Set the `blue` field (required)
-    pub fn blue(
-        mut self,
-        value: impl Into,
-    ) -> ColorBuilder> {
+    pub fn blue(mut self, value: impl Into) -> ColorBuilder> {
         self._fields.0 = Option::Some(value.into());
         ColorBuilder {
             _state: PhantomData,
@@ -298,10 +298,7 @@ where
     St::Green: color_state::IsUnset,
 {
     /// Set the `green` field (required)
-    pub fn green(
-        mut self,
-        value: impl Into,
-    ) -> ColorBuilder> {
+    pub fn green(mut self, value: impl Into) -> ColorBuilder> {
         self._fields.1 = Option::Some(value.into());
         ColorBuilder {
             _state: PhantomData,
@@ -317,10 +314,7 @@ where
     St::Red: color_state::IsUnset,
 {
     /// Set the `red` field (required)
-    pub fn red(
-        mut self,
-        value: impl Into,
-    ) -> ColorBuilder> {
+    pub fn red(mut self, value: impl Into) -> ColorBuilder> {
         self._fields.2 = Option::Some(value.into());
         ColorBuilder {
             _state: PhantomData,
@@ -358,10 +352,10 @@ where
 }
 
 fn lexicon_doc_place_stream_chat_profile() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("place.stream.chat.profile"),
@@ -370,17 +364,14 @@ fn lexicon_doc_place_stream_chat_profile() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("color"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static(
-                            "Customizations for the color of a user's name in chat",
-                        ),
-                    ),
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("red"), SmolStr::new_static("green"),
-                            SmolStr::new_static("blue")
-                        ],
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Customizations for the color of a user's name in chat",
+                    )),
+                    required: Some(vec![
+                        SmolStr::new_static("red"),
+                        SmolStr::new_static("green"),
+                        SmolStr::new_static("blue"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -416,11 +407,9 @@ fn lexicon_doc_place_stream_chat_profile() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static(
-                            "Record containing customizations for a user's chat profile.",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Record containing customizations for a user's chat profile.",
+                    )),
                     key: Some(CowStr::new_static("literal:self")),
                     record: LexRecordRecord::Object(LexObject {
                         properties: {
@@ -448,7 +437,7 @@ fn lexicon_doc_place_stream_chat_profile() -> LexiconDoc<'static> {
 
 pub mod profile_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -521,4 +510,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/place_stream/graph.rs b/crates/jacquard-api/src/place_stream/graph.rs
index 97b2dd29..f0b4f0b3 100644
--- a/crates/jacquard-api/src/place_stream/graph.rs
+++ b/crates/jacquard-api/src/place_stream/graph.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod get_following_user;
\ No newline at end of file
+pub mod get_following_user;
diff --git a/crates/jacquard-api/src/place_stream/graph/get_following_user.rs b/crates/jacquard-api/src/place_stream/graph/get_following_user.rs
index 07c8b643..d83891b1 100644
--- a/crates/jacquard-api/src/place_stream/graph/get_following_user.rs
+++ b/crates/jacquard-api/src/place_stream/graph/get_following_user.rs
@@ -8,26 +8,31 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::com_atproto::repo::strong_ref::StrongRef;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::Did;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::com_atproto::repo::strong_ref::StrongRef;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetFollowingUser {
     pub subject_did: Did,
     pub user_did: Did,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetFollowingUserOutput {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub follow: Option>,
@@ -61,7 +66,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetFollowingUserRequest {
 
 pub mod get_following_user_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -179,4 +184,4 @@ where
             user_did: self._fields.1.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/place_stream/ingest.rs b/crates/jacquard-api/src/place_stream/ingest.rs
index c94a1880..2e8d187d 100644
--- a/crates/jacquard-api/src/place_stream/ingest.rs
+++ b/crates/jacquard-api/src/place_stream/ingest.rs
@@ -7,13 +7,12 @@
 
 pub mod get_ingest_urls;
 
-
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,11 +25,14 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// An ingest URL for a Streamplace station.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Ingest {
     ///The type of ingest endpoint, currently 'rtmp' and 'whip' are supported.
     pub r#type: S,
@@ -57,7 +59,7 @@ impl LexiconSchema for Ingest {
 
 pub mod ingest_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -130,10 +132,7 @@ where
     St::Type: ingest_state::IsUnset,
 {
     /// Set the `type` field (required)
-    pub fn r#type(
-        mut self,
-        value: impl Into,
-    ) -> IngestBuilder> {
+    pub fn r#type(mut self, value: impl Into) -> IngestBuilder> {
         self._fields.0 = Option::Some(value.into());
         IngestBuilder {
             _state: PhantomData,
@@ -187,10 +186,10 @@ where
 }
 
 fn lexicon_doc_place_stream_ingest_defs() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("place.stream.ingest.defs"),
@@ -238,4 +237,4 @@ fn lexicon_doc_place_stream_ingest_defs() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/place_stream/ingest/get_ingest_urls.rs b/crates/jacquard-api/src/place_stream/ingest/get_ingest_urls.rs
index 6803d3ad..0047a059 100644
--- a/crates/jacquard-api/src/place_stream/ingest/get_ingest_urls.rs
+++ b/crates/jacquard-api/src/place_stream/ingest/get_ingest_urls.rs
@@ -8,44 +8,41 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::place_stream::ingest::Ingest;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::place_stream::ingest::Ingest;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(rename_all = "camelCase")]
 pub struct GetIngestUrls;
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetIngestUrlsOutput {
     pub ingests: Vec>,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum GetIngestUrlsError {
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for GetIngestUrlsError {
@@ -84,4 +81,4 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetIngestUrlsRequest {
     const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Query;
     type Request = GetIngestUrls;
     type Response = GetIngestUrlsResponse;
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/place_stream/key.rs b/crates/jacquard-api/src/place_stream/key.rs
index 6b213698..36cb7c24 100644
--- a/crates/jacquard-api/src/place_stream/key.rs
+++ b/crates/jacquard-api/src/place_stream/key.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// Record linking an atproto identity with a stream signing key
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -131,7 +131,7 @@ impl LexiconSchema for Key {
 
 pub mod key_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -276,10 +276,10 @@ where
 }
 
 fn lexicon_doc_place_stream_key() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("place.stream.key"),
@@ -288,30 +288,24 @@ fn lexicon_doc_place_stream_key() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static(
-                            "Record linking an atproto identity with a stream signing key",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Record linking an atproto identity with a stream signing key",
+                    )),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("signingKey"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("signingKey"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
                             map.insert(
                                 SmolStr::new_static("createdAt"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "Client-declared timestamp when this key was created.",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Client-declared timestamp when this key was created.",
+                                    )),
                                     format: Some(LexStringFormat::Datetime),
                                     ..Default::default()
                                 }),
@@ -319,22 +313,18 @@ fn lexicon_doc_place_stream_key() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("createdBy"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "The name of the client that created this key.",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "The name of the client that created this key.",
+                                    )),
                                     ..Default::default()
                                 }),
                             );
                             map.insert(
                                 SmolStr::new_static("signingKey"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "The did:key signing key for the stream.",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "The did:key signing key for the stream.",
+                                    )),
                                     min_length: Some(57usize),
                                     max_length: Some(57usize),
                                     ..Default::default()
@@ -351,4 +341,4 @@ fn lexicon_doc_place_stream_key() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/place_stream/live.rs b/crates/jacquard-api/src/place_stream/live.rs
index bd3a980d..f150224c 100644
--- a/crates/jacquard-api/src/place_stream/live.rs
+++ b/crates/jacquard-api/src/place_stream/live.rs
@@ -13,7 +13,6 @@ pub mod search_actors_typeahead;
 pub mod start_livestream;
 pub mod stop_livestream;
 
-
 #[cfg(feature = "streaming")]
 pub mod subscribe_segments;
-pub mod teleport;
\ No newline at end of file
+pub mod teleport;
diff --git a/crates/jacquard-api/src/place_stream/live/deny_teleport.rs b/crates/jacquard-api/src/place_stream/live/deny_teleport.rs
index afefffb3..f2465f92 100644
--- a/crates/jacquard-api/src/place_stream/live/deny_teleport.rs
+++ b/crates/jacquard-api/src/place_stream/live/deny_teleport.rs
@@ -10,15 +10,18 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::AtUri;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::{IntoStatic, open_union};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct DenyTeleport {
     ///The URI of the teleport record to deny.
     pub uri: AtUri,
@@ -26,9 +29,11 @@ pub struct DenyTeleport {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct DenyTeleportOutput {
     ///Whether the teleport was successfully denied.
     pub success: bool,
@@ -36,18 +41,9 @@ pub struct DenyTeleportOutput {
     pub extra_data: Option>>,
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum DenyTeleportError {
     /// The specified teleport was not found.
@@ -58,7 +54,10 @@ pub enum DenyTeleportError {
     Unauthorized(Option),
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for DenyTeleportError {
@@ -100,9 +99,8 @@ impl jacquard_common::xrpc::XrpcResp for DenyTeleportResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for DenyTeleport {
     const NSID: &'static str = "place.stream.live.denyTeleport";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = DenyTeleportResponse;
 }
 
@@ -110,16 +108,15 @@ impl jacquard_common::xrpc::XrpcRequest for DenyTeleport {
 pub struct DenyTeleportRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for DenyTeleportRequest {
     const PATH: &'static str = "/xrpc/place.stream.live.denyTeleport";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = DenyTeleport;
     type Response = DenyTeleportResponse;
 }
 
 pub mod deny_teleport_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -206,13 +203,10 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> DenyTeleport {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> DenyTeleport {
         DenyTeleport {
             uri: self._fields.0.unwrap(),
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/place_stream/live/get_live_users.rs b/crates/jacquard-api/src/place_stream/live/get_live_users.rs
index b022b2c0..b781cbdd 100644
--- a/crates/jacquard-api/src/place_stream/live/get_live_users.rs
+++ b/crates/jacquard-api/src/place_stream/live/get_live_users.rs
@@ -8,15 +8,15 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::place_stream::livestream::LivestreamView;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::Datetime;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::place_stream::livestream::LivestreamView;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(rename_all = "camelCase")]
@@ -29,9 +29,11 @@ pub struct GetLiveUsers {
     pub limit: Option,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetLiveUsersOutput {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub streams: Option>>,
@@ -69,7 +71,7 @@ fn _default_limit() -> Option {
 
 pub mod get_live_users_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -146,4 +148,4 @@ where
             limit: self._fields.1,
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/place_stream/live/get_profile_card.rs b/crates/jacquard-api/src/place_stream/live/get_profile_card.rs
index ea8ee5d6..54ea0742 100644
--- a/crates/jacquard-api/src/place_stream/live/get_profile_card.rs
+++ b/crates/jacquard-api/src/place_stream/live/get_profile_card.rs
@@ -10,45 +10,41 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::bytes::Bytes;
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::{IntoStatic, open_union};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetProfileCard {
     pub id: S,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(rename_all = "camelCase")]
 pub struct GetProfileCardOutput {
     pub body: Bytes,
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum GetProfileCardError {
     #[serde(rename = "RepoNotFound")]
     RepoNotFound(Option),
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for GetProfileCardError {
@@ -117,7 +113,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetProfileCardRequest {
 
 pub mod get_profile_card_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -202,4 +198,4 @@ where
             id: self._fields.0.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/place_stream/live/get_recommendations.rs b/crates/jacquard-api/src/place_stream/live/get_recommendations.rs
index 41587a2a..ef97c8b5 100644
--- a/crates/jacquard-api/src/place_stream/live/get_recommendations.rs
+++ b/crates/jacquard-api/src/place_stream/live/get_recommendations.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -21,13 +21,16 @@ use jacquard_derive::IntoStatic;
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::place_stream::live::get_recommendations;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::place_stream::live::get_recommendations;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct LivestreamRecommendation {
     ///The DID of the recommended streamer
     pub did: Did,
@@ -37,16 +40,20 @@ pub struct LivestreamRecommendation {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetRecommendations {
     pub user_did: Did,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetRecommendationsOutput {
     ///Ordered list of recommendations
     pub recommendations: Vec>,
@@ -98,7 +105,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetRecommendationsRequest {
 
 pub mod livestream_recommendation_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -141,10 +148,7 @@ pub mod livestream_recommendation_state {
 }
 
 /// Builder for constructing an instance of this type.
-pub struct LivestreamRecommendationBuilder<
-    S: BosStr,
-    St: livestream_recommendation_state::State,
-> {
+pub struct LivestreamRecommendationBuilder {
     _state: PhantomData St>,
     _fields: (Option>, Option),
     _type: PhantomData S>,
@@ -152,17 +156,12 @@ pub struct LivestreamRecommendationBuilder<
 
 impl LivestreamRecommendation {
     /// Create a new builder for this type.
-    pub fn new() -> LivestreamRecommendationBuilder<
-        S,
-        livestream_recommendation_state::Empty,
-    > {
+    pub fn new() -> LivestreamRecommendationBuilder {
         LivestreamRecommendationBuilder::new()
     }
 }
 
-impl<
-    S: BosStr,
-> LivestreamRecommendationBuilder {
+impl LivestreamRecommendationBuilder {
     /// Create a new builder with all fields unset.
     pub fn new() -> Self {
         LivestreamRecommendationBuilder {
@@ -182,10 +181,7 @@ where
     pub fn did(
         mut self,
         value: impl Into>,
-    ) -> LivestreamRecommendationBuilder<
-        S,
-        livestream_recommendation_state::SetDid,
-    > {
+    ) -> LivestreamRecommendationBuilder> {
         self._fields.0 = Option::Some(value.into());
         LivestreamRecommendationBuilder {
             _state: PhantomData,
@@ -204,10 +200,7 @@ where
     pub fn source(
         mut self,
         value: impl Into,
-    ) -> LivestreamRecommendationBuilder<
-        S,
-        livestream_recommendation_state::SetSource,
-    > {
+    ) -> LivestreamRecommendationBuilder> {
         self._fields.1 = Option::Some(value.into());
         LivestreamRecommendationBuilder {
             _state: PhantomData,
@@ -245,10 +238,10 @@ where
 }
 
 fn lexicon_doc_place_stream_live_getRecommendations() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("place.stream.live.getRecommendations"),
@@ -257,18 +250,19 @@ fn lexicon_doc_place_stream_live_getRecommendations() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("livestreamRecommendation"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![SmolStr::new_static("did"), SmolStr::new_static("source")],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("did"),
+                        SmolStr::new_static("source"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("did"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("The DID of the recommended streamer"),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "The DID of the recommended streamer",
+                                )),
                                 format: Some(LexStringFormat::Did),
                                 ..Default::default()
                             }),
@@ -276,9 +270,9 @@ fn lexicon_doc_place_stream_live_getRecommendations() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("source"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Source of the recommendation"),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Source of the recommendation",
+                                )),
                                 ..Default::default()
                             }),
                         );
@@ -290,29 +284,25 @@ fn lexicon_doc_place_stream_live_getRecommendations() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::XrpcQuery(LexXrpcQuery {
-                    parameters: Some(
-                        LexXrpcQueryParameter::Params(LexXrpcParameters {
-                            required: Some(vec![SmolStr::new_static("userDID")]),
-                            properties: {
-                                #[allow(unused_mut)]
-                                let mut map = BTreeMap::new();
-                                map.insert(
-                                    SmolStr::new_static("userDID"),
-                                    LexXrpcParametersProperty::String(LexString {
-                                        description: Some(
-                                            CowStr::new_static(
-                                                "The DID of the user whose recommendations to fetch",
-                                            ),
-                                        ),
-                                        format: Some(LexStringFormat::Did),
-                                        ..Default::default()
-                                    }),
-                                );
-                                map
-                            },
-                            ..Default::default()
-                        }),
-                    ),
+                    parameters: Some(LexXrpcQueryParameter::Params(LexXrpcParameters {
+                        required: Some(vec![SmolStr::new_static("userDID")]),
+                        properties: {
+                            #[allow(unused_mut)]
+                            let mut map = BTreeMap::new();
+                            map.insert(
+                                SmolStr::new_static("userDID"),
+                                LexXrpcParametersProperty::String(LexString {
+                                    description: Some(CowStr::new_static(
+                                        "The DID of the user whose recommendations to fetch",
+                                    )),
+                                    format: Some(LexStringFormat::Did),
+                                    ..Default::default()
+                                }),
+                            );
+                            map
+                        },
+                        ..Default::default()
+                    })),
                     ..Default::default()
                 }),
             );
@@ -324,7 +314,7 @@ fn lexicon_doc_place_stream_live_getRecommendations() -> LexiconDoc<'static> {
 
 pub mod get_recommendations_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -409,4 +399,4 @@ where
             user_did: self._fields.0.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/place_stream/live/get_segments.rs b/crates/jacquard-api/src/place_stream/live/get_segments.rs
index 344a6cab..256a0662 100644
--- a/crates/jacquard-api/src/place_stream/live/get_segments.rs
+++ b/crates/jacquard-api/src/place_stream/live/get_segments.rs
@@ -8,18 +8,21 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::place_stream::segment::SegmentView;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
-use jacquard_common::types::string::{Did, Datetime};
+use jacquard_common::types::string::{Datetime, Did};
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::place_stream::segment::SegmentView;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetSegments {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub before: Option,
@@ -30,9 +33,11 @@ pub struct GetSegments {
     pub user_did: Did,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetSegmentsOutput {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub segments: Option>>,
@@ -70,7 +75,7 @@ fn _default_limit() -> Option {
 
 pub mod get_segments_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -183,4 +188,4 @@ where
             user_did: self._fields.2.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/place_stream/live/recommendations.rs b/crates/jacquard-api/src/place_stream/live/recommendations.rs
index a70562d4..2885d5fc 100644
--- a/crates/jacquard-api/src/place_stream/live/recommendations.rs
+++ b/crates/jacquard-api/src/place_stream/live/recommendations.rs
@@ -10,13 +10,13 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::collection::{Collection, RecordError};
-use jacquard_common::types::string::{Did, AtUri, Cid, Datetime};
+use jacquard_common::types::string::{AtUri, Cid, Datetime, Did};
 use jacquard_common::types::uri::{RecordUri, UriError};
 use jacquard_common::types::value::Data;
 use jacquard_common::xrpc::XrpcResp;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// A list of recommended streamers, in order of preference
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -128,7 +128,7 @@ impl LexiconSchema for Recommendations {
 
 pub mod recommendations_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -248,10 +248,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> Recommendations {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> Recommendations {
         Recommendations {
             created_at: self._fields.0.unwrap(),
             streamers: self._fields.1.unwrap(),
@@ -261,10 +258,10 @@ where
 }
 
 fn lexicon_doc_place_stream_live_recommendations() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("place.stream.live.recommendations"),
@@ -273,30 +270,24 @@ fn lexicon_doc_place_stream_live_recommendations() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static(
-                            "A list of recommended streamers, in order of preference",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "A list of recommended streamers, in order of preference",
+                    )),
                     key: Some(CowStr::new_static("literal:self")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("streamers"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("streamers"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
                             map.insert(
                                 SmolStr::new_static("createdAt"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "Client-declared timestamp when this list was created.",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Client-declared timestamp when this list was created.",
+                                    )),
                                     format: Some(LexStringFormat::Datetime),
                                     ..Default::default()
                                 }),
@@ -304,11 +295,9 @@ fn lexicon_doc_place_stream_live_recommendations() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("streamers"),
                                 LexObjectProperty::Array(LexArray {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "Ordered list of recommended streamer DIDs",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Ordered list of recommended streamer DIDs",
+                                    )),
                                     items: LexArrayItem::String(LexString {
                                         format: Some(LexStringFormat::Did),
                                         ..Default::default()
@@ -329,4 +318,4 @@ fn lexicon_doc_place_stream_live_recommendations() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/place_stream/live/search_actors_typeahead.rs b/crates/jacquard-api/src/place_stream/live/search_actors_typeahead.rs
index b66b38b4..fb65203b 100644
--- a/crates/jacquard-api/src/place_stream/live/search_actors_typeahead.rs
+++ b/crates/jacquard-api/src/place_stream/live/search_actors_typeahead.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -21,13 +21,16 @@ use jacquard_derive::IntoStatic;
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::place_stream::live::search_actors_typeahead;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::place_stream::live::search_actors_typeahead;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Actor {
     ///The actor's DID
     pub did: Did,
@@ -37,9 +40,11 @@ pub struct Actor {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct SearchActorsTypeahead {
     ///Defaults to `10`. Min: 1. Max: 100.
     #[serde(default = "_default_limit")]
@@ -49,9 +54,11 @@ pub struct SearchActorsTypeahead {
     pub q: Option,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct SearchActorsTypeaheadOutput {
     pub actors: Vec>,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
@@ -99,7 +106,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for SearchActorsTypeaheadRequest {
 
 pub mod actor_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -172,10 +179,7 @@ where
     St::Did: actor_state::IsUnset,
 {
     /// Set the `did` field (required)
-    pub fn did(
-        mut self,
-        value: impl Into>,
-    ) -> ActorBuilder> {
+    pub fn did(mut self, value: impl Into>) -> ActorBuilder> {
         self._fields.0 = Option::Some(value.into());
         ActorBuilder {
             _state: PhantomData,
@@ -229,10 +233,10 @@ where
 }
 
 fn lexicon_doc_place_stream_live_searchActorsTypeahead() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("place.stream.live.searchActorsTypeahead"),
@@ -241,9 +245,10 @@ fn lexicon_doc_place_stream_live_searchActorsTypeahead() -> LexiconDoc<'static>
             map.insert(
                 SmolStr::new_static("actor"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![SmolStr::new_static("did"), SmolStr::new_static("handle")],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("did"),
+                        SmolStr::new_static("handle"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -271,33 +276,29 @@ fn lexicon_doc_place_stream_live_searchActorsTypeahead() -> LexiconDoc<'static>
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::XrpcQuery(LexXrpcQuery {
-                    parameters: Some(
-                        LexXrpcQueryParameter::Params(LexXrpcParameters {
-                            properties: {
-                                #[allow(unused_mut)]
-                                let mut map = BTreeMap::new();
-                                map.insert(
-                                    SmolStr::new_static("limit"),
-                                    LexXrpcParametersProperty::Integer(LexInteger {
-                                        ..Default::default()
-                                    }),
-                                );
-                                map.insert(
-                                    SmolStr::new_static("q"),
-                                    LexXrpcParametersProperty::String(LexString {
-                                        description: Some(
-                                            CowStr::new_static(
-                                                "Search query prefix; not a full query string.",
-                                            ),
-                                        ),
-                                        ..Default::default()
-                                    }),
-                                );
-                                map
-                            },
-                            ..Default::default()
-                        }),
-                    ),
+                    parameters: Some(LexXrpcQueryParameter::Params(LexXrpcParameters {
+                        properties: {
+                            #[allow(unused_mut)]
+                            let mut map = BTreeMap::new();
+                            map.insert(
+                                SmolStr::new_static("limit"),
+                                LexXrpcParametersProperty::Integer(LexInteger {
+                                    ..Default::default()
+                                }),
+                            );
+                            map.insert(
+                                SmolStr::new_static("q"),
+                                LexXrpcParametersProperty::String(LexString {
+                                    description: Some(CowStr::new_static(
+                                        "Search query prefix; not a full query string.",
+                                    )),
+                                    ..Default::default()
+                                }),
+                            );
+                            map
+                        },
+                        ..Default::default()
+                    })),
                     ..Default::default()
                 }),
             );
@@ -313,7 +314,7 @@ fn _default_limit() -> Option {
 
 pub mod search_actors_typeahead_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -331,10 +332,7 @@ pub mod search_actors_typeahead_state {
 }
 
 /// Builder for constructing an instance of this type.
-pub struct SearchActorsTypeaheadBuilder<
-    S: BosStr,
-    St: search_actors_typeahead_state::State,
-> {
+pub struct SearchActorsTypeaheadBuilder {
     _state: PhantomData St>,
     _fields: (Option, Option),
     _type: PhantomData S>,
@@ -342,10 +340,7 @@ pub struct SearchActorsTypeaheadBuilder<
 
 impl SearchActorsTypeahead {
     /// Create a new builder for this type.
-    pub fn new() -> SearchActorsTypeaheadBuilder<
-        S,
-        search_actors_typeahead_state::Empty,
-    > {
+    pub fn new() -> SearchActorsTypeaheadBuilder {
         SearchActorsTypeaheadBuilder::new()
     }
 }
@@ -361,10 +356,7 @@ impl SearchActorsTypeaheadBuilder SearchActorsTypeaheadBuilder {
+impl SearchActorsTypeaheadBuilder {
     /// Set the `limit` field (optional)
     pub fn limit(mut self, value: impl Into>) -> Self {
         self._fields.0 = value.into();
@@ -377,10 +369,7 @@ impl<
     }
 }
 
-impl<
-    S: BosStr,
-    St: search_actors_typeahead_state::State,
-> SearchActorsTypeaheadBuilder {
+impl SearchActorsTypeaheadBuilder {
     /// Set the `q` field (optional)
     pub fn q(mut self, value: impl Into>) -> Self {
         self._fields.1 = value.into();
@@ -404,4 +393,4 @@ where
             q: self._fields.1,
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/place_stream/live/start_livestream.rs b/crates/jacquard-api/src/place_stream/live/start_livestream.rs
index beeea8d9..3af4ec1a 100644
--- a/crates/jacquard-api/src/place_stream/live/start_livestream.rs
+++ b/crates/jacquard-api/src/place_stream/live/start_livestream.rs
@@ -8,18 +8,21 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::place_stream::livestream::Livestream;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
-use jacquard_common::types::string::{Did, Cid, UriValue};
+use jacquard_common::types::string::{Cid, Did, UriValue};
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::place_stream::livestream::Livestream;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct StartLivestream {
     ///Whether to create a Bluesky post announcing the livestream.
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -31,9 +34,11 @@ pub struct StartLivestream {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct StartLivestreamOutput {
     ///The CID of the livestream record.
     pub cid: Cid,
@@ -54,9 +59,8 @@ impl jacquard_common::xrpc::XrpcResp for StartLivestreamResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for StartLivestream {
     const NSID: &'static str = "place.stream.live.startLivestream";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = StartLivestreamResponse;
 }
 
@@ -64,16 +68,15 @@ impl jacquard_common::xrpc::XrpcRequest for StartLivestream {
 pub struct StartLivestreamRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for StartLivestreamRequest {
     const PATH: &'static str = "/xrpc/place.stream.live.startLivestream";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = StartLivestream;
     type Response = StartLivestreamResponse;
 }
 
 pub mod start_livestream_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -207,10 +210,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> StartLivestream {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> StartLivestream {
         StartLivestream {
             create_bluesky_post: self._fields.0,
             livestream: self._fields.1.unwrap(),
@@ -218,4 +218,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/place_stream/live/stop_livestream.rs b/crates/jacquard-api/src/place_stream/live/stop_livestream.rs
index 5087c46c..a14c2d8c 100644
--- a/crates/jacquard-api/src/place_stream/live/stop_livestream.rs
+++ b/crates/jacquard-api/src/place_stream/live/stop_livestream.rs
@@ -10,23 +10,28 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::{Cid, UriValue};
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct StopLivestream {
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct StopLivestreamOutput {
     ///The new CID of the stopped livestream record.
     pub cid: Cid,
@@ -47,9 +52,8 @@ impl jacquard_common::xrpc::XrpcResp for StopLivestreamResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for StopLivestream {
     const NSID: &'static str = "place.stream.live.stopLivestream";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = StopLivestreamResponse;
 }
 
@@ -57,9 +61,8 @@ impl jacquard_common::xrpc::XrpcRequest for StopLivestream {
 pub struct StopLivestreamRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for StopLivestreamRequest {
     const PATH: &'static str = "/xrpc/place.stream.live.stopLivestream";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = StopLivestream;
     type Response = StopLivestreamResponse;
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/place_stream/live/subscribe_segments.rs b/crates/jacquard-api/src/place_stream/live/subscribe_segments.rs
index 89c2a2f8..06d20a1e 100644
--- a/crates/jacquard-api/src/place_stream/live/subscribe_segments.rs
+++ b/crates/jacquard-api/src/place_stream/live/subscribe_segments.rs
@@ -5,21 +5,23 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
+use crate::place_stream::live::subscribe_segments;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::bytes::Bytes;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::{IntoStatic, open_union};
-use serde::{Serialize, Deserialize};
-use crate::place_stream::live::subscribe_segments;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct SubscribeSegments {
     pub streamer: S,
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -36,21 +38,15 @@ impl SubscribeSegmentsMessage {
     where
         S: serde::Deserialize<'de>,
     {
-        let (header, body) = jacquard_common::xrpc::subscription::parse_event_header(
-            bytes,
-        )?;
+        let (header, body) = jacquard_common::xrpc::subscription::parse_event_header(bytes)?;
         match header.t.as_str() {
             "#segment" => {
-                let variant = jacquard_common::deps::codegen::serde_ipld_dagcbor::from_slice(
-                    body,
-                )?;
+                let variant = jacquard_common::deps::codegen::serde_ipld_dagcbor::from_slice(body)?;
                 Ok(Self::Segment(Box::new(variant)))
             }
-            unknown => {
-                Err(
-                    jacquard_common::error::DecodeError::UnknownEventType(unknown.into()),
-                )
-            }
+            unknown => Err(jacquard_common::error::DecodeError::UnknownEventType(
+                unknown.into(),
+            )),
         }
     }
 }
@@ -61,28 +57,31 @@ pub type Segment = Bytes;
 pub struct SubscribeSegmentsStream;
 impl jacquard_common::xrpc::SubscriptionResp for SubscribeSegmentsStream {
     const NSID: &'static str = "place.stream.live.subscribeSegments";
-    const ENCODING: jacquard_common::xrpc::MessageEncoding = jacquard_common::xrpc::MessageEncoding::Json;
+    const ENCODING: jacquard_common::xrpc::MessageEncoding =
+        jacquard_common::xrpc::MessageEncoding::Json;
     type Message = SubscribeSegmentsMessage;
     type Error = jacquard_common::xrpc::GenericError;
 }
 
 impl jacquard_common::xrpc::XrpcSubscription for SubscribeSegments {
     const NSID: &'static str = "place.stream.live.subscribeSegments";
-    const ENCODING: jacquard_common::xrpc::MessageEncoding = jacquard_common::xrpc::MessageEncoding::Json;
+    const ENCODING: jacquard_common::xrpc::MessageEncoding =
+        jacquard_common::xrpc::MessageEncoding::Json;
     type Stream = SubscribeSegmentsStream;
 }
 
 pub struct SubscribeSegmentsEndpoint;
 impl jacquard_common::xrpc::SubscriptionEndpoint for SubscribeSegmentsEndpoint {
     const PATH: &'static str = "/xrpc/place.stream.live.subscribeSegments";
-    const ENCODING: jacquard_common::xrpc::MessageEncoding = jacquard_common::xrpc::MessageEncoding::Json;
+    const ENCODING: jacquard_common::xrpc::MessageEncoding =
+        jacquard_common::xrpc::MessageEncoding::Json;
     type Params = SubscribeSegments;
     type Stream = SubscribeSegmentsStream;
 }
 
 pub mod subscribe_segments_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -167,4 +166,4 @@ where
             streamer: self._fields.0.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/place_stream/live/teleport.rs b/crates/jacquard-api/src/place_stream/live/teleport.rs
index c3c211d6..aa7c3256 100644
--- a/crates/jacquard-api/src/place_stream/live/teleport.rs
+++ b/crates/jacquard-api/src/place_stream/live/teleport.rs
@@ -10,13 +10,13 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::collection::{Collection, RecordError};
-use jacquard_common::types::string::{Did, AtUri, Cid, Datetime};
+use jacquard_common::types::string::{AtUri, Cid, Datetime, Did};
 use jacquard_common::types::uri::{RecordUri, UriError};
 use jacquard_common::types::value::Data;
 use jacquard_common::xrpc::XrpcResp;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// Record defining a 'teleport', that is active during a certain time.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -127,7 +127,7 @@ impl LexiconSchema for Teleport {
 
 pub mod teleport_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -272,10 +272,10 @@ where
 }
 
 fn lexicon_doc_place_stream_live_teleport() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("place.stream.live.teleport"),
@@ -284,19 +284,15 @@ fn lexicon_doc_place_stream_live_teleport() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static(
-                            "Record defining a 'teleport', that is active during a certain time.",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Record defining a 'teleport', that is active during a certain time.",
+                    )),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("streamer"),
-                                SmolStr::new_static("startsAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("streamer"),
+                            SmolStr::new_static("startsAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -311,9 +307,9 @@ fn lexicon_doc_place_stream_live_teleport() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("startsAt"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("The time the teleport becomes active."),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "The time the teleport becomes active.",
+                                    )),
                                     format: Some(LexStringFormat::Datetime),
                                     ..Default::default()
                                 }),
@@ -321,11 +317,9 @@ fn lexicon_doc_place_stream_live_teleport() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("streamer"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "The DID of the streamer to teleport to.",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "The DID of the streamer to teleport to.",
+                                    )),
                                     format: Some(LexStringFormat::Did),
                                     ..Default::default()
                                 }),
@@ -341,4 +335,4 @@ fn lexicon_doc_place_stream_live_teleport() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/place_stream/livestream.rs b/crates/jacquard-api/src/place_stream/livestream.rs
index 3174b71d..b57fadf5 100644
--- a/crates/jacquard-api/src/place_stream/livestream.rs
+++ b/crates/jacquard-api/src/place_stream/livestream.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -25,9 +25,6 @@ use jacquard_derive::{IntoStatic, lexicon, open_union};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::app_bsky::actor::ProfileViewBasic;
 use crate::com_atproto::repo::strong_ref::StrongRef;
 use crate::place_stream::BlockView;
@@ -36,9 +33,15 @@ use crate::place_stream::Renditions;
 use crate::place_stream::chat::MessageView;
 use crate::place_stream::chat::profile::Profile;
 use crate::place_stream::livestream;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct LivestreamView {
     pub author: ProfileViewBasic,
     pub cid: Cid,
@@ -106,9 +109,11 @@ pub struct LivestreamGetRecordOutput {
     pub value: Livestream,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct NotificationSettings {
     ///Whether this livestream should trigger a push notification to followers.
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -117,16 +122,17 @@ pub struct NotificationSettings {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct StreamplaceAnything {
     pub livestream: StreamplaceAnythingLivestream,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -149,9 +155,11 @@ pub enum StreamplaceAnythingLivestream {
     MessageView(Box>),
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct TeleportArrival {
     ///The chat profile of the source streamer
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -168,9 +176,11 @@ pub struct TeleportArrival {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct TeleportCanceled {
     ///Why this teleport was canceled
     pub reason: S,
@@ -180,9 +190,11 @@ pub struct TeleportCanceled {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ViewerCount {
     pub count: i64,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
@@ -264,19 +276,16 @@ impl LexiconSchema for Livestream {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["image/*"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("thumb"),
@@ -391,7 +400,7 @@ impl LexiconSchema for ViewerCount {
 
 pub mod livestream_view_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -610,18 +619,12 @@ where
 
 impl LivestreamViewBuilder {
     /// Set the `viewerCount` field (optional)
-    pub fn viewer_count(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn viewer_count(mut self, value: impl Into>>) -> Self {
         self._fields.5 = value.into();
         self
     }
     /// Set the `viewerCount` field to an Option value (optional)
-    pub fn maybe_viewer_count(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_viewer_count(mut self, value: Option>) -> Self {
         self._fields.5 = value;
         self
     }
@@ -649,10 +652,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> LivestreamView {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> LivestreamView {
         LivestreamView {
             author: self._fields.0.unwrap(),
             cid: self._fields.1.unwrap(),
@@ -666,10 +666,10 @@ where
 }
 
 fn lexicon_doc_place_stream_livestream() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("place.stream.livestream"),
@@ -678,22 +678,20 @@ fn lexicon_doc_place_stream_livestream() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("livestreamView"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("uri"), SmolStr::new_static("cid"),
-                            SmolStr::new_static("author"), SmolStr::new_static("record"),
-                            SmolStr::new_static("indexedAt")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("uri"),
+                        SmolStr::new_static("cid"),
+                        SmolStr::new_static("author"),
+                        SmolStr::new_static("record"),
+                        SmolStr::new_static("indexedAt"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("author"),
                             LexObjectProperty::Ref(LexRef {
-                                r#ref: CowStr::new_static(
-                                    "app.bsky.actor.defs#profileViewBasic",
-                                ),
+                                r#ref: CowStr::new_static("app.bsky.actor.defs#profileViewBasic"),
                                 ..Default::default()
                             }),
                         );
@@ -906,7 +904,7 @@ fn lexicon_doc_place_stream_livestream() -> LexiconDoc<'static> {
                                     CowStr::new_static("place.stream.defs#blockView"),
                                     CowStr::new_static("place.stream.defs#renditions"),
                                     CowStr::new_static("place.stream.defs#rendition"),
-                                    CowStr::new_static("place.stream.chat.defs#messageView")
+                                    CowStr::new_static("place.stream.chat.defs#messageView"),
                                 ],
                                 ..Default::default()
                             }),
@@ -919,14 +917,12 @@ fn lexicon_doc_place_stream_livestream() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("teleportArrival"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("teleportUri"),
-                            SmolStr::new_static("source"),
-                            SmolStr::new_static("viewerCount"),
-                            SmolStr::new_static("startsAt")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("teleportUri"),
+                        SmolStr::new_static("source"),
+                        SmolStr::new_static("viewerCount"),
+                        SmolStr::new_static("startsAt"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -940,18 +936,14 @@ fn lexicon_doc_place_stream_livestream() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("source"),
                             LexObjectProperty::Ref(LexRef {
-                                r#ref: CowStr::new_static(
-                                    "app.bsky.actor.defs#profileViewBasic",
-                                ),
+                                r#ref: CowStr::new_static("app.bsky.actor.defs#profileViewBasic"),
                                 ..Default::default()
                             }),
                         );
                         map.insert(
                             SmolStr::new_static("startsAt"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("When this teleport started"),
-                                ),
+                                description: Some(CowStr::new_static("When this teleport started")),
                                 format: Some(LexStringFormat::Datetime),
                                 ..Default::default()
                             }),
@@ -959,9 +951,9 @@ fn lexicon_doc_place_stream_livestream() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("teleportUri"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("The URI of the teleport record"),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "The URI of the teleport record",
+                                )),
                                 format: Some(LexStringFormat::AtUri),
                                 ..Default::default()
                             }),
@@ -980,32 +972,28 @@ fn lexicon_doc_place_stream_livestream() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("teleportCanceled"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("teleportUri"),
-                            SmolStr::new_static("reason")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("teleportUri"),
+                        SmolStr::new_static("reason"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("reason"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Why this teleport was canceled"),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Why this teleport was canceled",
+                                )),
                                 ..Default::default()
                             }),
                         );
                         map.insert(
                             SmolStr::new_static("teleportUri"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "The URI of the teleport record that was canceled",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "The URI of the teleport record that was canceled",
+                                )),
                                 format: Some(LexStringFormat::AtUri),
                                 ..Default::default()
                             }),
@@ -1041,7 +1029,7 @@ fn lexicon_doc_place_stream_livestream() -> LexiconDoc<'static> {
 
 pub mod livestream_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1114,7 +1102,9 @@ impl LivestreamBuilder {
     pub fn new() -> Self {
         LivestreamBuilder {
             _state: PhantomData,
-            _fields: (None, None, None, None, None, None, None, None, None, None, None),
+            _fields: (
+                None, None, None, None, None, None, None, None, None, None, None,
+            ),
             _type: PhantomData,
         }
     }
@@ -1305,10 +1295,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> Livestream {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> Livestream {
         Livestream {
             agent: self._fields.0,
             canonical_url: self._fields.1,
@@ -1328,7 +1315,7 @@ where
 
 pub mod streamplace_anything_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1415,10 +1402,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> StreamplaceAnything {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> StreamplaceAnything {
         StreamplaceAnything {
             livestream: self._fields.0.unwrap(),
             extra_data: Some(extra_data),
@@ -1428,7 +1412,7 @@ where
 
 pub mod teleport_arrival_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1640,10 +1624,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> TeleportArrival {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> TeleportArrival {
         TeleportArrival {
             chat_profile: self._fields.0,
             source: self._fields.1.unwrap(),
@@ -1657,7 +1638,7 @@ where
 
 pub mod teleport_canceled_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1777,10 +1758,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> TeleportCanceled {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> TeleportCanceled {
         TeleportCanceled {
             reason: self._fields.0.unwrap(),
             teleport_uri: self._fields.1.unwrap(),
@@ -1791,7 +1769,7 @@ where
 
 pub mod viewer_count_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1878,13 +1856,10 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> ViewerCount {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> ViewerCount {
         ViewerCount {
             count: self._fields.0.unwrap(),
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/place_stream/metadata.rs b/crates/jacquard-api/src/place_stream/metadata.rs
index f199b9fb..d37aaa40 100644
--- a/crates/jacquard-api/src/place_stream/metadata.rs
+++ b/crates/jacquard-api/src/place_stream/metadata.rs
@@ -6,4 +6,4 @@
 pub mod configuration;
 pub mod content_rights;
 pub mod content_warnings;
-pub mod distribution_policy;
\ No newline at end of file
+pub mod distribution_policy;
diff --git a/crates/jacquard-api/src/place_stream/metadata/configuration.rs b/crates/jacquard-api/src/place_stream/metadata/configuration.rs
index c7b43cc6..fd84bd5a 100644
--- a/crates/jacquard-api/src/place_stream/metadata/configuration.rs
+++ b/crates/jacquard-api/src/place_stream/metadata/configuration.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,12 +24,12 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::place_stream::metadata::content_rights::ContentRights;
 use crate::place_stream::metadata::content_warnings::ContentWarnings;
 use crate::place_stream::metadata::distribution_policy::DistributionPolicy;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// Default metadata record for livestream including content warnings, rights, and distribution policy
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -111,7 +111,7 @@ impl LexiconSchema for Configuration {
 
 pub mod configuration_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -172,10 +172,7 @@ impl ConfigurationBuilder {
 
 impl ConfigurationBuilder {
     /// Set the `contentWarnings` field (optional)
-    pub fn content_warnings(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn content_warnings(mut self, value: impl Into>>) -> Self {
         self._fields.1 = value.into();
         self
     }
@@ -188,18 +185,12 @@ impl ConfigurationBuilder {
 
 impl ConfigurationBuilder {
     /// Set the `distributionPolicy` field (optional)
-    pub fn distribution_policy(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn distribution_policy(mut self, value: impl Into>>) -> Self {
         self._fields.2 = value.into();
         self
     }
     /// Set the `distributionPolicy` field to an Option value (optional)
-    pub fn maybe_distribution_policy(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_distribution_policy(mut self, value: Option>) -> Self {
         self._fields.2 = value;
         self
     }
@@ -219,10 +210,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> Configuration {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> Configuration {
         Configuration {
             content_rights: self._fields.0,
             content_warnings: self._fields.1,
@@ -233,10 +221,10 @@ where
 }
 
 fn lexicon_doc_place_stream_metadata_configuration() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("place.stream.metadata.configuration"),
@@ -293,4 +281,4 @@ fn lexicon_doc_place_stream_metadata_configuration() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/place_stream/metadata/content_rights.rs b/crates/jacquard-api/src/place_stream/metadata/content_rights.rs
index 8a5efee0..caa20e4f 100644
--- a/crates/jacquard-api/src/place_stream/metadata/content_rights.rs
+++ b/crates/jacquard-api/src/place_stream/metadata/content_rights.rs
@@ -7,7 +7,7 @@
 
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -19,7 +19,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// All rights reserved to the creator — others cannot use, modify, or share without explicit authorization.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Hash)]
@@ -103,7 +103,10 @@ impl core::fmt::Display for Cc010 {
 /// Content rights and attribution information.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ContentRights {
     ///Copyright notice for the work.
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -142,9 +145,7 @@ pub enum ContentRightsLicense {
 impl ContentRightsLicense {
     pub fn as_str(&self) -> &str {
         match self {
-            Self::AllRightsReserved => {
-                "place.stream.metadata.contentRights#all-rights-reserved"
-            }
+            Self::AllRightsReserved => "place.stream.metadata.contentRights#all-rights-reserved",
             Self::Cc010 => "place.stream.metadata.contentRights#cc0_1__0",
             Self::CcBy40 => "place.stream.metadata.contentRights#cc-by_4__0",
             Self::CcBySa40 => "place.stream.metadata.contentRights#cc-by-sa_4__0",
@@ -158,9 +159,7 @@ impl ContentRightsLicense {
     /// Construct from a string-like value, matching known values.
     pub fn from_value(s: S) -> Self {
         match s.as_ref() {
-            "place.stream.metadata.contentRights#all-rights-reserved" => {
-                Self::AllRightsReserved
-            }
+            "place.stream.metadata.contentRights#all-rights-reserved" => Self::AllRightsReserved,
             "place.stream.metadata.contentRights#cc0_1__0" => Self::Cc010,
             "place.stream.metadata.contentRights#cc-by_4__0" => Self::CcBy40,
             "place.stream.metadata.contentRights#cc-by-sa_4__0" => Self::CcBySa40,
@@ -218,9 +217,7 @@ where
     type Output = ContentRightsLicense;
     fn into_static(self) -> Self::Output {
         match self {
-            ContentRightsLicense::AllRightsReserved => {
-                ContentRightsLicense::AllRightsReserved
-            }
+            ContentRightsLicense::AllRightsReserved => ContentRightsLicense::AllRightsReserved,
             ContentRightsLicense::Cc010 => ContentRightsLicense::Cc010,
             ContentRightsLicense::CcBy40 => ContentRightsLicense::CcBy40,
             ContentRightsLicense::CcBySa40 => ContentRightsLicense::CcBySa40,
@@ -228,9 +225,7 @@ where
             ContentRightsLicense::CcByNcSa40 => ContentRightsLicense::CcByNcSa40,
             ContentRightsLicense::CcByNd40 => ContentRightsLicense::CcByNd40,
             ContentRightsLicense::CcByNcNd40 => ContentRightsLicense::CcByNcNd40,
-            ContentRightsLicense::Other(v) => {
-                ContentRightsLicense::Other(v.into_static())
-            }
+            ContentRightsLicense::Other(v) => ContentRightsLicense::Other(v.into_static()),
         }
     }
 }
@@ -251,10 +246,10 @@ impl LexiconSchema for ContentRights {
 }
 
 fn lexicon_doc_place_stream_metadata_contentRights() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("place.stream.metadata.contentRights"),
@@ -262,51 +257,67 @@ fn lexicon_doc_place_stream_metadata_contentRights() -> LexiconDoc<'static> {
             let mut map = BTreeMap::new();
             map.insert(
                 SmolStr::new_static("all-rights-reserved"),
-                LexUserType::Token(LexToken { ..Default::default() }),
+                LexUserType::Token(LexToken {
+                    ..Default::default()
+                }),
             );
             map.insert(
                 SmolStr::new_static("cc-by-nc-nd_4__0"),
-                LexUserType::Token(LexToken { ..Default::default() }),
+                LexUserType::Token(LexToken {
+                    ..Default::default()
+                }),
             );
             map.insert(
                 SmolStr::new_static("cc-by-nc-sa_4__0"),
-                LexUserType::Token(LexToken { ..Default::default() }),
+                LexUserType::Token(LexToken {
+                    ..Default::default()
+                }),
             );
             map.insert(
                 SmolStr::new_static("cc-by-nc_4__0"),
-                LexUserType::Token(LexToken { ..Default::default() }),
+                LexUserType::Token(LexToken {
+                    ..Default::default()
+                }),
             );
             map.insert(
                 SmolStr::new_static("cc-by-nd_4__0"),
-                LexUserType::Token(LexToken { ..Default::default() }),
+                LexUserType::Token(LexToken {
+                    ..Default::default()
+                }),
             );
             map.insert(
                 SmolStr::new_static("cc-by-sa_4__0"),
-                LexUserType::Token(LexToken { ..Default::default() }),
+                LexUserType::Token(LexToken {
+                    ..Default::default()
+                }),
             );
             map.insert(
                 SmolStr::new_static("cc-by_4__0"),
-                LexUserType::Token(LexToken { ..Default::default() }),
+                LexUserType::Token(LexToken {
+                    ..Default::default()
+                }),
             );
             map.insert(
                 SmolStr::new_static("cc0_1__0"),
-                LexUserType::Token(LexToken { ..Default::default() }),
+                LexUserType::Token(LexToken {
+                    ..Default::default()
+                }),
             );
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("Content rights and attribution information."),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Content rights and attribution information.",
+                    )),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("copyrightNotice"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Copyright notice for the work."),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Copyright notice for the work.",
+                                )),
                                 ..Default::default()
                             }),
                         );
@@ -319,27 +330,23 @@ fn lexicon_doc_place_stream_metadata_contentRights() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("creator"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Name of the creator of the work."),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Name of the creator of the work.",
+                                )),
                                 ..Default::default()
                             }),
                         );
                         map.insert(
                             SmolStr::new_static("creditLine"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Credit line for the work."),
-                                ),
+                                description: Some(CowStr::new_static("Credit line for the work.")),
                                 ..Default::default()
                             }),
                         );
                         map.insert(
                             SmolStr::new_static("license"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("License URL or identifier."),
-                                ),
+                                description: Some(CowStr::new_static("License URL or identifier.")),
                                 ..Default::default()
                             }),
                         );
@@ -352,4 +359,4 @@ fn lexicon_doc_place_stream_metadata_contentRights() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/place_stream/metadata/content_warnings.rs b/crates/jacquard-api/src/place_stream/metadata/content_warnings.rs
index 561bb32e..f46aa4e7 100644
--- a/crates/jacquard-api/src/place_stream/metadata/content_warnings.rs
+++ b/crates/jacquard-api/src/place_stream/metadata/content_warnings.rs
@@ -7,7 +7,7 @@
 
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -19,7 +19,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// The content contains information that can be used to identify a particular individual, such as a name, phone number, email address, physical address, or IP address.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Hash)]
@@ -83,7 +83,10 @@ impl core::fmt::Display for Language {
 /// Content warnings for a stream.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ContentWarnings {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub warnings: Option>,
@@ -147,10 +150,10 @@ impl LexiconSchema for ContentWarnings {
 }
 
 fn lexicon_doc_place_stream_metadata_contentWarnings() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("place.stream.metadata.contentWarnings"),
@@ -158,34 +161,44 @@ fn lexicon_doc_place_stream_metadata_contentWarnings() -> LexiconDoc<'static> {
             let mut map = BTreeMap::new();
             map.insert(
                 SmolStr::new_static("PII"),
-                LexUserType::Token(LexToken { ..Default::default() }),
+                LexUserType::Token(LexToken {
+                    ..Default::default()
+                }),
             );
             map.insert(
                 SmolStr::new_static("death"),
-                LexUserType::Token(LexToken { ..Default::default() }),
+                LexUserType::Token(LexToken {
+                    ..Default::default()
+                }),
             );
             map.insert(
                 SmolStr::new_static("drugUse"),
-                LexUserType::Token(LexToken { ..Default::default() }),
+                LexUserType::Token(LexToken {
+                    ..Default::default()
+                }),
             );
             map.insert(
                 SmolStr::new_static("fantasyViolence"),
-                LexUserType::Token(LexToken { ..Default::default() }),
+                LexUserType::Token(LexToken {
+                    ..Default::default()
+                }),
             );
             map.insert(
                 SmolStr::new_static("flashingLights"),
-                LexUserType::Token(LexToken { ..Default::default() }),
+                LexUserType::Token(LexToken {
+                    ..Default::default()
+                }),
             );
             map.insert(
                 SmolStr::new_static("language"),
-                LexUserType::Token(LexToken { ..Default::default() }),
+                LexUserType::Token(LexToken {
+                    ..Default::default()
+                }),
             );
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("Content warnings for a stream."),
-                    ),
+                    description: Some(CowStr::new_static("Content warnings for a stream.")),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -205,22 +218,30 @@ fn lexicon_doc_place_stream_metadata_contentWarnings() -> LexiconDoc<'static> {
             );
             map.insert(
                 SmolStr::new_static("nudity"),
-                LexUserType::Token(LexToken { ..Default::default() }),
+                LexUserType::Token(LexToken {
+                    ..Default::default()
+                }),
             );
             map.insert(
                 SmolStr::new_static("sexuality"),
-                LexUserType::Token(LexToken { ..Default::default() }),
+                LexUserType::Token(LexToken {
+                    ..Default::default()
+                }),
             );
             map.insert(
                 SmolStr::new_static("suffering"),
-                LexUserType::Token(LexToken { ..Default::default() }),
+                LexUserType::Token(LexToken {
+                    ..Default::default()
+                }),
             );
             map.insert(
                 SmolStr::new_static("violence"),
-                LexUserType::Token(LexToken { ..Default::default() }),
+                LexUserType::Token(LexToken {
+                    ..Default::default()
+                }),
             );
             map
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/place_stream/metadata/distribution_policy.rs b/crates/jacquard-api/src/place_stream/metadata/distribution_policy.rs
index 07dda506..18a02f2d 100644
--- a/crates/jacquard-api/src/place_stream/metadata/distribution_policy.rs
+++ b/crates/jacquard-api/src/place_stream/metadata/distribution_policy.rs
@@ -7,7 +7,7 @@
 
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -19,11 +19,14 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// Distribution and rebroadcast policy.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct DistributionPolicy {
     ///List of did:webs of the broadcasters you want to allow to distribute your content. "*" allows anyone. Starting a line with a "!" bans that broadcaster.
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -51,10 +54,10 @@ impl LexiconSchema for DistributionPolicy {
 }
 
 fn lexicon_doc_place_stream_metadata_distributionPolicy() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("place.stream.metadata.distributionPolicy"),
@@ -98,4 +101,4 @@ fn lexicon_doc_place_stream_metadata_distributionPolicy() -> LexiconDoc<'static>
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/place_stream/moderation.rs b/crates/jacquard-api/src/place_stream/moderation.rs
index b3fdd7c4..0a090073 100644
--- a/crates/jacquard-api/src/place_stream/moderation.rs
+++ b/crates/jacquard-api/src/place_stream/moderation.rs
@@ -12,7 +12,6 @@ pub mod delete_gate;
 pub mod permission;
 pub mod update_livestream;
 
-
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
@@ -29,13 +28,16 @@ use jacquard_derive::IntoStatic;
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::app_bsky::actor::ProfileViewBasic;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::app_bsky::actor::ProfileViewBasic;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct PermissionView {
     ///The streamer who granted these permissions
     pub author: ProfileViewBasic,
@@ -66,7 +68,7 @@ impl LexiconSchema for PermissionView {
 
 pub mod permission_view_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -263,10 +265,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> PermissionView {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> PermissionView {
         PermissionView {
             author: self._fields.0.unwrap(),
             cid: self._fields.1.unwrap(),
@@ -278,10 +277,10 @@ where
 }
 
 fn lexicon_doc_place_stream_moderation_defs() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("place.stream.moderation.defs"),
@@ -290,32 +289,28 @@ fn lexicon_doc_place_stream_moderation_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("permissionView"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("uri"), SmolStr::new_static("cid"),
-                            SmolStr::new_static("author"), SmolStr::new_static("record")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("uri"),
+                        SmolStr::new_static("cid"),
+                        SmolStr::new_static("author"),
+                        SmolStr::new_static("record"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("author"),
                             LexObjectProperty::Ref(LexRef {
-                                r#ref: CowStr::new_static(
-                                    "app.bsky.actor.defs#profileViewBasic",
-                                ),
+                                r#ref: CowStr::new_static("app.bsky.actor.defs#profileViewBasic"),
                                 ..Default::default()
                             }),
                         );
                         map.insert(
                             SmolStr::new_static("cid"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "Content identifier of the permission record",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Content identifier of the permission record",
+                                )),
                                 format: Some(LexStringFormat::Cid),
                                 ..Default::default()
                             }),
@@ -329,9 +324,9 @@ fn lexicon_doc_place_stream_moderation_defs() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("uri"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("AT-URI of the permission record"),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "AT-URI of the permission record",
+                                )),
                                 format: Some(LexStringFormat::AtUri),
                                 ..Default::default()
                             }),
@@ -345,4 +340,4 @@ fn lexicon_doc_place_stream_moderation_defs() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/place_stream/moderation/create_block.rs b/crates/jacquard-api/src/place_stream/moderation/create_block.rs
index d3df54f7..b490d373 100644
--- a/crates/jacquard-api/src/place_stream/moderation/create_block.rs
+++ b/crates/jacquard-api/src/place_stream/moderation/create_block.rs
@@ -10,15 +10,18 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
-use jacquard_common::types::string::{Did, AtUri, Cid};
+use jacquard_common::types::string::{AtUri, Cid, Did};
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::{IntoStatic, open_union};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct CreateBlock {
     ///Optional reason for the block.
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -31,9 +34,11 @@ pub struct CreateBlock {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct CreateBlockOutput {
     ///The CID of the created block record.
     pub cid: Cid,
@@ -43,18 +48,9 @@ pub struct CreateBlockOutput {
     pub extra_data: Option>>,
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum CreateBlockError {
     /// The request lacks valid authentication credentials.
@@ -68,7 +64,10 @@ pub enum CreateBlockError {
     SessionNotFound(Option),
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for CreateBlockError {
@@ -117,9 +116,8 @@ impl jacquard_common::xrpc::XrpcResp for CreateBlockResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for CreateBlock {
     const NSID: &'static str = "place.stream.moderation.createBlock";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = CreateBlockResponse;
 }
 
@@ -127,16 +125,15 @@ impl jacquard_common::xrpc::XrpcRequest for CreateBlock {
 pub struct CreateBlockRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for CreateBlockRequest {
     const PATH: &'static str = "/xrpc/place.stream.moderation.createBlock";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = CreateBlock;
     type Response = CreateBlockResponse;
 }
 
 pub mod create_block_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -270,10 +267,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> CreateBlock {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> CreateBlock {
         CreateBlock {
             reason: self._fields.0,
             streamer: self._fields.1.unwrap(),
@@ -281,4 +275,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/place_stream/moderation/create_gate.rs b/crates/jacquard-api/src/place_stream/moderation/create_gate.rs
index 4acfe072..ac35c491 100644
--- a/crates/jacquard-api/src/place_stream/moderation/create_gate.rs
+++ b/crates/jacquard-api/src/place_stream/moderation/create_gate.rs
@@ -10,15 +10,18 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
-use jacquard_common::types::string::{Did, AtUri, Cid};
+use jacquard_common::types::string::{AtUri, Cid, Did};
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::{IntoStatic, open_union};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct CreateGate {
     ///The AT-URI of the chat message to hide.
     pub message_uri: AtUri,
@@ -28,9 +31,11 @@ pub struct CreateGate {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct CreateGateOutput {
     ///The CID of the created gate record.
     pub cid: Cid,
@@ -40,18 +45,9 @@ pub struct CreateGateOutput {
     pub extra_data: Option>>,
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum CreateGateError {
     /// The request lacks valid authentication credentials.
@@ -65,7 +61,10 @@ pub enum CreateGateError {
     SessionNotFound(Option),
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for CreateGateError {
@@ -114,9 +113,8 @@ impl jacquard_common::xrpc::XrpcResp for CreateGateResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for CreateGate {
     const NSID: &'static str = "place.stream.moderation.createGate";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = CreateGateResponse;
 }
 
@@ -124,16 +122,15 @@ impl jacquard_common::xrpc::XrpcRequest for CreateGate {
 pub struct CreateGateRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for CreateGateRequest {
     const PATH: &'static str = "/xrpc/place.stream.moderation.createGate";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = CreateGate;
     type Response = CreateGateResponse;
 }
 
 pub mod create_gate_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -253,14 +250,11 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> CreateGate {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> CreateGate {
         CreateGate {
             message_uri: self._fields.0.unwrap(),
             streamer: self._fields.1.unwrap(),
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/place_stream/moderation/delete_block.rs b/crates/jacquard-api/src/place_stream/moderation/delete_block.rs
index 2d9a1768..4d65bb93 100644
--- a/crates/jacquard-api/src/place_stream/moderation/delete_block.rs
+++ b/crates/jacquard-api/src/place_stream/moderation/delete_block.rs
@@ -10,15 +10,18 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
-use jacquard_common::types::string::{Did, AtUri};
+use jacquard_common::types::string::{AtUri, Did};
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::{IntoStatic, open_union};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct DeleteBlock {
     ///The AT-URI of the block record to delete.
     pub block_uri: AtUri,
@@ -28,26 +31,19 @@ pub struct DeleteBlock {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct DeleteBlockOutput {
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum DeleteBlockError {
     /// The request lacks valid authentication credentials.
@@ -61,7 +57,10 @@ pub enum DeleteBlockError {
     SessionNotFound(Option),
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for DeleteBlockError {
@@ -110,9 +109,8 @@ impl jacquard_common::xrpc::XrpcResp for DeleteBlockResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for DeleteBlock {
     const NSID: &'static str = "place.stream.moderation.deleteBlock";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = DeleteBlockResponse;
 }
 
@@ -120,16 +118,15 @@ impl jacquard_common::xrpc::XrpcRequest for DeleteBlock {
 pub struct DeleteBlockRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for DeleteBlockRequest {
     const PATH: &'static str = "/xrpc/place.stream.moderation.deleteBlock";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = DeleteBlock;
     type Response = DeleteBlockResponse;
 }
 
 pub mod delete_block_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -249,14 +246,11 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> DeleteBlock {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> DeleteBlock {
         DeleteBlock {
             block_uri: self._fields.0.unwrap(),
             streamer: self._fields.1.unwrap(),
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/place_stream/moderation/delete_gate.rs b/crates/jacquard-api/src/place_stream/moderation/delete_gate.rs
index 5dc23609..a2b3f731 100644
--- a/crates/jacquard-api/src/place_stream/moderation/delete_gate.rs
+++ b/crates/jacquard-api/src/place_stream/moderation/delete_gate.rs
@@ -10,15 +10,18 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
-use jacquard_common::types::string::{Did, AtUri};
+use jacquard_common::types::string::{AtUri, Did};
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::{IntoStatic, open_union};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct DeleteGate {
     ///The AT-URI of the gate record to delete.
     pub gate_uri: AtUri,
@@ -28,26 +31,19 @@ pub struct DeleteGate {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct DeleteGateOutput {
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum DeleteGateError {
     /// The request lacks valid authentication credentials.
@@ -61,7 +57,10 @@ pub enum DeleteGateError {
     SessionNotFound(Option),
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for DeleteGateError {
@@ -110,9 +109,8 @@ impl jacquard_common::xrpc::XrpcResp for DeleteGateResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for DeleteGate {
     const NSID: &'static str = "place.stream.moderation.deleteGate";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = DeleteGateResponse;
 }
 
@@ -120,16 +118,15 @@ impl jacquard_common::xrpc::XrpcRequest for DeleteGate {
 pub struct DeleteGateRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for DeleteGateRequest {
     const PATH: &'static str = "/xrpc/place.stream.moderation.deleteGate";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = DeleteGate;
     type Response = DeleteGateResponse;
 }
 
 pub mod delete_gate_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -249,14 +246,11 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> DeleteGate {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> DeleteGate {
         DeleteGate {
             gate_uri: self._fields.0.unwrap(),
             streamer: self._fields.1.unwrap(),
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/place_stream/moderation/permission.rs b/crates/jacquard-api/src/place_stream/moderation/permission.rs
index 04cee61a..7000ae40 100644
--- a/crates/jacquard-api/src/place_stream/moderation/permission.rs
+++ b/crates/jacquard-api/src/place_stream/moderation/permission.rs
@@ -10,13 +10,13 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::collection::{Collection, RecordError};
-use jacquard_common::types::string::{Did, AtUri, Cid, Datetime};
+use jacquard_common::types::string::{AtUri, Cid, Datetime, Did};
 use jacquard_common::types::uri::{RecordUri, UriError};
 use jacquard_common::types::value::Data;
 use jacquard_common::xrpc::XrpcResp;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// Record granting moderation permissions to a user for this streamer's content.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -111,7 +111,7 @@ impl LexiconSchema for Permission {
 
 pub mod permission_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -170,7 +170,12 @@ pub mod permission_state {
 /// Builder for constructing an instance of this type.
 pub struct PermissionBuilder {
     _state: PhantomData St>,
-    _fields: (Option, Option, Option>, Option>),
+    _fields: (
+        Option,
+        Option,
+        Option>,
+        Option>,
+    ),
     _type: PhantomData S>,
 }
 
@@ -280,10 +285,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> Permission {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> Permission {
         Permission {
             created_at: self._fields.0.unwrap(),
             expiration_time: self._fields.1,
@@ -295,10 +297,10 @@ where
 }
 
 fn lexicon_doc_place_stream_moderation_permission() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("place.stream.moderation.permission"),
@@ -385,4 +387,4 @@ fn lexicon_doc_place_stream_moderation_permission() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/place_stream/moderation/update_livestream.rs b/crates/jacquard-api/src/place_stream/moderation/update_livestream.rs
index 8e116707..26f05979 100644
--- a/crates/jacquard-api/src/place_stream/moderation/update_livestream.rs
+++ b/crates/jacquard-api/src/place_stream/moderation/update_livestream.rs
@@ -10,15 +10,18 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
-use jacquard_common::types::string::{Did, AtUri, Cid};
+use jacquard_common::types::string::{AtUri, Cid, Did};
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::{IntoStatic, open_union};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct UpdateLivestream {
     ///The AT-URI of the livestream record to update.
     pub livestream_uri: AtUri,
@@ -31,9 +34,11 @@ pub struct UpdateLivestream {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct UpdateLivestreamOutput {
     ///The CID of the updated livestream record.
     pub cid: Cid,
@@ -43,18 +48,9 @@ pub struct UpdateLivestreamOutput {
     pub extra_data: Option>>,
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum UpdateLivestreamError {
     /// The request lacks valid authentication credentials.
@@ -71,7 +67,10 @@ pub enum UpdateLivestreamError {
     RecordNotFound(Option),
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for UpdateLivestreamError {
@@ -127,9 +126,8 @@ impl jacquard_common::xrpc::XrpcResp for UpdateLivestreamResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for UpdateLivestream {
     const NSID: &'static str = "place.stream.moderation.updateLivestream";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = UpdateLivestreamResponse;
 }
 
@@ -137,16 +135,15 @@ impl jacquard_common::xrpc::XrpcRequest for UpdateLivestream {
 pub struct UpdateLivestreamRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for UpdateLivestreamRequest {
     const PATH: &'static str = "/xrpc/place.stream.moderation.updateLivestream";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = UpdateLivestream;
     type Response = UpdateLivestreamResponse;
 }
 
 pub mod update_livestream_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -280,10 +277,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> UpdateLivestream {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> UpdateLivestream {
         UpdateLivestream {
             livestream_uri: self._fields.0.unwrap(),
             streamer: self._fields.1.unwrap(),
@@ -291,4 +285,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/place_stream/multistream.rs b/crates/jacquard-api/src/place_stream/multistream.rs
index e087ffd4..a1d4be40 100644
--- a/crates/jacquard-api/src/place_stream/multistream.rs
+++ b/crates/jacquard-api/src/place_stream/multistream.rs
@@ -11,13 +11,12 @@ pub mod list_targets;
 pub mod put_target;
 pub mod target;
 
-
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -28,13 +27,16 @@ use jacquard_derive::IntoStatic;
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::place_stream::multistream;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::place_stream::multistream;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Event {
     pub created_at: Datetime,
     pub message: S,
@@ -43,9 +45,11 @@ pub struct Event {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct TargetView {
     pub cid: Cid,
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -88,7 +92,7 @@ impl LexiconSchema for TargetView {
 
 pub mod event_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -194,10 +198,7 @@ where
     St::Message: event_state::IsUnset,
 {
     /// Set the `message` field (required)
-    pub fn message(
-        mut self,
-        value: impl Into,
-    ) -> EventBuilder> {
+    pub fn message(mut self, value: impl Into) -> EventBuilder> {
         self._fields.1 = Option::Some(value.into());
         EventBuilder {
             _state: PhantomData,
@@ -213,10 +214,7 @@ where
     St::Status: event_state::IsUnset,
 {
     /// Set the `status` field (required)
-    pub fn status(
-        mut self,
-        value: impl Into,
-    ) -> EventBuilder> {
+    pub fn status(mut self, value: impl Into) -> EventBuilder> {
         self._fields.2 = Option::Some(value.into());
         EventBuilder {
             _state: PhantomData,
@@ -254,10 +252,10 @@ where
 }
 
 fn lexicon_doc_place_stream_multistream_defs() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("place.stream.multistream.defs"),
@@ -266,13 +264,11 @@ fn lexicon_doc_place_stream_multistream_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("event"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("message"),
-                            SmolStr::new_static("status"),
-                            SmolStr::new_static("createdAt")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("message"),
+                        SmolStr::new_static("status"),
+                        SmolStr::new_static("createdAt"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -285,11 +281,15 @@ fn lexicon_doc_place_stream_multistream_defs() -> LexiconDoc<'static> {
                         );
                         map.insert(
                             SmolStr::new_static("message"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("status"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map
                     },
@@ -299,12 +299,11 @@ fn lexicon_doc_place_stream_multistream_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("targetView"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("uri"), SmolStr::new_static("cid"),
-                            SmolStr::new_static("record")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("uri"),
+                        SmolStr::new_static("cid"),
+                        SmolStr::new_static("record"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -318,9 +317,7 @@ fn lexicon_doc_place_stream_multistream_defs() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("latestEvent"),
                             LexObjectProperty::Ref(LexRef {
-                                r#ref: CowStr::new_static(
-                                    "place.stream.multistream.defs#event",
-                                ),
+                                r#ref: CowStr::new_static("place.stream.multistream.defs#event"),
                                 ..Default::default()
                             }),
                         );
@@ -350,7 +347,7 @@ fn lexicon_doc_place_stream_multistream_defs() -> LexiconDoc<'static> {
 
 pub mod target_view_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -457,10 +454,7 @@ where
 
 impl TargetViewBuilder {
     /// Set the `latestEvent` field (optional)
-    pub fn latest_event(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn latest_event(mut self, value: impl Into>>) -> Self {
         self._fields.1 = value.into();
         self
     }
@@ -527,10 +521,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> TargetView {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> TargetView {
         TargetView {
             cid: self._fields.0.unwrap(),
             latest_event: self._fields.1,
@@ -539,4 +530,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/place_stream/multistream/create_target.rs b/crates/jacquard-api/src/place_stream/multistream/create_target.rs
index 70096359..bdb5036a 100644
--- a/crates/jacquard-api/src/place_stream/multistream/create_target.rs
+++ b/crates/jacquard-api/src/place_stream/multistream/create_target.rs
@@ -8,27 +8,32 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::place_stream::multistream::TargetView;
+use crate::place_stream::multistream::target::Target;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::{IntoStatic, open_union};
-use serde::{Serialize, Deserialize};
-use crate::place_stream::multistream::TargetView;
-use crate::place_stream::multistream::target::Target;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct CreateTarget {
     pub multistream_target: Target,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct CreateTargetOutput {
     #[serde(flatten)]
     pub value: TargetView,
@@ -36,18 +41,9 @@ pub struct CreateTargetOutput {
     pub extra_data: Option>>,
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum CreateTargetError {
     /// The provided target URL is invalid or unreachable.
@@ -55,7 +51,10 @@ pub enum CreateTargetError {
     InvalidTargetUrl(Option),
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for CreateTargetError {
@@ -90,9 +89,8 @@ impl jacquard_common::xrpc::XrpcResp for CreateTargetResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for CreateTarget {
     const NSID: &'static str = "place.stream.multistream.createTarget";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = CreateTargetResponse;
 }
 
@@ -100,16 +98,15 @@ impl jacquard_common::xrpc::XrpcRequest for CreateTarget {
 pub struct CreateTargetRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for CreateTargetRequest {
     const PATH: &'static str = "/xrpc/place.stream.multistream.createTarget";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = CreateTarget;
     type Response = CreateTargetResponse;
 }
 
 pub mod create_target_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -196,13 +193,10 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> CreateTarget {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> CreateTarget {
         CreateTarget {
             multistream_target: self._fields.0.unwrap(),
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/place_stream/multistream/delete_target.rs b/crates/jacquard-api/src/place_stream/multistream/delete_target.rs
index a8a10b45..553af809 100644
--- a/crates/jacquard-api/src/place_stream/multistream/delete_target.rs
+++ b/crates/jacquard-api/src/place_stream/multistream/delete_target.rs
@@ -10,15 +10,18 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::{RecordKey, Rkey};
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct DeleteTarget {
     ///The Record Key of the target to delete.
     pub rkey: RecordKey>,
@@ -26,31 +29,27 @@ pub struct DeleteTarget {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct DeleteTargetOutput {
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum DeleteTargetError {
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for DeleteTargetError {
@@ -78,9 +77,8 @@ impl jacquard_common::xrpc::XrpcResp for DeleteTargetResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for DeleteTarget {
     const NSID: &'static str = "place.stream.multistream.deleteTarget";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = DeleteTargetResponse;
 }
 
@@ -88,16 +86,15 @@ impl jacquard_common::xrpc::XrpcRequest for DeleteTarget {
 pub struct DeleteTargetRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for DeleteTargetRequest {
     const PATH: &'static str = "/xrpc/place.stream.multistream.deleteTarget";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = DeleteTarget;
     type Response = DeleteTargetResponse;
 }
 
 pub mod delete_target_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -184,13 +181,10 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> DeleteTarget {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> DeleteTarget {
         DeleteTarget {
             rkey: self._fields.0.unwrap(),
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/place_stream/multistream/list_targets.rs b/crates/jacquard-api/src/place_stream/multistream/list_targets.rs
index 68165a6b..e6fa4aab 100644
--- a/crates/jacquard-api/src/place_stream/multistream/list_targets.rs
+++ b/crates/jacquard-api/src/place_stream/multistream/list_targets.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -21,13 +21,16 @@ use jacquard_derive::IntoStatic;
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::place_stream::multistream::TargetView;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::place_stream::multistream::TargetView;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ListTargets {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub cursor: Option,
@@ -37,9 +40,11 @@ pub struct ListTargets {
     pub limit: Option,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ListTargetsOutput {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub cursor: Option,
@@ -48,9 +53,11 @@ pub struct ListTargetsOutput {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Record {
     pub cid: Cid,
     pub uri: AtUri,
@@ -104,7 +111,7 @@ fn _default_limit() -> Option {
 
 pub mod list_targets_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -187,7 +194,7 @@ where
 
 pub mod record_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -274,10 +281,7 @@ where
     St::Cid: record_state::IsUnset,
 {
     /// Set the `cid` field (required)
-    pub fn cid(
-        mut self,
-        value: impl Into>,
-    ) -> RecordBuilder> {
+    pub fn cid(mut self, value: impl Into>) -> RecordBuilder> {
         self._fields.0 = Option::Some(value.into());
         RecordBuilder {
             _state: PhantomData,
@@ -293,10 +297,7 @@ where
     St::Uri: record_state::IsUnset,
 {
     /// Set the `uri` field (required)
-    pub fn uri(
-        mut self,
-        value: impl Into>,
-    ) -> RecordBuilder> {
+    pub fn uri(mut self, value: impl Into>) -> RecordBuilder> {
         self._fields.1 = Option::Some(value.into());
         RecordBuilder {
             _state: PhantomData,
@@ -353,10 +354,10 @@ where
 }
 
 fn lexicon_doc_place_stream_multistream_listTargets() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("place.stream.multistream.listTargets"),
@@ -365,41 +366,38 @@ fn lexicon_doc_place_stream_multistream_listTargets() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::XrpcQuery(LexXrpcQuery {
-                    parameters: Some(
-                        LexXrpcQueryParameter::Params(LexXrpcParameters {
-                            required: Some(vec![]),
-                            properties: {
-                                #[allow(unused_mut)]
-                                let mut map = BTreeMap::new();
-                                map.insert(
-                                    SmolStr::new_static("cursor"),
-                                    LexXrpcParametersProperty::String(LexString {
-                                        ..Default::default()
-                                    }),
-                                );
-                                map.insert(
-                                    SmolStr::new_static("limit"),
-                                    LexXrpcParametersProperty::Integer(LexInteger {
-                                        ..Default::default()
-                                    }),
-                                );
-                                map
-                            },
-                            ..Default::default()
-                        }),
-                    ),
+                    parameters: Some(LexXrpcQueryParameter::Params(LexXrpcParameters {
+                        required: Some(vec![]),
+                        properties: {
+                            #[allow(unused_mut)]
+                            let mut map = BTreeMap::new();
+                            map.insert(
+                                SmolStr::new_static("cursor"),
+                                LexXrpcParametersProperty::String(LexString {
+                                    ..Default::default()
+                                }),
+                            );
+                            map.insert(
+                                SmolStr::new_static("limit"),
+                                LexXrpcParametersProperty::Integer(LexInteger {
+                                    ..Default::default()
+                                }),
+                            );
+                            map
+                        },
+                        ..Default::default()
+                    })),
                     ..Default::default()
                 }),
             );
             map.insert(
                 SmolStr::new_static("record"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("uri"), SmolStr::new_static("cid"),
-                            SmolStr::new_static("value")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("uri"),
+                        SmolStr::new_static("cid"),
+                        SmolStr::new_static("value"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -432,4 +430,4 @@ fn lexicon_doc_place_stream_multistream_listTargets() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/place_stream/multistream/put_target.rs b/crates/jacquard-api/src/place_stream/multistream/put_target.rs
index 3f36875a..d1de7757 100644
--- a/crates/jacquard-api/src/place_stream/multistream/put_target.rs
+++ b/crates/jacquard-api/src/place_stream/multistream/put_target.rs
@@ -8,19 +8,22 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::place_stream::multistream::TargetView;
+use crate::place_stream::multistream::target::Target;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::{RecordKey, Rkey};
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::{IntoStatic, open_union};
-use serde::{Serialize, Deserialize};
-use crate::place_stream::multistream::TargetView;
-use crate::place_stream::multistream::target::Target;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct PutTarget {
     pub multistream_target: Target,
     ///The Record Key.
@@ -30,9 +33,11 @@ pub struct PutTarget {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct PutTargetOutput {
     #[serde(flatten)]
     pub value: TargetView,
@@ -40,18 +45,9 @@ pub struct PutTargetOutput {
     pub extra_data: Option>>,
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum PutTargetError {
     /// The provided target URL is invalid or unreachable.
@@ -59,7 +55,10 @@ pub enum PutTargetError {
     InvalidTargetUrl(Option),
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for PutTargetError {
@@ -94,9 +93,8 @@ impl jacquard_common::xrpc::XrpcResp for PutTargetResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for PutTarget {
     const NSID: &'static str = "place.stream.multistream.putTarget";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = PutTargetResponse;
 }
 
@@ -104,16 +102,15 @@ impl jacquard_common::xrpc::XrpcRequest for PutTarget {
 pub struct PutTargetRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for PutTargetRequest {
     const PATH: &'static str = "/xrpc/place.stream.multistream.putTarget";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = PutTarget;
     type Response = PutTargetResponse;
 }
 
 pub mod put_target_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -214,14 +211,11 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> PutTarget {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> PutTarget {
         PutTarget {
             multistream_target: self._fields.0.unwrap(),
             rkey: self._fields.1,
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/place_stream/multistream/target.rs b/crates/jacquard-api/src/place_stream/multistream/target.rs
index bbdc7dde..322c8eec 100644
--- a/crates/jacquard-api/src/place_stream/multistream/target.rs
+++ b/crates/jacquard-api/src/place_stream/multistream/target.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// An external server for rebroadcasting a Streamplace stream
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -121,7 +121,7 @@ impl LexiconSchema for Target {
 
 pub mod target_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -180,7 +180,12 @@ pub mod target_state {
 /// Builder for constructing an instance of this type.
 pub struct TargetBuilder {
     _state: PhantomData St>,
-    _fields: (Option, Option, Option, Option>),
+    _fields: (
+        Option,
+        Option,
+        Option,
+        Option>,
+    ),
     _type: PhantomData S>,
 }
 
@@ -302,10 +307,10 @@ where
 }
 
 fn lexicon_doc_place_stream_multistream_target() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("place.stream.multistream.target"),
@@ -314,19 +319,16 @@ fn lexicon_doc_place_stream_multistream_target() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static(
-                            "An external server for rebroadcasting a Streamplace stream",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "An external server for rebroadcasting a Streamplace stream",
+                    )),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("url"), SmolStr::new_static("active"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("url"),
+                            SmolStr::new_static("active"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -339,9 +341,9 @@ fn lexicon_doc_place_stream_multistream_target() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("createdAt"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("When this target was created."),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "When this target was created.",
+                                    )),
                                     format: Some(LexStringFormat::Datetime),
                                     ..Default::default()
                                 }),
@@ -349,9 +351,9 @@ fn lexicon_doc_place_stream_multistream_target() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("name"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("A user-friendly name for this target."),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "A user-friendly name for this target.",
+                                    )),
                                     max_length: Some(100usize),
                                     ..Default::default()
                                 }),
@@ -359,11 +361,9 @@ fn lexicon_doc_place_stream_multistream_target() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("url"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "The rtmp:// or rtmps:// url of the target server.",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "The rtmp:// or rtmps:// url of the target server.",
+                                    )),
                                     format: Some(LexStringFormat::Uri),
                                     ..Default::default()
                                 }),
@@ -379,4 +379,4 @@ fn lexicon_doc_place_stream_multistream_target() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/place_stream/playback.rs b/crates/jacquard-api/src/place_stream/playback.rs
index df1fed5e..5af30c7e 100644
--- a/crates/jacquard-api/src/place_stream/playback.rs
+++ b/crates/jacquard-api/src/place_stream/playback.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod whep;
\ No newline at end of file
+pub mod whep;
diff --git a/crates/jacquard-api/src/place_stream/playback/whep.rs b/crates/jacquard-api/src/place_stream/playback/whep.rs
index 99193826..9d38abdd 100644
--- a/crates/jacquard-api/src/place_stream/playback/whep.rs
+++ b/crates/jacquard-api/src/place_stream/playback/whep.rs
@@ -10,46 +10,38 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::bytes::Bytes;
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::{IntoStatic, open_union};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct WhepParams {
     pub rendition: S,
     pub streamer: S,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(rename_all = "camelCase")]
 pub struct Whep {
     pub body: Bytes,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(rename_all = "camelCase")]
 pub struct WhepOutput {
     pub body: Bytes,
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum WhepError {
     /// This user may not play this stream.
@@ -57,7 +49,10 @@ pub enum WhepError {
     Unauthorized(Option),
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for WhepError {
@@ -111,22 +106,16 @@ impl jacquard_common::xrpc::XrpcResp for WhepResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for Whep {
     const NSID: &'static str = "place.stream.playback.whep";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "*/*",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("*/*");
     type Response = WhepResponse;
-    fn encode_body(
-        &self,
-        buffer: &mut Vec,
-    ) -> Result<(), jacquard_common::xrpc::EncodeError>
+    fn encode_body(&self, buffer: &mut Vec) -> Result<(), jacquard_common::xrpc::EncodeError>
     where
         Self: Serialize,
     {
         Ok(buffer.copy_from_slice(self.body.as_ref()))
     }
-    fn decode_body<'de>(
-        body: &'de [u8],
-    ) -> Result
+    fn decode_body<'de>(body: &'de [u8]) -> Result
     where
         Self: Deserialize<'de>,
     {
@@ -140,16 +129,15 @@ impl jacquard_common::xrpc::XrpcRequest for Whep {
 pub struct WhepRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for WhepRequest {
     const PATH: &'static str = "/xrpc/place.stream.playback.whep";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "*/*",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("*/*");
     type Request = Whep;
     type Response = WhepResponse;
 }
 
 pub mod whep_params_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -267,4 +255,4 @@ where
             streamer: self._fields.1.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/place_stream/richtext.rs b/crates/jacquard-api/src/place_stream/richtext.rs
index b7b3177b..3bf124e6 100644
--- a/crates/jacquard-api/src/place_stream/richtext.rs
+++ b/crates/jacquard-api/src/place_stream/richtext.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod facet;
\ No newline at end of file
+pub mod facet;
diff --git a/crates/jacquard-api/src/place_stream/richtext/facet.rs b/crates/jacquard-api/src/place_stream/richtext/facet.rs
index ad1c2cd1..dbddced2 100644
--- a/crates/jacquard-api/src/place_stream/richtext/facet.rs
+++ b/crates/jacquard-api/src/place_stream/richtext/facet.rs
@@ -20,16 +20,19 @@ use jacquard_derive::{IntoStatic, open_union};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::app_bsky::richtext::facet::ByteSlice;
 use crate::app_bsky::richtext::facet::Link;
 use crate::app_bsky::richtext::facet::Mention;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// Annotation of a sub-string within rich text.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Facet {
     pub features: Vec>,
     pub index: ByteSlice,
@@ -37,7 +40,6 @@ pub struct Facet {
     pub extra_data: Option>>,
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -65,7 +67,7 @@ impl LexiconSchema for Facet {
 
 pub mod facet_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -195,10 +197,10 @@ where
 }
 
 fn lexicon_doc_place_stream_richtext_facet() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("place.stream.richtext.facet"),
@@ -207,16 +209,13 @@ fn lexicon_doc_place_stream_richtext_facet() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static(
-                            "Annotation of a sub-string within rich text.",
-                        ),
-                    ),
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("index"), SmolStr::new_static("features")
-                        ],
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Annotation of a sub-string within rich text.",
+                    )),
+                    required: Some(vec![
+                        SmolStr::new_static("index"),
+                        SmolStr::new_static("features"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -226,7 +225,7 @@ fn lexicon_doc_place_stream_richtext_facet() -> LexiconDoc<'static> {
                                 items: LexArrayItem::Union(LexRefUnion {
                                     refs: vec![
                                         CowStr::new_static("app.bsky.richtext.facet#mention"),
-                                        CowStr::new_static("app.bsky.richtext.facet#link")
+                                        CowStr::new_static("app.bsky.richtext.facet#link"),
                                     ],
                                     ..Default::default()
                                 }),
@@ -236,9 +235,7 @@ fn lexicon_doc_place_stream_richtext_facet() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("index"),
                             LexObjectProperty::Ref(LexRef {
-                                r#ref: CowStr::new_static(
-                                    "app.bsky.richtext.facet#byteSlice",
-                                ),
+                                r#ref: CowStr::new_static("app.bsky.richtext.facet#byteSlice"),
                                 ..Default::default()
                             }),
                         );
@@ -251,4 +248,4 @@ fn lexicon_doc_place_stream_richtext_facet() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/place_stream/segment.rs b/crates/jacquard-api/src/place_stream/segment.rs
index 068a5a71..60e2b626 100644
--- a/crates/jacquard-api/src/place_stream/segment.rs
+++ b/crates/jacquard-api/src/place_stream/segment.rs
@@ -10,13 +10,13 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::collection::{Collection, RecordError};
-use jacquard_common::types::string::{Did, AtUri, Cid, Datetime};
+use jacquard_common::types::string::{AtUri, Cid, Datetime, Did};
 use jacquard_common::types::uri::{RecordUri, UriError};
 use jacquard_common::types::value::Data;
 use jacquard_common::xrpc::XrpcResp;
@@ -24,16 +24,19 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::place_stream::metadata::content_rights::ContentRights;
 use crate::place_stream::metadata::content_warnings::ContentWarnings;
 use crate::place_stream::metadata::distribution_policy::DistributionPolicy;
 use crate::place_stream::segment;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Audio {
     pub channels: i64,
     pub codec: S,
@@ -42,9 +45,11 @@ pub struct Audio {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Framerate {
     pub den: i64,
     pub num: i64,
@@ -100,9 +105,11 @@ pub struct SegmentGetRecordOutput {
     pub value: Segment,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct SegmentView {
     pub cid: Cid,
     pub record: Data,
@@ -110,9 +117,11 @@ pub struct SegmentView {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Video {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub bframes: Option,
@@ -235,7 +244,7 @@ impl LexiconSchema for Video {
 
 pub mod audio_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -341,10 +350,7 @@ where
     St::Codec: audio_state::IsUnset,
 {
     /// Set the `codec` field (required)
-    pub fn codec(
-        mut self,
-        value: impl Into,
-    ) -> AudioBuilder> {
+    pub fn codec(mut self, value: impl Into) -> AudioBuilder> {
         self._fields.1 = Option::Some(value.into());
         AudioBuilder {
             _state: PhantomData,
@@ -360,10 +366,7 @@ where
     St::Rate: audio_state::IsUnset,
 {
     /// Set the `rate` field (required)
-    pub fn rate(
-        mut self,
-        value: impl Into,
-    ) -> AudioBuilder> {
+    pub fn rate(mut self, value: impl Into) -> AudioBuilder> {
         self._fields.2 = Option::Some(value.into());
         AudioBuilder {
             _state: PhantomData,
@@ -401,10 +404,10 @@ where
 }
 
 fn lexicon_doc_place_stream_segment() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("place.stream.segment"),
@@ -413,12 +416,11 @@ fn lexicon_doc_place_stream_segment() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("audio"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("codec"), SmolStr::new_static("rate"),
-                            SmolStr::new_static("channels")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("codec"),
+                        SmolStr::new_static("rate"),
+                        SmolStr::new_static("channels"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -430,7 +432,9 @@ fn lexicon_doc_place_stream_segment() -> LexiconDoc<'static> {
                         );
                         map.insert(
                             SmolStr::new_static("codec"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("rate"),
@@ -446,9 +450,7 @@ fn lexicon_doc_place_stream_segment() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("framerate"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![SmolStr::new_static("num"), SmolStr::new_static("den")],
-                    ),
+                    required: Some(vec![SmolStr::new_static("num"), SmolStr::new_static("den")]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -472,21 +474,17 @@ fn lexicon_doc_place_stream_segment() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static(
-                            "Media file representing a segment of a livestream",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Media file representing a segment of a livestream",
+                    )),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("id"),
-                                SmolStr::new_static("signingKey"),
-                                SmolStr::new_static("startTime"),
-                                SmolStr::new_static("creator")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("id"),
+                            SmolStr::new_static("signingKey"),
+                            SmolStr::new_static("startTime"),
+                            SmolStr::new_static("creator"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -543,20 +541,18 @@ fn lexicon_doc_place_stream_segment() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("id"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("Unique identifier for the segment"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Unique identifier for the segment",
+                                    )),
                                     ..Default::default()
                                 }),
                             );
                             map.insert(
                                 SmolStr::new_static("signingKey"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "The DID of the signing key used for this segment",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "The DID of the signing key used for this segment",
+                                    )),
                                     ..Default::default()
                                 }),
                             );
@@ -569,9 +565,9 @@ fn lexicon_doc_place_stream_segment() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("startTime"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("When this segment started"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "When this segment started",
+                                    )),
                                     format: Some(LexStringFormat::Datetime),
                                     ..Default::default()
                                 }),
@@ -596,9 +592,10 @@ fn lexicon_doc_place_stream_segment() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("segmentView"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![SmolStr::new_static("cid"), SmolStr::new_static("record")],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("cid"),
+                        SmolStr::new_static("record"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -623,12 +620,11 @@ fn lexicon_doc_place_stream_segment() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("video"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("codec"), SmolStr::new_static("width"),
-                            SmolStr::new_static("height")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("codec"),
+                        SmolStr::new_static("width"),
+                        SmolStr::new_static("height"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -640,7 +636,9 @@ fn lexicon_doc_place_stream_segment() -> LexiconDoc<'static> {
                         );
                         map.insert(
                             SmolStr::new_static("codec"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("framerate"),
@@ -674,7 +672,7 @@ fn lexicon_doc_place_stream_segment() -> LexiconDoc<'static> {
 
 pub mod framerate_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -794,10 +792,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> Framerate {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> Framerate {
         Framerate {
             den: self._fields.0.unwrap(),
             num: self._fields.1.unwrap(),
@@ -808,7 +803,7 @@ where
 
 pub mod segment_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -911,7 +906,9 @@ impl SegmentBuilder {
     pub fn new() -> Self {
         SegmentBuilder {
             _state: PhantomData,
-            _fields: (None, None, None, None, None, None, None, None, None, None, None),
+            _fields: (
+                None, None, None, None, None, None, None, None, None, None, None,
+            ),
             _type: PhantomData,
         }
     }
@@ -945,10 +942,7 @@ impl SegmentBuilder {
 
 impl SegmentBuilder {
     /// Set the `contentWarnings` field (optional)
-    pub fn content_warnings(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn content_warnings(mut self, value: impl Into>>) -> Self {
         self._fields.2 = value.into();
         self
     }
@@ -980,18 +974,12 @@ where
 
 impl SegmentBuilder {
     /// Set the `distributionPolicy` field (optional)
-    pub fn distribution_policy(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn distribution_policy(mut self, value: impl Into>>) -> Self {
         self._fields.4 = value.into();
         self
     }
     /// Set the `distributionPolicy` field to an Option value (optional)
-    pub fn maybe_distribution_policy(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_distribution_policy(mut self, value: Option>) -> Self {
         self._fields.4 = value;
         self
     }
@@ -1016,10 +1004,7 @@ where
     St::Id: segment_state::IsUnset,
 {
     /// Set the `id` field (required)
-    pub fn id(
-        mut self,
-        value: impl Into,
-    ) -> SegmentBuilder> {
+    pub fn id(mut self, value: impl Into) -> SegmentBuilder> {
         self._fields.6 = Option::Some(value.into());
         SegmentBuilder {
             _state: PhantomData,
@@ -1139,7 +1124,7 @@ where
 
 pub mod segment_view_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1259,10 +1244,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> SegmentView {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> SegmentView {
         SegmentView {
             cid: self._fields.0.unwrap(),
             record: self._fields.1.unwrap(),
@@ -1273,7 +1255,7 @@ where
 
 pub mod video_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1379,10 +1361,7 @@ where
     St::Codec: video_state::IsUnset,
 {
     /// Set the `codec` field (required)
-    pub fn codec(
-        mut self,
-        value: impl Into,
-    ) -> VideoBuilder> {
+    pub fn codec(mut self, value: impl Into) -> VideoBuilder> {
         self._fields.1 = Option::Some(value.into());
         VideoBuilder {
             _state: PhantomData,
@@ -1411,10 +1390,7 @@ where
     St::Height: video_state::IsUnset,
 {
     /// Set the `height` field (required)
-    pub fn height(
-        mut self,
-        value: impl Into,
-    ) -> VideoBuilder> {
+    pub fn height(mut self, value: impl Into) -> VideoBuilder> {
         self._fields.3 = Option::Some(value.into());
         VideoBuilder {
             _state: PhantomData,
@@ -1430,10 +1406,7 @@ where
     St::Width: video_state::IsUnset,
 {
     /// Set the `width` field (required)
-    pub fn width(
-        mut self,
-        value: impl Into,
-    ) -> VideoBuilder> {
+    pub fn width(mut self, value: impl Into) -> VideoBuilder> {
         self._fields.4 = Option::Some(value.into());
         VideoBuilder {
             _state: PhantomData,
@@ -1472,4 +1445,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/place_stream/server.rs b/crates/jacquard-api/src/place_stream/server.rs
index eb1b24df..c375d62d 100644
--- a/crates/jacquard-api/src/place_stream/server.rs
+++ b/crates/jacquard-api/src/place_stream/server.rs
@@ -13,13 +13,12 @@ pub mod list_webhooks;
 pub mod settings;
 pub mod update_webhook;
 
-
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -30,13 +29,16 @@ use jacquard_derive::IntoStatic;
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::place_stream::server;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::place_stream::server;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct RewriteRule {
     ///Text to search for and replace.
     pub from: S,
@@ -49,7 +51,10 @@ pub struct RewriteRule {
 /// A webhook configuration for receiving Streamplace events.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Webhook {
     ///Whether this webhook is currently active.
     pub active: bool,
@@ -196,10 +201,10 @@ impl LexiconSchema for Webhook {
 }
 
 fn lexicon_doc_place_stream_server_defs() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("place.stream.server.defs"),
@@ -208,18 +213,16 @@ fn lexicon_doc_place_stream_server_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("rewriteRule"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![SmolStr::new_static("from"), SmolStr::new_static("to")],
-                    ),
+                    required: Some(vec![SmolStr::new_static("from"), SmolStr::new_static("to")]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("from"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Text to search for and replace."),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Text to search for and replace.",
+                                )),
                                 min_length: Some(1usize),
                                 max_length: Some(100usize),
                                 ..Default::default()
@@ -228,9 +231,7 @@ fn lexicon_doc_place_stream_server_defs() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("to"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Text to replace with."),
-                                ),
+                                description: Some(CowStr::new_static("Text to replace with.")),
                                 max_length: Some(100usize),
                                 ..Default::default()
                             }),
@@ -420,7 +421,7 @@ fn lexicon_doc_place_stream_server_defs() -> LexiconDoc<'static> {
 
 pub mod webhook_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -545,20 +546,7 @@ impl WebhookBuilder {
         WebhookBuilder {
             _state: PhantomData,
             _fields: (
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
+                None, None, None, None, None, None, None, None, None, None, None, None, None, None,
             ),
             _type: PhantomData,
         }
@@ -654,10 +642,7 @@ where
     St::Id: webhook_state::IsUnset,
 {
     /// Set the `id` field (required)
-    pub fn id(
-        mut self,
-        value: impl Into,
-    ) -> WebhookBuilder> {
+    pub fn id(mut self, value: impl Into) -> WebhookBuilder> {
         self._fields.5 = Option::Some(value.into());
         WebhookBuilder {
             _state: PhantomData,
@@ -721,10 +706,7 @@ impl WebhookBuilder {
 
 impl WebhookBuilder {
     /// Set the `rewrite` field (optional)
-    pub fn rewrite(
-        mut self,
-        value: impl Into>>>,
-    ) -> Self {
+    pub fn rewrite(mut self, value: impl Into>>>) -> Self {
         self._fields.10 = value.into();
         self
     }
@@ -829,4 +811,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/place_stream/server/create_webhook.rs b/crates/jacquard-api/src/place_stream/server/create_webhook.rs
index 50cc2c33..7044ca40 100644
--- a/crates/jacquard-api/src/place_stream/server/create_webhook.rs
+++ b/crates/jacquard-api/src/place_stream/server/create_webhook.rs
@@ -8,19 +8,22 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::place_stream::server::RewriteRule;
+use crate::place_stream::server::Webhook;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::UriValue;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::{IntoStatic, open_union};
-use serde::{Serialize, Deserialize};
-use crate::place_stream::server::RewriteRule;
-use crate::place_stream::server::Webhook;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct CreateWebhook {
     ///Whether this webhook should be active upon creation.  Defaults to `false`.
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -52,27 +55,20 @@ pub struct CreateWebhook {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct CreateWebhookOutput {
     pub webhook: Webhook,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum CreateWebhookError {
     /// The provided webhook URL is invalid or unreachable.
@@ -86,7 +82,10 @@ pub enum CreateWebhookError {
     TooManyWebhooks(Option),
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for CreateWebhookError {
@@ -135,9 +134,8 @@ impl jacquard_common::xrpc::XrpcResp for CreateWebhookResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for CreateWebhook {
     const NSID: &'static str = "place.stream.server.createWebhook";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = CreateWebhookResponse;
 }
 
@@ -145,9 +143,8 @@ impl jacquard_common::xrpc::XrpcRequest for CreateWebhook {
 pub struct CreateWebhookRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for CreateWebhookRequest {
     const PATH: &'static str = "/xrpc/place.stream.server.createWebhook";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = CreateWebhook;
     type Response = CreateWebhookResponse;
 }
@@ -158,7 +155,7 @@ fn _default_create_webhook_active() -> Option {
 
 pub mod create_webhook_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -386,10 +383,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> CreateWebhook {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> CreateWebhook {
         CreateWebhook {
             active: self._fields.0.or_else(|| Some(false)),
             description: self._fields.1,
@@ -403,4 +397,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/place_stream/server/delete_webhook.rs b/crates/jacquard-api/src/place_stream/server/delete_webhook.rs
index 78c24f50..8369623d 100644
--- a/crates/jacquard-api/src/place_stream/server/delete_webhook.rs
+++ b/crates/jacquard-api/src/place_stream/server/delete_webhook.rs
@@ -10,14 +10,17 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::{IntoStatic, open_union};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct DeleteWebhook {
     ///The ID of the webhook to delete.
     pub id: S,
@@ -25,9 +28,11 @@ pub struct DeleteWebhook {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct DeleteWebhookOutput {
     ///Whether the webhook was successfully deleted.
     pub success: bool,
@@ -35,18 +40,9 @@ pub struct DeleteWebhookOutput {
     pub extra_data: Option>>,
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum DeleteWebhookError {
     /// The specified webhook was not found.
@@ -57,7 +53,10 @@ pub enum DeleteWebhookError {
     Unauthorized(Option),
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for DeleteWebhookError {
@@ -99,9 +98,8 @@ impl jacquard_common::xrpc::XrpcResp for DeleteWebhookResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for DeleteWebhook {
     const NSID: &'static str = "place.stream.server.deleteWebhook";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = DeleteWebhookResponse;
 }
 
@@ -109,9 +107,8 @@ impl jacquard_common::xrpc::XrpcRequest for DeleteWebhook {
 pub struct DeleteWebhookRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for DeleteWebhookRequest {
     const PATH: &'static str = "/xrpc/place.stream.server.deleteWebhook";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = DeleteWebhook;
     type Response = DeleteWebhookResponse;
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/place_stream/server/get_server_time.rs b/crates/jacquard-api/src/place_stream/server/get_server_time.rs
index f3986088..05099157 100644
--- a/crates/jacquard-api/src/place_stream/server/get_server_time.rs
+++ b/crates/jacquard-api/src/place_stream/server/get_server_time.rs
@@ -10,19 +10,22 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::Datetime;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(rename_all = "camelCase")]
 pub struct GetServerTime;
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetServerTimeOutput {
     ///Current server time in RFC3339 format
     pub server_time: Datetime,
@@ -52,4 +55,4 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetServerTimeRequest {
     const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Query;
     type Request = GetServerTime;
     type Response = GetServerTimeResponse;
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/place_stream/server/get_webhook.rs b/crates/jacquard-api/src/place_stream/server/get_webhook.rs
index 9fc5bdfd..eb6cca8c 100644
--- a/crates/jacquard-api/src/place_stream/server/get_webhook.rs
+++ b/crates/jacquard-api/src/place_stream/server/get_webhook.rs
@@ -8,42 +8,38 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::place_stream::server::Webhook;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::{IntoStatic, open_union};
-use serde::{Serialize, Deserialize};
-use crate::place_stream::server::Webhook;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetWebhook {
     pub id: S,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetWebhookOutput {
     pub webhook: Webhook,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum GetWebhookError {
     /// The specified webhook was not found.
@@ -54,7 +50,10 @@ pub enum GetWebhookError {
     Unauthorized(Option),
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for GetWebhookError {
@@ -111,7 +110,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetWebhookRequest {
 
 pub mod get_webhook_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -172,10 +171,7 @@ where
     St::Id: get_webhook_state::IsUnset,
 {
     /// Set the `id` field (required)
-    pub fn id(
-        mut self,
-        value: impl Into,
-    ) -> GetWebhookBuilder> {
+    pub fn id(mut self, value: impl Into) -> GetWebhookBuilder> {
         self._fields.0 = Option::Some(value.into());
         GetWebhookBuilder {
             _state: PhantomData,
@@ -196,4 +192,4 @@ where
             id: self._fields.0.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/place_stream/server/list_webhooks.rs b/crates/jacquard-api/src/place_stream/server/list_webhooks.rs
index 25c15d75..4ca97594 100644
--- a/crates/jacquard-api/src/place_stream/server/list_webhooks.rs
+++ b/crates/jacquard-api/src/place_stream/server/list_webhooks.rs
@@ -8,17 +8,20 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::place_stream::server::Webhook;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::{IntoStatic, open_union};
-use serde::{Serialize, Deserialize};
-use crate::place_stream::server::Webhook;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ListWebhooks {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub active: Option,
@@ -32,9 +35,11 @@ pub struct ListWebhooks {
     pub limit: Option,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ListWebhooksOutput {
     ///A cursor for pagination, if there are more results.
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -44,18 +49,9 @@ pub struct ListWebhooksOutput {
     pub extra_data: Option>>,
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum ListWebhooksError {
     /// The provided cursor is invalid or expired.
@@ -63,7 +59,10 @@ pub enum ListWebhooksError {
     InvalidCursor(Option),
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for ListWebhooksError {
@@ -117,7 +116,7 @@ fn _default_limit() -> Option {
 
 pub mod list_webhooks_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -224,4 +223,4 @@ where
             limit: self._fields.3,
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/place_stream/server/settings.rs b/crates/jacquard-api/src/place_stream/server/settings.rs
index e7f92da4..72a18e7a 100644
--- a/crates/jacquard-api/src/place_stream/server/settings.rs
+++ b/crates/jacquard-api/src/place_stream/server/settings.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// Record containing user settings for a particular Streamplace node
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -105,7 +105,7 @@ impl LexiconSchema for Settings {
 
 pub mod settings_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -181,10 +181,10 @@ where
 }
 
 fn lexicon_doc_place_stream_server_settings() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("place.stream.server.settings"),
@@ -193,11 +193,9 @@ fn lexicon_doc_place_stream_server_settings() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static(
-                            "Record containing user settings for a particular Streamplace node",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Record containing user settings for a particular Streamplace node",
+                    )),
                     key: Some(CowStr::new_static("any")),
                     record: LexRecordRecord::Object(LexObject {
                         properties: {
@@ -220,4 +218,4 @@ fn lexicon_doc_place_stream_server_settings() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/place_stream/server/update_webhook.rs b/crates/jacquard-api/src/place_stream/server/update_webhook.rs
index 24023b22..082650e9 100644
--- a/crates/jacquard-api/src/place_stream/server/update_webhook.rs
+++ b/crates/jacquard-api/src/place_stream/server/update_webhook.rs
@@ -8,19 +8,22 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::place_stream::server::RewriteRule;
+use crate::place_stream::server::Webhook;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::UriValue;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::{IntoStatic, open_union};
-use serde::{Serialize, Deserialize};
-use crate::place_stream::server::RewriteRule;
-use crate::place_stream::server::Webhook;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct UpdateWebhook {
     ///Whether this webhook should be active.
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -55,27 +58,20 @@ pub struct UpdateWebhook {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct UpdateWebhookOutput {
     pub webhook: Webhook,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum UpdateWebhookError {
     /// The specified webhook was not found.
@@ -92,7 +88,10 @@ pub enum UpdateWebhookError {
     DuplicateWebhook(Option),
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for UpdateWebhookError {
@@ -148,9 +147,8 @@ impl jacquard_common::xrpc::XrpcResp for UpdateWebhookResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for UpdateWebhook {
     const NSID: &'static str = "place.stream.server.updateWebhook";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = UpdateWebhookResponse;
 }
 
@@ -158,9 +156,8 @@ impl jacquard_common::xrpc::XrpcRequest for UpdateWebhook {
 pub struct UpdateWebhookRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for UpdateWebhookRequest {
     const PATH: &'static str = "/xrpc/place.stream.server.updateWebhook";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = UpdateWebhook;
     type Response = UpdateWebhookResponse;
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/place_wisp.rs b/crates/jacquard-api/src/place_wisp.rs
index 32071fc5..465439d1 100644
--- a/crates/jacquard-api/src/place_wisp.rs
+++ b/crates/jacquard-api/src/place_wisp.rs
@@ -4,4 +4,4 @@
 // Any manual changes will be overwritten on the next regeneration.
 
 pub mod fs;
-pub mod settings;
\ No newline at end of file
+pub mod settings;
diff --git a/crates/jacquard-api/src/place_wisp/fs.rs b/crates/jacquard-api/src/place_wisp/fs.rs
index c648760b..3c4aef32 100644
--- a/crates/jacquard-api/src/place_wisp/fs.rs
+++ b/crates/jacquard-api/src/place_wisp/fs.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -25,13 +25,16 @@ use jacquard_derive::{IntoStatic, lexicon, open_union};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::place_wisp::fs;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::place_wisp::fs;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Directory {
     pub entries: Vec>,
     pub r#type: S,
@@ -39,9 +42,11 @@ pub struct Directory {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Entry {
     pub name: S,
     pub node: EntryNode,
@@ -49,7 +54,6 @@ pub struct Entry {
     pub extra_data: Option>>,
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -62,9 +66,11 @@ pub enum EntryNode {
     Subfs(Box>),
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct File {
     ///True if blob content is base64-encoded (used to bypass PDS content sniffing)
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -112,9 +118,11 @@ pub struct FsGetRecordOutput {
     pub value: Fs,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Subfs {
     ///If true, the subfs record's root entries are merged (flattened) into the parent directory, replacing the subfs entry. If false (default), the subfs entries are placed in a subdirectory with the subfs entry's name. Flat merging is useful for splitting large directories across multiple records while maintaining a flat structure.
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -213,19 +221,16 @@ impl LexiconSchema for File {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["*/*"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("blob"),
@@ -316,7 +321,7 @@ impl LexiconSchema for Subfs {
 
 pub mod directory_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -436,10 +441,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> Directory {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> Directory {
         Directory {
             entries: self._fields.0.unwrap(),
             r#type: self._fields.1.unwrap(),
@@ -449,10 +451,10 @@ where
 }
 
 fn lexicon_doc_place_wisp_fs() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("place.wisp.fs"),
@@ -461,9 +463,10 @@ fn lexicon_doc_place_wisp_fs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("directory"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![SmolStr::new_static("type"), SmolStr::new_static("entries")],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("type"),
+                        SmolStr::new_static("entries"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -480,7 +483,9 @@ fn lexicon_doc_place_wisp_fs() -> LexiconDoc<'static> {
                         );
                         map.insert(
                             SmolStr::new_static("type"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map
                     },
@@ -490,9 +495,10 @@ fn lexicon_doc_place_wisp_fs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("entry"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![SmolStr::new_static("name"), SmolStr::new_static("node")],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("name"),
+                        SmolStr::new_static("node"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -509,7 +515,7 @@ fn lexicon_doc_place_wisp_fs() -> LexiconDoc<'static> {
                                 refs: vec![
                                     CowStr::new_static("#file"),
                                     CowStr::new_static("#directory"),
-                                    CowStr::new_static("#subfs")
+                                    CowStr::new_static("#subfs"),
                                 ],
                                 ..Default::default()
                             }),
@@ -522,9 +528,10 @@ fn lexicon_doc_place_wisp_fs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("file"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![SmolStr::new_static("type"), SmolStr::new_static("blob")],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("type"),
+                        SmolStr::new_static("blob"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -536,31 +543,33 @@ fn lexicon_doc_place_wisp_fs() -> LexiconDoc<'static> {
                         );
                         map.insert(
                             SmolStr::new_static("blob"),
-                            LexObjectProperty::Blob(LexBlob { ..Default::default() }),
+                            LexObjectProperty::Blob(LexBlob {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("encoding"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "Content encoding (e.g., gzip for compressed files)",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Content encoding (e.g., gzip for compressed files)",
+                                )),
                                 ..Default::default()
                             }),
                         );
                         map.insert(
                             SmolStr::new_static("mimeType"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Original MIME type before compression"),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Original MIME type before compression",
+                                )),
                                 ..Default::default()
                             }),
                         );
                         map.insert(
                             SmolStr::new_static("type"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map
                     },
@@ -570,16 +579,15 @@ fn lexicon_doc_place_wisp_fs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static("Virtual filesystem manifest for a Wisp site"),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Virtual filesystem manifest for a Wisp site",
+                    )),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("site"), SmolStr::new_static("root"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("site"),
+                            SmolStr::new_static("root"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -662,7 +670,7 @@ fn lexicon_doc_place_wisp_fs() -> LexiconDoc<'static> {
 
 pub mod entry_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -735,10 +743,7 @@ where
     St::Name: entry_state::IsUnset,
 {
     /// Set the `name` field (required)
-    pub fn name(
-        mut self,
-        value: impl Into,
-    ) -> EntryBuilder> {
+    pub fn name(mut self, value: impl Into) -> EntryBuilder> {
         self._fields.0 = Option::Some(value.into());
         EntryBuilder {
             _state: PhantomData,
@@ -793,7 +798,7 @@ where
 
 pub mod file_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -838,7 +843,13 @@ pub mod file_state {
 /// Builder for constructing an instance of this type.
 pub struct FileBuilder {
     _state: PhantomData St>,
-    _fields: (Option, Option>, Option, Option, Option),
+    _fields: (
+        Option,
+        Option>,
+        Option,
+        Option,
+        Option,
+    ),
     _type: PhantomData S>,
 }
 
@@ -879,10 +890,7 @@ where
     St::Blob: file_state::IsUnset,
 {
     /// Set the `blob` field (required)
-    pub fn blob(
-        mut self,
-        value: impl Into>,
-    ) -> FileBuilder> {
+    pub fn blob(mut self, value: impl Into>) -> FileBuilder> {
         self._fields.1 = Option::Some(value.into());
         FileBuilder {
             _state: PhantomData,
@@ -924,10 +932,7 @@ where
     St::Type: file_state::IsUnset,
 {
     /// Set the `type` field (required)
-    pub fn r#type(
-        mut self,
-        value: impl Into,
-    ) -> FileBuilder> {
+    pub fn r#type(mut self, value: impl Into) -> FileBuilder> {
         self._fields.4 = Option::Some(value.into());
         FileBuilder {
             _state: PhantomData,
@@ -969,7 +974,7 @@ where
 
 pub mod fs_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1028,7 +1033,12 @@ pub mod fs_state {
 /// Builder for constructing an instance of this type.
 pub struct FsBuilder {
     _state: PhantomData St>,
-    _fields: (Option, Option, Option>, Option),
+    _fields: (
+        Option,
+        Option,
+        Option>,
+        Option,
+    ),
     _type: PhantomData S>,
 }
 
@@ -1148,7 +1158,7 @@ where
 
 pub mod subfs_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1253,10 +1263,7 @@ where
     St::Type: subfs_state::IsUnset,
 {
     /// Set the `type` field (required)
-    pub fn r#type(
-        mut self,
-        value: impl Into,
-    ) -> SubfsBuilder> {
+    pub fn r#type(mut self, value: impl Into) -> SubfsBuilder> {
         self._fields.2 = Option::Some(value.into());
         SubfsBuilder {
             _state: PhantomData,
@@ -1290,4 +1297,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/place_wisp/settings.rs b/crates/jacquard-api/src/place_wisp/settings.rs
index 23830a42..c537c29b 100644
--- a/crates/jacquard-api/src/place_wisp/settings.rs
+++ b/crates/jacquard-api/src/place_wisp/settings.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,14 +24,17 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::place_wisp::settings;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::place_wisp::settings;
+use serde::{Deserialize, Serialize};
 /// Custom HTTP header configuration
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct CustomHeader {
     ///HTTP header name (e.g., 'Cache-Control', 'X-Frame-Options')
     pub name: S,
@@ -225,10 +228,10 @@ impl LexiconSchema for Settings {
 }
 
 fn lexicon_doc_place_wisp_settings() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("place.wisp.settings"),
@@ -401,7 +404,7 @@ impl Default for Settings {
 
 pub mod settings_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -491,18 +494,12 @@ impl SettingsBuilder {
 
 impl SettingsBuilder {
     /// Set the `headers` field (optional)
-    pub fn headers(
-        mut self,
-        value: impl Into>>>,
-    ) -> Self {
+    pub fn headers(mut self, value: impl Into>>>) -> Self {
         self._fields.3 = value.into();
         self
     }
     /// Set the `headers` field to an Option value (optional)
-    pub fn maybe_headers(
-        mut self,
-        value: Option>>,
-    ) -> Self {
+    pub fn maybe_headers(mut self, value: Option>>) -> Self {
         self._fields.3 = value;
         self
     }
@@ -562,4 +559,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/pub_leaflet.rs b/crates/jacquard-api/src/pub_leaflet.rs
index b880b9ae..f414d505 100644
--- a/crates/jacquard-api/src/pub_leaflet.rs
+++ b/crates/jacquard-api/src/pub_leaflet.rs
@@ -13,4 +13,4 @@ pub mod pages;
 pub mod poll;
 pub mod publication;
 pub mod richtext;
-pub mod theme;
\ No newline at end of file
+pub mod theme;
diff --git a/crates/jacquard-api/src/pub_leaflet/blocks.rs b/crates/jacquard-api/src/pub_leaflet/blocks.rs
index e111f657..bd386d8d 100644
--- a/crates/jacquard-api/src/pub_leaflet/blocks.rs
+++ b/crates/jacquard-api/src/pub_leaflet/blocks.rs
@@ -17,4 +17,4 @@ pub mod page;
 pub mod poll;
 pub mod text;
 pub mod unordered_list;
-pub mod website;
\ No newline at end of file
+pub mod website;
diff --git a/crates/jacquard-api/src/pub_leaflet/blocks/blockquote.rs b/crates/jacquard-api/src/pub_leaflet/blocks/blockquote.rs
index a4c05c1f..aa4b5ad3 100644
--- a/crates/jacquard-api/src/pub_leaflet/blocks/blockquote.rs
+++ b/crates/jacquard-api/src/pub_leaflet/blocks/blockquote.rs
@@ -7,7 +7,7 @@
 
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -17,13 +17,16 @@ use jacquard_derive::IntoStatic;
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::pub_leaflet::richtext::facet::Facet;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::pub_leaflet::richtext::facet::Facet;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Blockquote {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub facets: Option>>,
@@ -48,10 +51,10 @@ impl LexiconSchema for Blockquote {
 }
 
 fn lexicon_doc_pub_leaflet_blocks_blockquote() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("pub.leaflet.blocks.blockquote"),
@@ -76,7 +79,9 @@ fn lexicon_doc_pub_leaflet_blocks_blockquote() -> LexiconDoc<'static> {
                         );
                         map.insert(
                             SmolStr::new_static("plaintext"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map
                     },
@@ -87,4 +92,4 @@ fn lexicon_doc_pub_leaflet_blocks_blockquote() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/pub_leaflet/blocks/bsky_post.rs b/crates/jacquard-api/src/pub_leaflet/blocks/bsky_post.rs
index 6d2b9226..dca2d660 100644
--- a/crates/jacquard-api/src/pub_leaflet/blocks/bsky_post.rs
+++ b/crates/jacquard-api/src/pub_leaflet/blocks/bsky_post.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -20,13 +20,16 @@ use jacquard_derive::IntoStatic;
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::com_atproto::repo::strong_ref::StrongRef;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::com_atproto::repo::strong_ref::StrongRef;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct BskyPost {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub client_host: Option,
@@ -52,7 +55,7 @@ impl LexiconSchema for BskyPost {
 
 pub mod bsky_post_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -163,10 +166,10 @@ where
 }
 
 fn lexicon_doc_pub_leaflet_blocks_bskyPost() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("pub.leaflet.blocks.bskyPost"),
@@ -181,7 +184,9 @@ fn lexicon_doc_pub_leaflet_blocks_bskyPost() -> LexiconDoc<'static> {
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("clientHost"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("postRef"),
@@ -199,4 +204,4 @@ fn lexicon_doc_pub_leaflet_blocks_bskyPost() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/pub_leaflet/blocks/button.rs b/crates/jacquard-api/src/pub_leaflet/blocks/button.rs
index 0202e50b..66a7cb06 100644
--- a/crates/jacquard-api/src/pub_leaflet/blocks/button.rs
+++ b/crates/jacquard-api/src/pub_leaflet/blocks/button.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -23,10 +23,13 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Button {
     pub text: S,
     pub url: UriValue,
@@ -51,7 +54,7 @@ impl LexiconSchema for Button {
 
 pub mod button_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -124,10 +127,7 @@ where
     St::Text: button_state::IsUnset,
 {
     /// Set the `text` field (required)
-    pub fn text(
-        mut self,
-        value: impl Into,
-    ) -> ButtonBuilder> {
+    pub fn text(mut self, value: impl Into) -> ButtonBuilder> {
         self._fields.0 = Option::Some(value.into());
         ButtonBuilder {
             _state: PhantomData,
@@ -181,10 +181,10 @@ where
 }
 
 fn lexicon_doc_pub_leaflet_blocks_button() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("pub.leaflet.blocks.button"),
@@ -193,15 +193,18 @@ fn lexicon_doc_pub_leaflet_blocks_button() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![SmolStr::new_static("text"), SmolStr::new_static("url")],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("text"),
+                        SmolStr::new_static("url"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("text"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("url"),
@@ -219,4 +222,4 @@ fn lexicon_doc_pub_leaflet_blocks_button() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/pub_leaflet/blocks/code.rs b/crates/jacquard-api/src/pub_leaflet/blocks/code.rs
index eb7a8920..ae62795d 100644
--- a/crates/jacquard-api/src/pub_leaflet/blocks/code.rs
+++ b/crates/jacquard-api/src/pub_leaflet/blocks/code.rs
@@ -7,7 +7,7 @@
 
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -19,10 +19,13 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Code {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub language: Option,
@@ -49,10 +52,10 @@ impl LexiconSchema for Code {
 }
 
 fn lexicon_doc_pub_leaflet_blocks_code() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("pub.leaflet.blocks.code"),
@@ -67,15 +70,21 @@ fn lexicon_doc_pub_leaflet_blocks_code() -> LexiconDoc<'static> {
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("language"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("plaintext"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("syntaxHighlightingTheme"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map
                     },
@@ -86,4 +95,4 @@ fn lexicon_doc_pub_leaflet_blocks_code() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/pub_leaflet/blocks/header.rs b/crates/jacquard-api/src/pub_leaflet/blocks/header.rs
index c39d89d3..fec95609 100644
--- a/crates/jacquard-api/src/pub_leaflet/blocks/header.rs
+++ b/crates/jacquard-api/src/pub_leaflet/blocks/header.rs
@@ -7,7 +7,7 @@
 
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -17,13 +17,16 @@ use jacquard_derive::IntoStatic;
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::pub_leaflet::richtext::facet::Facet;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::pub_leaflet::richtext::facet::Facet;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Header {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub facets: Option>>,
@@ -68,10 +71,10 @@ impl LexiconSchema for Header {
 }
 
 fn lexicon_doc_pub_leaflet_blocks_header() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("pub.leaflet.blocks.header"),
@@ -104,7 +107,9 @@ fn lexicon_doc_pub_leaflet_blocks_header() -> LexiconDoc<'static> {
                         );
                         map.insert(
                             SmolStr::new_static("plaintext"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map
                     },
@@ -115,4 +120,4 @@ fn lexicon_doc_pub_leaflet_blocks_header() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/pub_leaflet/blocks/horizontal_rule.rs b/crates/jacquard-api/src/pub_leaflet/blocks/horizontal_rule.rs
index 4b51acc9..9a02d016 100644
--- a/crates/jacquard-api/src/pub_leaflet/blocks/horizontal_rule.rs
+++ b/crates/jacquard-api/src/pub_leaflet/blocks/horizontal_rule.rs
@@ -19,10 +19,13 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct HorizontalRule {
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
@@ -44,10 +47,10 @@ impl LexiconSchema for HorizontalRule {
 }
 
 fn lexicon_doc_pub_leaflet_blocks_horizontalRule() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("pub.leaflet.blocks.horizontalRule"),
@@ -69,4 +72,4 @@ fn lexicon_doc_pub_leaflet_blocks_horizontalRule() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/pub_leaflet/blocks/iframe.rs b/crates/jacquard-api/src/pub_leaflet/blocks/iframe.rs
index 50872bba..c337a794 100644
--- a/crates/jacquard-api/src/pub_leaflet/blocks/iframe.rs
+++ b/crates/jacquard-api/src/pub_leaflet/blocks/iframe.rs
@@ -23,10 +23,13 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Iframe {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub height: Option,
@@ -70,7 +73,7 @@ impl LexiconSchema for Iframe {
 
 pub mod iframe_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -181,10 +184,10 @@ where
 }
 
 fn lexicon_doc_pub_leaflet_blocks_iframe() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("pub.leaflet.blocks.iframe"),
@@ -221,4 +224,4 @@ fn lexicon_doc_pub_leaflet_blocks_iframe() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/pub_leaflet/blocks/image.rs b/crates/jacquard-api/src/pub_leaflet/blocks/image.rs
index 5f67304c..62ee5145 100644
--- a/crates/jacquard-api/src/pub_leaflet/blocks/image.rs
+++ b/crates/jacquard-api/src/pub_leaflet/blocks/image.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -21,13 +21,16 @@ use jacquard_derive::IntoStatic;
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::pub_leaflet::blocks::image;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::pub_leaflet::blocks::image;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct AspectRatio {
     pub height: i64,
     pub width: i64,
@@ -35,9 +38,11 @@ pub struct AspectRatio {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Image {
     ///Alt text description of the image, for accessibility.
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -92,19 +97,16 @@ impl LexiconSchema for Image {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["image/*"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("image"),
@@ -120,7 +122,7 @@ impl LexiconSchema for Image {
 
 pub mod aspect_ratio_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -240,10 +242,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> AspectRatio {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> AspectRatio {
         AspectRatio {
             height: self._fields.0.unwrap(),
             width: self._fields.1.unwrap(),
@@ -253,10 +252,10 @@ where
 }
 
 fn lexicon_doc_pub_leaflet_blocks_image() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("pub.leaflet.blocks.image"),
@@ -265,9 +264,10 @@ fn lexicon_doc_pub_leaflet_blocks_image() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("aspectRatio"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![SmolStr::new_static("width"), SmolStr::new_static("height")],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("width"),
+                        SmolStr::new_static("height"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -291,23 +291,19 @@ fn lexicon_doc_pub_leaflet_blocks_image() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("image"),
-                            SmolStr::new_static("aspectRatio")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("image"),
+                        SmolStr::new_static("aspectRatio"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("alt"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "Alt text description of the image, for accessibility.",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Alt text description of the image, for accessibility.",
+                                )),
                                 ..Default::default()
                             }),
                         );
@@ -320,7 +316,9 @@ fn lexicon_doc_pub_leaflet_blocks_image() -> LexiconDoc<'static> {
                         );
                         map.insert(
                             SmolStr::new_static("image"),
-                            LexObjectProperty::Blob(LexBlob { ..Default::default() }),
+                            LexObjectProperty::Blob(LexBlob {
+                                ..Default::default()
+                            }),
                         );
                         map
                     },
@@ -335,7 +333,7 @@ fn lexicon_doc_pub_leaflet_blocks_image() -> LexiconDoc<'static> {
 
 pub mod image_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -477,4 +475,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/pub_leaflet/blocks/math.rs b/crates/jacquard-api/src/pub_leaflet/blocks/math.rs
index 3aa5e475..6bbe1b9b 100644
--- a/crates/jacquard-api/src/pub_leaflet/blocks/math.rs
+++ b/crates/jacquard-api/src/pub_leaflet/blocks/math.rs
@@ -7,7 +7,7 @@
 
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -19,10 +19,13 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Math {
     pub tex: S,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
@@ -45,10 +48,10 @@ impl LexiconSchema for Math {
 }
 
 fn lexicon_doc_pub_leaflet_blocks_math() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("pub.leaflet.blocks.math"),
@@ -63,7 +66,9 @@ fn lexicon_doc_pub_leaflet_blocks_math() -> LexiconDoc<'static> {
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("tex"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map
                     },
@@ -74,4 +79,4 @@ fn lexicon_doc_pub_leaflet_blocks_math() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/pub_leaflet/blocks/ordered_list.rs b/crates/jacquard-api/src/pub_leaflet/blocks/ordered_list.rs
index 253d6287..e1dec30d 100644
--- a/crates/jacquard-api/src/pub_leaflet/blocks/ordered_list.rs
+++ b/crates/jacquard-api/src/pub_leaflet/blocks/ordered_list.rs
@@ -20,17 +20,20 @@ use jacquard_derive::{IntoStatic, open_union};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::pub_leaflet::blocks::header::Header;
 use crate::pub_leaflet::blocks::image::Image;
+use crate::pub_leaflet::blocks::ordered_list;
 use crate::pub_leaflet::blocks::text::Text;
 use crate::pub_leaflet::blocks::unordered_list::UnorderedList;
-use crate::pub_leaflet::blocks::ordered_list;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ListItem {
     ///Nested ordered list items. Mutually exclusive with unorderedListChildren; if both are present, children takes precedence.
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -43,7 +46,6 @@ pub struct ListItem {
     pub extra_data: Option>>,
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -56,9 +58,11 @@ pub enum ListItemContent {
     Image(Box>),
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct OrderedList {
     pub children: Vec>,
     ///The starting number for this ordered list. Defaults to 1 if not specified.
@@ -100,7 +104,7 @@ impl LexiconSchema for OrderedList {
 
 pub mod list_item_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -161,18 +165,12 @@ impl ListItemBuilder {
 
 impl ListItemBuilder {
     /// Set the `children` field (optional)
-    pub fn children(
-        mut self,
-        value: impl Into>>>,
-    ) -> Self {
+    pub fn children(mut self, value: impl Into>>>) -> Self {
         self._fields.0 = value.into();
         self
     }
     /// Set the `children` field to an Option value (optional)
-    pub fn maybe_children(
-        mut self,
-        value: Option>>,
-    ) -> Self {
+    pub fn maybe_children(mut self, value: Option>>) -> Self {
         self._fields.0 = value;
         self
     }
@@ -199,18 +197,12 @@ where
 
 impl ListItemBuilder {
     /// Set the `unorderedListChildren` field (optional)
-    pub fn unordered_list_children(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn unordered_list_children(mut self, value: impl Into>>) -> Self {
         self._fields.2 = value.into();
         self
     }
     /// Set the `unorderedListChildren` field to an Option value (optional)
-    pub fn maybe_unordered_list_children(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_unordered_list_children(mut self, value: Option>) -> Self {
         self._fields.2 = value;
         self
     }
@@ -242,10 +234,10 @@ where
 }
 
 fn lexicon_doc_pub_leaflet_blocks_orderedList() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("pub.leaflet.blocks.orderedList"),
@@ -334,7 +326,7 @@ fn lexicon_doc_pub_leaflet_blocks_orderedList() -> LexiconDoc<'static> {
 
 pub mod ordered_list_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -435,14 +427,11 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> OrderedList {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> OrderedList {
         OrderedList {
             children: self._fields.0.unwrap(),
             start_index: self._fields.1,
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/pub_leaflet/blocks/page.rs b/crates/jacquard-api/src/pub_leaflet/blocks/page.rs
index bbd35969..86ed4f43 100644
--- a/crates/jacquard-api/src/pub_leaflet/blocks/page.rs
+++ b/crates/jacquard-api/src/pub_leaflet/blocks/page.rs
@@ -7,7 +7,7 @@
 
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -19,10 +19,13 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Page {
     pub id: S,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
@@ -45,10 +48,10 @@ impl LexiconSchema for Page {
 }
 
 fn lexicon_doc_pub_leaflet_blocks_page() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("pub.leaflet.blocks.page"),
@@ -63,7 +66,9 @@ fn lexicon_doc_pub_leaflet_blocks_page() -> LexiconDoc<'static> {
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("id"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map
                     },
@@ -74,4 +79,4 @@ fn lexicon_doc_pub_leaflet_blocks_page() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/pub_leaflet/blocks/poll.rs b/crates/jacquard-api/src/pub_leaflet/blocks/poll.rs
index d7bd2f73..01b049fb 100644
--- a/crates/jacquard-api/src/pub_leaflet/blocks/poll.rs
+++ b/crates/jacquard-api/src/pub_leaflet/blocks/poll.rs
@@ -20,13 +20,16 @@ use jacquard_derive::IntoStatic;
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::com_atproto::repo::strong_ref::StrongRef;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::com_atproto::repo::strong_ref::StrongRef;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Poll {
     pub poll_ref: StrongRef,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
@@ -50,7 +53,7 @@ impl LexiconSchema for Poll {
 
 pub mod poll_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -146,10 +149,10 @@ where
 }
 
 fn lexicon_doc_pub_leaflet_blocks_poll() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("pub.leaflet.blocks.poll"),
@@ -178,4 +181,4 @@ fn lexicon_doc_pub_leaflet_blocks_poll() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/pub_leaflet/blocks/text.rs b/crates/jacquard-api/src/pub_leaflet/blocks/text.rs
index 25fd0f03..dd45204a 100644
--- a/crates/jacquard-api/src/pub_leaflet/blocks/text.rs
+++ b/crates/jacquard-api/src/pub_leaflet/blocks/text.rs
@@ -7,7 +7,7 @@
 
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -17,13 +17,16 @@ use jacquard_derive::IntoStatic;
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::pub_leaflet::richtext::facet::Facet;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::pub_leaflet::richtext::facet::Facet;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Text {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub facets: Option>>,
@@ -50,10 +53,10 @@ impl LexiconSchema for Text {
 }
 
 fn lexicon_doc_pub_leaflet_blocks_text() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("pub.leaflet.blocks.text"),
@@ -78,11 +81,15 @@ fn lexicon_doc_pub_leaflet_blocks_text() -> LexiconDoc<'static> {
                         );
                         map.insert(
                             SmolStr::new_static("plaintext"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("textSize"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map
                     },
@@ -93,4 +100,4 @@ fn lexicon_doc_pub_leaflet_blocks_text() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/pub_leaflet/blocks/unordered_list.rs b/crates/jacquard-api/src/pub_leaflet/blocks/unordered_list.rs
index dee0a92f..ba7fe433 100644
--- a/crates/jacquard-api/src/pub_leaflet/blocks/unordered_list.rs
+++ b/crates/jacquard-api/src/pub_leaflet/blocks/unordered_list.rs
@@ -20,17 +20,20 @@ use jacquard_derive::{IntoStatic, open_union};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::pub_leaflet::blocks::header::Header;
 use crate::pub_leaflet::blocks::image::Image;
 use crate::pub_leaflet::blocks::ordered_list::OrderedList;
 use crate::pub_leaflet::blocks::text::Text;
 use crate::pub_leaflet::blocks::unordered_list;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ListItem {
     ///Nested unordered list items. Mutually exclusive with orderedListChildren; if both are present, children takes precedence.
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -43,7 +46,6 @@ pub struct ListItem {
     pub extra_data: Option>>,
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -56,9 +58,11 @@ pub enum ListItemContent {
     Image(Box>),
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct UnorderedList {
     pub children: Vec>,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
@@ -97,7 +101,7 @@ impl LexiconSchema for UnorderedList {
 
 pub mod list_item_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -158,18 +162,12 @@ impl ListItemBuilder {
 
 impl ListItemBuilder {
     /// Set the `children` field (optional)
-    pub fn children(
-        mut self,
-        value: impl Into>>>,
-    ) -> Self {
+    pub fn children(mut self, value: impl Into>>>) -> Self {
         self._fields.0 = value.into();
         self
     }
     /// Set the `children` field to an Option value (optional)
-    pub fn maybe_children(
-        mut self,
-        value: Option>>,
-    ) -> Self {
+    pub fn maybe_children(mut self, value: Option>>) -> Self {
         self._fields.0 = value;
         self
     }
@@ -196,10 +194,7 @@ where
 
 impl ListItemBuilder {
     /// Set the `orderedListChildren` field (optional)
-    pub fn ordered_list_children(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn ordered_list_children(mut self, value: impl Into>>) -> Self {
         self._fields.2 = value.into();
         self
     }
@@ -236,10 +231,10 @@ where
 }
 
 fn lexicon_doc_pub_leaflet_blocks_unorderedList() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("pub.leaflet.blocks.unorderedList"),
@@ -320,7 +315,7 @@ fn lexicon_doc_pub_leaflet_blocks_unorderedList() -> LexiconDoc<'static> {
 
 pub mod unordered_list_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -407,13 +402,10 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> UnorderedList {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> UnorderedList {
         UnorderedList {
             children: self._fields.0.unwrap(),
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/pub_leaflet/blocks/website.rs b/crates/jacquard-api/src/pub_leaflet/blocks/website.rs
index 7e53193e..109cd59d 100644
--- a/crates/jacquard-api/src/pub_leaflet/blocks/website.rs
+++ b/crates/jacquard-api/src/pub_leaflet/blocks/website.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,10 +24,13 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Website {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub description: Option,
@@ -67,19 +70,16 @@ impl LexiconSchema for Website {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["image/*"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("preview_image"),
@@ -95,7 +95,7 @@ impl LexiconSchema for Website {
 
 pub mod website_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -128,7 +128,12 @@ pub mod website_state {
 /// Builder for constructing an instance of this type.
 pub struct WebsiteBuilder {
     _state: PhantomData St>,
-    _fields: (Option, Option>, Option>, Option),
+    _fields: (
+        Option,
+        Option>,
+        Option>,
+        Option,
+    ),
     _type: PhantomData S>,
 }
 
@@ -236,10 +241,10 @@ where
 }
 
 fn lexicon_doc_pub_leaflet_blocks_website() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("pub.leaflet.blocks.website"),
@@ -254,11 +259,15 @@ fn lexicon_doc_pub_leaflet_blocks_website() -> LexiconDoc<'static> {
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("description"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("previewImage"),
-                            LexObjectProperty::Blob(LexBlob { ..Default::default() }),
+                            LexObjectProperty::Blob(LexBlob {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("src"),
@@ -269,7 +278,9 @@ fn lexicon_doc_pub_leaflet_blocks_website() -> LexiconDoc<'static> {
                         );
                         map.insert(
                             SmolStr::new_static("title"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map
                     },
@@ -280,4 +291,4 @@ fn lexicon_doc_pub_leaflet_blocks_website() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/pub_leaflet/comment.rs b/crates/jacquard-api/src/pub_leaflet/comment.rs
index ea8a843f..bf64a139 100644
--- a/crates/jacquard-api/src/pub_leaflet/comment.rs
+++ b/crates/jacquard-api/src/pub_leaflet/comment.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,15 +24,18 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use crate::pub_leaflet::comment;
 use crate::pub_leaflet::pages::linear_document::Quote;
 use crate::pub_leaflet::richtext::facet::Facet;
-use crate::pub_leaflet::comment;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct LinearDocumentQuote {
     pub document: AtUri,
     pub quote: Quote,
@@ -76,9 +79,11 @@ pub struct CommentGetRecordOutput {
     pub value: Comment,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ReplyRef {
     pub parent: AtUri,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
@@ -165,7 +170,7 @@ impl LexiconSchema for ReplyRef {
 
 pub mod linear_document_quote_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -208,10 +213,7 @@ pub mod linear_document_quote_state {
 }
 
 /// Builder for constructing an instance of this type.
-pub struct LinearDocumentQuoteBuilder<
-    S: BosStr,
-    St: linear_document_quote_state::State,
-> {
+pub struct LinearDocumentQuoteBuilder {
     _state: PhantomData St>,
     _fields: (Option>, Option>),
     _type: PhantomData S>,
@@ -288,10 +290,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> LinearDocumentQuote {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> LinearDocumentQuote {
         LinearDocumentQuote {
             document: self._fields.0.unwrap(),
             quote: self._fields.1.unwrap(),
@@ -301,10 +300,10 @@ where
 }
 
 fn lexicon_doc_pub_leaflet_comment() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("pub.leaflet.comment"),
@@ -313,11 +312,10 @@ fn lexicon_doc_pub_leaflet_comment() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("linearDocumentQuote"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("document"), SmolStr::new_static("quote")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("document"),
+                        SmolStr::new_static("quote"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -331,9 +329,7 @@ fn lexicon_doc_pub_leaflet_comment() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("quote"),
                             LexObjectProperty::Ref(LexRef {
-                                r#ref: CowStr::new_static(
-                                    "pub.leaflet.pages.linearDocument#quote",
-                                ),
+                                r#ref: CowStr::new_static("pub.leaflet.pages.linearDocument#quote"),
                                 ..Default::default()
                             }),
                         );
@@ -348,13 +344,11 @@ fn lexicon_doc_pub_leaflet_comment() -> LexiconDoc<'static> {
                     description: Some(CowStr::new_static("Record containing a comment")),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("subject"),
-                                SmolStr::new_static("plaintext"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("subject"),
+                            SmolStr::new_static("plaintext"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -442,7 +436,7 @@ fn lexicon_doc_pub_leaflet_comment() -> LexiconDoc<'static> {
 
 pub mod comment_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -533,18 +527,12 @@ impl CommentBuilder {
 
 impl CommentBuilder {
     /// Set the `attachment` field (optional)
-    pub fn attachment(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn attachment(mut self, value: impl Into>>) -> Self {
         self._fields.0 = value.into();
         self
     }
     /// Set the `attachment` field to an Option value (optional)
-    pub fn maybe_attachment(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_attachment(mut self, value: Option>) -> Self {
         self._fields.0 = value;
         self
     }
@@ -683,7 +671,7 @@ where
 
 pub mod reply_ref_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -776,4 +764,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/pub_leaflet/content.rs b/crates/jacquard-api/src/pub_leaflet/content.rs
index 1e4bbcb1..5701dbfa 100644
--- a/crates/jacquard-api/src/pub_leaflet/content.rs
+++ b/crates/jacquard-api/src/pub_leaflet/content.rs
@@ -20,22 +20,24 @@ use jacquard_derive::{IntoStatic, open_union};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::pub_leaflet::pages::canvas::Canvas;
 use crate::pub_leaflet::pages::linear_document::LinearDocument;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// Content format for leaflet documents
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Content {
     pub pages: Vec>,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -63,7 +65,7 @@ impl LexiconSchema for Content {
 
 pub mod content_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -159,10 +161,10 @@ where
 }
 
 fn lexicon_doc_pub_leaflet_content() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("pub.leaflet.content"),
@@ -171,9 +173,7 @@ fn lexicon_doc_pub_leaflet_content() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("Content format for leaflet documents"),
-                    ),
+                    description: Some(CowStr::new_static("Content format for leaflet documents")),
                     required: Some(vec![SmolStr::new_static("pages")]),
                     properties: {
                         #[allow(unused_mut)]
@@ -184,7 +184,7 @@ fn lexicon_doc_pub_leaflet_content() -> LexiconDoc<'static> {
                                 items: LexArrayItem::Union(LexRefUnion {
                                     refs: vec![
                                         CowStr::new_static("pub.leaflet.pages.linearDocument"),
-                                        CowStr::new_static("pub.leaflet.pages.canvas")
+                                        CowStr::new_static("pub.leaflet.pages.canvas"),
                                     ],
                                     ..Default::default()
                                 }),
@@ -200,4 +200,4 @@ fn lexicon_doc_pub_leaflet_content() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/pub_leaflet/document.rs b/crates/jacquard-api/src/pub_leaflet/document.rs
index b507afb4..97bd2df2 100644
--- a/crates/jacquard-api/src/pub_leaflet/document.rs
+++ b/crates/jacquard-api/src/pub_leaflet/document.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,14 +26,14 @@ use jacquard_derive::{IntoStatic, lexicon, open_union};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::com_atproto::repo::strong_ref::StrongRef;
 use crate::pub_leaflet::pages::canvas::Canvas;
 use crate::pub_leaflet::pages::linear_document::LinearDocument;
 use crate::pub_leaflet::publication::Preferences;
 use crate::pub_leaflet::publication::Theme;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// Record containing a document
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -67,7 +67,6 @@ pub struct Document {
     pub extra_data: Option>>,
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -149,25 +148,23 @@ impl LexiconSchema for Document {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["image/png", "image/jpeg", "image/webp"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("cover_image"),
                         accepted: vec![
-                            "image/png".to_string(), "image/jpeg".to_string(),
-                            "image/webp".to_string()
+                            "image/png".to_string(),
+                            "image/jpeg".to_string(),
+                            "image/webp".to_string(),
                         ],
                         actual: mime.to_string(),
                     });
@@ -226,7 +223,7 @@ impl LexiconSchema for Document {
 
 pub mod document_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -313,7 +310,9 @@ impl DocumentBuilder {
     pub fn new() -> Self {
         DocumentBuilder {
             _state: PhantomData,
-            _fields: (None, None, None, None, None, None, None, None, None, None, None),
+            _fields: (
+                None, None, None, None, None, None, None, None, None, None, None,
+            ),
             _type: PhantomData,
         }
     }
@@ -524,10 +523,10 @@ where
 }
 
 fn lexicon_doc_pub_leaflet_document() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("pub.leaflet.document"),
@@ -536,17 +535,14 @@ fn lexicon_doc_pub_leaflet_document() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static("Record containing a document"),
-                    ),
+                    description: Some(CowStr::new_static("Record containing a document")),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("pages"), SmolStr::new_static("author"),
-                                SmolStr::new_static("title")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("pages"),
+                            SmolStr::new_static("author"),
+                            SmolStr::new_static("title"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -559,7 +555,9 @@ fn lexicon_doc_pub_leaflet_document() -> LexiconDoc<'static> {
                             );
                             map.insert(
                                 SmolStr::new_static("coverImage"),
-                                LexObjectProperty::Blob(LexBlob { ..Default::default() }),
+                                LexObjectProperty::Blob(LexBlob {
+                                    ..Default::default()
+                                }),
                             );
                             map.insert(
                                 SmolStr::new_static("description"),
@@ -575,7 +573,7 @@ fn lexicon_doc_pub_leaflet_document() -> LexiconDoc<'static> {
                                     items: LexArrayItem::Union(LexRefUnion {
                                         refs: vec![
                                             CowStr::new_static("pub.leaflet.pages.linearDocument"),
-                                            CowStr::new_static("pub.leaflet.pages.canvas")
+                                            CowStr::new_static("pub.leaflet.pages.canvas"),
                                         ],
                                         ..Default::default()
                                     }),
@@ -648,4 +646,4 @@ fn lexicon_doc_pub_leaflet_document() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/pub_leaflet/graph.rs b/crates/jacquard-api/src/pub_leaflet/graph.rs
index 061b7c32..f6dd500c 100644
--- a/crates/jacquard-api/src/pub_leaflet/graph.rs
+++ b/crates/jacquard-api/src/pub_leaflet/graph.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod subscription;
\ No newline at end of file
+pub mod subscription;
diff --git a/crates/jacquard-api/src/pub_leaflet/graph/subscription.rs b/crates/jacquard-api/src/pub_leaflet/graph/subscription.rs
index 9ed8e04d..59d19941 100644
--- a/crates/jacquard-api/src/pub_leaflet/graph/subscription.rs
+++ b/crates/jacquard-api/src/pub_leaflet/graph/subscription.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// Record declaring a subscription to a publication
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -103,7 +103,7 @@ impl LexiconSchema for Subscription {
 
 pub mod subscription_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -190,10 +190,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> Subscription {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> Subscription {
         Subscription {
             publication: self._fields.0.unwrap(),
             extra_data: Some(extra_data),
@@ -202,10 +199,10 @@ where
 }
 
 fn lexicon_doc_pub_leaflet_graph_subscription() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("pub.leaflet.graph.subscription"),
@@ -214,11 +211,9 @@ fn lexicon_doc_pub_leaflet_graph_subscription() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static(
-                            "Record declaring a subscription to a publication",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Record declaring a subscription to a publication",
+                    )),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
                         required: Some(vec![SmolStr::new_static("publication")]),
@@ -243,4 +238,4 @@ fn lexicon_doc_pub_leaflet_graph_subscription() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/pub_leaflet/interactions.rs b/crates/jacquard-api/src/pub_leaflet/interactions.rs
index 5462b6fa..f9b14212 100644
--- a/crates/jacquard-api/src/pub_leaflet/interactions.rs
+++ b/crates/jacquard-api/src/pub_leaflet/interactions.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod recommend;
\ No newline at end of file
+pub mod recommend;
diff --git a/crates/jacquard-api/src/pub_leaflet/interactions/recommend.rs b/crates/jacquard-api/src/pub_leaflet/interactions/recommend.rs
index d154e2db..1dd466a8 100644
--- a/crates/jacquard-api/src/pub_leaflet/interactions/recommend.rs
+++ b/crates/jacquard-api/src/pub_leaflet/interactions/recommend.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// Record representing a recommend on a document
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -104,7 +104,7 @@ impl LexiconSchema for Recommend {
 
 pub mod recommend_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -224,10 +224,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> Recommend {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> Recommend {
         Recommend {
             created_at: self._fields.0.unwrap(),
             subject: self._fields.1.unwrap(),
@@ -237,10 +234,10 @@ where
 }
 
 fn lexicon_doc_pub_leaflet_interactions_recommend() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("pub.leaflet.interactions.recommend"),
@@ -249,19 +246,15 @@ fn lexicon_doc_pub_leaflet_interactions_recommend() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static(
-                            "Record representing a recommend on a document",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Record representing a recommend on a document",
+                    )),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("subject"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("subject"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -290,4 +283,4 @@ fn lexicon_doc_pub_leaflet_interactions_recommend() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/pub_leaflet/pages.rs b/crates/jacquard-api/src/pub_leaflet/pages.rs
index 3e0da35e..1e1f5336 100644
--- a/crates/jacquard-api/src/pub_leaflet/pages.rs
+++ b/crates/jacquard-api/src/pub_leaflet/pages.rs
@@ -4,4 +4,4 @@
 // Any manual changes will be overwritten on the next regeneration.
 
 pub mod canvas;
-pub mod linear_document;
\ No newline at end of file
+pub mod linear_document;
diff --git a/crates/jacquard-api/src/pub_leaflet/pages/canvas.rs b/crates/jacquard-api/src/pub_leaflet/pages/canvas.rs
index cdb5a9a7..020c8420 100644
--- a/crates/jacquard-api/src/pub_leaflet/pages/canvas.rs
+++ b/crates/jacquard-api/src/pub_leaflet/pages/canvas.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -20,9 +20,6 @@ use jacquard_derive::{IntoStatic, open_union};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::pub_leaflet::blocks::blockquote::Blockquote;
 use crate::pub_leaflet::blocks::bsky_post::BskyPost;
 use crate::pub_leaflet::blocks::button::Button;
@@ -39,9 +36,15 @@ use crate::pub_leaflet::blocks::text::Text;
 use crate::pub_leaflet::blocks::unordered_list::UnorderedList;
 use crate::pub_leaflet::blocks::website::Website;
 use crate::pub_leaflet::pages::canvas;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Block {
     pub block: BlockBlock,
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -56,7 +59,6 @@ pub struct Block {
     pub extra_data: Option>>,
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -93,9 +95,11 @@ pub enum BlockBlock {
     Button(Box>),
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Canvas {
     pub blocks: Vec>,
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -104,9 +108,11 @@ pub struct Canvas {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Position {
     pub block: Vec,
     pub offset: i64,
@@ -114,9 +120,11 @@ pub struct Position {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Quote {
     pub end: canvas::Position,
     pub start: canvas::Position,
@@ -124,7 +132,6 @@ pub struct Quote {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Hash)]
 pub struct TextAlignCenter;
 impl core::fmt::Display for TextAlignCenter {
@@ -133,7 +140,6 @@ impl core::fmt::Display for TextAlignCenter {
     }
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Hash)]
 pub struct TextAlignLeft;
 impl core::fmt::Display for TextAlignLeft {
@@ -142,7 +148,6 @@ impl core::fmt::Display for TextAlignLeft {
     }
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Hash)]
 pub struct TextAlignRight;
 impl core::fmt::Display for TextAlignRight {
@@ -213,7 +218,7 @@ impl LexiconSchema for Quote {
 
 pub mod block_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -368,10 +373,7 @@ where
     St::Width: block_state::IsUnset,
 {
     /// Set the `width` field (required)
-    pub fn width(
-        mut self,
-        value: impl Into,
-    ) -> BlockBuilder> {
+    pub fn width(mut self, value: impl Into) -> BlockBuilder> {
         self._fields.3 = Option::Some(value.into());
         BlockBuilder {
             _state: PhantomData,
@@ -448,10 +450,10 @@ where
 }
 
 fn lexicon_doc_pub_leaflet_pages_canvas() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("pub.leaflet.pages.canvas"),
@@ -460,12 +462,12 @@ fn lexicon_doc_pub_leaflet_pages_canvas() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("block"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("block"), SmolStr::new_static("x"),
-                            SmolStr::new_static("y"), SmolStr::new_static("width")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("block"),
+                        SmolStr::new_static("x"),
+                        SmolStr::new_static("y"),
+                        SmolStr::new_static("width"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -487,7 +489,7 @@ fn lexicon_doc_pub_leaflet_pages_canvas() -> LexiconDoc<'static> {
                                     CowStr::new_static("pub.leaflet.blocks.bskyPost"),
                                     CowStr::new_static("pub.leaflet.blocks.page"),
                                     CowStr::new_static("pub.leaflet.blocks.poll"),
-                                    CowStr::new_static("pub.leaflet.blocks.button")
+                                    CowStr::new_static("pub.leaflet.blocks.button"),
                                 ],
                                 ..Default::default()
                             }),
@@ -546,7 +548,9 @@ fn lexicon_doc_pub_leaflet_pages_canvas() -> LexiconDoc<'static> {
                         );
                         map.insert(
                             SmolStr::new_static("id"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map
                     },
@@ -556,9 +560,10 @@ fn lexicon_doc_pub_leaflet_pages_canvas() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("position"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![SmolStr::new_static("block"), SmolStr::new_static("offset")],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("block"),
+                        SmolStr::new_static("offset"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -585,9 +590,10 @@ fn lexicon_doc_pub_leaflet_pages_canvas() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("quote"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![SmolStr::new_static("start"), SmolStr::new_static("end")],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("start"),
+                        SmolStr::new_static("end"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -612,15 +618,21 @@ fn lexicon_doc_pub_leaflet_pages_canvas() -> LexiconDoc<'static> {
             );
             map.insert(
                 SmolStr::new_static("textAlignCenter"),
-                LexUserType::Token(LexToken { ..Default::default() }),
+                LexUserType::Token(LexToken {
+                    ..Default::default()
+                }),
             );
             map.insert(
                 SmolStr::new_static("textAlignLeft"),
-                LexUserType::Token(LexToken { ..Default::default() }),
+                LexUserType::Token(LexToken {
+                    ..Default::default()
+                }),
             );
             map.insert(
                 SmolStr::new_static("textAlignRight"),
-                LexUserType::Token(LexToken { ..Default::default() }),
+                LexUserType::Token(LexToken {
+                    ..Default::default()
+                }),
             );
             map
         },
@@ -630,7 +642,7 @@ fn lexicon_doc_pub_leaflet_pages_canvas() -> LexiconDoc<'static> {
 
 pub mod canvas_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -742,7 +754,7 @@ where
 
 pub mod position_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -873,7 +885,7 @@ where
 
 pub mod quote_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1000,4 +1012,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/pub_leaflet/pages/linear_document.rs b/crates/jacquard-api/src/pub_leaflet/pages/linear_document.rs
index fcdb8833..f50a766d 100644
--- a/crates/jacquard-api/src/pub_leaflet/pages/linear_document.rs
+++ b/crates/jacquard-api/src/pub_leaflet/pages/linear_document.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -20,9 +20,6 @@ use jacquard_derive::{IntoStatic, open_union};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::pub_leaflet::blocks::blockquote::Blockquote;
 use crate::pub_leaflet::blocks::bsky_post::BskyPost;
 use crate::pub_leaflet::blocks::button::Button;
@@ -39,9 +36,15 @@ use crate::pub_leaflet::blocks::text::Text;
 use crate::pub_leaflet::blocks::unordered_list::UnorderedList;
 use crate::pub_leaflet::blocks::website::Website;
 use crate::pub_leaflet::pages::linear_document;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Block {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub alignment: Option>,
@@ -50,7 +53,6 @@ pub struct Block {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Debug, Clone, PartialEq, Eq, Hash)]
 pub enum BlockAlignment {
     TextAlignLeft,
@@ -136,7 +138,6 @@ where
     }
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -173,9 +174,11 @@ pub enum BlockBlock {
     Button(Box>),
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct LinearDocument {
     pub blocks: Vec>,
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -184,9 +187,11 @@ pub struct LinearDocument {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Position {
     pub block: Vec,
     pub offset: i64,
@@ -194,9 +199,11 @@ pub struct Position {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Quote {
     pub end: linear_document::Position,
     pub start: linear_document::Position,
@@ -204,7 +211,6 @@ pub struct Quote {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Hash)]
 pub struct TextAlignCenter;
 impl core::fmt::Display for TextAlignCenter {
@@ -213,7 +219,6 @@ impl core::fmt::Display for TextAlignCenter {
     }
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Hash)]
 pub struct TextAlignJustify;
 impl core::fmt::Display for TextAlignJustify {
@@ -222,7 +227,6 @@ impl core::fmt::Display for TextAlignJustify {
     }
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Hash)]
 pub struct TextAlignLeft;
 impl core::fmt::Display for TextAlignLeft {
@@ -231,7 +235,6 @@ impl core::fmt::Display for TextAlignLeft {
     }
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Hash)]
 pub struct TextAlignRight;
 impl core::fmt::Display for TextAlignRight {
@@ -302,7 +305,7 @@ impl LexiconSchema for Quote {
 
 pub mod block_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -413,10 +416,10 @@ where
 }
 
 fn lexicon_doc_pub_leaflet_pages_linearDocument() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("pub.leaflet.pages.linearDocument"),
@@ -431,7 +434,9 @@ fn lexicon_doc_pub_leaflet_pages_linearDocument() -> LexiconDoc<'static> {
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("alignment"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("block"),
@@ -451,7 +456,7 @@ fn lexicon_doc_pub_leaflet_pages_linearDocument() -> LexiconDoc<'static> {
                                     CowStr::new_static("pub.leaflet.blocks.bskyPost"),
                                     CowStr::new_static("pub.leaflet.blocks.page"),
                                     CowStr::new_static("pub.leaflet.blocks.poll"),
-                                    CowStr::new_static("pub.leaflet.blocks.button")
+                                    CowStr::new_static("pub.leaflet.blocks.button"),
                                 ],
                                 ..Default::default()
                             }),
@@ -480,7 +485,9 @@ fn lexicon_doc_pub_leaflet_pages_linearDocument() -> LexiconDoc<'static> {
                         );
                         map.insert(
                             SmolStr::new_static("id"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map
                     },
@@ -490,9 +497,10 @@ fn lexicon_doc_pub_leaflet_pages_linearDocument() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("position"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![SmolStr::new_static("block"), SmolStr::new_static("offset")],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("block"),
+                        SmolStr::new_static("offset"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -519,9 +527,10 @@ fn lexicon_doc_pub_leaflet_pages_linearDocument() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("quote"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![SmolStr::new_static("start"), SmolStr::new_static("end")],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("start"),
+                        SmolStr::new_static("end"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -546,19 +555,27 @@ fn lexicon_doc_pub_leaflet_pages_linearDocument() -> LexiconDoc<'static> {
             );
             map.insert(
                 SmolStr::new_static("textAlignCenter"),
-                LexUserType::Token(LexToken { ..Default::default() }),
+                LexUserType::Token(LexToken {
+                    ..Default::default()
+                }),
             );
             map.insert(
                 SmolStr::new_static("textAlignJustify"),
-                LexUserType::Token(LexToken { ..Default::default() }),
+                LexUserType::Token(LexToken {
+                    ..Default::default()
+                }),
             );
             map.insert(
                 SmolStr::new_static("textAlignLeft"),
-                LexUserType::Token(LexToken { ..Default::default() }),
+                LexUserType::Token(LexToken {
+                    ..Default::default()
+                }),
             );
             map.insert(
                 SmolStr::new_static("textAlignRight"),
-                LexUserType::Token(LexToken { ..Default::default() }),
+                LexUserType::Token(LexToken {
+                    ..Default::default()
+                }),
             );
             map
         },
@@ -568,7 +585,7 @@ fn lexicon_doc_pub_leaflet_pages_linearDocument() -> LexiconDoc<'static> {
 
 pub mod linear_document_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -669,10 +686,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> LinearDocument {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> LinearDocument {
         LinearDocument {
             blocks: self._fields.0.unwrap(),
             id: self._fields.1,
@@ -683,7 +697,7 @@ where
 
 pub mod position_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -814,7 +828,7 @@ where
 
 pub mod quote_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -944,4 +958,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/pub_leaflet/poll.rs b/crates/jacquard-api/src/pub_leaflet/poll.rs
index 33760343..685dd434 100644
--- a/crates/jacquard-api/src/pub_leaflet/poll.rs
+++ b/crates/jacquard-api/src/pub_leaflet/poll.rs
@@ -4,4 +4,4 @@
 // Any manual changes will be overwritten on the next regeneration.
 
 pub mod definition;
-pub mod vote;
\ No newline at end of file
+pub mod vote;
diff --git a/crates/jacquard-api/src/pub_leaflet/poll/definition.rs b/crates/jacquard-api/src/pub_leaflet/poll/definition.rs
index 59794f32..868dd4ee 100644
--- a/crates/jacquard-api/src/pub_leaflet/poll/definition.rs
+++ b/crates/jacquard-api/src/pub_leaflet/poll/definition.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::pub_leaflet::poll::definition;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::pub_leaflet::poll::definition;
+use serde::{Deserialize, Serialize};
 /// Record declaring a poll
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -57,9 +57,11 @@ pub struct DefinitionGetRecordOutput {
     pub value: Definition,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct DefinitionOption {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub text: Option,
@@ -178,7 +180,7 @@ impl LexiconSchema for DefinitionOption {
 
 pub mod definition_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -223,7 +225,11 @@ pub mod definition_state {
 /// Builder for constructing an instance of this type.
 pub struct DefinitionBuilder {
     _state: PhantomData St>,
-    _fields: (Option, Option, Option>>),
+    _fields: (
+        Option,
+        Option,
+        Option>>,
+    ),
     _type: PhantomData S>,
 }
 
@@ -312,10 +318,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> Definition {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> Definition {
         Definition {
             end_date: self._fields.0,
             name: self._fields.1.unwrap(),
@@ -326,10 +329,10 @@ where
 }
 
 fn lexicon_doc_pub_leaflet_poll_definition() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("pub.leaflet.poll.definition"),
@@ -341,11 +344,10 @@ fn lexicon_doc_pub_leaflet_poll_definition() -> LexiconDoc<'static> {
                     description: Some(CowStr::new_static("Record declaring a poll")),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("name"), SmolStr::new_static("options")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("name"),
+                            SmolStr::new_static("options"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -404,4 +406,4 @@ fn lexicon_doc_pub_leaflet_poll_definition() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/pub_leaflet/poll/vote.rs b/crates/jacquard-api/src/pub_leaflet/poll/vote.rs
index 16db8c32..ae30d485 100644
--- a/crates/jacquard-api/src/pub_leaflet/poll/vote.rs
+++ b/crates/jacquard-api/src/pub_leaflet/poll/vote.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::com_atproto::repo::strong_ref::StrongRef;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::com_atproto::repo::strong_ref::StrongRef;
+use serde::{Deserialize, Serialize};
 /// Record declaring a vote on a poll
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -105,7 +105,7 @@ impl LexiconSchema for Vote {
 
 pub mod vote_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -178,10 +178,7 @@ where
     St::Option: vote_state::IsUnset,
 {
     /// Set the `option` field (required)
-    pub fn option(
-        mut self,
-        value: impl Into>,
-    ) -> VoteBuilder> {
+    pub fn option(mut self, value: impl Into>) -> VoteBuilder> {
         self._fields.0 = Option::Some(value.into());
         VoteBuilder {
             _state: PhantomData,
@@ -235,10 +232,10 @@ where
 }
 
 fn lexicon_doc_pub_leaflet_poll_vote() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("pub.leaflet.poll.vote"),
@@ -247,16 +244,13 @@ fn lexicon_doc_pub_leaflet_poll_vote() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static("Record declaring a vote on a poll"),
-                    ),
+                    description: Some(CowStr::new_static("Record declaring a vote on a poll")),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("poll"), SmolStr::new_static("option")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("poll"),
+                            SmolStr::new_static("option"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -287,4 +281,4 @@ fn lexicon_doc_pub_leaflet_poll_vote() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/pub_leaflet/publication.rs b/crates/jacquard-api/src/pub_leaflet/publication.rs
index ce29a5c1..cac19398 100644
--- a/crates/jacquard-api/src/pub_leaflet/publication.rs
+++ b/crates/jacquard-api/src/pub_leaflet/publication.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -25,13 +25,13 @@ use jacquard_derive::{IntoStatic, lexicon, open_union};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use crate::pub_leaflet::publication;
 use crate::pub_leaflet::theme::background_image::BackgroundImage;
 use crate::pub_leaflet::theme::color::Rgb;
 use crate::pub_leaflet::theme::color::Rgba;
-use crate::pub_leaflet::publication;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// Record declaring a publication
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -68,9 +68,11 @@ pub struct PublicationGetRecordOutput {
     pub value: Publication,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Preferences {
     /// Defaults to `true`.
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -96,9 +98,11 @@ pub struct Preferences {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Theme {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub accent_background: Option>,
@@ -126,7 +130,6 @@ pub struct Theme {
     pub extra_data: Option>>,
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -137,7 +140,6 @@ pub enum ThemeAccentBackground {
     ColorRgb(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -148,7 +150,6 @@ pub enum ThemeAccentText {
     ColorRgb(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -159,7 +160,6 @@ pub enum ThemeBackgroundColor {
     ColorRgb(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -170,7 +170,6 @@ pub enum ThemePageBackground {
     ColorRgb(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -251,19 +250,16 @@ impl LexiconSchema for Publication {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["image/*"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("icon"),
@@ -358,7 +354,7 @@ impl LexiconSchema for Theme {
 
 pub mod publication_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -480,18 +476,12 @@ where
 
 impl PublicationBuilder {
     /// Set the `preferences` field (optional)
-    pub fn preferences(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn preferences(mut self, value: impl Into>>) -> Self {
         self._fields.4 = value.into();
         self
     }
     /// Set the `preferences` field to an Option value (optional)
-    pub fn maybe_preferences(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_preferences(mut self, value: Option>) -> Self {
         self._fields.4 = value;
         self
     }
@@ -528,10 +518,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> Publication {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> Publication {
         Publication {
             base_path: self._fields.0,
             description: self._fields.1,
@@ -545,10 +532,10 @@ where
 }
 
 fn lexicon_doc_pub_leaflet_publication() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("pub.leaflet.publication"),
@@ -557,9 +544,7 @@ fn lexicon_doc_pub_leaflet_publication() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static("Record declaring a publication"),
-                    ),
+                    description: Some(CowStr::new_static("Record declaring a publication")),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
                         required: Some(vec![SmolStr::new_static("name")]),
@@ -581,7 +566,9 @@ fn lexicon_doc_pub_leaflet_publication() -> LexiconDoc<'static> {
                             );
                             map.insert(
                                 SmolStr::new_static("icon"),
-                                LexObjectProperty::Blob(LexBlob { ..Default::default() }),
+                                LexObjectProperty::Blob(LexBlob {
+                                    ..Default::default()
+                                }),
                             );
                             map.insert(
                                 SmolStr::new_static("name"),
@@ -663,7 +650,7 @@ fn lexicon_doc_pub_leaflet_publication() -> LexiconDoc<'static> {
                             LexObjectProperty::Union(LexRefUnion {
                                 refs: vec![
                                     CowStr::new_static("pub.leaflet.theme.color#rgba"),
-                                    CowStr::new_static("pub.leaflet.theme.color#rgb")
+                                    CowStr::new_static("pub.leaflet.theme.color#rgb"),
                                 ],
                                 ..Default::default()
                             }),
@@ -673,7 +660,7 @@ fn lexicon_doc_pub_leaflet_publication() -> LexiconDoc<'static> {
                             LexObjectProperty::Union(LexRefUnion {
                                 refs: vec![
                                     CowStr::new_static("pub.leaflet.theme.color#rgba"),
-                                    CowStr::new_static("pub.leaflet.theme.color#rgb")
+                                    CowStr::new_static("pub.leaflet.theme.color#rgb"),
                                 ],
                                 ..Default::default()
                             }),
@@ -683,7 +670,7 @@ fn lexicon_doc_pub_leaflet_publication() -> LexiconDoc<'static> {
                             LexObjectProperty::Union(LexRefUnion {
                                 refs: vec![
                                     CowStr::new_static("pub.leaflet.theme.color#rgba"),
-                                    CowStr::new_static("pub.leaflet.theme.color#rgb")
+                                    CowStr::new_static("pub.leaflet.theme.color#rgb"),
                                 ],
                                 ..Default::default()
                             }),
@@ -691,9 +678,7 @@ fn lexicon_doc_pub_leaflet_publication() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("backgroundImage"),
                             LexObjectProperty::Ref(LexRef {
-                                r#ref: CowStr::new_static(
-                                    "pub.leaflet.theme.backgroundImage",
-                                ),
+                                r#ref: CowStr::new_static("pub.leaflet.theme.backgroundImage"),
                                 ..Default::default()
                             }),
                         );
@@ -716,7 +701,7 @@ fn lexicon_doc_pub_leaflet_publication() -> LexiconDoc<'static> {
                             LexObjectProperty::Union(LexRefUnion {
                                 refs: vec![
                                     CowStr::new_static("pub.leaflet.theme.color#rgba"),
-                                    CowStr::new_static("pub.leaflet.theme.color#rgb")
+                                    CowStr::new_static("pub.leaflet.theme.color#rgb"),
                                 ],
                                 ..Default::default()
                             }),
@@ -734,7 +719,7 @@ fn lexicon_doc_pub_leaflet_publication() -> LexiconDoc<'static> {
                             LexObjectProperty::Union(LexRefUnion {
                                 refs: vec![
                                     CowStr::new_static("pub.leaflet.theme.color#rgba"),
-                                    CowStr::new_static("pub.leaflet.theme.color#rgb")
+                                    CowStr::new_static("pub.leaflet.theme.color#rgb"),
                                 ],
                                 ..Default::default()
                             }),
@@ -809,4 +794,4 @@ impl Default for Theme {
             extra_data: Default::default(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/pub_leaflet/richtext.rs b/crates/jacquard-api/src/pub_leaflet/richtext.rs
index b7b3177b..3bf124e6 100644
--- a/crates/jacquard-api/src/pub_leaflet/richtext.rs
+++ b/crates/jacquard-api/src/pub_leaflet/richtext.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod facet;
\ No newline at end of file
+pub mod facet;
diff --git a/crates/jacquard-api/src/pub_leaflet/richtext/facet.rs b/crates/jacquard-api/src/pub_leaflet/richtext/facet.rs
index 8a925f88..92a40b92 100644
--- a/crates/jacquard-api/src/pub_leaflet/richtext/facet.rs
+++ b/crates/jacquard-api/src/pub_leaflet/richtext/facet.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -21,14 +21,17 @@ use jacquard_derive::{IntoStatic, open_union};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::pub_leaflet::richtext::facet;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::pub_leaflet::richtext::facet;
+use serde::{Deserialize, Serialize};
 /// Facet feature for mentioning an AT URI.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct AtMention {
     pub at_uri: UriValue,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
@@ -38,7 +41,10 @@ pub struct AtMention {
 /// Facet feature for bold text
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Bold {
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
@@ -47,7 +53,10 @@ pub struct Bold {
 /// Specifies the sub-string range a facet feature applies to. Start index is inclusive, end index is exclusive. Indices are zero-indexed, counting bytes of the UTF-8 encoded text. NOTE: some languages, like Javascript, use UTF-16 or Unicode codepoints for string slice indexing; in these languages, convert to byte arrays before working with facets.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ByteSlice {
     pub byte_end: i64,
     pub byte_start: i64,
@@ -58,7 +67,10 @@ pub struct ByteSlice {
 /// Facet feature for inline code.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Code {
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
@@ -67,7 +79,10 @@ pub struct Code {
 /// Facet feature for mentioning a did.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct DidMention {
     pub did: Did,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
@@ -77,7 +92,10 @@ pub struct DidMention {
 /// Facet feature for a footnote reference
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Footnote {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub content_facets: Option>>,
@@ -90,7 +108,10 @@ pub struct Footnote {
 /// Facet feature for highlighted text.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Highlight {
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
@@ -99,7 +120,10 @@ pub struct Highlight {
 /// Facet feature for an identifier. Used for linking to a segment
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Id {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub id: Option,
@@ -110,7 +134,10 @@ pub struct Id {
 /// Facet feature for italic text
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Italic {
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
@@ -119,7 +146,10 @@ pub struct Italic {
 /// Facet feature for a URL. The text URL may have been simplified or truncated, but the facet reference should be a complete URL.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Link {
     pub uri: S,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
@@ -129,7 +159,10 @@ pub struct Link {
 /// Annotation of a sub-string within rich text.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Facet {
     pub features: Vec>,
     pub index: facet::ByteSlice,
@@ -137,7 +170,6 @@ pub struct Facet {
     pub extra_data: Option>>,
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -169,7 +201,10 @@ pub enum FacetFeaturesItem {
 /// Facet feature for strikethrough markup
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Strikethrough {
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
@@ -178,7 +213,10 @@ pub struct Strikethrough {
 /// Facet feature for underline markup
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Underline {
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
@@ -401,7 +439,7 @@ impl LexiconSchema for Underline {
 
 pub mod at_mention_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -488,10 +526,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> AtMention {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> AtMention {
         AtMention {
             at_uri: self._fields.0.unwrap(),
             extra_data: Some(extra_data),
@@ -500,10 +535,10 @@ where
 }
 
 fn lexicon_doc_pub_leaflet_richtext_facet() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("pub.leaflet.richtext.facet"),
@@ -512,9 +547,9 @@ fn lexicon_doc_pub_leaflet_richtext_facet() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("atMention"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("Facet feature for mentioning an AT URI."),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Facet feature for mentioning an AT URI.",
+                    )),
                     required: Some(vec![SmolStr::new_static("atURI")]),
                     properties: {
                         #[allow(unused_mut)]
@@ -583,9 +618,7 @@ fn lexicon_doc_pub_leaflet_richtext_facet() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("code"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("Facet feature for inline code."),
-                    ),
+                    description: Some(CowStr::new_static("Facet feature for inline code.")),
                     required: Some(vec![]),
                     properties: {
                         #[allow(unused_mut)]
@@ -598,9 +631,7 @@ fn lexicon_doc_pub_leaflet_richtext_facet() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("didMention"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("Facet feature for mentioning a did."),
-                    ),
+                    description: Some(CowStr::new_static("Facet feature for mentioning a did.")),
                     required: Some(vec![SmolStr::new_static("did")]),
                     properties: {
                         #[allow(unused_mut)]
@@ -620,15 +651,11 @@ fn lexicon_doc_pub_leaflet_richtext_facet() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("footnote"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("Facet feature for a footnote reference"),
-                    ),
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("footnoteId"),
-                            SmolStr::new_static("contentPlaintext")
-                        ],
-                    ),
+                    description: Some(CowStr::new_static("Facet feature for a footnote reference")),
+                    required: Some(vec![
+                        SmolStr::new_static("footnoteId"),
+                        SmolStr::new_static("contentPlaintext"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -644,11 +671,15 @@ fn lexicon_doc_pub_leaflet_richtext_facet() -> LexiconDoc<'static> {
                         );
                         map.insert(
                             SmolStr::new_static("contentPlaintext"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("footnoteId"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map
                     },
@@ -658,9 +689,7 @@ fn lexicon_doc_pub_leaflet_richtext_facet() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("highlight"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("Facet feature for highlighted text."),
-                    ),
+                    description: Some(CowStr::new_static("Facet feature for highlighted text.")),
                     required: Some(vec![]),
                     properties: {
                         #[allow(unused_mut)]
@@ -673,18 +702,18 @@ fn lexicon_doc_pub_leaflet_richtext_facet() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("id"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static(
-                            "Facet feature for an identifier. Used for linking to a segment",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Facet feature for an identifier. Used for linking to a segment",
+                    )),
                     required: Some(vec![]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("id"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map
                     },
@@ -694,9 +723,7 @@ fn lexicon_doc_pub_leaflet_richtext_facet() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("italic"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("Facet feature for italic text"),
-                    ),
+                    description: Some(CowStr::new_static("Facet feature for italic text")),
                     required: Some(vec![]),
                     properties: {
                         #[allow(unused_mut)]
@@ -730,16 +757,13 @@ fn lexicon_doc_pub_leaflet_richtext_facet() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static(
-                            "Annotation of a sub-string within rich text.",
-                        ),
-                    ),
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("index"), SmolStr::new_static("features")
-                        ],
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Annotation of a sub-string within rich text.",
+                    )),
+                    required: Some(vec![
+                        SmolStr::new_static("index"),
+                        SmolStr::new_static("features"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -755,9 +779,10 @@ fn lexicon_doc_pub_leaflet_richtext_facet() -> LexiconDoc<'static> {
                                         CowStr::new_static("#highlight"),
                                         CowStr::new_static("#underline"),
                                         CowStr::new_static("#strikethrough"),
-                                        CowStr::new_static("#id"), CowStr::new_static("#bold"),
+                                        CowStr::new_static("#id"),
+                                        CowStr::new_static("#bold"),
                                         CowStr::new_static("#italic"),
-                                        CowStr::new_static("#footnote")
+                                        CowStr::new_static("#footnote"),
                                     ],
                                     ..Default::default()
                                 }),
@@ -779,9 +804,7 @@ fn lexicon_doc_pub_leaflet_richtext_facet() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("strikethrough"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("Facet feature for strikethrough markup"),
-                    ),
+                    description: Some(CowStr::new_static("Facet feature for strikethrough markup")),
                     required: Some(vec![]),
                     properties: {
                         #[allow(unused_mut)]
@@ -794,9 +817,7 @@ fn lexicon_doc_pub_leaflet_richtext_facet() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("underline"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("Facet feature for underline markup"),
-                    ),
+                    description: Some(CowStr::new_static("Facet feature for underline markup")),
                     required: Some(vec![]),
                     properties: {
                         #[allow(unused_mut)]
@@ -814,7 +835,7 @@ fn lexicon_doc_pub_leaflet_richtext_facet() -> LexiconDoc<'static> {
 
 pub mod byte_slice_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -934,10 +955,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> ByteSlice {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> ByteSlice {
         ByteSlice {
             byte_end: self._fields.0.unwrap(),
             byte_start: self._fields.1.unwrap(),
@@ -948,7 +966,7 @@ where
 
 pub mod did_mention_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1035,10 +1053,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> DidMention {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> DidMention {
         DidMention {
             did: self._fields.0.unwrap(),
             extra_data: Some(extra_data),
@@ -1048,7 +1063,7 @@ where
 
 pub mod facet_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1093,7 +1108,10 @@ pub mod facet_state {
 /// Builder for constructing an instance of this type.
 pub struct FacetBuilder {
     _state: PhantomData St>,
-    _fields: (Option>>, Option>),
+    _fields: (
+        Option>>,
+        Option>,
+    ),
     _type: PhantomData S>,
 }
 
@@ -1175,4 +1193,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/pub_leaflet/theme.rs b/crates/jacquard-api/src/pub_leaflet/theme.rs
index d6ffee13..b457637b 100644
--- a/crates/jacquard-api/src/pub_leaflet/theme.rs
+++ b/crates/jacquard-api/src/pub_leaflet/theme.rs
@@ -4,4 +4,4 @@
 // Any manual changes will be overwritten on the next regeneration.
 
 pub mod background_image;
-pub mod color;
\ No newline at end of file
+pub mod color;
diff --git a/crates/jacquard-api/src/pub_leaflet/theme/background_image.rs b/crates/jacquard-api/src/pub_leaflet/theme/background_image.rs
index 96b8a154..a6e58101 100644
--- a/crates/jacquard-api/src/pub_leaflet/theme/background_image.rs
+++ b/crates/jacquard-api/src/pub_leaflet/theme/background_image.rs
@@ -23,10 +23,13 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct BackgroundImage {
     pub image: BlobRef,
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -66,19 +69,16 @@ impl LexiconSchema for BackgroundImage {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["image/*"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("image"),
@@ -94,7 +94,7 @@ impl LexiconSchema for BackgroundImage {
 
 pub mod background_image_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -209,10 +209,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> BackgroundImage {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> BackgroundImage {
         BackgroundImage {
             image: self._fields.0.unwrap(),
             repeat: self._fields.1,
@@ -223,10 +220,10 @@ where
 }
 
 fn lexicon_doc_pub_leaflet_theme_backgroundImage() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("pub.leaflet.theme.backgroundImage"),
@@ -241,7 +238,9 @@ fn lexicon_doc_pub_leaflet_theme_backgroundImage() -> LexiconDoc<'static> {
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("image"),
-                            LexObjectProperty::Blob(LexBlob { ..Default::default() }),
+                            LexObjectProperty::Blob(LexBlob {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("repeat"),
@@ -264,4 +263,4 @@ fn lexicon_doc_pub_leaflet_theme_backgroundImage() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/pub_leaflet/theme/color.rs b/crates/jacquard-api/src/pub_leaflet/theme/color.rs
index 915a9167..d1c99e43 100644
--- a/crates/jacquard-api/src/pub_leaflet/theme/color.rs
+++ b/crates/jacquard-api/src/pub_leaflet/theme/color.rs
@@ -22,10 +22,13 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Rgb {
     pub b: i64,
     pub g: i64,
@@ -34,9 +37,11 @@ pub struct Rgb {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Rgba {
     pub a: i64,
     pub b: i64,
@@ -218,7 +223,7 @@ impl LexiconSchema for Rgba {
 
 pub mod rgb_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -375,10 +380,10 @@ where
 }
 
 fn lexicon_doc_pub_leaflet_theme_color() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("pub.leaflet.theme.color"),
@@ -387,12 +392,11 @@ fn lexicon_doc_pub_leaflet_theme_color() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("rgb"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("r"), SmolStr::new_static("g"),
-                            SmolStr::new_static("b")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("r"),
+                        SmolStr::new_static("g"),
+                        SmolStr::new_static("b"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -428,12 +432,12 @@ fn lexicon_doc_pub_leaflet_theme_color() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("rgba"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("r"), SmolStr::new_static("g"),
-                            SmolStr::new_static("b"), SmolStr::new_static("a")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("r"),
+                        SmolStr::new_static("g"),
+                        SmolStr::new_static("b"),
+                        SmolStr::new_static("a"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -482,7 +486,7 @@ fn lexicon_doc_pub_leaflet_theme_color() -> LexiconDoc<'static> {
 
 pub mod rgba_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -671,4 +675,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/pub_quizzy.rs b/crates/jacquard-api/src/pub_quizzy.rs
index 35f98b4b..abea2d1e 100644
--- a/crates/jacquard-api/src/pub_quizzy.rs
+++ b/crates/jacquard-api/src/pub_quizzy.rs
@@ -11,4 +11,4 @@ pub mod quiz_begin;
 pub mod quiz_done;
 pub mod quiz_score;
 pub mod team;
-pub mod team_score;
\ No newline at end of file
+pub mod team_score;
diff --git a/crates/jacquard-api/src/pub_quizzy/answer.rs b/crates/jacquard-api/src/pub_quizzy/answer.rs
index 4a9aef2e..17de522f 100644
--- a/crates/jacquard-api/src/pub_quizzy/answer.rs
+++ b/crates/jacquard-api/src/pub_quizzy/answer.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::com_atproto::repo::strong_ref::StrongRef;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::com_atproto::repo::strong_ref::StrongRef;
+use serde::{Deserialize, Serialize};
 /// A person's answer to a question
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -222,7 +222,7 @@ impl LexiconSchema for Answer {
 
 pub mod answer_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -368,10 +368,7 @@ where
     St::Text: answer_state::IsUnset,
 {
     /// Set the `text` field (required)
-    pub fn text(
-        mut self,
-        value: impl Into,
-    ) -> AnswerBuilder> {
+    pub fn text(mut self, value: impl Into) -> AnswerBuilder> {
         self._fields.2 = Option::Some(value.into());
         AnswerBuilder {
             _state: PhantomData,
@@ -431,10 +428,10 @@ where
 }
 
 fn lexicon_doc_pub_quizzy_answer() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("pub.quizzy.answer"),
@@ -443,30 +440,24 @@ fn lexicon_doc_pub_quizzy_answer() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static("A person's answer to a question"),
-                    ),
+                    description: Some(CowStr::new_static("A person's answer to a question")),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("question"),
-                                SmolStr::new_static("text"),
-                                SmolStr::new_static("certainty"),
-                                SmolStr::new_static("timestamp")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("question"),
+                            SmolStr::new_static("text"),
+                            SmolStr::new_static("certainty"),
+                            SmolStr::new_static("timestamp"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
                             map.insert(
                                 SmolStr::new_static("certainty"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "How certain the person is about this answer",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "How certain the person is about this answer",
+                                    )),
                                     ..Default::default()
                                 }),
                             );
@@ -489,9 +480,9 @@ fn lexicon_doc_pub_quizzy_answer() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("timestamp"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("When this answer was submitted"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "When this answer was submitted",
+                                    )),
                                     format: Some(LexStringFormat::Datetime),
                                     ..Default::default()
                                 }),
@@ -507,4 +498,4 @@ fn lexicon_doc_pub_quizzy_answer() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/pub_quizzy/league.rs b/crates/jacquard-api/src/pub_quizzy/league.rs
index 257175c6..eb92e3c0 100644
--- a/crates/jacquard-api/src/pub_quizzy/league.rs
+++ b/crates/jacquard-api/src/pub_quizzy/league.rs
@@ -10,13 +10,13 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::collection::{Collection, RecordError};
-use jacquard_common::types::string::{Did, AtUri, Cid};
+use jacquard_common::types::string::{AtUri, Cid, Did};
 use jacquard_common::types::uri::{RecordUri, UriError};
 use jacquard_common::types::value::Data;
 use jacquard_common::xrpc::XrpcResp;
@@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::com_atproto::repo::strong_ref::StrongRef;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::com_atproto::repo::strong_ref::StrongRef;
+use serde::{Deserialize, Serialize};
 /// A quiz league with quiz masters and teams
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -166,7 +166,7 @@ impl LexiconSchema for League {
 
 pub mod league_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -253,10 +253,7 @@ where
     St::Name: league_state::IsUnset,
 {
     /// Set the `name` field (required)
-    pub fn name(
-        mut self,
-        value: impl Into,
-    ) -> LeagueBuilder> {
+    pub fn name(mut self, value: impl Into) -> LeagueBuilder> {
         self._fields.0 = Option::Some(value.into());
         LeagueBuilder {
             _state: PhantomData,
@@ -332,10 +329,10 @@ where
 }
 
 fn lexicon_doc_pub_quizzy_league() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("pub.quizzy.league"),
@@ -344,18 +341,16 @@ fn lexicon_doc_pub_quizzy_league() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static("A quiz league with quiz masters and teams"),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "A quiz league with quiz masters and teams",
+                    )),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("name"),
-                                SmolStr::new_static("quizMasters"),
-                                SmolStr::new_static("teams")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("name"),
+                            SmolStr::new_static("quizMasters"),
+                            SmolStr::new_static("teams"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -371,11 +366,9 @@ fn lexicon_doc_pub_quizzy_league() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("quizMasters"),
                                 LexObjectProperty::Array(LexArray {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "DIDs of quiz masters who can run quizzes for this league",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "DIDs of quiz masters who can run quizzes for this league",
+                                    )),
                                     items: LexArrayItem::String(LexString {
                                         format: Some(LexStringFormat::Did),
                                         ..Default::default()
@@ -388,9 +381,9 @@ fn lexicon_doc_pub_quizzy_league() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("teams"),
                                 LexObjectProperty::Array(LexArray {
-                                    description: Some(
-                                        CowStr::new_static("Teams participating in this league"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Teams participating in this league",
+                                    )),
                                     items: LexArrayItem::Ref(LexRef {
                                         r#ref: CowStr::new_static("com.atproto.repo.strongRef"),
                                         ..Default::default()
@@ -410,4 +403,4 @@ fn lexicon_doc_pub_quizzy_league() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/pub_quizzy/profile.rs b/crates/jacquard-api/src/pub_quizzy/profile.rs
index 82185244..700811ad 100644
--- a/crates/jacquard-api/src/pub_quizzy/profile.rs
+++ b/crates/jacquard-api/src/pub_quizzy/profile.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -27,7 +27,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// Details about this person's account
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -123,25 +123,20 @@ impl LexiconSchema for Profile {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["image/png", "image/jpeg"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("avatar"),
-                        accepted: vec![
-                            "image/png".to_string(), "image/jpeg".to_string()
-                        ],
+                        accepted: vec!["image/png".to_string(), "image/jpeg".to_string()],
                         actual: mime.to_string(),
                     });
                 }
@@ -219,7 +214,7 @@ impl LexiconSchema for Profile {
 
 pub mod profile_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -340,10 +335,10 @@ where
 }
 
 fn lexicon_doc_pub_quizzy_profile() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("pub.quizzy.profile"),
@@ -352,9 +347,7 @@ fn lexicon_doc_pub_quizzy_profile() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static("Details about this person's account"),
-                    ),
+                    description: Some(CowStr::new_static("Details about this person's account")),
                     key: Some(CowStr::new_static("literal:self")),
                     record: LexRecordRecord::Object(LexObject {
                         properties: {
@@ -362,7 +355,9 @@ fn lexicon_doc_pub_quizzy_profile() -> LexiconDoc<'static> {
                             let mut map = BTreeMap::new();
                             map.insert(
                                 SmolStr::new_static("avatar"),
-                                LexObjectProperty::Blob(LexBlob { ..Default::default() }),
+                                LexObjectProperty::Blob(LexBlob {
+                                    ..Default::default()
+                                }),
                             );
                             map.insert(
                                 SmolStr::new_static("avatarAlt"),
@@ -375,9 +370,9 @@ fn lexicon_doc_pub_quizzy_profile() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("description"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("Free-form profile description text."),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Free-form profile description text.",
+                                    )),
                                     max_length: Some(2560usize),
                                     max_graphemes: Some(256usize),
                                     ..Default::default()
@@ -402,4 +397,4 @@ fn lexicon_doc_pub_quizzy_profile() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/pub_quizzy/quiz.rs b/crates/jacquard-api/src/pub_quizzy/quiz.rs
index 217fd619..17e189cd 100644
--- a/crates/jacquard-api/src/pub_quizzy/quiz.rs
+++ b/crates/jacquard-api/src/pub_quizzy/quiz.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,11 +24,11 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::com_atproto::repo::strong_ref::StrongRef;
 use crate::pub_quizzy::quiz;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// A quiz containing one or more rounds of questions
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -79,7 +79,10 @@ pub struct QuizGetRecordOutput {
 /// Reference to a question with its point value
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct QuestionRef {
     ///A custom name for this question, as opposed to its number
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -96,7 +99,10 @@ pub struct QuestionRef {
 /// A round within a quiz
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Round {
     ///Ordered list of questions in this round
     pub questions: Vec>,
@@ -336,7 +342,7 @@ fn _default_quiz_has_visuals() -> Option {
 
 pub mod quiz_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -557,10 +563,7 @@ where
     St::Title: quiz_state::IsUnset,
 {
     /// Set the `title` field (required)
-    pub fn title(
-        mut self,
-        value: impl Into,
-    ) -> QuizBuilder> {
+    pub fn title(mut self, value: impl Into) -> QuizBuilder> {
         self._fields.7 = Option::Some(value.into());
         QuizBuilder {
             _state: PhantomData,
@@ -609,10 +612,10 @@ where
 }
 
 fn lexicon_doc_pub_quizzy_quiz() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("pub.quizzy.quiz"),
@@ -729,11 +732,9 @@ fn lexicon_doc_pub_quizzy_quiz() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("questionRef"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static(
-                            "Reference to a question with its point value",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Reference to a question with its point value",
+                    )),
                     required: Some(vec![SmolStr::new_static("question")]),
                     properties: {
                         #[allow(unused_mut)]
@@ -741,11 +742,9 @@ fn lexicon_doc_pub_quizzy_quiz() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("name"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "A custom name for this question, as opposed to its number",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "A custom name for this question, as opposed to its number",
+                                )),
                                 max_length: Some(16usize),
                                 max_graphemes: Some(160usize),
                                 ..Default::default()
@@ -781,11 +780,9 @@ fn lexicon_doc_pub_quizzy_quiz() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("questions"),
                             LexObjectProperty::Array(LexArray {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "Ordered list of questions in this round",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Ordered list of questions in this round",
+                                )),
                                 items: LexArrayItem::Ref(LexRef {
                                     r#ref: CowStr::new_static("#questionRef"),
                                     ..Default::default()
@@ -798,11 +795,9 @@ fn lexicon_doc_pub_quizzy_quiz() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("title"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "Optional title for this round (requires locale if set)",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Optional title for this round (requires locale if set)",
+                                )),
                                 max_length: Some(1000usize),
                                 max_graphemes: Some(100usize),
                                 ..Default::default()
@@ -825,7 +820,7 @@ fn _default_question_ref_points() -> Option {
 
 pub mod question_ref_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -940,10 +935,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> QuestionRef {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> QuestionRef {
         QuestionRef {
             name: self._fields.0,
             points: self._fields.1.or_else(|| Some(1i64)),
@@ -955,7 +947,7 @@ where
 
 pub mod round_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1063,4 +1055,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/pub_quizzy/quiz_begin.rs b/crates/jacquard-api/src/pub_quizzy/quiz_begin.rs
index fac29e0c..8c014ad5 100644
--- a/crates/jacquard-api/src/pub_quizzy/quiz_begin.rs
+++ b/crates/jacquard-api/src/pub_quizzy/quiz_begin.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::com_atproto::repo::strong_ref::StrongRef;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::com_atproto::repo::strong_ref::StrongRef;
+use serde::{Deserialize, Serialize};
 /// Marks the start of a quiz session
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -111,7 +111,7 @@ impl LexiconSchema for QuizBegin {
 
 pub mod quiz_begin_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -308,10 +308,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> QuizBegin {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> QuizBegin {
         QuizBegin {
             ends_at: self._fields.0.unwrap(),
             league: self._fields.1.unwrap(),
@@ -323,10 +320,10 @@ where
 }
 
 fn lexicon_doc_pub_quizzy_quizBegin() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("pub.quizzy.quizBegin"),
@@ -335,18 +332,15 @@ fn lexicon_doc_pub_quizzy_quizBegin() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static("Marks the start of a quiz session"),
-                    ),
+                    description: Some(CowStr::new_static("Marks the start of a quiz session")),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("league"), SmolStr::new_static("quiz"),
-                                SmolStr::new_static("startedAt"),
-                                SmolStr::new_static("endsAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("league"),
+                            SmolStr::new_static("quiz"),
+                            SmolStr::new_static("startedAt"),
+                            SmolStr::new_static("endsAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -375,9 +369,7 @@ fn lexicon_doc_pub_quizzy_quizBegin() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("startedAt"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("When the quiz starts"),
-                                    ),
+                                    description: Some(CowStr::new_static("When the quiz starts")),
                                     format: Some(LexStringFormat::Datetime),
                                     ..Default::default()
                                 }),
@@ -393,4 +385,4 @@ fn lexicon_doc_pub_quizzy_quizBegin() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/pub_quizzy/quiz_done.rs b/crates/jacquard-api/src/pub_quizzy/quiz_done.rs
index cd59f601..c301b7ca 100644
--- a/crates/jacquard-api/src/pub_quizzy/quiz_done.rs
+++ b/crates/jacquard-api/src/pub_quizzy/quiz_done.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::com_atproto::repo::strong_ref::StrongRef;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::com_atproto::repo::strong_ref::StrongRef;
+use serde::{Deserialize, Serialize};
 /// Signals that a participant has finished contributing to answers for this quiz
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -107,7 +107,7 @@ impl LexiconSchema for QuizDone {
 
 pub mod quiz_done_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -237,10 +237,10 @@ where
 }
 
 fn lexicon_doc_pub_quizzy_quizDone() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("pub.quizzy.quizDone"),
@@ -293,4 +293,4 @@ fn lexicon_doc_pub_quizzy_quizDone() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/pub_quizzy/quiz_score.rs b/crates/jacquard-api/src/pub_quizzy/quiz_score.rs
index 8e72b83e..0b2873d0 100644
--- a/crates/jacquard-api/src/pub_quizzy/quiz_score.rs
+++ b/crates/jacquard-api/src/pub_quizzy/quiz_score.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,11 +24,11 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::com_atproto::repo::strong_ref::StrongRef;
 use crate::pub_quizzy::quiz_score;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// Final rankings for a completed quiz
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -61,7 +61,10 @@ pub struct QuizScoreGetRecordOutput {
 /// A team's final result
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct TeamResult {
     ///Reference to the team's detailed score record
     pub team_score: StrongRef,
@@ -168,7 +171,7 @@ impl LexiconSchema for TeamResult {
 
 pub mod quiz_score_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -288,10 +291,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> QuizScore {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> QuizScore {
         QuizScore {
             quiz_begin: self._fields.0.unwrap(),
             results: self._fields.1.unwrap(),
@@ -301,10 +301,10 @@ where
 }
 
 fn lexicon_doc_pub_quizzy_quizScore() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("pub.quizzy.quizScore"),
@@ -313,17 +313,13 @@ fn lexicon_doc_pub_quizzy_quizScore() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static("Final rankings for a completed quiz"),
-                    ),
+                    description: Some(CowStr::new_static("Final rankings for a completed quiz")),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("quizBegin"),
-                                SmolStr::new_static("results")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("quizBegin"),
+                            SmolStr::new_static("results"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -337,11 +333,9 @@ fn lexicon_doc_pub_quizzy_quizScore() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("results"),
                                 LexObjectProperty::Array(LexArray {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "Ordered list of team results (by ranking)",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Ordered list of team results (by ranking)",
+                                    )),
                                     items: LexArrayItem::Ref(LexRef {
                                         r#ref: CowStr::new_static("#teamResult"),
                                         ..Default::default()
@@ -362,12 +356,10 @@ fn lexicon_doc_pub_quizzy_quizScore() -> LexiconDoc<'static> {
                 SmolStr::new_static("teamResult"),
                 LexUserType::Object(LexObject {
                     description: Some(CowStr::new_static("A team's final result")),
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("teamScore"),
-                            SmolStr::new_static("totalScore")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("teamScore"),
+                        SmolStr::new_static("totalScore"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -398,7 +390,7 @@ fn lexicon_doc_pub_quizzy_quizScore() -> LexiconDoc<'static> {
 
 pub mod team_result_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -518,14 +510,11 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> TeamResult {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> TeamResult {
         TeamResult {
             team_score: self._fields.0.unwrap(),
             total_score: self._fields.1.unwrap(),
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/pub_quizzy/team.rs b/crates/jacquard-api/src/pub_quizzy/team.rs
index 715983b4..ab3d6183 100644
--- a/crates/jacquard-api/src/pub_quizzy/team.rs
+++ b/crates/jacquard-api/src/pub_quizzy/team.rs
@@ -10,14 +10,14 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::blob::BlobRef;
 use jacquard_common::types::collection::{Collection, RecordError};
-use jacquard_common::types::string::{Did, AtUri, Cid};
+use jacquard_common::types::string::{AtUri, Cid, Did};
 use jacquard_common::types::uri::{RecordUri, UriError};
 use jacquard_common::types::value::Data;
 use jacquard_common::xrpc::XrpcResp;
@@ -27,7 +27,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// A quiz team
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -122,25 +122,20 @@ impl LexiconSchema for Team {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["image/png", "image/jpeg"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("avatar"),
-                        accepted: vec![
-                            "image/png".to_string(), "image/jpeg".to_string()
-                        ],
+                        accepted: vec!["image/png".to_string(), "image/jpeg".to_string()],
                         actual: mime.to_string(),
                     });
                 }
@@ -220,7 +215,7 @@ impl LexiconSchema for Team {
 
 pub mod team_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -265,7 +260,12 @@ pub mod team_state {
 /// Builder for constructing an instance of this type.
 pub struct TeamBuilder {
     _state: PhantomData St>,
-    _fields: (Option>, Option, Option>>, Option),
+    _fields: (
+        Option>,
+        Option,
+        Option>>,
+        Option,
+    ),
     _type: PhantomData S>,
 }
 
@@ -338,10 +338,7 @@ where
     St::Name: team_state::IsUnset,
 {
     /// Set the `name` field (required)
-    pub fn name(
-        mut self,
-        value: impl Into,
-    ) -> TeamBuilder> {
+    pub fn name(mut self, value: impl Into) -> TeamBuilder> {
         self._fields.3 = Option::Some(value.into());
         TeamBuilder {
             _state: PhantomData,
@@ -380,10 +377,10 @@ where
 }
 
 fn lexicon_doc_pub_quizzy_team() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("pub.quizzy.team"),
@@ -395,17 +392,18 @@ fn lexicon_doc_pub_quizzy_team() -> LexiconDoc<'static> {
                     description: Some(CowStr::new_static("A quiz team")),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("name"), SmolStr::new_static("members")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("name"),
+                            SmolStr::new_static("members"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
                             map.insert(
                                 SmolStr::new_static("avatar"),
-                                LexObjectProperty::Blob(LexBlob { ..Default::default() }),
+                                LexObjectProperty::Blob(LexBlob {
+                                    ..Default::default()
+                                }),
                             );
                             map.insert(
                                 SmolStr::new_static("avatarAlt"),
@@ -418,9 +416,7 @@ fn lexicon_doc_pub_quizzy_team() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("members"),
                                 LexObjectProperty::Array(LexArray {
-                                    description: Some(
-                                        CowStr::new_static("DIDs of team members"),
-                                    ),
+                                    description: Some(CowStr::new_static("DIDs of team members")),
                                     items: LexArrayItem::String(LexString {
                                         format: Some(LexStringFormat::Did),
                                         ..Default::default()
@@ -450,4 +446,4 @@ fn lexicon_doc_pub_quizzy_team() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/pub_quizzy/team_score.rs b/crates/jacquard-api/src/pub_quizzy/team_score.rs
index 8ce5bcf3..d1c4dcae 100644
--- a/crates/jacquard-api/src/pub_quizzy/team_score.rs
+++ b/crates/jacquard-api/src/pub_quizzy/team_score.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,11 +24,11 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::com_atproto::repo::strong_ref::StrongRef;
 use crate::pub_quizzy::team_score;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// A team's scored answers for a quiz
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -63,7 +63,10 @@ pub struct TeamScoreGetRecordOutput {
 /// An answer with scores for each expected answer
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ScoredAnswer {
     ///Reference to the answer record
     pub answer: StrongRef,
@@ -196,7 +199,7 @@ impl LexiconSchema for ScoredAnswer {
 
 pub mod team_score_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -355,10 +358,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> TeamScore {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> TeamScore {
         TeamScore {
             answers: self._fields.0.unwrap(),
             quiz_begin: self._fields.1.unwrap(),
@@ -369,10 +369,10 @@ where
 }
 
 fn lexicon_doc_pub_quizzy_teamScore() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("pub.quizzy.teamScore"),
@@ -381,26 +381,23 @@ fn lexicon_doc_pub_quizzy_teamScore() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static("A team's scored answers for a quiz"),
-                    ),
+                    description: Some(CowStr::new_static("A team's scored answers for a quiz")),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("quizBegin"),
-                                SmolStr::new_static("team"), SmolStr::new_static("answers")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("quizBegin"),
+                            SmolStr::new_static("team"),
+                            SmolStr::new_static("answers"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
                             map.insert(
                                 SmolStr::new_static("answers"),
                                 LexObjectProperty::Array(LexArray {
-                                    description: Some(
-                                        CowStr::new_static("Scored answers for this team"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Scored answers for this team",
+                                    )),
                                     items: LexArrayItem::Ref(LexRef {
                                         r#ref: CowStr::new_static("#scoredAnswer"),
                                         ..Default::default()
@@ -433,16 +430,13 @@ fn lexicon_doc_pub_quizzy_teamScore() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("scoredAnswer"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static(
-                            "An answer with scores for each expected answer",
-                        ),
-                    ),
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("answer"), SmolStr::new_static("scores")
-                        ],
-                    ),
+                    description: Some(CowStr::new_static(
+                        "An answer with scores for each expected answer",
+                    )),
+                    required: Some(vec![
+                        SmolStr::new_static("answer"),
+                        SmolStr::new_static("scores"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -456,11 +450,9 @@ fn lexicon_doc_pub_quizzy_teamScore() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("commentary"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "Optional commentary from the quiz master",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Optional commentary from the quiz master",
+                                )),
                                 max_length: Some(5000usize),
                                 max_graphemes: Some(500usize),
                                 ..Default::default()
@@ -469,11 +461,9 @@ fn lexicon_doc_pub_quizzy_teamScore() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("scores"),
                             LexObjectProperty::Array(LexArray {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "Points awarded for each expected answer in the question",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Points awarded for each expected answer in the question",
+                                )),
                                 items: LexArrayItem::Integer(LexInteger {
                                     ..Default::default()
                                 }),
@@ -495,7 +485,7 @@ fn lexicon_doc_pub_quizzy_teamScore() -> LexiconDoc<'static> {
 
 pub mod scored_answer_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -629,10 +619,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> ScoredAnswer {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> ScoredAnswer {
         ScoredAnswer {
             answer: self._fields.0.unwrap(),
             commentary: self._fields.1,
@@ -640,4 +627,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/science_alt.rs b/crates/jacquard-api/src/science_alt.rs
index 40410c2f..f71f9c66 100644
--- a/crates/jacquard-api/src/science_alt.rs
+++ b/crates/jacquard-api/src/science_alt.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod dataset;
\ No newline at end of file
+pub mod dataset;
diff --git a/crates/jacquard-api/src/science_alt/dataset.rs b/crates/jacquard-api/src/science_alt/dataset.rs
index 74c5219d..f6ae2d35 100644
--- a/crates/jacquard-api/src/science_alt/dataset.rs
+++ b/crates/jacquard-api/src/science_alt/dataset.rs
@@ -16,4 +16,4 @@ pub mod storage_blobs;
 pub mod storage_external;
 pub mod storage_http;
 pub mod storage_s3;
-pub mod verification_method;
\ No newline at end of file
+pub mod verification_method;
diff --git a/crates/jacquard-api/src/science_alt/dataset/array_format.rs b/crates/jacquard-api/src/science_alt/dataset/array_format.rs
index 73de9f4a..05a3d3db 100644
--- a/crates/jacquard-api/src/science_alt/dataset/array_format.rs
+++ b/crates/jacquard-api/src/science_alt/dataset/array_format.rs
@@ -5,9 +5,9 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// Arrow tensor format. Stores multi-dimensional arrays using Arrow's tensor IPC format. Versions maintained at https://json-schema.alt.science/atdata-arrow-tensor/{version}/
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Hash)]
@@ -141,4 +141,4 @@ impl core::fmt::Display for StructuredBytes {
     fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
         write!(f, "structuredBytes")
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/science_alt/dataset/entry.rs b/crates/jacquard-api/src/science_alt/dataset/entry.rs
index 0e7dabc3..f3ec6895 100644
--- a/crates/jacquard-api/src/science_alt/dataset/entry.rs
+++ b/crates/jacquard-api/src/science_alt/dataset/entry.rs
@@ -10,8 +10,8 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::bytes::Bytes;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -25,17 +25,20 @@ use jacquard_derive::{IntoStatic, lexicon, open_union};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use crate::science_alt::dataset::entry;
 use crate::science_alt::dataset::storage_blobs::StorageBlobs;
 use crate::science_alt::dataset::storage_http::StorageHttp;
 use crate::science_alt::dataset::storage_s3::StorageS3;
-use crate::science_alt::dataset::entry;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// Information about dataset size
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct DatasetSize {
     ///Total size in bytes
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -94,7 +97,6 @@ pub struct Entry {
     pub extra_data: Option>>,
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -121,7 +123,10 @@ pub struct EntryGetRecordOutput {
 /// Content hash for shard integrity verification. Algorithm is flexible to allow SHA-256, BLAKE3, or other hash functions.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ShardChecksum {
     ///Hash algorithm identifier (e.g., 'sha256', 'blake3')
     pub algorithm: S,
@@ -321,10 +326,10 @@ impl LexiconSchema for ShardChecksum {
 }
 
 fn lexicon_doc_science_alt_dataset_entry() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("science.alt.dataset.entry"),
@@ -333,9 +338,7 @@ fn lexicon_doc_science_alt_dataset_entry() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("datasetSize"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("Information about dataset size"),
-                    ),
+                    description: Some(CowStr::new_static("Information about dataset size")),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -569,7 +572,7 @@ fn lexicon_doc_science_alt_dataset_entry() -> LexiconDoc<'static> {
 
 pub mod entry_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -672,7 +675,9 @@ impl EntryBuilder {
     pub fn new() -> Self {
         EntryBuilder {
             _state: PhantomData,
-            _fields: (None, None, None, None, None, None, None, None, None, None, None),
+            _fields: (
+                None, None, None, None, None, None, None, None, None, None, None,
+            ),
             _type: PhantomData,
         }
     }
@@ -768,10 +773,7 @@ where
     St::Name: entry_state::IsUnset,
 {
     /// Set the `name` field (required)
-    pub fn name(
-        mut self,
-        value: impl Into,
-    ) -> EntryBuilder> {
+    pub fn name(mut self, value: impl Into) -> EntryBuilder> {
         self._fields.6 = Option::Some(value.into());
         EntryBuilder {
             _state: PhantomData,
@@ -887,4 +889,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/science_alt/dataset/label.rs b/crates/jacquard-api/src/science_alt/dataset/label.rs
index 720cd0c9..99fec5e5 100644
--- a/crates/jacquard-api/src/science_alt/dataset/label.rs
+++ b/crates/jacquard-api/src/science_alt/dataset/label.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// Named label pointing to a dataset entry. Multiple labels with the same name but different versions can coexist, enabling versioned references to immutable dataset entries.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -156,7 +156,7 @@ impl LexiconSchema for Label {
 
 pub mod label_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -215,7 +215,13 @@ pub mod label_state {
 /// Builder for constructing an instance of this type.
 pub struct LabelBuilder {
     _state: PhantomData St>,
-    _fields: (Option, Option>, Option, Option, Option),
+    _fields: (
+        Option,
+        Option>,
+        Option,
+        Option,
+        Option,
+    ),
     _type: PhantomData S>,
 }
 
@@ -294,10 +300,7 @@ where
     St::Name: label_state::IsUnset,
 {
     /// Set the `name` field (required)
-    pub fn name(
-        mut self,
-        value: impl Into,
-    ) -> LabelBuilder> {
+    pub fn name(mut self, value: impl Into) -> LabelBuilder> {
         self._fields.3 = Option::Some(value.into());
         LabelBuilder {
             _state: PhantomData,
@@ -352,10 +355,10 @@ where
 }
 
 fn lexicon_doc_science_alt_dataset_label() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("science.alt.dataset.label"),
@@ -449,4 +452,4 @@ fn lexicon_doc_science_alt_dataset_label() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/science_alt/dataset/lens.rs b/crates/jacquard-api/src/science_alt/dataset/lens.rs
index e0dc1e87..95d7ddc5 100644
--- a/crates/jacquard-api/src/science_alt/dataset/lens.rs
+++ b/crates/jacquard-api/src/science_alt/dataset/lens.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,15 +24,18 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::science_alt::dataset::lens;
+use crate::science_alt::dataset::programming_language::ProgrammingLanguage;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::science_alt::dataset::programming_language::ProgrammingLanguage;
-use crate::science_alt::dataset::lens;
+use serde::{Deserialize, Serialize};
 /// Reference to code in an external repository (GitHub, tangled.org, etc.)
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct CodeReference {
     ///Optional branch name (for reference, commit hash is authoritative)
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -53,7 +56,10 @@ pub struct CodeReference {
 /// Open metadata object for lens records. Applications may extend with additional fields (author, performance notes, etc.).
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct LensMetadata {
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
@@ -306,10 +312,10 @@ impl LexiconSchema for Lens {
 }
 
 fn lexicon_doc_science_alt_dataset_lens() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("science.alt.dataset.lens"),
@@ -555,7 +561,7 @@ fn lexicon_doc_science_alt_dataset_lens() -> LexiconDoc<'static> {
 
 pub mod lens_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -696,7 +702,9 @@ impl LensBuilder {
     pub fn new() -> Self {
         LensBuilder {
             _state: PhantomData,
-            _fields: (None, None, None, None, None, None, None, None, None, None, None),
+            _fields: (
+                None, None, None, None, None, None, None, None, None, None, None,
+            ),
             _type: PhantomData,
         }
     }
@@ -785,10 +793,7 @@ where
     St::Name: lens_state::IsUnset,
 {
     /// Set the `name` field (required)
-    pub fn name(
-        mut self,
-        value: impl Into,
-    ) -> LensBuilder> {
+    pub fn name(mut self, value: impl Into) -> LensBuilder> {
         self._fields.5 = Option::Some(value.into());
         LensBuilder {
             _state: PhantomData,
@@ -925,4 +930,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/science_alt/dataset/lens_verification.rs b/crates/jacquard-api/src/science_alt/dataset/lens_verification.rs
index 42a86836..3173836f 100644
--- a/crates/jacquard-api/src/science_alt/dataset/lens_verification.rs
+++ b/crates/jacquard-api/src/science_alt/dataset/lens_verification.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,16 +24,19 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::science_alt::dataset::lens::CodeReference;
-use crate::science_alt::dataset::verification_method::VerificationMethod;
 use crate::science_alt::dataset::lens_verification;
+use crate::science_alt::dataset::verification_method::VerificationMethod;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// Content hash for code integrity verification
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct CodeHash {
     ///Hash algorithm identifier (e.g., 'sha256', 'blake3')
     pub algorithm: S,
@@ -203,10 +206,10 @@ impl LexiconSchema for LensVerification {
 }
 
 fn lexicon_doc_science_alt_dataset_lensVerification() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("science.alt.dataset.lensVerification"),
@@ -215,28 +218,22 @@ fn lexicon_doc_science_alt_dataset_lensVerification() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("codeHash"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static(
-                            "Content hash for code integrity verification",
-                        ),
-                    ),
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("algorithm"),
-                            SmolStr::new_static("digest")
-                        ],
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Content hash for code integrity verification",
+                    )),
+                    required: Some(vec![
+                        SmolStr::new_static("algorithm"),
+                        SmolStr::new_static("digest"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("algorithm"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "Hash algorithm identifier (e.g., 'sha256', 'blake3')",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Hash algorithm identifier (e.g., 'sha256', 'blake3')",
+                                )),
                                 max_length: Some(20usize),
                                 ..Default::default()
                             }),
@@ -244,9 +241,7 @@ fn lexicon_doc_science_alt_dataset_lensVerification() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("digest"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Hex-encoded hash digest"),
-                                ),
+                                description: Some(CowStr::new_static("Hex-encoded hash digest")),
                                 max_length: Some(128usize),
                                 ..Default::default()
                             }),
@@ -366,7 +361,7 @@ fn lexicon_doc_science_alt_dataset_lensVerification() -> LexiconDoc<'static> {
 
 pub mod lens_verification_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -473,18 +468,12 @@ impl LensVerificationBuilder {
 
 impl LensVerificationBuilder {
     /// Set the `codeHash` field (optional)
-    pub fn code_hash(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn code_hash(mut self, value: impl Into>>) -> Self {
         self._fields.0 = value.into();
         self
     }
     /// Set the `codeHash` field to an Option value (optional)
-    pub fn maybe_code_hash(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_code_hash(mut self, value: Option>) -> Self {
         self._fields.0 = value;
         self
     }
@@ -614,10 +603,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> LensVerification {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> LensVerification {
         LensVerification {
             code_hash: self._fields.0,
             created_at: self._fields.1.unwrap(),
@@ -629,4 +615,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/science_alt/dataset/programming_language.rs b/crates/jacquard-api/src/science_alt/dataset/programming_language.rs
index a5161e65..bf2994c9 100644
--- a/crates/jacquard-api/src/science_alt/dataset/programming_language.rs
+++ b/crates/jacquard-api/src/science_alt/dataset/programming_language.rs
@@ -5,9 +5,9 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// JavaScript programming language.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Hash)]
@@ -127,4 +127,4 @@ impl core::fmt::Display for Typescript {
     fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
         write!(f, "typescript")
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/science_alt/dataset/resolve_label.rs b/crates/jacquard-api/src/science_alt/dataset/resolve_label.rs
index 70f54692..f5912a2b 100644
--- a/crates/jacquard-api/src/science_alt/dataset/resolve_label.rs
+++ b/crates/jacquard-api/src/science_alt/dataset/resolve_label.rs
@@ -8,18 +8,21 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::science_alt::dataset::label::Label;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::AtUri;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::{IntoStatic, open_union};
-use serde::{Serialize, Deserialize};
-use crate::science_alt::dataset::label::Label;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ResolveLabel {
     pub handle: S,
     pub name: S,
@@ -28,9 +31,11 @@ pub struct ResolveLabel {
     pub version: Option,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ResolveLabelOutput {
     ///CID of the resolved dataset entry
     pub cid: S,
@@ -42,18 +47,9 @@ pub struct ResolveLabelOutput {
     pub extra_data: Option>>,
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum ResolveLabelError {
     /// No label found with the given name
@@ -61,7 +57,10 @@ pub enum ResolveLabelError {
     LabelNotFound(Option),
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for ResolveLabelError {
@@ -111,7 +110,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for ResolveLabelRequest {
 
 pub mod resolve_label_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -243,4 +242,4 @@ where
             version: self._fields.2,
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/science_alt/dataset/resolve_schema.rs b/crates/jacquard-api/src/science_alt/dataset/resolve_schema.rs
index 29067ae3..fe9aeceb 100644
--- a/crates/jacquard-api/src/science_alt/dataset/resolve_schema.rs
+++ b/crates/jacquard-api/src/science_alt/dataset/resolve_schema.rs
@@ -10,15 +10,18 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::AtUri;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::{IntoStatic, open_union};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ResolveSchema {
     pub handle: S,
     pub schema_id: S,
@@ -27,9 +30,11 @@ pub struct ResolveSchema {
     pub version: Option,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ResolveSchemaOutput {
     ///CID of the resolved schema record
     pub cid: S,
@@ -41,18 +46,9 @@ pub struct ResolveSchemaOutput {
     pub extra_data: Option>>,
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum ResolveSchemaError {
     /// No schema found with the given NSID
@@ -60,7 +56,10 @@ pub enum ResolveSchemaError {
     SchemaNotFound(Option),
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for ResolveSchemaError {
@@ -110,7 +109,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for ResolveSchemaRequest {
 
 pub mod resolve_schema_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -242,4 +241,4 @@ where
             version: self._fields.2,
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/science_alt/dataset/schema_type.rs b/crates/jacquard-api/src/science_alt/dataset/schema_type.rs
index e2e6bfc7..0373356e 100644
--- a/crates/jacquard-api/src/science_alt/dataset/schema_type.rs
+++ b/crates/jacquard-api/src/science_alt/dataset/schema_type.rs
@@ -5,9 +5,9 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// JSON Schema Draft 7 format for sample type definitions. When schemaType is 'jsonSchema', the schema field must contain an object conforming to science.alt.dataset.schema#jsonSchemaFormat.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Hash)]
@@ -85,4 +85,4 @@ where
             SchemaType::Other(v) => SchemaType::Other(v.into_static()),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/science_alt/dataset/storage_blobs.rs b/crates/jacquard-api/src/science_alt/dataset/storage_blobs.rs
index 4e4ee629..3ca8fd60 100644
--- a/crates/jacquard-api/src/science_alt/dataset/storage_blobs.rs
+++ b/crates/jacquard-api/src/science_alt/dataset/storage_blobs.rs
@@ -21,15 +21,18 @@ use jacquard_derive::IntoStatic;
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::science_alt::dataset::entry::ShardChecksum;
 use crate::science_alt::dataset::storage_blobs;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// A single PDS blob shard with optional integrity checksum
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct BlobEntry {
     ///Blob reference to a WebDataset tar archive
     pub blob: BlobRef,
@@ -43,7 +46,10 @@ pub struct BlobEntry {
 /// Storage via ATProto PDS blobs for WebDataset tar archives. Used in science.alt.dataset.entry storage union for maximum decentralization.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct StorageBlobs {
     ///Array of blob entries for WebDataset tar files
     pub blobs: Vec>,
@@ -80,19 +86,16 @@ impl LexiconSchema for BlobEntry {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["application/x-tar"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("blob"),
@@ -134,7 +137,7 @@ impl LexiconSchema for StorageBlobs {
 
 pub mod blob_entry_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -235,10 +238,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> BlobEntry {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> BlobEntry {
         BlobEntry {
             blob: self._fields.0.unwrap(),
             checksum: self._fields.1,
@@ -248,10 +248,10 @@ where
 }
 
 fn lexicon_doc_science_alt_dataset_storageBlobs() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("science.alt.dataset.storageBlobs"),
@@ -260,18 +260,18 @@ fn lexicon_doc_science_alt_dataset_storageBlobs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("blobEntry"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static(
-                            "A single PDS blob shard with optional integrity checksum",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "A single PDS blob shard with optional integrity checksum",
+                    )),
                     required: Some(vec![SmolStr::new_static("blob")]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("blob"),
-                            LexObjectProperty::Blob(LexBlob { ..Default::default() }),
+                            LexObjectProperty::Blob(LexBlob {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("checksum"),
@@ -328,7 +328,7 @@ fn lexicon_doc_science_alt_dataset_storageBlobs() -> LexiconDoc<'static> {
 
 pub mod storage_blobs_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -415,13 +415,10 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> StorageBlobs {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> StorageBlobs {
         StorageBlobs {
             blobs: self._fields.0.unwrap(),
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/science_alt/dataset/storage_external.rs b/crates/jacquard-api/src/science_alt/dataset/storage_external.rs
index 9e65b4a1..1dce3ab6 100644
--- a/crates/jacquard-api/src/science_alt/dataset/storage_external.rs
+++ b/crates/jacquard-api/src/science_alt/dataset/storage_external.rs
@@ -23,11 +23,14 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// (Deprecated: use storageHttp or storageS3 instead.) External storage via URLs for WebDataset tar archives. URLs support brace notation for sharding (e.g., 'data-{000000..000099}.tar').
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct StorageExternal {
     ///WebDataset URLs with optional brace notation for sharded tar files
     pub urls: Vec>,
@@ -63,7 +66,7 @@ impl LexiconSchema for StorageExternal {
 
 pub mod storage_external_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -150,10 +153,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> StorageExternal {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> StorageExternal {
         StorageExternal {
             urls: self._fields.0.unwrap(),
             extra_data: Some(extra_data),
@@ -162,10 +162,10 @@ where
 }
 
 fn lexicon_doc_science_alt_dataset_storageExternal() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("science.alt.dataset.storageExternal"),
@@ -209,4 +209,4 @@ fn lexicon_doc_science_alt_dataset_storageExternal() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/science_alt/dataset/storage_http.rs b/crates/jacquard-api/src/science_alt/dataset/storage_http.rs
index f53e6976..ecce49d6 100644
--- a/crates/jacquard-api/src/science_alt/dataset/storage_http.rs
+++ b/crates/jacquard-api/src/science_alt/dataset/storage_http.rs
@@ -21,15 +21,18 @@ use jacquard_derive::IntoStatic;
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::science_alt::dataset::entry::ShardChecksum;
 use crate::science_alt::dataset::storage_http;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// HTTP/HTTPS storage for WebDataset tar archives. Each shard is listed individually with a checksum for integrity verification. Consumers build brace-expansion patterns on the fly when needed.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct StorageHttp {
     ///Array of shard entries with URL and integrity checksum
     pub shards: Vec>,
@@ -40,7 +43,10 @@ pub struct StorageHttp {
 /// A single HTTP-accessible shard with integrity checksum
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ShardEntry {
     ///Content hash for integrity verification
     pub checksum: ShardChecksum,
@@ -104,7 +110,7 @@ impl LexiconSchema for ShardEntry {
 
 pub mod storage_http_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -191,10 +197,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> StorageHttp {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> StorageHttp {
         StorageHttp {
             shards: self._fields.0.unwrap(),
             extra_data: Some(extra_data),
@@ -203,10 +206,10 @@ where
 }
 
 fn lexicon_doc_science_alt_dataset_storageHttp() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("science.alt.dataset.storageHttp"),
@@ -248,14 +251,13 @@ fn lexicon_doc_science_alt_dataset_storageHttp() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("shardEntry"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static(
-                            "A single HTTP-accessible shard with integrity checksum",
-                        ),
-                    ),
-                    required: Some(
-                        vec![SmolStr::new_static("url"), SmolStr::new_static("checksum")],
-                    ),
+                    description: Some(CowStr::new_static(
+                        "A single HTTP-accessible shard with integrity checksum",
+                    )),
+                    required: Some(vec![
+                        SmolStr::new_static("url"),
+                        SmolStr::new_static("checksum"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -271,11 +273,9 @@ fn lexicon_doc_science_alt_dataset_storageHttp() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("url"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "HTTP/HTTPS URL for this WebDataset tar shard",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "HTTP/HTTPS URL for this WebDataset tar shard",
+                                )),
                                 format: Some(LexStringFormat::Uri),
                                 max_length: Some(2000usize),
                                 ..Default::default()
@@ -294,7 +294,7 @@ fn lexicon_doc_science_alt_dataset_storageHttp() -> LexiconDoc<'static> {
 
 pub mod shard_entry_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -414,14 +414,11 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> ShardEntry {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> ShardEntry {
         ShardEntry {
             checksum: self._fields.0.unwrap(),
             url: self._fields.1.unwrap(),
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/science_alt/dataset/storage_s3.rs b/crates/jacquard-api/src/science_alt/dataset/storage_s3.rs
index df13d109..107c621d 100644
--- a/crates/jacquard-api/src/science_alt/dataset/storage_s3.rs
+++ b/crates/jacquard-api/src/science_alt/dataset/storage_s3.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -21,15 +21,18 @@ use jacquard_derive::IntoStatic;
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::science_alt::dataset::entry::ShardChecksum;
 use crate::science_alt::dataset::storage_s3;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// S3 or S3-compatible storage for WebDataset tar archives. Supports custom endpoints for MinIO, Cloudflare R2, and other S3-compatible services.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct StorageS3 {
     ///S3 bucket name
     pub bucket: S,
@@ -48,7 +51,10 @@ pub struct StorageS3 {
 /// A single S3 object shard with integrity checksum
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ShardEntry {
     ///Content hash for integrity verification
     pub checksum: ShardChecksum,
@@ -143,7 +149,7 @@ impl LexiconSchema for ShardEntry {
 
 pub mod storage_s3_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -296,10 +302,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> StorageS3 {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> StorageS3 {
         StorageS3 {
             bucket: self._fields.0.unwrap(),
             endpoint: self._fields.1,
@@ -311,10 +314,10 @@ where
 }
 
 fn lexicon_doc_science_alt_dataset_storageS3() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("science.alt.dataset.storageS3"),
@@ -393,14 +396,13 @@ fn lexicon_doc_science_alt_dataset_storageS3() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("shardEntry"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static(
-                            "A single S3 object shard with integrity checksum",
-                        ),
-                    ),
-                    required: Some(
-                        vec![SmolStr::new_static("key"), SmolStr::new_static("checksum")],
-                    ),
+                    description: Some(CowStr::new_static(
+                        "A single S3 object shard with integrity checksum",
+                    )),
+                    required: Some(vec![
+                        SmolStr::new_static("key"),
+                        SmolStr::new_static("checksum"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -416,11 +418,9 @@ fn lexicon_doc_science_alt_dataset_storageS3() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("key"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "S3 object key for this WebDataset tar shard",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "S3 object key for this WebDataset tar shard",
+                                )),
                                 max_length: Some(1024usize),
                                 ..Default::default()
                             }),
@@ -438,7 +438,7 @@ fn lexicon_doc_science_alt_dataset_storageS3() -> LexiconDoc<'static> {
 
 pub mod shard_entry_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -558,14 +558,11 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> ShardEntry {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> ShardEntry {
         ShardEntry {
             checksum: self._fields.0.unwrap(),
             key: self._fields.1.unwrap(),
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/science_alt/dataset/verification_method.rs b/crates/jacquard-api/src/science_alt/dataset/verification_method.rs
index 2db43fef..34fb6c45 100644
--- a/crates/jacquard-api/src/science_alt/dataset/verification_method.rs
+++ b/crates/jacquard-api/src/science_alt/dataset/verification_method.rs
@@ -5,9 +5,9 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// Automated test suite verification
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Hash)]
@@ -127,4 +127,4 @@ impl core::fmt::Display for SignedHash {
     fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
         write!(f, "signedHash")
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/scot_comhairle.rs b/crates/jacquard-api/src/scot_comhairle.rs
index e05fa3e2..01e03502 100644
--- a/crates/jacquard-api/src/scot_comhairle.rs
+++ b/crates/jacquard-api/src/scot_comhairle.rs
@@ -5,4 +5,4 @@
 
 pub mod testing_polis_poll_v1;
 pub mod testing_polis_statement_v1;
-pub mod testing_polis_vote_v1;
\ No newline at end of file
+pub mod testing_polis_vote_v1;
diff --git a/crates/jacquard-api/src/scot_comhairle/testing_polis_poll_v1.rs b/crates/jacquard-api/src/scot_comhairle/testing_polis_poll_v1.rs
index c679c426..bd5d9302 100644
--- a/crates/jacquard-api/src/scot_comhairle/testing_polis_poll_v1.rs
+++ b/crates/jacquard-api/src/scot_comhairle/testing_polis_poll_v1.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// A poll/topic for deliberation in the Polis-style system
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -133,7 +133,7 @@ impl LexiconSchema for TestingPolisPollV1 {
 
 pub mod testing_polis_poll_v1_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -200,10 +200,7 @@ impl TestingPolisPollV1Builder
     }
 }
 
-impl<
-    S: BosStr,
-    St: testing_polis_poll_v1_state::State,
-> TestingPolisPollV1Builder {
+impl TestingPolisPollV1Builder {
     /// Set the `closedAt` field (optional)
     pub fn closed_at(mut self, value: impl Into>) -> Self {
         self._fields.0 = value.into();
@@ -235,10 +232,7 @@ where
     }
 }
 
-impl<
-    S: BosStr,
-    St: testing_polis_poll_v1_state::State,
-> TestingPolisPollV1Builder {
+impl TestingPolisPollV1Builder {
     /// Set the `description` field (optional)
     pub fn description(mut self, value: impl Into>) -> Self {
         self._fields.2 = value.into();
@@ -287,10 +281,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> TestingPolisPollV1 {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> TestingPolisPollV1 {
         TestingPolisPollV1 {
             closed_at: self._fields.0,
             created_at: self._fields.1.unwrap(),
@@ -302,10 +293,10 @@ where
 }
 
 fn lexicon_doc_scot_comhairle_testingPolisPollV1() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("scot.comhairle.testingPolisPollV1"),
@@ -385,4 +376,4 @@ fn lexicon_doc_scot_comhairle_testingPolisPollV1() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/scot_comhairle/testing_polis_statement_v1.rs b/crates/jacquard-api/src/scot_comhairle/testing_polis_statement_v1.rs
index 61a30170..e786a370 100644
--- a/crates/jacquard-api/src/scot_comhairle/testing_polis_statement_v1.rs
+++ b/crates/jacquard-api/src/scot_comhairle/testing_polis_statement_v1.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::scot_comhairle::testing_polis_statement_v1;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::scot_comhairle::testing_polis_statement_v1;
+use serde::{Deserialize, Serialize};
 /// A statement in the Polis-style deliberation system
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -62,7 +62,10 @@ pub struct TestingPolisStatementV1GetRecordOutput {
 /// Reference to a poll record
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct PollRef {
     ///Content identifier of the poll record
     pub cid: Cid,
@@ -89,8 +92,7 @@ impl XrpcResp for TestingPolisStatementV1Record {
     type Err = RecordError;
 }
 
-impl From>
-for TestingPolisStatementV1 {
+impl From> for TestingPolisStatementV1 {
     fn from(output: TestingPolisStatementV1GetRecordOutput) -> Self {
         output.value
     }
@@ -149,7 +151,7 @@ impl LexiconSchema for PollRef {
 
 pub mod testing_polis_statement_v1_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -206,10 +208,7 @@ pub mod testing_polis_statement_v1_state {
 }
 
 /// Builder for constructing an instance of this type.
-pub struct TestingPolisStatementV1Builder<
-    S: BosStr,
-    St: testing_polis_statement_v1_state::State,
-> {
+pub struct TestingPolisStatementV1Builder {
     _state: PhantomData St>,
     _fields: (
         Option,
@@ -221,17 +220,12 @@ pub struct TestingPolisStatementV1Builder<
 
 impl TestingPolisStatementV1 {
     /// Create a new builder for this type.
-    pub fn new() -> TestingPolisStatementV1Builder<
-        S,
-        testing_polis_statement_v1_state::Empty,
-    > {
+    pub fn new() -> TestingPolisStatementV1Builder {
         TestingPolisStatementV1Builder::new()
     }
 }
 
-impl<
-    S: BosStr,
-> TestingPolisStatementV1Builder {
+impl TestingPolisStatementV1Builder {
     /// Create a new builder with all fields unset.
     pub fn new() -> Self {
         TestingPolisStatementV1Builder {
@@ -251,10 +245,7 @@ where
     pub fn created_at(
         mut self,
         value: impl Into,
-    ) -> TestingPolisStatementV1Builder<
-        S,
-        testing_polis_statement_v1_state::SetCreatedAt,
-    > {
+    ) -> TestingPolisStatementV1Builder> {
         self._fields.0 = Option::Some(value.into());
         TestingPolisStatementV1Builder {
             _state: PhantomData,
@@ -273,10 +264,7 @@ where
     pub fn poll(
         mut self,
         value: impl Into>,
-    ) -> TestingPolisStatementV1Builder<
-        S,
-        testing_polis_statement_v1_state::SetPoll,
-    > {
+    ) -> TestingPolisStatementV1Builder> {
         self._fields.1 = Option::Some(value.into());
         TestingPolisStatementV1Builder {
             _state: PhantomData,
@@ -295,10 +283,7 @@ where
     pub fn text(
         mut self,
         value: impl Into,
-    ) -> TestingPolisStatementV1Builder<
-        S,
-        testing_polis_statement_v1_state::SetText,
-    > {
+    ) -> TestingPolisStatementV1Builder> {
         self._fields.2 = Option::Some(value.into());
         TestingPolisStatementV1Builder {
             _state: PhantomData,
@@ -339,10 +324,10 @@ where
 }
 
 fn lexicon_doc_scot_comhairle_testingPolisStatementV1() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("scot.comhairle.testingPolisStatementV1"),
@@ -351,30 +336,25 @@ fn lexicon_doc_scot_comhairle_testingPolisStatementV1() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static(
-                            "A statement in the Polis-style deliberation system",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "A statement in the Polis-style deliberation system",
+                    )),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("text"), SmolStr::new_static("poll"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("text"),
+                            SmolStr::new_static("poll"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
                             map.insert(
                                 SmolStr::new_static("createdAt"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "Timestamp when the statement was created",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Timestamp when the statement was created",
+                                    )),
                                     format: Some(LexStringFormat::Datetime),
                                     ..Default::default()
                                 }),
@@ -389,9 +369,9 @@ fn lexicon_doc_scot_comhairle_testingPolisStatementV1() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("text"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("The text content of the statement"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "The text content of the statement",
+                                    )),
                                     max_length: Some(3000usize),
                                     ..Default::default()
                                 }),
@@ -407,18 +387,16 @@ fn lexicon_doc_scot_comhairle_testingPolisStatementV1() -> LexiconDoc<'static> {
                 SmolStr::new_static("pollRef"),
                 LexUserType::Object(LexObject {
                     description: Some(CowStr::new_static("Reference to a poll record")),
-                    required: Some(
-                        vec![SmolStr::new_static("uri"), SmolStr::new_static("cid")],
-                    ),
+                    required: Some(vec![SmolStr::new_static("uri"), SmolStr::new_static("cid")]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("cid"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Content identifier of the poll record"),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Content identifier of the poll record",
+                                )),
                                 format: Some(LexStringFormat::Cid),
                                 ..Default::default()
                             }),
@@ -426,9 +404,7 @@ fn lexicon_doc_scot_comhairle_testingPolisStatementV1() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("uri"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("AT-URI of the poll record"),
-                                ),
+                                description: Some(CowStr::new_static("AT-URI of the poll record")),
                                 format: Some(LexStringFormat::AtUri),
                                 ..Default::default()
                             }),
@@ -446,7 +422,7 @@ fn lexicon_doc_scot_comhairle_testingPolisStatementV1() -> LexiconDoc<'static> {
 
 pub mod poll_ref_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -573,4 +549,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/scot_comhairle/testing_polis_vote_v1.rs b/crates/jacquard-api/src/scot_comhairle/testing_polis_vote_v1.rs
index 93cdce72..28670eaf 100644
--- a/crates/jacquard-api/src/scot_comhairle/testing_polis_vote_v1.rs
+++ b/crates/jacquard-api/src/scot_comhairle/testing_polis_vote_v1.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::scot_comhairle::testing_polis_vote_v1;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::scot_comhairle::testing_polis_vote_v1;
+use serde::{Deserialize, Serialize};
 /// A vote on a statement in the Polis-style deliberation system
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -64,7 +64,10 @@ pub struct TestingPolisVoteV1GetRecordOutput {
 /// Reference to a poll record
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct PollRef {
     ///Content identifier of the poll record
     pub cid: Cid,
@@ -77,7 +80,10 @@ pub struct PollRef {
 /// Reference to a statement record
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct StatementRef {
     ///Content identifier of the statement record
     pub cid: Cid,
@@ -167,7 +173,7 @@ impl LexiconSchema for StatementRef {
 
 pub mod testing_polis_vote_v1_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -364,10 +370,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> TestingPolisVoteV1 {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> TestingPolisVoteV1 {
         TestingPolisVoteV1 {
             created_at: self._fields.0.unwrap(),
             poll: self._fields.1.unwrap(),
@@ -379,10 +382,10 @@ where
 }
 
 fn lexicon_doc_scot_comhairle_testingPolisVoteV1() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("scot.comhairle.testingPolisVoteV1"),
@@ -391,29 +394,26 @@ fn lexicon_doc_scot_comhairle_testingPolisVoteV1() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static(
-                            "A vote on a statement in the Polis-style deliberation system",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "A vote on a statement in the Polis-style deliberation system",
+                    )),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("value"),
-                                SmolStr::new_static("subject"), SmolStr::new_static("poll"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("value"),
+                            SmolStr::new_static("subject"),
+                            SmolStr::new_static("poll"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
                             map.insert(
                                 SmolStr::new_static("createdAt"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("Timestamp when the vote was created"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Timestamp when the vote was created",
+                                    )),
                                     format: Some(LexStringFormat::Datetime),
                                     ..Default::default()
                                 }),
@@ -450,18 +450,16 @@ fn lexicon_doc_scot_comhairle_testingPolisVoteV1() -> LexiconDoc<'static> {
                 SmolStr::new_static("pollRef"),
                 LexUserType::Object(LexObject {
                     description: Some(CowStr::new_static("Reference to a poll record")),
-                    required: Some(
-                        vec![SmolStr::new_static("uri"), SmolStr::new_static("cid")],
-                    ),
+                    required: Some(vec![SmolStr::new_static("uri"), SmolStr::new_static("cid")]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("cid"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Content identifier of the poll record"),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Content identifier of the poll record",
+                                )),
                                 format: Some(LexStringFormat::Cid),
                                 ..Default::default()
                             }),
@@ -469,9 +467,7 @@ fn lexicon_doc_scot_comhairle_testingPolisVoteV1() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("uri"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("AT-URI of the poll record"),
-                                ),
+                                description: Some(CowStr::new_static("AT-URI of the poll record")),
                                 format: Some(LexStringFormat::AtUri),
                                 ..Default::default()
                             }),
@@ -484,23 +480,17 @@ fn lexicon_doc_scot_comhairle_testingPolisVoteV1() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("statementRef"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("Reference to a statement record"),
-                    ),
-                    required: Some(
-                        vec![SmolStr::new_static("uri"), SmolStr::new_static("cid")],
-                    ),
+                    description: Some(CowStr::new_static("Reference to a statement record")),
+                    required: Some(vec![SmolStr::new_static("uri"), SmolStr::new_static("cid")]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("cid"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "Content identifier of the statement record",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Content identifier of the statement record",
+                                )),
                                 format: Some(LexStringFormat::Cid),
                                 ..Default::default()
                             }),
@@ -508,9 +498,9 @@ fn lexicon_doc_scot_comhairle_testingPolisVoteV1() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("uri"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("AT-URI of the statement record"),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "AT-URI of the statement record",
+                                )),
                                 format: Some(LexStringFormat::AtUri),
                                 ..Default::default()
                             }),
@@ -528,7 +518,7 @@ fn lexicon_doc_scot_comhairle_testingPolisVoteV1() -> LexiconDoc<'static> {
 
 pub mod poll_ref_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -659,7 +649,7 @@ where
 
 pub mod statement_ref_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -779,14 +769,11 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> StatementRef {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> StatementRef {
         StatementRef {
             cid: self._fields.0.unwrap(),
             uri: self._fields.1.unwrap(),
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_tangled.rs b/crates/jacquard-api/src/sh_tangled.rs
index 3647e69b..2c71f049 100644
--- a/crates/jacquard-api/src/sh_tangled.rs
+++ b/crates/jacquard-api/src/sh_tangled.rs
@@ -15,4 +15,4 @@ pub mod public_key;
 pub mod repo;
 pub mod spindle;
 pub mod string;
-pub mod sync;
\ No newline at end of file
+pub mod sync;
diff --git a/crates/jacquard-api/src/sh_tangled/actor.rs b/crates/jacquard-api/src/sh_tangled/actor.rs
index 534c9681..1cb60f21 100644
--- a/crates/jacquard-api/src/sh_tangled/actor.rs
+++ b/crates/jacquard-api/src/sh_tangled/actor.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod profile;
\ No newline at end of file
+pub mod profile;
diff --git a/crates/jacquard-api/src/sh_tangled/actor/profile.rs b/crates/jacquard-api/src/sh_tangled/actor/profile.rs
index 176c23d2..1528efda 100644
--- a/crates/jacquard-api/src/sh_tangled/actor/profile.rs
+++ b/crates/jacquard-api/src/sh_tangled/actor/profile.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -27,7 +27,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// A declaration of a Tangled account profile.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -134,25 +134,20 @@ impl LexiconSchema for Profile {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["image/png", "image/jpeg"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("avatar"),
-                        accepted: vec![
-                            "image/png".to_string(), "image/jpeg".to_string()
-                        ],
+                        accepted: vec!["image/png".to_string(), "image/jpeg".to_string()],
                         actual: mime.to_string(),
                     });
                 }
@@ -278,7 +273,7 @@ impl LexiconSchema for Profile {
 
 pub mod profile_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -415,10 +410,7 @@ impl ProfileBuilder {
 
 impl ProfileBuilder {
     /// Set the `pinnedRepositories` field (optional)
-    pub fn pinned_repositories(
-        mut self,
-        value: impl Into>>>,
-    ) -> Self {
+    pub fn pinned_repositories(mut self, value: impl Into>>>) -> Self {
         self._fields.5 = value.into();
         self
     }
@@ -491,10 +483,10 @@ where
 }
 
 fn lexicon_doc_sh_tangled_actor_profile() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("sh.tangled.actor.profile"),
@@ -611,4 +603,4 @@ fn lexicon_doc_sh_tangled_actor_profile() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_tangled/feed.rs b/crates/jacquard-api/src/sh_tangled/feed.rs
index d68b7ab2..96b4b22a 100644
--- a/crates/jacquard-api/src/sh_tangled/feed.rs
+++ b/crates/jacquard-api/src/sh_tangled/feed.rs
@@ -4,4 +4,4 @@
 // Any manual changes will be overwritten on the next regeneration.
 
 pub mod reaction;
-pub mod star;
\ No newline at end of file
+pub mod star;
diff --git a/crates/jacquard-api/src/sh_tangled/feed/reaction.rs b/crates/jacquard-api/src/sh_tangled/feed/reaction.rs
index d473b1ac..4e3b6484 100644
--- a/crates/jacquard-api/src/sh_tangled/feed/reaction.rs
+++ b/crates/jacquard-api/src/sh_tangled/feed/reaction.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(
@@ -104,7 +104,7 @@ impl LexiconSchema for Reaction {
 
 pub mod reaction_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -270,10 +270,10 @@ where
 }
 
 fn lexicon_doc_sh_tangled_feed_reaction() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("sh.tangled.feed.reaction"),
@@ -284,13 +284,11 @@ fn lexicon_doc_sh_tangled_feed_reaction() -> LexiconDoc<'static> {
                 LexUserType::Record(LexRecord {
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("subject"),
-                                SmolStr::new_static("reaction"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("subject"),
+                            SmolStr::new_static("reaction"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -325,4 +323,4 @@ fn lexicon_doc_sh_tangled_feed_reaction() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_tangled/feed/star.rs b/crates/jacquard-api/src/sh_tangled/feed/star.rs
index e6e3a673..378ef6d5 100644
--- a/crates/jacquard-api/src/sh_tangled/feed/star.rs
+++ b/crates/jacquard-api/src/sh_tangled/feed/star.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(
@@ -103,7 +103,7 @@ impl LexiconSchema for Star {
 
 pub mod star_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -233,10 +233,10 @@ where
 }
 
 fn lexicon_doc_sh_tangled_feed_star() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("sh.tangled.feed.star"),
@@ -247,12 +247,10 @@ fn lexicon_doc_sh_tangled_feed_star() -> LexiconDoc<'static> {
                 LexUserType::Record(LexRecord {
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("subject"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("subject"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -281,4 +279,4 @@ fn lexicon_doc_sh_tangled_feed_star() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_tangled/git.rs b/crates/jacquard-api/src/sh_tangled/git.rs
index 04706aba..ea801245 100644
--- a/crates/jacquard-api/src/sh_tangled/git.rs
+++ b/crates/jacquard-api/src/sh_tangled/git.rs
@@ -4,4 +4,4 @@
 // Any manual changes will be overwritten on the next regeneration.
 
 pub mod ref_update;
-pub mod temp;
\ No newline at end of file
+pub mod temp;
diff --git a/crates/jacquard-api/src/sh_tangled/git/ref_update.rs b/crates/jacquard-api/src/sh_tangled/git/ref_update.rs
index 43d544d6..54ad426f 100644
--- a/crates/jacquard-api/src/sh_tangled/git/ref_update.rs
+++ b/crates/jacquard-api/src/sh_tangled/git/ref_update.rs
@@ -10,13 +10,13 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::collection::{Collection, RecordError};
-use jacquard_common::types::string::{Did, AtUri, Cid};
+use jacquard_common::types::string::{AtUri, Cid, Did};
 use jacquard_common::types::uri::{RecordUri, UriError};
 use jacquard_common::types::value::Data;
 use jacquard_common::xrpc::XrpcResp;
@@ -24,13 +24,16 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::sh_tangled::git::ref_update;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::sh_tangled::git::ref_update;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct CommitCountBreakdown {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub by_email: Option>>,
@@ -38,9 +41,11 @@ pub struct CommitCountBreakdown {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct IndividualEmailCommitCount {
     pub count: i64,
     pub email: S,
@@ -48,9 +53,11 @@ pub struct IndividualEmailCommitCount {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct IndividualLanguageSize {
     pub lang: S,
     pub size: i64,
@@ -58,9 +65,11 @@ pub struct IndividualLanguageSize {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct LangBreakdown {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub inputs: Option>>,
@@ -106,9 +115,11 @@ pub struct RefUpdateGetRecordOutput {
     pub value: RefUpdate,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Meta {
     pub commit_count: ref_update::CommitCountBreakdown,
     /// Defaults to `false`.
@@ -312,10 +323,10 @@ impl LexiconSchema for Meta {
 }
 
 fn lexicon_doc_sh_tangled_git_refUpdate() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("sh.tangled.git.refUpdate"),
@@ -346,9 +357,10 @@ fn lexicon_doc_sh_tangled_git_refUpdate() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("individualEmailCommitCount"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![SmolStr::new_static("email"), SmolStr::new_static("count")],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("email"),
+                        SmolStr::new_static("count"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -360,7 +372,9 @@ fn lexicon_doc_sh_tangled_git_refUpdate() -> LexiconDoc<'static> {
                         );
                         map.insert(
                             SmolStr::new_static("email"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map
                     },
@@ -370,15 +384,18 @@ fn lexicon_doc_sh_tangled_git_refUpdate() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("individualLanguageSize"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![SmolStr::new_static("lang"), SmolStr::new_static("size")],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("lang"),
+                        SmolStr::new_static("size"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("lang"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("size"),
@@ -415,32 +432,29 @@ fn lexicon_doc_sh_tangled_git_refUpdate() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static(
-                            "An update to a git repository, emitted by knots.",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "An update to a git repository, emitted by knots.",
+                    )),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("ref"),
-                                SmolStr::new_static("committerDid"),
-                                SmolStr::new_static("repoDid"),
-                                SmolStr::new_static("repoName"),
-                                SmolStr::new_static("oldSha"),
-                                SmolStr::new_static("newSha"), SmolStr::new_static("meta")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("ref"),
+                            SmolStr::new_static("committerDid"),
+                            SmolStr::new_static("repoDid"),
+                            SmolStr::new_static("repoName"),
+                            SmolStr::new_static("oldSha"),
+                            SmolStr::new_static("newSha"),
+                            SmolStr::new_static("meta"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
                             map.insert(
                                 SmolStr::new_static("committerDid"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("did of the user that pushed this ref"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "did of the user that pushed this ref",
+                                    )),
                                     format: Some(LexStringFormat::Did),
                                     ..Default::default()
                                 }),
@@ -455,9 +469,7 @@ fn lexicon_doc_sh_tangled_git_refUpdate() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("newSha"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("new SHA of this ref"),
-                                    ),
+                                    description: Some(CowStr::new_static("new SHA of this ref")),
                                     min_length: Some(40usize),
                                     max_length: Some(40usize),
                                     ..Default::default()
@@ -466,9 +478,7 @@ fn lexicon_doc_sh_tangled_git_refUpdate() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("oldSha"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("old SHA of this ref"),
-                                    ),
+                                    description: Some(CowStr::new_static("old SHA of this ref")),
                                     min_length: Some(40usize),
                                     max_length: Some(40usize),
                                     ..Default::default()
@@ -486,9 +496,9 @@ fn lexicon_doc_sh_tangled_git_refUpdate() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("repoDid"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("did of the owner of the repo"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "did of the owner of the repo",
+                                    )),
                                     format: Some(LexStringFormat::Did),
                                     ..Default::default()
                                 }),
@@ -510,12 +520,10 @@ fn lexicon_doc_sh_tangled_git_refUpdate() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("meta"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("isDefaultRef"),
-                            SmolStr::new_static("commitCount")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("isDefaultRef"),
+                        SmolStr::new_static("commitCount"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -552,7 +560,7 @@ fn lexicon_doc_sh_tangled_git_refUpdate() -> LexiconDoc<'static> {
 
 pub mod individual_email_commit_count_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -606,17 +614,13 @@ pub struct IndividualEmailCommitCountBuilder<
 
 impl IndividualEmailCommitCount {
     /// Create a new builder for this type.
-    pub fn new() -> IndividualEmailCommitCountBuilder<
-        S,
-        individual_email_commit_count_state::Empty,
-    > {
+    pub fn new() -> IndividualEmailCommitCountBuilder
+    {
         IndividualEmailCommitCountBuilder::new()
     }
 }
 
-impl<
-    S: BosStr,
-> IndividualEmailCommitCountBuilder {
+impl IndividualEmailCommitCountBuilder {
     /// Create a new builder with all fields unset.
     pub fn new() -> Self {
         IndividualEmailCommitCountBuilder {
@@ -636,10 +640,8 @@ where
     pub fn count(
         mut self,
         value: impl Into,
-    ) -> IndividualEmailCommitCountBuilder<
-        S,
-        individual_email_commit_count_state::SetCount,
-    > {
+    ) -> IndividualEmailCommitCountBuilder>
+    {
         self._fields.0 = Option::Some(value.into());
         IndividualEmailCommitCountBuilder {
             _state: PhantomData,
@@ -658,10 +660,8 @@ where
     pub fn email(
         mut self,
         value: impl Into,
-    ) -> IndividualEmailCommitCountBuilder<
-        S,
-        individual_email_commit_count_state::SetEmail,
-    > {
+    ) -> IndividualEmailCommitCountBuilder>
+    {
         self._fields.1 = Option::Some(value.into());
         IndividualEmailCommitCountBuilder {
             _state: PhantomData,
@@ -700,7 +700,7 @@ where
 
 pub mod individual_language_size_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -743,10 +743,7 @@ pub mod individual_language_size_state {
 }
 
 /// Builder for constructing an instance of this type.
-pub struct IndividualLanguageSizeBuilder<
-    S: BosStr,
-    St: individual_language_size_state::State,
-> {
+pub struct IndividualLanguageSizeBuilder {
     _state: PhantomData St>,
     _fields: (Option, Option),
     _type: PhantomData S>,
@@ -754,10 +751,7 @@ pub struct IndividualLanguageSizeBuilder<
 
 impl IndividualLanguageSize {
     /// Create a new builder for this type.
-    pub fn new() -> IndividualLanguageSizeBuilder<
-        S,
-        individual_language_size_state::Empty,
-    > {
+    pub fn new() -> IndividualLanguageSizeBuilder {
         IndividualLanguageSizeBuilder::new()
     }
 }
@@ -840,7 +834,7 @@ where
 
 pub mod ref_update_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1163,10 +1157,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> RefUpdate {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> RefUpdate {
         RefUpdate {
             committer_did: self._fields.0.unwrap(),
             meta: self._fields.1.unwrap(),
@@ -1186,7 +1177,7 @@ fn _default_meta_is_default_ref() -> bool {
 
 pub mod meta_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1305,10 +1296,7 @@ impl MetaBuilder {
         self
     }
     /// Set the `langBreakdown` field to an Option value (optional)
-    pub fn maybe_lang_breakdown(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_lang_breakdown(mut self, value: Option>) -> Self {
         self._fields.2 = value;
         self
     }
@@ -1338,4 +1326,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_tangled/git/temp.rs b/crates/jacquard-api/src/sh_tangled/git/temp.rs
index f7455217..9ec6dad8 100644
--- a/crates/jacquard-api/src/sh_tangled/git/temp.rs
+++ b/crates/jacquard-api/src/sh_tangled/git/temp.rs
@@ -20,13 +20,12 @@ pub mod list_commits;
 pub mod list_languages;
 pub mod list_tags;
 
-
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -37,14 +36,17 @@ use jacquard_derive::IntoStatic;
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::sh_tangled::git::temp;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::sh_tangled::git::temp;
+use serde::{Deserialize, Serialize};
 /// blob metadata. This object doesn't include the blob content
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Blob {
     pub last_commit: temp::Commit,
     pub mode: S,
@@ -59,9 +61,11 @@ pub struct Blob {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Branch {
     ///hydrated commit object
     pub commit: temp::Commit,
@@ -71,9 +75,11 @@ pub struct Branch {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Commit {
     pub author: temp::Signature,
     pub committer: temp::Signature,
@@ -87,7 +93,10 @@ pub struct Commit {
 pub type Hash = S;
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Signature {
     ///Person email
     pub email: S,
@@ -99,9 +108,11 @@ pub struct Signature {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Submodule {
     ///Branch to track in the submodule
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -114,9 +125,11 @@ pub struct Submodule {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Tag {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub message: Option,
@@ -220,7 +233,7 @@ impl LexiconSchema for Tag {
 
 pub mod blob_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -348,10 +361,7 @@ where
     St::Mode: blob_state::IsUnset,
 {
     /// Set the `mode` field (required)
-    pub fn mode(
-        mut self,
-        value: impl Into,
-    ) -> BlobBuilder> {
+    pub fn mode(mut self, value: impl Into) -> BlobBuilder> {
         self._fields.1 = Option::Some(value.into());
         BlobBuilder {
             _state: PhantomData,
@@ -367,10 +377,7 @@ where
     St::Name: blob_state::IsUnset,
 {
     /// Set the `name` field (required)
-    pub fn name(
-        mut self,
-        value: impl Into,
-    ) -> BlobBuilder> {
+    pub fn name(mut self, value: impl Into) -> BlobBuilder> {
         self._fields.2 = Option::Some(value.into());
         BlobBuilder {
             _state: PhantomData,
@@ -386,10 +393,7 @@ where
     St::Size: blob_state::IsUnset,
 {
     /// Set the `size` field (required)
-    pub fn size(
-        mut self,
-        value: impl Into,
-    ) -> BlobBuilder> {
+    pub fn size(mut self, value: impl Into) -> BlobBuilder> {
         self._fields.3 = Option::Some(value.into());
         BlobBuilder {
             _state: PhantomData,
@@ -445,10 +449,10 @@ where
 }
 
 fn lexicon_doc_sh_tangled_git_temp_defs() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("sh.tangled.git.temp.defs"),
@@ -457,18 +461,15 @@ fn lexicon_doc_sh_tangled_git_temp_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("blob"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static(
-                            "blob metadata. This object doesn't include the blob content",
-                        ),
-                    ),
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("name"), SmolStr::new_static("mode"),
-                            SmolStr::new_static("size"),
-                            SmolStr::new_static("lastCommit")
-                        ],
-                    ),
+                    description: Some(CowStr::new_static(
+                        "blob metadata. This object doesn't include the blob content",
+                    )),
+                    required: Some(vec![
+                        SmolStr::new_static("name"),
+                        SmolStr::new_static("mode"),
+                        SmolStr::new_static("size"),
+                        SmolStr::new_static("lastCommit"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -481,7 +482,9 @@ fn lexicon_doc_sh_tangled_git_temp_defs() -> LexiconDoc<'static> {
                         );
                         map.insert(
                             SmolStr::new_static("mode"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("name"),
@@ -511,9 +514,10 @@ fn lexicon_doc_sh_tangled_git_temp_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("branch"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![SmolStr::new_static("name"), SmolStr::new_static("commit")],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("name"),
+                        SmolStr::new_static("commit"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -539,13 +543,13 @@ fn lexicon_doc_sh_tangled_git_temp_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("commit"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("hash"), SmolStr::new_static("author"),
-                            SmolStr::new_static("committer"),
-                            SmolStr::new_static("message"), SmolStr::new_static("tree")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("hash"),
+                        SmolStr::new_static("author"),
+                        SmolStr::new_static("committer"),
+                        SmolStr::new_static("message"),
+                        SmolStr::new_static("tree"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -572,7 +576,9 @@ fn lexicon_doc_sh_tangled_git_temp_defs() -> LexiconDoc<'static> {
                         );
                         map.insert(
                             SmolStr::new_static("message"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("tree"),
@@ -588,17 +594,18 @@ fn lexicon_doc_sh_tangled_git_temp_defs() -> LexiconDoc<'static> {
             );
             map.insert(
                 SmolStr::new_static("hash"),
-                LexUserType::String(LexString { ..Default::default() }),
+                LexUserType::String(LexString {
+                    ..Default::default()
+                }),
             );
             map.insert(
                 SmolStr::new_static("signature"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("name"), SmolStr::new_static("email"),
-                            SmolStr::new_static("when")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("name"),
+                        SmolStr::new_static("email"),
+                        SmolStr::new_static("when"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -619,9 +626,7 @@ fn lexicon_doc_sh_tangled_git_temp_defs() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("when"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Timestamp of the signature"),
-                                ),
+                                description: Some(CowStr::new_static("Timestamp of the signature")),
                                 format: Some(LexStringFormat::Datetime),
                                 ..Default::default()
                             }),
@@ -634,18 +639,19 @@ fn lexicon_doc_sh_tangled_git_temp_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("submodule"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![SmolStr::new_static("name"), SmolStr::new_static("url")],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("name"),
+                        SmolStr::new_static("url"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("branch"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Branch to track in the submodule"),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Branch to track in the submodule",
+                                )),
                                 ..Default::default()
                             }),
                         );
@@ -659,9 +665,7 @@ fn lexicon_doc_sh_tangled_git_temp_defs() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("url"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Submodule repository URL"),
-                                ),
+                                description: Some(CowStr::new_static("Submodule repository URL")),
                                 ..Default::default()
                             }),
                         );
@@ -673,18 +677,19 @@ fn lexicon_doc_sh_tangled_git_temp_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("tag"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("name"), SmolStr::new_static("tagger"),
-                            SmolStr::new_static("target")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("name"),
+                        SmolStr::new_static("tagger"),
+                        SmolStr::new_static("target"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("message"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("name"),
@@ -719,7 +724,7 @@ fn lexicon_doc_sh_tangled_git_temp_defs() -> LexiconDoc<'static> {
 
 pub mod branch_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -811,10 +816,7 @@ where
     St::Name: branch_state::IsUnset,
 {
     /// Set the `name` field (required)
-    pub fn name(
-        mut self,
-        value: impl Into,
-    ) -> BranchBuilder> {
+    pub fn name(mut self, value: impl Into) -> BranchBuilder> {
         self._fields.1 = Option::Some(value.into());
         BranchBuilder {
             _state: PhantomData,
@@ -850,7 +852,7 @@ where
 
 pub mod commit_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1101,7 +1103,7 @@ where
 
 pub mod signature_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1256,10 +1258,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> Signature {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> Signature {
         Signature {
             email: self._fields.0.unwrap(),
             name: self._fields.1.unwrap(),
@@ -1271,7 +1270,7 @@ where
 
 pub mod tag_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1330,7 +1329,12 @@ pub mod tag_state {
 /// Builder for constructing an instance of this type.
 pub struct TagBuilder {
     _state: PhantomData St>,
-    _fields: (Option, Option, Option>, Option>),
+    _fields: (
+        Option,
+        Option,
+        Option>,
+        Option>,
+    ),
     _type: PhantomData S>,
 }
 
@@ -1406,10 +1410,7 @@ where
     St::Target: tag_state::IsUnset,
 {
     /// Set the `target` field (required)
-    pub fn target(
-        mut self,
-        value: impl Into>,
-    ) -> TagBuilder> {
+    pub fn target(mut self, value: impl Into>) -> TagBuilder> {
         self._fields.3 = Option::Some(value.into());
         TagBuilder {
             _state: PhantomData,
@@ -1446,4 +1447,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_tangled/git/temp/analyze_merge.rs b/crates/jacquard-api/src/sh_tangled/git/temp/analyze_merge.rs
index 3ac438c1..fdbd681a 100644
--- a/crates/jacquard-api/src/sh_tangled/git/temp/analyze_merge.rs
+++ b/crates/jacquard-api/src/sh_tangled/git/temp/analyze_merge.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -21,13 +21,16 @@ use jacquard_derive::IntoStatic;
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::sh_tangled::git::temp::analyze_merge;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::sh_tangled::git::temp::analyze_merge;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ConflictInfo {
     ///Name of the conflicted file
     pub filename: S,
@@ -37,18 +40,22 @@ pub struct ConflictInfo {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct AnalyzeMerge {
     pub branch: S,
     pub patch: S,
     pub repo: AtUri,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct AnalyzeMergeOutput {
     ///List of files with merge conflicts
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -99,10 +106,10 @@ impl jacquard_common::xrpc::XrpcEndpoint for AnalyzeMergeRequest {
 }
 
 fn lexicon_doc_sh_tangled_git_temp_analyzeMerge() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("sh.tangled.git.temp.analyzeMerge"),
@@ -111,30 +118,26 @@ fn lexicon_doc_sh_tangled_git_temp_analyzeMerge() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("conflictInfo"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("filename"),
-                            SmolStr::new_static("reason")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("filename"),
+                        SmolStr::new_static("reason"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("filename"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Name of the conflicted file"),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Name of the conflicted file",
+                                )),
                                 ..Default::default()
                             }),
                         );
                         map.insert(
                             SmolStr::new_static("reason"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Reason for the conflict"),
-                                ),
+                                description: Some(CowStr::new_static("Reason for the conflict")),
                                 ..Default::default()
                             }),
                         );
@@ -146,52 +149,47 @@ fn lexicon_doc_sh_tangled_git_temp_analyzeMerge() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::XrpcQuery(LexXrpcQuery {
-                    parameters: Some(
-                        LexXrpcQueryParameter::Params(LexXrpcParameters {
-                            required: Some(
-                                vec![
-                                    SmolStr::new_static("repo"), SmolStr::new_static("patch"),
-                                    SmolStr::new_static("branch")
-                                ],
-                            ),
-                            properties: {
-                                #[allow(unused_mut)]
-                                let mut map = BTreeMap::new();
-                                map.insert(
-                                    SmolStr::new_static("branch"),
-                                    LexXrpcParametersProperty::String(LexString {
-                                        description: Some(
-                                            CowStr::new_static("Target branch to merge into"),
-                                        ),
-                                        ..Default::default()
-                                    }),
-                                );
-                                map.insert(
-                                    SmolStr::new_static("patch"),
-                                    LexXrpcParametersProperty::String(LexString {
-                                        description: Some(
-                                            CowStr::new_static(
-                                                "Patch or pull request to check for merge conflicts",
-                                            ),
-                                        ),
-                                        ..Default::default()
-                                    }),
-                                );
-                                map.insert(
-                                    SmolStr::new_static("repo"),
-                                    LexXrpcParametersProperty::String(LexString {
-                                        description: Some(
-                                            CowStr::new_static("AT-URI of the repository"),
-                                        ),
-                                        format: Some(LexStringFormat::AtUri),
-                                        ..Default::default()
-                                    }),
-                                );
-                                map
-                            },
-                            ..Default::default()
-                        }),
-                    ),
+                    parameters: Some(LexXrpcQueryParameter::Params(LexXrpcParameters {
+                        required: Some(vec![
+                            SmolStr::new_static("repo"),
+                            SmolStr::new_static("patch"),
+                            SmolStr::new_static("branch"),
+                        ]),
+                        properties: {
+                            #[allow(unused_mut)]
+                            let mut map = BTreeMap::new();
+                            map.insert(
+                                SmolStr::new_static("branch"),
+                                LexXrpcParametersProperty::String(LexString {
+                                    description: Some(CowStr::new_static(
+                                        "Target branch to merge into",
+                                    )),
+                                    ..Default::default()
+                                }),
+                            );
+                            map.insert(
+                                SmolStr::new_static("patch"),
+                                LexXrpcParametersProperty::String(LexString {
+                                    description: Some(CowStr::new_static(
+                                        "Patch or pull request to check for merge conflicts",
+                                    )),
+                                    ..Default::default()
+                                }),
+                            );
+                            map.insert(
+                                SmolStr::new_static("repo"),
+                                LexXrpcParametersProperty::String(LexString {
+                                    description: Some(CowStr::new_static(
+                                        "AT-URI of the repository",
+                                    )),
+                                    format: Some(LexStringFormat::AtUri),
+                                    ..Default::default()
+                                }),
+                            );
+                            map
+                        },
+                        ..Default::default()
+                    })),
                     ..Default::default()
                 }),
             );
@@ -203,7 +201,7 @@ fn lexicon_doc_sh_tangled_git_temp_analyzeMerge() -> LexiconDoc<'static> {
 
 pub mod analyze_merge_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -356,4 +354,4 @@ where
             repo: self._fields.2.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_tangled/git/temp/get_archive.rs b/crates/jacquard-api/src/sh_tangled/git/temp/get_archive.rs
index d579ff4b..34956362 100644
--- a/crates/jacquard-api/src/sh_tangled/git/temp/get_archive.rs
+++ b/crates/jacquard-api/src/sh_tangled/git/temp/get_archive.rs
@@ -10,16 +10,19 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::bytes::Bytes;
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::AtUri;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::{IntoStatic, open_union};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetArchive {
     ///Defaults to `"tar.gz"`.
     #[serde(default = "_default_format")]
@@ -39,18 +42,9 @@ pub struct GetArchiveOutput {
     pub body: Bytes,
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum GetArchiveError {
     /// Repository not found or access denied
@@ -67,7 +61,10 @@ pub enum GetArchiveError {
     ArchiveError(Option),
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for GetArchiveError {
@@ -161,7 +158,7 @@ fn _default_format() -> Option {
 
 pub mod get_archive_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -307,4 +304,4 @@ where
             repo: self._fields.3.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_tangled/git/temp/get_blob.rs b/crates/jacquard-api/src/sh_tangled/git/temp/get_blob.rs
index 9515ef84..513b7fd4 100644
--- a/crates/jacquard-api/src/sh_tangled/git/temp/get_blob.rs
+++ b/crates/jacquard-api/src/sh_tangled/git/temp/get_blob.rs
@@ -10,16 +10,19 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::bytes::Bytes;
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::AtUri;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::{IntoStatic, open_union};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetBlob {
     pub path: S,
     ///Defaults to `"HEAD"`.
@@ -37,18 +40,9 @@ pub struct GetBlobOutput {
     pub body: Bytes,
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum GetBlobError {
     /// Repository not found or access denied
@@ -62,7 +56,10 @@ pub enum GetBlobError {
     InvalidRequest(Option),
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for GetBlobError {
@@ -149,7 +146,7 @@ fn _default_ref() -> Option {
 
 pub mod get_blob_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -222,10 +219,7 @@ where
     St::Path: get_blob_state::IsUnset,
 {
     /// Set the `path` field (required)
-    pub fn path(
-        mut self,
-        value: impl Into,
-    ) -> GetBlobBuilder> {
+    pub fn path(mut self, value: impl Into) -> GetBlobBuilder> {
         self._fields.0 = Option::Some(value.into());
         GetBlobBuilder {
             _state: PhantomData,
@@ -281,4 +275,4 @@ where
             repo: self._fields.2.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_tangled/git/temp/get_branch.rs b/crates/jacquard-api/src/sh_tangled/git/temp/get_branch.rs
index 7810221a..a7bb1071 100644
--- a/crates/jacquard-api/src/sh_tangled/git/temp/get_branch.rs
+++ b/crates/jacquard-api/src/sh_tangled/git/temp/get_branch.rs
@@ -8,26 +8,31 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::sh_tangled::git::temp::Signature;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::{AtUri, Datetime};
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::{IntoStatic, open_union};
-use serde::{Serialize, Deserialize};
-use crate::sh_tangled::git::temp::Signature;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetBranch {
     pub name: S,
     pub repo: AtUri,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetBranchOutput {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub author: Option>,
@@ -44,18 +49,9 @@ pub struct GetBranchOutput {
     pub extra_data: Option>>,
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum GetBranchError {
     /// Repository not found or access denied
@@ -69,7 +65,10 @@ pub enum GetBranchError {
     InvalidRequest(Option),
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for GetBranchError {
@@ -133,7 +132,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetBranchRequest {
 
 pub mod get_branch_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -251,4 +250,4 @@ where
             repo: self._fields.1.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_tangled/git/temp/get_commit.rs b/crates/jacquard-api/src/sh_tangled/git/temp/get_commit.rs
index f2d5b66a..932c8dcd 100644
--- a/crates/jacquard-api/src/sh_tangled/git/temp/get_commit.rs
+++ b/crates/jacquard-api/src/sh_tangled/git/temp/get_commit.rs
@@ -8,26 +8,31 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::sh_tangled::git::temp::Commit;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::AtUri;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::{IntoStatic, open_union};
-use serde::{Serialize, Deserialize};
-use crate::sh_tangled::git::temp::Commit;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetCommit {
     pub r#ref: S,
     pub repo: AtUri,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetCommitOutput {
     #[serde(flatten)]
     pub value: Commit,
@@ -35,18 +40,9 @@ pub struct GetCommitOutput {
     pub extra_data: Option>>,
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum GetCommitError {
     /// Repository not found or access denied
@@ -60,7 +56,10 @@ pub enum GetCommitError {
     InvalidRequest(Option),
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for GetCommitError {
@@ -124,7 +123,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetCommitRequest {
 
 pub mod get_commit_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -242,4 +241,4 @@ where
             repo: self._fields.1.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_tangled/git/temp/get_diff.rs b/crates/jacquard-api/src/sh_tangled/git/temp/get_diff.rs
index 26c3ec6d..17ceb496 100644
--- a/crates/jacquard-api/src/sh_tangled/git/temp/get_diff.rs
+++ b/crates/jacquard-api/src/sh_tangled/git/temp/get_diff.rs
@@ -10,16 +10,19 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::bytes::Bytes;
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::AtUri;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::{IntoStatic, open_union};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetDiff {
     pub repo: AtUri,
     pub rev1: S,
@@ -34,18 +37,9 @@ pub struct GetDiffOutput {
     pub body: Bytes,
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum GetDiffError {
     /// Repository not found or access denied
@@ -62,7 +56,10 @@ pub enum GetDiffError {
     CompareError(Option),
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for GetDiffError {
@@ -152,7 +149,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetDiffRequest {
 
 pub mod get_diff_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -258,10 +255,7 @@ where
     St::Rev1: get_diff_state::IsUnset,
 {
     /// Set the `rev1` field (required)
-    pub fn rev1(
-        mut self,
-        value: impl Into,
-    ) -> GetDiffBuilder> {
+    pub fn rev1(mut self, value: impl Into) -> GetDiffBuilder> {
         self._fields.1 = Option::Some(value.into());
         GetDiffBuilder {
             _state: PhantomData,
@@ -277,10 +271,7 @@ where
     St::Rev2: get_diff_state::IsUnset,
 {
     /// Set the `rev2` field (required)
-    pub fn rev2(
-        mut self,
-        value: impl Into,
-    ) -> GetDiffBuilder> {
+    pub fn rev2(mut self, value: impl Into) -> GetDiffBuilder> {
         self._fields.2 = Option::Some(value.into());
         GetDiffBuilder {
             _state: PhantomData,
@@ -305,4 +296,4 @@ where
             rev2: self._fields.2.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_tangled/git/temp/get_entity.rs b/crates/jacquard-api/src/sh_tangled/git/temp/get_entity.rs
index 61898903..281716f0 100644
--- a/crates/jacquard-api/src/sh_tangled/git/temp/get_entity.rs
+++ b/crates/jacquard-api/src/sh_tangled/git/temp/get_entity.rs
@@ -8,18 +8,21 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::sh_tangled::git::temp::Blob;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::AtUri;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::{IntoStatic, open_union};
-use serde::{Serialize, Deserialize};
-use crate::sh_tangled::git::temp::Blob;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetEntity {
     pub path: S,
     ///Defaults to `"HEAD"`.
@@ -29,9 +32,11 @@ pub struct GetEntity {
     pub repo: AtUri,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetEntityOutput {
     #[serde(flatten)]
     pub value: Blob,
@@ -39,18 +44,9 @@ pub struct GetEntityOutput {
     pub extra_data: Option>>,
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum GetEntityError {
     /// Repository not found or access denied
@@ -64,7 +60,10 @@ pub enum GetEntityError {
     InvalidRequest(Option),
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for GetEntityError {
@@ -132,7 +131,7 @@ fn _default_ref() -> Option {
 
 pub mod get_entity_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -264,4 +263,4 @@ where
             repo: self._fields.2.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_tangled/git/temp/get_head.rs b/crates/jacquard-api/src/sh_tangled/git/temp/get_head.rs
index 78b40ddd..ac70e9d6 100644
--- a/crates/jacquard-api/src/sh_tangled/git/temp/get_head.rs
+++ b/crates/jacquard-api/src/sh_tangled/git/temp/get_head.rs
@@ -8,25 +8,30 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::sh_tangled::git::temp::Branch;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::AtUri;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::{IntoStatic, open_union};
-use serde::{Serialize, Deserialize};
-use crate::sh_tangled::git::temp::Branch;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetHead {
     pub repo: AtUri,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetHeadOutput {
     #[serde(flatten)]
     pub value: Branch,
@@ -34,18 +39,9 @@ pub struct GetHeadOutput {
     pub extra_data: Option>>,
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum GetHeadError {
     /// Repository not found or access denied
@@ -56,7 +52,10 @@ pub enum GetHeadError {
     InvalidRequest(Option),
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for GetHeadError {
@@ -113,7 +112,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetHeadRequest {
 
 pub mod get_head_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -198,4 +197,4 @@ where
             repo: self._fields.0.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_tangled/git/temp/get_tag.rs b/crates/jacquard-api/src/sh_tangled/git/temp/get_tag.rs
index aa873704..5a1542c3 100644
--- a/crates/jacquard-api/src/sh_tangled/git/temp/get_tag.rs
+++ b/crates/jacquard-api/src/sh_tangled/git/temp/get_tag.rs
@@ -10,40 +10,33 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::bytes::Bytes;
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::AtUri;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::{IntoStatic, open_union};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetTag {
     pub repo: AtUri,
     pub tag: S,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(rename_all = "camelCase")]
 pub struct GetTagOutput {
     pub body: Bytes,
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum GetTagError {
     /// Repository not found or access denied
@@ -57,7 +50,10 @@ pub enum GetTagError {
     InvalidRequest(Option),
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for GetTagError {
@@ -140,7 +136,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetTagRequest {
 
 pub mod get_tag_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -232,10 +228,7 @@ where
     St::Tag: get_tag_state::IsUnset,
 {
     /// Set the `tag` field (required)
-    pub fn tag(
-        mut self,
-        value: impl Into,
-    ) -> GetTagBuilder> {
+    pub fn tag(mut self, value: impl Into) -> GetTagBuilder> {
         self._fields.1 = Option::Some(value.into());
         GetTagBuilder {
             _state: PhantomData,
@@ -258,4 +251,4 @@ where
             tag: self._fields.1.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_tangled/git/temp/get_tree.rs b/crates/jacquard-api/src/sh_tangled/git/temp/get_tree.rs
index bb40eee6..052c3595 100644
--- a/crates/jacquard-api/src/sh_tangled/git/temp/get_tree.rs
+++ b/crates/jacquard-api/src/sh_tangled/git/temp/get_tree.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -21,13 +21,16 @@ use jacquard_derive::{IntoStatic, open_union};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::sh_tangled::git::temp::get_tree;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::sh_tangled::git::temp::get_tree;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct LastCommit {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub author: Option>,
@@ -41,9 +44,11 @@ pub struct LastCommit {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetTree {
     ///Defaults to `""`.
     #[serde(default = "_default_path")]
@@ -53,9 +58,11 @@ pub struct GetTree {
     pub repo: AtUri,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetTreeOutput {
     ///Parent directory path
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -75,18 +82,9 @@ pub struct GetTreeOutput {
     pub extra_data: Option>>,
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum GetTreeError {
     /// Repository not found or access denied
@@ -103,7 +101,10 @@ pub enum GetTreeError {
     InvalidRequest(Option),
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for GetTreeError {
@@ -148,9 +149,11 @@ impl core::fmt::Display for GetTreeError {
     }
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Readme {
     ///Contents of the readme file
     pub contents: S,
@@ -160,9 +163,11 @@ pub struct Readme {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Signature {
     ///Author email
     pub email: S,
@@ -174,9 +179,11 @@ pub struct Signature {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct TreeEntry {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub last_commit: Option>,
@@ -276,7 +283,7 @@ impl LexiconSchema for TreeEntry {
 
 pub mod last_commit_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -335,7 +342,12 @@ pub mod last_commit_state {
 /// Builder for constructing an instance of this type.
 pub struct LastCommitBuilder {
     _state: PhantomData St>,
-    _fields: (Option>, Option, Option, Option),
+    _fields: (
+        Option>,
+        Option,
+        Option,
+        Option,
+    ),
     _type: PhantomData S>,
 }
 
@@ -445,10 +457,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> LastCommit {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> LastCommit {
         LastCommit {
             author: self._fields.0,
             hash: self._fields.1.unwrap(),
@@ -460,10 +469,10 @@ where
 }
 
 fn lexicon_doc_sh_tangled_git_temp_getTree() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("sh.tangled.git.temp.getTree"),
@@ -472,12 +481,11 @@ fn lexicon_doc_sh_tangled_git_temp_getTree() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("lastCommit"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("hash"), SmolStr::new_static("message"),
-                            SmolStr::new_static("when")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("hash"),
+                        SmolStr::new_static("message"),
+                        SmolStr::new_static("when"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -518,81 +526,72 @@ fn lexicon_doc_sh_tangled_git_temp_getTree() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::XrpcQuery(LexXrpcQuery {
-                    parameters: Some(
-                        LexXrpcQueryParameter::Params(LexXrpcParameters {
-                            required: Some(
-                                vec![
-                                    SmolStr::new_static("repo"), SmolStr::new_static("ref")
-                                ],
-                            ),
-                            properties: {
-                                #[allow(unused_mut)]
-                                let mut map = BTreeMap::new();
-                                map.insert(
-                                    SmolStr::new_static("path"),
-                                    LexXrpcParametersProperty::String(LexString {
-                                        description: Some(
-                                            CowStr::new_static("Path within the repository tree"),
-                                        ),
-                                        ..Default::default()
-                                    }),
-                                );
-                                map.insert(
-                                    SmolStr::new_static("ref"),
-                                    LexXrpcParametersProperty::String(LexString {
-                                        description: Some(
-                                            CowStr::new_static(
-                                                "Git reference (branch, tag, or commit SHA)",
-                                            ),
-                                        ),
-                                        ..Default::default()
-                                    }),
-                                );
-                                map.insert(
-                                    SmolStr::new_static("repo"),
-                                    LexXrpcParametersProperty::String(LexString {
-                                        description: Some(
-                                            CowStr::new_static("AT-URI of the repository"),
-                                        ),
-                                        format: Some(LexStringFormat::AtUri),
-                                        ..Default::default()
-                                    }),
-                                );
-                                map
-                            },
-                            ..Default::default()
-                        }),
-                    ),
+                    parameters: Some(LexXrpcQueryParameter::Params(LexXrpcParameters {
+                        required: Some(vec![
+                            SmolStr::new_static("repo"),
+                            SmolStr::new_static("ref"),
+                        ]),
+                        properties: {
+                            #[allow(unused_mut)]
+                            let mut map = BTreeMap::new();
+                            map.insert(
+                                SmolStr::new_static("path"),
+                                LexXrpcParametersProperty::String(LexString {
+                                    description: Some(CowStr::new_static(
+                                        "Path within the repository tree",
+                                    )),
+                                    ..Default::default()
+                                }),
+                            );
+                            map.insert(
+                                SmolStr::new_static("ref"),
+                                LexXrpcParametersProperty::String(LexString {
+                                    description: Some(CowStr::new_static(
+                                        "Git reference (branch, tag, or commit SHA)",
+                                    )),
+                                    ..Default::default()
+                                }),
+                            );
+                            map.insert(
+                                SmolStr::new_static("repo"),
+                                LexXrpcParametersProperty::String(LexString {
+                                    description: Some(CowStr::new_static(
+                                        "AT-URI of the repository",
+                                    )),
+                                    format: Some(LexStringFormat::AtUri),
+                                    ..Default::default()
+                                }),
+                            );
+                            map
+                        },
+                        ..Default::default()
+                    })),
                     ..Default::default()
                 }),
             );
             map.insert(
                 SmolStr::new_static("readme"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("filename"),
-                            SmolStr::new_static("contents")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("filename"),
+                        SmolStr::new_static("contents"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("contents"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Contents of the readme file"),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Contents of the readme file",
+                                )),
                                 ..Default::default()
                             }),
                         );
                         map.insert(
                             SmolStr::new_static("filename"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Name of the readme file"),
-                                ),
+                                description: Some(CowStr::new_static("Name of the readme file")),
                                 ..Default::default()
                             }),
                         );
@@ -604,12 +603,11 @@ fn lexicon_doc_sh_tangled_git_temp_getTree() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("signature"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("name"), SmolStr::new_static("email"),
-                            SmolStr::new_static("when")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("name"),
+                        SmolStr::new_static("email"),
+                        SmolStr::new_static("when"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -643,12 +641,11 @@ fn lexicon_doc_sh_tangled_git_temp_getTree() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("treeEntry"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("name"), SmolStr::new_static("mode"),
-                            SmolStr::new_static("size")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("name"),
+                        SmolStr::new_static("mode"),
+                        SmolStr::new_static("size"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -669,9 +666,9 @@ fn lexicon_doc_sh_tangled_git_temp_getTree() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("name"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Relative file or directory name"),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Relative file or directory name",
+                                )),
                                 ..Default::default()
                             }),
                         );
@@ -698,7 +695,7 @@ fn _default_path() -> Option {
 
 pub mod get_tree_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -784,10 +781,7 @@ where
     St::Ref: get_tree_state::IsUnset,
 {
     /// Set the `ref` field (required)
-    pub fn r#ref(
-        mut self,
-        value: impl Into,
-    ) -> GetTreeBuilder> {
+    pub fn r#ref(mut self, value: impl Into) -> GetTreeBuilder> {
         self._fields.1 = Option::Some(value.into());
         GetTreeBuilder {
             _state: PhantomData,
@@ -834,7 +828,7 @@ where
 
 pub mod signature_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -989,10 +983,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> Signature {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> Signature {
         Signature {
             email: self._fields.0.unwrap(),
             name: self._fields.1.unwrap(),
@@ -1004,7 +995,7 @@ where
 
 pub mod tree_entry_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1063,7 +1054,12 @@ pub mod tree_entry_state {
 /// Builder for constructing an instance of this type.
 pub struct TreeEntryBuilder {
     _state: PhantomData St>,
-    _fields: (Option>, Option, Option, Option),
+    _fields: (
+        Option>,
+        Option,
+        Option,
+        Option,
+    ),
     _type: PhantomData S>,
 }
 
@@ -1087,10 +1083,7 @@ impl TreeEntryBuilder {
 
 impl TreeEntryBuilder {
     /// Set the `last_commit` field (optional)
-    pub fn last_commit(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn last_commit(mut self, value: impl Into>>) -> Self {
         self._fields.0 = value.into();
         self
     }
@@ -1176,10 +1169,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> TreeEntry {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> TreeEntry {
         TreeEntry {
             last_commit: self._fields.0,
             mode: self._fields.1.unwrap(),
@@ -1188,4 +1178,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_tangled/git/temp/list_branches.rs b/crates/jacquard-api/src/sh_tangled/git/temp/list_branches.rs
index 25219b16..e3f374f0 100644
--- a/crates/jacquard-api/src/sh_tangled/git/temp/list_branches.rs
+++ b/crates/jacquard-api/src/sh_tangled/git/temp/list_branches.rs
@@ -10,16 +10,19 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::bytes::Bytes;
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::AtUri;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::{IntoStatic, open_union};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ListBranches {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub cursor: Option,
@@ -30,25 +33,15 @@ pub struct ListBranches {
     pub repo: AtUri,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(rename_all = "camelCase")]
 pub struct ListBranchesOutput {
     pub body: Bytes,
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum ListBranchesError {
     /// Repository not found or access denied
@@ -59,7 +52,10 @@ pub enum ListBranchesError {
     InvalidRequest(Option),
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for ListBranchesError {
@@ -139,7 +135,7 @@ fn _default_limit() -> Option {
 
 pub mod list_branches_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -252,4 +248,4 @@ where
             repo: self._fields.2.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_tangled/git/temp/list_commits.rs b/crates/jacquard-api/src/sh_tangled/git/temp/list_commits.rs
index 1f8b3433..19b9d35f 100644
--- a/crates/jacquard-api/src/sh_tangled/git/temp/list_commits.rs
+++ b/crates/jacquard-api/src/sh_tangled/git/temp/list_commits.rs
@@ -10,16 +10,19 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::bytes::Bytes;
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::AtUri;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::{IntoStatic, open_union};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ListCommits {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub cursor: Option,
@@ -32,25 +35,15 @@ pub struct ListCommits {
     pub repo: AtUri,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(rename_all = "camelCase")]
 pub struct ListCommitsOutput {
     pub body: Bytes,
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum ListCommitsError {
     /// Repository not found or access denied
@@ -67,7 +60,10 @@ pub enum ListCommitsError {
     InvalidRequest(Option),
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for ListCommitsError {
@@ -161,7 +157,7 @@ fn _default_limit() -> Option {
 
 pub mod list_commits_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -288,4 +284,4 @@ where
             repo: self._fields.3.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_tangled/git/temp/list_languages.rs b/crates/jacquard-api/src/sh_tangled/git/temp/list_languages.rs
index 28736051..96a4c94c 100644
--- a/crates/jacquard-api/src/sh_tangled/git/temp/list_languages.rs
+++ b/crates/jacquard-api/src/sh_tangled/git/temp/list_languages.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -21,13 +21,16 @@ use jacquard_derive::{IntoStatic, open_union};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::sh_tangled::git::temp::list_languages;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::sh_tangled::git::temp::list_languages;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Language {
     ///Hex color code for this language
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -48,9 +51,11 @@ pub struct Language {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ListLanguages {
     ///Defaults to `"HEAD"`.
     #[serde(default = "_default_ref")]
@@ -59,9 +64,11 @@ pub struct ListLanguages {
     pub repo: AtUri,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ListLanguagesOutput {
     pub languages: Vec>,
     ///The git reference used
@@ -76,18 +83,9 @@ pub struct ListLanguagesOutput {
     pub extra_data: Option>>,
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum ListLanguagesError {
     /// Repository not found or access denied
@@ -101,7 +99,10 @@ pub enum ListLanguagesError {
     InvalidRequest(Option),
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for ListLanguagesError {
@@ -180,7 +181,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for ListLanguagesRequest {
 
 pub mod language_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -313,10 +314,7 @@ where
     St::Name: language_state::IsUnset,
 {
     /// Set the `name` field (required)
-    pub fn name(
-        mut self,
-        value: impl Into,
-    ) -> LanguageBuilder> {
+    pub fn name(mut self, value: impl Into) -> LanguageBuilder> {
         self._fields.3 = Option::Some(value.into());
         LanguageBuilder {
             _state: PhantomData,
@@ -398,10 +396,10 @@ where
 }
 
 fn lexicon_doc_sh_tangled_git_temp_listLanguages() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("sh.tangled.git.temp.listLanguages"),
@@ -410,32 +408,29 @@ fn lexicon_doc_sh_tangled_git_temp_listLanguages() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("language"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("name"), SmolStr::new_static("size"),
-                            SmolStr::new_static("percentage")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("name"),
+                        SmolStr::new_static("size"),
+                        SmolStr::new_static("percentage"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("color"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Hex color code for this language"),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Hex color code for this language",
+                                )),
                                 ..Default::default()
                             }),
                         );
                         map.insert(
                             SmolStr::new_static("extensions"),
                             LexObjectProperty::Array(LexArray {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "File extensions associated with this language",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "File extensions associated with this language",
+                                )),
                                 items: LexArrayItem::String(LexString {
                                     ..Default::default()
                                 }),
@@ -451,9 +446,7 @@ fn lexicon_doc_sh_tangled_git_temp_listLanguages() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("name"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Programming language name"),
-                                ),
+                                description: Some(CowStr::new_static("Programming language name")),
                                 ..Default::default()
                             }),
                         );
@@ -477,38 +470,34 @@ fn lexicon_doc_sh_tangled_git_temp_listLanguages() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::XrpcQuery(LexXrpcQuery {
-                    parameters: Some(
-                        LexXrpcQueryParameter::Params(LexXrpcParameters {
-                            required: Some(vec![SmolStr::new_static("repo")]),
-                            properties: {
-                                #[allow(unused_mut)]
-                                let mut map = BTreeMap::new();
-                                map.insert(
-                                    SmolStr::new_static("ref"),
-                                    LexXrpcParametersProperty::String(LexString {
-                                        description: Some(
-                                            CowStr::new_static(
-                                                "Git reference (branch, tag, or commit SHA)",
-                                            ),
-                                        ),
-                                        ..Default::default()
-                                    }),
-                                );
-                                map.insert(
-                                    SmolStr::new_static("repo"),
-                                    LexXrpcParametersProperty::String(LexString {
-                                        description: Some(
-                                            CowStr::new_static("AT-URI of the repository"),
-                                        ),
-                                        format: Some(LexStringFormat::AtUri),
-                                        ..Default::default()
-                                    }),
-                                );
-                                map
-                            },
-                            ..Default::default()
-                        }),
-                    ),
+                    parameters: Some(LexXrpcQueryParameter::Params(LexXrpcParameters {
+                        required: Some(vec![SmolStr::new_static("repo")]),
+                        properties: {
+                            #[allow(unused_mut)]
+                            let mut map = BTreeMap::new();
+                            map.insert(
+                                SmolStr::new_static("ref"),
+                                LexXrpcParametersProperty::String(LexString {
+                                    description: Some(CowStr::new_static(
+                                        "Git reference (branch, tag, or commit SHA)",
+                                    )),
+                                    ..Default::default()
+                                }),
+                            );
+                            map.insert(
+                                SmolStr::new_static("repo"),
+                                LexXrpcParametersProperty::String(LexString {
+                                    description: Some(CowStr::new_static(
+                                        "AT-URI of the repository",
+                                    )),
+                                    format: Some(LexStringFormat::AtUri),
+                                    ..Default::default()
+                                }),
+                            );
+                            map
+                        },
+                        ..Default::default()
+                    })),
                     ..Default::default()
                 }),
             );
@@ -524,7 +513,7 @@ fn _default_ref() -> Option {
 
 pub mod list_languages_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -623,4 +612,4 @@ where
             repo: self._fields.1.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_tangled/git/temp/list_tags.rs b/crates/jacquard-api/src/sh_tangled/git/temp/list_tags.rs
index d1111cfd..adf5567c 100644
--- a/crates/jacquard-api/src/sh_tangled/git/temp/list_tags.rs
+++ b/crates/jacquard-api/src/sh_tangled/git/temp/list_tags.rs
@@ -10,16 +10,19 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::bytes::Bytes;
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::AtUri;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::{IntoStatic, open_union};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ListTags {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub cursor: Option,
@@ -30,25 +33,15 @@ pub struct ListTags {
     pub repo: AtUri,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(rename_all = "camelCase")]
 pub struct ListTagsOutput {
     pub body: Bytes,
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum ListTagsError {
     /// Repository not found or access denied
@@ -59,7 +52,10 @@ pub enum ListTagsError {
     InvalidRequest(Option),
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for ListTagsError {
@@ -139,7 +135,7 @@ fn _default_limit() -> Option {
 
 pub mod list_tags_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -252,4 +248,4 @@ where
             repo: self._fields.2.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_tangled/graph.rs b/crates/jacquard-api/src/sh_tangled/graph.rs
index 63c6043b..c26e612d 100644
--- a/crates/jacquard-api/src/sh_tangled/graph.rs
+++ b/crates/jacquard-api/src/sh_tangled/graph.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod follow;
\ No newline at end of file
+pub mod follow;
diff --git a/crates/jacquard-api/src/sh_tangled/graph/follow.rs b/crates/jacquard-api/src/sh_tangled/graph/follow.rs
index de8d02a5..b7eb21aa 100644
--- a/crates/jacquard-api/src/sh_tangled/graph/follow.rs
+++ b/crates/jacquard-api/src/sh_tangled/graph/follow.rs
@@ -10,13 +10,13 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::collection::{Collection, RecordError};
-use jacquard_common::types::string::{Did, AtUri, Cid, Datetime};
+use jacquard_common::types::string::{AtUri, Cid, Datetime, Did};
 use jacquard_common::types::uri::{RecordUri, UriError};
 use jacquard_common::types::value::Data;
 use jacquard_common::xrpc::XrpcResp;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(
@@ -103,7 +103,7 @@ impl LexiconSchema for Follow {
 
 pub mod follow_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -233,10 +233,10 @@ where
 }
 
 fn lexicon_doc_sh_tangled_graph_follow() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("sh.tangled.graph.follow"),
@@ -247,12 +247,10 @@ fn lexicon_doc_sh_tangled_graph_follow() -> LexiconDoc<'static> {
                 LexUserType::Record(LexRecord {
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("subject"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("subject"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -281,4 +279,4 @@ fn lexicon_doc_sh_tangled_graph_follow() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_tangled/knot.rs b/crates/jacquard-api/src/sh_tangled/knot.rs
index fbbdf5d0..8a8968fe 100644
--- a/crates/jacquard-api/src/sh_tangled/knot.rs
+++ b/crates/jacquard-api/src/sh_tangled/knot.rs
@@ -8,18 +8,16 @@
 pub mod list_keys;
 pub mod member;
 
-
 #[cfg(feature = "streaming")]
 pub mod subscribe_repos;
 pub mod version;
 
-
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -35,7 +33,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(
@@ -111,7 +109,7 @@ impl LexiconSchema for Knot {
 
 pub mod knot_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -207,10 +205,10 @@ where
 }
 
 fn lexicon_doc_sh_tangled_knot() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("sh.tangled.knot"),
@@ -243,4 +241,4 @@ fn lexicon_doc_sh_tangled_knot() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_tangled/knot/list_keys.rs b/crates/jacquard-api/src/sh_tangled/knot/list_keys.rs
index 118c5181..3c0e2a42 100644
--- a/crates/jacquard-api/src/sh_tangled/knot/list_keys.rs
+++ b/crates/jacquard-api/src/sh_tangled/knot/list_keys.rs
@@ -10,24 +10,27 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
 use jacquard_common::deps::smol_str::SmolStr;
-use jacquard_common::types::string::{Did, Datetime};
+use jacquard_common::types::string::{Datetime, Did};
 use jacquard_common::types::value::Data;
 use jacquard_derive::{IntoStatic, open_union};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::sh_tangled::knot::list_keys;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::sh_tangled::knot::list_keys;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ListKeys {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub cursor: Option,
@@ -37,9 +40,11 @@ pub struct ListKeys {
     pub limit: Option,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ListKeysOutput {
     ///Pagination cursor for next page
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -49,18 +54,9 @@ pub struct ListKeysOutput {
     pub extra_data: Option>>,
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum ListKeysError {
     /// Failed to retrieve public keys
@@ -68,7 +64,10 @@ pub enum ListKeysError {
     InternalServerError(Option),
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for ListKeysError {
@@ -92,9 +91,11 @@ impl core::fmt::Display for ListKeysError {
     }
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct PublicKey {
     ///Key upload timestamp
     pub created_at: Datetime,
@@ -162,7 +163,7 @@ fn _default_limit() -> Option {
 
 pub mod list_keys_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -245,7 +246,7 @@ where
 
 pub mod public_key_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -370,10 +371,7 @@ where
     St::Key: public_key_state::IsUnset,
 {
     /// Set the `key` field (required)
-    pub fn key(
-        mut self,
-        value: impl Into,
-    ) -> PublicKeyBuilder> {
+    pub fn key(mut self, value: impl Into) -> PublicKeyBuilder> {
         self._fields.2 = Option::Some(value.into());
         PublicKeyBuilder {
             _state: PhantomData,
@@ -400,10 +398,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> PublicKey {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> PublicKey {
         PublicKey {
             created_at: self._fields.0.unwrap(),
             did: self._fields.1.unwrap(),
@@ -414,10 +409,10 @@ where
 }
 
 fn lexicon_doc_sh_tangled_knot_listKeys() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("sh.tangled.knot.listKeys"),
@@ -426,50 +421,45 @@ fn lexicon_doc_sh_tangled_knot_listKeys() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::XrpcQuery(LexXrpcQuery {
-                    parameters: Some(
-                        LexXrpcQueryParameter::Params(LexXrpcParameters {
-                            properties: {
-                                #[allow(unused_mut)]
-                                let mut map = BTreeMap::new();
-                                map.insert(
-                                    SmolStr::new_static("cursor"),
-                                    LexXrpcParametersProperty::String(LexString {
-                                        description: Some(CowStr::new_static("Pagination cursor")),
-                                        ..Default::default()
-                                    }),
-                                );
-                                map.insert(
-                                    SmolStr::new_static("limit"),
-                                    LexXrpcParametersProperty::Integer(LexInteger {
-                                        ..Default::default()
-                                    }),
-                                );
-                                map
-                            },
-                            ..Default::default()
-                        }),
-                    ),
+                    parameters: Some(LexXrpcQueryParameter::Params(LexXrpcParameters {
+                        properties: {
+                            #[allow(unused_mut)]
+                            let mut map = BTreeMap::new();
+                            map.insert(
+                                SmolStr::new_static("cursor"),
+                                LexXrpcParametersProperty::String(LexString {
+                                    description: Some(CowStr::new_static("Pagination cursor")),
+                                    ..Default::default()
+                                }),
+                            );
+                            map.insert(
+                                SmolStr::new_static("limit"),
+                                LexXrpcParametersProperty::Integer(LexInteger {
+                                    ..Default::default()
+                                }),
+                            );
+                            map
+                        },
+                        ..Default::default()
+                    })),
                     ..Default::default()
                 }),
             );
             map.insert(
                 SmolStr::new_static("publicKey"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("did"), SmolStr::new_static("key"),
-                            SmolStr::new_static("createdAt")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("did"),
+                        SmolStr::new_static("key"),
+                        SmolStr::new_static("createdAt"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("createdAt"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Key upload timestamp"),
-                                ),
+                                description: Some(CowStr::new_static("Key upload timestamp")),
                                 format: Some(LexStringFormat::Datetime),
                                 ..Default::default()
                             }),
@@ -477,9 +467,9 @@ fn lexicon_doc_sh_tangled_knot_listKeys() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("did"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("DID associated with the public key"),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "DID associated with the public key",
+                                )),
                                 format: Some(LexStringFormat::Did),
                                 ..Default::default()
                             }),
@@ -487,9 +477,7 @@ fn lexicon_doc_sh_tangled_knot_listKeys() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("key"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Public key contents"),
-                                ),
+                                description: Some(CowStr::new_static("Public key contents")),
                                 max_length: Some(4096usize),
                                 ..Default::default()
                             }),
@@ -503,4 +491,4 @@ fn lexicon_doc_sh_tangled_knot_listKeys() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_tangled/knot/member.rs b/crates/jacquard-api/src/sh_tangled/knot/member.rs
index 37fecb91..a70e0e25 100644
--- a/crates/jacquard-api/src/sh_tangled/knot/member.rs
+++ b/crates/jacquard-api/src/sh_tangled/knot/member.rs
@@ -10,13 +10,13 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::collection::{Collection, RecordError};
-use jacquard_common::types::string::{Did, AtUri, Cid, Datetime};
+use jacquard_common::types::string::{AtUri, Cid, Datetime, Did};
 use jacquard_common::types::uri::{RecordUri, UriError};
 use jacquard_common::types::value::Data;
 use jacquard_common::xrpc::XrpcResp;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(
@@ -105,7 +105,7 @@ impl LexiconSchema for Member {
 
 pub mod member_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -211,10 +211,7 @@ where
     St::Domain: member_state::IsUnset,
 {
     /// Set the `domain` field (required)
-    pub fn domain(
-        mut self,
-        value: impl Into,
-    ) -> MemberBuilder> {
+    pub fn domain(mut self, value: impl Into) -> MemberBuilder> {
         self._fields.1 = Option::Some(value.into());
         MemberBuilder {
             _state: PhantomData,
@@ -271,10 +268,10 @@ where
 }
 
 fn lexicon_doc_sh_tangled_knot_member() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("sh.tangled.knot.member"),
@@ -285,13 +282,11 @@ fn lexicon_doc_sh_tangled_knot_member() -> LexiconDoc<'static> {
                 LexUserType::Record(LexRecord {
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("subject"),
-                                SmolStr::new_static("domain"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("subject"),
+                            SmolStr::new_static("domain"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -305,9 +300,9 @@ fn lexicon_doc_sh_tangled_knot_member() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("domain"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("domain that this member now belongs to"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "domain that this member now belongs to",
+                                    )),
                                     ..Default::default()
                                 }),
                             );
@@ -329,4 +324,4 @@ fn lexicon_doc_sh_tangled_knot_member() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_tangled/knot/subscribe_repos.rs b/crates/jacquard-api/src/sh_tangled/knot/subscribe_repos.rs
index a0f70f7a..8f24bcd4 100644
--- a/crates/jacquard-api/src/sh_tangled/knot/subscribe_repos.rs
+++ b/crates/jacquard-api/src/sh_tangled/knot/subscribe_repos.rs
@@ -10,24 +10,27 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
 use jacquard_common::deps::smol_str::SmolStr;
-use jacquard_common::types::string::{Did, AtUri, Datetime};
+use jacquard_common::types::string::{AtUri, Datetime, Did};
 use jacquard_common::types::value::Data;
 use jacquard_derive::{IntoStatic, open_union};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::sh_tangled::knot::subscribe_repos;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::sh_tangled::knot::subscribe_repos;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GitSync1 {
     ///Repository DID identifier
     pub did: Did,
@@ -37,9 +40,11 @@ pub struct GitSync1 {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GitSync2 {
     ///Repository AT-URI identifier
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -50,9 +55,11 @@ pub struct GitSync2 {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Identity {
     ///Repository DID identifier
     pub did: Did,
@@ -63,7 +70,6 @@ pub struct Identity {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(rename_all = "camelCase")]
 pub struct SubscribeRepos {
@@ -71,7 +77,6 @@ pub struct SubscribeRepos {
     pub cursor: Option,
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -90,43 +95,26 @@ impl SubscribeReposMessage {
     where
         S: serde::Deserialize<'de>,
     {
-        let (header, body) = jacquard_common::xrpc::subscription::parse_event_header(
-            bytes,
-        )?;
+        let (header, body) = jacquard_common::xrpc::subscription::parse_event_header(bytes)?;
         match header.t.as_str() {
             "#identity" => {
-                let variant = jacquard_common::deps::codegen::serde_ipld_dagcbor::from_slice(
-                    body,
-                )?;
+                let variant = jacquard_common::deps::codegen::serde_ipld_dagcbor::from_slice(body)?;
                 Ok(Self::Identity(Box::new(variant)))
             }
             "gitRefUpdate" => {
-                let variant = jacquard_common::deps::codegen::serde_ipld_dagcbor::from_slice(
-                    body,
-                )?;
+                let variant = jacquard_common::deps::codegen::serde_ipld_dagcbor::from_slice(body)?;
                 Ok(Self::GitRefUpdate(Box::new(variant)))
             }
-            unknown => {
-                Err(
-                    jacquard_common::error::DecodeError::UnknownEventType(unknown.into()),
-                )
-            }
+            unknown => Err(jacquard_common::error::DecodeError::UnknownEventType(
+                unknown.into(),
+            )),
         }
     }
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum SubscribeReposError {
     #[serde(rename = "FutureCursor")]
@@ -136,7 +124,10 @@ pub enum SubscribeReposError {
     ConsumerTooSlow(Option),
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for SubscribeReposError {
@@ -217,28 +208,31 @@ impl LexiconSchema for Identity {
 pub struct SubscribeReposStream;
 impl jacquard_common::xrpc::SubscriptionResp for SubscribeReposStream {
     const NSID: &'static str = "sh.tangled.knot.subscribeRepos";
-    const ENCODING: jacquard_common::xrpc::MessageEncoding = jacquard_common::xrpc::MessageEncoding::Json;
+    const ENCODING: jacquard_common::xrpc::MessageEncoding =
+        jacquard_common::xrpc::MessageEncoding::Json;
     type Message = SubscribeReposMessage;
     type Error = SubscribeReposError;
 }
 
 impl jacquard_common::xrpc::XrpcSubscription for SubscribeRepos {
     const NSID: &'static str = "sh.tangled.knot.subscribeRepos";
-    const ENCODING: jacquard_common::xrpc::MessageEncoding = jacquard_common::xrpc::MessageEncoding::Json;
+    const ENCODING: jacquard_common::xrpc::MessageEncoding =
+        jacquard_common::xrpc::MessageEncoding::Json;
     type Stream = SubscribeReposStream;
 }
 
 pub struct SubscribeReposEndpoint;
 impl jacquard_common::xrpc::SubscriptionEndpoint for SubscribeReposEndpoint {
     const PATH: &'static str = "/xrpc/sh.tangled.knot.subscribeRepos";
-    const ENCODING: jacquard_common::xrpc::MessageEncoding = jacquard_common::xrpc::MessageEncoding::Json;
+    const ENCODING: jacquard_common::xrpc::MessageEncoding =
+        jacquard_common::xrpc::MessageEncoding::Json;
     type Params = SubscribeRepos;
     type Stream = SubscribeReposStream;
 }
 
 pub mod git_sync1_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -330,10 +324,7 @@ where
     St::Seq: git_sync1_state::IsUnset,
 {
     /// Set the `seq` field (required)
-    pub fn seq(
-        mut self,
-        value: impl Into,
-    ) -> GitSync1Builder> {
+    pub fn seq(mut self, value: impl Into) -> GitSync1Builder> {
         self._fields.1 = Option::Some(value.into());
         GitSync1Builder {
             _state: PhantomData,
@@ -368,10 +359,10 @@ where
 }
 
 fn lexicon_doc_sh_tangled_knot_subscribeRepos() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("sh.tangled.knot.subscribeRepos"),
@@ -380,18 +371,14 @@ fn lexicon_doc_sh_tangled_knot_subscribeRepos() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("gitSync1"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![SmolStr::new_static("seq"), SmolStr::new_static("did")],
-                    ),
+                    required: Some(vec![SmolStr::new_static("seq"), SmolStr::new_static("did")]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("did"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Repository DID identifier"),
-                                ),
+                                description: Some(CowStr::new_static("Repository DID identifier")),
                                 format: Some(LexStringFormat::Did),
                                 ..Default::default()
                             }),
@@ -410,18 +397,19 @@ fn lexicon_doc_sh_tangled_knot_subscribeRepos() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("gitSync2"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![SmolStr::new_static("seq"), SmolStr::new_static("repo")],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("seq"),
+                        SmolStr::new_static("repo"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("did"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Repository AT-URI identifier"),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Repository AT-URI identifier",
+                                )),
                                 format: Some(LexStringFormat::AtUri),
                                 ..Default::default()
                             }),
@@ -440,21 +428,18 @@ fn lexicon_doc_sh_tangled_knot_subscribeRepos() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("identity"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("seq"), SmolStr::new_static("did"),
-                            SmolStr::new_static("time")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("seq"),
+                        SmolStr::new_static("did"),
+                        SmolStr::new_static("time"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("did"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Repository DID identifier"),
-                                ),
+                                description: Some(CowStr::new_static("Repository DID identifier")),
                                 format: Some(LexStringFormat::Did),
                                 ..Default::default()
                             }),
@@ -480,22 +465,20 @@ fn lexicon_doc_sh_tangled_knot_subscribeRepos() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::XrpcSubscription(LexXrpcSubscription {
-                    parameters: Some(
-                        LexXrpcSubscriptionParameter::Params(LexXrpcParameters {
-                            properties: {
-                                #[allow(unused_mut)]
-                                let mut map = BTreeMap::new();
-                                map.insert(
-                                    SmolStr::new_static("cursor"),
-                                    LexXrpcParametersProperty::Integer(LexInteger {
-                                        ..Default::default()
-                                    }),
-                                );
-                                map
-                            },
-                            ..Default::default()
-                        }),
-                    ),
+                    parameters: Some(LexXrpcSubscriptionParameter::Params(LexXrpcParameters {
+                        properties: {
+                            #[allow(unused_mut)]
+                            let mut map = BTreeMap::new();
+                            map.insert(
+                                SmolStr::new_static("cursor"),
+                                LexXrpcParametersProperty::Integer(LexInteger {
+                                    ..Default::default()
+                                }),
+                            );
+                            map
+                        },
+                        ..Default::default()
+                    })),
                     ..Default::default()
                 }),
             );
@@ -507,7 +490,7 @@ fn lexicon_doc_sh_tangled_knot_subscribeRepos() -> LexiconDoc<'static> {
 
 pub mod git_sync2_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -593,10 +576,7 @@ where
     St::Seq: git_sync2_state::IsUnset,
 {
     /// Set the `seq` field (required)
-    pub fn seq(
-        mut self,
-        value: impl Into,
-    ) -> GitSync2Builder> {
+    pub fn seq(mut self, value: impl Into) -> GitSync2Builder> {
         self._fields.1 = Option::Some(value.into());
         GitSync2Builder {
             _state: PhantomData,
@@ -632,7 +612,7 @@ where
 
 pub mod identity_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -738,10 +718,7 @@ where
     St::Seq: identity_state::IsUnset,
 {
     /// Set the `seq` field (required)
-    pub fn seq(
-        mut self,
-        value: impl Into,
-    ) -> IdentityBuilder> {
+    pub fn seq(mut self, value: impl Into) -> IdentityBuilder> {
         self._fields.1 = Option::Some(value.into());
         IdentityBuilder {
             _state: PhantomData,
@@ -799,7 +776,7 @@ where
 
 pub mod subscribe_repos_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -862,4 +839,4 @@ where
             cursor: self._fields.0,
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_tangled/knot/version.rs b/crates/jacquard-api/src/sh_tangled/knot/version.rs
index 3c705fa6..6020e54e 100644
--- a/crates/jacquard-api/src/sh_tangled/knot/version.rs
+++ b/crates/jacquard-api/src/sh_tangled/knot/version.rs
@@ -10,37 +10,34 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct VersionOutput {
     pub version: S,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum VersionError {
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for VersionError {
@@ -83,4 +80,4 @@ impl jacquard_common::xrpc::XrpcEndpoint for VersionRequest {
     const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Query;
     type Request = Version;
     type Response = VersionResponse;
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_tangled/label.rs b/crates/jacquard-api/src/sh_tangled/label.rs
index bd5212b4..2d43d1e9 100644
--- a/crates/jacquard-api/src/sh_tangled/label.rs
+++ b/crates/jacquard-api/src/sh_tangled/label.rs
@@ -4,4 +4,4 @@
 // Any manual changes will be overwritten on the next regeneration.
 
 pub mod definition;
-pub mod op;
\ No newline at end of file
+pub mod op;
diff --git a/crates/jacquard-api/src/sh_tangled/label/definition.rs b/crates/jacquard-api/src/sh_tangled/label/definition.rs
index 0339e4d8..6aad25c1 100644
--- a/crates/jacquard-api/src/sh_tangled/label/definition.rs
+++ b/crates/jacquard-api/src/sh_tangled/label/definition.rs
@@ -10,13 +10,13 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::collection::{Collection, RecordError};
-use jacquard_common::types::string::{AtUri, Nsid, Cid, Datetime};
+use jacquard_common::types::string::{AtUri, Cid, Datetime, Nsid};
 use jacquard_common::types::uri::{RecordUri, UriError};
 use jacquard_common::types::value::Data;
 use jacquard_common::xrpc::XrpcResp;
@@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::sh_tangled::label::definition;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::sh_tangled::label::definition;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(
@@ -65,9 +65,11 @@ pub struct DefinitionGetRecordOutput {
     pub value: Definition,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ValueType {
     ///Closed set of values that this label can take.
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -171,7 +173,7 @@ impl LexiconSchema for ValueType {
 
 pub mod definition_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -398,10 +400,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> Definition {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> Definition {
         Definition {
             color: self._fields.0,
             created_at: self._fields.1.unwrap(),
@@ -415,10 +414,10 @@ where
 }
 
 fn lexicon_doc_sh_tangled_label_definition() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("sh.tangled.label.definition"),
@@ -558,4 +557,4 @@ fn lexicon_doc_sh_tangled_label_definition() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_tangled/label/op.rs b/crates/jacquard-api/src/sh_tangled/label/op.rs
index 9fccd0e3..0d683279 100644
--- a/crates/jacquard-api/src/sh_tangled/label/op.rs
+++ b/crates/jacquard-api/src/sh_tangled/label/op.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::sh_tangled::label::op;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::sh_tangled::label::op;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(
@@ -57,9 +57,11 @@ pub struct OpGetRecordOutput {
     pub value: Op,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Operand {
     ///ATURI to the label definition
     pub key: AtUri,
@@ -134,7 +136,7 @@ impl LexiconSchema for Operand {
 
 pub mod op_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -299,10 +301,7 @@ where
     St::Subject: op_state::IsUnset,
 {
     /// Set the `subject` field (required)
-    pub fn subject(
-        mut self,
-        value: impl Into>,
-    ) -> OpBuilder> {
+    pub fn subject(mut self, value: impl Into>) -> OpBuilder> {
         self._fields.3 = Option::Some(value.into());
         OpBuilder {
             _state: PhantomData,
@@ -343,10 +342,10 @@ where
 }
 
 fn lexicon_doc_sh_tangled_label_op() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("sh.tangled.label.op"),
@@ -456,7 +455,7 @@ fn lexicon_doc_sh_tangled_label_op() -> LexiconDoc<'static> {
 
 pub mod operand_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -548,10 +547,7 @@ where
     St::Value: operand_state::IsUnset,
 {
     /// Set the `value` field (required)
-    pub fn value(
-        mut self,
-        value: impl Into,
-    ) -> OperandBuilder> {
+    pub fn value(mut self, value: impl Into) -> OperandBuilder> {
         self._fields.1 = Option::Some(value.into());
         OperandBuilder {
             _state: PhantomData,
@@ -583,4 +579,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_tangled/owner.rs b/crates/jacquard-api/src/sh_tangled/owner.rs
index cd040b38..f1532c63 100644
--- a/crates/jacquard-api/src/sh_tangled/owner.rs
+++ b/crates/jacquard-api/src/sh_tangled/owner.rs
@@ -10,33 +10,27 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::Did;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::{IntoStatic, open_union};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct OwnerOutput {
     pub owner: Did,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum OwnerError {
     /// Owner is not set for this service
@@ -44,7 +38,10 @@ pub enum OwnerError {
     OwnerNotFound(Option),
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for OwnerError {
@@ -94,4 +91,4 @@ impl jacquard_common::xrpc::XrpcEndpoint for OwnerRequest {
     const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Query;
     type Request = Owner;
     type Response = OwnerResponse;
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_tangled/pipeline.rs b/crates/jacquard-api/src/sh_tangled/pipeline.rs
index a1e84773..7f67f396 100644
--- a/crates/jacquard-api/src/sh_tangled/pipeline.rs
+++ b/crates/jacquard-api/src/sh_tangled/pipeline.rs
@@ -8,19 +8,18 @@
 pub mod cancel_pipeline;
 pub mod status;
 
-
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::collection::{Collection, RecordError};
-use jacquard_common::types::string::{Did, AtUri, Cid};
+use jacquard_common::types::string::{AtUri, Cid, Did};
 use jacquard_common::types::uri::{RecordUri, UriError};
 use jacquard_common::types::value::Data;
 use jacquard_common::xrpc::XrpcResp;
@@ -28,13 +27,16 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::sh_tangled::pipeline;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::sh_tangled::pipeline;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct CloneOpts {
     pub depth: i64,
     pub skip: bool,
@@ -43,7 +45,6 @@ pub struct CloneOpts {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(
     rename_all = "camelCase",
@@ -69,9 +70,11 @@ pub struct PipelineGetRecordOutput {
     pub value: Pipeline,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ManualTriggerData {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub inputs: Option>>,
@@ -79,9 +82,11 @@ pub struct ManualTriggerData {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Pair {
     pub key: S,
     pub value: S,
@@ -89,9 +94,11 @@ pub struct Pair {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct PullRequestTriggerData {
     pub action: S,
     pub source_branch: S,
@@ -101,9 +108,11 @@ pub struct PullRequestTriggerData {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct PushTriggerData {
     pub new_sha: S,
     pub old_sha: S,
@@ -112,9 +121,11 @@ pub struct PushTriggerData {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct TriggerMetadata {
     pub kind: S,
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -128,9 +139,11 @@ pub struct TriggerMetadata {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct TriggerRepo {
     pub default_branch: S,
     pub did: Did,
@@ -140,9 +153,11 @@ pub struct TriggerRepo {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Workflow {
     pub clone: pipeline::CloneOpts,
     pub engine: S,
@@ -388,7 +403,7 @@ impl LexiconSchema for Workflow {
 
 pub mod clone_opts_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -543,10 +558,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> CloneOpts {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> CloneOpts {
         CloneOpts {
             depth: self._fields.0.unwrap(),
             skip: self._fields.1.unwrap(),
@@ -557,10 +569,10 @@ where
 }
 
 fn lexicon_doc_sh_tangled_pipeline() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("sh.tangled.pipeline"),
@@ -569,12 +581,11 @@ fn lexicon_doc_sh_tangled_pipeline() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("cloneOpts"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("skip"), SmolStr::new_static("depth"),
-                            SmolStr::new_static("submodules")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("skip"),
+                        SmolStr::new_static("depth"),
+                        SmolStr::new_static("submodules"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -606,12 +617,10 @@ fn lexicon_doc_sh_tangled_pipeline() -> LexiconDoc<'static> {
                 LexUserType::Record(LexRecord {
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("triggerMetadata"),
-                                SmolStr::new_static("workflows")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("triggerMetadata"),
+                            SmolStr::new_static("workflows"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -663,19 +672,24 @@ fn lexicon_doc_sh_tangled_pipeline() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("pair"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![SmolStr::new_static("key"), SmolStr::new_static("value")],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("key"),
+                        SmolStr::new_static("value"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("key"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("value"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map
                     },
@@ -685,24 +699,26 @@ fn lexicon_doc_sh_tangled_pipeline() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("pullRequestTriggerData"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("sourceBranch"),
-                            SmolStr::new_static("targetBranch"),
-                            SmolStr::new_static("sourceSha"),
-                            SmolStr::new_static("action")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("sourceBranch"),
+                        SmolStr::new_static("targetBranch"),
+                        SmolStr::new_static("sourceSha"),
+                        SmolStr::new_static("action"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("action"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("sourceBranch"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("sourceSha"),
@@ -714,7 +730,9 @@ fn lexicon_doc_sh_tangled_pipeline() -> LexiconDoc<'static> {
                         );
                         map.insert(
                             SmolStr::new_static("targetBranch"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map
                     },
@@ -724,12 +742,11 @@ fn lexicon_doc_sh_tangled_pipeline() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("pushTriggerData"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("ref"), SmolStr::new_static("newSha"),
-                            SmolStr::new_static("oldSha")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("ref"),
+                        SmolStr::new_static("newSha"),
+                        SmolStr::new_static("oldSha"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -751,7 +768,9 @@ fn lexicon_doc_sh_tangled_pipeline() -> LexiconDoc<'static> {
                         );
                         map.insert(
                             SmolStr::new_static("ref"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map
                     },
@@ -761,15 +780,18 @@ fn lexicon_doc_sh_tangled_pipeline() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("triggerMetadata"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![SmolStr::new_static("kind"), SmolStr::new_static("repo")],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("kind"),
+                        SmolStr::new_static("repo"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("kind"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("manual"),
@@ -807,19 +829,20 @@ fn lexicon_doc_sh_tangled_pipeline() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("triggerRepo"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("knot"), SmolStr::new_static("did"),
-                            SmolStr::new_static("repo"),
-                            SmolStr::new_static("defaultBranch")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("knot"),
+                        SmolStr::new_static("did"),
+                        SmolStr::new_static("repo"),
+                        SmolStr::new_static("defaultBranch"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("defaultBranch"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("did"),
@@ -830,11 +853,15 @@ fn lexicon_doc_sh_tangled_pipeline() -> LexiconDoc<'static> {
                         );
                         map.insert(
                             SmolStr::new_static("knot"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("repo"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map
                     },
@@ -844,12 +871,12 @@ fn lexicon_doc_sh_tangled_pipeline() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("workflow"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("name"), SmolStr::new_static("engine"),
-                            SmolStr::new_static("clone"), SmolStr::new_static("raw")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("name"),
+                        SmolStr::new_static("engine"),
+                        SmolStr::new_static("clone"),
+                        SmolStr::new_static("raw"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -862,15 +889,21 @@ fn lexicon_doc_sh_tangled_pipeline() -> LexiconDoc<'static> {
                         );
                         map.insert(
                             SmolStr::new_static("engine"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("name"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("raw"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map
                     },
@@ -885,7 +918,7 @@ fn lexicon_doc_sh_tangled_pipeline() -> LexiconDoc<'static> {
 
 pub mod pipeline_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -930,7 +963,10 @@ pub mod pipeline_state {
 /// Builder for constructing an instance of this type.
 pub struct PipelineBuilder {
     _state: PhantomData St>,
-    _fields: (Option>, Option>>),
+    _fields: (
+        Option>,
+        Option>>,
+    ),
     _type: PhantomData S>,
 }
 
@@ -1016,7 +1052,7 @@ where
 
 pub mod trigger_metadata_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1110,18 +1146,12 @@ where
 
 impl TriggerMetadataBuilder {
     /// Set the `manual` field (optional)
-    pub fn manual(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn manual(mut self, value: impl Into>>) -> Self {
         self._fields.1 = value.into();
         self
     }
     /// Set the `manual` field to an Option value (optional)
-    pub fn maybe_manual(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_manual(mut self, value: Option>) -> Self {
         self._fields.1 = value;
         self
     }
@@ -1148,10 +1178,7 @@ impl TriggerMetadataBuilder
 
 impl TriggerMetadataBuilder {
     /// Set the `push` field (optional)
-    pub fn push(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn push(mut self, value: impl Into>>) -> Self {
         self._fields.3 = value.into();
         self
     }
@@ -1199,10 +1226,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> TriggerMetadata {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> TriggerMetadata {
         TriggerMetadata {
             kind: self._fields.0.unwrap(),
             manual: self._fields.1,
@@ -1216,7 +1240,7 @@ where
 
 pub mod trigger_repo_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1408,10 +1432,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> TriggerRepo {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> TriggerRepo {
         TriggerRepo {
             default_branch: self._fields.0.unwrap(),
             did: self._fields.1.unwrap(),
@@ -1424,7 +1445,7 @@ where
 
 pub mod workflow_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1499,7 +1520,12 @@ pub mod workflow_state {
 /// Builder for constructing an instance of this type.
 pub struct WorkflowBuilder {
     _state: PhantomData St>,
-    _fields: (Option>, Option, Option, Option),
+    _fields: (
+        Option>,
+        Option,
+        Option,
+        Option,
+    ),
     _type: PhantomData S>,
 }
 
@@ -1565,10 +1591,7 @@ where
     St::Name: workflow_state::IsUnset,
 {
     /// Set the `name` field (required)
-    pub fn name(
-        mut self,
-        value: impl Into,
-    ) -> WorkflowBuilder> {
+    pub fn name(mut self, value: impl Into) -> WorkflowBuilder> {
         self._fields.2 = Option::Some(value.into());
         WorkflowBuilder {
             _state: PhantomData,
@@ -1584,10 +1607,7 @@ where
     St::Raw: workflow_state::IsUnset,
 {
     /// Set the `raw` field (required)
-    pub fn raw(
-        mut self,
-        value: impl Into,
-    ) -> WorkflowBuilder> {
+    pub fn raw(mut self, value: impl Into) -> WorkflowBuilder> {
         self._fields.3 = Option::Some(value.into());
         WorkflowBuilder {
             _state: PhantomData,
@@ -1625,4 +1645,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_tangled/pipeline/cancel_pipeline.rs b/crates/jacquard-api/src/sh_tangled/pipeline/cancel_pipeline.rs
index e4d54ac4..e5b7ea45 100644
--- a/crates/jacquard-api/src/sh_tangled/pipeline/cancel_pipeline.rs
+++ b/crates/jacquard-api/src/sh_tangled/pipeline/cancel_pipeline.rs
@@ -10,15 +10,18 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::AtUri;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct CancelPipeline {
     ///pipeline at-uri
     pub pipeline: AtUri,
@@ -41,9 +44,8 @@ impl jacquard_common::xrpc::XrpcResp for CancelPipelineResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for CancelPipeline {
     const NSID: &'static str = "sh.tangled.pipeline.cancelPipeline";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = CancelPipelineResponse;
 }
 
@@ -51,16 +53,15 @@ impl jacquard_common::xrpc::XrpcRequest for CancelPipeline {
 pub struct CancelPipelineRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for CancelPipelineRequest {
     const PATH: &'static str = "/xrpc/sh.tangled.pipeline.cancelPipeline";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = CancelPipeline;
     type Response = CancelPipelineResponse;
 }
 
 pub mod cancel_pipeline_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -215,10 +216,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> CancelPipeline {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> CancelPipeline {
         CancelPipeline {
             pipeline: self._fields.0.unwrap(),
             repo: self._fields.1.unwrap(),
@@ -226,4 +224,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_tangled/pipeline/status.rs b/crates/jacquard-api/src/sh_tangled/pipeline/status.rs
index 9e871a99..4053787d 100644
--- a/crates/jacquard-api/src/sh_tangled/pipeline/status.rs
+++ b/crates/jacquard-api/src/sh_tangled/pipeline/status.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(
@@ -115,7 +115,7 @@ impl LexiconSchema for Status {
 
 pub mod status_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -289,10 +289,7 @@ where
     St::Status: status_state::IsUnset,
 {
     /// Set the `status` field (required)
-    pub fn status(
-        mut self,
-        value: impl Into,
-    ) -> StatusBuilder> {
+    pub fn status(mut self, value: impl Into) -> StatusBuilder> {
         self._fields.4 = Option::Some(value.into());
         StatusBuilder {
             _state: PhantomData,
@@ -356,10 +353,10 @@ where
 }
 
 fn lexicon_doc_sh_tangled_pipeline_status() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("sh.tangled.pipeline.status"),
@@ -370,23 +367,21 @@ fn lexicon_doc_sh_tangled_pipeline_status() -> LexiconDoc<'static> {
                 LexUserType::Record(LexRecord {
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("pipeline"),
-                                SmolStr::new_static("workflow"),
-                                SmolStr::new_static("status"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("pipeline"),
+                            SmolStr::new_static("workflow"),
+                            SmolStr::new_static("status"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
                             map.insert(
                                 SmolStr::new_static("createdAt"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("time of creation of this status update"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "time of creation of this status update",
+                                    )),
                                     format: Some(LexStringFormat::Datetime),
                                     ..Default::default()
                                 }),
@@ -394,9 +389,9 @@ fn lexicon_doc_sh_tangled_pipeline_status() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("error"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("error message if failed"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "error message if failed",
+                                    )),
                                     ..Default::default()
                                 }),
                             );
@@ -409,9 +404,7 @@ fn lexicon_doc_sh_tangled_pipeline_status() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("pipeline"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("ATURI of the pipeline"),
-                                    ),
+                                    description: Some(CowStr::new_static("ATURI of the pipeline")),
                                     format: Some(LexStringFormat::AtUri),
                                     ..Default::default()
                                 }),
@@ -419,20 +412,16 @@ fn lexicon_doc_sh_tangled_pipeline_status() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("status"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("status of the workflow"),
-                                    ),
+                                    description: Some(CowStr::new_static("status of the workflow")),
                                     ..Default::default()
                                 }),
                             );
                             map.insert(
                                 SmolStr::new_static("workflow"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "name of the workflow within this pipeline",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "name of the workflow within this pipeline",
+                                    )),
                                     format: Some(LexStringFormat::AtUri),
                                     ..Default::default()
                                 }),
@@ -448,4 +437,4 @@ fn lexicon_doc_sh_tangled_pipeline_status() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_tangled/public_key.rs b/crates/jacquard-api/src/sh_tangled/public_key.rs
index c9b387f0..350ae54a 100644
--- a/crates/jacquard-api/src/sh_tangled/public_key.rs
+++ b/crates/jacquard-api/src/sh_tangled/public_key.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(
@@ -118,7 +118,7 @@ impl LexiconSchema for PublicKey {
 
 pub mod public_key_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -224,10 +224,7 @@ where
     St::Key: public_key_state::IsUnset,
 {
     /// Set the `key` field (required)
-    pub fn key(
-        mut self,
-        value: impl Into,
-    ) -> PublicKeyBuilder> {
+    pub fn key(mut self, value: impl Into) -> PublicKeyBuilder> {
         self._fields.1 = Option::Some(value.into());
         PublicKeyBuilder {
             _state: PhantomData,
@@ -273,10 +270,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> PublicKey {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> PublicKey {
         PublicKey {
             created_at: self._fields.0.unwrap(),
             key: self._fields.1.unwrap(),
@@ -287,10 +281,10 @@ where
 }
 
 fn lexicon_doc_sh_tangled_publicKey() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("sh.tangled.publicKey"),
@@ -301,21 +295,18 @@ fn lexicon_doc_sh_tangled_publicKey() -> LexiconDoc<'static> {
                 LexUserType::Record(LexRecord {
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("key"), SmolStr::new_static("name"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("key"),
+                            SmolStr::new_static("name"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
                             map.insert(
                                 SmolStr::new_static("createdAt"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("key upload timestamp"),
-                                    ),
+                                    description: Some(CowStr::new_static("key upload timestamp")),
                                     format: Some(LexStringFormat::Datetime),
                                     ..Default::default()
                                 }),
@@ -323,9 +314,7 @@ fn lexicon_doc_sh_tangled_publicKey() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("key"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("public key contents"),
-                                    ),
+                                    description: Some(CowStr::new_static("public key contents")),
                                     max_length: Some(4096usize),
                                     ..Default::default()
                                 }),
@@ -333,9 +322,9 @@ fn lexicon_doc_sh_tangled_publicKey() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("name"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("human-readable name for this key"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "human-readable name for this key",
+                                    )),
                                     ..Default::default()
                                 }),
                             );
@@ -350,4 +339,4 @@ fn lexicon_doc_sh_tangled_publicKey() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_tangled/repo.rs b/crates/jacquard-api/src/sh_tangled/repo.rs
index dccf6633..26194138 100644
--- a/crates/jacquard-api/src/sh_tangled/repo.rs
+++ b/crates/jacquard-api/src/sh_tangled/repo.rs
@@ -34,13 +34,12 @@ pub mod tag;
 pub mod tags;
 pub mod tree;
 
-
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -56,7 +55,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(
@@ -187,7 +186,7 @@ impl LexiconSchema for Repo {
 
 pub mod repo_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -316,10 +315,7 @@ where
     St::Knot: repo_state::IsUnset,
 {
     /// Set the `knot` field (required)
-    pub fn knot(
-        mut self,
-        value: impl Into,
-    ) -> RepoBuilder> {
+    pub fn knot(mut self, value: impl Into) -> RepoBuilder> {
         self._fields.2 = Option::Some(value.into());
         RepoBuilder {
             _state: PhantomData,
@@ -348,10 +344,7 @@ where
     St::Name: repo_state::IsUnset,
 {
     /// Set the `name` field (required)
-    pub fn name(
-        mut self,
-        value: impl Into,
-    ) -> RepoBuilder> {
+    pub fn name(mut self, value: impl Into) -> RepoBuilder> {
         self._fields.4 = Option::Some(value.into());
         RepoBuilder {
             _state: PhantomData,
@@ -453,10 +446,10 @@ where
 }
 
 fn lexicon_doc_sh_tangled_repo() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("sh.tangled.repo"),
@@ -467,12 +460,11 @@ fn lexicon_doc_sh_tangled_repo() -> LexiconDoc<'static> {
                 LexUserType::Record(LexRecord {
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("name"), SmolStr::new_static("knot"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("name"),
+                            SmolStr::new_static("knot"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -494,20 +486,18 @@ fn lexicon_doc_sh_tangled_repo() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("knot"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("knot where the repo was created"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "knot where the repo was created",
+                                    )),
                                     ..Default::default()
                                 }),
                             );
                             map.insert(
                                 SmolStr::new_static("labels"),
                                 LexObjectProperty::Array(LexArray {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "List of labels that this repo subscribes to",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "List of labels that this repo subscribes to",
+                                    )),
                                     items: LexArrayItem::String(LexString {
                                         format: Some(LexStringFormat::AtUri),
                                         ..Default::default()
@@ -533,20 +523,18 @@ fn lexicon_doc_sh_tangled_repo() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("spindle"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "CI runner to send jobs to and receive results from",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "CI runner to send jobs to and receive results from",
+                                    )),
                                     ..Default::default()
                                 }),
                             );
                             map.insert(
                                 SmolStr::new_static("topics"),
                                 LexObjectProperty::Array(LexArray {
-                                    description: Some(
-                                        CowStr::new_static("Topics related to the repo"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Topics related to the repo",
+                                    )),
                                     items: LexArrayItem::String(LexString {
                                         min_length: Some(1usize),
                                         max_length: Some(50usize),
@@ -559,9 +547,9 @@ fn lexicon_doc_sh_tangled_repo() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("website"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("Any URI related to the repo"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Any URI related to the repo",
+                                    )),
                                     format: Some(LexStringFormat::Uri),
                                     ..Default::default()
                                 }),
@@ -577,4 +565,4 @@ fn lexicon_doc_sh_tangled_repo() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_tangled/repo/add_secret.rs b/crates/jacquard-api/src/sh_tangled/repo/add_secret.rs
index 9fce4314..3982d2a2 100644
--- a/crates/jacquard-api/src/sh_tangled/repo/add_secret.rs
+++ b/crates/jacquard-api/src/sh_tangled/repo/add_secret.rs
@@ -10,15 +10,18 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::AtUri;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct AddSecret {
     pub key: S,
     pub repo: AtUri,
@@ -38,9 +41,8 @@ impl jacquard_common::xrpc::XrpcResp for AddSecretResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for AddSecret {
     const NSID: &'static str = "sh.tangled.repo.addSecret";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = AddSecretResponse;
 }
 
@@ -48,16 +50,15 @@ impl jacquard_common::xrpc::XrpcRequest for AddSecret {
 pub struct AddSecretRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for AddSecretRequest {
     const PATH: &'static str = "/xrpc/sh.tangled.repo.addSecret";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = AddSecret;
     type Response = AddSecretResponse;
 }
 
 pub mod add_secret_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -144,10 +145,7 @@ where
     St::Key: add_secret_state::IsUnset,
 {
     /// Set the `key` field (required)
-    pub fn key(
-        mut self,
-        value: impl Into,
-    ) -> AddSecretBuilder> {
+    pub fn key(mut self, value: impl Into) -> AddSecretBuilder> {
         self._fields.0 = Option::Some(value.into());
         AddSecretBuilder {
             _state: PhantomData,
@@ -212,10 +210,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> AddSecret {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> AddSecret {
         AddSecret {
             key: self._fields.0.unwrap(),
             repo: self._fields.1.unwrap(),
@@ -223,4 +218,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_tangled/repo/archive.rs b/crates/jacquard-api/src/sh_tangled/repo/archive.rs
index 012082e2..2ead5713 100644
--- a/crates/jacquard-api/src/sh_tangled/repo/archive.rs
+++ b/crates/jacquard-api/src/sh_tangled/repo/archive.rs
@@ -10,15 +10,18 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::bytes::Bytes;
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::{IntoStatic, open_union};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Archive {
     ///Defaults to `"tar.gz"`.
     #[serde(default = "_default_format")]
@@ -38,18 +41,9 @@ pub struct ArchiveOutput {
     pub body: Bytes,
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum ArchiveError {
     /// Repository not found or access denied
@@ -66,7 +60,10 @@ pub enum ArchiveError {
     ArchiveError(Option),
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for ArchiveError {
@@ -160,7 +157,7 @@ fn _default_format() -> Option {
 
 pub mod archive_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -259,10 +256,7 @@ where
     St::Ref: archive_state::IsUnset,
 {
     /// Set the `ref` field (required)
-    pub fn r#ref(
-        mut self,
-        value: impl Into,
-    ) -> ArchiveBuilder> {
+    pub fn r#ref(mut self, value: impl Into) -> ArchiveBuilder> {
         self._fields.2 = Option::Some(value.into());
         ArchiveBuilder {
             _state: PhantomData,
@@ -278,10 +272,7 @@ where
     St::Repo: archive_state::IsUnset,
 {
     /// Set the `repo` field (required)
-    pub fn repo(
-        mut self,
-        value: impl Into,
-    ) -> ArchiveBuilder> {
+    pub fn repo(mut self, value: impl Into) -> ArchiveBuilder> {
         self._fields.3 = Option::Some(value.into());
         ArchiveBuilder {
             _state: PhantomData,
@@ -306,4 +297,4 @@ where
             repo: self._fields.3.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_tangled/repo/artifact.rs b/crates/jacquard-api/src/sh_tangled/repo/artifact.rs
index 16a10a1c..54ae563c 100644
--- a/crates/jacquard-api/src/sh_tangled/repo/artifact.rs
+++ b/crates/jacquard-api/src/sh_tangled/repo/artifact.rs
@@ -10,8 +10,8 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::bytes::Bytes;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -28,7 +28,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(
@@ -126,19 +126,16 @@ impl LexiconSchema for Artifact {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["*/*"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("artifact"),
@@ -154,7 +151,7 @@ impl LexiconSchema for Artifact {
 
 pub mod artifact_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -319,10 +316,7 @@ where
     St::Name: artifact_state::IsUnset,
 {
     /// Set the `name` field (required)
-    pub fn name(
-        mut self,
-        value: impl Into,
-    ) -> ArtifactBuilder> {
+    pub fn name(mut self, value: impl Into) -> ArtifactBuilder> {
         self._fields.2 = Option::Some(value.into());
         ArtifactBuilder {
             _state: PhantomData,
@@ -404,10 +398,10 @@ where
 }
 
 fn lexicon_doc_sh_tangled_repo_artifact() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("sh.tangled.repo.artifact"),
@@ -418,27 +412,28 @@ fn lexicon_doc_sh_tangled_repo_artifact() -> LexiconDoc<'static> {
                 LexUserType::Record(LexRecord {
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("name"), SmolStr::new_static("repo"),
-                                SmolStr::new_static("tag"),
-                                SmolStr::new_static("createdAt"),
-                                SmolStr::new_static("artifact")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("name"),
+                            SmolStr::new_static("repo"),
+                            SmolStr::new_static("tag"),
+                            SmolStr::new_static("createdAt"),
+                            SmolStr::new_static("artifact"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
                             map.insert(
                                 SmolStr::new_static("artifact"),
-                                LexObjectProperty::Blob(LexBlob { ..Default::default() }),
+                                LexObjectProperty::Blob(LexBlob {
+                                    ..Default::default()
+                                }),
                             );
                             map.insert(
                                 SmolStr::new_static("createdAt"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("time of creation of this artifact"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "time of creation of this artifact",
+                                    )),
                                     format: Some(LexStringFormat::Datetime),
                                     ..Default::default()
                                 }),
@@ -446,20 +441,16 @@ fn lexicon_doc_sh_tangled_repo_artifact() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("name"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("name of the artifact"),
-                                    ),
+                                    description: Some(CowStr::new_static("name of the artifact")),
                                     ..Default::default()
                                 }),
                             );
                             map.insert(
                                 SmolStr::new_static("repo"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "repo that this artifact is being uploaded to",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "repo that this artifact is being uploaded to",
+                                    )),
                                     format: Some(LexStringFormat::AtUri),
                                     ..Default::default()
                                 }),
@@ -483,4 +474,4 @@ fn lexicon_doc_sh_tangled_repo_artifact() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_tangled/repo/blob.rs b/crates/jacquard-api/src/sh_tangled/repo/blob.rs
index 2b7eb51d..8b802203 100644
--- a/crates/jacquard-api/src/sh_tangled/repo/blob.rs
+++ b/crates/jacquard-api/src/sh_tangled/repo/blob.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -21,13 +21,16 @@ use jacquard_derive::{IntoStatic, open_union};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::sh_tangled::repo::blob;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::sh_tangled::repo::blob;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct LastCommit {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub author: Option>,
@@ -41,9 +44,11 @@ pub struct LastCommit {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Blob {
     pub path: S,
     /// Defaults to `false`.
@@ -54,9 +59,11 @@ pub struct Blob {
     pub repo: S,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct BlobOutput {
     ///File content (base64 encoded for binary files)
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -86,18 +93,9 @@ pub struct BlobOutput {
     pub extra_data: Option>>,
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum BlobError {
     /// Repository not found or access denied
@@ -114,7 +112,10 @@ pub enum BlobError {
     InvalidRequest(Option),
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for BlobError {
@@ -159,9 +160,11 @@ impl core::fmt::Display for BlobError {
     }
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Signature {
     ///Author email
     pub email: S,
@@ -173,9 +176,11 @@ pub struct Signature {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Submodule {
     ///Branch to track in the submodule
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -259,7 +264,7 @@ impl LexiconSchema for Submodule {
 
 pub mod last_commit_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -318,7 +323,12 @@ pub mod last_commit_state {
 /// Builder for constructing an instance of this type.
 pub struct LastCommitBuilder {
     _state: PhantomData St>,
-    _fields: (Option>, Option, Option, Option),
+    _fields: (
+        Option>,
+        Option,
+        Option,
+        Option,
+    ),
     _type: PhantomData S>,
 }
 
@@ -428,10 +438,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> LastCommit {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> LastCommit {
         LastCommit {
             author: self._fields.0,
             hash: self._fields.1.unwrap(),
@@ -443,10 +450,10 @@ where
 }
 
 fn lexicon_doc_sh_tangled_repo_blob() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("sh.tangled.repo.blob"),
@@ -455,12 +462,11 @@ fn lexicon_doc_sh_tangled_repo_blob() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("lastCommit"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("hash"), SmolStr::new_static("message"),
-                            SmolStr::new_static("when")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("hash"),
+                        SmolStr::new_static("message"),
+                        SmolStr::new_static("when"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -501,71 +507,63 @@ fn lexicon_doc_sh_tangled_repo_blob() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::XrpcQuery(LexXrpcQuery {
-                    parameters: Some(
-                        LexXrpcQueryParameter::Params(LexXrpcParameters {
-                            required: Some(
-                                vec![
-                                    SmolStr::new_static("repo"), SmolStr::new_static("ref"),
-                                    SmolStr::new_static("path")
-                                ],
-                            ),
-                            properties: {
-                                #[allow(unused_mut)]
-                                let mut map = BTreeMap::new();
-                                map.insert(
-                                    SmolStr::new_static("path"),
-                                    LexXrpcParametersProperty::String(LexString {
-                                        description: Some(
-                                            CowStr::new_static("Path to the file within the repository"),
-                                        ),
-                                        ..Default::default()
-                                    }),
-                                );
-                                map.insert(
-                                    SmolStr::new_static("raw"),
-                                    LexXrpcParametersProperty::Boolean(LexBoolean {
-                                        ..Default::default()
-                                    }),
-                                );
-                                map.insert(
-                                    SmolStr::new_static("ref"),
-                                    LexXrpcParametersProperty::String(LexString {
-                                        description: Some(
-                                            CowStr::new_static(
-                                                "Git reference (branch, tag, or commit SHA)",
-                                            ),
-                                        ),
-                                        ..Default::default()
-                                    }),
-                                );
-                                map.insert(
-                                    SmolStr::new_static("repo"),
-                                    LexXrpcParametersProperty::String(LexString {
-                                        description: Some(
-                                            CowStr::new_static(
-                                                "Repository identifier in format 'did:plc:.../repoName'",
-                                            ),
-                                        ),
-                                        ..Default::default()
-                                    }),
-                                );
-                                map
-                            },
-                            ..Default::default()
-                        }),
-                    ),
+                    parameters: Some(LexXrpcQueryParameter::Params(LexXrpcParameters {
+                        required: Some(vec![
+                            SmolStr::new_static("repo"),
+                            SmolStr::new_static("ref"),
+                            SmolStr::new_static("path"),
+                        ]),
+                        properties: {
+                            #[allow(unused_mut)]
+                            let mut map = BTreeMap::new();
+                            map.insert(
+                                SmolStr::new_static("path"),
+                                LexXrpcParametersProperty::String(LexString {
+                                    description: Some(CowStr::new_static(
+                                        "Path to the file within the repository",
+                                    )),
+                                    ..Default::default()
+                                }),
+                            );
+                            map.insert(
+                                SmolStr::new_static("raw"),
+                                LexXrpcParametersProperty::Boolean(LexBoolean {
+                                    ..Default::default()
+                                }),
+                            );
+                            map.insert(
+                                SmolStr::new_static("ref"),
+                                LexXrpcParametersProperty::String(LexString {
+                                    description: Some(CowStr::new_static(
+                                        "Git reference (branch, tag, or commit SHA)",
+                                    )),
+                                    ..Default::default()
+                                }),
+                            );
+                            map.insert(
+                                SmolStr::new_static("repo"),
+                                LexXrpcParametersProperty::String(LexString {
+                                    description: Some(CowStr::new_static(
+                                        "Repository identifier in format 'did:plc:.../repoName'",
+                                    )),
+                                    ..Default::default()
+                                }),
+                            );
+                            map
+                        },
+                        ..Default::default()
+                    })),
                     ..Default::default()
                 }),
             );
             map.insert(
                 SmolStr::new_static("signature"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("name"), SmolStr::new_static("email"),
-                            SmolStr::new_static("when")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("name"),
+                        SmolStr::new_static("email"),
+                        SmolStr::new_static("when"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -599,18 +597,19 @@ fn lexicon_doc_sh_tangled_repo_blob() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("submodule"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![SmolStr::new_static("name"), SmolStr::new_static("url")],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("name"),
+                        SmolStr::new_static("url"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("branch"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Branch to track in the submodule"),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Branch to track in the submodule",
+                                )),
                                 ..Default::default()
                             }),
                         );
@@ -624,9 +623,7 @@ fn lexicon_doc_sh_tangled_repo_blob() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("url"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Submodule repository URL"),
-                                ),
+                                description: Some(CowStr::new_static("Submodule repository URL")),
                                 ..Default::default()
                             }),
                         );
@@ -647,7 +644,7 @@ fn _default_raw() -> Option {
 
 pub mod blob_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -734,10 +731,7 @@ where
     St::Path: blob_state::IsUnset,
 {
     /// Set the `path` field (required)
-    pub fn path(
-        mut self,
-        value: impl Into,
-    ) -> BlobBuilder> {
+    pub fn path(mut self, value: impl Into) -> BlobBuilder> {
         self._fields.0 = Option::Some(value.into());
         BlobBuilder {
             _state: PhantomData,
@@ -766,10 +760,7 @@ where
     St::Ref: blob_state::IsUnset,
 {
     /// Set the `ref` field (required)
-    pub fn r#ref(
-        mut self,
-        value: impl Into,
-    ) -> BlobBuilder> {
+    pub fn r#ref(mut self, value: impl Into) -> BlobBuilder> {
         self._fields.2 = Option::Some(value.into());
         BlobBuilder {
             _state: PhantomData,
@@ -785,10 +776,7 @@ where
     St::Repo: blob_state::IsUnset,
 {
     /// Set the `repo` field (required)
-    pub fn repo(
-        mut self,
-        value: impl Into,
-    ) -> BlobBuilder> {
+    pub fn repo(mut self, value: impl Into) -> BlobBuilder> {
         self._fields.3 = Option::Some(value.into());
         BlobBuilder {
             _state: PhantomData,
@@ -818,7 +806,7 @@ where
 
 pub mod signature_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -973,10 +961,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> Signature {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> Signature {
         Signature {
             email: self._fields.0.unwrap(),
             name: self._fields.1.unwrap(),
@@ -984,4 +969,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_tangled/repo/branch.rs b/crates/jacquard-api/src/sh_tangled/repo/branch.rs
index 90221040..07cfbeb9 100644
--- a/crates/jacquard-api/src/sh_tangled/repo/branch.rs
+++ b/crates/jacquard-api/src/sh_tangled/repo/branch.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -21,21 +21,26 @@ use jacquard_derive::{IntoStatic, open_union};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::sh_tangled::repo::branch;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::sh_tangled::repo::branch;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Branch {
     pub name: S,
     pub repo: S,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct BranchOutput {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub author: Option>,
@@ -58,18 +63,9 @@ pub struct BranchOutput {
     pub extra_data: Option>>,
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum BranchError {
     /// Repository not found or access denied
@@ -83,7 +79,10 @@ pub enum BranchError {
     InvalidRequest(Option),
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for BranchError {
@@ -121,9 +120,11 @@ impl core::fmt::Display for BranchError {
     }
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Signature {
     ///Author email
     pub email: S,
@@ -176,7 +177,7 @@ impl LexiconSchema for Signature {
 
 pub mod branch_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -249,10 +250,7 @@ where
     St::Name: branch_state::IsUnset,
 {
     /// Set the `name` field (required)
-    pub fn name(
-        mut self,
-        value: impl Into,
-    ) -> BranchBuilder> {
+    pub fn name(mut self, value: impl Into) -> BranchBuilder> {
         self._fields.0 = Option::Some(value.into());
         BranchBuilder {
             _state: PhantomData,
@@ -268,10 +266,7 @@ where
     St::Repo: branch_state::IsUnset,
 {
     /// Set the `repo` field (required)
-    pub fn repo(
-        mut self,
-        value: impl Into,
-    ) -> BranchBuilder> {
+    pub fn repo(mut self, value: impl Into) -> BranchBuilder> {
         self._fields.1 = Option::Some(value.into());
         BranchBuilder {
             _state: PhantomData,
@@ -298,7 +293,7 @@ where
 
 pub mod signature_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -453,10 +448,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> Signature {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> Signature {
         Signature {
             email: self._fields.0.unwrap(),
             name: self._fields.1.unwrap(),
@@ -467,10 +459,10 @@ where
 }
 
 fn lexicon_doc_sh_tangled_repo_branch() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("sh.tangled.repo.branch"),
@@ -479,53 +471,47 @@ fn lexicon_doc_sh_tangled_repo_branch() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::XrpcQuery(LexXrpcQuery {
-                    parameters: Some(
-                        LexXrpcQueryParameter::Params(LexXrpcParameters {
-                            required: Some(
-                                vec![
-                                    SmolStr::new_static("repo"), SmolStr::new_static("name")
-                                ],
-                            ),
-                            properties: {
-                                #[allow(unused_mut)]
-                                let mut map = BTreeMap::new();
-                                map.insert(
-                                    SmolStr::new_static("name"),
-                                    LexXrpcParametersProperty::String(LexString {
-                                        description: Some(
-                                            CowStr::new_static("Branch name to get information for"),
-                                        ),
-                                        ..Default::default()
-                                    }),
-                                );
-                                map.insert(
-                                    SmolStr::new_static("repo"),
-                                    LexXrpcParametersProperty::String(LexString {
-                                        description: Some(
-                                            CowStr::new_static(
-                                                "Repository identifier in format 'did:plc:.../repoName'",
-                                            ),
-                                        ),
-                                        ..Default::default()
-                                    }),
-                                );
-                                map
-                            },
-                            ..Default::default()
-                        }),
-                    ),
+                    parameters: Some(LexXrpcQueryParameter::Params(LexXrpcParameters {
+                        required: Some(vec![
+                            SmolStr::new_static("repo"),
+                            SmolStr::new_static("name"),
+                        ]),
+                        properties: {
+                            #[allow(unused_mut)]
+                            let mut map = BTreeMap::new();
+                            map.insert(
+                                SmolStr::new_static("name"),
+                                LexXrpcParametersProperty::String(LexString {
+                                    description: Some(CowStr::new_static(
+                                        "Branch name to get information for",
+                                    )),
+                                    ..Default::default()
+                                }),
+                            );
+                            map.insert(
+                                SmolStr::new_static("repo"),
+                                LexXrpcParametersProperty::String(LexString {
+                                    description: Some(CowStr::new_static(
+                                        "Repository identifier in format 'did:plc:.../repoName'",
+                                    )),
+                                    ..Default::default()
+                                }),
+                            );
+                            map
+                        },
+                        ..Default::default()
+                    })),
                     ..Default::default()
                 }),
             );
             map.insert(
                 SmolStr::new_static("signature"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("name"), SmolStr::new_static("email"),
-                            SmolStr::new_static("when")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("name"),
+                        SmolStr::new_static("email"),
+                        SmolStr::new_static("when"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -560,4 +546,4 @@ fn lexicon_doc_sh_tangled_repo_branch() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_tangled/repo/branches.rs b/crates/jacquard-api/src/sh_tangled/repo/branches.rs
index 33c0e616..07d44874 100644
--- a/crates/jacquard-api/src/sh_tangled/repo/branches.rs
+++ b/crates/jacquard-api/src/sh_tangled/repo/branches.rs
@@ -10,15 +10,18 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::bytes::Bytes;
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::{IntoStatic, open_union};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Branches {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub cursor: Option,
@@ -29,25 +32,15 @@ pub struct Branches {
     pub repo: S,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(rename_all = "camelCase")]
 pub struct BranchesOutput {
     pub body: Bytes,
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum BranchesError {
     /// Repository not found or access denied
@@ -58,7 +51,10 @@ pub enum BranchesError {
     InvalidRequest(Option),
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for BranchesError {
@@ -138,7 +134,7 @@ fn _default_limit() -> Option {
 
 pub mod branches_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -225,10 +221,7 @@ where
     St::Repo: branches_state::IsUnset,
 {
     /// Set the `repo` field (required)
-    pub fn repo(
-        mut self,
-        value: impl Into,
-    ) -> BranchesBuilder> {
+    pub fn repo(mut self, value: impl Into) -> BranchesBuilder> {
         self._fields.2 = Option::Some(value.into());
         BranchesBuilder {
             _state: PhantomData,
@@ -251,4 +244,4 @@ where
             repo: self._fields.2.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_tangled/repo/collaborator.rs b/crates/jacquard-api/src/sh_tangled/repo/collaborator.rs
index 86eb828b..0f259b22 100644
--- a/crates/jacquard-api/src/sh_tangled/repo/collaborator.rs
+++ b/crates/jacquard-api/src/sh_tangled/repo/collaborator.rs
@@ -10,13 +10,13 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::collection::{Collection, RecordError};
-use jacquard_common::types::string::{Did, AtUri, Cid, Datetime};
+use jacquard_common::types::string::{AtUri, Cid, Datetime, Did};
 use jacquard_common::types::uri::{RecordUri, UriError};
 use jacquard_common::types::value::Data;
 use jacquard_common::xrpc::XrpcResp;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(
@@ -105,7 +105,7 @@ impl LexiconSchema for Collaborator {
 
 pub mod collaborator_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -260,10 +260,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> Collaborator {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> Collaborator {
         Collaborator {
             created_at: self._fields.0.unwrap(),
             repo: self._fields.1.unwrap(),
@@ -274,10 +271,10 @@ where
 }
 
 fn lexicon_doc_sh_tangled_repo_collaborator() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("sh.tangled.repo.collaborator"),
@@ -288,12 +285,11 @@ fn lexicon_doc_sh_tangled_repo_collaborator() -> LexiconDoc<'static> {
                 LexUserType::Record(LexRecord {
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("subject"), SmolStr::new_static("repo"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("subject"),
+                            SmolStr::new_static("repo"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -307,9 +303,9 @@ fn lexicon_doc_sh_tangled_repo_collaborator() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("repo"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("repo to add this user to"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "repo to add this user to",
+                                    )),
                                     format: Some(LexStringFormat::AtUri),
                                     ..Default::default()
                                 }),
@@ -332,4 +328,4 @@ fn lexicon_doc_sh_tangled_repo_collaborator() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_tangled/repo/compare.rs b/crates/jacquard-api/src/sh_tangled/repo/compare.rs
index c7af48d4..7af904b8 100644
--- a/crates/jacquard-api/src/sh_tangled/repo/compare.rs
+++ b/crates/jacquard-api/src/sh_tangled/repo/compare.rs
@@ -10,15 +10,18 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::bytes::Bytes;
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::{IntoStatic, open_union};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Compare {
     pub repo: S,
     pub rev1: S,
@@ -33,18 +36,9 @@ pub struct CompareOutput {
     pub body: Bytes,
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum CompareError {
     /// Repository not found or access denied
@@ -61,7 +55,10 @@ pub enum CompareError {
     CompareError(Option),
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for CompareError {
@@ -151,7 +148,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for CompareRequest {
 
 pub mod compare_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -238,10 +235,7 @@ where
     St::Repo: compare_state::IsUnset,
 {
     /// Set the `repo` field (required)
-    pub fn repo(
-        mut self,
-        value: impl Into,
-    ) -> CompareBuilder> {
+    pub fn repo(mut self, value: impl Into) -> CompareBuilder> {
         self._fields.0 = Option::Some(value.into());
         CompareBuilder {
             _state: PhantomData,
@@ -257,10 +251,7 @@ where
     St::Rev1: compare_state::IsUnset,
 {
     /// Set the `rev1` field (required)
-    pub fn rev1(
-        mut self,
-        value: impl Into,
-    ) -> CompareBuilder> {
+    pub fn rev1(mut self, value: impl Into) -> CompareBuilder> {
         self._fields.1 = Option::Some(value.into());
         CompareBuilder {
             _state: PhantomData,
@@ -276,10 +267,7 @@ where
     St::Rev2: compare_state::IsUnset,
 {
     /// Set the `rev2` field (required)
-    pub fn rev2(
-        mut self,
-        value: impl Into,
-    ) -> CompareBuilder> {
+    pub fn rev2(mut self, value: impl Into) -> CompareBuilder> {
         self._fields.2 = Option::Some(value.into());
         CompareBuilder {
             _state: PhantomData,
@@ -304,4 +292,4 @@ where
             rev2: self._fields.2.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_tangled/repo/create.rs b/crates/jacquard-api/src/sh_tangled/repo/create.rs
index db1ea530..57bce48f 100644
--- a/crates/jacquard-api/src/sh_tangled/repo/create.rs
+++ b/crates/jacquard-api/src/sh_tangled/repo/create.rs
@@ -10,14 +10,17 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Create {
     ///Default branch to push to
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -42,9 +45,8 @@ impl jacquard_common::xrpc::XrpcResp for CreateResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for Create {
     const NSID: &'static str = "sh.tangled.repo.create";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = CreateResponse;
 }
 
@@ -52,9 +54,8 @@ impl jacquard_common::xrpc::XrpcRequest for Create {
 pub struct CreateRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for CreateRequest {
     const PATH: &'static str = "/xrpc/sh.tangled.repo.create";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = Create;
     type Response = CreateResponse;
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_tangled/repo/delete.rs b/crates/jacquard-api/src/sh_tangled/repo/delete.rs
index 7756e6bf..1cff9825 100644
--- a/crates/jacquard-api/src/sh_tangled/repo/delete.rs
+++ b/crates/jacquard-api/src/sh_tangled/repo/delete.rs
@@ -10,15 +10,18 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::Did;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Delete {
     ///DID of the repository owner
     pub did: Did,
@@ -41,9 +44,8 @@ impl jacquard_common::xrpc::XrpcResp for DeleteResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for Delete {
     const NSID: &'static str = "sh.tangled.repo.delete";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = DeleteResponse;
 }
 
@@ -51,16 +53,15 @@ impl jacquard_common::xrpc::XrpcRequest for Delete {
 pub struct DeleteRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for DeleteRequest {
     const PATH: &'static str = "/xrpc/sh.tangled.repo.delete";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = Delete;
     type Response = DeleteResponse;
 }
 
 pub mod delete_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -147,10 +148,7 @@ where
     St::Did: delete_state::IsUnset,
 {
     /// Set the `did` field (required)
-    pub fn did(
-        mut self,
-        value: impl Into>,
-    ) -> DeleteBuilder> {
+    pub fn did(mut self, value: impl Into>) -> DeleteBuilder> {
         self._fields.0 = Option::Some(value.into());
         DeleteBuilder {
             _state: PhantomData,
@@ -166,10 +164,7 @@ where
     St::Name: delete_state::IsUnset,
 {
     /// Set the `name` field (required)
-    pub fn name(
-        mut self,
-        value: impl Into,
-    ) -> DeleteBuilder> {
+    pub fn name(mut self, value: impl Into) -> DeleteBuilder> {
         self._fields.1 = Option::Some(value.into());
         DeleteBuilder {
             _state: PhantomData,
@@ -185,10 +180,7 @@ where
     St::Rkey: delete_state::IsUnset,
 {
     /// Set the `rkey` field (required)
-    pub fn rkey(
-        mut self,
-        value: impl Into,
-    ) -> DeleteBuilder> {
+    pub fn rkey(mut self, value: impl Into) -> DeleteBuilder> {
         self._fields.2 = Option::Some(value.into());
         DeleteBuilder {
             _state: PhantomData,
@@ -223,4 +215,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_tangled/repo/delete_branch.rs b/crates/jacquard-api/src/sh_tangled/repo/delete_branch.rs
index 3dfb32dd..dd359892 100644
--- a/crates/jacquard-api/src/sh_tangled/repo/delete_branch.rs
+++ b/crates/jacquard-api/src/sh_tangled/repo/delete_branch.rs
@@ -10,15 +10,18 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::AtUri;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct DeleteBranch {
     pub branch: S,
     pub repo: AtUri,
@@ -37,9 +40,8 @@ impl jacquard_common::xrpc::XrpcResp for DeleteBranchResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for DeleteBranch {
     const NSID: &'static str = "sh.tangled.repo.deleteBranch";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = DeleteBranchResponse;
 }
 
@@ -47,16 +49,15 @@ impl jacquard_common::xrpc::XrpcRequest for DeleteBranch {
 pub struct DeleteBranchRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for DeleteBranchRequest {
     const PATH: &'static str = "/xrpc/sh.tangled.repo.deleteBranch";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = DeleteBranch;
     type Response = DeleteBranchResponse;
 }
 
 pub mod delete_branch_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -176,14 +177,11 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> DeleteBranch {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> DeleteBranch {
         DeleteBranch {
             branch: self._fields.0.unwrap(),
             repo: self._fields.1.unwrap(),
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_tangled/repo/diff.rs b/crates/jacquard-api/src/sh_tangled/repo/diff.rs
index 6c1a11c9..7831e526 100644
--- a/crates/jacquard-api/src/sh_tangled/repo/diff.rs
+++ b/crates/jacquard-api/src/sh_tangled/repo/diff.rs
@@ -10,39 +10,32 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::bytes::Bytes;
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::{IntoStatic, open_union};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Diff {
     pub r#ref: S,
     pub repo: S,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(rename_all = "camelCase")]
 pub struct DiffOutput {
     pub body: Bytes,
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum DiffError {
     /// Repository not found or access denied
@@ -56,7 +49,10 @@ pub enum DiffError {
     InvalidRequest(Option),
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for DiffError {
@@ -139,7 +135,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for DiffRequest {
 
 pub mod diff_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -212,10 +208,7 @@ where
     St::Ref: diff_state::IsUnset,
 {
     /// Set the `ref` field (required)
-    pub fn r#ref(
-        mut self,
-        value: impl Into,
-    ) -> DiffBuilder> {
+    pub fn r#ref(mut self, value: impl Into) -> DiffBuilder> {
         self._fields.0 = Option::Some(value.into());
         DiffBuilder {
             _state: PhantomData,
@@ -231,10 +224,7 @@ where
     St::Repo: diff_state::IsUnset,
 {
     /// Set the `repo` field (required)
-    pub fn repo(
-        mut self,
-        value: impl Into,
-    ) -> DiffBuilder> {
+    pub fn repo(mut self, value: impl Into) -> DiffBuilder> {
         self._fields.1 = Option::Some(value.into());
         DiffBuilder {
             _state: PhantomData,
@@ -257,4 +247,4 @@ where
             repo: self._fields.1.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_tangled/repo/fork_status.rs b/crates/jacquard-api/src/sh_tangled/repo/fork_status.rs
index 85dbc56a..d46a23f1 100644
--- a/crates/jacquard-api/src/sh_tangled/repo/fork_status.rs
+++ b/crates/jacquard-api/src/sh_tangled/repo/fork_status.rs
@@ -10,15 +10,18 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::Did;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ForkStatus {
     ///Branch to check status for
     pub branch: S,
@@ -34,9 +37,11 @@ pub struct ForkStatus {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ForkStatusOutput {
     ///Fork status: 0=UpToDate, 1=FastForwardable, 2=Conflict, 3=MissingBranch
     pub status: i64,
@@ -55,9 +60,8 @@ impl jacquard_common::xrpc::XrpcResp for ForkStatusResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for ForkStatus {
     const NSID: &'static str = "sh.tangled.repo.forkStatus";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = ForkStatusResponse;
 }
 
@@ -65,16 +69,15 @@ impl jacquard_common::xrpc::XrpcRequest for ForkStatus {
 pub struct ForkStatusRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for ForkStatusRequest {
     const PATH: &'static str = "/xrpc/sh.tangled.repo.forkStatus";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = ForkStatus;
     type Response = ForkStatusResponse;
 }
 
 pub mod fork_status_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -305,10 +308,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> ForkStatus {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> ForkStatus {
         ForkStatus {
             branch: self._fields.0.unwrap(),
             did: self._fields.1.unwrap(),
@@ -318,4 +318,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_tangled/repo/fork_sync.rs b/crates/jacquard-api/src/sh_tangled/repo/fork_sync.rs
index e118a2ef..2cf3920c 100644
--- a/crates/jacquard-api/src/sh_tangled/repo/fork_sync.rs
+++ b/crates/jacquard-api/src/sh_tangled/repo/fork_sync.rs
@@ -10,15 +10,18 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
-use jacquard_common::types::string::{Did, AtUri};
+use jacquard_common::types::string::{AtUri, Did};
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ForkSync {
     ///Branch to sync
     pub branch: S,
@@ -43,9 +46,8 @@ impl jacquard_common::xrpc::XrpcResp for ForkSyncResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for ForkSync {
     const NSID: &'static str = "sh.tangled.repo.forkSync";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = ForkSyncResponse;
 }
 
@@ -53,16 +55,15 @@ impl jacquard_common::xrpc::XrpcRequest for ForkSync {
 pub struct ForkSyncRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for ForkSyncRequest {
     const PATH: &'static str = "/xrpc/sh.tangled.repo.forkSync";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = ForkSync;
     type Response = ForkSyncResponse;
 }
 
 pub mod fork_sync_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -203,10 +204,7 @@ where
     St::Name: fork_sync_state::IsUnset,
 {
     /// Set the `name` field (required)
-    pub fn name(
-        mut self,
-        value: impl Into,
-    ) -> ForkSyncBuilder> {
+    pub fn name(mut self, value: impl Into) -> ForkSyncBuilder> {
         self._fields.2 = Option::Some(value.into());
         ForkSyncBuilder {
             _state: PhantomData,
@@ -263,4 +261,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_tangled/repo/get_default_branch.rs b/crates/jacquard-api/src/sh_tangled/repo/get_default_branch.rs
index 6eda593b..d7e14108 100644
--- a/crates/jacquard-api/src/sh_tangled/repo/get_default_branch.rs
+++ b/crates/jacquard-api/src/sh_tangled/repo/get_default_branch.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -21,20 +21,25 @@ use jacquard_derive::{IntoStatic, open_union};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::sh_tangled::repo::get_default_branch;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::sh_tangled::repo::get_default_branch;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetDefaultBranch {
     pub repo: S,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetDefaultBranchOutput {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub author: Option>,
@@ -54,18 +59,9 @@ pub struct GetDefaultBranchOutput {
     pub extra_data: Option>>,
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum GetDefaultBranchError {
     /// Repository not found or access denied
@@ -76,7 +72,10 @@ pub enum GetDefaultBranchError {
     InvalidRequest(Option),
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for GetDefaultBranchError {
@@ -107,9 +106,11 @@ impl core::fmt::Display for GetDefaultBranchError {
     }
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Signature {
     ///Author email
     pub email: S,
@@ -162,7 +163,7 @@ impl LexiconSchema for Signature {
 
 pub mod get_default_branch_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -251,7 +252,7 @@ where
 
 pub mod signature_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -406,10 +407,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> Signature {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> Signature {
         Signature {
             email: self._fields.0.unwrap(),
             name: self._fields.1.unwrap(),
@@ -420,10 +418,10 @@ where
 }
 
 fn lexicon_doc_sh_tangled_repo_getDefaultBranch() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("sh.tangled.repo.getDefaultBranch"),
@@ -432,40 +430,35 @@ fn lexicon_doc_sh_tangled_repo_getDefaultBranch() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::XrpcQuery(LexXrpcQuery {
-                    parameters: Some(
-                        LexXrpcQueryParameter::Params(LexXrpcParameters {
-                            required: Some(vec![SmolStr::new_static("repo")]),
-                            properties: {
-                                #[allow(unused_mut)]
-                                let mut map = BTreeMap::new();
-                                map.insert(
-                                    SmolStr::new_static("repo"),
-                                    LexXrpcParametersProperty::String(LexString {
-                                        description: Some(
-                                            CowStr::new_static(
-                                                "Repository identifier in format 'did:plc:.../repoName'",
-                                            ),
-                                        ),
-                                        ..Default::default()
-                                    }),
-                                );
-                                map
-                            },
-                            ..Default::default()
-                        }),
-                    ),
+                    parameters: Some(LexXrpcQueryParameter::Params(LexXrpcParameters {
+                        required: Some(vec![SmolStr::new_static("repo")]),
+                        properties: {
+                            #[allow(unused_mut)]
+                            let mut map = BTreeMap::new();
+                            map.insert(
+                                SmolStr::new_static("repo"),
+                                LexXrpcParametersProperty::String(LexString {
+                                    description: Some(CowStr::new_static(
+                                        "Repository identifier in format 'did:plc:.../repoName'",
+                                    )),
+                                    ..Default::default()
+                                }),
+                            );
+                            map
+                        },
+                        ..Default::default()
+                    })),
                     ..Default::default()
                 }),
             );
             map.insert(
                 SmolStr::new_static("signature"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("name"), SmolStr::new_static("email"),
-                            SmolStr::new_static("when")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("name"),
+                        SmolStr::new_static("email"),
+                        SmolStr::new_static("when"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -500,4 +493,4 @@ fn lexicon_doc_sh_tangled_repo_getDefaultBranch() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_tangled/repo/hidden_ref.rs b/crates/jacquard-api/src/sh_tangled/repo/hidden_ref.rs
index 88faafa3..98f5909b 100644
--- a/crates/jacquard-api/src/sh_tangled/repo/hidden_ref.rs
+++ b/crates/jacquard-api/src/sh_tangled/repo/hidden_ref.rs
@@ -10,15 +10,18 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::AtUri;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct HiddenRef {
     ///Fork reference name
     pub fork_ref: S,
@@ -30,9 +33,11 @@ pub struct HiddenRef {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct HiddenRefOutput {
     ///Error message if creation failed
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -57,9 +62,8 @@ impl jacquard_common::xrpc::XrpcResp for HiddenRefResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for HiddenRef {
     const NSID: &'static str = "sh.tangled.repo.hiddenRef";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = HiddenRefResponse;
 }
 
@@ -67,16 +71,15 @@ impl jacquard_common::xrpc::XrpcRequest for HiddenRef {
 pub struct HiddenRefRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for HiddenRefRequest {
     const PATH: &'static str = "/xrpc/sh.tangled.repo.hiddenRef";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = HiddenRef;
     type Response = HiddenRefResponse;
 }
 
 pub mod hidden_ref_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -231,10 +234,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> HiddenRef {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> HiddenRef {
         HiddenRef {
             fork_ref: self._fields.0.unwrap(),
             remote_ref: self._fields.1.unwrap(),
@@ -242,4 +242,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_tangled/repo/issue.rs b/crates/jacquard-api/src/sh_tangled/repo/issue.rs
index f1617dfb..083a5a25 100644
--- a/crates/jacquard-api/src/sh_tangled/repo/issue.rs
+++ b/crates/jacquard-api/src/sh_tangled/repo/issue.rs
@@ -8,19 +8,18 @@
 pub mod comment;
 pub mod state;
 
-
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::collection::{Collection, RecordError};
-use jacquard_common::types::string::{Did, AtUri, Cid, Datetime};
+use jacquard_common::types::string::{AtUri, Cid, Datetime, Did};
 use jacquard_common::types::uri::{RecordUri, UriError};
 use jacquard_common::types::value::Data;
 use jacquard_common::xrpc::XrpcResp;
@@ -30,7 +29,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(
@@ -114,7 +113,7 @@ impl LexiconSchema for Issue {
 
 pub mod issue_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -266,10 +265,7 @@ where
     St::Repo: issue_state::IsUnset,
 {
     /// Set the `repo` field (required)
-    pub fn repo(
-        mut self,
-        value: impl Into>,
-    ) -> IssueBuilder> {
+    pub fn repo(mut self, value: impl Into>) -> IssueBuilder> {
         self._fields.4 = Option::Some(value.into());
         IssueBuilder {
             _state: PhantomData,
@@ -285,10 +281,7 @@ where
     St::Title: issue_state::IsUnset,
 {
     /// Set the `title` field (required)
-    pub fn title(
-        mut self,
-        value: impl Into,
-    ) -> IssueBuilder> {
+    pub fn title(mut self, value: impl Into) -> IssueBuilder> {
         self._fields.5 = Option::Some(value.into());
         IssueBuilder {
             _state: PhantomData,
@@ -332,10 +325,10 @@ where
 }
 
 fn lexicon_doc_sh_tangled_repo_issue() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("sh.tangled.repo.issue"),
@@ -346,12 +339,11 @@ fn lexicon_doc_sh_tangled_repo_issue() -> LexiconDoc<'static> {
                 LexUserType::Record(LexRecord {
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("repo"), SmolStr::new_static("title"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("repo"),
+                            SmolStr::new_static("title"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -412,4 +404,4 @@ fn lexicon_doc_sh_tangled_repo_issue() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_tangled/repo/issue/comment.rs b/crates/jacquard-api/src/sh_tangled/repo/issue/comment.rs
index 4b9148c6..826dc1d2 100644
--- a/crates/jacquard-api/src/sh_tangled/repo/issue/comment.rs
+++ b/crates/jacquard-api/src/sh_tangled/repo/issue/comment.rs
@@ -10,13 +10,13 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::collection::{Collection, RecordError};
-use jacquard_common::types::string::{Did, AtUri, Cid, Datetime};
+use jacquard_common::types::string::{AtUri, Cid, Datetime, Did};
 use jacquard_common::types::uri::{RecordUri, UriError};
 use jacquard_common::types::value::Data;
 use jacquard_common::xrpc::XrpcResp;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(
@@ -110,7 +110,7 @@ impl LexiconSchema for Comment {
 
 pub mod comment_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -204,10 +204,7 @@ where
     St::Body: comment_state::IsUnset,
 {
     /// Set the `body` field (required)
-    pub fn body(
-        mut self,
-        value: impl Into,
-    ) -> CommentBuilder> {
+    pub fn body(mut self, value: impl Into) -> CommentBuilder> {
         self._fields.0 = Option::Some(value.into());
         CommentBuilder {
             _state: PhantomData,
@@ -328,10 +325,10 @@ where
 }
 
 fn lexicon_doc_sh_tangled_repo_issue_comment() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("sh.tangled.repo.issue.comment"),
@@ -342,12 +339,11 @@ fn lexicon_doc_sh_tangled_repo_issue_comment() -> LexiconDoc<'static> {
                 LexUserType::Record(LexRecord {
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("issue"), SmolStr::new_static("body"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("issue"),
+                            SmolStr::new_static("body"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -409,4 +405,4 @@ fn lexicon_doc_sh_tangled_repo_issue_comment() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_tangled/repo/issue/state.rs b/crates/jacquard-api/src/sh_tangled/repo/issue/state.rs
index 25582a53..043e52d5 100644
--- a/crates/jacquard-api/src/sh_tangled/repo/issue/state.rs
+++ b/crates/jacquard-api/src/sh_tangled/repo/issue/state.rs
@@ -8,13 +8,12 @@
 pub mod closed;
 pub mod open;
 
-
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -30,7 +29,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(
@@ -119,12 +118,8 @@ where
     type Output = StateState;
     fn into_static(self) -> Self::Output {
         match self {
-            StateState::ShTangledRepoIssueStateOpen => {
-                StateState::ShTangledRepoIssueStateOpen
-            }
-            StateState::ShTangledRepoIssueStateClosed => {
-                StateState::ShTangledRepoIssueStateClosed
-            }
+            StateState::ShTangledRepoIssueStateOpen => StateState::ShTangledRepoIssueStateOpen,
+            StateState::ShTangledRepoIssueStateClosed => StateState::ShTangledRepoIssueStateClosed,
             StateState::Other(v) => StateState::Other(v.into_static()),
         }
     }
@@ -191,7 +186,7 @@ impl LexiconSchema for State {
 
 pub mod state_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -321,10 +316,10 @@ where
 }
 
 fn lexicon_doc_sh_tangled_repo_issue_state() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("sh.tangled.repo.issue.state"),
@@ -335,11 +330,10 @@ fn lexicon_doc_sh_tangled_repo_issue_state() -> LexiconDoc<'static> {
                 LexUserType::Record(LexRecord {
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("issue"), SmolStr::new_static("state")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("issue"),
+                            SmolStr::new_static("state"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -368,4 +362,4 @@ fn lexicon_doc_sh_tangled_repo_issue_state() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_tangled/repo/issue/state/closed.rs b/crates/jacquard-api/src/sh_tangled/repo/issue/state/closed.rs
index 4f5cf121..77899ce8 100644
--- a/crates/jacquard-api/src/sh_tangled/repo/issue/state/closed.rs
+++ b/crates/jacquard-api/src/sh_tangled/repo/issue/state/closed.rs
@@ -7,7 +7,7 @@
 
 use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// closed issue
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Hash)]
@@ -16,4 +16,4 @@ impl core::fmt::Display for Closed {
     fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
         write!(f, "main")
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_tangled/repo/issue/state/open.rs b/crates/jacquard-api/src/sh_tangled/repo/issue/state/open.rs
index 4e6cb04f..15ff1fc2 100644
--- a/crates/jacquard-api/src/sh_tangled/repo/issue/state/open.rs
+++ b/crates/jacquard-api/src/sh_tangled/repo/issue/state/open.rs
@@ -7,7 +7,7 @@
 
 use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// open issue
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Hash)]
@@ -16,4 +16,4 @@ impl core::fmt::Display for Open {
     fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
         write!(f, "main")
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_tangled/repo/languages.rs b/crates/jacquard-api/src/sh_tangled/repo/languages.rs
index 042dd700..3b6f480e 100644
--- a/crates/jacquard-api/src/sh_tangled/repo/languages.rs
+++ b/crates/jacquard-api/src/sh_tangled/repo/languages.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -20,13 +20,16 @@ use jacquard_derive::{IntoStatic, open_union};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::sh_tangled::repo::languages;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::sh_tangled::repo::languages;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Language {
     ///Hex color code for this language
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -47,9 +50,11 @@ pub struct Language {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Languages {
     ///Defaults to `"HEAD"`.
     #[serde(default = "_default_ref")]
@@ -58,9 +63,11 @@ pub struct Languages {
     pub repo: S,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct LanguagesOutput {
     pub languages: Vec>,
     ///The git reference used
@@ -75,18 +82,9 @@ pub struct LanguagesOutput {
     pub extra_data: Option>>,
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum LanguagesError {
     /// Repository not found or access denied
@@ -100,7 +98,10 @@ pub enum LanguagesError {
     InvalidRequest(Option),
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for LanguagesError {
@@ -179,7 +180,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for LanguagesRequest {
 
 pub mod language_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -312,10 +313,7 @@ where
     St::Name: language_state::IsUnset,
 {
     /// Set the `name` field (required)
-    pub fn name(
-        mut self,
-        value: impl Into,
-    ) -> LanguageBuilder> {
+    pub fn name(mut self, value: impl Into) -> LanguageBuilder> {
         self._fields.3 = Option::Some(value.into());
         LanguageBuilder {
             _state: PhantomData,
@@ -397,10 +395,10 @@ where
 }
 
 fn lexicon_doc_sh_tangled_repo_languages() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("sh.tangled.repo.languages"),
@@ -409,32 +407,29 @@ fn lexicon_doc_sh_tangled_repo_languages() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("language"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("name"), SmolStr::new_static("size"),
-                            SmolStr::new_static("percentage")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("name"),
+                        SmolStr::new_static("size"),
+                        SmolStr::new_static("percentage"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("color"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Hex color code for this language"),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Hex color code for this language",
+                                )),
                                 ..Default::default()
                             }),
                         );
                         map.insert(
                             SmolStr::new_static("extensions"),
                             LexObjectProperty::Array(LexArray {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "File extensions associated with this language",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "File extensions associated with this language",
+                                )),
                                 items: LexArrayItem::String(LexString {
                                     ..Default::default()
                                 }),
@@ -450,9 +445,7 @@ fn lexicon_doc_sh_tangled_repo_languages() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("name"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Programming language name"),
-                                ),
+                                description: Some(CowStr::new_static("Programming language name")),
                                 ..Default::default()
                             }),
                         );
@@ -476,39 +469,33 @@ fn lexicon_doc_sh_tangled_repo_languages() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::XrpcQuery(LexXrpcQuery {
-                    parameters: Some(
-                        LexXrpcQueryParameter::Params(LexXrpcParameters {
-                            required: Some(vec![SmolStr::new_static("repo")]),
-                            properties: {
-                                #[allow(unused_mut)]
-                                let mut map = BTreeMap::new();
-                                map.insert(
-                                    SmolStr::new_static("ref"),
-                                    LexXrpcParametersProperty::String(LexString {
-                                        description: Some(
-                                            CowStr::new_static(
-                                                "Git reference (branch, tag, or commit SHA)",
-                                            ),
-                                        ),
-                                        ..Default::default()
-                                    }),
-                                );
-                                map.insert(
-                                    SmolStr::new_static("repo"),
-                                    LexXrpcParametersProperty::String(LexString {
-                                        description: Some(
-                                            CowStr::new_static(
-                                                "Repository identifier in format 'did:plc:.../repoName'",
-                                            ),
-                                        ),
-                                        ..Default::default()
-                                    }),
-                                );
-                                map
-                            },
-                            ..Default::default()
-                        }),
-                    ),
+                    parameters: Some(LexXrpcQueryParameter::Params(LexXrpcParameters {
+                        required: Some(vec![SmolStr::new_static("repo")]),
+                        properties: {
+                            #[allow(unused_mut)]
+                            let mut map = BTreeMap::new();
+                            map.insert(
+                                SmolStr::new_static("ref"),
+                                LexXrpcParametersProperty::String(LexString {
+                                    description: Some(CowStr::new_static(
+                                        "Git reference (branch, tag, or commit SHA)",
+                                    )),
+                                    ..Default::default()
+                                }),
+                            );
+                            map.insert(
+                                SmolStr::new_static("repo"),
+                                LexXrpcParametersProperty::String(LexString {
+                                    description: Some(CowStr::new_static(
+                                        "Repository identifier in format 'did:plc:.../repoName'",
+                                    )),
+                                    ..Default::default()
+                                }),
+                            );
+                            map
+                        },
+                        ..Default::default()
+                    })),
                     ..Default::default()
                 }),
             );
@@ -524,7 +511,7 @@ fn _default_ref() -> Option {
 
 pub mod languages_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -623,4 +610,4 @@ where
             repo: self._fields.1.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_tangled/repo/list_secrets.rs b/crates/jacquard-api/src/sh_tangled/repo/list_secrets.rs
index dd919798..d426ea74 100644
--- a/crates/jacquard-api/src/sh_tangled/repo/list_secrets.rs
+++ b/crates/jacquard-api/src/sh_tangled/repo/list_secrets.rs
@@ -10,40 +10,47 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
 use jacquard_common::deps::smol_str::SmolStr;
-use jacquard_common::types::string::{Did, AtUri, Datetime};
+use jacquard_common::types::string::{AtUri, Datetime, Did};
 use jacquard_common::types::value::Data;
 use jacquard_derive::IntoStatic;
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::sh_tangled::repo::list_secrets;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::sh_tangled::repo::list_secrets;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ListSecrets {
     pub repo: AtUri,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ListSecretsOutput {
     pub secrets: Vec>,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Secret {
     pub created_at: Datetime,
     pub created_by: Did,
@@ -116,7 +123,7 @@ impl LexiconSchema for Secret {
 
 pub mod list_secrets_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -205,7 +212,7 @@ where
 
 pub mod secret_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -280,7 +287,12 @@ pub mod secret_state {
 /// Builder for constructing an instance of this type.
 pub struct SecretBuilder {
     _state: PhantomData St>,
-    _fields: (Option, Option>, Option, Option>),
+    _fields: (
+        Option,
+        Option>,
+        Option,
+        Option>,
+    ),
     _type: PhantomData S>,
 }
 
@@ -346,10 +358,7 @@ where
     St::Key: secret_state::IsUnset,
 {
     /// Set the `key` field (required)
-    pub fn key(
-        mut self,
-        value: impl Into,
-    ) -> SecretBuilder> {
+    pub fn key(mut self, value: impl Into) -> SecretBuilder> {
         self._fields.2 = Option::Some(value.into());
         SecretBuilder {
             _state: PhantomData,
@@ -409,10 +418,10 @@ where
 }
 
 fn lexicon_doc_sh_tangled_repo_listSecrets() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("sh.tangled.repo.listSecrets"),
@@ -421,37 +430,34 @@ fn lexicon_doc_sh_tangled_repo_listSecrets() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::XrpcQuery(LexXrpcQuery {
-                    parameters: Some(
-                        LexXrpcQueryParameter::Params(LexXrpcParameters {
-                            required: Some(vec![SmolStr::new_static("repo")]),
-                            properties: {
-                                #[allow(unused_mut)]
-                                let mut map = BTreeMap::new();
-                                map.insert(
-                                    SmolStr::new_static("repo"),
-                                    LexXrpcParametersProperty::String(LexString {
-                                        format: Some(LexStringFormat::AtUri),
-                                        ..Default::default()
-                                    }),
-                                );
-                                map
-                            },
-                            ..Default::default()
-                        }),
-                    ),
+                    parameters: Some(LexXrpcQueryParameter::Params(LexXrpcParameters {
+                        required: Some(vec![SmolStr::new_static("repo")]),
+                        properties: {
+                            #[allow(unused_mut)]
+                            let mut map = BTreeMap::new();
+                            map.insert(
+                                SmolStr::new_static("repo"),
+                                LexXrpcParametersProperty::String(LexString {
+                                    format: Some(LexStringFormat::AtUri),
+                                    ..Default::default()
+                                }),
+                            );
+                            map
+                        },
+                        ..Default::default()
+                    })),
                     ..Default::default()
                 }),
             );
             map.insert(
                 SmolStr::new_static("secret"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("repo"), SmolStr::new_static("key"),
-                            SmolStr::new_static("createdAt"),
-                            SmolStr::new_static("createdBy")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("repo"),
+                        SmolStr::new_static("key"),
+                        SmolStr::new_static("createdAt"),
+                        SmolStr::new_static("createdBy"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -493,4 +499,4 @@ fn lexicon_doc_sh_tangled_repo_listSecrets() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_tangled/repo/log.rs b/crates/jacquard-api/src/sh_tangled/repo/log.rs
index 83175e8e..abe6fa0a 100644
--- a/crates/jacquard-api/src/sh_tangled/repo/log.rs
+++ b/crates/jacquard-api/src/sh_tangled/repo/log.rs
@@ -10,15 +10,18 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::bytes::Bytes;
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::{IntoStatic, open_union};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Log {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub cursor: Option,
@@ -34,25 +37,15 @@ pub struct Log {
     pub repo: S,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(rename_all = "camelCase")]
 pub struct LogOutput {
     pub body: Bytes,
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum LogError {
     /// Repository not found or access denied
@@ -69,7 +62,10 @@ pub enum LogError {
     InvalidRequest(Option),
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for LogError {
@@ -167,7 +163,7 @@ fn _default_path() -> Option {
 
 pub mod log_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -321,4 +317,4 @@ where
             repo: self._fields.4.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_tangled/repo/merge.rs b/crates/jacquard-api/src/sh_tangled/repo/merge.rs
index d338a110..a16dc73d 100644
--- a/crates/jacquard-api/src/sh_tangled/repo/merge.rs
+++ b/crates/jacquard-api/src/sh_tangled/repo/merge.rs
@@ -10,15 +10,18 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::Did;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Merge {
     ///Author email for the merge commit
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -55,9 +58,8 @@ impl jacquard_common::xrpc::XrpcResp for MergeResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for Merge {
     const NSID: &'static str = "sh.tangled.repo.merge";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = MergeResponse;
 }
 
@@ -65,16 +67,15 @@ impl jacquard_common::xrpc::XrpcRequest for Merge {
 pub struct MergeRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for MergeRequest {
     const PATH: &'static str = "/xrpc/sh.tangled.repo.merge";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = Merge;
     type Response = MergeResponse;
 }
 
 pub mod merge_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -212,10 +213,7 @@ where
     St::Branch: merge_state::IsUnset,
 {
     /// Set the `branch` field (required)
-    pub fn branch(
-        mut self,
-        value: impl Into,
-    ) -> MergeBuilder> {
+    pub fn branch(mut self, value: impl Into) -> MergeBuilder> {
         self._fields.2 = Option::Some(value.into());
         MergeBuilder {
             _state: PhantomData,
@@ -257,10 +255,7 @@ where
     St::Did: merge_state::IsUnset,
 {
     /// Set the `did` field (required)
-    pub fn did(
-        mut self,
-        value: impl Into>,
-    ) -> MergeBuilder> {
+    pub fn did(mut self, value: impl Into>) -> MergeBuilder> {
         self._fields.5 = Option::Some(value.into());
         MergeBuilder {
             _state: PhantomData,
@@ -276,10 +271,7 @@ where
     St::Name: merge_state::IsUnset,
 {
     /// Set the `name` field (required)
-    pub fn name(
-        mut self,
-        value: impl Into,
-    ) -> MergeBuilder> {
+    pub fn name(mut self, value: impl Into) -> MergeBuilder> {
         self._fields.6 = Option::Some(value.into());
         MergeBuilder {
             _state: PhantomData,
@@ -295,10 +287,7 @@ where
     St::Patch: merge_state::IsUnset,
 {
     /// Set the `patch` field (required)
-    pub fn patch(
-        mut self,
-        value: impl Into,
-    ) -> MergeBuilder> {
+    pub fn patch(mut self, value: impl Into) -> MergeBuilder> {
         self._fields.7 = Option::Some(value.into());
         MergeBuilder {
             _state: PhantomData,
@@ -344,4 +333,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_tangled/repo/merge_check.rs b/crates/jacquard-api/src/sh_tangled/repo/merge_check.rs
index 45432126..d6ae1013 100644
--- a/crates/jacquard-api/src/sh_tangled/repo/merge_check.rs
+++ b/crates/jacquard-api/src/sh_tangled/repo/merge_check.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -21,13 +21,16 @@ use jacquard_derive::IntoStatic;
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::sh_tangled::repo::merge_check;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::sh_tangled::repo::merge_check;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ConflictInfo {
     ///Name of the conflicted file
     pub filename: S,
@@ -37,9 +40,11 @@ pub struct ConflictInfo {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct MergeCheck {
     ///Target branch to merge into
     pub branch: S,
@@ -53,9 +58,11 @@ pub struct MergeCheck {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct MergeCheckOutput {
     ///List of files with merge conflicts
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -98,9 +105,8 @@ impl jacquard_common::xrpc::XrpcResp for MergeCheckResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for MergeCheck {
     const NSID: &'static str = "sh.tangled.repo.mergeCheck";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = MergeCheckResponse;
 }
 
@@ -108,18 +114,17 @@ impl jacquard_common::xrpc::XrpcRequest for MergeCheck {
 pub struct MergeCheckRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for MergeCheckRequest {
     const PATH: &'static str = "/xrpc/sh.tangled.repo.mergeCheck";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = MergeCheck;
     type Response = MergeCheckResponse;
 }
 
 fn lexicon_doc_sh_tangled_repo_mergeCheck() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("sh.tangled.repo.mergeCheck"),
@@ -128,30 +133,26 @@ fn lexicon_doc_sh_tangled_repo_mergeCheck() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("conflictInfo"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("filename"),
-                            SmolStr::new_static("reason")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("filename"),
+                        SmolStr::new_static("reason"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("filename"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Name of the conflicted file"),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Name of the conflicted file",
+                                )),
                                 ..Default::default()
                             }),
                         );
                         map.insert(
                             SmolStr::new_static("reason"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Reason for the conflict"),
-                                ),
+                                description: Some(CowStr::new_static("Reason for the conflict")),
                                 ..Default::default()
                             }),
                         );
@@ -165,61 +166,57 @@ fn lexicon_doc_sh_tangled_repo_mergeCheck() -> LexiconDoc<'static> {
                 LexUserType::XrpcProcedure(LexXrpcProcedure {
                     input: Some(LexXrpcBody {
                         encoding: CowStr::new_static("application/json"),
-                        schema: Some(
-                            LexXrpcBodySchema::Object(LexObject {
-                                required: Some(
-                                    vec![
-                                        SmolStr::new_static("did"), SmolStr::new_static("name"),
-                                        SmolStr::new_static("patch"), SmolStr::new_static("branch")
-                                    ],
-                                ),
-                                properties: {
-                                    #[allow(unused_mut)]
-                                    let mut map = BTreeMap::new();
-                                    map.insert(
-                                        SmolStr::new_static("branch"),
-                                        LexObjectProperty::String(LexString {
-                                            description: Some(
-                                                CowStr::new_static("Target branch to merge into"),
-                                            ),
-                                            ..Default::default()
-                                        }),
-                                    );
-                                    map.insert(
-                                        SmolStr::new_static("did"),
-                                        LexObjectProperty::String(LexString {
-                                            description: Some(
-                                                CowStr::new_static("DID of the repository owner"),
-                                            ),
-                                            format: Some(LexStringFormat::Did),
-                                            ..Default::default()
-                                        }),
-                                    );
-                                    map.insert(
-                                        SmolStr::new_static("name"),
-                                        LexObjectProperty::String(LexString {
-                                            description: Some(
-                                                CowStr::new_static("Name of the repository"),
-                                            ),
-                                            ..Default::default()
-                                        }),
-                                    );
-                                    map.insert(
-                                        SmolStr::new_static("patch"),
-                                        LexObjectProperty::String(LexString {
-                                            description: Some(
-                                                CowStr::new_static(
-                                                    "Patch or pull request to check for merge conflicts",
-                                                ),
-                                            ),
-                                            ..Default::default()
-                                        }),
-                                    );
-                                    map
-                                },
-                                ..Default::default()
-                            }),
-                        ),
+                        schema: Some(LexXrpcBodySchema::Object(LexObject {
+                            required: Some(vec![
+                                SmolStr::new_static("did"),
+                                SmolStr::new_static("name"),
+                                SmolStr::new_static("patch"),
+                                SmolStr::new_static("branch"),
+                            ]),
+                            properties: {
+                                #[allow(unused_mut)]
+                                let mut map = BTreeMap::new();
+                                map.insert(
+                                    SmolStr::new_static("branch"),
+                                    LexObjectProperty::String(LexString {
+                                        description: Some(CowStr::new_static(
+                                            "Target branch to merge into",
+                                        )),
+                                        ..Default::default()
+                                    }),
+                                );
+                                map.insert(
+                                    SmolStr::new_static("did"),
+                                    LexObjectProperty::String(LexString {
+                                        description: Some(CowStr::new_static(
+                                            "DID of the repository owner",
+                                        )),
+                                        format: Some(LexStringFormat::Did),
+                                        ..Default::default()
+                                    }),
+                                );
+                                map.insert(
+                                    SmolStr::new_static("name"),
+                                    LexObjectProperty::String(LexString {
+                                        description: Some(CowStr::new_static(
+                                            "Name of the repository",
+                                        )),
+                                        ..Default::default()
+                                    }),
+                                );
+                                map.insert(
+                                    SmolStr::new_static("patch"),
+                                    LexObjectProperty::String(LexString {
+                                        description: Some(CowStr::new_static(
+                                            "Patch or pull request to check for merge conflicts",
+                                        )),
+                                        ..Default::default()
+                                    }),
+                                );
+                                map
+                            },
+                            ..Default::default()
+                        })),
                         ..Default::default()
                     }),
                     ..Default::default()
@@ -233,7 +230,7 @@ fn lexicon_doc_sh_tangled_repo_mergeCheck() -> LexiconDoc<'static> {
 
 pub mod merge_check_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -425,10 +422,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> MergeCheck {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> MergeCheck {
         MergeCheck {
             branch: self._fields.0.unwrap(),
             did: self._fields.1.unwrap(),
@@ -437,4 +431,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_tangled/repo/pull.rs b/crates/jacquard-api/src/sh_tangled/repo/pull.rs
index 5c08334c..e2525709 100644
--- a/crates/jacquard-api/src/sh_tangled/repo/pull.rs
+++ b/crates/jacquard-api/src/sh_tangled/repo/pull.rs
@@ -8,20 +8,19 @@
 pub mod comment;
 pub mod status;
 
-
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::blob::BlobRef;
 use jacquard_common::types::collection::{Collection, RecordError};
-use jacquard_common::types::string::{Did, AtUri, Cid, Datetime};
+use jacquard_common::types::string::{AtUri, Cid, Datetime, Did};
 use jacquard_common::types::uri::{RecordUri, UriError};
 use jacquard_common::types::value::Data;
 use jacquard_common::xrpc::XrpcResp;
@@ -29,10 +28,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::sh_tangled::repo::pull;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::sh_tangled::repo::pull;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(
@@ -73,9 +72,11 @@ pub struct PullGetRecordOutput {
     pub value: Pull,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Source {
     pub branch: S,
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -85,9 +86,11 @@ pub struct Source {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Target {
     pub branch: S,
     pub repo: AtUri,
@@ -144,19 +147,16 @@ impl LexiconSchema for Pull {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["text/x-patch"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("patch_blob"),
@@ -224,7 +224,7 @@ impl LexiconSchema for Target {
 
 pub mod pull_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -459,10 +459,7 @@ where
     St::Title: pull_state::IsUnset,
 {
     /// Set the `title` field (required)
-    pub fn title(
-        mut self,
-        value: impl Into,
-    ) -> PullBuilder> {
+    pub fn title(mut self, value: impl Into) -> PullBuilder> {
         self._fields.8 = Option::Some(value.into());
         PullBuilder {
             _state: PhantomData,
@@ -513,10 +510,10 @@ where
 }
 
 fn lexicon_doc_sh_tangled_repo_pull() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("sh.tangled.repo.pull"),
@@ -527,13 +524,12 @@ fn lexicon_doc_sh_tangled_repo_pull() -> LexiconDoc<'static> {
                 LexUserType::Record(LexRecord {
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("target"), SmolStr::new_static("title"),
-                                SmolStr::new_static("patchBlob"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("target"),
+                            SmolStr::new_static("title"),
+                            SmolStr::new_static("patchBlob"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -563,15 +559,17 @@ fn lexicon_doc_sh_tangled_repo_pull() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("patch"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("(deprecated) use patchBlob instead"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "(deprecated) use patchBlob instead",
+                                    )),
                                     ..Default::default()
                                 }),
                             );
                             map.insert(
                                 SmolStr::new_static("patchBlob"),
-                                LexObjectProperty::Blob(LexBlob { ..Default::default() }),
+                                LexObjectProperty::Blob(LexBlob {
+                                    ..Default::default()
+                                }),
                             );
                             map.insert(
                                 SmolStr::new_static("references"),
@@ -613,15 +611,18 @@ fn lexicon_doc_sh_tangled_repo_pull() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("source"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![SmolStr::new_static("branch"), SmolStr::new_static("sha")],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("branch"),
+                        SmolStr::new_static("sha"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("branch"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("repo"),
@@ -646,15 +647,18 @@ fn lexicon_doc_sh_tangled_repo_pull() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("target"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![SmolStr::new_static("repo"), SmolStr::new_static("branch")],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("repo"),
+                        SmolStr::new_static("branch"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("branch"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("repo"),
@@ -676,7 +680,7 @@ fn lexicon_doc_sh_tangled_repo_pull() -> LexiconDoc<'static> {
 
 pub mod target_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -749,10 +753,7 @@ where
     St::Branch: target_state::IsUnset,
 {
     /// Set the `branch` field (required)
-    pub fn branch(
-        mut self,
-        value: impl Into,
-    ) -> TargetBuilder> {
+    pub fn branch(mut self, value: impl Into) -> TargetBuilder> {
         self._fields.0 = Option::Some(value.into());
         TargetBuilder {
             _state: PhantomData,
@@ -803,4 +804,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_tangled/repo/pull/comment.rs b/crates/jacquard-api/src/sh_tangled/repo/pull/comment.rs
index 382c43f1..35d610f8 100644
--- a/crates/jacquard-api/src/sh_tangled/repo/pull/comment.rs
+++ b/crates/jacquard-api/src/sh_tangled/repo/pull/comment.rs
@@ -10,13 +10,13 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::collection::{Collection, RecordError};
-use jacquard_common::types::string::{Did, AtUri, Cid, Datetime};
+use jacquard_common::types::string::{AtUri, Cid, Datetime, Did};
 use jacquard_common::types::uri::{RecordUri, UriError};
 use jacquard_common::types::value::Data;
 use jacquard_common::xrpc::XrpcResp;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(
@@ -108,7 +108,7 @@ impl LexiconSchema for Comment {
 
 pub mod comment_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -201,10 +201,7 @@ where
     St::Body: comment_state::IsUnset,
 {
     /// Set the `body` field (required)
-    pub fn body(
-        mut self,
-        value: impl Into,
-    ) -> CommentBuilder> {
+    pub fn body(mut self, value: impl Into) -> CommentBuilder> {
         self._fields.0 = Option::Some(value.into());
         CommentBuilder {
             _state: PhantomData,
@@ -310,10 +307,10 @@ where
 }
 
 fn lexicon_doc_sh_tangled_repo_pull_comment() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("sh.tangled.repo.pull.comment"),
@@ -324,12 +321,11 @@ fn lexicon_doc_sh_tangled_repo_pull_comment() -> LexiconDoc<'static> {
                 LexUserType::Record(LexRecord {
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("pull"), SmolStr::new_static("body"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("pull"),
+                            SmolStr::new_static("body"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -384,4 +380,4 @@ fn lexicon_doc_sh_tangled_repo_pull_comment() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_tangled/repo/pull/status.rs b/crates/jacquard-api/src/sh_tangled/repo/pull/status.rs
index 84273cf3..8af49b15 100644
--- a/crates/jacquard-api/src/sh_tangled/repo/pull/status.rs
+++ b/crates/jacquard-api/src/sh_tangled/repo/pull/status.rs
@@ -9,13 +9,12 @@ pub mod closed;
 pub mod merged;
 pub mod open;
 
-
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -31,7 +30,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(
@@ -123,9 +122,7 @@ where
     type Output = StatusStatus;
     fn into_static(self) -> Self::Output {
         match self {
-            StatusStatus::ShTangledRepoPullStatusOpen => {
-                StatusStatus::ShTangledRepoPullStatusOpen
-            }
+            StatusStatus::ShTangledRepoPullStatusOpen => StatusStatus::ShTangledRepoPullStatusOpen,
             StatusStatus::ShTangledRepoPullStatusClosed => {
                 StatusStatus::ShTangledRepoPullStatusClosed
             }
@@ -198,7 +195,7 @@ impl LexiconSchema for Status {
 
 pub mod status_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -328,10 +325,10 @@ where
 }
 
 fn lexicon_doc_sh_tangled_repo_pull_status() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("sh.tangled.repo.pull.status"),
@@ -342,11 +339,10 @@ fn lexicon_doc_sh_tangled_repo_pull_status() -> LexiconDoc<'static> {
                 LexUserType::Record(LexRecord {
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("pull"), SmolStr::new_static("status")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("pull"),
+                            SmolStr::new_static("status"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -360,9 +356,9 @@ fn lexicon_doc_sh_tangled_repo_pull_status() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("status"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("status of the pull request"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "status of the pull request",
+                                    )),
                                     ..Default::default()
                                 }),
                             );
@@ -377,4 +373,4 @@ fn lexicon_doc_sh_tangled_repo_pull_status() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_tangled/repo/pull/status/closed.rs b/crates/jacquard-api/src/sh_tangled/repo/pull/status/closed.rs
index 095546a3..435df54f 100644
--- a/crates/jacquard-api/src/sh_tangled/repo/pull/status/closed.rs
+++ b/crates/jacquard-api/src/sh_tangled/repo/pull/status/closed.rs
@@ -7,7 +7,7 @@
 
 use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// closed pull request
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Hash)]
@@ -16,4 +16,4 @@ impl core::fmt::Display for Closed {
     fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
         write!(f, "main")
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_tangled/repo/pull/status/merged.rs b/crates/jacquard-api/src/sh_tangled/repo/pull/status/merged.rs
index f45dd927..3e9fb411 100644
--- a/crates/jacquard-api/src/sh_tangled/repo/pull/status/merged.rs
+++ b/crates/jacquard-api/src/sh_tangled/repo/pull/status/merged.rs
@@ -7,7 +7,7 @@
 
 use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// merged pull request
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Hash)]
@@ -16,4 +16,4 @@ impl core::fmt::Display for Merged {
     fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
         write!(f, "main")
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_tangled/repo/pull/status/open.rs b/crates/jacquard-api/src/sh_tangled/repo/pull/status/open.rs
index 38630a76..c4139022 100644
--- a/crates/jacquard-api/src/sh_tangled/repo/pull/status/open.rs
+++ b/crates/jacquard-api/src/sh_tangled/repo/pull/status/open.rs
@@ -7,7 +7,7 @@
 
 use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// open pull request
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Hash)]
@@ -16,4 +16,4 @@ impl core::fmt::Display for Open {
     fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
         write!(f, "main")
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_tangled/repo/remove_secret.rs b/crates/jacquard-api/src/sh_tangled/repo/remove_secret.rs
index 16792282..3e107046 100644
--- a/crates/jacquard-api/src/sh_tangled/repo/remove_secret.rs
+++ b/crates/jacquard-api/src/sh_tangled/repo/remove_secret.rs
@@ -10,15 +10,18 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::AtUri;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct RemoveSecret {
     pub key: S,
     pub repo: AtUri,
@@ -37,9 +40,8 @@ impl jacquard_common::xrpc::XrpcResp for RemoveSecretResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for RemoveSecret {
     const NSID: &'static str = "sh.tangled.repo.removeSecret";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = RemoveSecretResponse;
 }
 
@@ -47,16 +49,15 @@ impl jacquard_common::xrpc::XrpcRequest for RemoveSecret {
 pub struct RemoveSecretRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for RemoveSecretRequest {
     const PATH: &'static str = "/xrpc/sh.tangled.repo.removeSecret";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = RemoveSecret;
     type Response = RemoveSecretResponse;
 }
 
 pub mod remove_secret_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -176,14 +177,11 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> RemoveSecret {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> RemoveSecret {
         RemoveSecret {
             key: self._fields.0.unwrap(),
             repo: self._fields.1.unwrap(),
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_tangled/repo/set_default_branch.rs b/crates/jacquard-api/src/sh_tangled/repo/set_default_branch.rs
index 8f6874fe..bcbf4bff 100644
--- a/crates/jacquard-api/src/sh_tangled/repo/set_default_branch.rs
+++ b/crates/jacquard-api/src/sh_tangled/repo/set_default_branch.rs
@@ -10,15 +10,18 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::AtUri;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct SetDefaultBranch {
     pub default_branch: S,
     pub repo: AtUri,
@@ -37,9 +40,8 @@ impl jacquard_common::xrpc::XrpcResp for SetDefaultBranchResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for SetDefaultBranch {
     const NSID: &'static str = "sh.tangled.repo.setDefaultBranch";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = SetDefaultBranchResponse;
 }
 
@@ -47,16 +49,15 @@ impl jacquard_common::xrpc::XrpcRequest for SetDefaultBranch {
 pub struct SetDefaultBranchRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for SetDefaultBranchRequest {
     const PATH: &'static str = "/xrpc/sh.tangled.repo.setDefaultBranch";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = SetDefaultBranch;
     type Response = SetDefaultBranchResponse;
 }
 
 pub mod set_default_branch_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -176,14 +177,11 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> SetDefaultBranch {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> SetDefaultBranch {
         SetDefaultBranch {
             default_branch: self._fields.0.unwrap(),
             repo: self._fields.1.unwrap(),
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_tangled/repo/tag.rs b/crates/jacquard-api/src/sh_tangled/repo/tag.rs
index caac7a6b..7b1b116f 100644
--- a/crates/jacquard-api/src/sh_tangled/repo/tag.rs
+++ b/crates/jacquard-api/src/sh_tangled/repo/tag.rs
@@ -10,39 +10,32 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::bytes::Bytes;
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::{IntoStatic, open_union};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Tag {
     pub repo: S,
     pub tag: S,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(rename_all = "camelCase")]
 pub struct TagOutput {
     pub body: Bytes,
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum TagError {
     /// Repository not found or access denied
@@ -56,7 +49,10 @@ pub enum TagError {
     InvalidRequest(Option),
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for TagError {
@@ -139,7 +135,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for TagRequest {
 
 pub mod tag_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -251,4 +247,4 @@ where
             tag: self._fields.1.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_tangled/repo/tags.rs b/crates/jacquard-api/src/sh_tangled/repo/tags.rs
index eb191d94..142b1af3 100644
--- a/crates/jacquard-api/src/sh_tangled/repo/tags.rs
+++ b/crates/jacquard-api/src/sh_tangled/repo/tags.rs
@@ -10,15 +10,18 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::bytes::Bytes;
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::{IntoStatic, open_union};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Tags {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub cursor: Option,
@@ -29,25 +32,15 @@ pub struct Tags {
     pub repo: S,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(rename_all = "camelCase")]
 pub struct TagsOutput {
     pub body: Bytes,
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum TagsError {
     /// Repository not found or access denied
@@ -58,7 +51,10 @@ pub enum TagsError {
     InvalidRequest(Option),
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for TagsError {
@@ -138,7 +134,7 @@ fn _default_limit() -> Option {
 
 pub mod tags_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -225,10 +221,7 @@ where
     St::Repo: tags_state::IsUnset,
 {
     /// Set the `repo` field (required)
-    pub fn repo(
-        mut self,
-        value: impl Into,
-    ) -> TagsBuilder> {
+    pub fn repo(mut self, value: impl Into) -> TagsBuilder> {
         self._fields.2 = Option::Some(value.into());
         TagsBuilder {
             _state: PhantomData,
@@ -251,4 +244,4 @@ where
             repo: self._fields.2.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_tangled/repo/tree.rs b/crates/jacquard-api/src/sh_tangled/repo/tree.rs
index 45778473..f234955d 100644
--- a/crates/jacquard-api/src/sh_tangled/repo/tree.rs
+++ b/crates/jacquard-api/src/sh_tangled/repo/tree.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -21,13 +21,16 @@ use jacquard_derive::{IntoStatic, open_union};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::sh_tangled::repo::tree;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::sh_tangled::repo::tree;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct LastCommit {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub author: Option>,
@@ -41,9 +44,11 @@ pub struct LastCommit {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Tree {
     ///Defaults to `""`.
     #[serde(default = "_default_path")]
@@ -53,9 +58,11 @@ pub struct Tree {
     pub repo: S,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct TreeOutput {
     ///Parent directory path
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -75,18 +82,9 @@ pub struct TreeOutput {
     pub extra_data: Option>>,
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum TreeError {
     /// Repository not found or access denied
@@ -103,7 +101,10 @@ pub enum TreeError {
     InvalidRequest(Option),
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for TreeError {
@@ -148,9 +149,11 @@ impl core::fmt::Display for TreeError {
     }
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Readme {
     ///Contents of the readme file
     pub contents: S,
@@ -160,9 +163,11 @@ pub struct Readme {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Signature {
     ///Author email
     pub email: S,
@@ -174,9 +179,11 @@ pub struct Signature {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct TreeEntry {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub last_commit: Option>,
@@ -276,7 +283,7 @@ impl LexiconSchema for TreeEntry {
 
 pub mod last_commit_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -335,7 +342,12 @@ pub mod last_commit_state {
 /// Builder for constructing an instance of this type.
 pub struct LastCommitBuilder {
     _state: PhantomData St>,
-    _fields: (Option>, Option, Option, Option),
+    _fields: (
+        Option>,
+        Option,
+        Option,
+        Option,
+    ),
     _type: PhantomData S>,
 }
 
@@ -445,10 +457,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> LastCommit {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> LastCommit {
         LastCommit {
             author: self._fields.0,
             hash: self._fields.1.unwrap(),
@@ -460,10 +469,10 @@ where
 }
 
 fn lexicon_doc_sh_tangled_repo_tree() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("sh.tangled.repo.tree"),
@@ -472,12 +481,11 @@ fn lexicon_doc_sh_tangled_repo_tree() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("lastCommit"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("hash"), SmolStr::new_static("message"),
-                            SmolStr::new_static("when")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("hash"),
+                        SmolStr::new_static("message"),
+                        SmolStr::new_static("when"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -518,82 +526,71 @@ fn lexicon_doc_sh_tangled_repo_tree() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::XrpcQuery(LexXrpcQuery {
-                    parameters: Some(
-                        LexXrpcQueryParameter::Params(LexXrpcParameters {
-                            required: Some(
-                                vec![
-                                    SmolStr::new_static("repo"), SmolStr::new_static("ref")
-                                ],
-                            ),
-                            properties: {
-                                #[allow(unused_mut)]
-                                let mut map = BTreeMap::new();
-                                map.insert(
-                                    SmolStr::new_static("path"),
-                                    LexXrpcParametersProperty::String(LexString {
-                                        description: Some(
-                                            CowStr::new_static("Path within the repository tree"),
-                                        ),
-                                        ..Default::default()
-                                    }),
-                                );
-                                map.insert(
-                                    SmolStr::new_static("ref"),
-                                    LexXrpcParametersProperty::String(LexString {
-                                        description: Some(
-                                            CowStr::new_static(
-                                                "Git reference (branch, tag, or commit SHA)",
-                                            ),
-                                        ),
-                                        ..Default::default()
-                                    }),
-                                );
-                                map.insert(
-                                    SmolStr::new_static("repo"),
-                                    LexXrpcParametersProperty::String(LexString {
-                                        description: Some(
-                                            CowStr::new_static(
-                                                "Repository identifier in format 'did:plc:.../repoName'",
-                                            ),
-                                        ),
-                                        ..Default::default()
-                                    }),
-                                );
-                                map
-                            },
-                            ..Default::default()
-                        }),
-                    ),
+                    parameters: Some(LexXrpcQueryParameter::Params(LexXrpcParameters {
+                        required: Some(vec![
+                            SmolStr::new_static("repo"),
+                            SmolStr::new_static("ref"),
+                        ]),
+                        properties: {
+                            #[allow(unused_mut)]
+                            let mut map = BTreeMap::new();
+                            map.insert(
+                                SmolStr::new_static("path"),
+                                LexXrpcParametersProperty::String(LexString {
+                                    description: Some(CowStr::new_static(
+                                        "Path within the repository tree",
+                                    )),
+                                    ..Default::default()
+                                }),
+                            );
+                            map.insert(
+                                SmolStr::new_static("ref"),
+                                LexXrpcParametersProperty::String(LexString {
+                                    description: Some(CowStr::new_static(
+                                        "Git reference (branch, tag, or commit SHA)",
+                                    )),
+                                    ..Default::default()
+                                }),
+                            );
+                            map.insert(
+                                SmolStr::new_static("repo"),
+                                LexXrpcParametersProperty::String(LexString {
+                                    description: Some(CowStr::new_static(
+                                        "Repository identifier in format 'did:plc:.../repoName'",
+                                    )),
+                                    ..Default::default()
+                                }),
+                            );
+                            map
+                        },
+                        ..Default::default()
+                    })),
                     ..Default::default()
                 }),
             );
             map.insert(
                 SmolStr::new_static("readme"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("filename"),
-                            SmolStr::new_static("contents")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("filename"),
+                        SmolStr::new_static("contents"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("contents"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Contents of the readme file"),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Contents of the readme file",
+                                )),
                                 ..Default::default()
                             }),
                         );
                         map.insert(
                             SmolStr::new_static("filename"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Name of the readme file"),
-                                ),
+                                description: Some(CowStr::new_static("Name of the readme file")),
                                 ..Default::default()
                             }),
                         );
@@ -605,12 +602,11 @@ fn lexicon_doc_sh_tangled_repo_tree() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("signature"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("name"), SmolStr::new_static("email"),
-                            SmolStr::new_static("when")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("name"),
+                        SmolStr::new_static("email"),
+                        SmolStr::new_static("when"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -644,12 +640,11 @@ fn lexicon_doc_sh_tangled_repo_tree() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("treeEntry"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("name"), SmolStr::new_static("mode"),
-                            SmolStr::new_static("size")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("name"),
+                        SmolStr::new_static("mode"),
+                        SmolStr::new_static("size"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -670,9 +665,9 @@ fn lexicon_doc_sh_tangled_repo_tree() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("name"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Relative file or directory name"),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Relative file or directory name",
+                                )),
                                 ..Default::default()
                             }),
                         );
@@ -699,7 +694,7 @@ fn _default_path() -> Option {
 
 pub mod tree_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -785,10 +780,7 @@ where
     St::Ref: tree_state::IsUnset,
 {
     /// Set the `ref` field (required)
-    pub fn r#ref(
-        mut self,
-        value: impl Into,
-    ) -> TreeBuilder> {
+    pub fn r#ref(mut self, value: impl Into) -> TreeBuilder> {
         self._fields.1 = Option::Some(value.into());
         TreeBuilder {
             _state: PhantomData,
@@ -804,10 +796,7 @@ where
     St::Repo: tree_state::IsUnset,
 {
     /// Set the `repo` field (required)
-    pub fn repo(
-        mut self,
-        value: impl Into,
-    ) -> TreeBuilder> {
+    pub fn repo(mut self, value: impl Into) -> TreeBuilder> {
         self._fields.2 = Option::Some(value.into());
         TreeBuilder {
             _state: PhantomData,
@@ -835,7 +824,7 @@ where
 
 pub mod signature_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -990,10 +979,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> Signature {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> Signature {
         Signature {
             email: self._fields.0.unwrap(),
             name: self._fields.1.unwrap(),
@@ -1005,7 +991,7 @@ where
 
 pub mod tree_entry_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1064,7 +1050,12 @@ pub mod tree_entry_state {
 /// Builder for constructing an instance of this type.
 pub struct TreeEntryBuilder {
     _state: PhantomData St>,
-    _fields: (Option>, Option, Option, Option),
+    _fields: (
+        Option>,
+        Option,
+        Option,
+        Option,
+    ),
     _type: PhantomData S>,
 }
 
@@ -1174,10 +1165,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> TreeEntry {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> TreeEntry {
         TreeEntry {
             last_commit: self._fields.0,
             mode: self._fields.1.unwrap(),
@@ -1186,4 +1174,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_tangled/spindle.rs b/crates/jacquard-api/src/sh_tangled/spindle.rs
index 10387c2b..553a98c1 100644
--- a/crates/jacquard-api/src/sh_tangled/spindle.rs
+++ b/crates/jacquard-api/src/sh_tangled/spindle.rs
@@ -7,13 +7,12 @@
 
 pub mod member;
 
-
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -29,7 +28,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(
@@ -105,7 +104,7 @@ impl LexiconSchema for Spindle {
 
 pub mod spindle_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -201,10 +200,10 @@ where
 }
 
 fn lexicon_doc_sh_tangled_spindle() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("sh.tangled.spindle"),
@@ -237,4 +236,4 @@ fn lexicon_doc_sh_tangled_spindle() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_tangled/spindle/member.rs b/crates/jacquard-api/src/sh_tangled/spindle/member.rs
index e2c9fe78..5153ddea 100644
--- a/crates/jacquard-api/src/sh_tangled/spindle/member.rs
+++ b/crates/jacquard-api/src/sh_tangled/spindle/member.rs
@@ -10,13 +10,13 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::collection::{Collection, RecordError};
-use jacquard_common::types::string::{Did, AtUri, Cid, Datetime};
+use jacquard_common::types::string::{AtUri, Cid, Datetime, Did};
 use jacquard_common::types::uri::{RecordUri, UriError};
 use jacquard_common::types::value::Data;
 use jacquard_common::xrpc::XrpcResp;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(
@@ -105,7 +105,7 @@ impl LexiconSchema for Member {
 
 pub mod member_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -271,10 +271,10 @@ where
 }
 
 fn lexicon_doc_sh_tangled_spindle_member() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("sh.tangled.spindle.member"),
@@ -285,13 +285,11 @@ fn lexicon_doc_sh_tangled_spindle_member() -> LexiconDoc<'static> {
                 LexUserType::Record(LexRecord {
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("subject"),
-                                SmolStr::new_static("instance"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("subject"),
+                            SmolStr::new_static("instance"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -305,11 +303,9 @@ fn lexicon_doc_sh_tangled_spindle_member() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("instance"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "spindle instance that the subject is now a member of",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "spindle instance that the subject is now a member of",
+                                    )),
                                     ..Default::default()
                                 }),
                             );
@@ -331,4 +327,4 @@ fn lexicon_doc_sh_tangled_spindle_member() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_tangled/string.rs b/crates/jacquard-api/src/sh_tangled/string.rs
index 3e41f083..eb45f065 100644
--- a/crates/jacquard-api/src/sh_tangled/string.rs
+++ b/crates/jacquard-api/src/sh_tangled/string.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(
@@ -157,7 +157,7 @@ impl LexiconSchema for TangledString {
 
 pub mod tangled_string_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -349,10 +349,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> TangledString {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> TangledString {
         TangledString {
             contents: self._fields.0.unwrap(),
             created_at: self._fields.1.unwrap(),
@@ -364,10 +361,10 @@ where
 }
 
 fn lexicon_doc_sh_tangled_string() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("sh.tangled.string"),
@@ -378,14 +375,12 @@ fn lexicon_doc_sh_tangled_string() -> LexiconDoc<'static> {
                 LexUserType::Record(LexRecord {
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("filename"),
-                                SmolStr::new_static("description"),
-                                SmolStr::new_static("createdAt"),
-                                SmolStr::new_static("contents")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("filename"),
+                            SmolStr::new_static("description"),
+                            SmolStr::new_static("createdAt"),
+                            SmolStr::new_static("contents"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -429,4 +424,4 @@ fn lexicon_doc_sh_tangled_string() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_tangled/sync.rs b/crates/jacquard-api/src/sh_tangled/sync.rs
index 9e26dc60..57dc1434 100644
--- a/crates/jacquard-api/src/sh_tangled/sync.rs
+++ b/crates/jacquard-api/src/sh_tangled/sync.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod request_crawl;
\ No newline at end of file
+pub mod request_crawl;
diff --git a/crates/jacquard-api/src/sh_tangled/sync/request_crawl.rs b/crates/jacquard-api/src/sh_tangled/sync/request_crawl.rs
index d636abc0..1ae9c099 100644
--- a/crates/jacquard-api/src/sh_tangled/sync/request_crawl.rs
+++ b/crates/jacquard-api/src/sh_tangled/sync/request_crawl.rs
@@ -10,15 +10,18 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::AtUri;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::{IntoStatic, open_union};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct RequestCrawl {
     ///specific repository to ensure crawling
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -29,25 +32,19 @@ pub struct RequestCrawl {
     pub extra_data: Option>>,
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum RequestCrawlError {
     #[serde(rename = "HostBanned")]
     HostBanned(Option),
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for RequestCrawlError {
@@ -82,9 +79,8 @@ impl jacquard_common::xrpc::XrpcResp for RequestCrawlResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for RequestCrawl {
     const NSID: &'static str = "sh.tangled.sync.requestCrawl";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = RequestCrawlResponse;
 }
 
@@ -92,9 +88,8 @@ impl jacquard_common::xrpc::XrpcRequest for RequestCrawl {
 pub struct RequestCrawlRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for RequestCrawlRequest {
     const PATH: &'static str = "/xrpc/sh.tangled.sync.requestCrawl";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = RequestCrawl;
     type Response = RequestCrawlResponse;
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver.rs b/crates/jacquard-api/src/sh_weaver.rs
index d9109877..2a31ee86 100644
--- a/crates/jacquard-api/src/sh_weaver.rs
+++ b/crates/jacquard-api/src/sh_weaver.rs
@@ -10,4 +10,4 @@ pub mod embed;
 pub mod graph;
 pub mod notebook;
 pub mod notification;
-pub mod publish;
\ No newline at end of file
+pub mod publish;
diff --git a/crates/jacquard-api/src/sh_weaver/actor.rs b/crates/jacquard-api/src/sh_weaver/actor.rs
index c85bd0e1..6524918a 100644
--- a/crates/jacquard-api/src/sh_weaver/actor.rs
+++ b/crates/jacquard-api/src/sh_weaver/actor.rs
@@ -13,35 +13,37 @@ pub mod profile;
 pub mod search_actors;
 pub mod search_actors_typeahead;
 
-
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::bytes::Bytes;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
 use jacquard_common::deps::smol_str::SmolStr;
-use jacquard_common::types::string::{Did, Handle, AtUri, Datetime, UriValue};
+use jacquard_common::types::string::{AtUri, Datetime, Did, Handle, UriValue};
 use jacquard_common::types::value::Data;
 use jacquard_derive::{IntoStatic, open_union};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::app_bsky::actor::ProfileViewDetailed;
 use crate::com_atproto::label::Label;
 use crate::com_atproto::repo::strong_ref::StrongRef;
 use crate::sh_weaver::actor;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// A single author in a Weaver notebook.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Author {
     pub did: Did,
     ///signed bytes of the corresponding notebook record in the author's repo
@@ -55,7 +57,10 @@ pub struct Author {
 pub type PinnedList = Vec>;
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ProfileDataView {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub collaboration_count: Option,
@@ -74,7 +79,6 @@ pub struct ProfileDataView {
     pub extra_data: Option>>,
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -87,9 +91,11 @@ pub enum ProfileDataViewInner {
     TangledProfileView(Box>),
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ProfileDataViewBasic {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub follower_count: Option,
@@ -102,7 +108,6 @@ pub struct ProfileDataViewBasic {
     pub extra_data: Option>>,
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -115,9 +120,11 @@ pub enum ProfileDataViewBasicInner {
     TangledProfileView(Box>),
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ProfileView {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub avatar: Option>,
@@ -163,9 +170,11 @@ pub struct ProfileView {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ProfileViewBasic {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub avatar: Option>,
@@ -190,7 +199,10 @@ pub type PronounsList = Vec;
 /// A notebook the viewer subscribes to without a global follow.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct SubscribedNotebook {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub path: Option,
@@ -201,9 +213,11 @@ pub struct SubscribedNotebook {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct TangledProfileView {
     ///Include link to this account on Bluesky.
     pub bluesky: bool,
@@ -229,7 +243,10 @@ pub struct TangledProfileView {
 /// Viewer's relationship state with an actor (detailed version).
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ViewerState {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub blocked: Option>,
@@ -254,7 +271,10 @@ pub struct ViewerState {
 /// Viewer's relationship state with an actor (basic version).
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ViewerStateBasic {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub blocked: Option>,
@@ -625,7 +645,7 @@ impl LexiconSchema for ViewerStateBasic {
 
 pub mod author_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -686,10 +706,7 @@ where
     St::Did: author_state::IsUnset,
 {
     /// Set the `did` field (required)
-    pub fn did(
-        mut self,
-        value: impl Into>,
-    ) -> AuthorBuilder> {
+    pub fn did(mut self, value: impl Into>) -> AuthorBuilder> {
         self._fields.0 = Option::Some(value.into());
         AuthorBuilder {
             _state: PhantomData,
@@ -736,10 +753,10 @@ where
 }
 
 fn lexicon_doc_sh_weaver_actor_defs() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("sh.weaver.actor.defs"),
@@ -748,9 +765,7 @@ fn lexicon_doc_sh_weaver_actor_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("author"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("A single author in a Weaver notebook."),
-                    ),
+                    description: Some(CowStr::new_static("A single author in a Weaver notebook.")),
                     required: Some(vec![SmolStr::new_static("did")]),
                     properties: {
                         #[allow(unused_mut)]
@@ -764,7 +779,9 @@ fn lexicon_doc_sh_weaver_actor_defs() -> LexiconDoc<'static> {
                         );
                         map.insert(
                             SmolStr::new_static("signature"),
-                            LexObjectProperty::Bytes(LexBytes { ..Default::default() }),
+                            LexObjectProperty::Bytes(LexBytes {
+                                ..Default::default()
+                            }),
                         );
                         map
                     },
@@ -818,7 +835,7 @@ fn lexicon_doc_sh_weaver_actor_defs() -> LexiconDoc<'static> {
                                 refs: vec![
                                     CowStr::new_static("#profileView"),
                                     CowStr::new_static("app.bsky.actor.defs#profileViewDetailed"),
-                                    CowStr::new_static("#tangledProfileView")
+                                    CowStr::new_static("#tangledProfileView"),
                                 ],
                                 ..Default::default()
                             }),
@@ -866,7 +883,7 @@ fn lexicon_doc_sh_weaver_actor_defs() -> LexiconDoc<'static> {
                                 refs: vec![
                                     CowStr::new_static("#profileViewBasic"),
                                     CowStr::new_static("app.bsky.actor.defs#profileViewBasic"),
-                                    CowStr::new_static("#tangledProfileView")
+                                    CowStr::new_static("#tangledProfileView"),
                                 ],
                                 ..Default::default()
                             }),
@@ -1040,9 +1057,10 @@ fn lexicon_doc_sh_weaver_actor_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("profileViewBasic"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![SmolStr::new_static("did"), SmolStr::new_static("handle")],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("did"),
+                        SmolStr::new_static("handle"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -1126,22 +1144,24 @@ fn lexicon_doc_sh_weaver_actor_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("subscribedNotebook"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static(
-                            "A notebook the viewer subscribes to without a global follow.",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "A notebook the viewer subscribes to without a global follow.",
+                    )),
                     required: Some(vec![SmolStr::new_static("uri")]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("path"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("title"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("uri"),
@@ -1263,11 +1283,9 @@ fn lexicon_doc_sh_weaver_actor_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("viewerState"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static(
-                            "Viewer's relationship state with an actor (detailed version).",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Viewer's relationship state with an actor (detailed version).",
+                    )),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -1337,11 +1355,9 @@ fn lexicon_doc_sh_weaver_actor_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("viewerStateBasic"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static(
-                            "Viewer's relationship state with an actor (basic version).",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Viewer's relationship state with an actor (basic version).",
+                    )),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -1412,7 +1428,7 @@ fn lexicon_doc_sh_weaver_actor_defs() -> LexiconDoc<'static> {
 
 pub mod profile_data_view_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1591,10 +1607,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> ProfileDataView {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> ProfileDataView {
         ProfileDataView {
             collaboration_count: self._fields.0,
             entry_count: self._fields.1,
@@ -1610,7 +1623,7 @@ where
 
 pub mod profile_data_view_basic_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1641,10 +1654,7 @@ pub mod profile_data_view_basic_state {
 }
 
 /// Builder for constructing an instance of this type.
-pub struct ProfileDataViewBasicBuilder<
-    S: BosStr,
-    St: profile_data_view_basic_state::State,
-> {
+pub struct ProfileDataViewBasicBuilder {
     _state: PhantomData St>,
     _fields: (
         Option,
@@ -1657,10 +1667,7 @@ pub struct ProfileDataViewBasicBuilder<
 
 impl ProfileDataViewBasic {
     /// Create a new builder for this type.
-    pub fn new() -> ProfileDataViewBasicBuilder<
-        S,
-        profile_data_view_basic_state::Empty,
-    > {
+    pub fn new() -> ProfileDataViewBasicBuilder {
         ProfileDataViewBasicBuilder::new()
     }
 }
@@ -1676,10 +1683,7 @@ impl ProfileDataViewBasicBuilder ProfileDataViewBasicBuilder {
+impl ProfileDataViewBasicBuilder {
     /// Set the `followerCount` field (optional)
     pub fn follower_count(mut self, value: impl Into>) -> Self {
         self._fields.0 = value.into();
@@ -1692,10 +1696,7 @@ impl<
     }
 }
 
-impl<
-    S: BosStr,
-    St: profile_data_view_basic_state::State,
-> ProfileDataViewBasicBuilder {
+impl ProfileDataViewBasicBuilder {
     /// Set the `followingCount` field (optional)
     pub fn following_count(mut self, value: impl Into>) -> Self {
         self._fields.1 = value.into();
@@ -1727,15 +1728,9 @@ where
     }
 }
 
-impl<
-    S: BosStr,
-    St: profile_data_view_basic_state::State,
-> ProfileDataViewBasicBuilder {
+impl ProfileDataViewBasicBuilder {
     /// Set the `viewer` field (optional)
-    pub fn viewer(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn viewer(mut self, value: impl Into>>) -> Self {
         self._fields.3 = value.into();
         self
     }
@@ -1778,7 +1773,7 @@ where
 
 pub mod profile_view_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1859,24 +1854,8 @@ impl ProfileViewBuilder {
         ProfileViewBuilder {
             _state: PhantomData,
             _fields: (
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
+                None, None, None, None, None, None, None, None, None, None, None, None, None, None,
+                None, None, None, None,
             ),
             _type: PhantomData,
         }
@@ -2160,10 +2139,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> ProfileView {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> ProfileView {
         ProfileView {
             avatar: self._fields.0,
             banner: self._fields.1,
@@ -2190,7 +2166,7 @@ where
 
 pub mod profile_view_basic_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -2403,10 +2379,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> ProfileViewBasic {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> ProfileViewBasic {
         ProfileViewBasic {
             avatar: self._fields.0,
             created_at: self._fields.1,
@@ -2423,7 +2396,7 @@ where
 
 pub mod subscribed_notebook_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -2538,10 +2511,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> SubscribedNotebook {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> SubscribedNotebook {
         SubscribedNotebook {
             path: self._fields.0,
             title: self._fields.1,
@@ -2553,7 +2523,7 @@ where
 
 pub mod tangled_profile_view_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -2741,10 +2711,7 @@ impl TangledProfileViewBuilder
 
 impl TangledProfileViewBuilder {
     /// Set the `pinnedRepositories` field (optional)
-    pub fn pinned_repositories(
-        mut self,
-        value: impl Into>>>,
-    ) -> Self {
+    pub fn pinned_repositories(mut self, value: impl Into>>>) -> Self {
         self._fields.6 = value.into();
         self
     }
@@ -2790,10 +2757,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> TangledProfileView {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> TangledProfileView {
         TangledProfileView {
             bluesky: self._fields.0.unwrap(),
             description: self._fields.1,
@@ -2806,4 +2770,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/actor/get_actor_entries.rs b/crates/jacquard-api/src/sh_weaver/actor/get_actor_entries.rs
index 2b3ce576..692140a7 100644
--- a/crates/jacquard-api/src/sh_weaver/actor/get_actor_entries.rs
+++ b/crates/jacquard-api/src/sh_weaver/actor/get_actor_entries.rs
@@ -8,18 +8,21 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::sh_weaver::notebook::EntryView;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::ident::AtIdentifier;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::sh_weaver::notebook::EntryView;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetActorEntries {
     pub actor: AtIdentifier,
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -34,9 +37,11 @@ pub struct GetActorEntries {
     pub limit: Option,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetActorEntriesOutput {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub cursor: Option,
@@ -79,7 +84,7 @@ fn _default_limit() -> Option {
 
 pub mod get_actor_entries_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -112,7 +117,12 @@ pub mod get_actor_entries_state {
 /// Builder for constructing an instance of this type.
 pub struct GetActorEntriesBuilder {
     _state: PhantomData St>,
-    _fields: (Option>, Option, Option, Option),
+    _fields: (
+        Option>,
+        Option,
+        Option,
+        Option,
+    ),
     _type: PhantomData S>,
 }
 
@@ -206,4 +216,4 @@ where
             limit: self._fields.3,
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/actor/get_actor_notebooks.rs b/crates/jacquard-api/src/sh_weaver/actor/get_actor_notebooks.rs
index 79ac1f8c..879da24c 100644
--- a/crates/jacquard-api/src/sh_weaver/actor/get_actor_notebooks.rs
+++ b/crates/jacquard-api/src/sh_weaver/actor/get_actor_notebooks.rs
@@ -8,18 +8,21 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::sh_weaver::notebook::NotebookView;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::ident::AtIdentifier;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::sh_weaver::notebook::NotebookView;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetActorNotebooks {
     pub actor: AtIdentifier,
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -34,9 +37,11 @@ pub struct GetActorNotebooks {
     pub limit: Option,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetActorNotebooksOutput {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub cursor: Option,
@@ -79,7 +84,7 @@ fn _default_limit() -> Option {
 
 pub mod get_actor_notebooks_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -112,7 +117,12 @@ pub mod get_actor_notebooks_state {
 /// Builder for constructing an instance of this type.
 pub struct GetActorNotebooksBuilder {
     _state: PhantomData St>,
-    _fields: (Option>, Option, Option, Option),
+    _fields: (
+        Option>,
+        Option,
+        Option,
+        Option,
+    ),
     _type: PhantomData S>,
 }
 
@@ -206,4 +216,4 @@ where
             limit: self._fields.3,
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/actor/get_profile.rs b/crates/jacquard-api/src/sh_weaver/actor/get_profile.rs
index 61d49bb6..533154e9 100644
--- a/crates/jacquard-api/src/sh_weaver/actor/get_profile.rs
+++ b/crates/jacquard-api/src/sh_weaver/actor/get_profile.rs
@@ -8,25 +8,30 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::sh_weaver::actor::ProfileDataView;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::ident::AtIdentifier;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::sh_weaver::actor::ProfileDataView;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetProfile {
     pub actor: AtIdentifier,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetProfileOutput {
     #[serde(flatten)]
     pub value: ProfileDataView,
@@ -60,7 +65,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetProfileRequest {
 
 pub mod get_profile_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -145,4 +150,4 @@ where
             actor: self._fields.0.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/actor/get_suggested_authors.rs b/crates/jacquard-api/src/sh_weaver/actor/get_suggested_authors.rs
index 53b35f0d..6b30c096 100644
--- a/crates/jacquard-api/src/sh_weaver/actor/get_suggested_authors.rs
+++ b/crates/jacquard-api/src/sh_weaver/actor/get_suggested_authors.rs
@@ -10,11 +10,11 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(rename_all = "camelCase")]
@@ -25,9 +25,11 @@ pub struct GetSuggestedAuthors {
     pub limit: Option,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetSuggestedAuthorsOutput {
     pub authors: Vec>,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
@@ -64,7 +66,7 @@ fn _default_limit() -> Option {
 
 pub mod get_suggested_authors_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -127,4 +129,4 @@ where
             limit: self._fields.0,
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/actor/profile.rs b/crates/jacquard-api/src/sh_weaver/actor/profile.rs
index a188a218..8364d2de 100644
--- a/crates/jacquard-api/src/sh_weaver/actor/profile.rs
+++ b/crates/jacquard-api/src/sh_weaver/actor/profile.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -25,12 +25,12 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::com_atproto::label::SelfLabels;
 use crate::sh_weaver::actor::PinnedList;
 use crate::sh_weaver::actor::PronounsList;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// A declaration of a Weaver account profile.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -152,25 +152,20 @@ impl LexiconSchema for Profile {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["image/png", "image/jpeg"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("avatar"),
-                        accepted: vec![
-                            "image/png".to_string(), "image/jpeg".to_string()
-                        ],
+                        accepted: vec!["image/png".to_string(), "image/jpeg".to_string()],
                         actual: mime.to_string(),
                     });
                 }
@@ -192,25 +187,20 @@ impl LexiconSchema for Profile {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["image/png", "image/jpeg"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("banner"),
-                        accepted: vec![
-                            "image/png".to_string(), "image/jpeg".to_string()
-                        ],
+                        accepted: vec!["image/png".to_string(), "image/jpeg".to_string()],
                         actual: mime.to_string(),
                     });
                 }
@@ -308,7 +298,7 @@ impl LexiconSchema for Profile {
 
 pub mod profile_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -359,19 +349,7 @@ impl ProfileBuilder {
         ProfileBuilder {
             _state: PhantomData,
             _fields: (
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
+                None, None, None, None, None, None, None, None, None, None, None, None, None,
             ),
             _type: PhantomData,
         }
@@ -592,10 +570,10 @@ where
 }
 
 fn lexicon_doc_sh_weaver_actor_profile() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("sh.weaver.actor.profile"),
@@ -735,4 +713,4 @@ fn lexicon_doc_sh_weaver_actor_profile() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/actor/search_actors.rs b/crates/jacquard-api/src/sh_weaver/actor/search_actors.rs
index 51c59725..e977fe1e 100644
--- a/crates/jacquard-api/src/sh_weaver/actor/search_actors.rs
+++ b/crates/jacquard-api/src/sh_weaver/actor/search_actors.rs
@@ -8,17 +8,20 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::sh_weaver::actor::ProfileView;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::sh_weaver::actor::ProfileView;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct SearchActors {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub cursor: Option,
@@ -29,9 +32,11 @@ pub struct SearchActors {
     pub q: S,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct SearchActorsOutput {
     pub actors: Vec>,
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -70,7 +75,7 @@ fn _default_limit() -> Option {
 
 pub mod search_actors_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -183,4 +188,4 @@ where
             q: self._fields.2.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/actor/search_actors_typeahead.rs b/crates/jacquard-api/src/sh_weaver/actor/search_actors_typeahead.rs
index 9dfa1e37..596574c4 100644
--- a/crates/jacquard-api/src/sh_weaver/actor/search_actors_typeahead.rs
+++ b/crates/jacquard-api/src/sh_weaver/actor/search_actors_typeahead.rs
@@ -8,17 +8,20 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::sh_weaver::actor::ProfileViewBasic;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::sh_weaver::actor::ProfileViewBasic;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct SearchActorsTypeahead {
     ///Defaults to `10`. Min: 1. Max: 25.
     #[serde(default = "_default_limit")]
@@ -27,9 +30,11 @@ pub struct SearchActorsTypeahead {
     pub q: S,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct SearchActorsTypeaheadOutput {
     pub actors: Vec>,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
@@ -66,7 +71,7 @@ fn _default_limit() -> Option {
 
 pub mod search_actors_typeahead_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -97,10 +102,7 @@ pub mod search_actors_typeahead_state {
 }
 
 /// Builder for constructing an instance of this type.
-pub struct SearchActorsTypeaheadBuilder<
-    S: BosStr,
-    St: search_actors_typeahead_state::State,
-> {
+pub struct SearchActorsTypeaheadBuilder {
     _state: PhantomData St>,
     _fields: (Option, Option),
     _type: PhantomData S>,
@@ -108,10 +110,7 @@ pub struct SearchActorsTypeaheadBuilder<
 
 impl SearchActorsTypeahead {
     /// Create a new builder for this type.
-    pub fn new() -> SearchActorsTypeaheadBuilder<
-        S,
-        search_actors_typeahead_state::Empty,
-    > {
+    pub fn new() -> SearchActorsTypeaheadBuilder {
         SearchActorsTypeaheadBuilder::new()
     }
 }
@@ -127,10 +126,7 @@ impl SearchActorsTypeaheadBuilder SearchActorsTypeaheadBuilder {
+impl SearchActorsTypeaheadBuilder {
     /// Set the `limit` field (optional)
     pub fn limit(mut self, value: impl Into>) -> Self {
         self._fields.0 = value.into();
@@ -174,4 +170,4 @@ where
             q: self._fields.1.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/collab.rs b/crates/jacquard-api/src/sh_weaver/collab.rs
index 9aec3142..cdc985c9 100644
--- a/crates/jacquard-api/src/sh_weaver/collab.rs
+++ b/crates/jacquard-api/src/sh_weaver/collab.rs
@@ -13,13 +13,12 @@ pub mod get_resource_sessions;
 pub mod invite;
 pub mod session;
 
-
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -30,13 +29,13 @@ use jacquard_derive::IntoStatic;
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::com_atproto::repo::strong_ref::StrongRef;
 use crate::sh_weaver::actor::ProfileViewBasic;
-use crate::sh_weaver::notebook::PublishedVersionView;
 use crate::sh_weaver::collab;
+use crate::sh_weaver::notebook::PublishedVersionView;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// Collaboration scoped to a chapter.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Hash)]
@@ -50,7 +49,10 @@ impl core::fmt::Display for Chapter {
 /// Full state of a collaboration relationship including version reconciliation. Tracks both current and former collaborators.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct CollaborationStateView {
     ///The 'canonical' version URI (usually owner's)
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -136,8 +138,7 @@ impl Serialize for CollaborationStateViewStatus {
     }
 }
 
-impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de>
-for CollaborationStateViewStatus {
+impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> for CollaborationStateViewStatus {
     fn deserialize(deserializer: D) -> Result
     where
         D: serde::Deserializer<'de>,
@@ -163,12 +164,8 @@ where
         match self {
             CollaborationStateViewStatus::Active => CollaborationStateViewStatus::Active,
             CollaborationStateViewStatus::Broken => CollaborationStateViewStatus::Broken,
-            CollaborationStateViewStatus::Diverged => {
-                CollaborationStateViewStatus::Diverged
-            }
-            CollaborationStateViewStatus::Reconciled => {
-                CollaborationStateViewStatus::Reconciled
-            }
+            CollaborationStateViewStatus::Diverged => CollaborationStateViewStatus::Diverged,
+            CollaborationStateViewStatus::Reconciled => CollaborationStateViewStatus::Reconciled,
             CollaborationStateViewStatus::Other(v) => {
                 CollaborationStateViewStatus::Other(v.into_static())
             }
@@ -189,7 +186,10 @@ impl core::fmt::Display for Entry {
 /// Lightweight view for 'this person used to collaborate but doesn't anymore'.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct FormerCollaboratorView {
     ///Number of diffs they created while active
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -206,7 +206,6 @@ pub struct FormerCollaboratorView {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Debug, Clone, PartialEq, Eq, Hash)]
 pub enum FormerCollaboratorViewEndReason {
     VoluntaryLeave,
@@ -259,8 +258,7 @@ impl Serialize for FormerCollaboratorViewEndReason {
     }
 }
 
-impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de>
-for FormerCollaboratorViewEndReason {
+impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> for FormerCollaboratorViewEndReason {
     fn deserialize(deserializer: D) -> Result
     where
         D: serde::Deserializer<'de>,
@@ -306,7 +304,10 @@ where
 /// Hydrated view of a collaboration invite with status.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct InviteView {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub accept_uri: Option>,
@@ -331,7 +332,6 @@ pub struct InviteView {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Debug, Clone, PartialEq, Eq, Hash)]
 pub enum InviteViewScope {
     Notebook,
@@ -413,7 +413,6 @@ where
     }
 }
 
-
 #[derive(Debug, Clone, PartialEq, Eq, Hash)]
 pub enum InviteViewStatus {
     Pending,
@@ -512,7 +511,10 @@ impl core::fmt::Display for Notebook {
 /// Individual participant's state in a collaboration. Distinguishes 'was collaborator' vs 'never was'.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ParticipantStateView {
     ///If they accepted (even if later broken)
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -598,8 +600,7 @@ impl Serialize for ParticipantStateViewEndReason {
     }
 }
 
-impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de>
-for ParticipantStateViewEndReason {
+impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> for ParticipantStateViewEndReason {
     fn deserialize(deserializer: D) -> Result
     where
         D: serde::Deserializer<'de>,
@@ -642,7 +643,6 @@ where
     }
 }
 
-
 #[derive(Debug, Clone, PartialEq, Eq, Hash)]
 pub enum ParticipantStateViewRole {
     Owner,
@@ -692,8 +692,7 @@ impl Serialize for ParticipantStateViewRole {
     }
 }
 
-impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de>
-for ParticipantStateViewRole {
+impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> for ParticipantStateViewRole {
     fn deserialize(deserializer: D) -> Result
     where
         D: serde::Deserializer<'de>,
@@ -718,15 +717,11 @@ where
     fn into_static(self) -> Self::Output {
         match self {
             ParticipantStateViewRole::Owner => ParticipantStateViewRole::Owner,
-            ParticipantStateViewRole::Collaborator => {
-                ParticipantStateViewRole::Collaborator
-            }
+            ParticipantStateViewRole::Collaborator => ParticipantStateViewRole::Collaborator,
             ParticipantStateViewRole::FormerCollaborator => {
                 ParticipantStateViewRole::FormerCollaborator
             }
-            ParticipantStateViewRole::Other(v) => {
-                ParticipantStateViewRole::Other(v.into_static())
-            }
+            ParticipantStateViewRole::Other(v) => ParticipantStateViewRole::Other(v.into_static()),
         }
     }
 }
@@ -788,8 +783,7 @@ impl Serialize for ParticipantStateViewStatus {
     }
 }
 
-impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de>
-for ParticipantStateViewStatus {
+impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> for ParticipantStateViewStatus {
     fn deserialize(deserializer: D) -> Result
     where
         D: serde::Deserializer<'de>,
@@ -828,7 +822,10 @@ where
 /// Active real-time collaboration session.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct SessionView {
     pub created_at: Datetime,
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -920,7 +917,7 @@ impl LexiconSchema for SessionView {
 
 pub mod collaboration_state_view_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -977,10 +974,7 @@ pub mod collaboration_state_view_state {
 }
 
 /// Builder for constructing an instance of this type.
-pub struct CollaborationStateViewBuilder<
-    S: BosStr,
-    St: collaboration_state_view_state::State,
-> {
+pub struct CollaborationStateViewBuilder {
     _state: PhantomData St>,
     _fields: (
         Option>,
@@ -1001,10 +995,7 @@ pub struct CollaborationStateViewBuilder<
 
 impl CollaborationStateView {
     /// Create a new builder for this type.
-    pub fn new() -> CollaborationStateViewBuilder<
-        S,
-        collaboration_state_view_state::Empty,
-    > {
+    pub fn new() -> CollaborationStateViewBuilder {
         CollaborationStateViewBuilder::new()
     }
 }
@@ -1015,28 +1006,14 @@ impl CollaborationStateViewBuilder CollaborationStateViewBuilder {
+impl CollaborationStateViewBuilder {
     /// Set the `canonicalUri` field (optional)
     pub fn canonical_uri(mut self, value: impl Into>>) -> Self {
         self._fields.0 = value.into();
@@ -1049,10 +1026,7 @@ impl<
     }
 }
 
-impl<
-    S: BosStr,
-    St: collaboration_state_view_state::State,
-> CollaborationStateViewBuilder {
+impl CollaborationStateViewBuilder {
     /// Set the `createdAt` field (optional)
     pub fn created_at(mut self, value: impl Into>) -> Self {
         self._fields.1 = value.into();
@@ -1065,15 +1039,9 @@ impl<
     }
 }
 
-impl<
-    S: BosStr,
-    St: collaboration_state_view_state::State,
-> CollaborationStateViewBuilder {
+impl CollaborationStateViewBuilder {
     /// Set the `firstCollaboratorAddedAt` field (optional)
-    pub fn first_collaborator_added_at(
-        mut self,
-        value: impl Into>,
-    ) -> Self {
+    pub fn first_collaborator_added_at(mut self, value: impl Into>) -> Self {
         self._fields.2 = value.into();
         self
     }
@@ -1084,10 +1052,7 @@ impl<
     }
 }
 
-impl<
-    S: BosStr,
-    St: collaboration_state_view_state::State,
-> CollaborationStateViewBuilder {
+impl CollaborationStateViewBuilder {
     /// Set the `formerParticipants` field (optional)
     pub fn former_participants(
         mut self,
@@ -1106,10 +1071,7 @@ impl<
     }
 }
 
-impl<
-    S: BosStr,
-    St: collaboration_state_view_state::State,
-> CollaborationStateViewBuilder {
+impl CollaborationStateViewBuilder {
     /// Set the `hasDivergence` field (optional)
     pub fn has_divergence(mut self, value: impl Into>) -> Self {
         self._fields.4 = value.into();
@@ -1122,10 +1084,7 @@ impl<
     }
 }
 
-impl<
-    S: BosStr,
-    St: collaboration_state_view_state::State,
-> CollaborationStateViewBuilder {
+impl CollaborationStateViewBuilder {
     /// Set the `hasFormerCollaborators` field (optional)
     pub fn has_former_collaborators(mut self, value: impl Into>) -> Self {
         self._fields.5 = value.into();
@@ -1138,10 +1097,7 @@ impl<
     }
 }
 
-impl<
-    S: BosStr,
-    St: collaboration_state_view_state::State,
-> CollaborationStateViewBuilder {
+impl CollaborationStateViewBuilder {
     /// Set the `hasOrphanedVersions` field (optional)
     pub fn has_orphaned_versions(mut self, value: impl Into>) -> Self {
         self._fields.6 = value.into();
@@ -1154,10 +1110,7 @@ impl<
     }
 }
 
-impl<
-    S: BosStr,
-    St: collaboration_state_view_state::State,
-> CollaborationStateViewBuilder {
+impl CollaborationStateViewBuilder {
     /// Set the `lastSyncedAt` field (optional)
     pub fn last_synced_at(mut self, value: impl Into>) -> Self {
         self._fields.7 = value.into();
@@ -1179,10 +1132,7 @@ where
     pub fn participants(
         mut self,
         value: impl Into>>,
-    ) -> CollaborationStateViewBuilder<
-        S,
-        collaboration_state_view_state::SetParticipants,
-    > {
+    ) -> CollaborationStateViewBuilder> {
         self._fields.8 = Option::Some(value.into());
         CollaborationStateViewBuilder {
             _state: PhantomData,
@@ -1192,10 +1142,7 @@ where
     }
 }
 
-impl<
-    S: BosStr,
-    St: collaboration_state_view_state::State,
-> CollaborationStateViewBuilder {
+impl CollaborationStateViewBuilder {
     /// Set the `publishedVersions` field (optional)
     pub fn published_versions(
         mut self,
@@ -1205,10 +1152,7 @@ impl<
         self
     }
     /// Set the `publishedVersions` field to an Option value (optional)
-    pub fn maybe_published_versions(
-        mut self,
-        value: Option>>,
-    ) -> Self {
+    pub fn maybe_published_versions(mut self, value: Option>>) -> Self {
         self._fields.9 = value;
         self
     }
@@ -1223,10 +1167,7 @@ where
     pub fn resource(
         mut self,
         value: impl Into>,
-    ) -> CollaborationStateViewBuilder<
-        S,
-        collaboration_state_view_state::SetResource,
-    > {
+    ) -> CollaborationStateViewBuilder> {
         self._fields.10 = Option::Some(value.into());
         CollaborationStateViewBuilder {
             _state: PhantomData,
@@ -1245,10 +1186,7 @@ where
     pub fn status(
         mut self,
         value: impl Into>,
-    ) -> CollaborationStateViewBuilder<
-        S,
-        collaboration_state_view_state::SetStatus,
-    > {
+    ) -> CollaborationStateViewBuilder> {
         self._fields.11 = Option::Some(value.into());
         CollaborationStateViewBuilder {
             _state: PhantomData,
@@ -1307,10 +1245,10 @@ where
 }
 
 fn lexicon_doc_sh_weaver_collab_defs() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("sh.weaver.collab.defs"),
@@ -1318,7 +1256,9 @@ fn lexicon_doc_sh_weaver_collab_defs() -> LexiconDoc<'static> {
             let mut map = BTreeMap::new();
             map.insert(
                 SmolStr::new_static("chapter"),
-                LexUserType::Token(LexToken { ..Default::default() }),
+                LexUserType::Token(LexToken {
+                    ..Default::default()
+                }),
             );
             map.insert(
                 SmolStr::new_static("collaborationStateView"),
@@ -1454,7 +1394,9 @@ fn lexicon_doc_sh_weaver_collab_defs() -> LexiconDoc<'static> {
             );
             map.insert(
                 SmolStr::new_static("entry"),
-                LexUserType::Token(LexToken { ..Default::default() }),
+                LexUserType::Token(LexToken {
+                    ..Default::default()
+                }),
             );
             map.insert(
                 SmolStr::new_static("formerCollaboratorView"),
@@ -1529,21 +1471,18 @@ fn lexicon_doc_sh_weaver_collab_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("inviteView"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static(
-                            "Hydrated view of a collaboration invite with status.",
-                        ),
-                    ),
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("uri"), SmolStr::new_static("cid"),
-                            SmolStr::new_static("inviter"),
-                            SmolStr::new_static("invitee"),
-                            SmolStr::new_static("resource"),
-                            SmolStr::new_static("createdAt"),
-                            SmolStr::new_static("status")
-                        ],
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Hydrated view of a collaboration invite with status.",
+                    )),
+                    required: Some(vec![
+                        SmolStr::new_static("uri"),
+                        SmolStr::new_static("cid"),
+                        SmolStr::new_static("inviter"),
+                        SmolStr::new_static("invitee"),
+                        SmolStr::new_static("resource"),
+                        SmolStr::new_static("createdAt"),
+                        SmolStr::new_static("status"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -1585,24 +1524,22 @@ fn lexicon_doc_sh_weaver_collab_defs() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("invitee"),
                             LexObjectProperty::Ref(LexRef {
-                                r#ref: CowStr::new_static(
-                                    "sh.weaver.actor.defs#profileViewBasic",
-                                ),
+                                r#ref: CowStr::new_static("sh.weaver.actor.defs#profileViewBasic"),
                                 ..Default::default()
                             }),
                         );
                         map.insert(
                             SmolStr::new_static("inviter"),
                             LexObjectProperty::Ref(LexRef {
-                                r#ref: CowStr::new_static(
-                                    "sh.weaver.actor.defs#profileViewBasic",
-                                ),
+                                r#ref: CowStr::new_static("sh.weaver.actor.defs#profileViewBasic"),
                                 ..Default::default()
                             }),
                         );
                         map.insert(
                             SmolStr::new_static("message"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("resource"),
@@ -1613,15 +1550,21 @@ fn lexicon_doc_sh_weaver_collab_defs() -> LexiconDoc<'static> {
                         );
                         map.insert(
                             SmolStr::new_static("resourceTitle"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("scope"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("status"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("uri"),
@@ -1637,7 +1580,9 @@ fn lexicon_doc_sh_weaver_collab_defs() -> LexiconDoc<'static> {
             );
             map.insert(
                 SmolStr::new_static("notebook"),
-                LexUserType::Token(LexToken { ..Default::default() }),
+                LexUserType::Token(LexToken {
+                    ..Default::default()
+                }),
             );
             map.insert(
                 SmolStr::new_static("participantStateView"),
@@ -1758,17 +1703,16 @@ fn lexicon_doc_sh_weaver_collab_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("sessionView"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("Active real-time collaboration session."),
-                    ),
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("uri"), SmolStr::new_static("user"),
-                            SmolStr::new_static("resource"),
-                            SmolStr::new_static("nodeId"),
-                            SmolStr::new_static("createdAt")
-                        ],
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Active real-time collaboration session.",
+                    )),
+                    required: Some(vec![
+                        SmolStr::new_static("uri"),
+                        SmolStr::new_static("user"),
+                        SmolStr::new_static("resource"),
+                        SmolStr::new_static("nodeId"),
+                        SmolStr::new_static("createdAt"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -1788,7 +1732,9 @@ fn lexicon_doc_sh_weaver_collab_defs() -> LexiconDoc<'static> {
                         );
                         map.insert(
                             SmolStr::new_static("nodeId"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("relayUrl"),
@@ -1814,9 +1760,7 @@ fn lexicon_doc_sh_weaver_collab_defs() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("user"),
                             LexObjectProperty::Ref(LexRef {
-                                r#ref: CowStr::new_static(
-                                    "sh.weaver.actor.defs#profileViewBasic",
-                                ),
+                                r#ref: CowStr::new_static("sh.weaver.actor.defs#profileViewBasic"),
                                 ..Default::default()
                             }),
                         );
@@ -1833,7 +1777,7 @@ fn lexicon_doc_sh_weaver_collab_defs() -> LexiconDoc<'static> {
 
 pub mod former_collaborator_view_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1906,10 +1850,7 @@ pub mod former_collaborator_view_state {
 }
 
 /// Builder for constructing an instance of this type.
-pub struct FormerCollaboratorViewBuilder<
-    S: BosStr,
-    St: former_collaborator_view_state::State,
-> {
+pub struct FormerCollaboratorViewBuilder {
     _state: PhantomData St>,
     _fields: (
         Option,
@@ -1925,10 +1866,7 @@ pub struct FormerCollaboratorViewBuilder<
 
 impl FormerCollaboratorView {
     /// Create a new builder for this type.
-    pub fn new() -> FormerCollaboratorViewBuilder<
-        S,
-        former_collaborator_view_state::Empty,
-    > {
+    pub fn new() -> FormerCollaboratorViewBuilder {
         FormerCollaboratorViewBuilder::new()
     }
 }
@@ -1944,10 +1882,7 @@ impl FormerCollaboratorViewBuilder FormerCollaboratorViewBuilder {
+impl FormerCollaboratorViewBuilder {
     /// Set the `contributionCount` field (optional)
     pub fn contribution_count(mut self, value: impl Into>) -> Self {
         self._fields.0 = value.into();
@@ -1969,10 +1904,7 @@ where
     pub fn end_reason(
         mut self,
         value: impl Into>,
-    ) -> FormerCollaboratorViewBuilder<
-        S,
-        former_collaborator_view_state::SetEndReason,
-    > {
+    ) -> FormerCollaboratorViewBuilder> {
         self._fields.1 = Option::Some(value.into());
         FormerCollaboratorViewBuilder {
             _state: PhantomData,
@@ -1982,10 +1914,7 @@ where
     }
 }
 
-impl<
-    S: BosStr,
-    St: former_collaborator_view_state::State,
-> FormerCollaboratorViewBuilder {
+impl FormerCollaboratorViewBuilder {
     /// Set the `hasPublishedVersion` field (optional)
     pub fn has_published_version(mut self, value: impl Into>) -> Self {
         self._fields.2 = value.into();
@@ -1998,10 +1927,7 @@ impl<
     }
 }
 
-impl<
-    S: BosStr,
-    St: former_collaborator_view_state::State,
-> FormerCollaboratorViewBuilder {
+impl FormerCollaboratorViewBuilder {
     /// Set the `publishedVersionUri` field (optional)
     pub fn published_version_uri(mut self, value: impl Into>>) -> Self {
         self._fields.3 = value.into();
@@ -2042,10 +1968,8 @@ where
     pub fn was_active_from(
         mut self,
         value: impl Into,
-    ) -> FormerCollaboratorViewBuilder<
-        S,
-        former_collaborator_view_state::SetWasActiveFrom,
-    > {
+    ) -> FormerCollaboratorViewBuilder>
+    {
         self._fields.5 = Option::Some(value.into());
         FormerCollaboratorViewBuilder {
             _state: PhantomData,
@@ -2064,10 +1988,8 @@ where
     pub fn was_active_until(
         mut self,
         value: impl Into,
-    ) -> FormerCollaboratorViewBuilder<
-        S,
-        former_collaborator_view_state::SetWasActiveUntil,
-    > {
+    ) -> FormerCollaboratorViewBuilder>
+    {
         self._fields.6 = Option::Some(value.into());
         FormerCollaboratorViewBuilder {
             _state: PhantomData,
@@ -2118,7 +2040,7 @@ where
 
 pub mod invite_view_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -2284,19 +2206,7 @@ impl InviteViewBuilder {
         InviteViewBuilder {
             _state: PhantomData,
             _fields: (
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
+                None, None, None, None, None, None, None, None, None, None, None, None, None,
             ),
             _type: PhantomData,
         }
@@ -2545,10 +2455,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> InviteView {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> InviteView {
         InviteView {
             accept_uri: self._fields.0,
             accepted_at: self._fields.1,
@@ -2570,7 +2477,7 @@ where
 
 pub mod participant_state_view_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -2627,10 +2534,7 @@ pub mod participant_state_view_state {
 }
 
 /// Builder for constructing an instance of this type.
-pub struct ParticipantStateViewBuilder<
-    S: BosStr,
-    St: participant_state_view_state::State,
-> {
+pub struct ParticipantStateViewBuilder {
     _state: PhantomData St>,
     _fields: (
         Option>,
@@ -2660,16 +2564,15 @@ impl ParticipantStateViewBuilder Self {
         ParticipantStateViewBuilder {
             _state: PhantomData,
-            _fields: (None, None, None, None, None, None, None, None, None, None, None),
+            _fields: (
+                None, None, None, None, None, None, None, None, None, None, None,
+            ),
             _type: PhantomData,
         }
     }
 }
 
-impl<
-    S: BosStr,
-    St: participant_state_view_state::State,
-> ParticipantStateViewBuilder {
+impl ParticipantStateViewBuilder {
     /// Set the `acceptUri` field (optional)
     pub fn accept_uri(mut self, value: impl Into>>) -> Self {
         self._fields.0 = value.into();
@@ -2682,10 +2585,7 @@ impl<
     }
 }
 
-impl<
-    S: BosStr,
-    St: participant_state_view_state::State,
-> ParticipantStateViewBuilder {
+impl ParticipantStateViewBuilder {
     /// Set the `endReason` field (optional)
     pub fn end_reason(
         mut self,
@@ -2695,19 +2595,13 @@ impl<
         self
     }
     /// Set the `endReason` field to an Option value (optional)
-    pub fn maybe_end_reason(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_end_reason(mut self, value: Option>) -> Self {
         self._fields.1 = value;
         self
     }
 }
 
-impl<
-    S: BosStr,
-    St: participant_state_view_state::State,
-> ParticipantStateViewBuilder {
+impl ParticipantStateViewBuilder {
     /// Set the `firstEditAt` field (optional)
     pub fn first_edit_at(mut self, value: impl Into>) -> Self {
         self._fields.2 = value.into();
@@ -2720,10 +2614,7 @@ impl<
     }
 }
 
-impl<
-    S: BosStr,
-    St: participant_state_view_state::State,
-> ParticipantStateViewBuilder {
+impl ParticipantStateViewBuilder {
     /// Set the `inviteUri` field (optional)
     pub fn invite_uri(mut self, value: impl Into>>) -> Self {
         self._fields.3 = value.into();
@@ -2736,10 +2627,7 @@ impl<
     }
 }
 
-impl<
-    S: BosStr,
-    St: participant_state_view_state::State,
-> ParticipantStateViewBuilder {
+impl ParticipantStateViewBuilder {
     /// Set the `lastEditAt` field (optional)
     pub fn last_edit_at(mut self, value: impl Into>) -> Self {
         self._fields.4 = value.into();
@@ -2752,10 +2640,7 @@ impl<
     }
 }
 
-impl<
-    S: BosStr,
-    St: participant_state_view_state::State,
-> ParticipantStateViewBuilder {
+impl ParticipantStateViewBuilder {
     /// Set the `publishedVersion` field (optional)
     pub fn published_version(mut self, value: impl Into>>) -> Self {
         self._fields.5 = value.into();
@@ -2768,10 +2653,7 @@ impl<
     }
 }
 
-impl<
-    S: BosStr,
-    St: participant_state_view_state::State,
-> ParticipantStateViewBuilder {
+impl ParticipantStateViewBuilder {
     /// Set the `relationshipEndedAt` field (optional)
     pub fn relationship_ended_at(mut self, value: impl Into>) -> Self {
         self._fields.6 = value.into();
@@ -2841,10 +2723,7 @@ where
     }
 }
 
-impl<
-    S: BosStr,
-    St: participant_state_view_state::State,
-> ParticipantStateViewBuilder {
+impl ParticipantStateViewBuilder {
     /// Set the `wasCollaborator` field (optional)
     pub fn was_collaborator(mut self, value: impl Into>) -> Self {
         self._fields.10 = value.into();
@@ -2905,7 +2784,7 @@ where
 
 pub mod session_view_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -3172,10 +3051,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> SessionView {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> SessionView {
         SessionView {
             created_at: self._fields.0.unwrap(),
             expires_at: self._fields.1,
@@ -3187,4 +3063,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/collab/accept.rs b/crates/jacquard-api/src/sh_weaver/collab/accept.rs
index 6981fa0d..9955335b 100644
--- a/crates/jacquard-api/src/sh_weaver/collab/accept.rs
+++ b/crates/jacquard-api/src/sh_weaver/collab/accept.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::com_atproto::repo::strong_ref::StrongRef;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::com_atproto::repo::strong_ref::StrongRef;
+use serde::{Deserialize, Serialize};
 /// Acceptance of a collaboration invite. Completes the two-way agreement.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -108,7 +108,7 @@ impl LexiconSchema for Accept {
 
 pub mod accept_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -274,10 +274,10 @@ where
 }
 
 fn lexicon_doc_sh_weaver_collab_accept() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("sh.weaver.collab.accept"),
@@ -286,20 +286,16 @@ fn lexicon_doc_sh_weaver_collab_accept() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static(
-                            "Acceptance of a collaboration invite. Completes the two-way agreement.",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Acceptance of a collaboration invite. Completes the two-way agreement.",
+                    )),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("invite"),
-                                SmolStr::new_static("resource"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("invite"),
+                            SmolStr::new_static("resource"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -320,11 +316,9 @@ fn lexicon_doc_sh_weaver_collab_accept() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("resource"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "URI of the resource (denormalized for easier querying).",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "URI of the resource (denormalized for easier querying).",
+                                    )),
                                     format: Some(LexStringFormat::AtUri),
                                     ..Default::default()
                                 }),
@@ -340,4 +334,4 @@ fn lexicon_doc_sh_weaver_collab_accept() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/collab/get_collaboration_state.rs b/crates/jacquard-api/src/sh_weaver/collab/get_collaboration_state.rs
index 253daefb..d52f9117 100644
--- a/crates/jacquard-api/src/sh_weaver/collab/get_collaboration_state.rs
+++ b/crates/jacquard-api/src/sh_weaver/collab/get_collaboration_state.rs
@@ -8,25 +8,30 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::sh_weaver::collab::CollaborationStateView;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::AtUri;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::sh_weaver::collab::CollaborationStateView;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetCollaborationState {
     pub resource: AtUri,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetCollaborationStateOutput {
     #[serde(flatten)]
     pub value: CollaborationStateView,
@@ -60,7 +65,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetCollaborationStateRequest {
 
 pub mod get_collaboration_state_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -91,10 +96,7 @@ pub mod get_collaboration_state_state {
 }
 
 /// Builder for constructing an instance of this type.
-pub struct GetCollaborationStateBuilder<
-    S: BosStr,
-    St: get_collaboration_state_state::State,
-> {
+pub struct GetCollaborationStateBuilder {
     _state: PhantomData St>,
     _fields: (Option>,),
     _type: PhantomData S>,
@@ -102,10 +104,7 @@ pub struct GetCollaborationStateBuilder<
 
 impl GetCollaborationState {
     /// Create a new builder for this type.
-    pub fn new() -> GetCollaborationStateBuilder<
-        S,
-        get_collaboration_state_state::Empty,
-    > {
+    pub fn new() -> GetCollaborationStateBuilder {
         GetCollaborationStateBuilder::new()
     }
 }
@@ -130,10 +129,7 @@ where
     pub fn resource(
         mut self,
         value: impl Into>,
-    ) -> GetCollaborationStateBuilder<
-        S,
-        get_collaboration_state_state::SetResource,
-    > {
+    ) -> GetCollaborationStateBuilder> {
         self._fields.0 = Option::Some(value.into());
         GetCollaborationStateBuilder {
             _state: PhantomData,
@@ -154,4 +150,4 @@ where
             resource: self._fields.0.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/collab/get_invites.rs b/crates/jacquard-api/src/sh_weaver/collab/get_invites.rs
index 29318ca2..55199618 100644
--- a/crates/jacquard-api/src/sh_weaver/collab/get_invites.rs
+++ b/crates/jacquard-api/src/sh_weaver/collab/get_invites.rs
@@ -8,18 +8,21 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::sh_weaver::collab::InviteView;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::ident::AtIdentifier;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::sh_weaver::collab::InviteView;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetInvites {
     pub actor: AtIdentifier,
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -38,9 +41,11 @@ pub struct GetInvites {
     pub status: Option,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetInvitesOutput {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub cursor: Option,
@@ -87,7 +92,7 @@ fn _default_status() -> Option {
 
 pub mod get_invites_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -120,7 +125,13 @@ pub mod get_invites_state {
 /// Builder for constructing an instance of this type.
 pub struct GetInvitesBuilder {
     _state: PhantomData St>,
-    _fields: (Option>, Option, Option, Option, Option),
+    _fields: (
+        Option>,
+        Option,
+        Option,
+        Option,
+        Option,
+    ),
     _type: PhantomData S>,
 }
 
@@ -228,4 +239,4 @@ where
             status: self._fields.4,
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/collab/get_resource_participants.rs b/crates/jacquard-api/src/sh_weaver/collab/get_resource_participants.rs
index d4d2a11f..37c367fc 100644
--- a/crates/jacquard-api/src/sh_weaver/collab/get_resource_participants.rs
+++ b/crates/jacquard-api/src/sh_weaver/collab/get_resource_participants.rs
@@ -8,25 +8,30 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::sh_weaver::actor::ProfileViewBasic;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::AtUri;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::sh_weaver::actor::ProfileViewBasic;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetResourceParticipants {
     pub resource: AtUri,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetResourceParticipantsOutput {
     pub owner: ProfileViewBasic,
     pub participants: Vec>,
@@ -62,7 +67,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetResourceParticipantsRequest {
 
 pub mod get_resource_participants_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -93,10 +98,7 @@ pub mod get_resource_participants_state {
 }
 
 /// Builder for constructing an instance of this type.
-pub struct GetResourceParticipantsBuilder<
-    S: BosStr,
-    St: get_resource_participants_state::State,
-> {
+pub struct GetResourceParticipantsBuilder {
     _state: PhantomData St>,
     _fields: (Option>,),
     _type: PhantomData S>,
@@ -104,17 +106,12 @@ pub struct GetResourceParticipantsBuilder<
 
 impl GetResourceParticipants {
     /// Create a new builder for this type.
-    pub fn new() -> GetResourceParticipantsBuilder<
-        S,
-        get_resource_participants_state::Empty,
-    > {
+    pub fn new() -> GetResourceParticipantsBuilder {
         GetResourceParticipantsBuilder::new()
     }
 }
 
-impl<
-    S: BosStr,
-> GetResourceParticipantsBuilder {
+impl GetResourceParticipantsBuilder {
     /// Create a new builder with all fields unset.
     pub fn new() -> Self {
         GetResourceParticipantsBuilder {
@@ -134,10 +131,7 @@ where
     pub fn resource(
         mut self,
         value: impl Into>,
-    ) -> GetResourceParticipantsBuilder<
-        S,
-        get_resource_participants_state::SetResource,
-    > {
+    ) -> GetResourceParticipantsBuilder> {
         self._fields.0 = Option::Some(value.into());
         GetResourceParticipantsBuilder {
             _state: PhantomData,
@@ -158,4 +152,4 @@ where
             resource: self._fields.0.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/collab/get_resource_sessions.rs b/crates/jacquard-api/src/sh_weaver/collab/get_resource_sessions.rs
index 78624a55..d3108bed 100644
--- a/crates/jacquard-api/src/sh_weaver/collab/get_resource_sessions.rs
+++ b/crates/jacquard-api/src/sh_weaver/collab/get_resource_sessions.rs
@@ -8,25 +8,30 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::sh_weaver::collab::SessionView;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::AtUri;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::sh_weaver::collab::SessionView;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetResourceSessions {
     pub resource: AtUri,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetResourceSessionsOutput {
     pub sessions: Vec>,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
@@ -59,7 +64,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetResourceSessionsRequest {
 
 pub mod get_resource_sessions_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -90,10 +95,7 @@ pub mod get_resource_sessions_state {
 }
 
 /// Builder for constructing an instance of this type.
-pub struct GetResourceSessionsBuilder<
-    S: BosStr,
-    St: get_resource_sessions_state::State,
-> {
+pub struct GetResourceSessionsBuilder {
     _state: PhantomData St>,
     _fields: (Option>,),
     _type: PhantomData S>,
@@ -147,4 +149,4 @@ where
             resource: self._fields.0.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/collab/invite.rs b/crates/jacquard-api/src/sh_weaver/collab/invite.rs
index 86f4d493..d7f1184a 100644
--- a/crates/jacquard-api/src/sh_weaver/collab/invite.rs
+++ b/crates/jacquard-api/src/sh_weaver/collab/invite.rs
@@ -10,13 +10,13 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::collection::{Collection, RecordError};
-use jacquard_common::types::string::{Did, AtUri, Cid, Datetime};
+use jacquard_common::types::string::{AtUri, Cid, Datetime, Did};
 use jacquard_common::types::uri::{RecordUri, UriError};
 use jacquard_common::types::value::Data;
 use jacquard_common::xrpc::XrpcResp;
@@ -24,11 +24,11 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::com_atproto::repo::strong_ref::StrongRef;
 use crate::sh_weaver::collab::invite;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// The scope/type of collaboration.
 
 #[derive(Debug, Clone, PartialEq, Eq, Hash)]
@@ -98,13 +98,9 @@ where
     type Output = CollabScope;
     fn into_static(self) -> Self::Output {
         match self {
-            CollabScope::ShWeaverCollabDefsNotebook => {
-                CollabScope::ShWeaverCollabDefsNotebook
-            }
+            CollabScope::ShWeaverCollabDefsNotebook => CollabScope::ShWeaverCollabDefsNotebook,
             CollabScope::ShWeaverCollabDefsEntry => CollabScope::ShWeaverCollabDefsEntry,
-            CollabScope::ShWeaverCollabDefsChapter => {
-                CollabScope::ShWeaverCollabDefsChapter
-            }
+            CollabScope::ShWeaverCollabDefsChapter => CollabScope::ShWeaverCollabDefsChapter,
             CollabScope::Other(v) => CollabScope::Other(v.into_static()),
         }
     }
@@ -221,7 +217,7 @@ impl LexiconSchema for Invite {
 
 pub mod invite_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -439,10 +435,10 @@ where
 }
 
 fn lexicon_doc_sh_weaver_collab_invite() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("sh.weaver.collab.invite"),
@@ -451,9 +447,7 @@ fn lexicon_doc_sh_weaver_collab_invite() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("collabScope"),
                 LexUserType::String(LexString {
-                    description: Some(
-                        CowStr::new_static("The scope/type of collaboration."),
-                    ),
+                    description: Some(CowStr::new_static("The scope/type of collaboration.")),
                     ..Default::default()
                 }),
             );
@@ -540,4 +534,4 @@ fn lexicon_doc_sh_weaver_collab_invite() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/collab/session.rs b/crates/jacquard-api/src/sh_weaver/collab/session.rs
index 661c5b6f..4bd47645 100644
--- a/crates/jacquard-api/src/sh_weaver/collab/session.rs
+++ b/crates/jacquard-api/src/sh_weaver/collab/session.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::com_atproto::repo::strong_ref::StrongRef;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::com_atproto::repo::strong_ref::StrongRef;
+use serde::{Deserialize, Serialize};
 /// Active real-time collaboration session. Published when joining a collaborative editing session, deleted on disconnect.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -114,7 +114,7 @@ impl LexiconSchema for Session {
 
 pub mod session_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -316,10 +316,10 @@ where
 }
 
 fn lexicon_doc_sh_weaver_collab_session() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("sh.weaver.collab.session"),
@@ -405,4 +405,4 @@ fn lexicon_doc_sh_weaver_collab_session() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/edit.rs b/crates/jacquard-api/src/sh_weaver/edit.rs
index 67078b8d..6e4c1ba8 100644
--- a/crates/jacquard-api/src/sh_weaver/edit.rs
+++ b/crates/jacquard-api/src/sh_weaver/edit.rs
@@ -15,13 +15,12 @@ pub mod get_edit_tree;
 pub mod list_drafts;
 pub mod root;
 
-
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -32,22 +31,24 @@ use jacquard_derive::{IntoStatic, open_union};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::com_atproto::repo::strong_ref::StrongRef;
 use crate::sh_weaver::actor::ProfileViewBasic;
 use crate::sh_weaver::edit;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct DocRef {
     pub value: DocRefValue,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -60,9 +61,11 @@ pub enum DocRefValue {
     DraftRef(Box>),
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct DraftRef {
     pub draft_key: S,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
@@ -72,7 +75,10 @@ pub struct DraftRef {
 /// A branch/fork in edit history (for when collaborators diverge).
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct EditBranchView {
     pub author: ProfileViewBasic,
     ///Common ancestor if this is a fork
@@ -93,7 +99,10 @@ pub struct EditBranchView {
 /// Summary of an edit (root or diff) for history queries.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct EditHistoryEntry {
     pub author: ProfileViewBasic,
     pub cid: Cid,
@@ -112,7 +121,6 @@ pub struct EditHistoryEntry {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Debug, Clone, PartialEq, Eq, Hash)]
 pub enum EditHistoryEntryType {
     Root,
@@ -185,9 +193,7 @@ where
         match self {
             EditHistoryEntryType::Root => EditHistoryEntryType::Root,
             EditHistoryEntryType::Diff => EditHistoryEntryType::Diff,
-            EditHistoryEntryType::Other(v) => {
-                EditHistoryEntryType::Other(v.into_static())
-            }
+            EditHistoryEntryType::Other(v) => EditHistoryEntryType::Other(v.into_static()),
         }
     }
 }
@@ -195,7 +201,10 @@ where
 /// Full tree structure showing all branches for a resource.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct EditTreeView {
     pub branches: Vec>,
     ///Diffs where branches diverge
@@ -210,18 +219,22 @@ pub struct EditTreeView {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct EntryRef {
     pub entry: StrongRef,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct NotebookRef {
     pub notebook: StrongRef,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
@@ -346,7 +359,7 @@ impl LexiconSchema for NotebookRef {
 
 pub mod doc_ref_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -442,10 +455,10 @@ where
 }
 
 fn lexicon_doc_sh_weaver_edit_defs() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("sh.weaver.edit.defs"),
@@ -464,7 +477,7 @@ fn lexicon_doc_sh_weaver_edit_defs() -> LexiconDoc<'static> {
                                 refs: vec![
                                     CowStr::new_static("#notebookRef"),
                                     CowStr::new_static("#entryRef"),
-                                    CowStr::new_static("#draftRef")
+                                    CowStr::new_static("#draftRef"),
                                 ],
                                 ..Default::default()
                             }),
@@ -496,27 +509,22 @@ fn lexicon_doc_sh_weaver_edit_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("editBranchView"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static(
-                            "A branch/fork in edit history (for when collaborators diverge).",
-                        ),
-                    ),
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("head"), SmolStr::new_static("author"),
-                            SmolStr::new_static("length"),
-                            SmolStr::new_static("lastUpdated")
-                        ],
-                    ),
+                    description: Some(CowStr::new_static(
+                        "A branch/fork in edit history (for when collaborators diverge).",
+                    )),
+                    required: Some(vec![
+                        SmolStr::new_static("head"),
+                        SmolStr::new_static("author"),
+                        SmolStr::new_static("length"),
+                        SmolStr::new_static("lastUpdated"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("author"),
                             LexObjectProperty::Ref(LexRef {
-                                r#ref: CowStr::new_static(
-                                    "sh.weaver.actor.defs#profileViewBasic",
-                                ),
+                                r#ref: CowStr::new_static("sh.weaver.actor.defs#profileViewBasic"),
                                 ..Default::default()
                             }),
                         );
@@ -568,27 +576,23 @@ fn lexicon_doc_sh_weaver_edit_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("editHistoryEntry"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static(
-                            "Summary of an edit (root or diff) for history queries.",
-                        ),
-                    ),
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("uri"), SmolStr::new_static("cid"),
-                            SmolStr::new_static("author"),
-                            SmolStr::new_static("createdAt"), SmolStr::new_static("type")
-                        ],
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Summary of an edit (root or diff) for history queries.",
+                    )),
+                    required: Some(vec![
+                        SmolStr::new_static("uri"),
+                        SmolStr::new_static("cid"),
+                        SmolStr::new_static("author"),
+                        SmolStr::new_static("createdAt"),
+                        SmolStr::new_static("type"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("author"),
                             LexObjectProperty::Ref(LexRef {
-                                r#ref: CowStr::new_static(
-                                    "sh.weaver.actor.defs#profileViewBasic",
-                                ),
+                                r#ref: CowStr::new_static("sh.weaver.actor.defs#profileViewBasic"),
                                 ..Default::default()
                             }),
                         );
@@ -635,7 +639,9 @@ fn lexicon_doc_sh_weaver_edit_defs() -> LexiconDoc<'static> {
                         );
                         map.insert(
                             SmolStr::new_static("type"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("uri"),
@@ -652,17 +658,13 @@ fn lexicon_doc_sh_weaver_edit_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("editTreeView"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static(
-                            "Full tree structure showing all branches for a resource.",
-                        ),
-                    ),
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("resource"),
-                            SmolStr::new_static("branches")
-                        ],
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Full tree structure showing all branches for a resource.",
+                    )),
+                    required: Some(vec![
+                        SmolStr::new_static("resource"),
+                        SmolStr::new_static("branches"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -679,9 +681,9 @@ fn lexicon_doc_sh_weaver_edit_defs() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("conflictPoints"),
                             LexObjectProperty::Array(LexArray {
-                                description: Some(
-                                    CowStr::new_static("Diffs where branches diverge"),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Diffs where branches diverge",
+                                )),
                                 items: LexArrayItem::Ref(LexRef {
                                     r#ref: CowStr::new_static("com.atproto.repo.strongRef"),
                                     ..Default::default()
@@ -760,7 +762,7 @@ fn lexicon_doc_sh_weaver_edit_defs() -> LexiconDoc<'static> {
 
 pub mod edit_branch_view_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1002,10 +1004,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> EditBranchView {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> EditBranchView {
         EditBranchView {
             author: self._fields.0.unwrap(),
             diverges_from: self._fields.1,
@@ -1021,7 +1020,7 @@ where
 
 pub mod edit_history_entry_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1318,10 +1317,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> EditHistoryEntry {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> EditHistoryEntry {
         EditHistoryEntry {
             author: self._fields.0.unwrap(),
             cid: self._fields.1.unwrap(),
@@ -1339,7 +1335,7 @@ where
 
 pub mod edit_tree_view_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1433,10 +1429,7 @@ where
 
 impl EditTreeViewBuilder {
     /// Set the `conflictPoints` field (optional)
-    pub fn conflict_points(
-        mut self,
-        value: impl Into>>>,
-    ) -> Self {
+    pub fn conflict_points(mut self, value: impl Into>>>) -> Self {
         self._fields.1 = value.into();
         self
     }
@@ -1462,10 +1455,7 @@ impl EditTreeViewBuilder {
 
 impl EditTreeViewBuilder {
     /// Set the `mainBranch` field (optional)
-    pub fn main_branch(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn main_branch(mut self, value: impl Into>>) -> Self {
         self._fields.3 = value.into();
         self
     }
@@ -1513,10 +1503,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> EditTreeView {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> EditTreeView {
         EditTreeView {
             branches: self._fields.0.unwrap(),
             conflict_points: self._fields.1,
@@ -1530,7 +1517,7 @@ where
 
 pub mod entry_ref_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1627,7 +1614,7 @@ where
 
 pub mod notebook_ref_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1714,13 +1701,10 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> NotebookRef {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> NotebookRef {
         NotebookRef {
             notebook: self._fields.0.unwrap(),
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/edit/cursor.rs b/crates/jacquard-api/src/sh_weaver/edit/cursor.rs
index d5538f3b..58d1b6ac 100644
--- a/crates/jacquard-api/src/sh_weaver/edit/cursor.rs
+++ b/crates/jacquard-api/src/sh_weaver/edit/cursor.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,20 +24,22 @@ use jacquard_derive::{IntoStatic, lexicon, open_union};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::sh_weaver::edit::cursor;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::sh_weaver::edit::cursor;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ContainerId {
     pub value: ContainerIdValue,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -48,9 +50,11 @@ pub enum ContainerIdValue {
     RootContainerId(Box>),
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct CursorSide {
     ///The side of an item the cursor is on (left = -1, right = 1, middle = 0)
     pub value: i64,
@@ -58,9 +62,11 @@ pub struct CursorSide {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Id {
     pub counter: i64,
     pub peer: i64,
@@ -97,9 +103,11 @@ pub struct CursorGetRecordOutput {
     pub value: Cursor,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct NormalContainerId {
     pub container_type: S,
     pub counter: i64,
@@ -108,9 +116,11 @@ pub struct NormalContainerId {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct RootContainerId {
     pub container_type: S,
     pub name: S,
@@ -243,7 +253,7 @@ impl LexiconSchema for RootContainerId {
 
 pub mod container_id_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -330,10 +340,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> ContainerId {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> ContainerId {
         ContainerId {
             value: self._fields.0.unwrap(),
             extra_data: Some(extra_data),
@@ -342,10 +349,10 @@ where
 }
 
 fn lexicon_doc_sh_weaver_edit_cursor() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("sh.weaver.edit.cursor"),
@@ -363,7 +370,7 @@ fn lexicon_doc_sh_weaver_edit_cursor() -> LexiconDoc<'static> {
                             LexObjectProperty::Union(LexRefUnion {
                                 refs: vec![
                                     CowStr::new_static("#normalContainerId"),
-                                    CowStr::new_static("#rootContainerId")
+                                    CowStr::new_static("#rootContainerId"),
                                 ],
                                 ..Default::default()
                             }),
@@ -394,9 +401,10 @@ fn lexicon_doc_sh_weaver_edit_cursor() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("id"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![SmolStr::new_static("peer"), SmolStr::new_static("counter")],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("peer"),
+                        SmolStr::new_static("counter"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -420,16 +428,13 @@ fn lexicon_doc_sh_weaver_edit_cursor() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static("An edit record for a notebook."),
-                    ),
+                    description: Some(CowStr::new_static("An edit record for a notebook.")),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("container"), SmolStr::new_static("id")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("container"),
+                            SmolStr::new_static("id"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -464,18 +469,19 @@ fn lexicon_doc_sh_weaver_edit_cursor() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("normalContainerId"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("peer"), SmolStr::new_static("counter"),
-                            SmolStr::new_static("container_type")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("peer"),
+                        SmolStr::new_static("counter"),
+                        SmolStr::new_static("container_type"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("container_type"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("counter"),
@@ -497,22 +503,24 @@ fn lexicon_doc_sh_weaver_edit_cursor() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("rootContainerId"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("name"),
-                            SmolStr::new_static("container_type")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("name"),
+                        SmolStr::new_static("container_type"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("container_type"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("name"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map
                     },
@@ -527,7 +535,7 @@ fn lexicon_doc_sh_weaver_edit_cursor() -> LexiconDoc<'static> {
 
 pub mod cursor_side_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -614,10 +622,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> CursorSide {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> CursorSide {
         CursorSide {
             value: self._fields.0.unwrap(),
             extra_data: Some(extra_data),
@@ -627,7 +632,7 @@ where
 
 pub mod id_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -700,10 +705,7 @@ where
     St::Counter: id_state::IsUnset,
 {
     /// Set the `counter` field (required)
-    pub fn counter(
-        mut self,
-        value: impl Into,
-    ) -> IdBuilder> {
+    pub fn counter(mut self, value: impl Into) -> IdBuilder> {
         self._fields.0 = Option::Some(value.into());
         IdBuilder {
             _state: PhantomData,
@@ -755,7 +757,7 @@ where
 
 pub mod cursor_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -905,7 +907,7 @@ where
 
 pub mod normal_container_id_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1060,10 +1062,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> NormalContainerId {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> NormalContainerId {
         NormalContainerId {
             container_type: self._fields.0.unwrap(),
             counter: self._fields.1.unwrap(),
@@ -1071,4 +1070,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/edit/diff.rs b/crates/jacquard-api/src/sh_weaver/edit/diff.rs
index 47b10778..266bc180 100644
--- a/crates/jacquard-api/src/sh_weaver/edit/diff.rs
+++ b/crates/jacquard-api/src/sh_weaver/edit/diff.rs
@@ -10,8 +10,8 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::bytes::Bytes;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,11 +26,11 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::com_atproto::repo::strong_ref::StrongRef;
 use crate::sh_weaver::edit::DocRef;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// An edit record for a notebook.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -129,19 +129,16 @@ impl LexiconSchema for Diff {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["*/*"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("snapshot"),
@@ -157,7 +154,7 @@ impl LexiconSchema for Diff {
 
 pub mod diff_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -250,10 +247,7 @@ where
     St::Doc: diff_state::IsUnset,
 {
     /// Set the `doc` field (required)
-    pub fn doc(
-        mut self,
-        value: impl Into>,
-    ) -> DiffBuilder> {
+    pub fn doc(mut self, value: impl Into>) -> DiffBuilder> {
         self._fields.1 = Option::Some(value.into());
         DiffBuilder {
             _state: PhantomData,
@@ -354,10 +348,10 @@ where
 }
 
 fn lexicon_doc_sh_weaver_edit_diff() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("sh.weaver.edit.diff"),
@@ -366,14 +360,13 @@ fn lexicon_doc_sh_weaver_edit_diff() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static("An edit record for a notebook."),
-                    ),
+                    description: Some(CowStr::new_static("An edit record for a notebook.")),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![SmolStr::new_static("root"), SmolStr::new_static("doc")],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("root"),
+                            SmolStr::new_static("doc"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -414,7 +407,9 @@ fn lexicon_doc_sh_weaver_edit_diff() -> LexiconDoc<'static> {
                             );
                             map.insert(
                                 SmolStr::new_static("snapshot"),
-                                LexObjectProperty::Blob(LexBlob { ..Default::default() }),
+                                LexObjectProperty::Blob(LexBlob {
+                                    ..Default::default()
+                                }),
                             );
                             map
                         },
@@ -427,4 +422,4 @@ fn lexicon_doc_sh_weaver_edit_diff() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/edit/draft.rs b/crates/jacquard-api/src/sh_weaver/edit/draft.rs
index 9f2e7af5..b4225b07 100644
--- a/crates/jacquard-api/src/sh_weaver/edit/draft.rs
+++ b/crates/jacquard-api/src/sh_weaver/edit/draft.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// Stub record for unpublished drafts. Acts as an anchor for edit.root/diff records and enables draft discovery via listRecords.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -103,7 +103,7 @@ impl LexiconSchema for Draft {
 
 pub mod draft_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -199,10 +199,10 @@ where
 }
 
 fn lexicon_doc_sh_weaver_edit_draft() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("sh.weaver.edit.draft"),
@@ -240,4 +240,4 @@ fn lexicon_doc_sh_weaver_edit_draft() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/edit/get_branch.rs b/crates/jacquard-api/src/sh_weaver/edit/get_branch.rs
index 20c1aad2..5a9cd143 100644
--- a/crates/jacquard-api/src/sh_weaver/edit/get_branch.rs
+++ b/crates/jacquard-api/src/sh_weaver/edit/get_branch.rs
@@ -8,19 +8,22 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::sh_weaver::edit::EditBranchView;
+use crate::sh_weaver::edit::EditHistoryEntry;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::AtUri;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::sh_weaver::edit::EditBranchView;
-use crate::sh_weaver::edit::EditHistoryEntry;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetBranch {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub after_rkey: Option,
@@ -33,9 +36,11 @@ pub struct GetBranch {
     pub limit: Option,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetBranchOutput {
     pub branch: EditBranchView,
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -75,7 +80,7 @@ fn _default_limit() -> Option {
 
 pub mod get_branch_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -202,4 +207,4 @@ where
             limit: self._fields.3,
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/edit/get_contributors.rs b/crates/jacquard-api/src/sh_weaver/edit/get_contributors.rs
index 0887fb80..c7ee8cc3 100644
--- a/crates/jacquard-api/src/sh_weaver/edit/get_contributors.rs
+++ b/crates/jacquard-api/src/sh_weaver/edit/get_contributors.rs
@@ -8,18 +8,21 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::sh_weaver::actor::ProfileViewBasic;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::AtUri;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::sh_weaver::actor::ProfileViewBasic;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetContributors {
     /// Defaults to `true`.
     #[serde(default = "_default_include_cascaded")]
@@ -28,9 +31,11 @@ pub struct GetContributors {
     pub resource: AtUri,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetContributorsOutput {
     pub contributors: Vec>,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
@@ -67,7 +72,7 @@ fn _default_include_cascaded() -> Option {
 
 pub mod get_contributors_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -166,4 +171,4 @@ where
             resource: self._fields.1.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/edit/get_edit_history.rs b/crates/jacquard-api/src/sh_weaver/edit/get_edit_history.rs
index 014629e0..1a612d51 100644
--- a/crates/jacquard-api/src/sh_weaver/edit/get_edit_history.rs
+++ b/crates/jacquard-api/src/sh_weaver/edit/get_edit_history.rs
@@ -8,18 +8,21 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::sh_weaver::edit::EditHistoryEntry;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::AtUri;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::sh_weaver::edit::EditHistoryEntry;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetEditHistory {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub after_rkey: Option,
@@ -32,9 +35,11 @@ pub struct GetEditHistory {
     pub resource: AtUri,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetEditHistoryOutput {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub cursor: Option,
@@ -74,7 +79,7 @@ fn _default_limit() -> Option {
 
 pub mod get_edit_history_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -201,4 +206,4 @@ where
             resource: self._fields.3.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/edit/get_edit_tree.rs b/crates/jacquard-api/src/sh_weaver/edit/get_edit_tree.rs
index 38e2dd99..8514dbde 100644
--- a/crates/jacquard-api/src/sh_weaver/edit/get_edit_tree.rs
+++ b/crates/jacquard-api/src/sh_weaver/edit/get_edit_tree.rs
@@ -8,25 +8,30 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::sh_weaver::edit::EditTreeView;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::AtUri;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::sh_weaver::edit::EditTreeView;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetEditTree {
     pub resource: AtUri,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetEditTreeOutput {
     #[serde(flatten)]
     pub value: EditTreeView,
@@ -60,7 +65,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetEditTreeRequest {
 
 pub mod get_edit_tree_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -145,4 +150,4 @@ where
             resource: self._fields.0.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/edit/list_drafts.rs b/crates/jacquard-api/src/sh_weaver/edit/list_drafts.rs
index ea677230..10d46709 100644
--- a/crates/jacquard-api/src/sh_weaver/edit/list_drafts.rs
+++ b/crates/jacquard-api/src/sh_weaver/edit/list_drafts.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -22,15 +22,18 @@ use jacquard_derive::IntoStatic;
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::com_atproto::repo::strong_ref::StrongRef;
 use crate::sh_weaver::edit::list_drafts;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// Hydrated view of a draft with edit state.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct DraftView {
     pub cid: Cid,
     pub created_at: Datetime,
@@ -47,9 +50,11 @@ pub struct DraftView {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ListDrafts {
     pub actor: AtIdentifier,
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -60,9 +65,11 @@ pub struct ListDrafts {
     pub limit: Option,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ListDraftsOutput {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub cursor: Option,
@@ -112,7 +119,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for ListDraftsRequest {
 
 pub mod draft_view_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -316,10 +323,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> DraftView {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> DraftView {
         DraftView {
             cid: self._fields.0.unwrap(),
             created_at: self._fields.1.unwrap(),
@@ -333,10 +337,10 @@ where
 }
 
 fn lexicon_doc_sh_weaver_edit_listDrafts() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("sh.weaver.edit.listDrafts"),
@@ -345,15 +349,14 @@ fn lexicon_doc_sh_weaver_edit_listDrafts() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("draftView"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("Hydrated view of a draft with edit state."),
-                    ),
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("uri"), SmolStr::new_static("cid"),
-                            SmolStr::new_static("createdAt")
-                        ],
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Hydrated view of a draft with edit state.",
+                    )),
+                    required: Some(vec![
+                        SmolStr::new_static("uri"),
+                        SmolStr::new_static("cid"),
+                        SmolStr::new_static("createdAt"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -388,11 +391,9 @@ fn lexicon_doc_sh_weaver_edit_listDrafts() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("title"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "Extracted title if available from edit state",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Extracted title if available from edit state",
+                                )),
                                 ..Default::default()
                             }),
                         );
@@ -411,39 +412,37 @@ fn lexicon_doc_sh_weaver_edit_listDrafts() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::XrpcQuery(LexXrpcQuery {
-                    parameters: Some(
-                        LexXrpcQueryParameter::Params(LexXrpcParameters {
-                            required: Some(vec![SmolStr::new_static("actor")]),
-                            properties: {
-                                #[allow(unused_mut)]
-                                let mut map = BTreeMap::new();
-                                map.insert(
-                                    SmolStr::new_static("actor"),
-                                    LexXrpcParametersProperty::String(LexString {
-                                        description: Some(
-                                            CowStr::new_static("DID or handle of the actor"),
-                                        ),
-                                        format: Some(LexStringFormat::AtIdentifier),
-                                        ..Default::default()
-                                    }),
-                                );
-                                map.insert(
-                                    SmolStr::new_static("cursor"),
-                                    LexXrpcParametersProperty::String(LexString {
-                                        ..Default::default()
-                                    }),
-                                );
-                                map.insert(
-                                    SmolStr::new_static("limit"),
-                                    LexXrpcParametersProperty::Integer(LexInteger {
-                                        ..Default::default()
-                                    }),
-                                );
-                                map
-                            },
-                            ..Default::default()
-                        }),
-                    ),
+                    parameters: Some(LexXrpcQueryParameter::Params(LexXrpcParameters {
+                        required: Some(vec![SmolStr::new_static("actor")]),
+                        properties: {
+                            #[allow(unused_mut)]
+                            let mut map = BTreeMap::new();
+                            map.insert(
+                                SmolStr::new_static("actor"),
+                                LexXrpcParametersProperty::String(LexString {
+                                    description: Some(CowStr::new_static(
+                                        "DID or handle of the actor",
+                                    )),
+                                    format: Some(LexStringFormat::AtIdentifier),
+                                    ..Default::default()
+                                }),
+                            );
+                            map.insert(
+                                SmolStr::new_static("cursor"),
+                                LexXrpcParametersProperty::String(LexString {
+                                    ..Default::default()
+                                }),
+                            );
+                            map.insert(
+                                SmolStr::new_static("limit"),
+                                LexXrpcParametersProperty::Integer(LexInteger {
+                                    ..Default::default()
+                                }),
+                            );
+                            map
+                        },
+                        ..Default::default()
+                    })),
                     ..Default::default()
                 }),
             );
@@ -459,7 +458,7 @@ fn _default_limit() -> Option {
 
 pub mod list_drafts_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -572,4 +571,4 @@ where
             limit: self._fields.2,
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/edit/root.rs b/crates/jacquard-api/src/sh_weaver/edit/root.rs
index c1213d84..a9e53d4e 100644
--- a/crates/jacquard-api/src/sh_weaver/edit/root.rs
+++ b/crates/jacquard-api/src/sh_weaver/edit/root.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -25,10 +25,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::sh_weaver::edit::DocRef;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::sh_weaver::edit::DocRef;
+use serde::{Deserialize, Serialize};
 /// The starting point for edit history on a notebook.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -118,19 +118,16 @@ impl LexiconSchema for Root {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["*/*"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("snapshot"),
@@ -146,7 +143,7 @@ impl LexiconSchema for Root {
 
 pub mod root_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -219,10 +216,7 @@ where
     St::Doc: root_state::IsUnset,
 {
     /// Set the `doc` field (required)
-    pub fn doc(
-        mut self,
-        value: impl Into>,
-    ) -> RootBuilder> {
+    pub fn doc(mut self, value: impl Into>) -> RootBuilder> {
         self._fields.0 = Option::Some(value.into());
         RootBuilder {
             _state: PhantomData,
@@ -276,10 +270,10 @@ where
 }
 
 fn lexicon_doc_sh_weaver_edit_root() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("sh.weaver.edit.root"),
@@ -288,18 +282,15 @@ fn lexicon_doc_sh_weaver_edit_root() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static(
-                            "The starting point for edit history on a notebook.",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "The starting point for edit history on a notebook.",
+                    )),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("doc"), SmolStr::new_static("snapshot")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("doc"),
+                            SmolStr::new_static("snapshot"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -312,7 +303,9 @@ fn lexicon_doc_sh_weaver_edit_root() -> LexiconDoc<'static> {
                             );
                             map.insert(
                                 SmolStr::new_static("snapshot"),
-                                LexObjectProperty::Blob(LexBlob { ..Default::default() }),
+                                LexObjectProperty::Blob(LexBlob {
+                                    ..Default::default()
+                                }),
                             );
                             map
                         },
@@ -325,4 +318,4 @@ fn lexicon_doc_sh_weaver_edit_root() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/embed.rs b/crates/jacquard-api/src/sh_weaver/embed.rs
index bb2179bc..5b233463 100644
--- a/crates/jacquard-api/src/sh_weaver/embed.rs
+++ b/crates/jacquard-api/src/sh_weaver/embed.rs
@@ -11,7 +11,6 @@ pub mod record_with_media;
 pub mod records;
 pub mod video;
 
-
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
@@ -29,11 +28,14 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// Proportional size of the embed relative to the viewport in larger windows. The dimensions are percentage out of 100. Could we use more granularity? Maybe, but come on.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct PercentSize {
     pub height: i64,
     pub width: i64,
@@ -44,7 +46,10 @@ pub struct PercentSize {
 /// Pixel-exact embed size. The dimensions are logical pixels, subject to scaling, so 200px at X2 scale is 400px.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct PixelSize {
     pub height: i64,
     pub width: i64,
@@ -84,7 +89,7 @@ impl LexiconSchema for PixelSize {
 
 pub mod percent_size_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -204,10 +209,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> PercentSize {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> PercentSize {
         PercentSize {
             height: self._fields.0.unwrap(),
             width: self._fields.1.unwrap(),
@@ -217,10 +219,10 @@ where
 }
 
 fn lexicon_doc_sh_weaver_embed_defs() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("sh.weaver.embed.defs"),
@@ -296,7 +298,7 @@ fn lexicon_doc_sh_weaver_embed_defs() -> LexiconDoc<'static> {
 
 pub mod pixel_size_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -416,14 +418,11 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> PixelSize {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> PixelSize {
         PixelSize {
             height: self._fields.0.unwrap(),
             width: self._fields.1.unwrap(),
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/embed/external.rs b/crates/jacquard-api/src/sh_weaver/embed/external.rs
index 90c6e510..bfecc005 100644
--- a/crates/jacquard-api/src/sh_weaver/embed/external.rs
+++ b/crates/jacquard-api/src/sh_weaver/embed/external.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -22,13 +22,16 @@ use jacquard_derive::IntoStatic;
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::sh_weaver::embed::external;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::sh_weaver::embed::external;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ExternalEmbed {
     pub description: S,
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -39,27 +42,33 @@ pub struct ExternalEmbed {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct External {
     pub embeds: Vec>,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct View {
     pub external: Vec>,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ViewExternal {
     pub description: S,
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -97,19 +106,16 @@ impl LexiconSchema for ExternalEmbed {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["image/*"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("thumb"),
@@ -192,7 +198,7 @@ impl LexiconSchema for ViewExternal {
 
 pub mod external_embed_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -251,7 +257,12 @@ pub mod external_embed_state {
 /// Builder for constructing an instance of this type.
 pub struct ExternalEmbedBuilder {
     _state: PhantomData St>,
-    _fields: (Option, Option>, Option, Option>),
+    _fields: (
+        Option,
+        Option>,
+        Option,
+        Option>,
+    ),
     _type: PhantomData S>,
 }
 
@@ -361,10 +372,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> ExternalEmbed {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> ExternalEmbed {
         ExternalEmbed {
             description: self._fields.0.unwrap(),
             thumb: self._fields.1,
@@ -376,10 +384,10 @@ where
 }
 
 fn lexicon_doc_sh_weaver_embed_external() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("sh.weaver.embed.external"),
@@ -388,26 +396,31 @@ fn lexicon_doc_sh_weaver_embed_external() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("externalEmbed"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("uri"), SmolStr::new_static("title"),
-                            SmolStr::new_static("description")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("uri"),
+                        SmolStr::new_static("title"),
+                        SmolStr::new_static("description"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("description"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("thumb"),
-                            LexObjectProperty::Blob(LexBlob { ..Default::default() }),
+                            LexObjectProperty::Blob(LexBlob {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("title"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("uri"),
@@ -470,18 +483,19 @@ fn lexicon_doc_sh_weaver_embed_external() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("viewExternal"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("uri"), SmolStr::new_static("title"),
-                            SmolStr::new_static("description")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("uri"),
+                        SmolStr::new_static("title"),
+                        SmolStr::new_static("description"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("description"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("thumb"),
@@ -492,7 +506,9 @@ fn lexicon_doc_sh_weaver_embed_external() -> LexiconDoc<'static> {
                         );
                         map.insert(
                             SmolStr::new_static("title"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("uri"),
@@ -514,7 +530,7 @@ fn lexicon_doc_sh_weaver_embed_external() -> LexiconDoc<'static> {
 
 pub mod external_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -611,7 +627,7 @@ where
 
 pub mod view_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -708,7 +724,7 @@ where
 
 pub mod view_external_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -767,7 +783,12 @@ pub mod view_external_state {
 /// Builder for constructing an instance of this type.
 pub struct ViewExternalBuilder {
     _state: PhantomData St>,
-    _fields: (Option, Option>, Option, Option>),
+    _fields: (
+        Option,
+        Option>,
+        Option,
+        Option>,
+    ),
     _type: PhantomData S>,
 }
 
@@ -877,10 +898,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> ViewExternal {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> ViewExternal {
         ViewExternal {
             description: self._fields.0.unwrap(),
             thumb: self._fields.1,
@@ -889,4 +907,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/embed/images.rs b/crates/jacquard-api/src/sh_weaver/embed/images.rs
index cfb2e66f..42a0d825 100644
--- a/crates/jacquard-api/src/sh_weaver/embed/images.rs
+++ b/crates/jacquard-api/src/sh_weaver/embed/images.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -22,16 +22,19 @@ use jacquard_derive::{IntoStatic, open_union};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::app_bsky::embed::AspectRatio;
 use crate::sh_weaver::embed::PercentSize;
 use crate::sh_weaver::embed::PixelSize;
 use crate::sh_weaver::embed::images;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Image {
     ///alt text description of the image
     pub alt: S,
@@ -47,7 +50,6 @@ pub struct Image {
     pub extra_data: Option>>,
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -60,27 +62,33 @@ pub enum ImageDimensions {
     PixelSize(Box>),
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Images {
     pub images: Vec>,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct View {
     pub images: Vec>,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ViewImage {
     ///Alt text description of the image, for accessibility.
     pub alt: S,
@@ -96,7 +104,6 @@ pub struct ViewImage {
     pub extra_data: Option>>,
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -148,19 +155,16 @@ impl LexiconSchema for Image {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["image/*"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("image"),
@@ -263,7 +267,7 @@ impl LexiconSchema for ViewImage {
 
 pub mod image_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -342,10 +346,7 @@ where
     St::Alt: image_state::IsUnset,
 {
     /// Set the `alt` field (required)
-    pub fn alt(
-        mut self,
-        value: impl Into,
-    ) -> ImageBuilder> {
+    pub fn alt(mut self, value: impl Into) -> ImageBuilder> {
         self._fields.0 = Option::Some(value.into());
         ImageBuilder {
             _state: PhantomData,
@@ -444,10 +445,10 @@ where
 }
 
 fn lexicon_doc_sh_weaver_embed_images() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("sh.weaver.embed.images"),
@@ -634,7 +635,7 @@ fn lexicon_doc_sh_weaver_embed_images() -> LexiconDoc<'static> {
 
 pub mod images_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -731,7 +732,7 @@ where
 
 pub mod view_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -828,7 +829,7 @@ where
 
 pub mod view_image_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -921,10 +922,7 @@ where
     St::Alt: view_image_state::IsUnset,
 {
     /// Set the `alt` field (required)
-    pub fn alt(
-        mut self,
-        value: impl Into,
-    ) -> ViewImageBuilder> {
+    pub fn alt(mut self, value: impl Into) -> ViewImageBuilder> {
         self._fields.0 = Option::Some(value.into());
         ViewImageBuilder {
             _state: PhantomData,
@@ -936,10 +934,7 @@ where
 
 impl ViewImageBuilder {
     /// Set the `dimensions` field (optional)
-    pub fn dimensions(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn dimensions(mut self, value: impl Into>>) -> Self {
         self._fields.1 = value.into();
         self
     }
@@ -1020,10 +1015,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> ViewImage {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> ViewImage {
         ViewImage {
             alt: self._fields.0.unwrap(),
             dimensions: self._fields.1,
@@ -1033,4 +1025,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/embed/record_with_media.rs b/crates/jacquard-api/src/sh_weaver/embed/record_with_media.rs
index 4cb79ff5..302fdc6f 100644
--- a/crates/jacquard-api/src/sh_weaver/embed/record_with_media.rs
+++ b/crates/jacquard-api/src/sh_weaver/embed/record_with_media.rs
@@ -20,20 +20,23 @@ use jacquard_derive::{IntoStatic, open_union};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::sh_weaver::embed::external::External;
-use crate::sh_weaver::embed::images::Images;
-use crate::sh_weaver::embed::records::Records;
-use crate::sh_weaver::embed::video::VideoRecord;
 use crate::sh_weaver::embed::external;
+use crate::sh_weaver::embed::external::External;
 use crate::sh_weaver::embed::images;
+use crate::sh_weaver::embed::images::Images;
 use crate::sh_weaver::embed::records;
+use crate::sh_weaver::embed::records::Records;
 use crate::sh_weaver::embed::video;
+use crate::sh_weaver::embed::video::VideoRecord;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct RecordWithMedia {
     pub media: RecordWithMediaMedia,
     pub records: Records,
@@ -41,7 +44,6 @@ pub struct RecordWithMedia {
     pub extra_data: Option>>,
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -54,9 +56,11 @@ pub enum RecordWithMediaMedia {
     Video(Box>),
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct View {
     pub media: ViewMedia,
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -65,7 +69,6 @@ pub struct View {
     pub extra_data: Option>>,
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -110,7 +113,7 @@ impl LexiconSchema for View {
 
 pub mod record_with_media_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -230,10 +233,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> RecordWithMedia {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> RecordWithMedia {
         RecordWithMedia {
             media: self._fields.0.unwrap(),
             records: self._fields.1.unwrap(),
@@ -243,10 +243,10 @@ where
 }
 
 fn lexicon_doc_sh_weaver_embed_recordWithMedia() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("sh.weaver.embed.recordWithMedia"),
@@ -255,11 +255,10 @@ fn lexicon_doc_sh_weaver_embed_recordWithMedia() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("records"), SmolStr::new_static("media")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("records"),
+                        SmolStr::new_static("media"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -269,7 +268,7 @@ fn lexicon_doc_sh_weaver_embed_recordWithMedia() -> LexiconDoc<'static> {
                                 refs: vec![
                                     CowStr::new_static("sh.weaver.embed.images"),
                                     CowStr::new_static("sh.weaver.embed.external"),
-                                    CowStr::new_static("sh.weaver.embed.video")
+                                    CowStr::new_static("sh.weaver.embed.video"),
                                 ],
                                 ..Default::default()
                             }),
@@ -289,9 +288,10 @@ fn lexicon_doc_sh_weaver_embed_recordWithMedia() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("view"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![SmolStr::new_static("record"), SmolStr::new_static("media")],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("record"),
+                        SmolStr::new_static("media"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -301,7 +301,7 @@ fn lexicon_doc_sh_weaver_embed_recordWithMedia() -> LexiconDoc<'static> {
                                 refs: vec![
                                     CowStr::new_static("sh.weaver.embed.images#view"),
                                     CowStr::new_static("sh.weaver.embed.external#view"),
-                                    CowStr::new_static("sh.weaver.embed.video#view")
+                                    CowStr::new_static("sh.weaver.embed.video#view"),
                                 ],
                                 ..Default::default()
                             }),
@@ -326,7 +326,7 @@ fn lexicon_doc_sh_weaver_embed_recordWithMedia() -> LexiconDoc<'static> {
 
 pub mod view_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -447,4 +447,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/embed/records.rs b/crates/jacquard-api/src/sh_weaver/embed/records.rs
index 2e477d58..cbfa0d8c 100644
--- a/crates/jacquard-api/src/sh_weaver/embed/records.rs
+++ b/crates/jacquard-api/src/sh_weaver/embed/records.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -21,9 +21,6 @@ use jacquard_derive::{IntoStatic, open_union};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::app_bsky::feed::BlockedAuthor;
 use crate::app_bsky::feed::GeneratorView;
 use crate::app_bsky::graph::ListView;
@@ -36,18 +33,26 @@ use crate::sh_weaver::embed::images;
 use crate::sh_weaver::embed::record_with_media;
 use crate::sh_weaver::embed::records;
 use crate::sh_weaver::embed::video;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Records {
     pub records: Vec>,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct RecordEmbed {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub name: Option,
@@ -56,9 +61,11 @@ pub struct RecordEmbed {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct RecordEmbedView {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub name: Option,
@@ -67,7 +74,6 @@ pub struct RecordEmbedView {
     pub extra_data: Option>>,
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -82,16 +88,17 @@ pub enum RecordEmbedViewRecordView {
     VideoView(Box>),
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct View {
     pub record: ViewUnionRecord,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -114,9 +121,11 @@ pub enum ViewUnionRecord {
     StarterPackViewBasic(Box>),
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ViewBlocked {
     pub author: BlockedAuthor,
     pub blocked: bool,
@@ -125,9 +134,11 @@ pub struct ViewBlocked {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ViewDetached {
     pub detached: bool,
     pub uri: AtUri,
@@ -135,9 +146,11 @@ pub struct ViewDetached {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ViewNotFound {
     pub not_found: bool,
     pub uri: AtUri,
@@ -145,9 +158,11 @@ pub struct ViewNotFound {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ViewRecord {
     pub author: ProfileDataViewBasic,
     pub cid: Cid,
@@ -324,7 +339,7 @@ impl LexiconSchema for ViewRecord {
 
 pub mod records_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -420,10 +435,10 @@ where
 }
 
 fn lexicon_doc_sh_weaver_embed_records() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("sh.weaver.embed.records"),
@@ -499,7 +514,7 @@ fn lexicon_doc_sh_weaver_embed_records() -> LexiconDoc<'static> {
                                     CowStr::new_static("sh.weaver.embed.records#view"),
                                     CowStr::new_static("sh.weaver.embed.images#view"),
                                     CowStr::new_static("sh.weaver.embed.recordWithMedia#view"),
-                                    CowStr::new_static("sh.weaver.embed.video#view")
+                                    CowStr::new_static("sh.weaver.embed.video#view"),
                                 ],
                                 ..Default::default()
                             }),
@@ -527,7 +542,7 @@ fn lexicon_doc_sh_weaver_embed_records() -> LexiconDoc<'static> {
                                     CowStr::new_static("app.bsky.feed.defs#generatorView"),
                                     CowStr::new_static("app.bsky.graph.defs#listView"),
                                     CowStr::new_static("app.bsky.labeler.defs#labelerView"),
-                                    CowStr::new_static("app.bsky.graph.defs#starterPackViewBasic")
+                                    CowStr::new_static("app.bsky.graph.defs#starterPackViewBasic"),
                                 ],
                                 ..Default::default()
                             }),
@@ -540,21 +555,18 @@ fn lexicon_doc_sh_weaver_embed_records() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("viewBlocked"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("uri"), SmolStr::new_static("blocked"),
-                            SmolStr::new_static("author")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("uri"),
+                        SmolStr::new_static("blocked"),
+                        SmolStr::new_static("author"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("author"),
                             LexObjectProperty::Ref(LexRef {
-                                r#ref: CowStr::new_static(
-                                    "app.bsky.feed.defs#blockedAuthor",
-                                ),
+                                r#ref: CowStr::new_static("app.bsky.feed.defs#blockedAuthor"),
                                 ..Default::default()
                             }),
                         );
@@ -579,9 +591,10 @@ fn lexicon_doc_sh_weaver_embed_records() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("viewDetached"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![SmolStr::new_static("uri"), SmolStr::new_static("detached")],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("uri"),
+                        SmolStr::new_static("detached"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -606,9 +619,10 @@ fn lexicon_doc_sh_weaver_embed_records() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("viewNotFound"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![SmolStr::new_static("uri"), SmolStr::new_static("notFound")],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("uri"),
+                        SmolStr::new_static("notFound"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -633,13 +647,13 @@ fn lexicon_doc_sh_weaver_embed_records() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("viewRecord"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("uri"), SmolStr::new_static("cid"),
-                            SmolStr::new_static("author"), SmolStr::new_static("value"),
-                            SmolStr::new_static("indexedAt")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("uri"),
+                        SmolStr::new_static("cid"),
+                        SmolStr::new_static("author"),
+                        SmolStr::new_static("value"),
+                        SmolStr::new_static("indexedAt"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -736,7 +750,7 @@ fn lexicon_doc_sh_weaver_embed_records() -> LexiconDoc<'static> {
 
 pub mod record_embed_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -837,10 +851,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> RecordEmbed {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> RecordEmbed {
         RecordEmbed {
             name: self._fields.0,
             record: self._fields.1.unwrap(),
@@ -851,7 +862,7 @@ where
 
 pub mod record_embed_view_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -952,10 +963,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> RecordEmbedView {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> RecordEmbedView {
         RecordEmbedView {
             name: self._fields.0,
             record_view: self._fields.1.unwrap(),
@@ -966,7 +974,7 @@ where
 
 pub mod view_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1063,7 +1071,7 @@ where
 
 pub mod view_blocked_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1218,10 +1226,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> ViewBlocked {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> ViewBlocked {
         ViewBlocked {
             author: self._fields.0.unwrap(),
             blocked: self._fields.1.unwrap(),
@@ -1233,7 +1238,7 @@ where
 
 pub mod view_detached_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1353,10 +1358,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> ViewDetached {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> ViewDetached {
         ViewDetached {
             detached: self._fields.0.unwrap(),
             uri: self._fields.1.unwrap(),
@@ -1367,7 +1369,7 @@ where
 
 pub mod view_not_found_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1487,10 +1489,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> ViewNotFound {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> ViewNotFound {
         ViewNotFound {
             not_found: self._fields.0.unwrap(),
             uri: self._fields.1.unwrap(),
@@ -1501,7 +1500,7 @@ where
 
 pub mod view_record_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1622,7 +1621,9 @@ impl ViewRecordBuilder {
     pub fn new() -> Self {
         ViewRecordBuilder {
             _state: PhantomData,
-            _fields: (None, None, None, None, None, None, None, None, None, None, None),
+            _fields: (
+                None, None, None, None, None, None, None, None, None, None, None,
+            ),
             _type: PhantomData,
         }
     }
@@ -1668,18 +1669,12 @@ where
 
 impl ViewRecordBuilder {
     /// Set the `embeds` field (optional)
-    pub fn embeds(
-        mut self,
-        value: impl Into>>>,
-    ) -> Self {
+    pub fn embeds(mut self, value: impl Into>>>) -> Self {
         self._fields.2 = value.into();
         self
     }
     /// Set the `embeds` field to an Option value (optional)
-    pub fn maybe_embeds(
-        mut self,
-        value: Option>>,
-    ) -> Self {
+    pub fn maybe_embeds(mut self, value: Option>>) -> Self {
         self._fields.2 = value;
         self
     }
@@ -1834,10 +1829,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> ViewRecord {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> ViewRecord {
         ViewRecord {
             author: self._fields.0.unwrap(),
             cid: self._fields.1.unwrap(),
@@ -1853,4 +1845,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/embed/video.rs b/crates/jacquard-api/src/sh_weaver/embed/video.rs
index e6548c38..1971902d 100644
--- a/crates/jacquard-api/src/sh_weaver/embed/video.rs
+++ b/crates/jacquard-api/src/sh_weaver/embed/video.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -22,16 +22,19 @@ use jacquard_derive::{IntoStatic, open_union};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::app_bsky::embed::AspectRatio;
 use crate::sh_weaver::embed::PercentSize;
 use crate::sh_weaver::embed::PixelSize;
 use crate::sh_weaver::embed::video;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Caption {
     pub file: BlobRef,
     pub lang: Language,
@@ -39,18 +42,22 @@ pub struct Caption {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct VideoRecord {
     pub videos: Vec>,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Video {
     ///Alt text description of the video, for accessibility.
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -67,7 +74,6 @@ pub struct Video {
     pub extra_data: Option>>,
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -80,9 +86,11 @@ pub enum VideoDimensions {
     PixelSize(Box>),
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct View {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub alt: Option,
@@ -98,7 +106,6 @@ pub struct View {
     pub extra_data: Option>>,
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -140,19 +147,16 @@ impl LexiconSchema for Caption {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["text/vtt"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("file"),
@@ -252,19 +256,16 @@ impl LexiconSchema for Video {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["video/mp4"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("video"),
@@ -327,7 +328,7 @@ impl LexiconSchema for View {
 
 pub mod caption_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -457,10 +458,10 @@ where
 }
 
 fn lexicon_doc_sh_weaver_embed_video() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("sh.weaver.embed.video"),
@@ -469,15 +470,18 @@ fn lexicon_doc_sh_weaver_embed_video() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("caption"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![SmolStr::new_static("lang"), SmolStr::new_static("file")],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("lang"),
+                        SmolStr::new_static("file"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("file"),
-                            LexObjectProperty::Blob(LexBlob { ..Default::default() }),
+                            LexObjectProperty::Blob(LexBlob {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("lang"),
@@ -523,11 +527,9 @@ fn lexicon_doc_sh_weaver_embed_video() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("alt"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "Alt text description of the video, for accessibility.",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Alt text description of the video, for accessibility.",
+                                )),
                                 max_length: Some(10000usize),
                                 max_graphemes: Some(1000usize),
                                 ..Default::default()
@@ -550,7 +552,7 @@ fn lexicon_doc_sh_weaver_embed_video() -> LexiconDoc<'static> {
                                 refs: vec![
                                     CowStr::new_static("app.bsky.embed.defs#aspectRatio"),
                                     CowStr::new_static("sh.weaver.embed.defs#percentSize"),
-                                    CowStr::new_static("sh.weaver.embed.defs#pixelSize")
+                                    CowStr::new_static("sh.weaver.embed.defs#pixelSize"),
                                 ],
                                 ..Default::default()
                             }),
@@ -564,7 +566,9 @@ fn lexicon_doc_sh_weaver_embed_video() -> LexiconDoc<'static> {
                         );
                         map.insert(
                             SmolStr::new_static("video"),
-                            LexObjectProperty::Blob(LexBlob { ..Default::default() }),
+                            LexObjectProperty::Blob(LexBlob {
+                                ..Default::default()
+                            }),
                         );
                         map
                     },
@@ -574,9 +578,10 @@ fn lexicon_doc_sh_weaver_embed_video() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("view"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![SmolStr::new_static("cid"), SmolStr::new_static("playlist")],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("cid"),
+                        SmolStr::new_static("playlist"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -601,7 +606,7 @@ fn lexicon_doc_sh_weaver_embed_video() -> LexiconDoc<'static> {
                                 refs: vec![
                                     CowStr::new_static("app.bsky.embed.defs#aspectRatio"),
                                     CowStr::new_static("sh.weaver.embed.defs#percentSize"),
-                                    CowStr::new_static("sh.weaver.embed.defs#pixelSize")
+                                    CowStr::new_static("sh.weaver.embed.defs#pixelSize"),
                                 ],
                                 ..Default::default()
                             }),
@@ -640,7 +645,7 @@ fn lexicon_doc_sh_weaver_embed_video() -> LexiconDoc<'static> {
 
 pub mod video_record_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -727,10 +732,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> VideoRecord {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> VideoRecord {
         VideoRecord {
             videos: self._fields.0.unwrap(),
             extra_data: Some(extra_data),
@@ -740,7 +742,7 @@ where
 
 pub mod video_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -903,7 +905,7 @@ where
 
 pub mod view_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -996,10 +998,7 @@ where
     St::Cid: view_state::IsUnset,
 {
     /// Set the `cid` field (required)
-    pub fn cid(
-        mut self,
-        value: impl Into>,
-    ) -> ViewBuilder> {
+    pub fn cid(mut self, value: impl Into>) -> ViewBuilder> {
         self._fields.1 = Option::Some(value.into());
         ViewBuilder {
             _state: PhantomData,
@@ -1097,4 +1096,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/graph.rs b/crates/jacquard-api/src/sh_weaver/graph.rs
index a5cc6113..0ba659da 100644
--- a/crates/jacquard-api/src/sh_weaver/graph.rs
+++ b/crates/jacquard-api/src/sh_weaver/graph.rs
@@ -31,13 +31,12 @@ pub mod subscribe;
 pub mod subscribe_accept;
 pub mod tag;
 
-
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -48,18 +47,21 @@ use jacquard_derive::{IntoStatic, open_union};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::com_atproto::repo::strong_ref::StrongRef;
 use crate::sh_weaver::actor::ProfileViewBasic;
+use crate::sh_weaver::graph;
 use crate::sh_weaver::notebook::EntryView;
 use crate::sh_weaver::notebook::NotebookView;
-use crate::sh_weaver::graph;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// A community tag with how many people applied it.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct CommunityTagCount {
     pub count: i64,
     pub tag: S,
@@ -80,7 +82,10 @@ impl core::fmt::Display for Curatelist {
 /// An item in a list with hydrated subject.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ListItemView {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub added_at: Option,
@@ -90,7 +95,6 @@ pub struct ListItemView {
     pub extra_data: Option>>,
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -101,7 +105,6 @@ pub enum ListItemViewSubject {
     EntryView(Box>),
 }
 
-
 #[derive(Debug, Clone, PartialEq, Eq, Hash)]
 pub enum ListPurpose {
     ShWeaverGraphDefsCuratelist,
@@ -169,15 +172,9 @@ where
     type Output = ListPurpose;
     fn into_static(self) -> Self::Output {
         match self {
-            ListPurpose::ShWeaverGraphDefsCuratelist => {
-                ListPurpose::ShWeaverGraphDefsCuratelist
-            }
-            ListPurpose::ShWeaverGraphDefsReadinglist => {
-                ListPurpose::ShWeaverGraphDefsReadinglist
-            }
-            ListPurpose::ShWeaverGraphDefsSerieslist => {
-                ListPurpose::ShWeaverGraphDefsSerieslist
-            }
+            ListPurpose::ShWeaverGraphDefsCuratelist => ListPurpose::ShWeaverGraphDefsCuratelist,
+            ListPurpose::ShWeaverGraphDefsReadinglist => ListPurpose::ShWeaverGraphDefsReadinglist,
+            ListPurpose::ShWeaverGraphDefsSerieslist => ListPurpose::ShWeaverGraphDefsSerieslist,
             ListPurpose::Other(v) => ListPurpose::Other(v.into_static()),
         }
     }
@@ -186,7 +183,10 @@ where
 /// Hydrated view of a list.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ListView {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub avatar: Option>,
@@ -218,7 +218,10 @@ impl core::fmt::Display for Readinglist {
 /// All tags for a resource, grouped by source.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ResourceTagsView {
     ///Tags from the record itself (author-applied).
     pub author_tags: Vec,
@@ -245,7 +248,10 @@ impl core::fmt::Display for Serieslist {
 /// A single tag application with who applied it.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct TagApplicationView {
     pub applied_by: ProfileViewBasic,
     pub created_at: Datetime,
@@ -258,7 +264,10 @@ pub struct TagApplicationView {
 /// Aggregated view of a tag with usage statistics.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct TagView {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub entry_count: Option,
@@ -369,7 +378,7 @@ impl LexiconSchema for TagView {
 
 pub mod community_tag_count_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -489,10 +498,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> CommunityTagCount {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> CommunityTagCount {
         CommunityTagCount {
             count: self._fields.0.unwrap(),
             tag: self._fields.1.unwrap(),
@@ -502,10 +508,10 @@ where
 }
 
 fn lexicon_doc_sh_weaver_graph_defs() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("sh.weaver.graph.defs"),
@@ -514,14 +520,13 @@ fn lexicon_doc_sh_weaver_graph_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("communityTagCount"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static(
-                            "A community tag with how many people applied it.",
-                        ),
-                    ),
-                    required: Some(
-                        vec![SmolStr::new_static("tag"), SmolStr::new_static("count")],
-                    ),
+                    description: Some(CowStr::new_static(
+                        "A community tag with how many people applied it.",
+                    )),
+                    required: Some(vec![
+                        SmolStr::new_static("tag"),
+                        SmolStr::new_static("count"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -533,7 +538,9 @@ fn lexicon_doc_sh_weaver_graph_defs() -> LexiconDoc<'static> {
                         );
                         map.insert(
                             SmolStr::new_static("tag"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map
                     },
@@ -542,17 +549,20 @@ fn lexicon_doc_sh_weaver_graph_defs() -> LexiconDoc<'static> {
             );
             map.insert(
                 SmolStr::new_static("curatelist"),
-                LexUserType::Token(LexToken { ..Default::default() }),
+                LexUserType::Token(LexToken {
+                    ..Default::default()
+                }),
             );
             map.insert(
                 SmolStr::new_static("listItemView"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("An item in a list with hydrated subject."),
-                    ),
-                    required: Some(
-                        vec![SmolStr::new_static("uri"), SmolStr::new_static("subject")],
-                    ),
+                    description: Some(CowStr::new_static(
+                        "An item in a list with hydrated subject.",
+                    )),
+                    required: Some(vec![
+                        SmolStr::new_static("uri"),
+                        SmolStr::new_static("subject"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -568,7 +578,7 @@ fn lexicon_doc_sh_weaver_graph_defs() -> LexiconDoc<'static> {
                             LexObjectProperty::Union(LexRefUnion {
                                 refs: vec![
                                     CowStr::new_static("sh.weaver.notebook.defs#notebookView"),
-                                    CowStr::new_static("sh.weaver.notebook.defs#entryView")
+                                    CowStr::new_static("sh.weaver.notebook.defs#entryView"),
                                 ],
                                 ..Default::default()
                             }),
@@ -587,21 +597,23 @@ fn lexicon_doc_sh_weaver_graph_defs() -> LexiconDoc<'static> {
             );
             map.insert(
                 SmolStr::new_static("listPurpose"),
-                LexUserType::String(LexString { ..Default::default() }),
+                LexUserType::String(LexString {
+                    ..Default::default()
+                }),
             );
             map.insert(
                 SmolStr::new_static("listView"),
                 LexUserType::Object(LexObject {
                     description: Some(CowStr::new_static("Hydrated view of a list.")),
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("uri"), SmolStr::new_static("cid"),
-                            SmolStr::new_static("creator"), SmolStr::new_static("name"),
-                            SmolStr::new_static("purpose"),
-                            SmolStr::new_static("itemCount"),
-                            SmolStr::new_static("indexedAt")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("uri"),
+                        SmolStr::new_static("cid"),
+                        SmolStr::new_static("creator"),
+                        SmolStr::new_static("name"),
+                        SmolStr::new_static("purpose"),
+                        SmolStr::new_static("itemCount"),
+                        SmolStr::new_static("indexedAt"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -622,15 +634,15 @@ fn lexicon_doc_sh_weaver_graph_defs() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("creator"),
                             LexObjectProperty::Ref(LexRef {
-                                r#ref: CowStr::new_static(
-                                    "sh.weaver.actor.defs#profileViewBasic",
-                                ),
+                                r#ref: CowStr::new_static("sh.weaver.actor.defs#profileViewBasic"),
                                 ..Default::default()
                             }),
                         );
                         map.insert(
                             SmolStr::new_static("description"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("indexedAt"),
@@ -647,7 +659,9 @@ fn lexicon_doc_sh_weaver_graph_defs() -> LexiconDoc<'static> {
                         );
                         map.insert(
                             SmolStr::new_static("name"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("purpose"),
@@ -677,32 +691,30 @@ fn lexicon_doc_sh_weaver_graph_defs() -> LexiconDoc<'static> {
             );
             map.insert(
                 SmolStr::new_static("readinglist"),
-                LexUserType::Token(LexToken { ..Default::default() }),
+                LexUserType::Token(LexToken {
+                    ..Default::default()
+                }),
             );
             map.insert(
                 SmolStr::new_static("resourceTagsView"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("All tags for a resource, grouped by source."),
-                    ),
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("resource"),
-                            SmolStr::new_static("authorTags"),
-                            SmolStr::new_static("communityTags")
-                        ],
-                    ),
+                    description: Some(CowStr::new_static(
+                        "All tags for a resource, grouped by source.",
+                    )),
+                    required: Some(vec![
+                        SmolStr::new_static("resource"),
+                        SmolStr::new_static("authorTags"),
+                        SmolStr::new_static("communityTags"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("authorTags"),
                             LexObjectProperty::Array(LexArray {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "Tags from the record itself (author-applied).",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Tags from the record itself (author-applied).",
+                                )),
                                 items: LexArrayItem::String(LexString {
                                     ..Default::default()
                                 }),
@@ -712,11 +724,9 @@ fn lexicon_doc_sh_weaver_graph_defs() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("communityTags"),
                             LexObjectProperty::Array(LexArray {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "Aggregated community-applied tags with counts.",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Aggregated community-applied tags with counts.",
+                                )),
                                 items: LexArrayItem::Ref(LexRef {
                                     r#ref: CowStr::new_static("#communityTagCount"),
                                     ..Default::default()
@@ -734,9 +744,9 @@ fn lexicon_doc_sh_weaver_graph_defs() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("viewerAppliedTags"),
                             LexObjectProperty::Array(LexArray {
-                                description: Some(
-                                    CowStr::new_static("Tags the current viewer has applied."),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Tags the current viewer has applied.",
+                                )),
                                 items: LexArrayItem::String(LexString {
                                     ..Default::default()
                                 }),
@@ -750,32 +760,29 @@ fn lexicon_doc_sh_weaver_graph_defs() -> LexiconDoc<'static> {
             );
             map.insert(
                 SmolStr::new_static("serieslist"),
-                LexUserType::Token(LexToken { ..Default::default() }),
+                LexUserType::Token(LexToken {
+                    ..Default::default()
+                }),
             );
             map.insert(
                 SmolStr::new_static("tagApplicationView"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static(
-                            "A single tag application with who applied it.",
-                        ),
-                    ),
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("uri"), SmolStr::new_static("tag"),
-                            SmolStr::new_static("appliedBy"),
-                            SmolStr::new_static("createdAt")
-                        ],
-                    ),
+                    description: Some(CowStr::new_static(
+                        "A single tag application with who applied it.",
+                    )),
+                    required: Some(vec![
+                        SmolStr::new_static("uri"),
+                        SmolStr::new_static("tag"),
+                        SmolStr::new_static("appliedBy"),
+                        SmolStr::new_static("createdAt"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("appliedBy"),
                             LexObjectProperty::Ref(LexRef {
-                                r#ref: CowStr::new_static(
-                                    "sh.weaver.actor.defs#profileViewBasic",
-                                ),
+                                r#ref: CowStr::new_static("sh.weaver.actor.defs#profileViewBasic"),
                                 ..Default::default()
                             }),
                         );
@@ -788,7 +795,9 @@ fn lexicon_doc_sh_weaver_graph_defs() -> LexiconDoc<'static> {
                         );
                         map.insert(
                             SmolStr::new_static("tag"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("uri"),
@@ -805,14 +814,13 @@ fn lexicon_doc_sh_weaver_graph_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("tagView"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static(
-                            "Aggregated view of a tag with usage statistics.",
-                        ),
-                    ),
-                    required: Some(
-                        vec![SmolStr::new_static("tag"), SmolStr::new_static("useCount")],
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Aggregated view of a tag with usage statistics.",
+                    )),
+                    required: Some(vec![
+                        SmolStr::new_static("tag"),
+                        SmolStr::new_static("useCount"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -836,7 +844,9 @@ fn lexicon_doc_sh_weaver_graph_defs() -> LexiconDoc<'static> {
                         );
                         map.insert(
                             SmolStr::new_static("tag"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("trendingScore"),
@@ -863,7 +873,7 @@ fn lexicon_doc_sh_weaver_graph_defs() -> LexiconDoc<'static> {
 
 pub mod list_item_view_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -908,7 +918,11 @@ pub mod list_item_view_state {
 /// Builder for constructing an instance of this type.
 pub struct ListItemViewBuilder {
     _state: PhantomData St>,
-    _fields: (Option, Option>, Option>),
+    _fields: (
+        Option,
+        Option>,
+        Option>,
+    ),
     _type: PhantomData S>,
 }
 
@@ -997,10 +1011,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> ListItemView {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> ListItemView {
         ListItemView {
             added_at: self._fields.0,
             subject: self._fields.1.unwrap(),
@@ -1012,7 +1023,7 @@ where
 
 pub mod list_view_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1288,10 +1299,7 @@ where
     St::Name: list_view_state::IsUnset,
 {
     /// Set the `name` field (required)
-    pub fn name(
-        mut self,
-        value: impl Into,
-    ) -> ListViewBuilder> {
+    pub fn name(mut self, value: impl Into) -> ListViewBuilder> {
         self._fields.6 = Option::Some(value.into());
         ListViewBuilder {
             _state: PhantomData,
@@ -1399,7 +1407,7 @@ where
 
 pub mod resource_tags_view_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1573,10 +1581,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> ResourceTagsView {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> ResourceTagsView {
         ResourceTagsView {
             author_tags: self._fields.0.unwrap(),
             community_tags: self._fields.1.unwrap(),
@@ -1589,7 +1594,7 @@ where
 
 pub mod tag_application_view_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1786,10 +1791,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> TagApplicationView {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> TagApplicationView {
         TagApplicationView {
             applied_by: self._fields.0.unwrap(),
             created_at: self._fields.1.unwrap(),
@@ -1802,7 +1804,7 @@ where
 
 pub mod tag_view_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1921,10 +1923,7 @@ where
     St::Tag: tag_view_state::IsUnset,
 {
     /// Set the `tag` field (required)
-    pub fn tag(
-        mut self,
-        value: impl Into,
-    ) -> TagViewBuilder> {
+    pub fn tag(mut self, value: impl Into) -> TagViewBuilder> {
         self._fields.3 = Option::Some(value.into());
         TagViewBuilder {
             _state: PhantomData,
@@ -1996,4 +1995,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/graph/bookmark.rs b/crates/jacquard-api/src/sh_weaver/graph/bookmark.rs
index 51723854..aadcdbbc 100644
--- a/crates/jacquard-api/src/sh_weaver/graph/bookmark.rs
+++ b/crates/jacquard-api/src/sh_weaver/graph/bookmark.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::com_atproto::repo::strong_ref::StrongRef;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::com_atproto::repo::strong_ref::StrongRef;
+use serde::{Deserialize, Serialize};
 /// Bookmark a notebook or entry for later reading.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -131,7 +131,7 @@ impl LexiconSchema for Bookmark {
 
 pub mod bookmark_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -276,10 +276,10 @@ where
 }
 
 fn lexicon_doc_sh_weaver_graph_bookmark() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("sh.weaver.graph.bookmark"),
@@ -288,19 +288,15 @@ fn lexicon_doc_sh_weaver_graph_bookmark() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static(
-                            "Bookmark a notebook or entry for later reading.",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Bookmark a notebook or entry for later reading.",
+                    )),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("subject"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("subject"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -314,11 +310,9 @@ fn lexicon_doc_sh_weaver_graph_bookmark() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("note"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "Optional private note about why you saved this.",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Optional private note about why you saved this.",
+                                    )),
                                     max_length: Some(3000usize),
                                     max_graphemes: Some(300usize),
                                     ..Default::default()
@@ -342,4 +336,4 @@ fn lexicon_doc_sh_weaver_graph_bookmark() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/graph/follow.rs b/crates/jacquard-api/src/sh_weaver/graph/follow.rs
index 97dc8a4d..d51764fa 100644
--- a/crates/jacquard-api/src/sh_weaver/graph/follow.rs
+++ b/crates/jacquard-api/src/sh_weaver/graph/follow.rs
@@ -10,13 +10,13 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::collection::{Collection, RecordError};
-use jacquard_common::types::string::{Did, AtUri, Cid, Datetime};
+use jacquard_common::types::string::{AtUri, Cid, Datetime, Did};
 use jacquard_common::types::uri::{RecordUri, UriError};
 use jacquard_common::types::value::Data;
 use jacquard_common::xrpc::XrpcResp;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// Request to follow an author. Requires acceptance to be active.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -105,7 +105,7 @@ impl LexiconSchema for Follow {
 
 pub mod follow_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -235,10 +235,10 @@ where
 }
 
 fn lexicon_doc_sh_weaver_graph_follow() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("sh.weaver.graph.follow"),
@@ -247,19 +247,15 @@ fn lexicon_doc_sh_weaver_graph_follow() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static(
-                            "Request to follow an author. Requires acceptance to be active.",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Request to follow an author. Requires acceptance to be active.",
+                    )),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("subject"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("subject"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -273,9 +269,9 @@ fn lexicon_doc_sh_weaver_graph_follow() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("subject"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("DID of the author to follow."),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "DID of the author to follow.",
+                                    )),
                                     format: Some(LexStringFormat::Did),
                                     ..Default::default()
                                 }),
@@ -291,4 +287,4 @@ fn lexicon_doc_sh_weaver_graph_follow() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/graph/follow_accept.rs b/crates/jacquard-api/src/sh_weaver/graph/follow_accept.rs
index e56da319..ea8521d1 100644
--- a/crates/jacquard-api/src/sh_weaver/graph/follow_accept.rs
+++ b/crates/jacquard-api/src/sh_weaver/graph/follow_accept.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::com_atproto::repo::strong_ref::StrongRef;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::com_atproto::repo::strong_ref::StrongRef;
+use serde::{Deserialize, Serialize};
 /// Acceptance of a follow request. Completes the two-way agreement.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -106,7 +106,7 @@ impl LexiconSchema for FollowAccept {
 
 pub mod follow_accept_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -226,10 +226,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> FollowAccept {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> FollowAccept {
         FollowAccept {
             created_at: self._fields.0.unwrap(),
             follow: self._fields.1.unwrap(),
@@ -239,10 +236,10 @@ where
 }
 
 fn lexicon_doc_sh_weaver_graph_followAccept() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("sh.weaver.graph.followAccept"),
@@ -251,19 +248,15 @@ fn lexicon_doc_sh_weaver_graph_followAccept() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static(
-                            "Acceptance of a follow request. Completes the two-way agreement.",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Acceptance of a follow request. Completes the two-way agreement.",
+                    )),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("follow"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("follow"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -292,4 +285,4 @@ fn lexicon_doc_sh_weaver_graph_followAccept() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/graph/follow_gate.rs b/crates/jacquard-api/src/sh_weaver/graph/follow_gate.rs
index 721ceab4..dd9bcc5a 100644
--- a/crates/jacquard-api/src/sh_weaver/graph/follow_gate.rs
+++ b/crates/jacquard-api/src/sh_weaver/graph/follow_gate.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// Settings controlling follow approval behavior. Absence means auto-accept.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -119,7 +119,7 @@ fn _default_follow_gate_require_approval() -> Option {
 
 pub mod follow_gate_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -234,10 +234,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> FollowGate {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> FollowGate {
         FollowGate {
             created_at: self._fields.0.unwrap(),
             invalidate_prior: self._fields.1.or_else(|| Some(false)),
@@ -248,10 +245,10 @@ where
 }
 
 fn lexicon_doc_sh_weaver_graph_followGate() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("sh.weaver.graph.followGate"),
@@ -260,11 +257,9 @@ fn lexicon_doc_sh_weaver_graph_followGate() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static(
-                            "Settings controlling follow approval behavior. Absence means auto-accept.",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Settings controlling follow approval behavior. Absence means auto-accept.",
+                    )),
                     key: Some(CowStr::new_static("self")),
                     record: LexRecordRecord::Object(LexObject {
                         required: Some(vec![SmolStr::new_static("createdAt")]),
@@ -301,4 +296,4 @@ fn lexicon_doc_sh_weaver_graph_followGate() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/graph/get_actor_bookmarks.rs b/crates/jacquard-api/src/sh_weaver/graph/get_actor_bookmarks.rs
index 5d574dcf..53e76199 100644
--- a/crates/jacquard-api/src/sh_weaver/graph/get_actor_bookmarks.rs
+++ b/crates/jacquard-api/src/sh_weaver/graph/get_actor_bookmarks.rs
@@ -10,15 +10,18 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::ident::AtIdentifier;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetActorBookmarks {
     pub actor: AtIdentifier,
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -29,9 +32,11 @@ pub struct GetActorBookmarks {
     pub limit: Option,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetActorBookmarksOutput {
     pub bookmarks: Vec>,
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -70,7 +75,7 @@ fn _default_limit() -> Option {
 
 pub mod get_actor_bookmarks_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -183,4 +188,4 @@ where
             limit: self._fields.2,
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/graph/get_actor_likes.rs b/crates/jacquard-api/src/sh_weaver/graph/get_actor_likes.rs
index 909754bf..977b0817 100644
--- a/crates/jacquard-api/src/sh_weaver/graph/get_actor_likes.rs
+++ b/crates/jacquard-api/src/sh_weaver/graph/get_actor_likes.rs
@@ -10,15 +10,18 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::ident::AtIdentifier;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetActorLikes {
     pub actor: AtIdentifier,
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -29,9 +32,11 @@ pub struct GetActorLikes {
     pub limit: Option,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetActorLikesOutput {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub cursor: Option,
@@ -70,7 +75,7 @@ fn _default_limit() -> Option {
 
 pub mod get_actor_likes_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -183,4 +188,4 @@ where
             limit: self._fields.2,
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/graph/get_actor_lists.rs b/crates/jacquard-api/src/sh_weaver/graph/get_actor_lists.rs
index 6697575d..34ee8060 100644
--- a/crates/jacquard-api/src/sh_weaver/graph/get_actor_lists.rs
+++ b/crates/jacquard-api/src/sh_weaver/graph/get_actor_lists.rs
@@ -8,18 +8,21 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::sh_weaver::graph::ListView;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::ident::AtIdentifier;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::sh_weaver::graph::ListView;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetActorLists {
     pub actor: AtIdentifier,
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -32,9 +35,11 @@ pub struct GetActorLists {
     pub purpose: Option,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetActorListsOutput {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub cursor: Option,
@@ -73,7 +78,7 @@ fn _default_limit() -> Option {
 
 pub mod get_actor_lists_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -200,4 +205,4 @@ where
             purpose: self._fields.3,
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/graph/get_actor_subscriptions.rs b/crates/jacquard-api/src/sh_weaver/graph/get_actor_subscriptions.rs
index 917abff4..17da77e7 100644
--- a/crates/jacquard-api/src/sh_weaver/graph/get_actor_subscriptions.rs
+++ b/crates/jacquard-api/src/sh_weaver/graph/get_actor_subscriptions.rs
@@ -10,15 +10,18 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::ident::AtIdentifier;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetActorSubscriptions {
     pub actor: AtIdentifier,
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -29,9 +32,11 @@ pub struct GetActorSubscriptions {
     pub limit: Option,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetActorSubscriptionsOutput {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub cursor: Option,
@@ -70,7 +75,7 @@ fn _default_limit() -> Option {
 
 pub mod get_actor_subscriptions_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -101,10 +106,7 @@ pub mod get_actor_subscriptions_state {
 }
 
 /// Builder for constructing an instance of this type.
-pub struct GetActorSubscriptionsBuilder<
-    S: BosStr,
-    St: get_actor_subscriptions_state::State,
-> {
+pub struct GetActorSubscriptionsBuilder {
     _state: PhantomData St>,
     _fields: (Option>, Option, Option),
     _type: PhantomData S>,
@@ -112,10 +114,7 @@ pub struct GetActorSubscriptionsBuilder<
 
 impl GetActorSubscriptions {
     /// Create a new builder for this type.
-    pub fn new() -> GetActorSubscriptionsBuilder<
-        S,
-        get_actor_subscriptions_state::Empty,
-    > {
+    pub fn new() -> GetActorSubscriptionsBuilder {
         GetActorSubscriptionsBuilder::new()
     }
 }
@@ -150,10 +149,7 @@ where
     }
 }
 
-impl<
-    S: BosStr,
-    St: get_actor_subscriptions_state::State,
-> GetActorSubscriptionsBuilder {
+impl GetActorSubscriptionsBuilder {
     /// Set the `cursor` field (optional)
     pub fn cursor(mut self, value: impl Into>) -> Self {
         self._fields.1 = value.into();
@@ -166,10 +162,7 @@ impl<
     }
 }
 
-impl<
-    S: BosStr,
-    St: get_actor_subscriptions_state::State,
-> GetActorSubscriptionsBuilder {
+impl GetActorSubscriptionsBuilder {
     /// Set the `limit` field (optional)
     pub fn limit(mut self, value: impl Into>) -> Self {
         self._fields.2 = value.into();
@@ -195,4 +188,4 @@ where
             limit: self._fields.2,
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/graph/get_bookmarked_by.rs b/crates/jacquard-api/src/sh_weaver/graph/get_bookmarked_by.rs
index 3722324b..a050bbf4 100644
--- a/crates/jacquard-api/src/sh_weaver/graph/get_bookmarked_by.rs
+++ b/crates/jacquard-api/src/sh_weaver/graph/get_bookmarked_by.rs
@@ -10,15 +10,18 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::{AtUri, Cid};
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetBookmarkedBy {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub cursor: Option,
@@ -29,9 +32,11 @@ pub struct GetBookmarkedBy {
     pub subject: AtUri,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetBookmarkedByOutput {
     pub bookmarks: Vec>,
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -73,7 +78,7 @@ fn _default_limit() -> Option {
 
 pub mod get_bookmarked_by_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -186,4 +191,4 @@ where
             subject: self._fields.2.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/graph/get_followers.rs b/crates/jacquard-api/src/sh_weaver/graph/get_followers.rs
index 54cd2661..3d560306 100644
--- a/crates/jacquard-api/src/sh_weaver/graph/get_followers.rs
+++ b/crates/jacquard-api/src/sh_weaver/graph/get_followers.rs
@@ -8,18 +8,21 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::sh_weaver::actor::ProfileViewBasic;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::ident::AtIdentifier;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::sh_weaver::actor::ProfileViewBasic;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetFollowers {
     pub actor: AtIdentifier,
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -30,9 +33,11 @@ pub struct GetFollowers {
     pub limit: Option,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetFollowersOutput {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub cursor: Option,
@@ -72,7 +77,7 @@ fn _default_limit() -> Option {
 
 pub mod get_followers_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -185,4 +190,4 @@ where
             limit: self._fields.2,
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/graph/get_following.rs b/crates/jacquard-api/src/sh_weaver/graph/get_following.rs
index 89229af3..73dc8fb0 100644
--- a/crates/jacquard-api/src/sh_weaver/graph/get_following.rs
+++ b/crates/jacquard-api/src/sh_weaver/graph/get_following.rs
@@ -8,18 +8,21 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::sh_weaver::actor::ProfileViewBasic;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::ident::AtIdentifier;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::sh_weaver::actor::ProfileViewBasic;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetFollowing {
     pub actor: AtIdentifier,
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -30,9 +33,11 @@ pub struct GetFollowing {
     pub limit: Option,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetFollowingOutput {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub cursor: Option,
@@ -72,7 +77,7 @@ fn _default_limit() -> Option {
 
 pub mod get_following_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -185,4 +190,4 @@ where
             limit: self._fields.2,
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/graph/get_liked_by.rs b/crates/jacquard-api/src/sh_weaver/graph/get_liked_by.rs
index 41552c27..7bd893d6 100644
--- a/crates/jacquard-api/src/sh_weaver/graph/get_liked_by.rs
+++ b/crates/jacquard-api/src/sh_weaver/graph/get_liked_by.rs
@@ -10,15 +10,18 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::{AtUri, Cid};
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetLikedBy {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub cursor: Option,
@@ -29,9 +32,11 @@ pub struct GetLikedBy {
     pub subject: AtUri,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetLikedByOutput {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub cid: Option>,
@@ -73,7 +78,7 @@ fn _default_limit() -> Option {
 
 pub mod get_liked_by_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -186,4 +191,4 @@ where
             subject: self._fields.2.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/graph/get_list.rs b/crates/jacquard-api/src/sh_weaver/graph/get_list.rs
index 9a940a41..ca1f2a8c 100644
--- a/crates/jacquard-api/src/sh_weaver/graph/get_list.rs
+++ b/crates/jacquard-api/src/sh_weaver/graph/get_list.rs
@@ -8,19 +8,22 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::sh_weaver::graph::ListItemView;
+use crate::sh_weaver::graph::ListView;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::AtUri;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::{IntoStatic, open_union};
-use serde::{Serialize, Deserialize};
-use crate::sh_weaver::graph::ListItemView;
-use crate::sh_weaver::graph::ListView;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetList {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub cursor: Option,
@@ -31,9 +34,11 @@ pub struct GetList {
     pub list: AtUri,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetListOutput {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub cursor: Option,
@@ -43,25 +48,19 @@ pub struct GetListOutput {
     pub extra_data: Option>>,
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum GetListError {
     #[serde(rename = "ListNotFound")]
     ListNotFound(Option),
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for GetListError {
@@ -115,7 +114,7 @@ fn _default_limit() -> Option {
 
 pub mod get_list_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -228,4 +227,4 @@ where
             list: self._fields.2.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/graph/get_popular_tags.rs b/crates/jacquard-api/src/sh_weaver/graph/get_popular_tags.rs
index 62e950f3..8acd755f 100644
--- a/crates/jacquard-api/src/sh_weaver/graph/get_popular_tags.rs
+++ b/crates/jacquard-api/src/sh_weaver/graph/get_popular_tags.rs
@@ -8,17 +8,20 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::sh_weaver::graph::TagView;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::sh_weaver::graph::TagView;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetPopularTags {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub cursor: Option,
@@ -28,9 +31,11 @@ pub struct GetPopularTags {
     pub limit: Option,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetPopularTagsOutput {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub cursor: Option,
@@ -69,7 +74,7 @@ fn _default_limit() -> Option {
 
 pub mod get_popular_tags_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -148,4 +153,4 @@ where
             limit: self._fields.1,
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/graph/get_resource_tags.rs b/crates/jacquard-api/src/sh_weaver/graph/get_resource_tags.rs
index 49adf5ef..3c8aff4d 100644
--- a/crates/jacquard-api/src/sh_weaver/graph/get_resource_tags.rs
+++ b/crates/jacquard-api/src/sh_weaver/graph/get_resource_tags.rs
@@ -8,25 +8,30 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::sh_weaver::graph::ResourceTagsView;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::AtUri;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::sh_weaver::graph::ResourceTagsView;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetResourceTags {
     pub resource: AtUri,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetResourceTagsOutput {
     #[serde(flatten)]
     pub value: ResourceTagsView,
@@ -60,7 +65,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetResourceTagsRequest {
 
 pub mod get_resource_tags_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -145,4 +150,4 @@ where
             resource: self._fields.0.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/graph/get_subscribers.rs b/crates/jacquard-api/src/sh_weaver/graph/get_subscribers.rs
index 004a1129..87a3e3e4 100644
--- a/crates/jacquard-api/src/sh_weaver/graph/get_subscribers.rs
+++ b/crates/jacquard-api/src/sh_weaver/graph/get_subscribers.rs
@@ -8,19 +8,22 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::sh_weaver::actor::ProfileViewBasic;
+use crate::sh_weaver::notebook::NotebookView;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::AtUri;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::sh_weaver::actor::ProfileViewBasic;
-use crate::sh_weaver::notebook::NotebookView;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetSubscribers {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub cursor: Option,
@@ -31,9 +34,11 @@ pub struct GetSubscribers {
     pub notebook: AtUri,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetSubscribersOutput {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub cursor: Option,
@@ -73,7 +78,7 @@ fn _default_limit() -> Option {
 
 pub mod get_subscribers_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -186,4 +191,4 @@ where
             notebook: self._fields.2.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/graph/get_tag_suggestions.rs b/crates/jacquard-api/src/sh_weaver/graph/get_tag_suggestions.rs
index a8b561b0..bbc2b13d 100644
--- a/crates/jacquard-api/src/sh_weaver/graph/get_tag_suggestions.rs
+++ b/crates/jacquard-api/src/sh_weaver/graph/get_tag_suggestions.rs
@@ -8,17 +8,20 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::sh_weaver::graph::TagView;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::sh_weaver::graph::TagView;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetTagSuggestions {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub existing_tags: Option>,
@@ -31,9 +34,11 @@ pub struct GetTagSuggestions {
     pub query: Option,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetTagSuggestionsOutput {
     pub suggestions: Vec>,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
@@ -70,7 +75,7 @@ fn _default_limit() -> Option {
 
 pub mod get_tag_suggestions_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -163,4 +168,4 @@ where
             query: self._fields.2,
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/graph/get_tagged_resources.rs b/crates/jacquard-api/src/sh_weaver/graph/get_tagged_resources.rs
index 3f54b539..0826163c 100644
--- a/crates/jacquard-api/src/sh_weaver/graph/get_tagged_resources.rs
+++ b/crates/jacquard-api/src/sh_weaver/graph/get_tagged_resources.rs
@@ -8,19 +8,22 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::sh_weaver::graph::TagView;
+use crate::sh_weaver::notebook::EntryView;
+use crate::sh_weaver::notebook::NotebookView;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::{IntoStatic, open_union};
-use serde::{Serialize, Deserialize};
-use crate::sh_weaver::graph::TagView;
-use crate::sh_weaver::notebook::EntryView;
-use crate::sh_weaver::notebook::NotebookView;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetTaggedResources {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub cursor: Option,
@@ -47,9 +50,11 @@ pub struct GetTaggedResources {
     pub tag: S,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetTaggedResourcesOutput {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub cursor: Option,
@@ -60,7 +65,6 @@ pub struct GetTaggedResourcesOutput {
     pub extra_data: Option>>,
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -117,7 +121,7 @@ fn _default_sort() -> Option {
 
 pub mod get_tagged_resources_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -294,4 +298,4 @@ where
             tag: self._fields.6.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/graph/get_trending_tags.rs b/crates/jacquard-api/src/sh_weaver/graph/get_trending_tags.rs
index 040badb6..d837aa55 100644
--- a/crates/jacquard-api/src/sh_weaver/graph/get_trending_tags.rs
+++ b/crates/jacquard-api/src/sh_weaver/graph/get_trending_tags.rs
@@ -8,14 +8,14 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::sh_weaver::graph::TagView;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::sh_weaver::graph::TagView;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(rename_all = "camelCase")]
@@ -26,9 +26,11 @@ pub struct GetTrendingTags {
     pub limit: Option,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetTrendingTagsOutput {
     pub tags: Vec>,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
@@ -65,7 +67,7 @@ fn _default_limit() -> Option {
 
 pub mod get_trending_tags_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -128,4 +130,4 @@ where
             limit: self._fields.0,
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/graph/like.rs b/crates/jacquard-api/src/sh_weaver/graph/like.rs
index 890ea4c3..10fef5bc 100644
--- a/crates/jacquard-api/src/sh_weaver/graph/like.rs
+++ b/crates/jacquard-api/src/sh_weaver/graph/like.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::com_atproto::repo::strong_ref::StrongRef;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::com_atproto::repo::strong_ref::StrongRef;
+use serde::{Deserialize, Serialize};
 /// Record declaring a 'like' of a notebook or entry.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -106,7 +106,7 @@ impl LexiconSchema for Like {
 
 pub mod like_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -236,10 +236,10 @@ where
 }
 
 fn lexicon_doc_sh_weaver_graph_like() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("sh.weaver.graph.like"),
@@ -248,19 +248,15 @@ fn lexicon_doc_sh_weaver_graph_like() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static(
-                            "Record declaring a 'like' of a notebook or entry.",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Record declaring a 'like' of a notebook or entry.",
+                    )),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("subject"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("subject"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -289,4 +285,4 @@ fn lexicon_doc_sh_weaver_graph_like() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/graph/list.rs b/crates/jacquard-api/src/sh_weaver/graph/list.rs
index b15d88b5..8331365e 100644
--- a/crates/jacquard-api/src/sh_weaver/graph/list.rs
+++ b/crates/jacquard-api/src/sh_weaver/graph/list.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -25,10 +25,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::sh_weaver::graph::list;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::sh_weaver::graph::list;
+use serde::{Deserialize, Serialize};
 
 #[derive(Debug, Clone, PartialEq, Eq, Hash)]
 pub enum ListPurpose {
@@ -94,12 +94,8 @@ where
     type Output = ListPurpose;
     fn into_static(self) -> Self::Output {
         match self {
-            ListPurpose::ShWeaverGraphDefsCuratelist => {
-                ListPurpose::ShWeaverGraphDefsCuratelist
-            }
-            ListPurpose::ShWeaverGraphDefsReadinglist => {
-                ListPurpose::ShWeaverGraphDefsReadinglist
-            }
+            ListPurpose::ShWeaverGraphDefsCuratelist => ListPurpose::ShWeaverGraphDefsCuratelist,
+            ListPurpose::ShWeaverGraphDefsReadinglist => ListPurpose::ShWeaverGraphDefsReadinglist,
             ListPurpose::Other(v) => ListPurpose::Other(v.into_static()),
         }
     }
@@ -199,25 +195,20 @@ impl LexiconSchema for List {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["image/png", "image/jpeg"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("avatar"),
-                        accepted: vec![
-                            "image/png".to_string(), "image/jpeg".to_string()
-                        ],
+                        accepted: vec!["image/png".to_string(), "image/jpeg".to_string()],
                         actual: mime.to_string(),
                     });
                 }
@@ -273,7 +264,7 @@ impl LexiconSchema for List {
 
 pub mod list_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -411,10 +402,7 @@ where
     St::Name: list_state::IsUnset,
 {
     /// Set the `name` field (required)
-    pub fn name(
-        mut self,
-        value: impl Into,
-    ) -> ListBuilder> {
+    pub fn name(mut self, value: impl Into) -> ListBuilder> {
         self._fields.3 = Option::Some(value.into());
         ListBuilder {
             _state: PhantomData,
@@ -475,10 +463,10 @@ where
 }
 
 fn lexicon_doc_sh_weaver_graph_list() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("sh.weaver.graph.list"),
@@ -486,28 +474,31 @@ fn lexicon_doc_sh_weaver_graph_list() -> LexiconDoc<'static> {
             let mut map = BTreeMap::new();
             map.insert(
                 SmolStr::new_static("listPurpose"),
-                LexUserType::String(LexString { ..Default::default() }),
+                LexUserType::String(LexString {
+                    ..Default::default()
+                }),
             );
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static("A curated list of notebooks and/or entries."),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "A curated list of notebooks and/or entries.",
+                    )),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("name"), SmolStr::new_static("purpose"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("name"),
+                            SmolStr::new_static("purpose"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
                             map.insert(
                                 SmolStr::new_static("avatar"),
-                                LexObjectProperty::Blob(LexBlob { ..Default::default() }),
+                                LexObjectProperty::Blob(LexBlob {
+                                    ..Default::default()
+                                }),
                             );
                             map.insert(
                                 SmolStr::new_static("createdAt"),
@@ -527,9 +518,9 @@ fn lexicon_doc_sh_weaver_graph_list() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("name"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("Display name for the list."),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Display name for the list.",
+                                    )),
                                     min_length: Some(1usize),
                                     max_length: Some(64usize),
                                     ..Default::default()
@@ -553,4 +544,4 @@ fn lexicon_doc_sh_weaver_graph_list() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/graph/listitem.rs b/crates/jacquard-api/src/sh_weaver/graph/listitem.rs
index 6371e22d..1bfb820b 100644
--- a/crates/jacquard-api/src/sh_weaver/graph/listitem.rs
+++ b/crates/jacquard-api/src/sh_weaver/graph/listitem.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::com_atproto::repo::strong_ref::StrongRef;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::com_atproto::repo::strong_ref::StrongRef;
+use serde::{Deserialize, Serialize};
 /// An item in a list.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -108,7 +108,7 @@ impl LexiconSchema for Listitem {
 
 pub mod listitem_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -274,10 +274,10 @@ where
 }
 
 fn lexicon_doc_sh_weaver_graph_listitem() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("sh.weaver.graph.listitem"),
@@ -289,12 +289,11 @@ fn lexicon_doc_sh_weaver_graph_listitem() -> LexiconDoc<'static> {
                     description: Some(CowStr::new_static("An item in a list.")),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("subject"), SmolStr::new_static("list"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("subject"),
+                            SmolStr::new_static("list"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -308,9 +307,9 @@ fn lexicon_doc_sh_weaver_graph_listitem() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("list"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("Reference to the list record."),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Reference to the list record.",
+                                    )),
                                     format: Some(LexStringFormat::AtUri),
                                     ..Default::default()
                                 }),
@@ -333,4 +332,4 @@ fn lexicon_doc_sh_weaver_graph_listitem() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/graph/subscribe.rs b/crates/jacquard-api/src/sh_weaver/graph/subscribe.rs
index e525500b..23cb157f 100644
--- a/crates/jacquard-api/src/sh_weaver/graph/subscribe.rs
+++ b/crates/jacquard-api/src/sh_weaver/graph/subscribe.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// Request to subscribe to a notebook. Requires acceptance to be active.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -105,7 +105,7 @@ impl LexiconSchema for Subscribe {
 
 pub mod subscribe_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -225,10 +225,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> Subscribe {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> Subscribe {
         Subscribe {
             created_at: self._fields.0.unwrap(),
             notebook: self._fields.1.unwrap(),
@@ -238,10 +235,10 @@ where
 }
 
 fn lexicon_doc_sh_weaver_graph_subscribe() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("sh.weaver.graph.subscribe"),
@@ -250,19 +247,15 @@ fn lexicon_doc_sh_weaver_graph_subscribe() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static(
-                            "Request to subscribe to a notebook. Requires acceptance to be active.",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Request to subscribe to a notebook. Requires acceptance to be active.",
+                    )),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("notebook"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("notebook"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -276,9 +269,9 @@ fn lexicon_doc_sh_weaver_graph_subscribe() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("notebook"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("URI of the notebook to subscribe to."),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "URI of the notebook to subscribe to.",
+                                    )),
                                     format: Some(LexStringFormat::AtUri),
                                     ..Default::default()
                                 }),
@@ -294,4 +287,4 @@ fn lexicon_doc_sh_weaver_graph_subscribe() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/graph/subscribe_accept.rs b/crates/jacquard-api/src/sh_weaver/graph/subscribe_accept.rs
index 0cdce97d..3efa8c03 100644
--- a/crates/jacquard-api/src/sh_weaver/graph/subscribe_accept.rs
+++ b/crates/jacquard-api/src/sh_weaver/graph/subscribe_accept.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::com_atproto::repo::strong_ref::StrongRef;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::com_atproto::repo::strong_ref::StrongRef;
+use serde::{Deserialize, Serialize};
 /// Acceptance of a subscription request.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -106,7 +106,7 @@ impl LexiconSchema for SubscribeAccept {
 
 pub mod subscribe_accept_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -226,10 +226,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> SubscribeAccept {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> SubscribeAccept {
         SubscribeAccept {
             created_at: self._fields.0.unwrap(),
             subscribe: self._fields.1.unwrap(),
@@ -239,10 +236,10 @@ where
 }
 
 fn lexicon_doc_sh_weaver_graph_subscribeAccept() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("sh.weaver.graph.subscribeAccept"),
@@ -251,17 +248,13 @@ fn lexicon_doc_sh_weaver_graph_subscribeAccept() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static("Acceptance of a subscription request."),
-                    ),
+                    description: Some(CowStr::new_static("Acceptance of a subscription request.")),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("subscribe"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("subscribe"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -290,4 +283,4 @@ fn lexicon_doc_sh_weaver_graph_subscribeAccept() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/graph/tag.rs b/crates/jacquard-api/src/sh_weaver/graph/tag.rs
index f93cbbfa..c045345f 100644
--- a/crates/jacquard-api/src/sh_weaver/graph/tag.rs
+++ b/crates/jacquard-api/src/sh_weaver/graph/tag.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::com_atproto::repo::strong_ref::StrongRef;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::com_atproto::repo::strong_ref::StrongRef;
+use serde::{Deserialize, Serialize};
 /// Apply a community tag to a notebook or entry. Can be created by readers, authors, or bots for categorization and discovery.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -130,7 +130,7 @@ impl LexiconSchema for Tag {
 
 pub mod tag_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -293,10 +293,10 @@ where
 }
 
 fn lexicon_doc_sh_weaver_graph_tag() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("sh.weaver.graph.tag"),
@@ -359,4 +359,4 @@ fn lexicon_doc_sh_weaver_graph_tag() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/notebook.rs b/crates/jacquard-api/src/sh_weaver/notebook.rs
index 07a6d6fd..bd6bfbef 100644
--- a/crates/jacquard-api/src/sh_weaver/notebook.rs
+++ b/crates/jacquard-api/src/sh_weaver/notebook.rs
@@ -37,34 +37,36 @@ pub mod search_notebooks;
 pub mod theme;
 pub mod update_reading_progress;
 
-
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::blob::BlobRef;
-use jacquard_common::types::string::{Did, AtUri, Cid, Datetime};
+use jacquard_common::types::string::{AtUri, Cid, Datetime, Did};
 use jacquard_common::types::value::Data;
 use jacquard_derive::{IntoStatic, open_union};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::com_atproto::repo::strong_ref::StrongRef;
 use crate::sh_weaver::actor::ProfileDataView;
 use crate::sh_weaver::actor::ProfileViewBasic;
 use crate::sh_weaver::notebook;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct AuthorListView {
     pub index: i64,
     pub record: ProfileDataView,
@@ -74,9 +76,11 @@ pub struct AuthorListView {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct BookEntryRef {
     pub entry: notebook::EntryView,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
@@ -86,7 +90,10 @@ pub struct BookEntryRef {
 /// An ordered entry in a Weaver notebook.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct BookEntryView {
     pub entry: notebook::EntryView,
     pub index: i64,
@@ -101,7 +108,10 @@ pub struct BookEntryView {
 /// An entry within a chapter context.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ChapterEntryView {
     pub entry: notebook::EntryView,
     pub index: i64,
@@ -116,7 +126,10 @@ pub struct ChapterEntryView {
 /// Hydrated view of a chapter.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ChapterView {
     pub authors: Vec>,
     pub cid: Cid,
@@ -137,7 +150,10 @@ pub struct ChapterView {
 /// The format of the content. This is used to determine how to render the content.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ContentFormat {
     ///The format of the content. This is used to determine how to render the content.  Defaults to `"weaver"`.
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -326,9 +342,7 @@ where
             ContentWarning::Death => ContentWarning::Death,
             ContentWarning::MajorCharacterDeath => ContentWarning::MajorCharacterDeath,
             ContentWarning::SexualContent => ContentWarning::SexualContent,
-            ContentWarning::ExplicitSexualContent => {
-                ContentWarning::ExplicitSexualContent
-            }
+            ContentWarning::ExplicitSexualContent => ContentWarning::ExplicitSexualContent,
             ContentWarning::Language => ContentWarning::Language,
             ContentWarning::SubstanceUse => ContentWarning::SubstanceUse,
             ContentWarning::SelfHarm => ContentWarning::SelfHarm,
@@ -343,7 +357,10 @@ where
 pub type ContentWarnings = Vec>;
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct EntryView {
     pub authors: Vec>,
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -377,7 +394,10 @@ pub struct EntryView {
 /// Entry with feed-specific context (discovery reason, notebook context).
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct FeedEntryView {
     pub entry: notebook::EntryView,
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -391,7 +411,10 @@ pub struct FeedEntryView {
 /// Minimal notebook context for feed display.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct FeedNotebookContext {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub path: Option,
@@ -415,9 +438,11 @@ pub enum FeedReason {
     ReasonSubscription(Box>),
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct NotebookView {
     pub authors: Vec>,
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -455,7 +480,10 @@ pub struct NotebookView {
 /// Hydrated view of a page (entries displayed together).
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct PageView {
     pub cid: Cid,
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -477,7 +505,10 @@ pub type Path = S;
 /// A single permission grant. For resource authority: source=resource URI, grantedAt=createdAt. For invitees: source=invite URI, grantedAt=accept createdAt.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct PermissionGrant {
     pub did: Did,
     ///For authority: record createdAt. For invitees: accept createdAt
@@ -564,9 +595,7 @@ where
         match self {
             PermissionGrantScope::Direct => PermissionGrantScope::Direct,
             PermissionGrantScope::Inherited => PermissionGrantScope::Inherited,
-            PermissionGrantScope::Other(v) => {
-                PermissionGrantScope::Other(v.into_static())
-            }
+            PermissionGrantScope::Other(v) => PermissionGrantScope::Other(v.into_static()),
         }
     }
 }
@@ -574,7 +603,10 @@ where
 /// ACL-style permissions for a resource. Separate from authors (who contributed).
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct PermissionsState {
     ///DIDs that can edit this resource
     pub editors: Vec>,
@@ -588,7 +620,10 @@ pub struct PermissionsState {
 /// A published version of an entry in a collaborator's repo.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct PublishedVersionView {
     pub cid: Cid,
     ///If content differs, the version it diverged from
@@ -609,7 +644,10 @@ pub struct PublishedVersionView {
 /// Viewer's reading progress (appview-side state, not a record).
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ReadingProgress {
     ///Last entry the viewer was reading.
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -628,7 +666,6 @@ pub struct ReadingProgress {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Debug, Clone, PartialEq, Eq, Hash)]
 pub enum ReadingProgressStatus {
     Reading,
@@ -709,16 +746,16 @@ where
             ReadingProgressStatus::Finished => ReadingProgressStatus::Finished,
             ReadingProgressStatus::Abandoned => ReadingProgressStatus::Abandoned,
             ReadingProgressStatus::WantToRead => ReadingProgressStatus::WantToRead,
-            ReadingProgressStatus::Other(v) => {
-                ReadingProgressStatus::Other(v.into_static())
-            }
+            ReadingProgressStatus::Other(v) => ReadingProgressStatus::Other(v.into_static()),
         }
     }
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ReasonBookmark {
     pub by: ProfileViewBasic,
     pub indexed_at: Datetime,
@@ -726,9 +763,11 @@ pub struct ReasonBookmark {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ReasonLike {
     pub by: ProfileViewBasic,
     pub indexed_at: Datetime,
@@ -736,9 +775,11 @@ pub struct ReasonLike {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ReasonSubscription {
     pub indexed_at: Datetime,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
@@ -748,7 +789,10 @@ pub struct ReasonSubscription {
 /// View of a rendered and cached notebook entry
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct RenderedView {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub css: Option>,
@@ -1076,19 +1120,16 @@ impl LexiconSchema for RenderedView {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["text/css"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("css"),
@@ -1116,19 +1157,16 @@ impl LexiconSchema for RenderedView {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["text/html"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("html"),
@@ -1144,7 +1182,7 @@ impl LexiconSchema for RenderedView {
 
 pub mod author_list_view_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1278,10 +1316,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> AuthorListView {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> AuthorListView {
         AuthorListView {
             index: self._fields.0.unwrap(),
             record: self._fields.1.unwrap(),
@@ -1292,10 +1327,10 @@ where
 }
 
 fn lexicon_doc_sh_weaver_notebook_defs() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("sh.weaver.notebook.defs"),
@@ -1304,9 +1339,10 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("authorListView"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![SmolStr::new_static("record"), SmolStr::new_static("index")],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("record"),
+                        SmolStr::new_static("index"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -1319,9 +1355,7 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("record"),
                             LexObjectProperty::Ref(LexRef {
-                                r#ref: CowStr::new_static(
-                                    "sh.weaver.actor.defs#profileDataView",
-                                ),
+                                r#ref: CowStr::new_static("sh.weaver.actor.defs#profileDataView"),
                                 ..Default::default()
                             }),
                         );
@@ -1359,12 +1393,11 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("bookEntryView"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("An ordered entry in a Weaver notebook."),
-                    ),
-                    required: Some(
-                        vec![SmolStr::new_static("entry"), SmolStr::new_static("index")],
-                    ),
+                    description: Some(CowStr::new_static("An ordered entry in a Weaver notebook.")),
+                    required: Some(vec![
+                        SmolStr::new_static("entry"),
+                        SmolStr::new_static("index"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -1403,12 +1436,11 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("chapterEntryView"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("An entry within a chapter context."),
-                    ),
-                    required: Some(
-                        vec![SmolStr::new_static("entry"), SmolStr::new_static("index")],
-                    ),
+                    description: Some(CowStr::new_static("An entry within a chapter context.")),
+                    required: Some(vec![
+                        SmolStr::new_static("entry"),
+                        SmolStr::new_static("index"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -1448,15 +1480,14 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> LexiconDoc<'static> {
                 SmolStr::new_static("chapterView"),
                 LexUserType::Object(LexObject {
                     description: Some(CowStr::new_static("Hydrated view of a chapter.")),
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("uri"), SmolStr::new_static("cid"),
-                            SmolStr::new_static("notebook"),
-                            SmolStr::new_static("authors"),
-                            SmolStr::new_static("record"),
-                            SmolStr::new_static("indexedAt")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("uri"),
+                        SmolStr::new_static("cid"),
+                        SmolStr::new_static("notebook"),
+                        SmolStr::new_static("authors"),
+                        SmolStr::new_static("record"),
+                        SmolStr::new_static("indexedAt"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -1559,18 +1590,14 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("contentRating"),
                 LexUserType::String(LexString {
-                    description: Some(
-                        CowStr::new_static("Author-applied content rating."),
-                    ),
+                    description: Some(CowStr::new_static("Author-applied content rating.")),
                     ..Default::default()
                 }),
             );
             map.insert(
                 SmolStr::new_static("contentWarning"),
                 LexUserType::String(LexString {
-                    description: Some(
-                        CowStr::new_static("Author-applied content warning."),
-                    ),
+                    description: Some(CowStr::new_static("Author-applied content warning.")),
                     ..Default::default()
                 }),
             );
@@ -1588,14 +1615,13 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("entryView"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("uri"), SmolStr::new_static("cid"),
-                            SmolStr::new_static("authors"),
-                            SmolStr::new_static("record"),
-                            SmolStr::new_static("indexedAt")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("uri"),
+                        SmolStr::new_static("cid"),
+                        SmolStr::new_static("authors"),
+                        SmolStr::new_static("record"),
+                        SmolStr::new_static("indexedAt"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -1712,11 +1738,9 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("feedEntryView"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static(
-                            "Entry with feed-specific context (discovery reason, notebook context).",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Entry with feed-specific context (discovery reason, notebook context).",
+                    )),
                     required: Some(vec![SmolStr::new_static("entry")]),
                     properties: {
                         #[allow(unused_mut)]
@@ -1750,22 +1774,27 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("feedNotebookContext"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("Minimal notebook context for feed display."),
-                    ),
-                    required: Some(
-                        vec![SmolStr::new_static("uri"), SmolStr::new_static("title")],
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Minimal notebook context for feed display.",
+                    )),
+                    required: Some(vec![
+                        SmolStr::new_static("uri"),
+                        SmolStr::new_static("title"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("path"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("title"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("uri"),
@@ -1785,7 +1814,7 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> LexiconDoc<'static> {
                     refs: vec![
                         CowStr::new_static("#reasonLike"),
                         CowStr::new_static("#reasonBookmark"),
-                        CowStr::new_static("#reasonSubscription")
+                        CowStr::new_static("#reasonSubscription"),
                     ],
                     ..Default::default()
                 }),
@@ -1793,14 +1822,13 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("notebookView"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("uri"), SmolStr::new_static("cid"),
-                            SmolStr::new_static("authors"),
-                            SmolStr::new_static("record"),
-                            SmolStr::new_static("indexedAt")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("uri"),
+                        SmolStr::new_static("cid"),
+                        SmolStr::new_static("authors"),
+                        SmolStr::new_static("record"),
+                        SmolStr::new_static("indexedAt"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -1929,19 +1957,16 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("pageView"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static(
-                            "Hydrated view of a page (entries displayed together).",
-                        ),
-                    ),
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("uri"), SmolStr::new_static("cid"),
-                            SmolStr::new_static("notebook"),
-                            SmolStr::new_static("record"),
-                            SmolStr::new_static("indexedAt")
-                        ],
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Hydrated view of a page (entries displayed together).",
+                    )),
+                    required: Some(vec![
+                        SmolStr::new_static("uri"),
+                        SmolStr::new_static("cid"),
+                        SmolStr::new_static("notebook"),
+                        SmolStr::new_static("record"),
+                        SmolStr::new_static("indexedAt"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -2123,18 +2148,15 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("publishedVersionView"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static(
-                            "A published version of an entry in a collaborator's repo.",
-                        ),
-                    ),
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("uri"), SmolStr::new_static("cid"),
-                            SmolStr::new_static("publisher"),
-                            SmolStr::new_static("publishedAt")
-                        ],
-                    ),
+                    description: Some(CowStr::new_static(
+                        "A published version of an entry in a collaborator's repo.",
+                    )),
+                    required: Some(vec![
+                        SmolStr::new_static("uri"),
+                        SmolStr::new_static("cid"),
+                        SmolStr::new_static("publisher"),
+                        SmolStr::new_static("publishedAt"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -2168,9 +2190,7 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("publisher"),
                             LexObjectProperty::Ref(LexRef {
-                                r#ref: CowStr::new_static(
-                                    "sh.weaver.actor.defs#profileViewBasic",
-                                ),
+                                r#ref: CowStr::new_static("sh.weaver.actor.defs#profileViewBasic"),
                                 ..Default::default()
                             }),
                         );
@@ -2196,20 +2216,18 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("readingProgress"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static(
-                            "Viewer's reading progress (appview-side state, not a record).",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Viewer's reading progress (appview-side state, not a record).",
+                    )),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("currentEntry"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("Last entry the viewer was reading."),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Last entry the viewer was reading.",
+                                )),
                                 format: Some(LexStringFormat::AtUri),
                                 ..Default::default()
                             }),
@@ -2245,7 +2263,9 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> LexiconDoc<'static> {
                         );
                         map.insert(
                             SmolStr::new_static("status"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map
                     },
@@ -2255,18 +2275,17 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("reasonBookmark"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![SmolStr::new_static("by"), SmolStr::new_static("indexedAt")],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("by"),
+                        SmolStr::new_static("indexedAt"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("by"),
                             LexObjectProperty::Ref(LexRef {
-                                r#ref: CowStr::new_static(
-                                    "sh.weaver.actor.defs#profileViewBasic",
-                                ),
+                                r#ref: CowStr::new_static("sh.weaver.actor.defs#profileViewBasic"),
                                 ..Default::default()
                             }),
                         );
@@ -2285,18 +2304,17 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("reasonLike"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![SmolStr::new_static("by"), SmolStr::new_static("indexedAt")],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("by"),
+                        SmolStr::new_static("indexedAt"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("by"),
                             LexObjectProperty::Ref(LexRef {
-                                r#ref: CowStr::new_static(
-                                    "sh.weaver.actor.defs#profileViewBasic",
-                                ),
+                                r#ref: CowStr::new_static("sh.weaver.actor.defs#profileViewBasic"),
                                 ..Default::default()
                             }),
                         );
@@ -2334,22 +2352,24 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("renderedView"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static(
-                            "View of a rendered and cached notebook entry",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "View of a rendered and cached notebook entry",
+                    )),
                     required: Some(vec![SmolStr::new_static("html")]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("css"),
-                            LexObjectProperty::Blob(LexBlob { ..Default::default() }),
+                            LexObjectProperty::Blob(LexBlob {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("html"),
-                            LexObjectProperty::Blob(LexBlob { ..Default::default() }),
+                            LexObjectProperty::Blob(LexBlob {
+                                ..Default::default()
+                            }),
                         );
                         map
                     },
@@ -2370,9 +2390,7 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("title"),
                 LexUserType::String(LexString {
-                    description: Some(
-                        CowStr::new_static("The title of the notebook entry."),
-                    ),
+                    description: Some(CowStr::new_static("The title of the notebook entry.")),
                     max_length: Some(300usize),
                     ..Default::default()
                 }),
@@ -2385,7 +2403,7 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> LexiconDoc<'static> {
 
 pub mod book_entry_ref_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -2472,10 +2490,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> BookEntryRef {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> BookEntryRef {
         BookEntryRef {
             entry: self._fields.0.unwrap(),
             extra_data: Some(extra_data),
@@ -2485,7 +2500,7 @@ where
 
 pub mod book_entry_view_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -2638,10 +2653,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> BookEntryView {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> BookEntryView {
         BookEntryView {
             entry: self._fields.0.unwrap(),
             index: self._fields.1.unwrap(),
@@ -2654,7 +2666,7 @@ where
 
 pub mod chapter_entry_view_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -2807,10 +2819,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> ChapterEntryView {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> ChapterEntryView {
         ChapterEntryView {
             entry: self._fields.0.unwrap(),
             index: self._fields.1.unwrap(),
@@ -2823,7 +2832,7 @@ where
 
 pub mod chapter_view_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -3147,10 +3156,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> ChapterView {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> ChapterView {
         ChapterView {
             authors: self._fields.0.unwrap(),
             cid: self._fields.1.unwrap(),
@@ -3181,7 +3187,7 @@ impl Default for ContentFormat {
 
 pub mod entry_view_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -3307,20 +3313,7 @@ impl EntryViewBuilder {
         EntryViewBuilder {
             _state: PhantomData,
             _fields: (
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
+                None, None, None, None, None, None, None, None, None, None, None, None, None, None,
                 None,
             ),
             _type: PhantomData,
@@ -3426,18 +3419,12 @@ impl EntryViewBuilder {
 
 impl EntryViewBuilder {
     /// Set the `permissions` field (optional)
-    pub fn permissions(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn permissions(mut self, value: impl Into>>) -> Self {
         self._fields.6 = value.into();
         self
     }
     /// Set the `permissions` field to an Option value (optional)
-    pub fn maybe_permissions(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_permissions(mut self, value: Option>) -> Self {
         self._fields.6 = value;
         self
     }
@@ -3464,18 +3451,12 @@ where
 
 impl EntryViewBuilder {
     /// Set the `renderedView` field (optional)
-    pub fn rendered_view(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn rendered_view(mut self, value: impl Into>>) -> Self {
         self._fields.8 = value.into();
         self
     }
     /// Set the `renderedView` field to an Option value (optional)
-    pub fn maybe_rendered_view(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_rendered_view(mut self, value: Option>) -> Self {
         self._fields.8 = value;
         self
     }
@@ -3602,10 +3583,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> EntryView {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> EntryView {
         EntryView {
             authors: self._fields.0.unwrap(),
             bookmark_count: self._fields.1,
@@ -3629,7 +3607,7 @@ where
 
 pub mod feed_entry_view_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -3754,10 +3732,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> FeedEntryView {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> FeedEntryView {
         FeedEntryView {
             entry: self._fields.0.unwrap(),
             notebook_context: self._fields.1,
@@ -3769,7 +3744,7 @@ where
 
 pub mod feed_notebook_context_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -3812,10 +3787,7 @@ pub mod feed_notebook_context_state {
 }
 
 /// Builder for constructing an instance of this type.
-pub struct FeedNotebookContextBuilder<
-    S: BosStr,
-    St: feed_notebook_context_state::State,
-> {
+pub struct FeedNotebookContextBuilder {
     _state: PhantomData St>,
     _fields: (Option, Option, Option>),
     _type: PhantomData S>,
@@ -3839,10 +3811,7 @@ impl FeedNotebookContextBuilder FeedNotebookContextBuilder {
+impl FeedNotebookContextBuilder {
     /// Set the `path` field (optional)
     pub fn path(mut self, value: impl Into>) -> Self {
         self._fields.0 = value.into();
@@ -3909,10 +3878,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> FeedNotebookContext {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> FeedNotebookContext {
         FeedNotebookContext {
             path: self._fields.0,
             title: self._fields.1.unwrap(),
@@ -3924,7 +3890,7 @@ where
 
 pub mod notebook_view_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -4052,23 +4018,8 @@ impl NotebookViewBuilder {
         NotebookViewBuilder {
             _state: PhantomData,
             _fields: (
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
+                None, None, None, None, None, None, None, None, None, None, None, None, None, None,
+                None, None, None,
             ),
             _type: PhantomData,
         }
@@ -4186,18 +4137,12 @@ impl NotebookViewBuilder {
 
 impl NotebookViewBuilder {
     /// Set the `permissions` field (optional)
-    pub fn permissions(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn permissions(mut self, value: impl Into>>) -> Self {
         self._fields.7 = value.into();
         self
     }
     /// Set the `permissions` field to an Option value (optional)
-    pub fn maybe_permissions(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_permissions(mut self, value: Option>) -> Self {
         self._fields.7 = value;
         self
     }
@@ -4371,10 +4316,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> NotebookView {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> NotebookView {
         NotebookView {
             authors: self._fields.0.unwrap(),
             bookmark_count: self._fields.1,
@@ -4400,7 +4342,7 @@ where
 
 pub mod page_view_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -4699,7 +4641,7 @@ where
 
 pub mod permission_grant_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -4896,10 +4838,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> PermissionGrant {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> PermissionGrant {
         PermissionGrant {
             did: self._fields.0.unwrap(),
             granted_at: self._fields.1.unwrap(),
@@ -4912,7 +4851,7 @@ where
 
 pub mod permissions_state_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -4991,18 +4930,12 @@ where
 
 impl PermissionsStateBuilder {
     /// Set the `viewers` field (optional)
-    pub fn viewers(
-        mut self,
-        value: impl Into>>>,
-    ) -> Self {
+    pub fn viewers(mut self, value: impl Into>>>) -> Self {
         self._fields.1 = value.into();
         self
     }
     /// Set the `viewers` field to an Option value (optional)
-    pub fn maybe_viewers(
-        mut self,
-        value: Option>>,
-    ) -> Self {
+    pub fn maybe_viewers(mut self, value: Option>>) -> Self {
         self._fields.1 = value;
         self
     }
@@ -5022,10 +4955,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> PermissionsState {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> PermissionsState {
         PermissionsState {
             editors: self._fields.0.unwrap(),
             viewers: self._fields.1,
@@ -5036,7 +4966,7 @@ where
 
 pub mod published_version_view_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -5109,10 +5039,7 @@ pub mod published_version_view_state {
 }
 
 /// Builder for constructing an instance of this type.
-pub struct PublishedVersionViewBuilder<
-    S: BosStr,
-    St: published_version_view_state::State,
-> {
+pub struct PublishedVersionViewBuilder {
     _state: PhantomData St>,
     _fields: (
         Option>,
@@ -5163,10 +5090,7 @@ where
     }
 }
 
-impl<
-    S: BosStr,
-    St: published_version_view_state::State,
-> PublishedVersionViewBuilder {
+impl PublishedVersionViewBuilder {
     /// Set the `divergedFrom` field (optional)
     pub fn diverged_from(mut self, value: impl Into>>) -> Self {
         self._fields.1 = value.into();
@@ -5179,10 +5103,7 @@ impl<
     }
 }
 
-impl<
-    S: BosStr,
-    St: published_version_view_state::State,
-> PublishedVersionViewBuilder {
+impl PublishedVersionViewBuilder {
     /// Set the `isCanonical` field (optional)
     pub fn is_canonical(mut self, value: impl Into>) -> Self {
         self._fields.2 = value.into();
@@ -5204,10 +5125,7 @@ where
     pub fn published_at(
         mut self,
         value: impl Into,
-    ) -> PublishedVersionViewBuilder<
-        S,
-        published_version_view_state::SetPublishedAt,
-    > {
+    ) -> PublishedVersionViewBuilder> {
         self._fields.3 = Option::Some(value.into());
         PublishedVersionViewBuilder {
             _state: PhantomData,
@@ -5236,10 +5154,7 @@ where
     }
 }
 
-impl<
-    S: BosStr,
-    St: published_version_view_state::State,
-> PublishedVersionViewBuilder {
+impl PublishedVersionViewBuilder {
     /// Set the `updatedAt` field (optional)
     pub fn updated_at(mut self, value: impl Into>) -> Self {
         self._fields.5 = value.into();
@@ -5312,7 +5227,7 @@ where
 
 pub mod reason_bookmark_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -5432,10 +5347,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> ReasonBookmark {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> ReasonBookmark {
         ReasonBookmark {
             by: self._fields.0.unwrap(),
             indexed_at: self._fields.1.unwrap(),
@@ -5446,7 +5358,7 @@ where
 
 pub mod reason_like_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -5566,10 +5478,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> ReasonLike {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> ReasonLike {
         ReasonLike {
             by: self._fields.0.unwrap(),
             indexed_at: self._fields.1.unwrap(),
@@ -5580,7 +5489,7 @@ where
 
 pub mod reason_subscription_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -5667,10 +5576,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> ReasonSubscription {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> ReasonSubscription {
         ReasonSubscription {
             indexed_at: self._fields.0.unwrap(),
             extra_data: Some(extra_data),
@@ -5680,7 +5586,7 @@ where
 
 pub mod rendered_view_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -5781,14 +5687,11 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> RenderedView {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> RenderedView {
         RenderedView {
             css: self._fields.0,
             html: self._fields.1.unwrap(),
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/notebook/authors.rs b/crates/jacquard-api/src/sh_weaver/notebook/authors.rs
index 8abcb8d9..ca2b0acd 100644
--- a/crates/jacquard-api/src/sh_weaver/notebook/authors.rs
+++ b/crates/jacquard-api/src/sh_weaver/notebook/authors.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,16 +24,19 @@ use jacquard_derive::{IntoStatic, lexicon, open_union};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::app_bsky::actor::ProfileViewBasic;
 use crate::sh_weaver::actor::ProfileView;
 use crate::sh_weaver::notebook::authors;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// A single author in a Weaver notebook.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct AuthorListItem {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub index: Option,
@@ -43,7 +46,6 @@ pub struct AuthorListItem {
     pub extra_data: Option>>,
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -147,7 +149,7 @@ impl LexiconSchema for Authors {
 
 pub mod author_list_item_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -217,10 +219,7 @@ impl AuthorListItemBuilder
 
 impl AuthorListItemBuilder {
     /// Set the `profile` field (optional)
-    pub fn profile(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn profile(mut self, value: impl Into>>) -> Self {
         self._fields.1 = value.into();
         self
     }
@@ -245,10 +244,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> AuthorListItem {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> AuthorListItem {
         AuthorListItem {
             index: self._fields.0,
             profile: self._fields.1,
@@ -258,10 +254,10 @@ where
 }
 
 fn lexicon_doc_sh_weaver_notebook_authors() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("sh.weaver.notebook.authors"),
@@ -270,9 +266,7 @@ fn lexicon_doc_sh_weaver_notebook_authors() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("authorListItem"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("A single author in a Weaver notebook."),
-                    ),
+                    description: Some(CowStr::new_static("A single author in a Weaver notebook.")),
                     required: Some(vec![SmolStr::new_static("profile, index")]),
                     properties: {
                         #[allow(unused_mut)]
@@ -288,7 +282,7 @@ fn lexicon_doc_sh_weaver_notebook_authors() -> LexiconDoc<'static> {
                             LexObjectProperty::Union(LexRefUnion {
                                 refs: vec![
                                     CowStr::new_static("app.bsky.actor.defs#profileViewBasic"),
-                                    CowStr::new_static("sh.weaver.actor.defs#profileView")
+                                    CowStr::new_static("sh.weaver.actor.defs#profileView"),
                                 ],
                                 ..Default::default()
                             }),
@@ -301,9 +295,7 @@ fn lexicon_doc_sh_weaver_notebook_authors() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static("Authors of a Weaver notebook."),
-                    ),
+                    description: Some(CowStr::new_static("Authors of a Weaver notebook.")),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
                         required: Some(vec![SmolStr::new_static("authorList")]),
@@ -342,7 +334,7 @@ fn lexicon_doc_sh_weaver_notebook_authors() -> LexiconDoc<'static> {
 
 pub mod authors_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -450,4 +442,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/notebook/book.rs b/crates/jacquard-api/src/sh_weaver/notebook/book.rs
index fb207d74..f41aa608 100644
--- a/crates/jacquard-api/src/sh_weaver/notebook/book.rs
+++ b/crates/jacquard-api/src/sh_weaver/notebook/book.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,9 +24,6 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::com_atproto::repo::strong_ref::StrongRef;
 use crate::sh_weaver::actor::Author;
 use crate::sh_weaver::notebook::ContentRating;
@@ -34,6 +31,9 @@ use crate::sh_weaver::notebook::ContentWarnings;
 use crate::sh_weaver::notebook::Path;
 use crate::sh_weaver::notebook::Tags;
 use crate::sh_weaver::notebook::Title;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// Authors of a Weaver notebook.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -132,7 +132,7 @@ impl LexiconSchema for Book {
 
 pub mod book_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -205,7 +205,9 @@ impl BookBuilder {
     pub fn new() -> Self {
         BookBuilder {
             _state: PhantomData,
-            _fields: (None, None, None, None, None, None, None, None, None, None, None),
+            _fields: (
+                None, None, None, None, None, None, None, None, None, None, None,
+            ),
             _type: PhantomData,
         }
     }
@@ -232,10 +234,7 @@ where
 
 impl BookBuilder {
     /// Set the `contentWarnings` field (optional)
-    pub fn content_warnings(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn content_warnings(mut self, value: impl Into>>) -> Self {
         self._fields.1 = value.into();
         self
     }
@@ -412,10 +411,10 @@ where
 }
 
 fn lexicon_doc_sh_weaver_notebook_book() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("sh.weaver.notebook.book"),
@@ -545,4 +544,4 @@ fn lexicon_doc_sh_weaver_notebook_book() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/notebook/chapter.rs b/crates/jacquard-api/src/sh_weaver/notebook/chapter.rs
index d0484bb0..cd882341 100644
--- a/crates/jacquard-api/src/sh_weaver/notebook/chapter.rs
+++ b/crates/jacquard-api/src/sh_weaver/notebook/chapter.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,15 +24,15 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::com_atproto::repo::strong_ref::StrongRef;
 use crate::sh_weaver::actor::Author;
 use crate::sh_weaver::notebook::ContentRating;
 use crate::sh_weaver::notebook::ContentWarnings;
 use crate::sh_weaver::notebook::Tags;
 use crate::sh_weaver::notebook::Title;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// A grouping of entries in a notebook.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -123,7 +123,7 @@ impl LexiconSchema for Chapter {
 
 pub mod chapter_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -234,10 +234,7 @@ where
 
 impl ChapterBuilder {
     /// Set the `contentWarnings` field (optional)
-    pub fn content_warnings(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn content_warnings(mut self, value: impl Into>>) -> Self {
         self._fields.1 = value.into();
         self
     }
@@ -376,10 +373,10 @@ where
 }
 
 fn lexicon_doc_sh_weaver_notebook_chapter() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("sh.weaver.notebook.chapter"),
@@ -485,4 +482,4 @@ fn lexicon_doc_sh_weaver_notebook_chapter() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/notebook/colour_scheme.rs b/crates/jacquard-api/src/sh_weaver/notebook/colour_scheme.rs
index b24b3569..5a238150 100644
--- a/crates/jacquard-api/src/sh_weaver/notebook/colour_scheme.rs
+++ b/crates/jacquard-api/src/sh_weaver/notebook/colour_scheme.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// A colour palette for notebook theming
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -46,9 +46,11 @@ pub struct ColourScheme {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ColourSchemeColours {
     ///Primary background for page/frame
     pub base: S,
@@ -161,10 +163,10 @@ impl LexiconSchema for ColourSchemeColours {
 }
 
 fn lexicon_doc_sh_weaver_notebook_colourScheme() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("sh.weaver.notebook.colourScheme"),
@@ -173,185 +175,182 @@ fn lexicon_doc_sh_weaver_notebook_colourScheme() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static("A colour palette for notebook theming"),
-                    ),
+                    description: Some(CowStr::new_static("A colour palette for notebook theming")),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("name"), SmolStr::new_static("variant"),
-                                SmolStr::new_static("colours")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("name"),
+                            SmolStr::new_static("variant"),
+                            SmolStr::new_static("colours"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
                             map.insert(
                                 SmolStr::new_static("colours"),
                                 LexObjectProperty::Object(LexObject {
-                                    required: Some(
-                                        vec![
-                                            SmolStr::new_static("base"), SmolStr::new_static("surface"),
-                                            SmolStr::new_static("overlay"), SmolStr::new_static("text"),
-                                            SmolStr::new_static("muted"), SmolStr::new_static("subtle"),
-                                            SmolStr::new_static("emphasis"),
-                                            SmolStr::new_static("primary"),
-                                            SmolStr::new_static("secondary"),
-                                            SmolStr::new_static("tertiary"),
-                                            SmolStr::new_static("error"),
-                                            SmolStr::new_static("warning"),
-                                            SmolStr::new_static("success"),
-                                            SmolStr::new_static("border"), SmolStr::new_static("link"),
-                                            SmolStr::new_static("highlight")
-                                        ],
-                                    ),
+                                    required: Some(vec![
+                                        SmolStr::new_static("base"),
+                                        SmolStr::new_static("surface"),
+                                        SmolStr::new_static("overlay"),
+                                        SmolStr::new_static("text"),
+                                        SmolStr::new_static("muted"),
+                                        SmolStr::new_static("subtle"),
+                                        SmolStr::new_static("emphasis"),
+                                        SmolStr::new_static("primary"),
+                                        SmolStr::new_static("secondary"),
+                                        SmolStr::new_static("tertiary"),
+                                        SmolStr::new_static("error"),
+                                        SmolStr::new_static("warning"),
+                                        SmolStr::new_static("success"),
+                                        SmolStr::new_static("border"),
+                                        SmolStr::new_static("link"),
+                                        SmolStr::new_static("highlight"),
+                                    ]),
                                     properties: {
                                         #[allow(unused_mut)]
                                         let mut map = BTreeMap::new();
                                         map.insert(
                                             SmolStr::new_static("base"),
                                             LexObjectProperty::String(LexString {
-                                                description: Some(
-                                                    CowStr::new_static("Primary background for page/frame"),
-                                                ),
+                                                description: Some(CowStr::new_static(
+                                                    "Primary background for page/frame",
+                                                )),
                                                 ..Default::default()
                                             }),
                                         );
                                         map.insert(
                                             SmolStr::new_static("border"),
                                             LexObjectProperty::String(LexString {
-                                                description: Some(
-                                                    CowStr::new_static("Border/divider colour"),
-                                                ),
+                                                description: Some(CowStr::new_static(
+                                                    "Border/divider colour",
+                                                )),
                                                 ..Default::default()
                                             }),
                                         );
                                         map.insert(
                                             SmolStr::new_static("emphasis"),
                                             LexObjectProperty::String(LexString {
-                                                description: Some(
-                                                    CowStr::new_static("Emphasized text (bold, important)"),
-                                                ),
+                                                description: Some(CowStr::new_static(
+                                                    "Emphasized text (bold, important)",
+                                                )),
                                                 ..Default::default()
                                             }),
                                         );
                                         map.insert(
                                             SmolStr::new_static("error"),
                                             LexObjectProperty::String(LexString {
-                                                description: Some(CowStr::new_static("Error state colour")),
+                                                description: Some(CowStr::new_static(
+                                                    "Error state colour",
+                                                )),
                                                 ..Default::default()
                                             }),
                                         );
                                         map.insert(
                                             SmolStr::new_static("highlight"),
                                             LexObjectProperty::String(LexString {
-                                                description: Some(
-                                                    CowStr::new_static("Selection/highlight colour"),
-                                                ),
+                                                description: Some(CowStr::new_static(
+                                                    "Selection/highlight colour",
+                                                )),
                                                 ..Default::default()
                                             }),
                                         );
                                         map.insert(
                                             SmolStr::new_static("link"),
                                             LexObjectProperty::String(LexString {
-                                                description: Some(CowStr::new_static("Hyperlink colour")),
+                                                description: Some(CowStr::new_static(
+                                                    "Hyperlink colour",
+                                                )),
                                                 ..Default::default()
                                             }),
                                         );
                                         map.insert(
                                             SmolStr::new_static("muted"),
                                             LexObjectProperty::String(LexString {
-                                                description: Some(
-                                                    CowStr::new_static(
-                                                        "De-emphasized text (disabled, metadata)",
-                                                    ),
-                                                ),
+                                                description: Some(CowStr::new_static(
+                                                    "De-emphasized text (disabled, metadata)",
+                                                )),
                                                 ..Default::default()
                                             }),
                                         );
                                         map.insert(
                                             SmolStr::new_static("overlay"),
                                             LexObjectProperty::String(LexString {
-                                                description: Some(
-                                                    CowStr::new_static(
-                                                        "Tertiary background for popovers/dialogs",
-                                                    ),
-                                                ),
+                                                description: Some(CowStr::new_static(
+                                                    "Tertiary background for popovers/dialogs",
+                                                )),
                                                 ..Default::default()
                                             }),
                                         );
                                         map.insert(
                                             SmolStr::new_static("primary"),
                                             LexObjectProperty::String(LexString {
-                                                description: Some(
-                                                    CowStr::new_static("Primary brand/accent colour"),
-                                                ),
+                                                description: Some(CowStr::new_static(
+                                                    "Primary brand/accent colour",
+                                                )),
                                                 ..Default::default()
                                             }),
                                         );
                                         map.insert(
                                             SmolStr::new_static("secondary"),
                                             LexObjectProperty::String(LexString {
-                                                description: Some(
-                                                    CowStr::new_static("Secondary accent colour"),
-                                                ),
+                                                description: Some(CowStr::new_static(
+                                                    "Secondary accent colour",
+                                                )),
                                                 ..Default::default()
                                             }),
                                         );
                                         map.insert(
                                             SmolStr::new_static("subtle"),
                                             LexObjectProperty::String(LexString {
-                                                description: Some(
-                                                    CowStr::new_static(
-                                                        "Medium emphasis text (comments, labels)",
-                                                    ),
-                                                ),
+                                                description: Some(CowStr::new_static(
+                                                    "Medium emphasis text (comments, labels)",
+                                                )),
                                                 ..Default::default()
                                             }),
                                         );
                                         map.insert(
                                             SmolStr::new_static("success"),
                                             LexObjectProperty::String(LexString {
-                                                description: Some(
-                                                    CowStr::new_static("Success state colour"),
-                                                ),
+                                                description: Some(CowStr::new_static(
+                                                    "Success state colour",
+                                                )),
                                                 ..Default::default()
                                             }),
                                         );
                                         map.insert(
                                             SmolStr::new_static("surface"),
                                             LexObjectProperty::String(LexString {
-                                                description: Some(
-                                                    CowStr::new_static("Secondary background for panels/cards"),
-                                                ),
+                                                description: Some(CowStr::new_static(
+                                                    "Secondary background for panels/cards",
+                                                )),
                                                 ..Default::default()
                                             }),
                                         );
                                         map.insert(
                                             SmolStr::new_static("tertiary"),
                                             LexObjectProperty::String(LexString {
-                                                description: Some(
-                                                    CowStr::new_static("Tertiary accent colour"),
-                                                ),
+                                                description: Some(CowStr::new_static(
+                                                    "Tertiary accent colour",
+                                                )),
                                                 ..Default::default()
                                             }),
                                         );
                                         map.insert(
                                             SmolStr::new_static("text"),
                                             LexObjectProperty::String(LexString {
-                                                description: Some(
-                                                    CowStr::new_static("Primary readable text colour"),
-                                                ),
+                                                description: Some(CowStr::new_static(
+                                                    "Primary readable text colour",
+                                                )),
                                                 ..Default::default()
                                             }),
                                         );
                                         map.insert(
                                             SmolStr::new_static("warning"),
                                             LexObjectProperty::String(LexString {
-                                                description: Some(
-                                                    CowStr::new_static("Warning state colour"),
-                                                ),
+                                                description: Some(CowStr::new_static(
+                                                    "Warning state colour",
+                                                )),
                                                 ..Default::default()
                                             }),
                                         );
@@ -363,22 +362,18 @@ fn lexicon_doc_sh_weaver_notebook_colourScheme() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("name"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "Human-readable name for the colour scheme",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Human-readable name for the colour scheme",
+                                    )),
                                     ..Default::default()
                                 }),
                             );
                             map.insert(
                                 SmolStr::new_static("variant"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "Whether this is a dark or light colour scheme",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Whether this is a dark or light colour scheme",
+                                    )),
                                     ..Default::default()
                                 }),
                             );
@@ -397,7 +392,7 @@ fn lexicon_doc_sh_weaver_notebook_colourScheme() -> LexiconDoc<'static> {
 
 pub mod colour_scheme_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -552,10 +547,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> ColourScheme {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> ColourScheme {
         ColourScheme {
             colours: self._fields.0.unwrap(),
             name: self._fields.1.unwrap(),
@@ -563,4 +555,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/notebook/entry.rs b/crates/jacquard-api/src/sh_weaver/notebook/entry.rs
index 6a9ef66a..84d6725a 100644
--- a/crates/jacquard-api/src/sh_weaver/notebook/entry.rs
+++ b/crates/jacquard-api/src/sh_weaver/notebook/entry.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,15 +24,15 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::sh_weaver::actor::Author;
 use crate::sh_weaver::notebook::ContentRating;
 use crate::sh_weaver::notebook::ContentWarnings;
 use crate::sh_weaver::notebook::Path;
 use crate::sh_weaver::notebook::Tags;
 use crate::sh_weaver::notebook::Title;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// A notebook entry
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -70,7 +70,10 @@ pub struct Entry {
 /// The set of images and records, if any, embedded in the notebook entry.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct EntryEmbeds {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub externals: Option>,
@@ -79,9 +82,8 @@ pub struct EntryEmbeds {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub records: Option>,
     #[serde(skip_serializing_if = "Option::is_none")]
-    pub records_with_media: Option<
-        Vec>,
-    >,
+    pub records_with_media:
+        Option>>,
     #[serde(skip_serializing_if = "Option::is_none")]
     pub videos: Option>,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
@@ -163,10 +165,10 @@ impl LexiconSchema for EntryEmbeds {
 }
 
 fn lexicon_doc_sh_weaver_notebook_entry() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("sh.weaver.notebook.entry"),
@@ -343,7 +345,7 @@ fn lexicon_doc_sh_weaver_notebook_entry() -> LexiconDoc<'static> {
 
 pub mod entry_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -470,10 +472,7 @@ where
     St::Content: entry_state::IsUnset,
 {
     /// Set the `content` field (required)
-    pub fn content(
-        mut self,
-        value: impl Into,
-    ) -> EntryBuilder> {
+    pub fn content(mut self, value: impl Into) -> EntryBuilder> {
         self._fields.1 = Option::Some(value.into());
         EntryBuilder {
             _state: PhantomData,
@@ -485,10 +484,7 @@ where
 
 impl EntryBuilder {
     /// Set the `contentWarnings` field (optional)
-    pub fn content_warnings(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn content_warnings(mut self, value: impl Into>>) -> Self {
         self._fields.2 = value.into();
         self
     }
@@ -537,10 +533,7 @@ where
     St::Path: entry_state::IsUnset,
 {
     /// Set the `path` field (required)
-    pub fn path(
-        mut self,
-        value: impl Into>,
-    ) -> EntryBuilder> {
+    pub fn path(mut self, value: impl Into>) -> EntryBuilder> {
         self._fields.5 = Option::Some(value.into());
         EntryBuilder {
             _state: PhantomData,
@@ -648,4 +641,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/notebook/get_book_entry.rs b/crates/jacquard-api/src/sh_weaver/notebook/get_book_entry.rs
index 24c2409a..5946f2c1 100644
--- a/crates/jacquard-api/src/sh_weaver/notebook/get_book_entry.rs
+++ b/crates/jacquard-api/src/sh_weaver/notebook/get_book_entry.rs
@@ -8,18 +8,21 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::sh_weaver::notebook::BookEntryView;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::AtUri;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::{IntoStatic, open_union};
-use serde::{Serialize, Deserialize};
-use crate::sh_weaver::notebook::BookEntryView;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetBookEntry {
     ///Defaults to `0`. Min: 0.
     #[serde(default = "_default_index")]
@@ -28,9 +31,11 @@ pub struct GetBookEntry {
     pub notebook: AtUri,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetBookEntryOutput {
     #[serde(flatten)]
     pub value: BookEntryView,
@@ -38,18 +43,9 @@ pub struct GetBookEntryOutput {
     pub extra_data: Option>>,
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum GetBookEntryError {
     #[serde(rename = "NotebookNotFound")]
@@ -58,7 +54,10 @@ pub enum GetBookEntryError {
     EntryNotFound(Option),
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for GetBookEntryError {
@@ -119,7 +118,7 @@ fn _default_index() -> Option {
 
 pub mod get_book_entry_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -218,4 +217,4 @@ where
             notebook: self._fields.1.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/notebook/get_chapter.rs b/crates/jacquard-api/src/sh_weaver/notebook/get_chapter.rs
index d01dfdd9..b662bc30 100644
--- a/crates/jacquard-api/src/sh_weaver/notebook/get_chapter.rs
+++ b/crates/jacquard-api/src/sh_weaver/notebook/get_chapter.rs
@@ -8,19 +8,22 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::sh_weaver::notebook::ChapterEntryView;
+use crate::sh_weaver::notebook::ChapterView;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::AtUri;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::{IntoStatic, open_union};
-use serde::{Serialize, Deserialize};
-use crate::sh_weaver::notebook::ChapterEntryView;
-use crate::sh_weaver::notebook::ChapterView;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetChapter {
     pub chapter: AtUri,
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -31,9 +34,11 @@ pub struct GetChapter {
     pub entry_limit: Option,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetChapterOutput {
     pub chapter: ChapterView,
     pub entries: Vec>,
@@ -43,25 +48,19 @@ pub struct GetChapterOutput {
     pub extra_data: Option>>,
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum GetChapterError {
     #[serde(rename = "ChapterNotFound")]
     ChapterNotFound(Option),
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for GetChapterError {
@@ -115,7 +114,7 @@ fn _default_entry_limit() -> Option {
 
 pub mod get_chapter_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -228,4 +227,4 @@ where
             entry_limit: self._fields.2,
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/notebook/get_continue_reading.rs b/crates/jacquard-api/src/sh_weaver/notebook/get_continue_reading.rs
index 3c8d87a2..ef84d919 100644
--- a/crates/jacquard-api/src/sh_weaver/notebook/get_continue_reading.rs
+++ b/crates/jacquard-api/src/sh_weaver/notebook/get_continue_reading.rs
@@ -10,11 +10,11 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(rename_all = "camelCase")]
@@ -25,9 +25,11 @@ pub struct GetContinueReading {
     pub limit: Option,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetContinueReadingOutput {
     pub items: Vec>,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
@@ -64,7 +66,7 @@ fn _default_limit() -> Option {
 
 pub mod get_continue_reading_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -127,4 +129,4 @@ where
             limit: self._fields.0,
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/notebook/get_entry.rs b/crates/jacquard-api/src/sh_weaver/notebook/get_entry.rs
index ff09f8fb..1d449301 100644
--- a/crates/jacquard-api/src/sh_weaver/notebook/get_entry.rs
+++ b/crates/jacquard-api/src/sh_weaver/notebook/get_entry.rs
@@ -8,25 +8,30 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::sh_weaver::notebook::EntryView;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::AtUri;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::{IntoStatic, open_union};
-use serde::{Serialize, Deserialize};
-use crate::sh_weaver::notebook::EntryView;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetEntry {
     pub uri: AtUri,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetEntryOutput {
     #[serde(flatten)]
     pub value: EntryView,
@@ -34,25 +39,19 @@ pub struct GetEntryOutput {
     pub extra_data: Option>>,
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum GetEntryError {
     #[serde(rename = "EntryNotFound")]
     EntryNotFound(Option),
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for GetEntryError {
@@ -102,7 +101,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetEntryRequest {
 
 pub mod get_entry_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -187,4 +186,4 @@ where
             uri: self._fields.0.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/notebook/get_entry_by_title.rs b/crates/jacquard-api/src/sh_weaver/notebook/get_entry_by_title.rs
index 3650481a..707a5798 100644
--- a/crates/jacquard-api/src/sh_weaver/notebook/get_entry_by_title.rs
+++ b/crates/jacquard-api/src/sh_weaver/notebook/get_entry_by_title.rs
@@ -8,26 +8,31 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::sh_weaver::notebook::BookEntryView;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::AtUri;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::{IntoStatic, open_union};
-use serde::{Serialize, Deserialize};
-use crate::sh_weaver::notebook::BookEntryView;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetEntryByTitle {
     pub notebook: AtUri,
     pub title: S,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetEntryByTitleOutput {
     pub entry: BookEntryView,
     ///The raw entry record data.
@@ -36,18 +41,9 @@ pub struct GetEntryByTitleOutput {
     pub extra_data: Option>>,
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum GetEntryByTitleError {
     #[serde(rename = "NotebookNotFound")]
@@ -56,7 +52,10 @@ pub enum GetEntryByTitleError {
     EntryNotFound(Option),
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for GetEntryByTitleError {
@@ -113,7 +112,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetEntryByTitleRequest {
 
 pub mod get_entry_by_title_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -231,4 +230,4 @@ where
             title: self._fields.1.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/notebook/get_entry_detail.rs b/crates/jacquard-api/src/sh_weaver/notebook/get_entry_detail.rs
index 642b414d..8a79301e 100644
--- a/crates/jacquard-api/src/sh_weaver/notebook/get_entry_detail.rs
+++ b/crates/jacquard-api/src/sh_weaver/notebook/get_entry_detail.rs
@@ -8,28 +8,33 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::sh_weaver::notebook::EntryView;
+use crate::sh_weaver::notebook::NotebookView;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::AtUri;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::{IntoStatic, open_union};
-use serde::{Serialize, Deserialize};
-use crate::sh_weaver::notebook::EntryView;
-use crate::sh_weaver::notebook::NotebookView;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetEntryDetail {
     pub entry: AtUri,
     #[serde(skip_serializing_if = "Option::is_none")]
     pub notebook_context: Option>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetEntryDetailOutput {
     pub entry: EntryView,
     pub notebook_count: i64,
@@ -40,25 +45,19 @@ pub struct GetEntryDetailOutput {
     pub extra_data: Option>>,
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum GetEntryDetailError {
     #[serde(rename = "EntryNotFound")]
     EntryNotFound(Option),
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for GetEntryDetailError {
@@ -108,7 +107,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetEntryDetailRequest {
 
 pub mod get_entry_detail_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -207,4 +206,4 @@ where
             notebook_context: self._fields.1,
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/notebook/get_entry_feed.rs b/crates/jacquard-api/src/sh_weaver/notebook/get_entry_feed.rs
index e7dfc3a6..89e59e3f 100644
--- a/crates/jacquard-api/src/sh_weaver/notebook/get_entry_feed.rs
+++ b/crates/jacquard-api/src/sh_weaver/notebook/get_entry_feed.rs
@@ -8,18 +8,21 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::sh_weaver::notebook::FeedEntryView;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::AtUri;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::sh_weaver::notebook::FeedEntryView;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetEntryFeed {
     ///Defaults to `"chronological"`.
     #[serde(default = "_default_algorithm")]
@@ -37,9 +40,11 @@ pub struct GetEntryFeed {
     pub tags: Option>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetEntryFeedOutput {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub cursor: Option,
@@ -82,7 +87,7 @@ fn _default_limit() -> Option {
 
 pub mod get_entry_feed_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -102,7 +107,13 @@ pub mod get_entry_feed_state {
 /// Builder for constructing an instance of this type.
 pub struct GetEntryFeedBuilder {
     _state: PhantomData St>,
-    _fields: (Option, Option, Option>, Option, Option>),
+    _fields: (
+        Option,
+        Option,
+        Option>,
+        Option,
+        Option>,
+    ),
     _type: PhantomData S>,
 }
 
@@ -203,4 +214,4 @@ where
             tags: self._fields.4,
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/notebook/get_entry_notebooks.rs b/crates/jacquard-api/src/sh_weaver/notebook/get_entry_notebooks.rs
index d48bab31..8d327cd6 100644
--- a/crates/jacquard-api/src/sh_weaver/notebook/get_entry_notebooks.rs
+++ b/crates/jacquard-api/src/sh_weaver/notebook/get_entry_notebooks.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -21,21 +21,26 @@ use jacquard_derive::IntoStatic;
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::sh_weaver::actor::ProfileViewBasic;
 use crate::sh_weaver::notebook::get_entry_notebooks;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetEntryNotebooks {
     pub entry: AtUri,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetEntryNotebooksOutput {
     pub notebooks: Vec>,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
@@ -45,7 +50,10 @@ pub struct GetEntryNotebooksOutput {
 /// Reference to a notebook containing this entry.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct NotebookRef {
     pub cid: Cid,
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -98,7 +106,7 @@ impl LexiconSchema for NotebookRef {
 
 pub mod get_entry_notebooks_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -187,7 +195,7 @@ where
 
 pub mod notebook_ref_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -232,7 +240,12 @@ pub mod notebook_ref_state {
 /// Builder for constructing an instance of this type.
 pub struct NotebookRefBuilder {
     _state: PhantomData St>,
-    _fields: (Option>, Option>, Option, Option>),
+    _fields: (
+        Option>,
+        Option>,
+        Option,
+        Option>,
+    ),
     _type: PhantomData S>,
 }
 
@@ -335,10 +348,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> NotebookRef {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> NotebookRef {
         NotebookRef {
             cid: self._fields.0.unwrap(),
             owner: self._fields.1,
@@ -350,10 +360,10 @@ where
 }
 
 fn lexicon_doc_sh_weaver_notebook_getEntryNotebooks() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("sh.weaver.notebook.getEntryNotebooks"),
@@ -362,41 +372,33 @@ fn lexicon_doc_sh_weaver_notebook_getEntryNotebooks() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::XrpcQuery(LexXrpcQuery {
-                    parameters: Some(
-                        LexXrpcQueryParameter::Params(LexXrpcParameters {
-                            required: Some(vec![SmolStr::new_static("entry")]),
-                            properties: {
-                                #[allow(unused_mut)]
-                                let mut map = BTreeMap::new();
-                                map.insert(
-                                    SmolStr::new_static("entry"),
-                                    LexXrpcParametersProperty::String(LexString {
-                                        description: Some(
-                                            CowStr::new_static("AT URI of the entry"),
-                                        ),
-                                        format: Some(LexStringFormat::AtUri),
-                                        ..Default::default()
-                                    }),
-                                );
-                                map
-                            },
-                            ..Default::default()
-                        }),
-                    ),
+                    parameters: Some(LexXrpcQueryParameter::Params(LexXrpcParameters {
+                        required: Some(vec![SmolStr::new_static("entry")]),
+                        properties: {
+                            #[allow(unused_mut)]
+                            let mut map = BTreeMap::new();
+                            map.insert(
+                                SmolStr::new_static("entry"),
+                                LexXrpcParametersProperty::String(LexString {
+                                    description: Some(CowStr::new_static("AT URI of the entry")),
+                                    format: Some(LexStringFormat::AtUri),
+                                    ..Default::default()
+                                }),
+                            );
+                            map
+                        },
+                        ..Default::default()
+                    })),
                     ..Default::default()
                 }),
             );
             map.insert(
                 SmolStr::new_static("notebookRef"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static(
-                            "Reference to a notebook containing this entry.",
-                        ),
-                    ),
-                    required: Some(
-                        vec![SmolStr::new_static("uri"), SmolStr::new_static("cid")],
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Reference to a notebook containing this entry.",
+                    )),
+                    required: Some(vec![SmolStr::new_static("uri"), SmolStr::new_static("cid")]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -410,15 +412,15 @@ fn lexicon_doc_sh_weaver_notebook_getEntryNotebooks() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("owner"),
                             LexObjectProperty::Ref(LexRef {
-                                r#ref: CowStr::new_static(
-                                    "sh.weaver.actor.defs#profileViewBasic",
-                                ),
+                                r#ref: CowStr::new_static("sh.weaver.actor.defs#profileViewBasic"),
                                 ..Default::default()
                             }),
                         );
                         map.insert(
                             SmolStr::new_static("title"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("uri"),
@@ -436,4 +438,4 @@ fn lexicon_doc_sh_weaver_notebook_getEntryNotebooks() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/notebook/get_notebook.rs b/crates/jacquard-api/src/sh_weaver/notebook/get_notebook.rs
index 2750ab8a..b779c829 100644
--- a/crates/jacquard-api/src/sh_weaver/notebook/get_notebook.rs
+++ b/crates/jacquard-api/src/sh_weaver/notebook/get_notebook.rs
@@ -8,26 +8,31 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::com_atproto::repo::strong_ref::StrongRef;
+use crate::sh_weaver::notebook::NotebookView;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::AtUri;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::com_atproto::repo::strong_ref::StrongRef;
-use crate::sh_weaver::notebook::NotebookView;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetNotebook {
     pub notebook: AtUri,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetNotebookOutput {
     pub entries: Vec>,
     pub notebook: NotebookView,
@@ -61,7 +66,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetNotebookRequest {
 
 pub mod get_notebook_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -146,4 +151,4 @@ where
             notebook: self._fields.0.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/notebook/get_notebook_by_title.rs b/crates/jacquard-api/src/sh_weaver/notebook/get_notebook_by_title.rs
index 9cac5c41..13f8ba7e 100644
--- a/crates/jacquard-api/src/sh_weaver/notebook/get_notebook_by_title.rs
+++ b/crates/jacquard-api/src/sh_weaver/notebook/get_notebook_by_title.rs
@@ -8,27 +8,32 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::com_atproto::repo::strong_ref::StrongRef;
+use crate::sh_weaver::notebook::NotebookView;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::ident::AtIdentifier;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::{IntoStatic, open_union};
-use serde::{Serialize, Deserialize};
-use crate::com_atproto::repo::strong_ref::StrongRef;
-use crate::sh_weaver::notebook::NotebookView;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetNotebookByTitle {
     pub actor: AtIdentifier,
     pub title: S,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetNotebookByTitleOutput {
     pub entries: Vec>,
     pub notebook: NotebookView,
@@ -36,25 +41,19 @@ pub struct GetNotebookByTitleOutput {
     pub extra_data: Option>>,
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum GetNotebookByTitleError {
     #[serde(rename = "NotebookNotFound")]
     NotebookNotFound(Option),
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for GetNotebookByTitleError {
@@ -104,7 +103,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetNotebookByTitleRequest {
 
 pub mod get_notebook_by_title_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -222,4 +221,4 @@ where
             title: self._fields.1.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/notebook/get_notebook_chapters.rs b/crates/jacquard-api/src/sh_weaver/notebook/get_notebook_chapters.rs
index 82a6e876..01c7939c 100644
--- a/crates/jacquard-api/src/sh_weaver/notebook/get_notebook_chapters.rs
+++ b/crates/jacquard-api/src/sh_weaver/notebook/get_notebook_chapters.rs
@@ -8,18 +8,21 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::sh_weaver::notebook::ChapterView;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::AtUri;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::sh_weaver::notebook::ChapterView;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetNotebookChapters {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub cursor: Option,
@@ -30,9 +33,11 @@ pub struct GetNotebookChapters {
     pub notebook: AtUri,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetNotebookChaptersOutput {
     pub chapters: Vec>,
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -71,7 +76,7 @@ fn _default_limit() -> Option {
 
 pub mod get_notebook_chapters_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -102,10 +107,7 @@ pub mod get_notebook_chapters_state {
 }
 
 /// Builder for constructing an instance of this type.
-pub struct GetNotebookChaptersBuilder<
-    S: BosStr,
-    St: get_notebook_chapters_state::State,
-> {
+pub struct GetNotebookChaptersBuilder {
     _state: PhantomData St>,
     _fields: (Option, Option, Option>),
     _type: PhantomData S>,
@@ -129,10 +131,7 @@ impl GetNotebookChaptersBuilder GetNotebookChaptersBuilder {
+impl GetNotebookChaptersBuilder {
     /// Set the `cursor` field (optional)
     pub fn cursor(mut self, value: impl Into>) -> Self {
         self._fields.0 = value.into();
@@ -145,10 +144,7 @@ impl<
     }
 }
 
-impl<
-    S: BosStr,
-    St: get_notebook_chapters_state::State,
-> GetNotebookChaptersBuilder {
+impl GetNotebookChaptersBuilder {
     /// Set the `limit` field (optional)
     pub fn limit(mut self, value: impl Into>) -> Self {
         self._fields.1 = value.into();
@@ -193,4 +189,4 @@ where
             notebook: self._fields.2.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/notebook/get_notebook_detail.rs b/crates/jacquard-api/src/sh_weaver/notebook/get_notebook_detail.rs
index ad684f11..769dc9eb 100644
--- a/crates/jacquard-api/src/sh_weaver/notebook/get_notebook_detail.rs
+++ b/crates/jacquard-api/src/sh_weaver/notebook/get_notebook_detail.rs
@@ -8,19 +8,22 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::sh_weaver::notebook::BookEntryView;
+use crate::sh_weaver::notebook::NotebookView;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::AtUri;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::{IntoStatic, open_union};
-use serde::{Serialize, Deserialize};
-use crate::sh_weaver::notebook::BookEntryView;
-use crate::sh_weaver::notebook::NotebookView;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetNotebookDetail {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub entry_cursor: Option,
@@ -31,9 +34,11 @@ pub struct GetNotebookDetail {
     pub notebook: AtUri,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetNotebookDetailOutput {
     pub entries: Vec>,
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -43,25 +48,19 @@ pub struct GetNotebookDetailOutput {
     pub extra_data: Option>>,
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum GetNotebookDetailError {
     #[serde(rename = "NotebookNotFound")]
     NotebookNotFound(Option),
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for GetNotebookDetailError {
@@ -115,7 +114,7 @@ fn _default_entry_limit() -> Option {
 
 pub mod get_notebook_detail_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -228,4 +227,4 @@ where
             notebook: self._fields.2.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/notebook/get_notebook_feed.rs b/crates/jacquard-api/src/sh_weaver/notebook/get_notebook_feed.rs
index 9e8795f2..beb7ae19 100644
--- a/crates/jacquard-api/src/sh_weaver/notebook/get_notebook_feed.rs
+++ b/crates/jacquard-api/src/sh_weaver/notebook/get_notebook_feed.rs
@@ -8,18 +8,21 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::sh_weaver::notebook::NotebookView;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::AtUri;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::sh_weaver::notebook::NotebookView;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetNotebookFeed {
     ///Defaults to `"chronological"`.
     #[serde(default = "_default_algorithm")]
@@ -37,9 +40,11 @@ pub struct GetNotebookFeed {
     pub tags: Option>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetNotebookFeedOutput {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub cursor: Option,
@@ -82,7 +87,7 @@ fn _default_limit() -> Option {
 
 pub mod get_notebook_feed_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -102,7 +107,13 @@ pub mod get_notebook_feed_state {
 /// Builder for constructing an instance of this type.
 pub struct GetNotebookFeedBuilder {
     _state: PhantomData St>,
-    _fields: (Option, Option, Option>, Option, Option>),
+    _fields: (
+        Option,
+        Option,
+        Option>,
+        Option,
+        Option>,
+    ),
     _type: PhantomData S>,
 }
 
@@ -203,4 +214,4 @@ where
             tags: self._fields.4,
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/notebook/get_page.rs b/crates/jacquard-api/src/sh_weaver/notebook/get_page.rs
index 80e8b178..cd2d71f7 100644
--- a/crates/jacquard-api/src/sh_weaver/notebook/get_page.rs
+++ b/crates/jacquard-api/src/sh_weaver/notebook/get_page.rs
@@ -8,26 +8,31 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::sh_weaver::notebook::EntryView;
+use crate::sh_weaver::notebook::PageView;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::AtUri;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::{IntoStatic, open_union};
-use serde::{Serialize, Deserialize};
-use crate::sh_weaver::notebook::EntryView;
-use crate::sh_weaver::notebook::PageView;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetPage {
     pub page: AtUri,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetPageOutput {
     pub entries: Vec>,
     pub page: PageView,
@@ -35,25 +40,19 @@ pub struct GetPageOutput {
     pub extra_data: Option>>,
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum GetPageError {
     #[serde(rename = "PageNotFound")]
     PageNotFound(Option),
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for GetPageError {
@@ -103,7 +102,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetPageRequest {
 
 pub mod get_page_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -188,4 +187,4 @@ where
             page: self._fields.0.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/notebook/get_published_versions.rs b/crates/jacquard-api/src/sh_weaver/notebook/get_published_versions.rs
index 0a0e7260..6328ef94 100644
--- a/crates/jacquard-api/src/sh_weaver/notebook/get_published_versions.rs
+++ b/crates/jacquard-api/src/sh_weaver/notebook/get_published_versions.rs
@@ -8,18 +8,21 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::sh_weaver::notebook::PublishedVersionView;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::AtUri;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::sh_weaver::notebook::PublishedVersionView;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetPublishedVersions {
     pub entry: AtUri,
     /// Defaults to `false`.
@@ -28,9 +31,11 @@ pub struct GetPublishedVersions {
     pub include_content: Option,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetPublishedVersionsOutput {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub canonical: Option>,
@@ -74,7 +79,7 @@ fn _default_include_content() -> Option {
 
 pub mod get_published_versions_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -105,10 +110,7 @@ pub mod get_published_versions_state {
 }
 
 /// Builder for constructing an instance of this type.
-pub struct GetPublishedVersionsBuilder<
-    S: BosStr,
-    St: get_published_versions_state::State,
-> {
+pub struct GetPublishedVersionsBuilder {
     _state: PhantomData St>,
     _fields: (Option>, Option),
     _type: PhantomData S>,
@@ -151,10 +153,7 @@ where
     }
 }
 
-impl<
-    S: BosStr,
-    St: get_published_versions_state::State,
-> GetPublishedVersionsBuilder {
+impl GetPublishedVersionsBuilder {
     /// Set the `includeContent` field (optional)
     pub fn include_content(mut self, value: impl Into>) -> Self {
         self._fields.1 = value.into();
@@ -179,4 +178,4 @@ where
             include_content: self._fields.1,
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/notebook/get_reading_history.rs b/crates/jacquard-api/src/sh_weaver/notebook/get_reading_history.rs
index 3d6cbb99..8eeda99e 100644
--- a/crates/jacquard-api/src/sh_weaver/notebook/get_reading_history.rs
+++ b/crates/jacquard-api/src/sh_weaver/notebook/get_reading_history.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -20,16 +20,19 @@ use jacquard_derive::IntoStatic;
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::sh_weaver::notebook::EntryView;
 use crate::sh_weaver::notebook::NotebookView;
 use crate::sh_weaver::notebook::ReadingProgress;
 use crate::sh_weaver::notebook::get_reading_history;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetReadingHistory {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub cursor: Option,
@@ -43,9 +46,11 @@ pub struct GetReadingHistory {
     pub status: Option,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetReadingHistoryOutput {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub cursor: Option,
@@ -54,9 +59,11 @@ pub struct GetReadingHistoryOutput {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ReadingHistoryItem {
     ///The entry the user was last reading.
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -116,7 +123,7 @@ fn _default_status() -> Option {
 
 pub mod get_reading_history_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -213,7 +220,7 @@ where
 
 pub mod reading_history_item_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -258,7 +265,11 @@ pub mod reading_history_item_state {
 /// Builder for constructing an instance of this type.
 pub struct ReadingHistoryItemBuilder {
     _state: PhantomData St>,
-    _fields: (Option>, Option>, Option>),
+    _fields: (
+        Option>,
+        Option>,
+        Option>,
+    ),
     _type: PhantomData S>,
 }
 
@@ -347,10 +358,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> ReadingHistoryItem {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> ReadingHistoryItem {
         ReadingHistoryItem {
             current_entry: self._fields.0,
             notebook: self._fields.1.unwrap(),
@@ -361,10 +369,10 @@ where
 }
 
 fn lexicon_doc_sh_weaver_notebook_getReadingHistory() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("sh.weaver.notebook.getReadingHistory"),
@@ -373,67 +381,59 @@ fn lexicon_doc_sh_weaver_notebook_getReadingHistory() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::XrpcQuery(LexXrpcQuery {
-                    parameters: Some(
-                        LexXrpcQueryParameter::Params(LexXrpcParameters {
-                            properties: {
-                                #[allow(unused_mut)]
-                                let mut map = BTreeMap::new();
-                                map.insert(
-                                    SmolStr::new_static("cursor"),
-                                    LexXrpcParametersProperty::String(LexString {
-                                        ..Default::default()
-                                    }),
-                                );
-                                map.insert(
-                                    SmolStr::new_static("limit"),
-                                    LexXrpcParametersProperty::Integer(LexInteger {
-                                        ..Default::default()
-                                    }),
-                                );
-                                map.insert(
-                                    SmolStr::new_static("status"),
-                                    LexXrpcParametersProperty::String(LexString {
-                                        description: Some(
-                                            CowStr::new_static("Filter by reading status."),
-                                        ),
-                                        ..Default::default()
-                                    }),
-                                );
-                                map
-                            },
-                            ..Default::default()
-                        }),
-                    ),
+                    parameters: Some(LexXrpcQueryParameter::Params(LexXrpcParameters {
+                        properties: {
+                            #[allow(unused_mut)]
+                            let mut map = BTreeMap::new();
+                            map.insert(
+                                SmolStr::new_static("cursor"),
+                                LexXrpcParametersProperty::String(LexString {
+                                    ..Default::default()
+                                }),
+                            );
+                            map.insert(
+                                SmolStr::new_static("limit"),
+                                LexXrpcParametersProperty::Integer(LexInteger {
+                                    ..Default::default()
+                                }),
+                            );
+                            map.insert(
+                                SmolStr::new_static("status"),
+                                LexXrpcParametersProperty::String(LexString {
+                                    description: Some(CowStr::new_static(
+                                        "Filter by reading status.",
+                                    )),
+                                    ..Default::default()
+                                }),
+                            );
+                            map
+                        },
+                        ..Default::default()
+                    })),
                     ..Default::default()
                 }),
             );
             map.insert(
                 SmolStr::new_static("readingHistoryItem"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("notebook"),
-                            SmolStr::new_static("progress")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("notebook"),
+                        SmolStr::new_static("progress"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("currentEntry"),
                             LexObjectProperty::Ref(LexRef {
-                                r#ref: CowStr::new_static(
-                                    "sh.weaver.notebook.defs#entryView",
-                                ),
+                                r#ref: CowStr::new_static("sh.weaver.notebook.defs#entryView"),
                                 ..Default::default()
                             }),
                         );
                         map.insert(
                             SmolStr::new_static("notebook"),
                             LexObjectProperty::Ref(LexRef {
-                                r#ref: CowStr::new_static(
-                                    "sh.weaver.notebook.defs#notebookView",
-                                ),
+                                r#ref: CowStr::new_static("sh.weaver.notebook.defs#notebookView"),
                                 ..Default::default()
                             }),
                         );
@@ -455,4 +455,4 @@ fn lexicon_doc_sh_weaver_notebook_getReadingHistory() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/notebook/get_similar_notebooks.rs b/crates/jacquard-api/src/sh_weaver/notebook/get_similar_notebooks.rs
index 23aaca00..aa4d2545 100644
--- a/crates/jacquard-api/src/sh_weaver/notebook/get_similar_notebooks.rs
+++ b/crates/jacquard-api/src/sh_weaver/notebook/get_similar_notebooks.rs
@@ -10,15 +10,18 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::AtUri;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetSimilarNotebooks {
     ///Defaults to `10`. Min: 1. Max: 50.
     #[serde(default = "_default_limit")]
@@ -27,9 +30,11 @@ pub struct GetSimilarNotebooks {
     pub notebook: AtUri,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetSimilarNotebooksOutput {
     pub notebooks: Vec>,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
@@ -66,7 +71,7 @@ fn _default_limit() -> Option {
 
 pub mod get_similar_notebooks_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -97,10 +102,7 @@ pub mod get_similar_notebooks_state {
 }
 
 /// Builder for constructing an instance of this type.
-pub struct GetSimilarNotebooksBuilder<
-    S: BosStr,
-    St: get_similar_notebooks_state::State,
-> {
+pub struct GetSimilarNotebooksBuilder {
     _state: PhantomData St>,
     _fields: (Option, Option>),
     _type: PhantomData S>,
@@ -124,10 +126,7 @@ impl GetSimilarNotebooksBuilder GetSimilarNotebooksBuilder {
+impl GetSimilarNotebooksBuilder {
     /// Set the `limit` field (optional)
     pub fn limit(mut self, value: impl Into>) -> Self {
         self._fields.0 = value.into();
@@ -171,4 +170,4 @@ where
             notebook: self._fields.1.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/notebook/get_suggested_notebooks.rs b/crates/jacquard-api/src/sh_weaver/notebook/get_suggested_notebooks.rs
index 1701c087..63fd417c 100644
--- a/crates/jacquard-api/src/sh_weaver/notebook/get_suggested_notebooks.rs
+++ b/crates/jacquard-api/src/sh_weaver/notebook/get_suggested_notebooks.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -20,13 +20,13 @@ use jacquard_derive::IntoStatic;
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::sh_weaver::actor::ProfileViewBasic;
 use crate::sh_weaver::graph::ListView;
 use crate::sh_weaver::notebook::NotebookView;
 use crate::sh_weaver::notebook::get_suggested_notebooks;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(rename_all = "camelCase")]
@@ -37,18 +37,22 @@ pub struct GetSuggestedNotebooks {
     pub limit: Option,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetSuggestedNotebooksOutput {
     pub notebooks: Vec>,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct SuggestedNotebook {
     pub notebook: NotebookView,
     pub reason: get_suggested_notebooks::SuggestionReason,
@@ -62,7 +66,10 @@ pub struct SuggestedNotebook {
 /// Why this notebook was suggested.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct SuggestionReason {
     ///If followed-author, the author.
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -81,7 +88,6 @@ pub struct SuggestionReason {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Debug, Clone, PartialEq, Eq, Hash)]
 pub enum SuggestionReasonType {
     SimilarTags,
@@ -174,9 +180,7 @@ where
             SuggestionReasonType::PopularInTag => SuggestionReasonType::PopularInTag,
             SuggestionReasonType::Trending => SuggestionReasonType::Trending,
             SuggestionReasonType::FromList => SuggestionReasonType::FromList,
-            SuggestionReasonType::Other(v) => {
-                SuggestionReasonType::Other(v.into_static())
-            }
+            SuggestionReasonType::Other(v) => SuggestionReasonType::Other(v.into_static()),
         }
     }
 }
@@ -241,7 +245,7 @@ fn _default_limit() -> Option {
 
 pub mod get_suggested_notebooks_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -308,7 +312,7 @@ where
 
 pub mod suggested_notebook_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -446,10 +450,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> SuggestedNotebook {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> SuggestedNotebook {
         SuggestedNotebook {
             notebook: self._fields.0.unwrap(),
             reason: self._fields.1.unwrap(),
@@ -460,10 +461,10 @@ where
 }
 
 fn lexicon_doc_sh_weaver_notebook_getSuggestedNotebooks() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("sh.weaver.notebook.getSuggestedNotebooks"),
@@ -472,43 +473,37 @@ fn lexicon_doc_sh_weaver_notebook_getSuggestedNotebooks() -> LexiconDoc<'static>
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::XrpcQuery(LexXrpcQuery {
-                    parameters: Some(
-                        LexXrpcQueryParameter::Params(LexXrpcParameters {
-                            properties: {
-                                #[allow(unused_mut)]
-                                let mut map = BTreeMap::new();
-                                map.insert(
-                                    SmolStr::new_static("limit"),
-                                    LexXrpcParametersProperty::Integer(LexInteger {
-                                        ..Default::default()
-                                    }),
-                                );
-                                map
-                            },
-                            ..Default::default()
-                        }),
-                    ),
+                    parameters: Some(LexXrpcQueryParameter::Params(LexXrpcParameters {
+                        properties: {
+                            #[allow(unused_mut)]
+                            let mut map = BTreeMap::new();
+                            map.insert(
+                                SmolStr::new_static("limit"),
+                                LexXrpcParametersProperty::Integer(LexInteger {
+                                    ..Default::default()
+                                }),
+                            );
+                            map
+                        },
+                        ..Default::default()
+                    })),
                     ..Default::default()
                 }),
             );
             map.insert(
                 SmolStr::new_static("suggestedNotebook"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("notebook"),
-                            SmolStr::new_static("reason")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("notebook"),
+                        SmolStr::new_static("reason"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("notebook"),
                             LexObjectProperty::Ref(LexRef {
-                                r#ref: CowStr::new_static(
-                                    "sh.weaver.notebook.defs#notebookView",
-                                ),
+                                r#ref: CowStr::new_static("sh.weaver.notebook.defs#notebookView"),
                                 ..Default::default()
                             }),
                         );
@@ -533,9 +528,7 @@ fn lexicon_doc_sh_weaver_notebook_getSuggestedNotebooks() -> LexiconDoc<'static>
             map.insert(
                 SmolStr::new_static("suggestionReason"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("Why this notebook was suggested."),
-                    ),
+                    description: Some(CowStr::new_static("Why this notebook was suggested.")),
                     required: Some(vec![SmolStr::new_static("type")]),
                     properties: {
                         #[allow(unused_mut)]
@@ -543,9 +536,7 @@ fn lexicon_doc_sh_weaver_notebook_getSuggestedNotebooks() -> LexiconDoc<'static>
                         map.insert(
                             SmolStr::new_static("relatedAuthor"),
                             LexObjectProperty::Ref(LexRef {
-                                r#ref: CowStr::new_static(
-                                    "sh.weaver.actor.defs#profileViewBasic",
-                                ),
+                                r#ref: CowStr::new_static("sh.weaver.actor.defs#profileViewBasic"),
                                 ..Default::default()
                             }),
                         );
@@ -559,9 +550,7 @@ fn lexicon_doc_sh_weaver_notebook_getSuggestedNotebooks() -> LexiconDoc<'static>
                         map.insert(
                             SmolStr::new_static("relatedNotebook"),
                             LexObjectProperty::Ref(LexRef {
-                                r#ref: CowStr::new_static(
-                                    "sh.weaver.notebook.defs#notebookView",
-                                ),
+                                r#ref: CowStr::new_static("sh.weaver.notebook.defs#notebookView"),
                                 ..Default::default()
                             }),
                         );
@@ -577,7 +566,9 @@ fn lexicon_doc_sh_weaver_notebook_getSuggestedNotebooks() -> LexiconDoc<'static>
                         );
                         map.insert(
                             SmolStr::new_static("type"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map
                     },
@@ -588,4 +579,4 @@ fn lexicon_doc_sh_weaver_notebook_getSuggestedNotebooks() -> LexiconDoc<'static>
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/notebook/page.rs b/crates/jacquard-api/src/sh_weaver/notebook/page.rs
index a66a97da..20cbb6cf 100644
--- a/crates/jacquard-api/src/sh_weaver/notebook/page.rs
+++ b/crates/jacquard-api/src/sh_weaver/notebook/page.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,12 +24,12 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::com_atproto::repo::strong_ref::StrongRef;
 use crate::sh_weaver::notebook::Tags;
 use crate::sh_weaver::notebook::Title;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// A grouping of entries in a notebook, intended to be displayed as a single page.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -115,7 +115,7 @@ impl LexiconSchema for Page {
 
 pub mod page_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -311,10 +311,10 @@ where
 }
 
 fn lexicon_doc_sh_weaver_notebook_page() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("sh.weaver.notebook.page"),
@@ -394,4 +394,4 @@ fn lexicon_doc_sh_weaver_notebook_page() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/notebook/resolve_entry.rs b/crates/jacquard-api/src/sh_weaver/notebook/resolve_entry.rs
index 485974b0..ed931858 100644
--- a/crates/jacquard-api/src/sh_weaver/notebook/resolve_entry.rs
+++ b/crates/jacquard-api/src/sh_weaver/notebook/resolve_entry.rs
@@ -8,28 +8,33 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::sh_weaver::notebook::EntryView;
+use crate::sh_weaver::notebook::NotebookView;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::ident::AtIdentifier;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::{IntoStatic, open_union};
-use serde::{Serialize, Deserialize};
-use crate::sh_weaver::notebook::EntryView;
-use crate::sh_weaver::notebook::NotebookView;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ResolveEntry {
     pub actor: AtIdentifier,
     pub entry: S,
     pub notebook: S,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ResolveEntryOutput {
     pub entry: EntryView,
     pub notebook_count: i64,
@@ -40,18 +45,9 @@ pub struct ResolveEntryOutput {
     pub extra_data: Option>>,
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum ResolveEntryError {
     #[serde(rename = "NotebookNotFound")]
@@ -60,7 +56,10 @@ pub enum ResolveEntryError {
     EntryNotFound(Option),
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for ResolveEntryError {
@@ -117,7 +116,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for ResolveEntryRequest {
 
 pub mod resolve_entry_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -270,4 +269,4 @@ where
             notebook: self._fields.2.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/notebook/resolve_notebook.rs b/crates/jacquard-api/src/sh_weaver/notebook/resolve_notebook.rs
index d6edc965..7a629d16 100644
--- a/crates/jacquard-api/src/sh_weaver/notebook/resolve_notebook.rs
+++ b/crates/jacquard-api/src/sh_weaver/notebook/resolve_notebook.rs
@@ -8,19 +8,22 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::sh_weaver::notebook::BookEntryView;
+use crate::sh_weaver::notebook::NotebookView;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::ident::AtIdentifier;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::{IntoStatic, open_union};
-use serde::{Serialize, Deserialize};
-use crate::sh_weaver::notebook::BookEntryView;
-use crate::sh_weaver::notebook::NotebookView;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ResolveNotebook {
     pub actor: AtIdentifier,
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -32,9 +35,11 @@ pub struct ResolveNotebook {
     pub name: S,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ResolveNotebookOutput {
     pub entries: Vec>,
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -44,25 +49,19 @@ pub struct ResolveNotebookOutput {
     pub extra_data: Option>>,
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum ResolveNotebookError {
     #[serde(rename = "NotebookNotFound")]
     NotebookNotFound(Option),
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for ResolveNotebookError {
@@ -116,7 +115,7 @@ fn _default_entry_limit() -> Option {
 
 pub mod resolve_notebook_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -262,4 +261,4 @@ where
             name: self._fields.3.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/notebook/resolve_version_conflict.rs b/crates/jacquard-api/src/sh_weaver/notebook/resolve_version_conflict.rs
index 5dc241df..8cc88873 100644
--- a/crates/jacquard-api/src/sh_weaver/notebook/resolve_version_conflict.rs
+++ b/crates/jacquard-api/src/sh_weaver/notebook/resolve_version_conflict.rs
@@ -8,26 +8,31 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::sh_weaver::collab::CollaborationStateView;
+use crate::sh_weaver::notebook::PublishedVersionView;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::AtUri;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::{IntoStatic, open_union};
-use serde::{Serialize, Deserialize};
-use crate::sh_weaver::collab::CollaborationStateView;
-use crate::sh_weaver::notebook::PublishedVersionView;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ResolveVersionConflict {
     pub uris: Vec>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ResolveVersionConflictOutput {
     pub canonical: PublishedVersionView,
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -37,18 +42,9 @@ pub struct ResolveVersionConflictOutput {
     pub extra_data: Option>>,
 }
 
-
 #[derive(
-    Serialize,
-    Deserialize,
-    Debug,
-    Clone,
-    PartialEq,
-    Eq,
-    thiserror::Error,
-    miette::Diagnostic
+    Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic,
 )]
-
 #[serde(tag = "error", content = "message")]
 pub enum ResolveVersionConflictError {
     /// The URIs don't appear to be related versions
@@ -56,7 +52,10 @@ pub enum ResolveVersionConflictError {
     NoRelatedVersions(Option),
     /// Catch-all for unknown error codes.
     #[serde(untagged)]
-    Other { error: SmolStr, message: Option },
+    Other {
+        error: SmolStr,
+        message: Option,
+    },
 }
 
 impl core::fmt::Display for ResolveVersionConflictError {
@@ -106,7 +105,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for ResolveVersionConflictRequest {
 
 pub mod resolve_version_conflict_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -137,10 +136,7 @@ pub mod resolve_version_conflict_state {
 }
 
 /// Builder for constructing an instance of this type.
-pub struct ResolveVersionConflictBuilder<
-    S: BosStr,
-    St: resolve_version_conflict_state::State,
-> {
+pub struct ResolveVersionConflictBuilder {
     _state: PhantomData St>,
     _fields: (Option>>,),
     _type: PhantomData S>,
@@ -148,10 +144,7 @@ pub struct ResolveVersionConflictBuilder<
 
 impl ResolveVersionConflict {
     /// Create a new builder for this type.
-    pub fn new() -> ResolveVersionConflictBuilder<
-        S,
-        resolve_version_conflict_state::Empty,
-    > {
+    pub fn new() -> ResolveVersionConflictBuilder {
         ResolveVersionConflictBuilder::new()
     }
 }
@@ -197,4 +190,4 @@ where
             uris: self._fields.0.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/notebook/search_entries.rs b/crates/jacquard-api/src/sh_weaver/notebook/search_entries.rs
index 9e14a5f7..2a8f039d 100644
--- a/crates/jacquard-api/src/sh_weaver/notebook/search_entries.rs
+++ b/crates/jacquard-api/src/sh_weaver/notebook/search_entries.rs
@@ -8,18 +8,21 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::sh_weaver::notebook::EntryView;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::ident::AtIdentifier;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::sh_weaver::notebook::EntryView;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct SearchEntries {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub author: Option>,
@@ -34,9 +37,11 @@ pub struct SearchEntries {
     pub tags: Option>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct SearchEntriesOutput {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub cursor: Option,
@@ -75,7 +80,7 @@ fn _default_limit() -> Option {
 
 pub mod search_entries_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -222,4 +227,4 @@ where
             tags: self._fields.4,
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/notebook/search_notebooks.rs b/crates/jacquard-api/src/sh_weaver/notebook/search_notebooks.rs
index 302307da..31ca4f6b 100644
--- a/crates/jacquard-api/src/sh_weaver/notebook/search_notebooks.rs
+++ b/crates/jacquard-api/src/sh_weaver/notebook/search_notebooks.rs
@@ -8,18 +8,21 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::sh_weaver::notebook::NotebookView;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::ident::AtIdentifier;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::sh_weaver::notebook::NotebookView;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct SearchNotebooks {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub author: Option>,
@@ -40,9 +43,11 @@ pub struct SearchNotebooks {
     pub tags: Option>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct SearchNotebooksOutput {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub cursor: Option,
@@ -85,7 +90,7 @@ fn _default_sort() -> Option {
 
 pub mod search_notebooks_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -262,4 +267,4 @@ where
             tags: self._fields.6,
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/notebook/theme.rs b/crates/jacquard-api/src/sh_weaver/notebook/theme.rs
index 90406380..0bb101f3 100644
--- a/crates/jacquard-api/src/sh_weaver/notebook/theme.rs
+++ b/crates/jacquard-api/src/sh_weaver/notebook/theme.rs
@@ -10,14 +10,14 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::blob::BlobRef;
 use jacquard_common::types::collection::{Collection, RecordError};
-use jacquard_common::types::string::{Did, AtUri, Cid};
+use jacquard_common::types::string::{AtUri, Cid, Did};
 use jacquard_common::types::uri::{RecordUri, UriError};
 use jacquard_common::types::value::Data;
 use jacquard_common::xrpc::XrpcResp;
@@ -25,15 +25,18 @@ use jacquard_derive::{IntoStatic, lexicon, open_union};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::com_atproto::repo::strong_ref::StrongRef;
 use crate::sh_weaver::notebook::theme;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// Custom syntax highlighting theme file (sublime text/textmate theme format)
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct CodeThemeFile {
     pub content: BlobRef,
     pub did: Did,
@@ -45,7 +48,10 @@ pub struct CodeThemeFile {
 pub type CodeThemeName = S;
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Font {
     ///Font for a notebook
     pub value: FontValue,
@@ -53,7 +59,6 @@ pub struct Font {
     pub extra_data: Option>>,
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -67,7 +72,10 @@ pub enum FontValue {
 /// Custom woff(2) or ttf font file
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct FontFile {
     pub content: BlobRef,
     pub did: Did,
@@ -106,7 +114,6 @@ pub struct Theme {
     pub extra_data: Option>>,
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -120,7 +127,10 @@ pub enum ThemeDarkCodeTheme {
 /// Fonts to be used in the notebook. Can specify a name or list of names (will load if available) or a file or list of files for each. Empty lists will use site defaults.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ThemeFonts {
     pub body: Vec>,
     pub heading: Vec>,
@@ -129,7 +139,6 @@ pub struct ThemeFonts {
     pub extra_data: Option>>,
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -140,9 +149,11 @@ pub enum ThemeLightCodeTheme {
     CodeThemeFile(Box>),
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ThemeSpacing {
     pub base_size: S,
     pub line_height: S,
@@ -197,19 +208,16 @@ impl LexiconSchema for CodeThemeFile {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["*/*"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("content"),
@@ -267,19 +275,16 @@ impl LexiconSchema for FontFile {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["*/*"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("content"),
@@ -337,7 +342,7 @@ impl LexiconSchema for Theme {
 
 pub mod code_theme_file_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -492,10 +497,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> CodeThemeFile {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> CodeThemeFile {
         CodeThemeFile {
             content: self._fields.0.unwrap(),
             did: self._fields.1.unwrap(),
@@ -506,10 +508,10 @@ where
 }
 
 fn lexicon_doc_sh_weaver_notebook_theme() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("sh.weaver.notebook.theme"),
@@ -554,7 +556,9 @@ fn lexicon_doc_sh_weaver_notebook_theme() -> LexiconDoc<'static> {
             );
             map.insert(
                 SmolStr::new_static("codeThemeName"),
-                LexUserType::String(LexString { ..Default::default() }),
+                LexUserType::String(LexString {
+                    ..Default::default()
+                }),
             );
             map.insert(
                 SmolStr::new_static("font"),
@@ -566,12 +570,10 @@ fn lexicon_doc_sh_weaver_notebook_theme() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("value"),
                             LexObjectProperty::Union(LexRefUnion {
-                                description: Some(
-                                    CowStr::new_static("Font for a notebook"),
-                                ),
+                                description: Some(CowStr::new_static("Font for a notebook")),
                                 refs: vec![
                                     CowStr::new_static("#fontName"),
-                                    CowStr::new_static("#fontFile")
+                                    CowStr::new_static("#fontFile"),
                                 ],
                                 ..Default::default()
                             }),
@@ -584,21 +586,20 @@ fn lexicon_doc_sh_weaver_notebook_theme() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("fontFile"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("Custom woff(2) or ttf font file"),
-                    ),
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("name"), SmolStr::new_static("did"),
-                            SmolStr::new_static("content")
-                        ],
-                    ),
+                    description: Some(CowStr::new_static("Custom woff(2) or ttf font file")),
+                    required: Some(vec![
+                        SmolStr::new_static("name"),
+                        SmolStr::new_static("did"),
+                        SmolStr::new_static("content"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("content"),
-                            LexObjectProperty::Blob(LexBlob { ..Default::default() }),
+                            LexObjectProperty::Blob(LexBlob {
+                                ..Default::default()
+                            }),
                         );
                         map.insert(
                             SmolStr::new_static("did"),
@@ -609,7 +610,9 @@ fn lexicon_doc_sh_weaver_notebook_theme() -> LexiconDoc<'static> {
                         );
                         map.insert(
                             SmolStr::new_static("name"),
-                            LexObjectProperty::String(LexString { ..Default::default() }),
+                            LexObjectProperty::String(LexString {
+                                ..Default::default()
+                            }),
                         );
                         map
                     },
@@ -618,7 +621,9 @@ fn lexicon_doc_sh_weaver_notebook_theme() -> LexiconDoc<'static> {
             );
             map.insert(
                 SmolStr::new_static("fontName"),
-                LexUserType::String(LexString { ..Default::default() }),
+                LexUserType::String(LexString {
+                    ..Default::default()
+                }),
             );
             map.insert(
                 SmolStr::new_static("main"),
@@ -792,7 +797,7 @@ fn lexicon_doc_sh_weaver_notebook_theme() -> LexiconDoc<'static> {
 
 pub mod font_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -889,7 +894,7 @@ where
 
 pub mod font_file_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1014,10 +1019,7 @@ where
     St::Name: font_file_state::IsUnset,
 {
     /// Set the `name` field (required)
-    pub fn name(
-        mut self,
-        value: impl Into,
-    ) -> FontFileBuilder> {
+    pub fn name(mut self, value: impl Into) -> FontFileBuilder> {
         self._fields.2 = Option::Some(value.into());
         FontFileBuilder {
             _state: PhantomData,
@@ -1075,7 +1077,7 @@ impl LexiconSchema for ThemeFonts {
 
 pub mod theme_fonts_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1234,10 +1236,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> ThemeFonts {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> ThemeFonts {
         ThemeFonts {
             body: self._fields.0.unwrap(),
             heading: self._fields.1.unwrap(),
@@ -1264,7 +1263,7 @@ impl LexiconSchema for ThemeSpacing {
 
 pub mod theme_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1570,4 +1569,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/notebook/update_reading_progress.rs b/crates/jacquard-api/src/sh_weaver/notebook/update_reading_progress.rs
index f9003017..a3760813 100644
--- a/crates/jacquard-api/src/sh_weaver/notebook/update_reading_progress.rs
+++ b/crates/jacquard-api/src/sh_weaver/notebook/update_reading_progress.rs
@@ -8,18 +8,21 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::sh_weaver::notebook::ReadingProgress;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::AtUri;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::sh_weaver::notebook::ReadingProgress;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct UpdateReadingProgress {
     ///The entry the user is currently on.
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -33,7 +36,6 @@ pub struct UpdateReadingProgress {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Debug, Clone, PartialEq, Eq, Hash)]
 pub enum UpdateReadingProgressStatus {
     Reading,
@@ -86,8 +88,7 @@ impl Serialize for UpdateReadingProgressStatus {
     }
 }
 
-impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de>
-for UpdateReadingProgressStatus {
+impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> for UpdateReadingProgressStatus {
     fn deserialize(deserializer: D) -> Result
     where
         D: serde::Deserializer<'de>,
@@ -112,15 +113,9 @@ where
     fn into_static(self) -> Self::Output {
         match self {
             UpdateReadingProgressStatus::Reading => UpdateReadingProgressStatus::Reading,
-            UpdateReadingProgressStatus::Finished => {
-                UpdateReadingProgressStatus::Finished
-            }
-            UpdateReadingProgressStatus::Abandoned => {
-                UpdateReadingProgressStatus::Abandoned
-            }
-            UpdateReadingProgressStatus::WantToRead => {
-                UpdateReadingProgressStatus::WantToRead
-            }
+            UpdateReadingProgressStatus::Finished => UpdateReadingProgressStatus::Finished,
+            UpdateReadingProgressStatus::Abandoned => UpdateReadingProgressStatus::Abandoned,
+            UpdateReadingProgressStatus::WantToRead => UpdateReadingProgressStatus::WantToRead,
             UpdateReadingProgressStatus::Other(v) => {
                 UpdateReadingProgressStatus::Other(v.into_static())
             }
@@ -128,9 +123,11 @@ where
     }
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct UpdateReadingProgressOutput {
     pub progress: ReadingProgress,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
@@ -148,9 +145,8 @@ impl jacquard_common::xrpc::XrpcResp for UpdateReadingProgressResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for UpdateReadingProgress {
     const NSID: &'static str = "sh.weaver.notebook.updateReadingProgress";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = UpdateReadingProgressResponse;
 }
 
@@ -158,16 +154,15 @@ impl jacquard_common::xrpc::XrpcRequest for UpdateReadingProgress
 pub struct UpdateReadingProgressRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for UpdateReadingProgressRequest {
     const PATH: &'static str = "/xrpc/sh.weaver.notebook.updateReadingProgress";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = UpdateReadingProgress;
     type Response = UpdateReadingProgressResponse;
 }
 
 pub mod update_reading_progress_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -198,10 +193,7 @@ pub mod update_reading_progress_state {
 }
 
 /// Builder for constructing an instance of this type.
-pub struct UpdateReadingProgressBuilder<
-    S: BosStr,
-    St: update_reading_progress_state::State,
-> {
+pub struct UpdateReadingProgressBuilder {
     _state: PhantomData St>,
     _fields: (
         Option>,
@@ -214,10 +206,7 @@ pub struct UpdateReadingProgressBuilder<
 
 impl UpdateReadingProgress {
     /// Create a new builder for this type.
-    pub fn new() -> UpdateReadingProgressBuilder<
-        S,
-        update_reading_progress_state::Empty,
-    > {
+    pub fn new() -> UpdateReadingProgressBuilder {
         UpdateReadingProgressBuilder::new()
     }
 }
@@ -233,10 +222,7 @@ impl UpdateReadingProgressBuilder UpdateReadingProgressBuilder {
+impl UpdateReadingProgressBuilder {
     /// Set the `currentEntry` field (optional)
     pub fn current_entry(mut self, value: impl Into>>) -> Self {
         self._fields.0 = value.into();
@@ -258,10 +244,7 @@ where
     pub fn notebook(
         mut self,
         value: impl Into>,
-    ) -> UpdateReadingProgressBuilder<
-        S,
-        update_reading_progress_state::SetNotebook,
-    > {
+    ) -> UpdateReadingProgressBuilder> {
         self._fields.1 = Option::Some(value.into());
         UpdateReadingProgressBuilder {
             _state: PhantomData,
@@ -271,10 +254,7 @@ where
     }
 }
 
-impl<
-    S: BosStr,
-    St: update_reading_progress_state::State,
-> UpdateReadingProgressBuilder {
+impl UpdateReadingProgressBuilder {
     /// Set the `percentComplete` field (optional)
     pub fn percent_complete(mut self, value: impl Into>) -> Self {
         self._fields.2 = value.into();
@@ -287,23 +267,14 @@ impl<
     }
 }
 
-impl<
-    S: BosStr,
-    St: update_reading_progress_state::State,
-> UpdateReadingProgressBuilder {
+impl UpdateReadingProgressBuilder {
     /// Set the `status` field (optional)
-    pub fn status(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn status(mut self, value: impl Into>>) -> Self {
         self._fields.3 = value.into();
         self
     }
     /// Set the `status` field to an Option value (optional)
-    pub fn maybe_status(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_status(mut self, value: Option>) -> Self {
         self._fields.3 = value;
         self
     }
@@ -337,4 +308,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/notification.rs b/crates/jacquard-api/src/sh_weaver/notification.rs
index 943cb49d..502ed395 100644
--- a/crates/jacquard-api/src/sh_weaver/notification.rs
+++ b/crates/jacquard-api/src/sh_weaver/notification.rs
@@ -10,13 +10,12 @@ pub mod get_unread_count;
 pub mod list_notifications;
 pub mod update_seen;
 
-
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -27,17 +26,20 @@ use jacquard_derive::{IntoStatic, open_union};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::sh_weaver::actor::ProfileViewBasic;
 use crate::sh_weaver::notebook::EntryView;
 use crate::sh_weaver::notebook::NotebookView;
 use crate::sh_weaver::notification;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// A notification for a user.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Notification {
     pub author: ProfileViewBasic,
     pub cid: Cid,
@@ -57,7 +59,10 @@ pub struct Notification {
 /// Grouped notifications (e.g., '5 people liked your entry').
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct NotificationGroup {
     ///Most recent actors (up to 5).
     pub actors: Vec>,
@@ -71,7 +76,6 @@ pub struct NotificationGroup {
     pub extra_data: Option>>,
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -187,12 +191,8 @@ where
             NotificationReason::FollowAccept => NotificationReason::FollowAccept,
             NotificationReason::Subscribe => NotificationReason::Subscribe,
             NotificationReason::SubscribeAccept => NotificationReason::SubscribeAccept,
-            NotificationReason::CollaborationInvite => {
-                NotificationReason::CollaborationInvite
-            }
-            NotificationReason::CollaborationAccept => {
-                NotificationReason::CollaborationAccept
-            }
+            NotificationReason::CollaborationInvite => NotificationReason::CollaborationInvite,
+            NotificationReason::CollaborationAccept => NotificationReason::CollaborationAccept,
             NotificationReason::NewEntry => NotificationReason::NewEntry,
             NotificationReason::EntryUpdate => NotificationReason::EntryUpdate,
             NotificationReason::Mention => NotificationReason::Mention,
@@ -206,7 +206,10 @@ where
 /// New content from a notebook subscription.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct SubscriptionUpdateView {
     ///New entries since last check.
     pub new_entries: Vec>,
@@ -277,7 +280,7 @@ impl LexiconSchema for SubscriptionUpdateView {
 
 pub mod notification_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -586,10 +589,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> Notification {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> Notification {
         Notification {
             author: self._fields.0.unwrap(),
             cid: self._fields.1.unwrap(),
@@ -605,10 +605,10 @@ where
 }
 
 fn lexicon_doc_sh_weaver_notification_defs() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("sh.weaver.notification.defs"),
@@ -618,23 +618,21 @@ fn lexicon_doc_sh_weaver_notification_defs() -> LexiconDoc<'static> {
                 SmolStr::new_static("notification"),
                 LexUserType::Object(LexObject {
                     description: Some(CowStr::new_static("A notification for a user.")),
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("uri"), SmolStr::new_static("cid"),
-                            SmolStr::new_static("author"), SmolStr::new_static("reason"),
-                            SmolStr::new_static("isRead"),
-                            SmolStr::new_static("indexedAt")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("uri"),
+                        SmolStr::new_static("cid"),
+                        SmolStr::new_static("author"),
+                        SmolStr::new_static("reason"),
+                        SmolStr::new_static("isRead"),
+                        SmolStr::new_static("indexedAt"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("author"),
                             LexObjectProperty::Ref(LexRef {
-                                r#ref: CowStr::new_static(
-                                    "sh.weaver.actor.defs#profileViewBasic",
-                                ),
+                                r#ref: CowStr::new_static("sh.weaver.actor.defs#profileViewBasic"),
                                 ..Default::default()
                             }),
                         );
@@ -668,11 +666,9 @@ fn lexicon_doc_sh_weaver_notification_defs() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("reasonSubject"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "The subject of the notification (entry, notebook, etc).",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "The subject of the notification (entry, notebook, etc).",
+                                )),
                                 format: Some(LexStringFormat::AtUri),
                                 ..Default::default()
                             }),
@@ -698,28 +694,25 @@ fn lexicon_doc_sh_weaver_notification_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("notificationGroup"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static(
-                            "Grouped notifications (e.g., '5 people liked your entry').",
-                        ),
-                    ),
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("reason"),
-                            SmolStr::new_static("subject"), SmolStr::new_static("count"),
-                            SmolStr::new_static("actors"),
-                            SmolStr::new_static("mostRecentAt")
-                        ],
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Grouped notifications (e.g., '5 people liked your entry').",
+                    )),
+                    required: Some(vec![
+                        SmolStr::new_static("reason"),
+                        SmolStr::new_static("subject"),
+                        SmolStr::new_static("count"),
+                        SmolStr::new_static("actors"),
+                        SmolStr::new_static("mostRecentAt"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("actors"),
                             LexObjectProperty::Array(LexArray {
-                                description: Some(
-                                    CowStr::new_static("Most recent actors (up to 5)."),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "Most recent actors (up to 5).",
+                                )),
                                 items: LexArrayItem::Ref(LexRef {
                                     r#ref: CowStr::new_static(
                                         "sh.weaver.actor.defs#profileViewBasic",
@@ -761,7 +754,7 @@ fn lexicon_doc_sh_weaver_notification_defs() -> LexiconDoc<'static> {
                             LexObjectProperty::Union(LexRefUnion {
                                 refs: vec![
                                     CowStr::new_static("sh.weaver.notebook.defs#notebookView"),
-                                    CowStr::new_static("sh.weaver.notebook.defs#entryView")
+                                    CowStr::new_static("sh.weaver.notebook.defs#entryView"),
                                 ],
                                 ..Default::default()
                             }),
@@ -774,38 +767,32 @@ fn lexicon_doc_sh_weaver_notification_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("notificationReason"),
                 LexUserType::String(LexString {
-                    description: Some(
-                        CowStr::new_static("Why this notification was generated."),
-                    ),
+                    description: Some(CowStr::new_static("Why this notification was generated.")),
                     ..Default::default()
                 }),
             );
             map.insert(
                 SmolStr::new_static("subscriptionUpdateView"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("New content from a notebook subscription."),
-                    ),
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("notebook"),
-                            SmolStr::new_static("newEntries"),
-                            SmolStr::new_static("updatedAt")
-                        ],
-                    ),
+                    description: Some(CowStr::new_static(
+                        "New content from a notebook subscription.",
+                    )),
+                    required: Some(vec![
+                        SmolStr::new_static("notebook"),
+                        SmolStr::new_static("newEntries"),
+                        SmolStr::new_static("updatedAt"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("newEntries"),
                             LexObjectProperty::Array(LexArray {
-                                description: Some(
-                                    CowStr::new_static("New entries since last check."),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "New entries since last check.",
+                                )),
                                 items: LexArrayItem::Ref(LexRef {
-                                    r#ref: CowStr::new_static(
-                                        "sh.weaver.notebook.defs#entryView",
-                                    ),
+                                    r#ref: CowStr::new_static("sh.weaver.notebook.defs#entryView"),
                                     ..Default::default()
                                 }),
                                 ..Default::default()
@@ -814,9 +801,7 @@ fn lexicon_doc_sh_weaver_notification_defs() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("notebook"),
                             LexObjectProperty::Ref(LexRef {
-                                r#ref: CowStr::new_static(
-                                    "sh.weaver.notebook.defs#notebookView",
-                                ),
+                                r#ref: CowStr::new_static("sh.weaver.notebook.defs#notebookView"),
                                 ..Default::default()
                             }),
                         );
@@ -830,13 +815,9 @@ fn lexicon_doc_sh_weaver_notification_defs() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("updatedEntries"),
                             LexObjectProperty::Array(LexArray {
-                                description: Some(
-                                    CowStr::new_static("Entries that were updated."),
-                                ),
+                                description: Some(CowStr::new_static("Entries that were updated.")),
                                 items: LexArrayItem::Ref(LexRef {
-                                    r#ref: CowStr::new_static(
-                                        "sh.weaver.notebook.defs#entryView",
-                                    ),
+                                    r#ref: CowStr::new_static("sh.weaver.notebook.defs#entryView"),
                                     ..Default::default()
                                 }),
                                 ..Default::default()
@@ -855,7 +836,7 @@ fn lexicon_doc_sh_weaver_notification_defs() -> LexiconDoc<'static> {
 
 pub mod notification_group_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1107,10 +1088,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> NotificationGroup {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> NotificationGroup {
         NotificationGroup {
             actors: self._fields.0.unwrap(),
             count: self._fields.1.unwrap(),
@@ -1125,7 +1103,7 @@ where
 
 pub mod subscription_update_view_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -1182,10 +1160,7 @@ pub mod subscription_update_view_state {
 }
 
 /// Builder for constructing an instance of this type.
-pub struct SubscriptionUpdateViewBuilder<
-    S: BosStr,
-    St: subscription_update_view_state::State,
-> {
+pub struct SubscriptionUpdateViewBuilder {
     _state: PhantomData St>,
     _fields: (
         Option>>,
@@ -1198,10 +1173,7 @@ pub struct SubscriptionUpdateViewBuilder<
 
 impl SubscriptionUpdateView {
     /// Create a new builder for this type.
-    pub fn new() -> SubscriptionUpdateViewBuilder<
-        S,
-        subscription_update_view_state::Empty,
-    > {
+    pub fn new() -> SubscriptionUpdateViewBuilder {
         SubscriptionUpdateViewBuilder::new()
     }
 }
@@ -1226,10 +1198,7 @@ where
     pub fn new_entries(
         mut self,
         value: impl Into>>,
-    ) -> SubscriptionUpdateViewBuilder<
-        S,
-        subscription_update_view_state::SetNewEntries,
-    > {
+    ) -> SubscriptionUpdateViewBuilder> {
         self._fields.0 = Option::Some(value.into());
         SubscriptionUpdateViewBuilder {
             _state: PhantomData,
@@ -1248,10 +1217,7 @@ where
     pub fn notebook(
         mut self,
         value: impl Into>,
-    ) -> SubscriptionUpdateViewBuilder<
-        S,
-        subscription_update_view_state::SetNotebook,
-    > {
+    ) -> SubscriptionUpdateViewBuilder> {
         self._fields.1 = Option::Some(value.into());
         SubscriptionUpdateViewBuilder {
             _state: PhantomData,
@@ -1270,10 +1236,7 @@ where
     pub fn updated_at(
         mut self,
         value: impl Into,
-    ) -> SubscriptionUpdateViewBuilder<
-        S,
-        subscription_update_view_state::SetUpdatedAt,
-    > {
+    ) -> SubscriptionUpdateViewBuilder> {
         self._fields.2 = Option::Some(value.into());
         SubscriptionUpdateViewBuilder {
             _state: PhantomData,
@@ -1283,15 +1246,9 @@ where
     }
 }
 
-impl<
-    S: BosStr,
-    St: subscription_update_view_state::State,
-> SubscriptionUpdateViewBuilder {
+impl SubscriptionUpdateViewBuilder {
     /// Set the `updatedEntries` field (optional)
-    pub fn updated_entries(
-        mut self,
-        value: impl Into>>>,
-    ) -> Self {
+    pub fn updated_entries(mut self, value: impl Into>>>) -> Self {
         self._fields.3 = value.into();
         self
     }
@@ -1332,4 +1289,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/notification/get_subscription_updates.rs b/crates/jacquard-api/src/sh_weaver/notification/get_subscription_updates.rs
index 258560a7..c61268d4 100644
--- a/crates/jacquard-api/src/sh_weaver/notification/get_subscription_updates.rs
+++ b/crates/jacquard-api/src/sh_weaver/notification/get_subscription_updates.rs
@@ -8,18 +8,21 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::sh_weaver::notification::SubscriptionUpdateView;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::Datetime;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::sh_weaver::notification::SubscriptionUpdateView;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetSubscriptionUpdates {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub cursor: Option,
@@ -31,9 +34,11 @@ pub struct GetSubscriptionUpdates {
     pub since: Option,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetSubscriptionUpdatesOutput {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub cursor: Option,
@@ -72,7 +77,7 @@ fn _default_limit() -> Option {
 
 pub mod get_subscription_updates_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -90,10 +95,7 @@ pub mod get_subscription_updates_state {
 }
 
 /// Builder for constructing an instance of this type.
-pub struct GetSubscriptionUpdatesBuilder<
-    S: BosStr,
-    St: get_subscription_updates_state::State,
-> {
+pub struct GetSubscriptionUpdatesBuilder {
     _state: PhantomData St>,
     _fields: (Option, Option, Option),
     _type: PhantomData S>,
@@ -101,10 +103,7 @@ pub struct GetSubscriptionUpdatesBuilder<
 
 impl GetSubscriptionUpdates {
     /// Create a new builder for this type.
-    pub fn new() -> GetSubscriptionUpdatesBuilder<
-        S,
-        get_subscription_updates_state::Empty,
-    > {
+    pub fn new() -> GetSubscriptionUpdatesBuilder {
         GetSubscriptionUpdatesBuilder::new()
     }
 }
@@ -120,10 +119,7 @@ impl GetSubscriptionUpdatesBuilder GetSubscriptionUpdatesBuilder {
+impl GetSubscriptionUpdatesBuilder {
     /// Set the `cursor` field (optional)
     pub fn cursor(mut self, value: impl Into>) -> Self {
         self._fields.0 = value.into();
@@ -136,10 +132,7 @@ impl<
     }
 }
 
-impl<
-    S: BosStr,
-    St: get_subscription_updates_state::State,
-> GetSubscriptionUpdatesBuilder {
+impl GetSubscriptionUpdatesBuilder {
     /// Set the `limit` field (optional)
     pub fn limit(mut self, value: impl Into>) -> Self {
         self._fields.1 = value.into();
@@ -152,10 +145,7 @@ impl<
     }
 }
 
-impl<
-    S: BosStr,
-    St: get_subscription_updates_state::State,
-> GetSubscriptionUpdatesBuilder {
+impl GetSubscriptionUpdatesBuilder {
     /// Set the `since` field (optional)
     pub fn since(mut self, value: impl Into>) -> Self {
         self._fields.2 = value.into();
@@ -180,4 +170,4 @@ where
             since: self._fields.2,
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/notification/get_unread_count.rs b/crates/jacquard-api/src/sh_weaver/notification/get_unread_count.rs
index a71754a1..e1186146 100644
--- a/crates/jacquard-api/src/sh_weaver/notification/get_unread_count.rs
+++ b/crates/jacquard-api/src/sh_weaver/notification/get_unread_count.rs
@@ -10,12 +10,12 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::Datetime;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(rename_all = "camelCase")]
@@ -24,9 +24,11 @@ pub struct GetUnreadCount {
     pub seen_at: Option,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetUnreadCountOutput {
     pub count: i64,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
@@ -59,7 +61,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetUnreadCountRequest {
 
 pub mod get_unread_count_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -122,4 +124,4 @@ where
             seen_at: self._fields.0,
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/notification/list_notifications.rs b/crates/jacquard-api/src/sh_weaver/notification/list_notifications.rs
index 0d9ccc40..2c84cab7 100644
--- a/crates/jacquard-api/src/sh_weaver/notification/list_notifications.rs
+++ b/crates/jacquard-api/src/sh_weaver/notification/list_notifications.rs
@@ -8,18 +8,21 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::sh_weaver::notification::Notification;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::Datetime;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::sh_weaver::notification::Notification;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ListNotifications {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub cursor: Option,
@@ -33,9 +36,11 @@ pub struct ListNotifications {
     pub seen_at: Option,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ListNotificationsOutput {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub cursor: Option,
@@ -76,7 +81,7 @@ fn _default_limit() -> Option {
 
 pub mod list_notifications_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -183,4 +188,4 @@ where
             seen_at: self._fields.3,
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/notification/update_seen.rs b/crates/jacquard-api/src/sh_weaver/notification/update_seen.rs
index c9c62ba7..a86c8b00 100644
--- a/crates/jacquard-api/src/sh_weaver/notification/update_seen.rs
+++ b/crates/jacquard-api/src/sh_weaver/notification/update_seen.rs
@@ -10,24 +10,29 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::Datetime;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct UpdateSeen {
     pub seen_at: Datetime,
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct UpdateSeenOutput {
     #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
     pub extra_data: Option>>,
@@ -44,9 +49,8 @@ impl jacquard_common::xrpc::XrpcResp for UpdateSeenResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for UpdateSeen {
     const NSID: &'static str = "sh.weaver.notification.updateSeen";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = UpdateSeenResponse;
 }
 
@@ -54,16 +58,15 @@ impl jacquard_common::xrpc::XrpcRequest for UpdateSeen {
 pub struct UpdateSeenRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for UpdateSeenRequest {
     const PATH: &'static str = "/xrpc/sh.weaver.notification.updateSeen";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = UpdateSeen;
     type Response = UpdateSeenResponse;
 }
 
 pub mod update_seen_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -150,13 +153,10 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> UpdateSeen {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> UpdateSeen {
         UpdateSeen {
             seen_at: self._fields.0.unwrap(),
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/sh_weaver/publish.rs b/crates/jacquard-api/src/sh_weaver/publish.rs
index 7effcbdc..8a87d520 100644
--- a/crates/jacquard-api/src/sh_weaver/publish.rs
+++ b/crates/jacquard-api/src/sh_weaver/publish.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod blob;
\ No newline at end of file
+pub mod blob;
diff --git a/crates/jacquard-api/src/sh_weaver/publish/blob.rs b/crates/jacquard-api/src/sh_weaver/publish/blob.rs
index b308249e..54e314b5 100644
--- a/crates/jacquard-api/src/sh_weaver/publish/blob.rs
+++ b/crates/jacquard-api/src/sh_weaver/publish/blob.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -27,7 +27,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// A simple record referencing a file hosted on a PDS
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -130,19 +130,16 @@ impl LexiconSchema for Blob {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["*/*"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("upload"),
@@ -158,7 +155,7 @@ impl LexiconSchema for Blob {
 
 pub mod blob_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -231,10 +228,7 @@ where
     St::Path: blob_state::IsUnset,
 {
     /// Set the `path` field (required)
-    pub fn path(
-        mut self,
-        value: impl Into,
-    ) -> BlobBuilder> {
+    pub fn path(mut self, value: impl Into) -> BlobBuilder> {
         self._fields.0 = Option::Some(value.into());
         BlobBuilder {
             _state: PhantomData,
@@ -288,10 +282,10 @@ where
 }
 
 fn lexicon_doc_sh_weaver_publish_blob() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("sh.weaver.publish.blob"),
@@ -300,34 +294,33 @@ fn lexicon_doc_sh_weaver_publish_blob() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static(
-                            "A simple record referencing a file hosted on a PDS",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "A simple record referencing a file hosted on a PDS",
+                    )),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("upload"), SmolStr::new_static("path")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("upload"),
+                            SmolStr::new_static("path"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
                             map.insert(
                                 SmolStr::new_static("path"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("relative path to the blob"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "relative path to the blob",
+                                    )),
                                     min_length: Some(1usize),
                                     ..Default::default()
                                 }),
                             );
                             map.insert(
                                 SmolStr::new_static("upload"),
-                                LexObjectProperty::Blob(LexBlob { ..Default::default() }),
+                                LexObjectProperty::Blob(LexBlob {
+                                    ..Default::default()
+                                }),
                             );
                             map
                         },
@@ -340,4 +333,4 @@ fn lexicon_doc_sh_weaver_publish_blob() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/site_standard.rs b/crates/jacquard-api/src/site_standard.rs
index 8b952140..ddb6898a 100644
--- a/crates/jacquard-api/src/site_standard.rs
+++ b/crates/jacquard-api/src/site_standard.rs
@@ -6,4 +6,4 @@
 pub mod document;
 pub mod graph;
 pub mod publication;
-pub mod theme;
\ No newline at end of file
+pub mod theme;
diff --git a/crates/jacquard-api/src/site_standard/document.rs b/crates/jacquard-api/src/site_standard/document.rs
index 046b7599..88094026 100644
--- a/crates/jacquard-api/src/site_standard/document.rs
+++ b/crates/jacquard-api/src/site_standard/document.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -25,13 +25,13 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::com_atproto::repo::strong_ref::StrongRef;
 use crate::pub_leaflet::content::Content;
 use crate::pub_leaflet::publication::Preferences;
 use crate::pub_leaflet::publication::Theme;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(
@@ -142,19 +142,16 @@ impl LexiconSchema for Document {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["image/*"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("cover_image"),
@@ -216,7 +213,7 @@ impl LexiconSchema for Document {
 
 pub mod document_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -306,19 +303,7 @@ impl DocumentBuilder {
         DocumentBuilder {
             _state: PhantomData,
             _fields: (
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
+                None, None, None, None, None, None, None, None, None, None, None, None, None,
             ),
             _type: PhantomData,
         }
@@ -560,10 +545,10 @@ where
 }
 
 fn lexicon_doc_site_standard_document() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("site.standard.document"),
@@ -700,4 +685,4 @@ fn lexicon_doc_site_standard_document() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/site_standard/graph.rs b/crates/jacquard-api/src/site_standard/graph.rs
index 061b7c32..f6dd500c 100644
--- a/crates/jacquard-api/src/site_standard/graph.rs
+++ b/crates/jacquard-api/src/site_standard/graph.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod subscription;
\ No newline at end of file
+pub mod subscription;
diff --git a/crates/jacquard-api/src/site_standard/graph/subscription.rs b/crates/jacquard-api/src/site_standard/graph/subscription.rs
index 4bcc6c38..ee6d5b96 100644
--- a/crates/jacquard-api/src/site_standard/graph/subscription.rs
+++ b/crates/jacquard-api/src/site_standard/graph/subscription.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// Record declaring a subscription to a publication
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -103,7 +103,7 @@ impl LexiconSchema for Subscription {
 
 pub mod subscription_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -190,10 +190,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> Subscription {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> Subscription {
         Subscription {
             publication: self._fields.0.unwrap(),
             extra_data: Some(extra_data),
@@ -202,10 +199,10 @@ where
 }
 
 fn lexicon_doc_site_standard_graph_subscription() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("site.standard.graph.subscription"),
@@ -214,11 +211,9 @@ fn lexicon_doc_site_standard_graph_subscription() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static(
-                            "Record declaring a subscription to a publication",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Record declaring a subscription to a publication",
+                    )),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
                         required: Some(vec![SmolStr::new_static("publication")]),
@@ -243,4 +238,4 @@ fn lexicon_doc_site_standard_graph_subscription() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/site_standard/publication.rs b/crates/jacquard-api/src/site_standard/publication.rs
index 99c3c362..f3152587 100644
--- a/crates/jacquard-api/src/site_standard/publication.rs
+++ b/crates/jacquard-api/src/site_standard/publication.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -25,12 +25,12 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::pub_leaflet::publication::Theme;
-use crate::site_standard::theme::basic::Basic;
 use crate::site_standard::publication;
+use crate::site_standard::theme::basic::Basic;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(
@@ -67,9 +67,11 @@ pub struct PublicationGetRecordOutput {
     pub value: Publication,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Preferences {
     /// Defaults to `true`.
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -177,19 +179,16 @@ impl LexiconSchema for Publication {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["image/*"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("icon"),
@@ -244,7 +243,7 @@ impl LexiconSchema for Preferences {
 
 pub mod publication_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -379,18 +378,12 @@ where
 
 impl PublicationBuilder {
     /// Set the `preferences` field (optional)
-    pub fn preferences(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn preferences(mut self, value: impl Into>>) -> Self {
         self._fields.4 = value.into();
         self
     }
     /// Set the `preferences` field to an Option value (optional)
-    pub fn maybe_preferences(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_preferences(mut self, value: Option>) -> Self {
         self._fields.4 = value;
         self
     }
@@ -448,10 +441,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> Publication {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> Publication {
         Publication {
             basic_theme: self._fields.0,
             description: self._fields.1,
@@ -466,10 +456,10 @@ where
 }
 
 fn lexicon_doc_site_standard_publication() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("site.standard.publication"),
@@ -480,9 +470,10 @@ fn lexicon_doc_site_standard_publication() -> LexiconDoc<'static> {
                 LexUserType::Record(LexRecord {
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![SmolStr::new_static("url"), SmolStr::new_static("name")],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("url"),
+                            SmolStr::new_static("name"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
@@ -503,7 +494,9 @@ fn lexicon_doc_site_standard_publication() -> LexiconDoc<'static> {
                             );
                             map.insert(
                                 SmolStr::new_static("icon"),
-                                LexObjectProperty::Blob(LexBlob { ..Default::default() }),
+                                LexObjectProperty::Blob(LexBlob {
+                                    ..Default::default()
+                                }),
                             );
                             map.insert(
                                 SmolStr::new_static("name"),
@@ -523,9 +516,7 @@ fn lexicon_doc_site_standard_publication() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("theme"),
                                 LexObjectProperty::Union(LexRefUnion {
-                                    refs: vec![
-                                        CowStr::new_static("pub.leaflet.publication#theme")
-                                    ],
+                                    refs: vec![CowStr::new_static("pub.leaflet.publication#theme")],
                                     ..Default::default()
                                 }),
                             );
@@ -621,4 +612,4 @@ impl Default for Preferences {
             extra_data: Default::default(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/site_standard/theme.rs b/crates/jacquard-api/src/site_standard/theme.rs
index a7391de7..bee0804d 100644
--- a/crates/jacquard-api/src/site_standard/theme.rs
+++ b/crates/jacquard-api/src/site_standard/theme.rs
@@ -4,4 +4,4 @@
 // Any manual changes will be overwritten on the next regeneration.
 
 pub mod basic;
-pub mod color;
\ No newline at end of file
+pub mod color;
diff --git a/crates/jacquard-api/src/site_standard/theme/basic.rs b/crates/jacquard-api/src/site_standard/theme/basic.rs
index df42e7ef..7596d571 100644
--- a/crates/jacquard-api/src/site_standard/theme/basic.rs
+++ b/crates/jacquard-api/src/site_standard/theme/basic.rs
@@ -20,13 +20,16 @@ use jacquard_derive::IntoStatic;
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::site_standard::theme::color::Rgb;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::site_standard::theme::color::Rgb;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Basic {
     pub accent: Rgb,
     pub accent_foreground: Rgb,
@@ -53,7 +56,7 @@ impl LexiconSchema for Basic {
 
 pub mod basic_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -128,7 +131,12 @@ pub mod basic_state {
 /// Builder for constructing an instance of this type.
 pub struct BasicBuilder {
     _state: PhantomData St>,
-    _fields: (Option>, Option>, Option>, Option>),
+    _fields: (
+        Option>,
+        Option>,
+        Option>,
+        Option>,
+    ),
     _type: PhantomData S>,
 }
 
@@ -257,10 +265,10 @@ where
 }
 
 fn lexicon_doc_site_standard_theme_basic() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("site.standard.theme.basic"),
@@ -269,50 +277,40 @@ fn lexicon_doc_site_standard_theme_basic() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("background"),
-                            SmolStr::new_static("foreground"),
-                            SmolStr::new_static("accent"),
-                            SmolStr::new_static("accentForeground")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("background"),
+                        SmolStr::new_static("foreground"),
+                        SmolStr::new_static("accent"),
+                        SmolStr::new_static("accentForeground"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("accent"),
                             LexObjectProperty::Union(LexRefUnion {
-                                refs: vec![
-                                    CowStr::new_static("site.standard.theme.color#rgb")
-                                ],
+                                refs: vec![CowStr::new_static("site.standard.theme.color#rgb")],
                                 ..Default::default()
                             }),
                         );
                         map.insert(
                             SmolStr::new_static("accentForeground"),
                             LexObjectProperty::Union(LexRefUnion {
-                                refs: vec![
-                                    CowStr::new_static("site.standard.theme.color#rgb")
-                                ],
+                                refs: vec![CowStr::new_static("site.standard.theme.color#rgb")],
                                 ..Default::default()
                             }),
                         );
                         map.insert(
                             SmolStr::new_static("background"),
                             LexObjectProperty::Union(LexRefUnion {
-                                refs: vec![
-                                    CowStr::new_static("site.standard.theme.color#rgb")
-                                ],
+                                refs: vec![CowStr::new_static("site.standard.theme.color#rgb")],
                                 ..Default::default()
                             }),
                         );
                         map.insert(
                             SmolStr::new_static("foreground"),
                             LexObjectProperty::Union(LexRefUnion {
-                                refs: vec![
-                                    CowStr::new_static("site.standard.theme.color#rgb")
-                                ],
+                                refs: vec![CowStr::new_static("site.standard.theme.color#rgb")],
                                 ..Default::default()
                             }),
                         );
@@ -325,4 +323,4 @@ fn lexicon_doc_site_standard_theme_basic() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/site_standard/theme/color.rs b/crates/jacquard-api/src/site_standard/theme/color.rs
index d12a1508..3a32f467 100644
--- a/crates/jacquard-api/src/site_standard/theme/color.rs
+++ b/crates/jacquard-api/src/site_standard/theme/color.rs
@@ -22,10 +22,13 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Rgb {
     pub b: i64,
     pub g: i64,
@@ -34,9 +37,11 @@ pub struct Rgb {
     pub extra_data: Option>>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Rgba {
     pub a: i64,
     pub b: i64,
@@ -218,7 +223,7 @@ impl LexiconSchema for Rgba {
 
 pub mod rgb_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -375,10 +380,10 @@ where
 }
 
 fn lexicon_doc_site_standard_theme_color() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("site.standard.theme.color"),
@@ -387,12 +392,11 @@ fn lexicon_doc_site_standard_theme_color() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("rgb"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("r"), SmolStr::new_static("g"),
-                            SmolStr::new_static("b")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("r"),
+                        SmolStr::new_static("g"),
+                        SmolStr::new_static("b"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -428,12 +432,12 @@ fn lexicon_doc_site_standard_theme_color() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("rgba"),
                 LexUserType::Object(LexObject {
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("r"), SmolStr::new_static("g"),
-                            SmolStr::new_static("b"), SmolStr::new_static("a")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("r"),
+                        SmolStr::new_static("g"),
+                        SmolStr::new_static("b"),
+                        SmolStr::new_static("a"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
@@ -482,7 +486,7 @@ fn lexicon_doc_site_standard_theme_color() -> LexiconDoc<'static> {
 
 pub mod rgba_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -671,4 +675,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/social_clippr.rs b/crates/jacquard-api/src/social_clippr.rs
index cd9ae06a..ae2edf6b 100644
--- a/crates/jacquard-api/src/social_clippr.rs
+++ b/crates/jacquard-api/src/social_clippr.rs
@@ -4,4 +4,4 @@
 // Any manual changes will be overwritten on the next regeneration.
 
 pub mod actor;
-pub mod feed;
\ No newline at end of file
+pub mod feed;
diff --git a/crates/jacquard-api/src/social_clippr/actor.rs b/crates/jacquard-api/src/social_clippr/actor.rs
index a8c59864..8d97b523 100644
--- a/crates/jacquard-api/src/social_clippr/actor.rs
+++ b/crates/jacquard-api/src/social_clippr/actor.rs
@@ -13,27 +13,26 @@ pub mod search_clips;
 pub mod search_profiles;
 pub mod search_tags;
 
-
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
 use jacquard_common::deps::smol_str::SmolStr;
-use jacquard_common::types::string::{Did, Handle, Datetime, UriValue};
+use jacquard_common::types::string::{Datetime, Did, Handle, UriValue};
 use jacquard_common::types::value::Data;
 use jacquard_derive::{IntoStatic, open_union};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::social_clippr::actor;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::social_clippr::actor;
+use serde::{Deserialize, Serialize};
 
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -48,7 +47,10 @@ pub type Preferences = Vec>;
 /// A view of an actor's profile.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ProfileView {
     ///A link to the profile's avatar
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -72,7 +74,10 @@ pub struct ProfileView {
 /// Preferences for an user's publishing scopes.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct PublishingScopesPref {
     ///What publishing scope to mark a clip as by default
     pub default_scope: PublishingScopesPrefDefaultScope,
@@ -128,8 +133,7 @@ impl Serialize for PublishingScopesPrefDefaultScope {
     }
 }
 
-impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de>
-for PublishingScopesPrefDefaultScope {
+impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> for PublishingScopesPrefDefaultScope {
     fn deserialize(deserializer: D) -> Result
     where
         D: serde::Deserializer<'de>,
@@ -153,9 +157,7 @@ where
     type Output = PublishingScopesPrefDefaultScope;
     fn into_static(self) -> Self::Output {
         match self {
-            PublishingScopesPrefDefaultScope::Public => {
-                PublishingScopesPrefDefaultScope::Public
-            }
+            PublishingScopesPrefDefaultScope::Public => PublishingScopesPrefDefaultScope::Public,
             PublishingScopesPrefDefaultScope::Unlisted => {
                 PublishingScopesPrefDefaultScope::Unlisted
             }
@@ -244,7 +246,7 @@ impl LexiconSchema for PublishingScopesPref {
 
 pub mod profile_view_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -448,10 +450,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> ProfileView {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> ProfileView {
         ProfileView {
             avatar: self._fields.0,
             created_at: self._fields.1,
@@ -465,10 +464,10 @@ where
 }
 
 fn lexicon_doc_social_clippr_actor_defs() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("social.clippr.actor.defs"),
@@ -487,24 +486,21 @@ fn lexicon_doc_social_clippr_actor_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("profileView"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("A view of an actor's profile."),
-                    ),
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("did"), SmolStr::new_static("handle"),
-                            SmolStr::new_static("displayName")
-                        ],
-                    ),
+                    description: Some(CowStr::new_static("A view of an actor's profile.")),
+                    required: Some(vec![
+                        SmolStr::new_static("did"),
+                        SmolStr::new_static("handle"),
+                        SmolStr::new_static("displayName"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("avatar"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("A link to the profile's avatar"),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "A link to the profile's avatar",
+                                )),
                                 format: Some(LexStringFormat::Uri),
                                 ..Default::default()
                             }),
@@ -512,11 +508,9 @@ fn lexicon_doc_social_clippr_actor_defs() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("createdAt"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "When the profile record was first created",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "When the profile record was first created",
+                                )),
                                 format: Some(LexStringFormat::Datetime),
                                 ..Default::default()
                             }),
@@ -524,11 +518,9 @@ fn lexicon_doc_social_clippr_actor_defs() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("description"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "The biography associated to the profile",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "The biography associated to the profile",
+                                )),
                                 max_length: Some(5000usize),
                                 max_graphemes: Some(500usize),
                                 ..Default::default()
@@ -537,9 +529,7 @@ fn lexicon_doc_social_clippr_actor_defs() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("did"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("The DID of the profile"),
-                                ),
+                                description: Some(CowStr::new_static("The DID of the profile")),
                                 format: Some(LexStringFormat::Did),
                                 ..Default::default()
                             }),
@@ -547,11 +537,9 @@ fn lexicon_doc_social_clippr_actor_defs() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("displayName"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "The display name associated to the profile",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "The display name associated to the profile",
+                                )),
                                 max_length: Some(640usize),
                                 max_graphemes: Some(64usize),
                                 ..Default::default()
@@ -560,9 +548,7 @@ fn lexicon_doc_social_clippr_actor_defs() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("handle"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("The handle of the profile"),
-                                ),
+                                description: Some(CowStr::new_static("The handle of the profile")),
                                 format: Some(LexStringFormat::Handle),
                                 ..Default::default()
                             }),
@@ -575,11 +561,9 @@ fn lexicon_doc_social_clippr_actor_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("publishingScopesPref"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static(
-                            "Preferences for an user's publishing scopes.",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "Preferences for an user's publishing scopes.",
+                    )),
                     required: Some(vec![SmolStr::new_static("defaultScope")]),
                     properties: {
                         #[allow(unused_mut)]
@@ -587,11 +571,9 @@ fn lexicon_doc_social_clippr_actor_defs() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("defaultScope"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "What publishing scope to mark a clip as by default",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "What publishing scope to mark a clip as by default",
+                                )),
                                 ..Default::default()
                             }),
                         );
@@ -604,4 +586,4 @@ fn lexicon_doc_social_clippr_actor_defs() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/social_clippr/actor/get_preferences.rs b/crates/jacquard-api/src/social_clippr/actor/get_preferences.rs
index b9a64337..0868c23a 100644
--- a/crates/jacquard-api/src/social_clippr/actor/get_preferences.rs
+++ b/crates/jacquard-api/src/social_clippr/actor/get_preferences.rs
@@ -8,21 +8,24 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::social_clippr::actor::Preferences;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::social_clippr::actor::Preferences;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(rename_all = "camelCase")]
 pub struct GetPreferences;
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetPreferencesOutput {
     ///A ref to the user's preferences
     pub preferences: Preferences,
@@ -52,4 +55,4 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetPreferencesRequest {
     const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Query;
     type Request = GetPreferences;
     type Response = GetPreferencesResponse;
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/social_clippr/actor/get_profile.rs b/crates/jacquard-api/src/social_clippr/actor/get_profile.rs
index 0ae03773..b5012c3c 100644
--- a/crates/jacquard-api/src/social_clippr/actor/get_profile.rs
+++ b/crates/jacquard-api/src/social_clippr/actor/get_profile.rs
@@ -8,25 +8,30 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::social_clippr::actor::ProfileView;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::ident::AtIdentifier;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::social_clippr::actor::ProfileView;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetProfile {
     pub actor: AtIdentifier,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetProfileOutput {
     #[serde(flatten)]
     pub value: ProfileView,
@@ -60,7 +65,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetProfileRequest {
 
 pub mod get_profile_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -145,4 +150,4 @@ where
             actor: self._fields.0.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/social_clippr/actor/profile.rs b/crates/jacquard-api/src/social_clippr/actor/profile.rs
index 6e87499f..0a384c85 100644
--- a/crates/jacquard-api/src/social_clippr/actor/profile.rs
+++ b/crates/jacquard-api/src/social_clippr/actor/profile.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -27,7 +27,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// A declaration of a Clippr account's profile.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -123,25 +123,20 @@ impl LexiconSchema for Profile {
             {
                 let mime = value.blob().mime_type.as_str();
                 let accepted: &[&str] = &["image/png", "image/jpeg"];
-                let matched = accepted
-                    .iter()
-                    .any(|pattern| {
-                        if *pattern == "*/*" {
-                            true
-                        } else if pattern.ends_with("/*") {
-                            let prefix = &pattern[..pattern.len() - 2];
-                            mime.starts_with(prefix)
-                                && mime.as_bytes().get(prefix.len()) == Some(&b'/')
-                        } else {
-                            mime == *pattern
-                        }
-                    });
+                let matched = accepted.iter().any(|pattern| {
+                    if *pattern == "*/*" {
+                        true
+                    } else if pattern.ends_with("/*") {
+                        let prefix = &pattern[..pattern.len() - 2];
+                        mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/')
+                    } else {
+                        mime == *pattern
+                    }
+                });
                 if !matched {
                     return Err(ConstraintError::BlobMimeTypeNotAccepted {
                         path: ValidationPath::from_field("avatar"),
-                        accepted: vec![
-                            "image/png".to_string(), "image/jpeg".to_string()
-                        ],
+                        accepted: vec!["image/png".to_string(), "image/jpeg".to_string()],
                         actual: mime.to_string(),
                     });
                 }
@@ -199,7 +194,7 @@ impl LexiconSchema for Profile {
 
 pub mod profile_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -359,10 +354,10 @@ where
 }
 
 fn lexicon_doc_social_clippr_actor_profile() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("social.clippr.actor.profile"),
@@ -371,32 +366,30 @@ fn lexicon_doc_social_clippr_actor_profile() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static(
-                            "A declaration of a Clippr account's profile.",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "A declaration of a Clippr account's profile.",
+                    )),
                     key: Some(CowStr::new_static("literal:self")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("createdAt"),
-                                SmolStr::new_static("displayName")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("createdAt"),
+                            SmolStr::new_static("displayName"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
                             map.insert(
                                 SmolStr::new_static("avatar"),
-                                LexObjectProperty::Blob(LexBlob { ..Default::default() }),
+                                LexObjectProperty::Blob(LexBlob {
+                                    ..Default::default()
+                                }),
                             );
                             map.insert(
                                 SmolStr::new_static("createdAt"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("The creation date of the profile"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "The creation date of the profile",
+                                    )),
                                     format: Some(LexStringFormat::Datetime),
                                     ..Default::default()
                                 }),
@@ -404,9 +397,9 @@ fn lexicon_doc_social_clippr_actor_profile() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("description"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("Text for user to describe themselves"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Text for user to describe themselves",
+                                    )),
                                     max_length: Some(5000usize),
                                     max_graphemes: Some(500usize),
                                     ..Default::default()
@@ -415,11 +408,9 @@ fn lexicon_doc_social_clippr_actor_profile() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("displayName"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "A display name to be shown on a profile",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "A display name to be shown on a profile",
+                                    )),
                                     max_length: Some(640usize),
                                     max_graphemes: Some(64usize),
                                     ..Default::default()
@@ -436,4 +427,4 @@ fn lexicon_doc_social_clippr_actor_profile() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/social_clippr/actor/put_preferences.rs b/crates/jacquard-api/src/social_clippr/actor/put_preferences.rs
index c8346f19..86fec44f 100644
--- a/crates/jacquard-api/src/social_clippr/actor/put_preferences.rs
+++ b/crates/jacquard-api/src/social_clippr/actor/put_preferences.rs
@@ -8,17 +8,20 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::social_clippr::actor::Preferences;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::social_clippr::actor::Preferences;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct PutPreferences {
     ///A ref to the user's preferences
     pub preferences: Preferences,
@@ -37,9 +40,8 @@ impl jacquard_common::xrpc::XrpcResp for PutPreferencesResponse {
 
 impl jacquard_common::xrpc::XrpcRequest for PutPreferences {
     const NSID: &'static str = "social.clippr.actor.putPreferences";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Response = PutPreferencesResponse;
 }
 
@@ -47,16 +49,15 @@ impl jacquard_common::xrpc::XrpcRequest for PutPreferences {
 pub struct PutPreferencesRequest;
 impl jacquard_common::xrpc::XrpcEndpoint for PutPreferencesRequest {
     const PATH: &'static str = "/xrpc/social.clippr.actor.putPreferences";
-    const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
-        "application/json",
-    );
+    const METHOD: jacquard_common::xrpc::XrpcMethod =
+        jacquard_common::xrpc::XrpcMethod::Procedure("application/json");
     type Request = PutPreferences;
     type Response = PutPreferencesResponse;
 }
 
 pub mod put_preferences_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -143,13 +144,10 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> PutPreferences {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> PutPreferences {
         PutPreferences {
             preferences: self._fields.0.unwrap(),
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/social_clippr/actor/search_clips.rs b/crates/jacquard-api/src/social_clippr/actor/search_clips.rs
index d7caecb5..ab676f5e 100644
--- a/crates/jacquard-api/src/social_clippr/actor/search_clips.rs
+++ b/crates/jacquard-api/src/social_clippr/actor/search_clips.rs
@@ -8,18 +8,21 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::social_clippr::feed::ClipView;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::ident::AtIdentifier;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::social_clippr::feed::ClipView;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct SearchClips {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub actor: Option>,
@@ -32,9 +35,11 @@ pub struct SearchClips {
     pub q: S,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct SearchClipsOutput {
     ///A list of clips and their associated details
     pub clips: Vec>,
@@ -75,7 +80,7 @@ fn _default_limit() -> Option {
 
 pub mod search_clips_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -175,10 +180,7 @@ where
     St::Q: search_clips_state::IsUnset,
 {
     /// Set the `q` field (required)
-    pub fn q(
-        mut self,
-        value: impl Into,
-    ) -> SearchClipsBuilder> {
+    pub fn q(mut self, value: impl Into) -> SearchClipsBuilder> {
         self._fields.3 = Option::Some(value.into());
         SearchClipsBuilder {
             _state: PhantomData,
@@ -202,4 +204,4 @@ where
             q: self._fields.3.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/social_clippr/actor/search_profiles.rs b/crates/jacquard-api/src/social_clippr/actor/search_profiles.rs
index bfc18205..1e6d2eca 100644
--- a/crates/jacquard-api/src/social_clippr/actor/search_profiles.rs
+++ b/crates/jacquard-api/src/social_clippr/actor/search_profiles.rs
@@ -8,17 +8,20 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::social_clippr::actor::ProfileView;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::social_clippr::actor::ProfileView;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct SearchProfiles {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub cursor: Option,
@@ -30,9 +33,11 @@ pub struct SearchProfiles {
     pub q: Option,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct SearchProfilesOutput {
     pub actors: Vec>,
     ///A parameter used for pagination
@@ -72,7 +77,7 @@ fn _default_limit() -> Option {
 
 pub mod search_profiles_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -165,4 +170,4 @@ where
             q: self._fields.2,
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/social_clippr/actor/search_tags.rs b/crates/jacquard-api/src/social_clippr/actor/search_tags.rs
index ff7dc745..12ce8080 100644
--- a/crates/jacquard-api/src/social_clippr/actor/search_tags.rs
+++ b/crates/jacquard-api/src/social_clippr/actor/search_tags.rs
@@ -8,18 +8,21 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::social_clippr::feed::TagView;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::ident::AtIdentifier;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::social_clippr::feed::TagView;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct SearchTags {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub actor: Option>,
@@ -32,9 +35,11 @@ pub struct SearchTags {
     pub q: S,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct SearchTagsOutput {
     ///A parameter to paginate results
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -75,7 +80,7 @@ fn _default_limit() -> Option {
 
 pub mod search_tags_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -175,10 +180,7 @@ where
     St::Q: search_tags_state::IsUnset,
 {
     /// Set the `q` field (required)
-    pub fn q(
-        mut self,
-        value: impl Into,
-    ) -> SearchTagsBuilder> {
+    pub fn q(mut self, value: impl Into) -> SearchTagsBuilder> {
         self._fields.3 = Option::Some(value.into());
         SearchTagsBuilder {
             _state: PhantomData,
@@ -202,4 +204,4 @@ where
             q: self._fields.3.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/social_clippr/feed.rs b/crates/jacquard-api/src/social_clippr/feed.rs
index f21e3fa7..0f8e6ff9 100644
--- a/crates/jacquard-api/src/social_clippr/feed.rs
+++ b/crates/jacquard-api/src/social_clippr/feed.rs
@@ -13,7 +13,6 @@ pub mod get_tag_list;
 pub mod get_tags;
 pub mod tag;
 
-
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
@@ -30,14 +29,17 @@ use jacquard_derive::IntoStatic;
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::social_clippr::actor::ProfileView;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::social_clippr::actor::ProfileView;
+use serde::{Deserialize, Serialize};
 /// A view of a single bookmark (or 'clip').
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct ClipView {
     ///A reference to the actor's profile
     pub author: ProfileView,
@@ -56,7 +58,10 @@ pub struct ClipView {
 /// A view of a single tag.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct TagView {
     ///A reference to the actor's profile
     pub author: ProfileView,
@@ -104,7 +109,7 @@ impl LexiconSchema for TagView {
 
 pub mod clip_view_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -354,10 +359,10 @@ where
 }
 
 fn lexicon_doc_social_clippr_feed_defs() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("social.clippr.feed.defs"),
@@ -366,34 +371,30 @@ fn lexicon_doc_social_clippr_feed_defs() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("clipView"),
                 LexUserType::Object(LexObject {
-                    description: Some(
-                        CowStr::new_static("A view of a single bookmark (or 'clip')."),
-                    ),
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("uri"), SmolStr::new_static("cid"),
-                            SmolStr::new_static("author"), SmolStr::new_static("record"),
-                            SmolStr::new_static("indexedAt")
-                        ],
-                    ),
+                    description: Some(CowStr::new_static(
+                        "A view of a single bookmark (or 'clip').",
+                    )),
+                    required: Some(vec![
+                        SmolStr::new_static("uri"),
+                        SmolStr::new_static("cid"),
+                        SmolStr::new_static("author"),
+                        SmolStr::new_static("record"),
+                        SmolStr::new_static("indexedAt"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("author"),
                             LexObjectProperty::Ref(LexRef {
-                                r#ref: CowStr::new_static(
-                                    "social.clippr.actor.defs#profileView",
-                                ),
+                                r#ref: CowStr::new_static("social.clippr.actor.defs#profileView"),
                                 ..Default::default()
                             }),
                         );
                         map.insert(
                             SmolStr::new_static("cid"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("The CID of the clip"),
-                                ),
+                                description: Some(CowStr::new_static("The CID of the clip")),
                                 format: Some(LexStringFormat::Cid),
                                 ..Default::default()
                             }),
@@ -401,11 +402,9 @@ fn lexicon_doc_social_clippr_feed_defs() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("indexedAt"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "When the tag was first indexed by the AppView",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "When the tag was first indexed by the AppView",
+                                )),
                                 format: Some(LexStringFormat::Datetime),
                                 ..Default::default()
                             }),
@@ -419,9 +418,7 @@ fn lexicon_doc_social_clippr_feed_defs() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("uri"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("The AT-URI of the clip"),
-                                ),
+                                description: Some(CowStr::new_static("The AT-URI of the clip")),
                                 format: Some(LexStringFormat::AtUri),
                                 ..Default::default()
                             }),
@@ -435,22 +432,20 @@ fn lexicon_doc_social_clippr_feed_defs() -> LexiconDoc<'static> {
                 SmolStr::new_static("tagView"),
                 LexUserType::Object(LexObject {
                     description: Some(CowStr::new_static("A view of a single tag.")),
-                    required: Some(
-                        vec![
-                            SmolStr::new_static("uri"), SmolStr::new_static("cid"),
-                            SmolStr::new_static("author"), SmolStr::new_static("record"),
-                            SmolStr::new_static("indexedAt")
-                        ],
-                    ),
+                    required: Some(vec![
+                        SmolStr::new_static("uri"),
+                        SmolStr::new_static("cid"),
+                        SmolStr::new_static("author"),
+                        SmolStr::new_static("record"),
+                        SmolStr::new_static("indexedAt"),
+                    ]),
                     properties: {
                         #[allow(unused_mut)]
                         let mut map = BTreeMap::new();
                         map.insert(
                             SmolStr::new_static("author"),
                             LexObjectProperty::Ref(LexRef {
-                                r#ref: CowStr::new_static(
-                                    "social.clippr.actor.defs#profileView",
-                                ),
+                                r#ref: CowStr::new_static("social.clippr.actor.defs#profileView"),
                                 ..Default::default()
                             }),
                         );
@@ -465,11 +460,9 @@ fn lexicon_doc_social_clippr_feed_defs() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("indexedAt"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static(
-                                        "When the tag was first indexed by the AppView",
-                                    ),
-                                ),
+                                description: Some(CowStr::new_static(
+                                    "When the tag was first indexed by the AppView",
+                                )),
                                 format: Some(LexStringFormat::Datetime),
                                 ..Default::default()
                             }),
@@ -483,9 +476,7 @@ fn lexicon_doc_social_clippr_feed_defs() -> LexiconDoc<'static> {
                         map.insert(
                             SmolStr::new_static("uri"),
                             LexObjectProperty::String(LexString {
-                                description: Some(
-                                    CowStr::new_static("The AT-URI to the tag"),
-                                ),
+                                description: Some(CowStr::new_static("The AT-URI to the tag")),
                                 format: Some(LexStringFormat::AtUri),
                                 ..Default::default()
                             }),
@@ -503,7 +494,7 @@ fn lexicon_doc_social_clippr_feed_defs() -> LexiconDoc<'static> {
 
 pub mod tag_view_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -750,4 +741,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/social_clippr/feed/clip.rs b/crates/jacquard-api/src/social_clippr/feed/clip.rs
index a931030d..cc81e66a 100644
--- a/crates/jacquard-api/src/social_clippr/feed/clip.rs
+++ b/crates/jacquard-api/src/social_clippr/feed/clip.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
+use crate::com_atproto::repo::strong_ref::StrongRef;
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
-use crate::com_atproto::repo::strong_ref::StrongRef;
+use serde::{Deserialize, Serialize};
 /// Record containing a bookmarked item, or 'clip'.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -239,7 +239,7 @@ fn _default_clip_unread() -> Option {
 
 pub mod clip_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -447,10 +447,7 @@ where
     St::Title: clip_state::IsUnset,
 {
     /// Set the `title` field (required)
-    pub fn title(
-        mut self,
-        value: impl Into,
-    ) -> ClipBuilder> {
+    pub fn title(mut self, value: impl Into) -> ClipBuilder> {
         self._fields.5 = Option::Some(value.into());
         ClipBuilder {
             _state: PhantomData,
@@ -498,10 +495,7 @@ where
     St::Url: clip_state::IsUnset,
 {
     /// Set the `url` field (required)
-    pub fn url(
-        mut self,
-        value: impl Into>,
-    ) -> ClipBuilder> {
+    pub fn url(mut self, value: impl Into>) -> ClipBuilder> {
         self._fields.8 = Option::Some(value.into());
         ClipBuilder {
             _state: PhantomData,
@@ -553,10 +547,10 @@ where
 }
 
 fn lexicon_doc_social_clippr_feed_clip() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("social.clippr.feed.clip"),
@@ -702,4 +696,4 @@ fn lexicon_doc_social_clippr_feed_clip() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/social_clippr/feed/get_clips.rs b/crates/jacquard-api/src/social_clippr/feed/get_clips.rs
index a06872b7..db56fb38 100644
--- a/crates/jacquard-api/src/social_clippr/feed/get_clips.rs
+++ b/crates/jacquard-api/src/social_clippr/feed/get_clips.rs
@@ -8,25 +8,30 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::social_clippr::feed::ClipView;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::AtUri;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::social_clippr::feed::ClipView;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetClips {
     pub uris: Vec>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetClipsOutput {
     ///An array of hydrated clip views
     pub clips: Vec>,
@@ -60,7 +65,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetClipsRequest {
 
 pub mod get_clips_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -145,4 +150,4 @@ where
             uris: self._fields.0.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/social_clippr/feed/get_profile_clips.rs b/crates/jacquard-api/src/social_clippr/feed/get_profile_clips.rs
index daa04c0e..377e29be 100644
--- a/crates/jacquard-api/src/social_clippr/feed/get_profile_clips.rs
+++ b/crates/jacquard-api/src/social_clippr/feed/get_profile_clips.rs
@@ -8,18 +8,21 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::social_clippr::feed::ClipView;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::ident::AtIdentifier;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::social_clippr::feed::ClipView;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetProfileClips {
     pub actor: AtIdentifier,
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -34,9 +37,11 @@ pub struct GetProfileClips {
     pub limit: Option,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetProfileClipsOutput {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub cursor: Option,
@@ -79,7 +84,7 @@ fn _default_limit() -> Option {
 
 pub mod get_profile_clips_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -206,4 +211,4 @@ where
             limit: self._fields.3,
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/social_clippr/feed/get_profile_tags.rs b/crates/jacquard-api/src/social_clippr/feed/get_profile_tags.rs
index f1525d34..82224bfa 100644
--- a/crates/jacquard-api/src/social_clippr/feed/get_profile_tags.rs
+++ b/crates/jacquard-api/src/social_clippr/feed/get_profile_tags.rs
@@ -8,18 +8,21 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::social_clippr::feed::TagView;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::ident::AtIdentifier;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::social_clippr::feed::TagView;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetProfileTags {
     pub actor: AtIdentifier,
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -30,9 +33,11 @@ pub struct GetProfileTags {
     pub limit: Option,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetProfileTagsOutput {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub cursor: Option,
@@ -71,7 +76,7 @@ fn _default_limit() -> Option {
 
 pub mod get_profile_tags_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -184,4 +189,4 @@ where
             limit: self._fields.2,
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/social_clippr/feed/get_tag_list.rs b/crates/jacquard-api/src/social_clippr/feed/get_tag_list.rs
index f7bc6e1b..0b489ad8 100644
--- a/crates/jacquard-api/src/social_clippr/feed/get_tag_list.rs
+++ b/crates/jacquard-api/src/social_clippr/feed/get_tag_list.rs
@@ -8,26 +8,31 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::social_clippr::feed::TagView;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::ident::AtIdentifier;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::social_clippr::feed::TagView;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetTagList {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub actor: Option>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetTagListOutput {
     ///A list of tags and their associated details
     pub tags: Vec>,
@@ -61,7 +66,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetTagListRequest {
 
 pub mod get_tag_list_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -126,4 +131,4 @@ where
             actor: self._fields.0,
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/social_clippr/feed/get_tags.rs b/crates/jacquard-api/src/social_clippr/feed/get_tags.rs
index aa1852cc..8d4cfcd8 100644
--- a/crates/jacquard-api/src/social_clippr/feed/get_tags.rs
+++ b/crates/jacquard-api/src/social_clippr/feed/get_tags.rs
@@ -8,25 +8,30 @@
 #[allow(unused_imports)]
 use alloc::collections::BTreeMap;
 
+use crate::social_clippr::feed::TagView;
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_common::deps::smol_str::SmolStr;
 use jacquard_common::types::string::AtUri;
 use jacquard_common::types::value::Data;
+use jacquard_common::{BosStr, DefaultStr, FromStaticStr};
 use jacquard_derive::IntoStatic;
-use serde::{Serialize, Deserialize};
-use crate::social_clippr::feed::TagView;
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetTags {
     pub uris: Vec>,
 }
 
-
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct GetTagsOutput {
     ///An array of hydrated tag views
     pub tags: Vec>,
@@ -60,7 +65,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetTagsRequest {
 
 pub mod get_tags_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -145,4 +150,4 @@ where
             uris: self._fields.0.unwrap(),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/social_clippr/feed/tag.rs b/crates/jacquard-api/src/social_clippr/feed/tag.rs
index 25ddd5dc..6d205b80 100644
--- a/crates/jacquard-api/src/social_clippr/feed/tag.rs
+++ b/crates/jacquard-api/src/social_clippr/feed/tag.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// A record containing a bookmark tag for organization.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -180,7 +180,7 @@ impl LexiconSchema for Tag {
 
 pub mod tag_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -337,10 +337,10 @@ where
 }
 
 fn lexicon_doc_social_clippr_feed_tag() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("social.clippr.feed.tag"),
@@ -349,28 +349,24 @@ fn lexicon_doc_social_clippr_feed_tag() -> LexiconDoc<'static> {
             map.insert(
                 SmolStr::new_static("main"),
                 LexUserType::Record(LexRecord {
-                    description: Some(
-                        CowStr::new_static(
-                            "A record containing a bookmark tag for organization.",
-                        ),
-                    ),
+                    description: Some(CowStr::new_static(
+                        "A record containing a bookmark tag for organization.",
+                    )),
                     key: Some(CowStr::new_static("any")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("name"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("name"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
                             map.insert(
                                 SmolStr::new_static("color"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("A hexadecimal color code"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "A hexadecimal color code",
+                                    )),
                                     max_length: Some(70usize),
                                     max_graphemes: Some(7usize),
                                     ..Default::default()
@@ -379,11 +375,9 @@ fn lexicon_doc_social_clippr_feed_tag() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("createdAt"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "A client-defined timestamp for the creation of the tag",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "A client-defined timestamp for the creation of the tag",
+                                    )),
                                     format: Some(LexStringFormat::Datetime),
                                     ..Default::default()
                                 }),
@@ -391,11 +385,9 @@ fn lexicon_doc_social_clippr_feed_tag() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("description"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "A description of the tag for additional context",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "A description of the tag for additional context",
+                                    )),
                                     max_length: Some(50000usize),
                                     max_graphemes: Some(5000usize),
                                     ..Default::default()
@@ -404,11 +396,9 @@ fn lexicon_doc_social_clippr_feed_tag() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("name"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "A de-duplicated string containing the name of the tag",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "A de-duplicated string containing the name of the tag",
+                                    )),
                                     max_length: Some(640usize),
                                     max_graphemes: Some(64usize),
                                     ..Default::default()
@@ -425,4 +415,4 @@ fn lexicon_doc_social_clippr_feed_tag() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/social_colibri.rs b/crates/jacquard-api/src/social_colibri.rs
index fb0a0f1a..4e5f21d5 100644
--- a/crates/jacquard-api/src/social_colibri.rs
+++ b/crates/jacquard-api/src/social_colibri.rs
@@ -4,4 +4,4 @@
 // Any manual changes will be overwritten on the next regeneration.
 
 pub mod approval;
-pub mod membership;
\ No newline at end of file
+pub mod membership;
diff --git a/crates/jacquard-api/src/social_colibri/approval.rs b/crates/jacquard-api/src/social_colibri/approval.rs
index 1f3e14bc..2e7b6938 100644
--- a/crates/jacquard-api/src/social_colibri/approval.rs
+++ b/crates/jacquard-api/src/social_colibri/approval.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(
@@ -106,7 +106,7 @@ impl LexiconSchema for Approval {
 
 pub mod approval_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -272,10 +272,10 @@ where
 }
 
 fn lexicon_doc_social_colibri_approval() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("social.colibri.approval"),
@@ -286,24 +286,20 @@ fn lexicon_doc_social_colibri_approval() -> LexiconDoc<'static> {
                 LexUserType::Record(LexRecord {
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("membership"),
-                                SmolStr::new_static("community"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("membership"),
+                            SmolStr::new_static("community"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
                             map.insert(
                                 SmolStr::new_static("community"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "AT-URI of the social.colibri.community record",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "AT-URI of the social.colibri.community record",
+                                    )),
                                     format: Some(LexStringFormat::AtUri),
                                     ..Default::default()
                                 }),
@@ -318,11 +314,9 @@ fn lexicon_doc_social_colibri_approval() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("membership"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "AT-URI of the user's social.colibri.membership record",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "AT-URI of the user's social.colibri.membership record",
+                                    )),
                                     format: Some(LexStringFormat::AtUri),
                                     ..Default::default()
                                 }),
@@ -338,4 +332,4 @@ fn lexicon_doc_social_colibri_approval() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/social_colibri/membership.rs b/crates/jacquard-api/src/social_colibri/membership.rs
index ef872f63..61c1a817 100644
--- a/crates/jacquard-api/src/social_colibri/membership.rs
+++ b/crates/jacquard-api/src/social_colibri/membership.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(
@@ -104,7 +104,7 @@ impl LexiconSchema for Membership {
 
 pub mod membership_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -224,10 +224,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> Membership {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> Membership {
         Membership {
             community: self._fields.0.unwrap(),
             created_at: self._fields.1.unwrap(),
@@ -237,10 +234,10 @@ where
 }
 
 fn lexicon_doc_social_colibri_membership() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("social.colibri.membership"),
@@ -290,4 +287,4 @@ fn lexicon_doc_social_colibri_membership() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/social_drydown.rs b/crates/jacquard-api/src/social_drydown.rs
index 192063a1..3496e96d 100644
--- a/crates/jacquard-api/src/social_drydown.rs
+++ b/crates/jacquard-api/src/social_drydown.rs
@@ -6,4 +6,4 @@
 pub mod fragrance;
 pub mod house;
 pub mod review;
-pub mod settings;
\ No newline at end of file
+pub mod settings;
diff --git a/crates/jacquard-api/src/social_drydown/fragrance.rs b/crates/jacquard-api/src/social_drydown/fragrance.rs
index ea767e95..dc13f9f0 100644
--- a/crates/jacquard-api/src/social_drydown/fragrance.rs
+++ b/crates/jacquard-api/src/social_drydown/fragrance.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// An individual fragrance with house reference
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -154,7 +154,7 @@ impl LexiconSchema for Fragrance {
 
 pub mod fragrance_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -343,10 +343,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> Fragrance {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> Fragrance {
         Fragrance {
             created_at: self._fields.0.unwrap(),
             house: self._fields.1.unwrap(),
@@ -359,10 +356,10 @@ where
 }
 
 fn lexicon_doc_social_drydown_fragrance() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("social.drydown.fragrance"),
@@ -447,4 +444,4 @@ fn lexicon_doc_social_drydown_fragrance() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/social_drydown/house.rs b/crates/jacquard-api/src/social_drydown/house.rs
index 074181df..94a731f2 100644
--- a/crates/jacquard-api/src/social_drydown/house.rs
+++ b/crates/jacquard-api/src/social_drydown/house.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// A fragrance house or brand
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -131,7 +131,7 @@ impl LexiconSchema for House {
 
 pub mod house_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -223,10 +223,7 @@ where
     St::Name: house_state::IsUnset,
 {
     /// Set the `name` field (required)
-    pub fn name(
-        mut self,
-        value: impl Into,
-    ) -> HouseBuilder> {
+    pub fn name(mut self, value: impl Into) -> HouseBuilder> {
         self._fields.1 = Option::Some(value.into());
         HouseBuilder {
             _state: PhantomData,
@@ -276,10 +273,10 @@ where
 }
 
 fn lexicon_doc_social_drydown_house() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("social.drydown.house"),
@@ -291,21 +288,19 @@ fn lexicon_doc_social_drydown_house() -> LexiconDoc<'static> {
                     description: Some(CowStr::new_static("A fragrance house or brand")),
                     key: Some(CowStr::new_static("tid")),
                     record: LexRecordRecord::Object(LexObject {
-                        required: Some(
-                            vec![
-                                SmolStr::new_static("name"),
-                                SmolStr::new_static("createdAt")
-                            ],
-                        ),
+                        required: Some(vec![
+                            SmolStr::new_static("name"),
+                            SmolStr::new_static("createdAt"),
+                        ]),
                         properties: {
                             #[allow(unused_mut)]
                             let mut map = BTreeMap::new();
                             map.insert(
                                 SmolStr::new_static("createdAt"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static("Timestamp when house was created"),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Timestamp when house was created",
+                                    )),
                                     format: Some(LexStringFormat::Datetime),
                                     ..Default::default()
                                 }),
@@ -313,11 +308,9 @@ fn lexicon_doc_social_drydown_house() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("name"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "House/brand name (must be unique per user)",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "House/brand name (must be unique per user)",
+                                    )),
                                     min_length: Some(1usize),
                                     max_length: Some(100usize),
                                     ..Default::default()
@@ -326,11 +319,9 @@ fn lexicon_doc_social_drydown_house() -> LexiconDoc<'static> {
                             map.insert(
                                 SmolStr::new_static("updatedAt"),
                                 LexObjectProperty::String(LexString {
-                                    description: Some(
-                                        CowStr::new_static(
-                                            "Timestamp of last update (for name corrections)",
-                                        ),
-                                    ),
+                                    description: Some(CowStr::new_static(
+                                        "Timestamp of last update (for name corrections)",
+                                    )),
                                     format: Some(LexStringFormat::Datetime),
                                     ..Default::default()
                                 }),
@@ -346,4 +337,4 @@ fn lexicon_doc_social_drydown_house() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/social_drydown/review.rs b/crates/jacquard-api/src/social_drydown/review.rs
index a8740b1b..8f5b7784 100644
--- a/crates/jacquard-api/src/social_drydown/review.rs
+++ b/crates/jacquard-api/src/social_drydown/review.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// A single wearing review of a fragrance
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -362,7 +362,7 @@ impl LexiconSchema for Review {
 
 pub mod review_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -445,26 +445,8 @@ impl ReviewBuilder {
         ReviewBuilder {
             _state: PhantomData,
             _fields: (
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
+                None, None, None, None, None, None, None, None, None, None, None, None, None, None,
+                None, None, None, None, None, None,
             ),
             _type: PhantomData,
         }
@@ -804,10 +786,10 @@ where
 }
 
 fn lexicon_doc_social_drydown_review() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("social.drydown.review"),
@@ -1002,4 +984,4 @@ fn lexicon_doc_social_drydown_review() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/social_drydown/settings.rs b/crates/jacquard-api/src/social_drydown/settings.rs
index 2ce31a8b..1bebdd48 100644
--- a/crates/jacquard-api/src/social_drydown/settings.rs
+++ b/crates/jacquard-api/src/social_drydown/settings.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema;
 
 #[allow(unused_imports)]
 use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
+use serde::{Deserialize, Serialize};
 /// User preferences for fragrance review scoring
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
@@ -283,7 +283,7 @@ impl LexiconSchema for Settings {
 
 pub mod settings_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -477,10 +477,10 @@ where
 }
 
 fn lexicon_doc_social_drydown_settings() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("social.drydown.settings"),
@@ -579,4 +579,4 @@ fn lexicon_doc_social_drydown_settings() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/social_flockfeeds.rs b/crates/jacquard-api/src/social_flockfeeds.rs
index 72ed742c..76998f42 100644
--- a/crates/jacquard-api/src/social_flockfeeds.rs
+++ b/crates/jacquard-api/src/social_flockfeeds.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod lexical;
\ No newline at end of file
+pub mod lexical;
diff --git a/crates/jacquard-api/src/social_flockfeeds/lexical.rs b/crates/jacquard-api/src/social_flockfeeds/lexical.rs
index c73d5831..5fe8d7fc 100644
--- a/crates/jacquard-api/src/social_flockfeeds/lexical.rs
+++ b/crates/jacquard-api/src/social_flockfeeds/lexical.rs
@@ -3,4 +3,4 @@
 // This file was automatically generated from Lexicon schemas.
 // Any manual changes will be overwritten on the next regeneration.
 
-pub mod r#type;
\ No newline at end of file
+pub mod r#type;
diff --git a/crates/jacquard-api/src/social_flockfeeds/lexical/type.rs b/crates/jacquard-api/src/social_flockfeeds/lexical/type.rs
index 87e91f8f..3876fcb0 100644
--- a/crates/jacquard-api/src/social_flockfeeds/lexical/type.rs
+++ b/crates/jacquard-api/src/social_flockfeeds/lexical/type.rs
@@ -27,4 +27,4 @@ pub mod store;
 pub mod tv_episode;
 pub mod tv_season;
 pub mod tv_series;
-pub mod web_site;
\ No newline at end of file
+pub mod web_site;
diff --git a/crates/jacquard-api/src/social_flockfeeds/lexical/type/api_reference.rs b/crates/jacquard-api/src/social_flockfeeds/lexical/type/api_reference.rs
index 5501a60b..e0cd7ece 100644
--- a/crates/jacquard-api/src/social_flockfeeds/lexical/type/api_reference.rs
+++ b/crates/jacquard-api/src/social_flockfeeds/lexical/type/api_reference.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,19 +24,22 @@ use jacquard_derive::{IntoStatic, lexicon, open_union};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::social_flockfeeds::lexical::r#type::event;
 use crate::social_flockfeeds::lexical::r#type::image_object;
 use crate::social_flockfeeds::lexical::r#type::offer;
 use crate::social_flockfeeds::lexical::r#type::organization;
 use crate::social_flockfeeds::lexical::r#type::person;
 use crate::social_flockfeeds::lexical::r#type::product;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// Reference documentation for application programming interfaces (APIs).
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Embedded {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub about: Option>,
@@ -324,7 +327,6 @@ pub struct Embedded {
     pub extra_data: Option>>,
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -378,7 +380,6 @@ pub enum EmbeddedAccountablePerson {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -459,7 +460,6 @@ pub enum EmbeddedAuthor {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -483,7 +483,6 @@ pub enum EmbeddedCharacter {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -529,7 +528,6 @@ pub enum EmbeddedContributor {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -540,7 +538,6 @@ pub enum EmbeddedCopyrightHolder {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -576,7 +573,6 @@ pub enum EmbeddedCreator {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -635,7 +631,6 @@ pub enum EmbeddedEditor {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -696,7 +691,6 @@ pub enum EmbeddedFunder {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -730,7 +724,6 @@ pub enum EmbeddedImage {
     ImageObjectEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -764,7 +757,6 @@ pub enum EmbeddedIsBasedOn {
     ProductEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -773,7 +765,6 @@ pub enum EmbeddedIsBasedOnUrl {
     ProductEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -824,7 +815,6 @@ pub enum EmbeddedMaintainer {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -833,7 +823,6 @@ pub enum EmbeddedMaterial {
     ProductEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -857,7 +846,6 @@ pub enum EmbeddedOffers {
     OfferEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -898,7 +886,6 @@ pub enum EmbeddedProducer {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -919,7 +906,6 @@ pub enum EmbeddedProvider {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -935,7 +921,6 @@ pub enum EmbeddedPublisher {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -944,7 +929,6 @@ pub enum EmbeddedPublisherImprint {
     OrganizationEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -958,7 +942,6 @@ pub enum EmbeddedRecordedAt {
     EventEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1004,7 +987,6 @@ pub enum EmbeddedSdPublisher {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1018,7 +1000,6 @@ pub enum EmbeddedSourceOrganization {
     OrganizationEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1044,7 +1025,6 @@ pub enum EmbeddedSponsor {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1053,7 +1033,6 @@ pub enum EmbeddedSubjectOf {
     EventEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1087,7 +1066,6 @@ pub enum EmbeddedThumbnail {
     ImageObjectEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1113,7 +1091,6 @@ pub enum EmbeddedTranslator {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1448,7 +1425,6 @@ pub struct ApiReference {
     pub extra_data: Option>>,
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1502,7 +1478,6 @@ pub enum ApiReferenceAccountablePerson {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1583,7 +1558,6 @@ pub enum ApiReferenceAuthor {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1607,7 +1581,6 @@ pub enum ApiReferenceCharacter {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1653,7 +1626,6 @@ pub enum ApiReferenceContributor {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1664,7 +1636,6 @@ pub enum ApiReferenceCopyrightHolder {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1700,7 +1671,6 @@ pub enum ApiReferenceCreator {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1759,7 +1729,6 @@ pub enum ApiReferenceEditor {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1820,7 +1789,6 @@ pub enum ApiReferenceFunder {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1854,7 +1822,6 @@ pub enum ApiReferenceImage {
     ImageObjectEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1888,7 +1855,6 @@ pub enum ApiReferenceIsBasedOn {
     ProductEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1897,7 +1863,6 @@ pub enum ApiReferenceIsBasedOnUrl {
     ProductEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1948,7 +1913,6 @@ pub enum ApiReferenceMaintainer {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1957,7 +1921,6 @@ pub enum ApiReferenceMaterial {
     ProductEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1981,7 +1944,6 @@ pub enum ApiReferenceOffers {
     OfferEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -2022,7 +1984,6 @@ pub enum ApiReferenceProducer {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -2043,7 +2004,6 @@ pub enum ApiReferenceProvider {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -2059,7 +2019,6 @@ pub enum ApiReferencePublisher {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -2068,7 +2027,6 @@ pub enum ApiReferencePublisherImprint {
     OrganizationEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -2082,7 +2040,6 @@ pub enum ApiReferenceRecordedAt {
     EventEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -2128,7 +2085,6 @@ pub enum ApiReferenceSdPublisher {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -2142,7 +2098,6 @@ pub enum ApiReferenceSourceOrganization {
     OrganizationEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -2168,7 +2123,6 @@ pub enum ApiReferenceSponsor {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -2177,7 +2131,6 @@ pub enum ApiReferenceSubjectOf {
     EventEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -2211,7 +2164,6 @@ pub enum ApiReferenceThumbnail {
     ImageObjectEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -2237,7 +2189,6 @@ pub enum ApiReferenceTranslator {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -2352,10 +2303,10 @@ impl LexiconSchema for ApiReference {
 }
 
 fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("social.flockfeeds.lexical.type.APIReference"),
@@ -5329,7 +5280,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_APIReference() -> LexiconDoc<'stat
 
 pub mod api_reference_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -5508,146 +5459,16 @@ impl ApiReferenceBuilder {
         ApiReferenceBuilder {
             _state: PhantomData,
             _fields: (
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
+                None, None, None, None, None, None, None, None, None, None, None, None, None, None,
+                None, None, None, None, None, None, None, None, None, None, None, None, None, None,
+                None, None, None, None, None, None, None, None, None, None, None, None, None, None,
+                None, None, None, None, None, None, None, None, None, None, None, None, None, None,
+                None, None, None, None, None, None, None, None, None, None, None, None, None, None,
+                None, None, None, None, None, None, None, None, None, None, None, None, None, None,
+                None, None, None, None, None, None, None, None, None, None, None, None, None, None,
+                None, None, None, None, None, None, None, None, None, None, None, None, None, None,
+                None, None, None, None, None, None, None, None, None, None, None, None, None, None,
+                None, None, None, None, None, None, None, None, None, None, None, None, None, None,
                 None,
             ),
             _type: PhantomData,
@@ -5670,10 +5491,7 @@ impl ApiReferenceBuilder {
 
 impl ApiReferenceBuilder {
     /// Set the `abstract` field (optional)
-    pub fn r#abstract(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn r#abstract(mut self, value: impl Into>>) -> Self {
         self._fields.1 = value.into();
         self
     }
@@ -5686,18 +5504,12 @@ impl ApiReferenceBuilder {
 
 impl ApiReferenceBuilder {
     /// Set the `accessMode` field (optional)
-    pub fn access_mode(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn access_mode(mut self, value: impl Into>>) -> Self {
         self._fields.2 = value.into();
         self
     }
     /// Set the `accessMode` field to an Option value (optional)
-    pub fn maybe_access_mode(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_access_mode(mut self, value: Option>) -> Self {
         self._fields.2 = value;
         self
     }
@@ -5865,10 +5677,7 @@ impl ApiReferenceBuilder {
         self
     }
     /// Set the `additionalType` field to an Option value (optional)
-    pub fn maybe_additional_type(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_additional_type(mut self, value: Option>) -> Self {
         self._fields.11 = value;
         self
     }
@@ -5884,10 +5693,7 @@ impl ApiReferenceBuilder {
         self
     }
     /// Set the `aggregateRating` field to an Option value (optional)
-    pub fn maybe_aggregate_rating(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_aggregate_rating(mut self, value: Option>) -> Self {
         self._fields.12 = value;
         self
     }
@@ -5903,10 +5709,7 @@ impl ApiReferenceBuilder {
         self
     }
     /// Set the `alternateName` field to an Option value (optional)
-    pub fn maybe_alternate_name(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_alternate_name(mut self, value: Option>) -> Self {
         self._fields.13 = value;
         self
     }
@@ -5933,18 +5736,12 @@ impl ApiReferenceBuilder {
 
 impl ApiReferenceBuilder {
     /// Set the `archivedAt` field (optional)
-    pub fn archived_at(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn archived_at(mut self, value: impl Into>>) -> Self {
         self._fields.15 = value.into();
         self
     }
     /// Set the `archivedAt` field to an Option value (optional)
-    pub fn maybe_archived_at(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_archived_at(mut self, value: Option>) -> Self {
         self._fields.15 = value;
         self
     }
@@ -5952,18 +5749,12 @@ impl ApiReferenceBuilder {
 
 impl ApiReferenceBuilder {
     /// Set the `articleBody` field (optional)
-    pub fn article_body(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn article_body(mut self, value: impl Into>>) -> Self {
         self._fields.16 = value.into();
         self
     }
     /// Set the `articleBody` field to an Option value (optional)
-    pub fn maybe_article_body(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_article_body(mut self, value: Option>) -> Self {
         self._fields.16 = value;
         self
     }
@@ -5979,10 +5770,7 @@ impl ApiReferenceBuilder {
         self
     }
     /// Set the `articleSection` field to an Option value (optional)
-    pub fn maybe_article_section(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_article_section(mut self, value: Option>) -> Self {
         self._fields.17 = value;
         self
     }
@@ -5990,10 +5778,7 @@ impl ApiReferenceBuilder {
 
 impl ApiReferenceBuilder {
     /// Set the `assembly` field (optional)
-    pub fn assembly(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn assembly(mut self, value: impl Into>>) -> Self {
         self._fields.18 = value.into();
         self
     }
@@ -6014,10 +5799,7 @@ impl ApiReferenceBuilder {
         self
     }
     /// Set the `assemblyVersion` field to an Option value (optional)
-    pub fn maybe_assembly_version(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_assembly_version(mut self, value: Option>) -> Self {
         self._fields.19 = value;
         self
     }
@@ -6025,10 +5807,7 @@ impl ApiReferenceBuilder {
 
 impl ApiReferenceBuilder {
     /// Set the `assesses` field (optional)
-    pub fn assesses(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn assesses(mut self, value: impl Into>>) -> Self {
         self._fields.20 = value.into();
         self
     }
@@ -6049,10 +5828,7 @@ impl ApiReferenceBuilder {
         self
     }
     /// Set the `associatedMedia` field to an Option value (optional)
-    pub fn maybe_associated_media(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_associated_media(mut self, value: Option>) -> Self {
         self._fields.21 = value;
         self
     }
@@ -6060,10 +5836,7 @@ impl ApiReferenceBuilder {
 
 impl ApiReferenceBuilder {
     /// Set the `audience` field (optional)
-    pub fn audience(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn audience(mut self, value: impl Into>>) -> Self {
         self._fields.22 = value.into();
         self
     }
@@ -6128,10 +5901,7 @@ impl ApiReferenceBuilder {
 
 impl ApiReferenceBuilder {
     /// Set the `backstory` field (optional)
-    pub fn backstory(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn backstory(mut self, value: impl Into>>) -> Self {
         self._fields.27 = value.into();
         self
     }
@@ -6144,10 +5914,7 @@ impl ApiReferenceBuilder {
 
 impl ApiReferenceBuilder {
     /// Set the `character` field (optional)
-    pub fn character(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn character(mut self, value: impl Into>>) -> Self {
         self._fields.28 = value.into();
         self
     }
@@ -6160,10 +5927,7 @@ impl ApiReferenceBuilder {
 
 impl ApiReferenceBuilder {
     /// Set the `citation` field (optional)
-    pub fn citation(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn citation(mut self, value: impl Into>>) -> Self {
         self._fields.29 = value.into();
         self
     }
@@ -6189,18 +5953,12 @@ impl ApiReferenceBuilder {
 
 impl ApiReferenceBuilder {
     /// Set the `commentCount` field (optional)
-    pub fn comment_count(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn comment_count(mut self, value: impl Into>>) -> Self {
         self._fields.31 = value.into();
         self
     }
     /// Set the `commentCount` field to an Option value (optional)
-    pub fn maybe_comment_count(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_comment_count(mut self, value: Option>) -> Self {
         self._fields.31 = value;
         self
     }
@@ -6235,10 +5993,7 @@ impl ApiReferenceBuilder {
         self
     }
     /// Set the `contentLocation` field to an Option value (optional)
-    pub fn maybe_content_location(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_content_location(mut self, value: Option>) -> Self {
         self._fields.33 = value;
         self
     }
@@ -6254,10 +6009,7 @@ impl ApiReferenceBuilder {
         self
     }
     /// Set the `contentRating` field to an Option value (optional)
-    pub fn maybe_content_rating(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_content_rating(mut self, value: Option>) -> Self {
         self._fields.34 = value;
         self
     }
@@ -6284,18 +6036,12 @@ impl ApiReferenceBuilder {
 
 impl ApiReferenceBuilder {
     /// Set the `contributor` field (optional)
-    pub fn contributor(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn contributor(mut self, value: impl Into>>) -> Self {
         self._fields.36 = value.into();
         self
     }
     /// Set the `contributor` field to an Option value (optional)
-    pub fn maybe_contributor(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_contributor(mut self, value: Option>) -> Self {
         self._fields.36 = value;
         self
     }
@@ -6311,10 +6057,7 @@ impl ApiReferenceBuilder {
         self
     }
     /// Set the `copyrightHolder` field to an Option value (optional)
-    pub fn maybe_copyright_holder(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_copyright_holder(mut self, value: Option>) -> Self {
         self._fields.37 = value;
         self
     }
@@ -6330,10 +6073,7 @@ impl ApiReferenceBuilder {
         self
     }
     /// Set the `copyrightNotice` field to an Option value (optional)
-    pub fn maybe_copyright_notice(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_copyright_notice(mut self, value: Option>) -> Self {
         self._fields.38 = value;
         self
     }
@@ -6349,10 +6089,7 @@ impl ApiReferenceBuilder {
         self
     }
     /// Set the `copyrightYear` field to an Option value (optional)
-    pub fn maybe_copyright_year(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_copyright_year(mut self, value: Option>) -> Self {
         self._fields.39 = value;
         self
     }
@@ -6360,10 +6097,7 @@ impl ApiReferenceBuilder {
 
 impl ApiReferenceBuilder {
     /// Set the `correction` field (optional)
-    pub fn correction(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn correction(mut self, value: impl Into>>) -> Self {
         self._fields.40 = value.into();
         self
     }
@@ -6427,18 +6161,12 @@ impl ApiReferenceBuilder {
 
 impl ApiReferenceBuilder {
     /// Set the `creditText` field (optional)
-    pub fn credit_text(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn credit_text(mut self, value: impl Into>>) -> Self {
         self._fields.44 = value.into();
         self
     }
     /// Set the `creditText` field to an Option value (optional)
-    pub fn maybe_credit_text(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_credit_text(mut self, value: Option>) -> Self {
         self._fields.44 = value;
         self
     }
@@ -6446,18 +6174,12 @@ impl ApiReferenceBuilder {
 
 impl ApiReferenceBuilder {
     /// Set the `dateCreated` field (optional)
-    pub fn date_created(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn date_created(mut self, value: impl Into>>) -> Self {
         self._fields.45 = value.into();
         self
     }
     /// Set the `dateCreated` field to an Option value (optional)
-    pub fn maybe_date_created(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_date_created(mut self, value: Option>) -> Self {
         self._fields.45 = value;
         self
     }
@@ -6465,18 +6187,12 @@ impl ApiReferenceBuilder {
 
 impl ApiReferenceBuilder {
     /// Set the `dateModified` field (optional)
-    pub fn date_modified(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn date_modified(mut self, value: impl Into>>) -> Self {
         self._fields.46 = value.into();
         self
     }
     /// Set the `dateModified` field to an Option value (optional)
-    pub fn maybe_date_modified(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_date_modified(mut self, value: Option>) -> Self {
         self._fields.46 = value;
         self
     }
@@ -6492,10 +6208,7 @@ impl ApiReferenceBuilder {
         self
     }
     /// Set the `datePublished` field to an Option value (optional)
-    pub fn maybe_date_published(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_date_published(mut self, value: Option>) -> Self {
         self._fields.47 = value;
         self
     }
@@ -6503,18 +6216,12 @@ impl ApiReferenceBuilder {
 
 impl ApiReferenceBuilder {
     /// Set the `dependencies` field (optional)
-    pub fn dependencies(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn dependencies(mut self, value: impl Into>>) -> Self {
         self._fields.48 = value.into();
         self
     }
     /// Set the `dependencies` field to an Option value (optional)
-    pub fn maybe_dependencies(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_dependencies(mut self, value: Option>) -> Self {
         self._fields.48 = value;
         self
     }
@@ -6522,18 +6229,12 @@ impl ApiReferenceBuilder {
 
 impl ApiReferenceBuilder {
     /// Set the `description` field (optional)
-    pub fn description(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn description(mut self, value: impl Into>>) -> Self {
         self._fields.49 = value.into();
         self
     }
     /// Set the `description` field to an Option value (optional)
-    pub fn maybe_description(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_description(mut self, value: Option>) -> Self {
         self._fields.49 = value;
         self
     }
@@ -6587,10 +6288,7 @@ impl ApiReferenceBuilder {
         self
     }
     /// Set the `discussionUrl` field to an Option value (optional)
-    pub fn maybe_discussion_url(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_discussion_url(mut self, value: Option>) -> Self {
         self._fields.52 = value;
         self
     }
@@ -6598,10 +6296,7 @@ impl ApiReferenceBuilder {
 
 impl ApiReferenceBuilder {
     /// Set the `editEIDR` field (optional)
-    pub fn edit_eidr(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn edit_eidr(mut self, value: impl Into>>) -> Self {
         self._fields.53 = value.into();
         self
     }
@@ -6673,10 +6368,7 @@ impl ApiReferenceBuilder {
         self
     }
     /// Set the `educationalUse` field to an Option value (optional)
-    pub fn maybe_educational_use(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_educational_use(mut self, value: Option>) -> Self {
         self._fields.57 = value;
         self
     }
@@ -6684,10 +6376,7 @@ impl ApiReferenceBuilder {
 
 impl ApiReferenceBuilder {
     /// Set the `encoding` field (optional)
-    pub fn encoding(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn encoding(mut self, value: impl Into>>) -> Self {
         self._fields.58 = value.into();
         self
     }
@@ -6708,10 +6397,7 @@ impl ApiReferenceBuilder {
         self
     }
     /// Set the `encodingFormat` field to an Option value (optional)
-    pub fn maybe_encoding_format(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_encoding_format(mut self, value: Option>) -> Self {
         self._fields.59 = value;
         self
     }
@@ -6719,10 +6405,7 @@ impl ApiReferenceBuilder {
 
 impl ApiReferenceBuilder {
     /// Set the `encodings` field (optional)
-    pub fn encodings(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn encodings(mut self, value: impl Into>>) -> Self {
         self._fields.60 = value.into();
         self
     }
@@ -6743,10 +6426,7 @@ impl ApiReferenceBuilder {
         self
     }
     /// Set the `exampleOfWork` field to an Option value (optional)
-    pub fn maybe_example_of_work(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_example_of_work(mut self, value: Option>) -> Self {
         self._fields.61 = value;
         self
     }
@@ -6786,18 +6466,12 @@ impl ApiReferenceBuilder {
 
 impl ApiReferenceBuilder {
     /// Set the `fileFormat` field (optional)
-    pub fn file_format(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn file_format(mut self, value: impl Into>>) -> Self {
         self._fields.64 = value.into();
         self
     }
     /// Set the `fileFormat` field to an Option value (optional)
-    pub fn maybe_file_format(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_file_format(mut self, value: Option>) -> Self {
         self._fields.64 = value;
         self
     }
@@ -6857,10 +6531,7 @@ impl ApiReferenceBuilder {
 
 impl ApiReferenceBuilder {
     /// Set the `headline` field (optional)
-    pub fn headline(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn headline(mut self, value: impl Into>>) -> Self {
         self._fields.69 = value.into();
         self
     }
@@ -6873,10 +6544,7 @@ impl ApiReferenceBuilder {
 
 impl ApiReferenceBuilder {
     /// Set the `identifier` field (optional)
-    pub fn identifier(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn identifier(mut self, value: impl Into>>) -> Self {
         self._fields.70 = value.into();
         self
     }
@@ -6902,18 +6570,12 @@ impl ApiReferenceBuilder {
 
 impl ApiReferenceBuilder {
     /// Set the `inLanguage` field (optional)
-    pub fn in_language(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn in_language(mut self, value: impl Into>>) -> Self {
         self._fields.72 = value.into();
         self
     }
     /// Set the `inLanguage` field to an Option value (optional)
-    pub fn maybe_in_language(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_in_language(mut self, value: Option>) -> Self {
         self._fields.72 = value;
         self
     }
@@ -6997,10 +6659,7 @@ impl ApiReferenceBuilder {
 
 impl ApiReferenceBuilder {
     /// Set the `isBasedOn` field (optional)
-    pub fn is_based_on(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn is_based_on(mut self, value: impl Into>>) -> Self {
         self._fields.77 = value.into();
         self
     }
@@ -7021,10 +6680,7 @@ impl ApiReferenceBuilder {
         self
     }
     /// Set the `isBasedOnUrl` field to an Option value (optional)
-    pub fn maybe_is_based_on_url(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_is_based_on_url(mut self, value: Option>) -> Self {
         self._fields.78 = value;
         self
     }
@@ -7051,10 +6707,7 @@ impl ApiReferenceBuilder {
 
 impl ApiReferenceBuilder {
     /// Set the `isPartOf` field (optional)
-    pub fn is_part_of(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn is_part_of(mut self, value: impl Into>>) -> Self {
         self._fields.80 = value.into();
         self
     }
@@ -7067,10 +6720,7 @@ impl ApiReferenceBuilder {
 
 impl ApiReferenceBuilder {
     /// Set the `keywords` field (optional)
-    pub fn keywords(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn keywords(mut self, value: impl Into>>) -> Self {
         self._fields.81 = value.into();
         self
     }
@@ -7123,10 +6773,7 @@ impl ApiReferenceBuilder {
         self
     }
     /// Set the `locationCreated` field to an Option value (optional)
-    pub fn maybe_location_created(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_location_created(mut self, value: Option>) -> Self {
         self._fields.84 = value;
         self
     }
@@ -7134,18 +6781,12 @@ impl ApiReferenceBuilder {
 
 impl ApiReferenceBuilder {
     /// Set the `mainEntity` field (optional)
-    pub fn main_entity(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn main_entity(mut self, value: impl Into>>) -> Self {
         self._fields.85 = value.into();
         self
     }
     /// Set the `mainEntity` field to an Option value (optional)
-    pub fn maybe_main_entity(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_main_entity(mut self, value: Option>) -> Self {
         self._fields.85 = value;
         self
     }
@@ -7172,10 +6813,7 @@ impl ApiReferenceBuilder {
 
 impl ApiReferenceBuilder {
     /// Set the `maintainer` field (optional)
-    pub fn maintainer(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn maintainer(mut self, value: impl Into>>) -> Self {
         self._fields.87 = value.into();
         self
     }
@@ -7188,10 +6826,7 @@ impl ApiReferenceBuilder {
 
 impl ApiReferenceBuilder {
     /// Set the `material` field (optional)
-    pub fn material(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn material(mut self, value: impl Into>>) -> Self {
         self._fields.88 = value.into();
         self
     }
@@ -7212,10 +6847,7 @@ impl ApiReferenceBuilder {
         self
     }
     /// Set the `materialExtent` field to an Option value (optional)
-    pub fn maybe_material_extent(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_material_extent(mut self, value: Option>) -> Self {
         self._fields.89 = value;
         self
     }
@@ -7223,10 +6855,7 @@ impl ApiReferenceBuilder {
 
 impl ApiReferenceBuilder {
     /// Set the `mentions` field (optional)
-    pub fn mentions(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn mentions(mut self, value: impl Into>>) -> Self {
         self._fields.90 = value.into();
         self
     }
@@ -7278,10 +6907,7 @@ impl ApiReferenceBuilder {
 
 impl ApiReferenceBuilder {
     /// Set the `pageStart` field (optional)
-    pub fn page_start(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn page_start(mut self, value: impl Into>>) -> Self {
         self._fields.94 = value.into();
         self
     }
@@ -7294,10 +6920,7 @@ impl ApiReferenceBuilder {
 
 impl ApiReferenceBuilder {
     /// Set the `pagination` field (optional)
-    pub fn pagination(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn pagination(mut self, value: impl Into>>) -> Self {
         self._fields.95 = value.into();
         self
     }
@@ -7323,10 +6946,7 @@ impl ApiReferenceBuilder {
 
 impl ApiReferenceBuilder {
     /// Set the `position` field (optional)
-    pub fn position(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn position(mut self, value: impl Into>>) -> Self {
         self._fields.97 = value.into();
         self
     }
@@ -7347,10 +6967,7 @@ impl ApiReferenceBuilder {
         self
     }
     /// Set the `potentialAction` field to an Option value (optional)
-    pub fn maybe_potential_action(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_potential_action(mut self, value: Option>) -> Self {
         self._fields.98 = value;
         self
     }
@@ -7358,10 +6975,7 @@ impl ApiReferenceBuilder {
 
 impl ApiReferenceBuilder {
     /// Set the `producer` field (optional)
-    pub fn producer(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn producer(mut self, value: impl Into>>) -> Self {
         self._fields.99 = value.into();
         self
     }
@@ -7412,10 +7026,7 @@ impl ApiReferenceBuilder {
 
 impl ApiReferenceBuilder {
     /// Set the `provider` field (optional)
-    pub fn provider(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn provider(mut self, value: impl Into>>) -> Self {
         self._fields.102 = value.into();
         self
     }
@@ -7428,18 +7039,12 @@ impl ApiReferenceBuilder {
 
 impl ApiReferenceBuilder {
     /// Set the `publication` field (optional)
-    pub fn publication(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn publication(mut self, value: impl Into>>) -> Self {
         self._fields.103 = value.into();
         self
     }
     /// Set the `publication` field to an Option value (optional)
-    pub fn maybe_publication(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_publication(mut self, value: Option>) -> Self {
         self._fields.103 = value;
         self
     }
@@ -7447,10 +7052,7 @@ impl ApiReferenceBuilder {
 
 impl ApiReferenceBuilder {
     /// Set the `publisher` field (optional)
-    pub fn publisher(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn publisher(mut self, value: impl Into>>) -> Self {
         self._fields.104 = value.into();
         self
     }
@@ -7501,18 +7103,12 @@ impl ApiReferenceBuilder {
 
 impl ApiReferenceBuilder {
     /// Set the `recordedAt` field (optional)
-    pub fn recorded_at(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn recorded_at(mut self, value: impl Into>>) -> Self {
         self._fields.107 = value.into();
         self
     }
     /// Set the `recordedAt` field to an Option value (optional)
-    pub fn maybe_recorded_at(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_recorded_at(mut self, value: Option>) -> Self {
         self._fields.107 = value;
         self
     }
@@ -7528,10 +7124,7 @@ impl ApiReferenceBuilder {
         self
     }
     /// Set the `releasedEvent` field to an Option value (optional)
-    pub fn maybe_released_event(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_released_event(mut self, value: Option>) -> Self {
         self._fields.108 = value;
         self
     }
@@ -7586,10 +7179,7 @@ impl ApiReferenceBuilder {
         self
     }
     /// Set the `schemaVersion` field to an Option value (optional)
-    pub fn maybe_schema_version(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_schema_version(mut self, value: Option>) -> Self {
         self._fields.112 = value;
         self
     }
@@ -7616,10 +7206,7 @@ impl ApiReferenceBuilder {
 
 impl ApiReferenceBuilder {
     /// Set the `sdLicense` field (optional)
-    pub fn sd_license(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn sd_license(mut self, value: impl Into>>) -> Self {
         self._fields.114 = value.into();
         self
     }
@@ -7632,18 +7219,12 @@ impl ApiReferenceBuilder {
 
 impl ApiReferenceBuilder {
     /// Set the `sdPublisher` field (optional)
-    pub fn sd_publisher(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn sd_publisher(mut self, value: impl Into>>) -> Self {
         self._fields.115 = value.into();
         self
     }
     /// Set the `sdPublisher` field to an Option value (optional)
-    pub fn maybe_sd_publisher(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_sd_publisher(mut self, value: Option>) -> Self {
         self._fields.115 = value;
         self
     }
@@ -7704,10 +7285,7 @@ impl ApiReferenceBuilder {
         self
     }
     /// Set the `spatialCoverage` field to an Option value (optional)
-    pub fn maybe_spatial_coverage(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_spatial_coverage(mut self, value: Option>) -> Self {
         self._fields.119 = value;
         self
     }
@@ -7715,10 +7293,7 @@ impl ApiReferenceBuilder {
 
 impl ApiReferenceBuilder {
     /// Set the `speakable` field (optional)
-    pub fn speakable(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn speakable(mut self, value: impl Into>>) -> Self {
         self._fields.120 = value.into();
         self
     }
@@ -7744,10 +7319,7 @@ impl ApiReferenceBuilder {
 
 impl ApiReferenceBuilder {
     /// Set the `subjectOf` field (optional)
-    pub fn subject_of(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn subject_of(mut self, value: impl Into>>) -> Self {
         self._fields.122 = value.into();
         self
     }
@@ -7768,10 +7340,7 @@ impl ApiReferenceBuilder {
         self
     }
     /// Set the `targetPlatform` field to an Option value (optional)
-    pub fn maybe_target_platform(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_target_platform(mut self, value: Option>) -> Self {
         self._fields.123 = value;
         self
     }
@@ -7792,10 +7361,7 @@ impl ApiReferenceBuilder {
 
 impl ApiReferenceBuilder {
     /// Set the `temporal` field (optional)
-    pub fn temporal(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn temporal(mut self, value: impl Into>>) -> Self {
         self._fields.125 = value.into();
         self
     }
@@ -7840,10 +7406,7 @@ impl ApiReferenceBuilder {
 
 impl ApiReferenceBuilder {
     /// Set the `thumbnail` field (optional)
-    pub fn thumbnail(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn thumbnail(mut self, value: impl Into>>) -> Self {
         self._fields.128 = value.into();
         self
     }
@@ -7856,18 +7419,12 @@ impl ApiReferenceBuilder {
 
 impl ApiReferenceBuilder {
     /// Set the `thumbnailUrl` field (optional)
-    pub fn thumbnail_url(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn thumbnail_url(mut self, value: impl Into>>) -> Self {
         self._fields.129 = value.into();
         self
     }
     /// Set the `thumbnailUrl` field to an Option value (optional)
-    pub fn maybe_thumbnail_url(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_thumbnail_url(mut self, value: Option>) -> Self {
         self._fields.129 = value;
         self
     }
@@ -7875,18 +7432,12 @@ impl ApiReferenceBuilder {
 
 impl ApiReferenceBuilder {
     /// Set the `timeRequired` field (optional)
-    pub fn time_required(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn time_required(mut self, value: impl Into>>) -> Self {
         self._fields.130 = value.into();
         self
     }
     /// Set the `timeRequired` field to an Option value (optional)
-    pub fn maybe_time_required(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_time_required(mut self, value: Option>) -> Self {
         self._fields.130 = value;
         self
     }
@@ -7913,10 +7464,7 @@ impl ApiReferenceBuilder {
 
 impl ApiReferenceBuilder {
     /// Set the `translator` field (optional)
-    pub fn translator(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn translator(mut self, value: impl Into>>) -> Self {
         self._fields.132 = value.into();
         self
     }
@@ -7961,10 +7509,7 @@ impl ApiReferenceBuilder {
 
 impl ApiReferenceBuilder {
     /// Set the `usageInfo` field (optional)
-    pub fn usage_info(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn usage_info(mut self, value: impl Into>>) -> Self {
         self._fields.135 = value.into();
         self
     }
@@ -8003,10 +7548,7 @@ impl ApiReferenceBuilder {
 
 impl ApiReferenceBuilder {
     /// Set the `wordCount` field (optional)
-    pub fn word_count(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn word_count(mut self, value: impl Into>>) -> Self {
         self._fields.138 = value.into();
         self
     }
@@ -8019,18 +7561,12 @@ impl ApiReferenceBuilder {
 
 impl ApiReferenceBuilder {
     /// Set the `workExample` field (optional)
-    pub fn work_example(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn work_example(mut self, value: impl Into>>) -> Self {
         self._fields.139 = value.into();
         self
     }
     /// Set the `workExample` field to an Option value (optional)
-    pub fn maybe_work_example(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_work_example(mut self, value: Option>) -> Self {
         self._fields.139 = value;
         self
     }
@@ -8046,10 +7582,7 @@ impl ApiReferenceBuilder {
         self
     }
     /// Set the `workTranslation` field to an Option value (optional)
-    pub fn maybe_work_translation(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_work_translation(mut self, value: Option>) -> Self {
         self._fields.140 = value;
         self
     }
@@ -8207,10 +7740,7 @@ where
         }
     }
     /// Build the final struct with custom extra_data.
-    pub fn build_with_data(
-        self,
-        extra_data: BTreeMap>,
-    ) -> ApiReference {
+    pub fn build_with_data(self, extra_data: BTreeMap>) -> ApiReference {
         ApiReference {
             about: self._fields.0,
             r#abstract: self._fields.1,
@@ -8356,4 +7886,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/social_flockfeeds/lexical/type/article.rs b/crates/jacquard-api/src/social_flockfeeds/lexical/type/article.rs
index 763d3d7b..2ec5b6cd 100644
--- a/crates/jacquard-api/src/social_flockfeeds/lexical/type/article.rs
+++ b/crates/jacquard-api/src/social_flockfeeds/lexical/type/article.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,19 +24,22 @@ use jacquard_derive::{IntoStatic, lexicon, open_union};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::social_flockfeeds::lexical::r#type::event;
 use crate::social_flockfeeds::lexical::r#type::image_object;
 use crate::social_flockfeeds::lexical::r#type::offer;
 use crate::social_flockfeeds::lexical::r#type::organization;
 use crate::social_flockfeeds::lexical::r#type::person;
 use crate::social_flockfeeds::lexical::r#type::product;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// An article, such as a news article or piece of investigative report. Newspapers and magazines have articles of many different types and this is intended to cover them all.\n\nSee also [blog post](https://blog.schema.org/2014/09/02/schema-org-support-for-bibliographic-relationships-and-periodicals/).
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Embedded {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub about: Option>,
@@ -310,7 +313,6 @@ pub struct Embedded {
     pub extra_data: Option>>,
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -364,7 +366,6 @@ pub enum EmbeddedAccountablePerson {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -435,7 +436,6 @@ pub enum EmbeddedAuthor {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -459,7 +459,6 @@ pub enum EmbeddedCharacter {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -505,7 +504,6 @@ pub enum EmbeddedContributor {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -516,7 +514,6 @@ pub enum EmbeddedCopyrightHolder {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -552,7 +549,6 @@ pub enum EmbeddedCreator {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -606,7 +602,6 @@ pub enum EmbeddedEditor {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -662,7 +657,6 @@ pub enum EmbeddedFunder {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -696,7 +690,6 @@ pub enum EmbeddedImage {
     ImageObjectEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -730,7 +723,6 @@ pub enum EmbeddedIsBasedOn {
     ProductEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -739,7 +731,6 @@ pub enum EmbeddedIsBasedOnUrl {
     ProductEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -790,7 +781,6 @@ pub enum EmbeddedMaintainer {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -799,7 +789,6 @@ pub enum EmbeddedMaterial {
     ProductEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -823,7 +812,6 @@ pub enum EmbeddedOffers {
     OfferEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -864,7 +852,6 @@ pub enum EmbeddedProducer {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -875,7 +862,6 @@ pub enum EmbeddedProvider {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -891,7 +877,6 @@ pub enum EmbeddedPublisher {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -900,7 +885,6 @@ pub enum EmbeddedPublisherImprint {
     OrganizationEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -914,7 +898,6 @@ pub enum EmbeddedRecordedAt {
     EventEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -960,7 +943,6 @@ pub enum EmbeddedSdPublisher {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -974,7 +956,6 @@ pub enum EmbeddedSourceOrganization {
     OrganizationEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1000,7 +981,6 @@ pub enum EmbeddedSponsor {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1009,7 +989,6 @@ pub enum EmbeddedSubjectOf {
     EventEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1038,7 +1017,6 @@ pub enum EmbeddedThumbnail {
     ImageObjectEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1064,7 +1042,6 @@ pub enum EmbeddedTranslator {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1385,7 +1362,6 @@ pub struct Article {
     pub extra_data: Option>>,
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1439,7 +1415,6 @@ pub enum ArticleAccountablePerson {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1510,7 +1485,6 @@ pub enum ArticleAuthor {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1534,7 +1508,6 @@ pub enum ArticleCharacter {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1580,7 +1553,6 @@ pub enum ArticleContributor {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1591,7 +1563,6 @@ pub enum ArticleCopyrightHolder {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1627,7 +1598,6 @@ pub enum ArticleCreator {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1681,7 +1651,6 @@ pub enum ArticleEditor {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1737,7 +1706,6 @@ pub enum ArticleFunder {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1771,7 +1739,6 @@ pub enum ArticleImage {
     ImageObjectEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1805,7 +1772,6 @@ pub enum ArticleIsBasedOn {
     ProductEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1814,7 +1780,6 @@ pub enum ArticleIsBasedOnUrl {
     ProductEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1865,7 +1830,6 @@ pub enum ArticleMaintainer {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1874,7 +1838,6 @@ pub enum ArticleMaterial {
     ProductEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1898,7 +1861,6 @@ pub enum ArticleOffers {
     OfferEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1939,7 +1901,6 @@ pub enum ArticleProducer {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1950,7 +1911,6 @@ pub enum ArticleProvider {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1966,7 +1926,6 @@ pub enum ArticlePublisher {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1975,7 +1934,6 @@ pub enum ArticlePublisherImprint {
     OrganizationEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1989,7 +1947,6 @@ pub enum ArticleRecordedAt {
     EventEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -2035,7 +1992,6 @@ pub enum ArticleSdPublisher {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -2049,7 +2005,6 @@ pub enum ArticleSourceOrganization {
     OrganizationEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -2075,7 +2030,6 @@ pub enum ArticleSponsor {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -2084,7 +2038,6 @@ pub enum ArticleSubjectOf {
     EventEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -2113,7 +2066,6 @@ pub enum ArticleThumbnail {
     ImageObjectEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -2139,7 +2091,6 @@ pub enum ArticleTranslator {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -2254,10 +2205,10 @@ impl LexiconSchema for Article {
 }
 
 fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("social.flockfeeds.lexical.type.Article"),
@@ -5091,7 +5042,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Article() -> LexiconDoc<'static> {
 
 pub mod article_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -5263,140 +5214,16 @@ impl ArticleBuilder {
         ArticleBuilder {
             _state: PhantomData,
             _fields: (
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
+                None, None, None, None, None, None, None, None, None, None, None, None, None, None,
+                None, None, None, None, None, None, None, None, None, None, None, None, None, None,
+                None, None, None, None, None, None, None, None, None, None, None, None, None, None,
+                None, None, None, None, None, None, None, None, None, None, None, None, None, None,
+                None, None, None, None, None, None, None, None, None, None, None, None, None, None,
+                None, None, None, None, None, None, None, None, None, None, None, None, None, None,
+                None, None, None, None, None, None, None, None, None, None, None, None, None, None,
+                None, None, None, None, None, None, None, None, None, None, None, None, None, None,
+                None, None, None, None, None, None, None, None, None, None, None, None, None, None,
+                None, None, None, None, None, None, None, None,
             ),
             _type: PhantomData,
         }
@@ -5431,10 +5258,7 @@ impl ArticleBuilder {
 
 impl ArticleBuilder {
     /// Set the `accessMode` field (optional)
-    pub fn access_mode(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn access_mode(mut self, value: impl Into>>) -> Self {
         self._fields.2 = value.into();
         self
     }
@@ -5474,10 +5298,7 @@ impl ArticleBuilder {
         self
     }
     /// Set the `accessibilityAPI` field to an Option value (optional)
-    pub fn maybe_accessibility_api(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_accessibility_api(mut self, value: Option>) -> Self {
         self._fields.4 = value;
         self
     }
@@ -5569,10 +5390,7 @@ impl ArticleBuilder {
         self
     }
     /// Set the `accountablePerson` field to an Option value (optional)
-    pub fn maybe_accountable_person(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_accountable_person(mut self, value: Option>) -> Self {
         self._fields.9 = value;
         self
     }
@@ -5599,18 +5417,12 @@ impl ArticleBuilder {
 
 impl ArticleBuilder {
     /// Set the `additionalType` field (optional)
-    pub fn additional_type(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn additional_type(mut self, value: impl Into>>) -> Self {
         self._fields.11 = value.into();
         self
     }
     /// Set the `additionalType` field to an Option value (optional)
-    pub fn maybe_additional_type(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_additional_type(mut self, value: Option>) -> Self {
         self._fields.11 = value;
         self
     }
@@ -5618,18 +5430,12 @@ impl ArticleBuilder {
 
 impl ArticleBuilder {
     /// Set the `aggregateRating` field (optional)
-    pub fn aggregate_rating(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn aggregate_rating(mut self, value: impl Into>>) -> Self {
         self._fields.12 = value.into();
         self
     }
     /// Set the `aggregateRating` field to an Option value (optional)
-    pub fn maybe_aggregate_rating(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_aggregate_rating(mut self, value: Option>) -> Self {
         self._fields.12 = value;
         self
     }
@@ -5637,18 +5443,12 @@ impl ArticleBuilder {
 
 impl ArticleBuilder {
     /// Set the `alternateName` field (optional)
-    pub fn alternate_name(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn alternate_name(mut self, value: impl Into>>) -> Self {
         self._fields.13 = value.into();
         self
     }
     /// Set the `alternateName` field to an Option value (optional)
-    pub fn maybe_alternate_name(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_alternate_name(mut self, value: Option>) -> Self {
         self._fields.13 = value;
         self
     }
@@ -5675,10 +5475,7 @@ impl ArticleBuilder {
 
 impl ArticleBuilder {
     /// Set the `archivedAt` field (optional)
-    pub fn archived_at(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn archived_at(mut self, value: impl Into>>) -> Self {
         self._fields.15 = value.into();
         self
     }
@@ -5691,10 +5488,7 @@ impl ArticleBuilder {
 
 impl ArticleBuilder {
     /// Set the `articleBody` field (optional)
-    pub fn article_body(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn article_body(mut self, value: impl Into>>) -> Self {
         self._fields.16 = value.into();
         self
     }
@@ -5707,18 +5501,12 @@ impl ArticleBuilder {
 
 impl ArticleBuilder {
     /// Set the `articleSection` field (optional)
-    pub fn article_section(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn article_section(mut self, value: impl Into>>) -> Self {
         self._fields.17 = value.into();
         self
     }
     /// Set the `articleSection` field to an Option value (optional)
-    pub fn maybe_article_section(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_article_section(mut self, value: Option>) -> Self {
         self._fields.17 = value;
         self
     }
@@ -5739,18 +5527,12 @@ impl ArticleBuilder {
 
 impl ArticleBuilder {
     /// Set the `associatedMedia` field (optional)
-    pub fn associated_media(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn associated_media(mut self, value: impl Into>>) -> Self {
         self._fields.19 = value.into();
         self
     }
     /// Set the `associatedMedia` field to an Option value (optional)
-    pub fn maybe_associated_media(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_associated_media(mut self, value: Option>) -> Self {
         self._fields.19 = value;
         self
     }
@@ -5875,10 +5657,7 @@ impl ArticleBuilder {
 
 impl ArticleBuilder {
     /// Set the `commentCount` field (optional)
-    pub fn comment_count(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn comment_count(mut self, value: impl Into>>) -> Self {
         self._fields.29 = value.into();
         self
     }
@@ -5910,18 +5689,12 @@ impl ArticleBuilder {
 
 impl ArticleBuilder {
     /// Set the `contentLocation` field (optional)
-    pub fn content_location(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn content_location(mut self, value: impl Into>>) -> Self {
         self._fields.31 = value.into();
         self
     }
     /// Set the `contentLocation` field to an Option value (optional)
-    pub fn maybe_content_location(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_content_location(mut self, value: Option>) -> Self {
         self._fields.31 = value;
         self
     }
@@ -5929,18 +5702,12 @@ impl ArticleBuilder {
 
 impl ArticleBuilder {
     /// Set the `contentRating` field (optional)
-    pub fn content_rating(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn content_rating(mut self, value: impl Into>>) -> Self {
         self._fields.32 = value.into();
         self
     }
     /// Set the `contentRating` field to an Option value (optional)
-    pub fn maybe_content_rating(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_content_rating(mut self, value: Option>) -> Self {
         self._fields.32 = value;
         self
     }
@@ -5967,10 +5734,7 @@ impl ArticleBuilder {
 
 impl ArticleBuilder {
     /// Set the `contributor` field (optional)
-    pub fn contributor(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn contributor(mut self, value: impl Into>>) -> Self {
         self._fields.34 = value.into();
         self
     }
@@ -5983,18 +5747,12 @@ impl ArticleBuilder {
 
 impl ArticleBuilder {
     /// Set the `copyrightHolder` field (optional)
-    pub fn copyright_holder(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn copyright_holder(mut self, value: impl Into>>) -> Self {
         self._fields.35 = value.into();
         self
     }
     /// Set the `copyrightHolder` field to an Option value (optional)
-    pub fn maybe_copyright_holder(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_copyright_holder(mut self, value: Option>) -> Self {
         self._fields.35 = value;
         self
     }
@@ -6002,18 +5760,12 @@ impl ArticleBuilder {
 
 impl ArticleBuilder {
     /// Set the `copyrightNotice` field (optional)
-    pub fn copyright_notice(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn copyright_notice(mut self, value: impl Into>>) -> Self {
         self._fields.36 = value.into();
         self
     }
     /// Set the `copyrightNotice` field to an Option value (optional)
-    pub fn maybe_copyright_notice(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_copyright_notice(mut self, value: Option>) -> Self {
         self._fields.36 = value;
         self
     }
@@ -6021,18 +5773,12 @@ impl ArticleBuilder {
 
 impl ArticleBuilder {
     /// Set the `copyrightYear` field (optional)
-    pub fn copyright_year(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn copyright_year(mut self, value: impl Into>>) -> Self {
         self._fields.37 = value.into();
         self
     }
     /// Set the `copyrightYear` field to an Option value (optional)
-    pub fn maybe_copyright_year(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_copyright_year(mut self, value: Option>) -> Self {
         self._fields.37 = value;
         self
     }
@@ -6061,10 +5807,7 @@ impl ArticleBuilder {
         self
     }
     /// Set the `countryOfOrigin` field to an Option value (optional)
-    pub fn maybe_country_of_origin(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_country_of_origin(mut self, value: Option>) -> Self {
         self._fields.39 = value;
         self
     }
@@ -6104,10 +5847,7 @@ impl ArticleBuilder {
 
 impl ArticleBuilder {
     /// Set the `creditText` field (optional)
-    pub fn credit_text(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn credit_text(mut self, value: impl Into>>) -> Self {
         self._fields.42 = value.into();
         self
     }
@@ -6120,10 +5860,7 @@ impl ArticleBuilder {
 
 impl ArticleBuilder {
     /// Set the `dateCreated` field (optional)
-    pub fn date_created(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn date_created(mut self, value: impl Into>>) -> Self {
         self._fields.43 = value.into();
         self
     }
@@ -6136,10 +5873,7 @@ impl ArticleBuilder {
 
 impl ArticleBuilder {
     /// Set the `dateModified` field (optional)
-    pub fn date_modified(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn date_modified(mut self, value: impl Into>>) -> Self {
         self._fields.44 = value.into();
         self
     }
@@ -6152,18 +5886,12 @@ impl ArticleBuilder {
 
 impl ArticleBuilder {
     /// Set the `datePublished` field (optional)
-    pub fn date_published(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn date_published(mut self, value: impl Into>>) -> Self {
         self._fields.45 = value.into();
         self
     }
     /// Set the `datePublished` field to an Option value (optional)
-    pub fn maybe_date_published(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_date_published(mut self, value: Option>) -> Self {
         self._fields.45 = value;
         self
     }
@@ -6171,10 +5899,7 @@ impl ArticleBuilder {
 
 impl ArticleBuilder {
     /// Set the `description` field (optional)
-    pub fn description(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn description(mut self, value: impl Into>>) -> Self {
         self._fields.46 = value.into();
         self
     }
@@ -6195,10 +5920,7 @@ impl ArticleBuilder {
         self
     }
     /// Set the `digitalSourceType` field to an Option value (optional)
-    pub fn maybe_digital_source_type(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_digital_source_type(mut self, value: Option>) -> Self {
         self._fields.47 = value;
         self
     }
@@ -6225,18 +5947,12 @@ impl ArticleBuilder {
 
 impl ArticleBuilder {
     /// Set the `discussionUrl` field (optional)
-    pub fn discussion_url(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn discussion_url(mut self, value: impl Into>>) -> Self {
         self._fields.49 = value.into();
         self
     }
     /// Set the `discussionUrl` field to an Option value (optional)
-    pub fn maybe_discussion_url(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_discussion_url(mut self, value: Option>) -> Self {
         self._fields.49 = value;
         self
     }
@@ -6297,10 +6013,7 @@ impl ArticleBuilder {
         self
     }
     /// Set the `educationalLevel` field to an Option value (optional)
-    pub fn maybe_educational_level(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_educational_level(mut self, value: Option>) -> Self {
         self._fields.53 = value;
         self
     }
@@ -6308,18 +6021,12 @@ impl ArticleBuilder {
 
 impl ArticleBuilder {
     /// Set the `educationalUse` field (optional)
-    pub fn educational_use(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn educational_use(mut self, value: impl Into>>) -> Self {
         self._fields.54 = value.into();
         self
     }
     /// Set the `educationalUse` field to an Option value (optional)
-    pub fn maybe_educational_use(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_educational_use(mut self, value: Option>) -> Self {
         self._fields.54 = value;
         self
     }
@@ -6340,18 +6047,12 @@ impl ArticleBuilder {
 
 impl ArticleBuilder {
     /// Set the `encodingFormat` field (optional)
-    pub fn encoding_format(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn encoding_format(mut self, value: impl Into>>) -> Self {
         self._fields.56 = value.into();
         self
     }
     /// Set the `encodingFormat` field to an Option value (optional)
-    pub fn maybe_encoding_format(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_encoding_format(mut self, value: Option>) -> Self {
         self._fields.56 = value;
         self
     }
@@ -6372,18 +6073,12 @@ impl ArticleBuilder {
 
 impl ArticleBuilder {
     /// Set the `exampleOfWork` field (optional)
-    pub fn example_of_work(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn example_of_work(mut self, value: impl Into>>) -> Self {
         self._fields.58 = value.into();
         self
     }
     /// Set the `exampleOfWork` field to an Option value (optional)
-    pub fn maybe_example_of_work(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_example_of_work(mut self, value: Option>) -> Self {
         self._fields.58 = value;
         self
     }
@@ -6404,10 +6099,7 @@ impl ArticleBuilder {
 
 impl ArticleBuilder {
     /// Set the `fileFormat` field (optional)
-    pub fn file_format(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn file_format(mut self, value: impl Into>>) -> Self {
         self._fields.60 = value.into();
         self
     }
@@ -6511,10 +6203,7 @@ impl ArticleBuilder {
 
 impl ArticleBuilder {
     /// Set the `inLanguage` field (optional)
-    pub fn in_language(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn in_language(mut self, value: impl Into>>) -> Self {
         self._fields.68 = value.into();
         self
     }
@@ -6554,10 +6243,7 @@ impl ArticleBuilder {
         self
     }
     /// Set the `interactivityType` field to an Option value (optional)
-    pub fn maybe_interactivity_type(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_interactivity_type(mut self, value: Option>) -> Self {
         self._fields.70 = value;
         self
     }
@@ -6616,18 +6302,12 @@ impl ArticleBuilder {
 
 impl ArticleBuilder {
     /// Set the `isBasedOnUrl` field (optional)
-    pub fn is_based_on_url(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn is_based_on_url(mut self, value: impl Into>>) -> Self {
         self._fields.74 = value.into();
         self
     }
     /// Set the `isBasedOnUrl` field to an Option value (optional)
-    pub fn maybe_is_based_on_url(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_is_based_on_url(mut self, value: Option>) -> Self {
         self._fields.74 = value;
         self
     }
@@ -6643,10 +6323,7 @@ impl ArticleBuilder {
         self
     }
     /// Set the `isFamilyFriendly` field to an Option value (optional)
-    pub fn maybe_is_family_friendly(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_is_family_friendly(mut self, value: Option>) -> Self {
         self._fields.75 = value;
         self
     }
@@ -6712,18 +6389,12 @@ impl ArticleBuilder {
 
 impl ArticleBuilder {
     /// Set the `locationCreated` field (optional)
-    pub fn location_created(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn location_created(mut self, value: impl Into>>) -> Self {
         self._fields.80 = value.into();
         self
     }
     /// Set the `locationCreated` field to an Option value (optional)
-    pub fn maybe_location_created(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_location_created(mut self, value: Option>) -> Self {
         self._fields.80 = value;
         self
     }
@@ -6731,10 +6402,7 @@ impl ArticleBuilder {
 
 impl ArticleBuilder {
     /// Set the `mainEntity` field (optional)
-    pub fn main_entity(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn main_entity(mut self, value: impl Into>>) -> Self {
         self._fields.81 = value.into();
         self
     }
@@ -6755,10 +6423,7 @@ impl ArticleBuilder {
         self
     }
     /// Set the `mainEntityOfPage` field to an Option value (optional)
-    pub fn maybe_main_entity_of_page(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_main_entity_of_page(mut self, value: Option>) -> Self {
         self._fields.82 = value;
         self
     }
@@ -6792,18 +6457,12 @@ impl ArticleBuilder {
 
 impl ArticleBuilder {
     /// Set the `materialExtent` field (optional)
-    pub fn material_extent(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn material_extent(mut self, value: impl Into>>) -> Self {
         self._fields.85 = value.into();
         self
     }
     /// Set the `materialExtent` field to an Option value (optional)
-    pub fn maybe_material_extent(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_material_extent(mut self, value: Option>) -> Self {
         self._fields.85 = value;
         self
     }
@@ -6915,18 +6574,12 @@ impl ArticleBuilder {
 
 impl ArticleBuilder {
     /// Set the `potentialAction` field (optional)
-    pub fn potential_action(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn potential_action(mut self, value: impl Into>>) -> Self {
         self._fields.94 = value.into();
         self
     }
     /// Set the `potentialAction` field to an Option value (optional)
-    pub fn maybe_potential_action(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_potential_action(mut self, value: Option>) -> Self {
         self._fields.94 = value;
         self
     }
@@ -6960,10 +6613,7 @@ impl ArticleBuilder {
 
 impl ArticleBuilder {
     /// Set the `publication` field (optional)
-    pub fn publication(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn publication(mut self, value: impl Into>>) -> Self {
         self._fields.97 = value.into();
         self
     }
@@ -6997,10 +6647,7 @@ impl ArticleBuilder {
         self
     }
     /// Set the `publisherImprint` field to an Option value (optional)
-    pub fn maybe_publisher_imprint(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_publisher_imprint(mut self, value: Option>) -> Self {
         self._fields.99 = value;
         self
     }
@@ -7027,10 +6674,7 @@ impl ArticleBuilder {
 
 impl ArticleBuilder {
     /// Set the `recordedAt` field (optional)
-    pub fn recorded_at(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn recorded_at(mut self, value: impl Into>>) -> Self {
         self._fields.101 = value.into();
         self
     }
@@ -7043,18 +6687,12 @@ impl ArticleBuilder {
 
 impl ArticleBuilder {
     /// Set the `releasedEvent` field (optional)
-    pub fn released_event(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn released_event(mut self, value: impl Into>>) -> Self {
         self._fields.102 = value.into();
         self
     }
     /// Set the `releasedEvent` field to an Option value (optional)
-    pub fn maybe_released_event(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_released_event(mut self, value: Option>) -> Self {
         self._fields.102 = value;
         self
     }
@@ -7101,18 +6739,12 @@ impl ArticleBuilder {
 
 impl ArticleBuilder {
     /// Set the `schemaVersion` field (optional)
-    pub fn schema_version(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn schema_version(mut self, value: impl Into>>) -> Self {
         self._fields.106 = value.into();
         self
     }
     /// Set the `schemaVersion` field to an Option value (optional)
-    pub fn maybe_schema_version(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_schema_version(mut self, value: Option>) -> Self {
         self._fields.106 = value;
         self
     }
@@ -7128,10 +6760,7 @@ impl ArticleBuilder {
         self
     }
     /// Set the `sdDatePublished` field to an Option value (optional)
-    pub fn maybe_sd_date_published(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_sd_date_published(mut self, value: Option>) -> Self {
         self._fields.107 = value;
         self
     }
@@ -7152,10 +6781,7 @@ impl ArticleBuilder {
 
 impl ArticleBuilder {
     /// Set the `sdPublisher` field (optional)
-    pub fn sd_publisher(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn sd_publisher(mut self, value: impl Into>>) -> Self {
         self._fields.109 = value.into();
         self
     }
@@ -7213,18 +6839,12 @@ impl ArticleBuilder {
 
 impl ArticleBuilder {
     /// Set the `spatialCoverage` field (optional)
-    pub fn spatial_coverage(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn spatial_coverage(mut self, value: impl Into>>) -> Self {
         self._fields.113 = value.into();
         self
     }
     /// Set the `spatialCoverage` field to an Option value (optional)
-    pub fn maybe_spatial_coverage(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_spatial_coverage(mut self, value: Option>) -> Self {
         self._fields.113 = value;
         self
     }
@@ -7305,10 +6925,7 @@ impl ArticleBuilder {
         self
     }
     /// Set the `temporalCoverage` field to an Option value (optional)
-    pub fn maybe_temporal_coverage(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_temporal_coverage(mut self, value: Option>) -> Self {
         self._fields.119 = value;
         self
     }
@@ -7342,10 +6959,7 @@ impl ArticleBuilder {
 
 impl ArticleBuilder {
     /// Set the `thumbnailUrl` field (optional)
-    pub fn thumbnail_url(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn thumbnail_url(mut self, value: impl Into>>) -> Self {
         self._fields.122 = value.into();
         self
     }
@@ -7358,10 +6972,7 @@ impl ArticleBuilder {
 
 impl ArticleBuilder {
     /// Set the `timeRequired` field (optional)
-    pub fn time_required(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn time_required(mut self, value: impl Into>>) -> Self {
         self._fields.123 = value.into();
         self
     }
@@ -7382,10 +6993,7 @@ impl ArticleBuilder {
         self
     }
     /// Set the `translationOfWork` field to an Option value (optional)
-    pub fn maybe_translation_of_work(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_translation_of_work(mut self, value: Option>) -> Self {
         self._fields.124 = value;
         self
     }
@@ -7414,10 +7022,7 @@ impl ArticleBuilder {
         self
     }
     /// Set the `typicalAgeRange` field to an Option value (optional)
-    pub fn maybe_typical_age_range(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_typical_age_range(mut self, value: Option>) -> Self {
         self._fields.126 = value;
         self
     }
@@ -7490,10 +7095,7 @@ impl ArticleBuilder {
 
 impl ArticleBuilder {
     /// Set the `workExample` field (optional)
-    pub fn work_example(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn work_example(mut self, value: impl Into>>) -> Self {
         self._fields.132 = value.into();
         self
     }
@@ -7506,18 +7108,12 @@ impl ArticleBuilder {
 
 impl ArticleBuilder {
     /// Set the `workTranslation` field (optional)
-    pub fn work_translation(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn work_translation(mut self, value: impl Into>>) -> Self {
         self._fields.133 = value.into();
         self
     }
     /// Set the `workTranslation` field to an Option value (optional)
-    pub fn maybe_work_translation(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_work_translation(mut self, value: Option>) -> Self {
         self._fields.133 = value;
         self
     }
@@ -7807,4 +7403,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/social_flockfeeds/lexical/type/book.rs b/crates/jacquard-api/src/social_flockfeeds/lexical/type/book.rs
index 9ce7c876..905e90de 100644
--- a/crates/jacquard-api/src/social_flockfeeds/lexical/type/book.rs
+++ b/crates/jacquard-api/src/social_flockfeeds/lexical/type/book.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,19 +24,22 @@ use jacquard_derive::{IntoStatic, lexicon, open_union};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::social_flockfeeds::lexical::r#type::event;
 use crate::social_flockfeeds::lexical::r#type::image_object;
 use crate::social_flockfeeds::lexical::r#type::offer;
 use crate::social_flockfeeds::lexical::r#type::organization;
 use crate::social_flockfeeds::lexical::r#type::person;
 use crate::social_flockfeeds::lexical::r#type::product;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// A book.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Embedded {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub about: Option>,
@@ -308,7 +311,6 @@ pub struct Embedded {
     pub extra_data: Option>>,
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -367,7 +369,6 @@ pub enum EmbeddedAccountablePerson {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -428,7 +429,6 @@ pub enum EmbeddedAuthor {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -457,7 +457,6 @@ pub enum EmbeddedCharacter {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -503,7 +502,6 @@ pub enum EmbeddedContributor {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -514,7 +512,6 @@ pub enum EmbeddedCopyrightHolder {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -550,7 +547,6 @@ pub enum EmbeddedCreator {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -604,7 +600,6 @@ pub enum EmbeddedEditor {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -660,7 +655,6 @@ pub enum EmbeddedFunder {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -694,7 +688,6 @@ pub enum EmbeddedIllustrator {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -703,7 +696,6 @@ pub enum EmbeddedImage {
     ImageObjectEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -737,7 +729,6 @@ pub enum EmbeddedIsBasedOn {
     ProductEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -746,7 +737,6 @@ pub enum EmbeddedIsBasedOnUrl {
     ProductEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -802,7 +792,6 @@ pub enum EmbeddedMaintainer {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -811,7 +800,6 @@ pub enum EmbeddedMaterial {
     ProductEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -840,7 +828,6 @@ pub enum EmbeddedOffers {
     OfferEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -866,7 +853,6 @@ pub enum EmbeddedProducer {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -877,7 +863,6 @@ pub enum EmbeddedProvider {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -893,7 +878,6 @@ pub enum EmbeddedPublisher {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -902,7 +886,6 @@ pub enum EmbeddedPublisherImprint {
     OrganizationEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -916,7 +899,6 @@ pub enum EmbeddedRecordedAt {
     EventEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -962,7 +944,6 @@ pub enum EmbeddedSdPublisher {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -976,7 +957,6 @@ pub enum EmbeddedSourceOrganization {
     OrganizationEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -997,7 +977,6 @@ pub enum EmbeddedSponsor {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1006,7 +985,6 @@ pub enum EmbeddedSubjectOf {
     EventEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1035,7 +1013,6 @@ pub enum EmbeddedThumbnail {
     ImageObjectEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1061,7 +1038,6 @@ pub enum EmbeddedTranslator {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1380,7 +1356,6 @@ pub struct Book {
     pub extra_data: Option>>,
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1439,7 +1414,6 @@ pub enum BookAccountablePerson {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1500,7 +1474,6 @@ pub enum BookAuthor {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1529,7 +1502,6 @@ pub enum BookCharacter {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1575,7 +1547,6 @@ pub enum BookContributor {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1586,7 +1557,6 @@ pub enum BookCopyrightHolder {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1622,7 +1592,6 @@ pub enum BookCreator {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1676,7 +1645,6 @@ pub enum BookEditor {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1732,7 +1700,6 @@ pub enum BookFunder {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1766,7 +1733,6 @@ pub enum BookIllustrator {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1775,7 +1741,6 @@ pub enum BookImage {
     ImageObjectEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1809,7 +1774,6 @@ pub enum BookIsBasedOn {
     ProductEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1818,7 +1782,6 @@ pub enum BookIsBasedOnUrl {
     ProductEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1874,7 +1837,6 @@ pub enum BookMaintainer {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1883,7 +1845,6 @@ pub enum BookMaterial {
     ProductEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1912,7 +1873,6 @@ pub enum BookOffers {
     OfferEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1938,7 +1898,6 @@ pub enum BookProducer {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1949,7 +1908,6 @@ pub enum BookProvider {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1965,7 +1923,6 @@ pub enum BookPublisher {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1974,7 +1931,6 @@ pub enum BookPublisherImprint {
     OrganizationEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1988,7 +1944,6 @@ pub enum BookRecordedAt {
     EventEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -2034,7 +1989,6 @@ pub enum BookSdPublisher {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -2048,7 +2002,6 @@ pub enum BookSourceOrganization {
     OrganizationEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -2069,7 +2022,6 @@ pub enum BookSponsor {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -2078,7 +2030,6 @@ pub enum BookSubjectOf {
     EventEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -2107,7 +2058,6 @@ pub enum BookThumbnail {
     ImageObjectEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -2133,7 +2083,6 @@ pub enum BookTranslator {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -2248,10 +2197,10 @@ impl LexiconSchema for Book {
 }
 
 fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("social.flockfeeds.lexical.type.Book"),
@@ -5055,7 +5004,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Book() -> LexiconDoc<'static> {
 
 pub mod book_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -5226,139 +5175,16 @@ impl BookBuilder {
         BookBuilder {
             _state: PhantomData,
             _fields: (
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
+                None, None, None, None, None, None, None, None, None, None, None, None, None, None,
+                None, None, None, None, None, None, None, None, None, None, None, None, None, None,
+                None, None, None, None, None, None, None, None, None, None, None, None, None, None,
+                None, None, None, None, None, None, None, None, None, None, None, None, None, None,
+                None, None, None, None, None, None, None, None, None, None, None, None, None, None,
+                None, None, None, None, None, None, None, None, None, None, None, None, None, None,
+                None, None, None, None, None, None, None, None, None, None, None, None, None, None,
+                None, None, None, None, None, None, None, None, None, None, None, None, None, None,
+                None, None, None, None, None, None, None, None, None, None, None, None, None, None,
+                None, None, None, None, None, None, None,
             ),
             _type: PhantomData,
         }
@@ -5438,18 +5264,12 @@ impl BookBuilder {
 
 impl BookBuilder {
     /// Set the `accessibilityAPI` field (optional)
-    pub fn accessibility_api(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn accessibility_api(mut self, value: impl Into>>) -> Self {
         self._fields.5 = value.into();
         self
     }
     /// Set the `accessibilityAPI` field to an Option value (optional)
-    pub fn maybe_accessibility_api(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_accessibility_api(mut self, value: Option>) -> Self {
         self._fields.5 = value;
         self
     }
@@ -5503,10 +5323,7 @@ impl BookBuilder {
         self
     }
     /// Set the `accessibilityHazard` field to an Option value (optional)
-    pub fn maybe_accessibility_hazard(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_accessibility_hazard(mut self, value: Option>) -> Self {
         self._fields.8 = value;
         self
     }
@@ -5541,10 +5358,7 @@ impl BookBuilder {
         self
     }
     /// Set the `accountablePerson` field to an Option value (optional)
-    pub fn maybe_accountable_person(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_accountable_person(mut self, value: Option>) -> Self {
         self._fields.10 = value;
         self
     }
@@ -5560,10 +5374,7 @@ impl BookBuilder {
         self
     }
     /// Set the `acquireLicensePage` field to an Option value (optional)
-    pub fn maybe_acquire_license_page(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_acquire_license_page(mut self, value: Option>) -> Self {
         self._fields.11 = value;
         self
     }
@@ -5571,18 +5382,12 @@ impl BookBuilder {
 
 impl BookBuilder {
     /// Set the `additionalType` field (optional)
-    pub fn additional_type(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn additional_type(mut self, value: impl Into>>) -> Self {
         self._fields.12 = value.into();
         self
     }
     /// Set the `additionalType` field to an Option value (optional)
-    pub fn maybe_additional_type(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_additional_type(mut self, value: Option>) -> Self {
         self._fields.12 = value;
         self
     }
@@ -5590,18 +5395,12 @@ impl BookBuilder {
 
 impl BookBuilder {
     /// Set the `aggregateRating` field (optional)
-    pub fn aggregate_rating(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn aggregate_rating(mut self, value: impl Into>>) -> Self {
         self._fields.13 = value.into();
         self
     }
     /// Set the `aggregateRating` field to an Option value (optional)
-    pub fn maybe_aggregate_rating(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_aggregate_rating(mut self, value: Option>) -> Self {
         self._fields.13 = value;
         self
     }
@@ -5609,10 +5408,7 @@ impl BookBuilder {
 
 impl BookBuilder {
     /// Set the `alternateName` field (optional)
-    pub fn alternate_name(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn alternate_name(mut self, value: impl Into>>) -> Self {
         self._fields.14 = value.into();
         self
     }
@@ -5633,10 +5429,7 @@ impl BookBuilder {
         self
     }
     /// Set the `alternativeHeadline` field to an Option value (optional)
-    pub fn maybe_alternative_headline(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_alternative_headline(mut self, value: Option>) -> Self {
         self._fields.15 = value;
         self
     }
@@ -5670,18 +5463,12 @@ impl BookBuilder {
 
 impl BookBuilder {
     /// Set the `associatedMedia` field (optional)
-    pub fn associated_media(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn associated_media(mut self, value: impl Into>>) -> Self {
         self._fields.18 = value.into();
         self
     }
     /// Set the `associatedMedia` field to an Option value (optional)
-    pub fn maybe_associated_media(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_associated_media(mut self, value: Option>) -> Self {
         self._fields.18 = value;
         self
     }
@@ -5819,10 +5606,7 @@ impl BookBuilder {
 
 impl BookBuilder {
     /// Set the `commentCount` field (optional)
-    pub fn comment_count(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn comment_count(mut self, value: impl Into>>) -> Self {
         self._fields.29 = value.into();
         self
     }
@@ -5843,10 +5627,7 @@ impl BookBuilder {
         self
     }
     /// Set the `conditionsOfAccess` field to an Option value (optional)
-    pub fn maybe_conditions_of_access(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_conditions_of_access(mut self, value: Option>) -> Self {
         self._fields.30 = value;
         self
     }
@@ -5854,18 +5635,12 @@ impl BookBuilder {
 
 impl BookBuilder {
     /// Set the `contentLocation` field (optional)
-    pub fn content_location(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn content_location(mut self, value: impl Into>>) -> Self {
         self._fields.31 = value.into();
         self
     }
     /// Set the `contentLocation` field to an Option value (optional)
-    pub fn maybe_content_location(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_content_location(mut self, value: Option>) -> Self {
         self._fields.31 = value;
         self
     }
@@ -5873,10 +5648,7 @@ impl BookBuilder {
 
 impl BookBuilder {
     /// Set the `contentRating` field (optional)
-    pub fn content_rating(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn content_rating(mut self, value: impl Into>>) -> Self {
         self._fields.32 = value.into();
         self
     }
@@ -5921,18 +5693,12 @@ impl BookBuilder {
 
 impl BookBuilder {
     /// Set the `copyrightHolder` field (optional)
-    pub fn copyright_holder(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn copyright_holder(mut self, value: impl Into>>) -> Self {
         self._fields.35 = value.into();
         self
     }
     /// Set the `copyrightHolder` field to an Option value (optional)
-    pub fn maybe_copyright_holder(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_copyright_holder(mut self, value: Option>) -> Self {
         self._fields.35 = value;
         self
     }
@@ -5940,18 +5706,12 @@ impl BookBuilder {
 
 impl BookBuilder {
     /// Set the `copyrightNotice` field (optional)
-    pub fn copyright_notice(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn copyright_notice(mut self, value: impl Into>>) -> Self {
         self._fields.36 = value.into();
         self
     }
     /// Set the `copyrightNotice` field to an Option value (optional)
-    pub fn maybe_copyright_notice(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_copyright_notice(mut self, value: Option>) -> Self {
         self._fields.36 = value;
         self
     }
@@ -5959,10 +5719,7 @@ impl BookBuilder {
 
 impl BookBuilder {
     /// Set the `copyrightYear` field (optional)
-    pub fn copyright_year(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn copyright_year(mut self, value: impl Into>>) -> Self {
         self._fields.37 = value.into();
         self
     }
@@ -5988,18 +5745,12 @@ impl BookBuilder {
 
 impl BookBuilder {
     /// Set the `countryOfOrigin` field (optional)
-    pub fn country_of_origin(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn country_of_origin(mut self, value: impl Into>>) -> Self {
         self._fields.39 = value.into();
         self
     }
     /// Set the `countryOfOrigin` field to an Option value (optional)
-    pub fn maybe_country_of_origin(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_country_of_origin(mut self, value: Option>) -> Self {
         self._fields.39 = value;
         self
     }
@@ -6015,10 +5766,7 @@ impl BookBuilder {
         self
     }
     /// Set the `creativeWorkStatus` field to an Option value (optional)
-    pub fn maybe_creative_work_status(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_creative_work_status(mut self, value: Option>) -> Self {
         self._fields.40 = value;
         self
     }
@@ -6065,10 +5813,7 @@ impl BookBuilder {
 
 impl BookBuilder {
     /// Set the `dateModified` field (optional)
-    pub fn date_modified(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn date_modified(mut self, value: impl Into>>) -> Self {
         self._fields.44 = value.into();
         self
     }
@@ -6081,10 +5826,7 @@ impl BookBuilder {
 
 impl BookBuilder {
     /// Set the `datePublished` field (optional)
-    pub fn date_published(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn date_published(mut self, value: impl Into>>) -> Self {
         self._fields.45 = value.into();
         self
     }
@@ -6118,10 +5860,7 @@ impl BookBuilder {
         self
     }
     /// Set the `digitalSourceType` field to an Option value (optional)
-    pub fn maybe_digital_source_type(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_digital_source_type(mut self, value: Option>) -> Self {
         self._fields.47 = value;
         self
     }
@@ -6148,10 +5887,7 @@ impl BookBuilder {
 
 impl BookBuilder {
     /// Set the `discussionUrl` field (optional)
-    pub fn discussion_url(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn discussion_url(mut self, value: impl Into>>) -> Self {
         self._fields.49 = value.into();
         self
     }
@@ -6209,18 +5945,12 @@ impl BookBuilder {
 
 impl BookBuilder {
     /// Set the `educationalLevel` field (optional)
-    pub fn educational_level(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn educational_level(mut self, value: impl Into>>) -> Self {
         self._fields.53 = value.into();
         self
     }
     /// Set the `educationalLevel` field to an Option value (optional)
-    pub fn maybe_educational_level(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_educational_level(mut self, value: Option>) -> Self {
         self._fields.53 = value;
         self
     }
@@ -6228,18 +5958,12 @@ impl BookBuilder {
 
 impl BookBuilder {
     /// Set the `educationalUse` field (optional)
-    pub fn educational_use(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn educational_use(mut self, value: impl Into>>) -> Self {
         self._fields.54 = value.into();
         self
     }
     /// Set the `educationalUse` field to an Option value (optional)
-    pub fn maybe_educational_use(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_educational_use(mut self, value: Option>) -> Self {
         self._fields.54 = value;
         self
     }
@@ -6260,18 +5984,12 @@ impl BookBuilder {
 
 impl BookBuilder {
     /// Set the `encodingFormat` field (optional)
-    pub fn encoding_format(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn encoding_format(mut self, value: impl Into>>) -> Self {
         self._fields.56 = value.into();
         self
     }
     /// Set the `encodingFormat` field to an Option value (optional)
-    pub fn maybe_encoding_format(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_encoding_format(mut self, value: Option>) -> Self {
         self._fields.56 = value;
         self
     }
@@ -6292,10 +6010,7 @@ impl BookBuilder {
 
 impl BookBuilder {
     /// Set the `exampleOfWork` field (optional)
-    pub fn example_of_work(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn example_of_work(mut self, value: impl Into>>) -> Self {
         self._fields.58 = value.into();
         self
     }
@@ -6478,10 +6193,7 @@ impl BookBuilder {
         self
     }
     /// Set the `interactivityType` field to an Option value (optional)
-    pub fn maybe_interactivity_type(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_interactivity_type(mut self, value: Option>) -> Self {
         self._fields.71 = value;
         self
     }
@@ -6497,10 +6209,7 @@ impl BookBuilder {
         self
     }
     /// Set the `interpretedAsClaim` field to an Option value (optional)
-    pub fn maybe_interpreted_as_claim(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_interpreted_as_claim(mut self, value: Option>) -> Self {
         self._fields.72 = value;
         self
     }
@@ -6540,10 +6249,7 @@ impl BookBuilder {
 
 impl BookBuilder {
     /// Set the `isBasedOnUrl` field (optional)
-    pub fn is_based_on_url(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn is_based_on_url(mut self, value: impl Into>>) -> Self {
         self._fields.75 = value.into();
         self
     }
@@ -6556,18 +6262,12 @@ impl BookBuilder {
 
 impl BookBuilder {
     /// Set the `isFamilyFriendly` field (optional)
-    pub fn is_family_friendly(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn is_family_friendly(mut self, value: impl Into>>) -> Self {
         self._fields.76 = value.into();
         self
     }
     /// Set the `isFamilyFriendly` field to an Option value (optional)
-    pub fn maybe_is_family_friendly(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_is_family_friendly(mut self, value: Option>) -> Self {
         self._fields.76 = value;
         self
     }
@@ -6646,18 +6346,12 @@ impl BookBuilder {
 
 impl BookBuilder {
     /// Set the `locationCreated` field (optional)
-    pub fn location_created(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn location_created(mut self, value: impl Into>>) -> Self {
         self._fields.82 = value.into();
         self
     }
     /// Set the `locationCreated` field to an Option value (optional)
-    pub fn maybe_location_created(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_location_created(mut self, value: Option>) -> Self {
         self._fields.82 = value;
         self
     }
@@ -6686,10 +6380,7 @@ impl BookBuilder {
         self
     }
     /// Set the `mainEntityOfPage` field to an Option value (optional)
-    pub fn maybe_main_entity_of_page(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_main_entity_of_page(mut self, value: Option>) -> Self {
         self._fields.84 = value;
         self
     }
@@ -6723,18 +6414,12 @@ impl BookBuilder {
 
 impl BookBuilder {
     /// Set the `materialExtent` field (optional)
-    pub fn material_extent(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn material_extent(mut self, value: impl Into>>) -> Self {
         self._fields.87 = value.into();
         self
     }
     /// Set the `materialExtent` field to an Option value (optional)
-    pub fn maybe_material_extent(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_material_extent(mut self, value: Option>) -> Self {
         self._fields.87 = value;
         self
     }
@@ -6768,10 +6453,7 @@ impl BookBuilder {
 
 impl BookBuilder {
     /// Set the `numberOfPages` field (optional)
-    pub fn number_of_pages(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn number_of_pages(mut self, value: impl Into>>) -> Self {
         self._fields.90 = value.into();
         self
     }
@@ -6823,18 +6505,12 @@ impl BookBuilder {
 
 impl BookBuilder {
     /// Set the `potentialAction` field (optional)
-    pub fn potential_action(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn potential_action(mut self, value: impl Into>>) -> Self {
         self._fields.94 = value.into();
         self
     }
     /// Set the `potentialAction` field to an Option value (optional)
-    pub fn maybe_potential_action(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_potential_action(mut self, value: Option>) -> Self {
         self._fields.94 = value;
         self
     }
@@ -6894,18 +6570,12 @@ impl BookBuilder {
 
 impl BookBuilder {
     /// Set the `publisherImprint` field (optional)
-    pub fn publisher_imprint(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn publisher_imprint(mut self, value: impl Into>>) -> Self {
         self._fields.99 = value.into();
         self
     }
     /// Set the `publisherImprint` field to an Option value (optional)
-    pub fn maybe_publisher_imprint(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_publisher_imprint(mut self, value: Option>) -> Self {
         self._fields.99 = value;
         self
     }
@@ -6945,10 +6615,7 @@ impl BookBuilder {
 
 impl BookBuilder {
     /// Set the `releasedEvent` field (optional)
-    pub fn released_event(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn released_event(mut self, value: impl Into>>) -> Self {
         self._fields.102 = value.into();
         self
     }
@@ -7000,10 +6667,7 @@ impl BookBuilder {
 
 impl BookBuilder {
     /// Set the `schemaVersion` field (optional)
-    pub fn schema_version(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn schema_version(mut self, value: impl Into>>) -> Self {
         self._fields.106 = value.into();
         self
     }
@@ -7016,18 +6680,12 @@ impl BookBuilder {
 
 impl BookBuilder {
     /// Set the `sdDatePublished` field (optional)
-    pub fn sd_date_published(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn sd_date_published(mut self, value: impl Into>>) -> Self {
         self._fields.107 = value.into();
         self
     }
     /// Set the `sdDatePublished` field to an Option value (optional)
-    pub fn maybe_sd_date_published(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_sd_date_published(mut self, value: Option>) -> Self {
         self._fields.107 = value;
         self
     }
@@ -7082,10 +6740,7 @@ impl BookBuilder {
         self
     }
     /// Set the `sourceOrganization` field to an Option value (optional)
-    pub fn maybe_source_organization(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_source_organization(mut self, value: Option>) -> Self {
         self._fields.111 = value;
         self
     }
@@ -7106,18 +6761,12 @@ impl BookBuilder {
 
 impl BookBuilder {
     /// Set the `spatialCoverage` field (optional)
-    pub fn spatial_coverage(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn spatial_coverage(mut self, value: impl Into>>) -> Self {
         self._fields.113 = value.into();
         self
     }
     /// Set the `spatialCoverage` field to an Option value (optional)
-    pub fn maybe_spatial_coverage(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_spatial_coverage(mut self, value: Option>) -> Self {
         self._fields.113 = value;
         self
     }
@@ -7177,18 +6826,12 @@ impl BookBuilder {
 
 impl BookBuilder {
     /// Set the `temporalCoverage` field (optional)
-    pub fn temporal_coverage(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn temporal_coverage(mut self, value: impl Into>>) -> Self {
         self._fields.118 = value.into();
         self
     }
     /// Set the `temporalCoverage` field to an Option value (optional)
-    pub fn maybe_temporal_coverage(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_temporal_coverage(mut self, value: Option>) -> Self {
         self._fields.118 = value;
         self
     }
@@ -7222,10 +6865,7 @@ impl BookBuilder {
 
 impl BookBuilder {
     /// Set the `thumbnailUrl` field (optional)
-    pub fn thumbnail_url(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn thumbnail_url(mut self, value: impl Into>>) -> Self {
         self._fields.121 = value.into();
         self
     }
@@ -7238,10 +6878,7 @@ impl BookBuilder {
 
 impl BookBuilder {
     /// Set the `timeRequired` field (optional)
-    pub fn time_required(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn time_required(mut self, value: impl Into>>) -> Self {
         self._fields.122 = value.into();
         self
     }
@@ -7262,10 +6899,7 @@ impl BookBuilder {
         self
     }
     /// Set the `translationOfWork` field to an Option value (optional)
-    pub fn maybe_translation_of_work(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_translation_of_work(mut self, value: Option>) -> Self {
         self._fields.123 = value;
         self
     }
@@ -7286,18 +6920,12 @@ impl BookBuilder {
 
 impl BookBuilder {
     /// Set the `typicalAgeRange` field (optional)
-    pub fn typical_age_range(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn typical_age_range(mut self, value: impl Into>>) -> Self {
         self._fields.125 = value.into();
         self
     }
     /// Set the `typicalAgeRange` field to an Option value (optional)
-    pub fn maybe_typical_age_range(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_typical_age_range(mut self, value: Option>) -> Self {
         self._fields.125 = value;
         self
     }
@@ -7383,18 +7011,12 @@ impl BookBuilder {
 
 impl BookBuilder {
     /// Set the `workTranslation` field (optional)
-    pub fn work_translation(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn work_translation(mut self, value: impl Into>>) -> Self {
         self._fields.132 = value.into();
         self
     }
     /// Set the `workTranslation` field to an Option value (optional)
-    pub fn maybe_work_translation(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_work_translation(mut self, value: Option>) -> Self {
         self._fields.132 = value;
         self
     }
@@ -7682,4 +7304,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/social_flockfeeds/lexical/type/brand.rs b/crates/jacquard-api/src/social_flockfeeds/lexical/type/brand.rs
index 0e624c98..c8081cf8 100644
--- a/crates/jacquard-api/src/social_flockfeeds/lexical/type/brand.rs
+++ b/crates/jacquard-api/src/social_flockfeeds/lexical/type/brand.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,15 +24,18 @@ use jacquard_derive::{IntoStatic, lexicon, open_union};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::social_flockfeeds::lexical::r#type::event;
 use crate::social_flockfeeds::lexical::r#type::image_object;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// A brand is a name used by an organization or business person for labeling a product, product group, or similar.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Embedded {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub additional_type: Option>,
@@ -70,7 +73,6 @@ pub struct Embedded {
     pub extra_data: Option>>,
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -109,7 +111,6 @@ pub enum EmbeddedImage {
     ImageObjectEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -118,7 +119,6 @@ pub enum EmbeddedLogo {
     ImageObjectEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -157,7 +157,6 @@ pub enum EmbeddedSubjectOf {
     EventEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -207,7 +206,6 @@ pub struct Brand {
     pub extra_data: Option>>,
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -246,7 +244,6 @@ pub enum BrandImage {
     ImageObjectEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -255,7 +252,6 @@ pub enum BrandLogo {
     ImageObjectEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -294,7 +290,6 @@ pub enum BrandSubjectOf {
     EventEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -374,10 +369,10 @@ impl LexiconSchema for Brand {
 }
 
 fn lexicon_doc_social_flockfeeds_lexical_type_Brand() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("social.flockfeeds.lexical.type.Brand"),
@@ -759,7 +754,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Brand() -> LexiconDoc<'static> {
 
 pub mod brand_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -813,22 +808,8 @@ impl BrandBuilder {
         BrandBuilder {
             _state: PhantomData,
             _fields: (
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
+                None, None, None, None, None, None, None, None, None, None, None, None, None, None,
+                None, None,
             ),
             _type: PhantomData,
         }
@@ -837,18 +818,12 @@ impl BrandBuilder {
 
 impl BrandBuilder {
     /// Set the `additionalType` field (optional)
-    pub fn additional_type(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn additional_type(mut self, value: impl Into>>) -> Self {
         self._fields.0 = value.into();
         self
     }
     /// Set the `additionalType` field to an Option value (optional)
-    pub fn maybe_additional_type(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_additional_type(mut self, value: Option>) -> Self {
         self._fields.0 = value;
         self
     }
@@ -856,18 +831,12 @@ impl BrandBuilder {
 
 impl BrandBuilder {
     /// Set the `aggregateRating` field (optional)
-    pub fn aggregate_rating(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn aggregate_rating(mut self, value: impl Into>>) -> Self {
         self._fields.1 = value.into();
         self
     }
     /// Set the `aggregateRating` field to an Option value (optional)
-    pub fn maybe_aggregate_rating(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_aggregate_rating(mut self, value: Option>) -> Self {
         self._fields.1 = value;
         self
     }
@@ -875,10 +844,7 @@ impl BrandBuilder {
 
 impl BrandBuilder {
     /// Set the `alternateName` field (optional)
-    pub fn alternate_name(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn alternate_name(mut self, value: impl Into>>) -> Self {
         self._fields.2 = value.into();
         self
     }
@@ -970,10 +936,7 @@ impl BrandBuilder {
         self
     }
     /// Set the `mainEntityOfPage` field to an Option value (optional)
-    pub fn maybe_main_entity_of_page(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_main_entity_of_page(mut self, value: Option>) -> Self {
         self._fields.8 = value;
         self
     }
@@ -994,18 +957,12 @@ impl BrandBuilder {
 
 impl BrandBuilder {
     /// Set the `potentialAction` field (optional)
-    pub fn potential_action(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn potential_action(mut self, value: impl Into>>) -> Self {
         self._fields.10 = value.into();
         self
     }
     /// Set the `potentialAction` field to an Option value (optional)
-    pub fn maybe_potential_action(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_potential_action(mut self, value: Option>) -> Self {
         self._fields.10 = value;
         self
     }
@@ -1124,4 +1081,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/social_flockfeeds/lexical/type/episode.rs b/crates/jacquard-api/src/social_flockfeeds/lexical/type/episode.rs
index b47cb88f..6f76db47 100644
--- a/crates/jacquard-api/src/social_flockfeeds/lexical/type/episode.rs
+++ b/crates/jacquard-api/src/social_flockfeeds/lexical/type/episode.rs
@@ -17,9 +17,6 @@ use jacquard_derive::{IntoStatic, open_union};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::social_flockfeeds::lexical::r#type::event;
 use crate::social_flockfeeds::lexical::r#type::image_object;
 use crate::social_flockfeeds::lexical::r#type::music_group;
@@ -27,10 +24,16 @@ use crate::social_flockfeeds::lexical::r#type::offer;
 use crate::social_flockfeeds::lexical::r#type::organization;
 use crate::social_flockfeeds::lexical::r#type::person;
 use crate::social_flockfeeds::lexical::r#type::product;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// A media episode (e.g. TV, radio, video game) which can be part of a series or season.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Embedded {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub about: Option>,
@@ -312,7 +315,6 @@ pub struct Embedded {
     pub extra_data: Option>>,
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -366,7 +368,6 @@ pub enum EmbeddedAccountablePerson {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -380,7 +381,6 @@ pub enum EmbeddedActor {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -389,7 +389,6 @@ pub enum EmbeddedActors {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -445,7 +444,6 @@ pub enum EmbeddedAuthor {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -464,7 +462,6 @@ pub enum EmbeddedCharacter {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -510,7 +507,6 @@ pub enum EmbeddedContributor {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -521,7 +517,6 @@ pub enum EmbeddedCopyrightHolder {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -557,7 +552,6 @@ pub enum EmbeddedCreator {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -596,7 +590,6 @@ pub enum EmbeddedDirector {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -605,7 +598,6 @@ pub enum EmbeddedDirectors {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -634,7 +626,6 @@ pub enum EmbeddedEditor {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -695,7 +686,6 @@ pub enum EmbeddedFunder {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -729,7 +719,6 @@ pub enum EmbeddedImage {
     ImageObjectEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -763,7 +752,6 @@ pub enum EmbeddedIsBasedOn {
     ProductEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -772,7 +760,6 @@ pub enum EmbeddedIsBasedOnUrl {
     ProductEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -823,7 +810,6 @@ pub enum EmbeddedMaintainer {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -832,7 +818,6 @@ pub enum EmbeddedMaterial {
     ProductEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -853,7 +838,6 @@ pub enum EmbeddedMusicBy {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -867,7 +851,6 @@ pub enum EmbeddedOffers {
     OfferEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -903,7 +886,6 @@ pub enum EmbeddedProducer {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -912,7 +894,6 @@ pub enum EmbeddedProductionCompany {
     OrganizationEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -923,7 +904,6 @@ pub enum EmbeddedProvider {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -939,7 +919,6 @@ pub enum EmbeddedPublisher {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -948,7 +927,6 @@ pub enum EmbeddedPublisherImprint {
     OrganizationEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -962,7 +940,6 @@ pub enum EmbeddedRecordedAt {
     EventEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1008,7 +985,6 @@ pub enum EmbeddedSdPublisher {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1022,7 +998,6 @@ pub enum EmbeddedSourceOrganization {
     OrganizationEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1043,7 +1018,6 @@ pub enum EmbeddedSponsor {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1052,7 +1026,6 @@ pub enum EmbeddedSubjectOf {
     EventEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1081,7 +1054,6 @@ pub enum EmbeddedThumbnail {
     ImageObjectEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1112,7 +1084,6 @@ pub enum EmbeddedTranslator {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1155,7 +1126,10 @@ pub enum EmbeddedWorkTranslation {}
 /// A media episode (e.g. TV, radio, video game) which can be part of a series or season.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Episode {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub about: Option>,
@@ -1437,7 +1411,6 @@ pub struct Episode {
     pub extra_data: Option>>,
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1491,7 +1464,6 @@ pub enum EpisodeAccountablePerson {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1505,7 +1477,6 @@ pub enum EpisodeActor {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1514,7 +1485,6 @@ pub enum EpisodeActors {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1570,7 +1540,6 @@ pub enum EpisodeAuthor {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1589,7 +1558,6 @@ pub enum EpisodeCharacter {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1635,7 +1603,6 @@ pub enum EpisodeContributor {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1646,7 +1613,6 @@ pub enum EpisodeCopyrightHolder {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1682,7 +1648,6 @@ pub enum EpisodeCreator {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1721,7 +1686,6 @@ pub enum EpisodeDirector {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1730,7 +1694,6 @@ pub enum EpisodeDirectors {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1759,7 +1722,6 @@ pub enum EpisodeEditor {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1820,7 +1782,6 @@ pub enum EpisodeFunder {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1854,7 +1815,6 @@ pub enum EpisodeImage {
     ImageObjectEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1888,7 +1848,6 @@ pub enum EpisodeIsBasedOn {
     ProductEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1897,7 +1856,6 @@ pub enum EpisodeIsBasedOnUrl {
     ProductEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1948,7 +1906,6 @@ pub enum EpisodeMaintainer {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1957,7 +1914,6 @@ pub enum EpisodeMaterial {
     ProductEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1978,7 +1934,6 @@ pub enum EpisodeMusicBy {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1992,7 +1947,6 @@ pub enum EpisodeOffers {
     OfferEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -2028,7 +1982,6 @@ pub enum EpisodeProducer {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -2037,7 +1990,6 @@ pub enum EpisodeProductionCompany {
     OrganizationEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -2048,7 +2000,6 @@ pub enum EpisodeProvider {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -2064,7 +2015,6 @@ pub enum EpisodePublisher {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -2073,7 +2023,6 @@ pub enum EpisodePublisherImprint {
     OrganizationEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -2087,7 +2036,6 @@ pub enum EpisodeRecordedAt {
     EventEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -2133,7 +2081,6 @@ pub enum EpisodeSdPublisher {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -2147,7 +2094,6 @@ pub enum EpisodeSourceOrganization {
     OrganizationEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -2168,7 +2114,6 @@ pub enum EpisodeSponsor {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -2177,7 +2122,6 @@ pub enum EpisodeSubjectOf {
     EventEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -2206,7 +2150,6 @@ pub enum EpisodeThumbnail {
     ImageObjectEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -2237,7 +2180,6 @@ pub enum EpisodeTranslator {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -2308,10 +2250,10 @@ impl LexiconSchema for Episode {
 }
 
 fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("social.flockfeeds.lexical.type.Episode"),
@@ -5219,4 +5161,4 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Episode() -> LexiconDoc<'static> {
         },
         ..Default::default()
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/social_flockfeeds/lexical/type/event.rs b/crates/jacquard-api/src/social_flockfeeds/lexical/type/event.rs
index f85d5cc9..928b91fc 100644
--- a/crates/jacquard-api/src/social_flockfeeds/lexical/type/event.rs
+++ b/crates/jacquard-api/src/social_flockfeeds/lexical/type/event.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,18 +24,21 @@ use jacquard_derive::{IntoStatic, lexicon, open_union};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::social_flockfeeds::lexical::r#type::event;
 use crate::social_flockfeeds::lexical::r#type::image_object;
 use crate::social_flockfeeds::lexical::r#type::offer;
 use crate::social_flockfeeds::lexical::r#type::organization;
 use crate::social_flockfeeds::lexical::r#type::person;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /// An event happening at a certain time and location, such as a concert, lecture, or festival. Ticketing information may be added via the [[offers]] property. Repeated events may be structured as separate Event objects.
 
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
-#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
+#[serde(
+    rename_all = "camelCase",
+    bound(deserialize = "S: Deserialize<'de> + BosStr")
+)]
 pub struct Embedded {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub about: Option>,
@@ -96,13 +99,9 @@ pub struct Embedded {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub maximum_attendee_capacity: Option>,
     #[serde(skip_serializing_if = "Option::is_none")]
-    pub maximum_physical_attendee_capacity: Option<
-        EmbeddedMaximumPhysicalAttendeeCapacity,
-    >,
+    pub maximum_physical_attendee_capacity: Option>,
     #[serde(skip_serializing_if = "Option::is_none")]
-    pub maximum_virtual_attendee_capacity: Option<
-        EmbeddedMaximumVirtualAttendeeCapacity,
-    >,
+    pub maximum_virtual_attendee_capacity: Option>,
     #[serde(skip_serializing_if = "Option::is_none")]
     pub name: Option>,
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -151,7 +150,6 @@ pub struct Embedded {
     pub extra_data: Option>>,
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -165,7 +163,6 @@ pub enum EmbeddedActor {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -191,7 +188,6 @@ pub enum EmbeddedAttendee {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -202,7 +198,6 @@ pub enum EmbeddedAttendees {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -218,7 +213,6 @@ pub enum EmbeddedComposer {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -229,7 +223,6 @@ pub enum EmbeddedContributor {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -243,7 +236,6 @@ pub enum EmbeddedDirector {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -289,7 +281,6 @@ pub enum EmbeddedFunder {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -308,7 +299,6 @@ pub enum EmbeddedImage {
     ImageObjectEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -362,7 +352,6 @@ pub enum EmbeddedOffers {
     OfferEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -373,7 +362,6 @@ pub enum EmbeddedOrganizer {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -384,7 +372,6 @@ pub enum EmbeddedPerformer {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -395,7 +382,6 @@ pub enum EmbeddedPerformers {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -436,7 +422,6 @@ pub enum EmbeddedSponsor {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -450,7 +435,6 @@ pub enum EmbeddedSubEvent {
     Embedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -459,7 +443,6 @@ pub enum EmbeddedSubEvents {
     Embedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -468,7 +451,6 @@ pub enum EmbeddedSubjectOf {
     Embedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -477,7 +459,6 @@ pub enum EmbeddedSuperEvent {
     Embedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -488,7 +469,6 @@ pub enum EmbeddedTranslator {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -576,13 +556,9 @@ pub struct Event {
     #[serde(skip_serializing_if = "Option::is_none")]
     pub maximum_attendee_capacity: Option>,
     #[serde(skip_serializing_if = "Option::is_none")]
-    pub maximum_physical_attendee_capacity: Option<
-        EventMaximumPhysicalAttendeeCapacity,
-    >,
+    pub maximum_physical_attendee_capacity: Option>,
     #[serde(skip_serializing_if = "Option::is_none")]
-    pub maximum_virtual_attendee_capacity: Option<
-        EventMaximumVirtualAttendeeCapacity,
-    >,
+    pub maximum_virtual_attendee_capacity: Option>,
     #[serde(skip_serializing_if = "Option::is_none")]
     pub name: Option>,
     #[serde(skip_serializing_if = "Option::is_none")]
@@ -631,7 +607,6 @@ pub struct Event {
     pub extra_data: Option>>,
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -645,7 +620,6 @@ pub enum EventActor {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -671,7 +645,6 @@ pub enum EventAttendee {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -682,7 +655,6 @@ pub enum EventAttendees {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -698,7 +670,6 @@ pub enum EventComposer {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -709,7 +680,6 @@ pub enum EventContributor {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -723,7 +693,6 @@ pub enum EventDirector {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -769,7 +738,6 @@ pub enum EventFunder {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -788,7 +756,6 @@ pub enum EventImage {
     ImageObjectEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -842,7 +809,6 @@ pub enum EventOffers {
     OfferEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -853,7 +819,6 @@ pub enum EventOrganizer {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -864,7 +829,6 @@ pub enum EventPerformer {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -875,7 +839,6 @@ pub enum EventPerformers {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -916,7 +879,6 @@ pub enum EventSponsor {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -930,7 +892,6 @@ pub enum EventSubEvent {
     Embedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -939,7 +900,6 @@ pub enum EventSubEvents {
     Embedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -948,7 +908,6 @@ pub enum EventSubjectOf {
     Embedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -957,7 +916,6 @@ pub enum EventSuperEvent {
     Embedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -968,7 +926,6 @@ pub enum EventTranslator {
     PersonEmbedded(Box>),
 }
 
-
 #[open_union]
 #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
 #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
@@ -1063,10 +1020,10 @@ impl LexiconSchema for Event {
 }
 
 fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> LexiconDoc<'static> {
+    use alloc::collections::BTreeMap;
     #[allow(unused_imports)]
     use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
     use jacquard_lexicon::lexicon::*;
-    use alloc::collections::BTreeMap;
     LexiconDoc {
         lexicon: Lexicon::Lexicon1,
         id: CowStr::new_static("social.flockfeeds.lexical.type.Event"),
@@ -2226,7 +2183,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Event() -> LexiconDoc<'static> {
 
 pub mod event_state {
 
-    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
+    pub use crate::builder_types::{IsSet, IsUnset, Set, Unset};
     #[allow(unused)]
     use ::core::marker::PhantomData;
     mod sealed {
@@ -2317,59 +2274,10 @@ impl EventBuilder {
         EventBuilder {
             _state: PhantomData,
             _fields: (
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
-                None,
+                None, None, None, None, None, None, None, None, None, None, None, None, None, None,
+                None, None, None, None, None, None, None, None, None, None, None, None, None, None,
+                None, None, None, None, None, None, None, None, None, None, None, None, None, None,
+                None, None, None, None, None, None, None, None, None, None, None,
             ),
             _type: PhantomData,
         }
@@ -2404,18 +2312,12 @@ impl EventBuilder {
 
 impl EventBuilder {
     /// Set the `additionalType` field (optional)
-    pub fn additional_type(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn additional_type(mut self, value: impl Into>>) -> Self {
         self._fields.2 = value.into();
         self
     }
     /// Set the `additionalType` field to an Option value (optional)
-    pub fn maybe_additional_type(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_additional_type(mut self, value: Option>) -> Self {
         self._fields.2 = value;
         self
     }
@@ -2423,18 +2325,12 @@ impl EventBuilder {
 
 impl EventBuilder {
     /// Set the `aggregateRating` field (optional)
-    pub fn aggregate_rating(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn aggregate_rating(mut self, value: impl Into>>) -> Self {
         self._fields.3 = value.into();
         self
     }
     /// Set the `aggregateRating` field to an Option value (optional)
-    pub fn maybe_aggregate_rating(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_aggregate_rating(mut self, value: Option>) -> Self {
         self._fields.3 = value;
         self
     }
@@ -2442,10 +2338,7 @@ impl EventBuilder {
 
 impl EventBuilder {
     /// Set the `alternateName` field (optional)
-    pub fn alternate_name(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn alternate_name(mut self, value: impl Into>>) -> Self {
         self._fields.4 = value.into();
         self
     }
@@ -2626,10 +2519,7 @@ impl EventBuilder {
 
 impl EventBuilder {
     /// Set the `eventSchedule` field (optional)
-    pub fn event_schedule(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn event_schedule(mut self, value: impl Into>>) -> Self {
         self._fields.17 = value.into();
         self
     }
@@ -2642,10 +2532,7 @@ impl EventBuilder {
 
 impl EventBuilder {
     /// Set the `eventStatus` field (optional)
-    pub fn event_status(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn event_status(mut self, value: impl Into>>) -> Self {
         self._fields.18 = value.into();
         self
     }
@@ -2776,10 +2663,7 @@ impl EventBuilder {
         self
     }
     /// Set the `mainEntityOfPage` field to an Option value (optional)
-    pub fn maybe_main_entity_of_page(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_main_entity_of_page(mut self, value: Option>) -> Self {
         self._fields.27 = value;
         self
     }
@@ -2909,18 +2793,12 @@ impl EventBuilder {
 
 impl EventBuilder {
     /// Set the `potentialAction` field (optional)
-    pub fn potential_action(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn potential_action(mut self, value: impl Into>>) -> Self {
         self._fields.36 = value.into();
         self
     }
     /// Set the `potentialAction` field to an Option value (optional)
-    pub fn maybe_potential_action(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_potential_action(mut self, value: Option>) -> Self {
         self._fields.36 = value;
         self
     }
@@ -2936,10 +2814,7 @@ impl EventBuilder {
         self
     }
     /// Set the `previousStartDate` field to an Option value (optional)
-    pub fn maybe_previous_start_date(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_previous_start_date(mut self, value: Option>) -> Self {
         self._fields.37 = value;
         self
     }
@@ -3096,18 +2971,12 @@ impl EventBuilder {
 
 impl EventBuilder {
     /// Set the `typicalAgeRange` field (optional)
-    pub fn typical_age_range(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn typical_age_range(mut self, value: impl Into>>) -> Self {
         self._fields.49 = value.into();
         self
     }
     /// Set the `typicalAgeRange` field to an Option value (optional)
-    pub fn maybe_typical_age_range(
-        mut self,
-        value: Option>,
-    ) -> Self {
+    pub fn maybe_typical_age_range(mut self, value: Option>) -> Self {
         self._fields.49 = value;
         self
     }
@@ -3128,10 +2997,7 @@ impl EventBuilder {
 
 impl EventBuilder {
     /// Set the `workFeatured` field (optional)
-    pub fn work_featured(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn work_featured(mut self, value: impl Into>>) -> Self {
         self._fields.51 = value.into();
         self
     }
@@ -3144,10 +3010,7 @@ impl EventBuilder {
 
 impl EventBuilder {
     /// Set the `workPerformed` field (optional)
-    pub fn work_performed(
-        mut self,
-        value: impl Into>>,
-    ) -> Self {
+    pub fn work_performed(mut self, value: impl Into>>) -> Self {
         self._fields.52 = value.into();
         self
     }
@@ -3280,4 +3143,4 @@ where
             extra_data: Some(extra_data),
         }
     }
-}
\ No newline at end of file
+}
diff --git a/crates/jacquard-api/src/social_flockfeeds/lexical/type/hotel.rs b/crates/jacquard-api/src/social_flockfeeds/lexical/type/hotel.rs
index 62577f7e..cb8e3355 100644
--- a/crates/jacquard-api/src/social_flockfeeds/lexical/type/hotel.rs
+++ b/crates/jacquard-api/src/social_flockfeeds/lexical/type/hotel.rs
@@ -10,7 +10,7 @@ use alloc::collections::BTreeMap;
 
 #[allow(unused_imports)]
 use core::marker::PhantomData;
-use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};
+use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr};
 
 #[allow(unused_imports)]
 use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
@@ -24,9 +24,6 @@ use jacquard_derive::{IntoStatic, lexicon, open_union};
 use jacquard_lexicon::lexicon::LexiconDoc;
 use jacquard_lexicon::schema::LexiconSchema;
 
-#[allow(unused_imports)]
-use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
-use serde::{Serialize, Deserialize};
 use crate::social_flockfeeds::lexical::r#type::article;
 use crate::social_flockfeeds::lexical::r#type::brand;
 use crate::social_flockfeeds::lexical::r#type::event;
@@ -35,12 +32,18 @@ use crate::social_flockfeeds::lexical::r#type::offer;
 use crate::social_flockfeeds::lexical::r#type::organization;
 use crate::social_flockfeeds::lexical::r#type::person;
 use crate::social_flockfeeds::lexical::r#type::product;
+#[allow(unused_imports)]
+use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
+use serde::{Deserialize, Serialize};
 /** A hotel is an establishment that provides lodging paid on a short-term basis (source: Wikipedia, the free encyclopedia, see http://en.wikipedia.org/wiki/Hotel).
 

See also the dedicated document on the use of schema.org for marking up hotels and other forms of accommodations.*/ #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Embedded { #[serde(skip_serializing_if = "Option::is_none")] pub accepted_payment_method: Option>, @@ -287,9 +290,7 @@ pub struct Embedded { #[serde(skip_serializing_if = "Option::is_none")] pub smoking_allowed: Option>, #[serde(skip_serializing_if = "Option::is_none")] - pub special_opening_hours_specification: Option< - EmbeddedSpecialOpeningHoursSpecification, - >, + pub special_opening_hours_specification: Option>, #[serde(skip_serializing_if = "Option::is_none")] pub sponsor: Option>, #[serde(skip_serializing_if = "Option::is_none")] @@ -314,7 +315,6 @@ pub struct Embedded { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -363,7 +363,6 @@ pub enum EmbeddedAlumni { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -407,7 +406,6 @@ pub enum EmbeddedBranchOf { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -418,7 +416,6 @@ pub enum EmbeddedBrand { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -477,7 +474,6 @@ pub enum EmbeddedDepartment { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -506,7 +502,6 @@ pub enum EmbeddedDiversityStaffingReport { ArticleEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -525,7 +520,6 @@ pub enum EmbeddedEmployee { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -534,7 +528,6 @@ pub enum EmbeddedEmployees { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -548,7 +541,6 @@ pub enum EmbeddedEvent { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -557,7 +549,6 @@ pub enum EmbeddedEvents { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -573,7 +564,6 @@ pub enum EmbeddedFounder { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -582,7 +572,6 @@ pub enum EmbeddedFounders { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -603,7 +592,6 @@ pub enum EmbeddedFunder { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -737,7 +725,6 @@ pub enum EmbeddedImage { ImageObjectEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -796,7 +783,6 @@ pub enum EmbeddedLegalRepresentative { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -815,7 +801,6 @@ pub enum EmbeddedLogo { ImageObjectEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -834,7 +819,6 @@ pub enum EmbeddedMakesOffer { OfferEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -860,7 +844,6 @@ pub enum EmbeddedMember { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -869,7 +852,6 @@ pub enum EmbeddedMemberOf { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -880,7 +862,6 @@ pub enum EmbeddedMembers { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -929,7 +910,6 @@ pub enum EmbeddedOwns { ProductEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -938,7 +918,6 @@ pub enum EmbeddedParentOrganization { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -957,7 +936,6 @@ pub enum EmbeddedPhoto { ImageObjectEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -966,7 +944,6 @@ pub enum EmbeddedPhotos { ImageObjectEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1042,7 +1019,6 @@ pub enum EmbeddedSponsor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1056,7 +1032,6 @@ pub enum EmbeddedSubOrganization { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1065,7 +1040,6 @@ pub enum EmbeddedSubjectOf { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1349,9 +1323,7 @@ pub struct Hotel { #[serde(skip_serializing_if = "Option::is_none")] pub smoking_allowed: Option>, #[serde(skip_serializing_if = "Option::is_none")] - pub special_opening_hours_specification: Option< - HotelSpecialOpeningHoursSpecification, - >, + pub special_opening_hours_specification: Option>, #[serde(skip_serializing_if = "Option::is_none")] pub sponsor: Option>, #[serde(skip_serializing_if = "Option::is_none")] @@ -1376,7 +1348,6 @@ pub struct Hotel { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1425,7 +1396,6 @@ pub enum HotelAlumni { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1469,7 +1439,6 @@ pub enum HotelBranchOf { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1480,7 +1449,6 @@ pub enum HotelBrand { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1539,7 +1507,6 @@ pub enum HotelDepartment { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1568,7 +1535,6 @@ pub enum HotelDiversityStaffingReport { ArticleEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1587,7 +1553,6 @@ pub enum HotelEmployee { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1596,7 +1561,6 @@ pub enum HotelEmployees { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1610,7 +1574,6 @@ pub enum HotelEvent { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1619,7 +1582,6 @@ pub enum HotelEvents { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1635,7 +1597,6 @@ pub enum HotelFounder { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1644,7 +1605,6 @@ pub enum HotelFounders { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1665,7 +1625,6 @@ pub enum HotelFunder { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1799,7 +1758,6 @@ pub enum HotelImage { ImageObjectEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1858,7 +1816,6 @@ pub enum HotelLegalRepresentative { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1877,7 +1834,6 @@ pub enum HotelLogo { ImageObjectEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1896,7 +1852,6 @@ pub enum HotelMakesOffer { OfferEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1922,7 +1877,6 @@ pub enum HotelMember { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1931,7 +1885,6 @@ pub enum HotelMemberOf { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1942,7 +1895,6 @@ pub enum HotelMembers { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1991,7 +1943,6 @@ pub enum HotelOwns { ProductEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2000,7 +1951,6 @@ pub enum HotelParentOrganization { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2019,7 +1969,6 @@ pub enum HotelPhoto { ImageObjectEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2028,7 +1977,6 @@ pub enum HotelPhotos { ImageObjectEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2104,7 +2052,6 @@ pub enum HotelSponsor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2118,7 +2065,6 @@ pub enum HotelSubOrganization { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2127,7 +2073,6 @@ pub enum HotelSubjectOf { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2232,10 +2177,10 @@ impl LexiconSchema for Hotel { } fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("social.flockfeeds.lexical.type.Hotel"), @@ -5057,7 +5002,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Hotel() -> LexiconDoc<'static> { pub mod hotel_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -5228,139 +5173,16 @@ impl HotelBuilder { HotelBuilder { _state: PhantomData, _fields: ( - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, ), _type: PhantomData, } @@ -5415,10 +5237,7 @@ impl HotelBuilder { self } /// Set the `additionalProperty` field to an Option value (optional) - pub fn maybe_additional_property( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_additional_property(mut self, value: Option>) -> Self { self._fields.2 = value; self } @@ -5426,18 +5245,12 @@ impl HotelBuilder { impl HotelBuilder { /// Set the `additionalType` field (optional) - pub fn additional_type( - mut self, - value: impl Into>>, - ) -> Self { + pub fn additional_type(mut self, value: impl Into>>) -> Self { self._fields.3 = value.into(); self } /// Set the `additionalType` field to an Option value (optional) - pub fn maybe_additional_type( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_additional_type(mut self, value: Option>) -> Self { self._fields.3 = value; self } @@ -5477,18 +5290,12 @@ impl HotelBuilder { impl HotelBuilder { /// Set the `aggregateRating` field (optional) - pub fn aggregate_rating( - mut self, - value: impl Into>>, - ) -> Self { + pub fn aggregate_rating(mut self, value: impl Into>>) -> Self { self._fields.6 = value.into(); self } /// Set the `aggregateRating` field to an Option value (optional) - pub fn maybe_aggregate_rating( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_aggregate_rating(mut self, value: Option>) -> Self { self._fields.6 = value; self } @@ -5496,10 +5303,7 @@ impl HotelBuilder { impl HotelBuilder { /// Set the `alternateName` field (optional) - pub fn alternate_name( - mut self, - value: impl Into>>, - ) -> Self { + pub fn alternate_name(mut self, value: impl Into>>) -> Self { self._fields.7 = value.into(); self } @@ -5525,18 +5329,12 @@ impl HotelBuilder { impl HotelBuilder { /// Set the `amenityFeature` field (optional) - pub fn amenity_feature( - mut self, - value: impl Into>>, - ) -> Self { + pub fn amenity_feature(mut self, value: impl Into>>) -> Self { self._fields.9 = value.into(); self } /// Set the `amenityFeature` field to an Option value (optional) - pub fn maybe_amenity_feature( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_amenity_feature(mut self, value: Option>) -> Self { self._fields.9 = value; self } @@ -5578,10 +5376,7 @@ impl HotelBuilder { self } /// Set the `availableLanguage` field to an Option value (optional) - pub fn maybe_available_language( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_available_language(mut self, value: Option>) -> Self { self._fields.12 = value; self } @@ -5654,10 +5449,7 @@ impl HotelBuilder { impl HotelBuilder { /// Set the `checkinTime` field (optional) - pub fn checkin_time( - mut self, - value: impl Into>>, - ) -> Self { + pub fn checkin_time(mut self, value: impl Into>>) -> Self { self._fields.18 = value.into(); self } @@ -5670,10 +5462,7 @@ impl HotelBuilder { impl HotelBuilder { /// Set the `checkoutTime` field (optional) - pub fn checkout_time( - mut self, - value: impl Into>>, - ) -> Self { + pub fn checkout_time(mut self, value: impl Into>>) -> Self { self._fields.19 = value.into(); self } @@ -5705,10 +5494,7 @@ impl HotelBuilder { impl HotelBuilder { /// Set the `contactPoint` field (optional) - pub fn contact_point( - mut self, - value: impl Into>>, - ) -> Self { + pub fn contact_point(mut self, value: impl Into>>) -> Self { self._fields.21 = value.into(); self } @@ -5721,10 +5507,7 @@ impl HotelBuilder { impl HotelBuilder { /// Set the `contactPoints` field (optional) - pub fn contact_points( - mut self, - value: impl Into>>, - ) -> Self { + pub fn contact_points(mut self, value: impl Into>>) -> Self { self._fields.22 = value.into(); self } @@ -5737,10 +5520,7 @@ impl HotelBuilder { impl HotelBuilder { /// Set the `containedIn` field (optional) - pub fn contained_in( - mut self, - value: impl Into>>, - ) -> Self { + pub fn contained_in(mut self, value: impl Into>>) -> Self { self._fields.23 = value.into(); self } @@ -5761,10 +5541,7 @@ impl HotelBuilder { self } /// Set the `containedInPlace` field to an Option value (optional) - pub fn maybe_contained_in_place( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_contained_in_place(mut self, value: Option>) -> Self { self._fields.24 = value; self } @@ -5772,10 +5549,7 @@ impl HotelBuilder { impl HotelBuilder { /// Set the `containsPlace` field (optional) - pub fn contains_place( - mut self, - value: impl Into>>, - ) -> Self { + pub fn contains_place(mut self, value: impl Into>>) -> Self { self._fields.25 = value.into(); self } @@ -5796,10 +5570,7 @@ impl HotelBuilder { self } /// Set the `correctionsPolicy` field to an Option value (optional) - pub fn maybe_corrections_policy( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_corrections_policy(mut self, value: Option>) -> Self { self._fields.26 = value; self } @@ -5815,10 +5586,7 @@ impl HotelBuilder { self } /// Set the `currenciesAccepted` field to an Option value (optional) - pub fn maybe_currencies_accepted( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_currencies_accepted(mut self, value: Option>) -> Self { self._fields.27 = value; self } @@ -5871,18 +5639,12 @@ impl HotelBuilder { impl HotelBuilder { /// Set the `dissolutionDate` field (optional) - pub fn dissolution_date( - mut self, - value: impl Into>>, - ) -> Self { + pub fn dissolution_date(mut self, value: impl Into>>) -> Self { self._fields.31 = value.into(); self } /// Set the `dissolutionDate` field to an Option value (optional) - pub fn maybe_dissolution_date( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_dissolution_date(mut self, value: Option>) -> Self { self._fields.31 = value; self } @@ -5890,18 +5652,12 @@ impl HotelBuilder { impl HotelBuilder { /// Set the `diversityPolicy` field (optional) - pub fn diversity_policy( - mut self, - value: impl Into>>, - ) -> Self { + pub fn diversity_policy(mut self, value: impl Into>>) -> Self { self._fields.32 = value.into(); self } /// Set the `diversityPolicy` field to an Option value (optional) - pub fn maybe_diversity_policy( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_diversity_policy(mut self, value: Option>) -> Self { self._fields.32 = value; self } @@ -5980,10 +5736,7 @@ impl HotelBuilder { impl HotelBuilder { /// Set the `ethicsPolicy` field (optional) - pub fn ethics_policy( - mut self, - value: impl Into>>, - ) -> Self { + pub fn ethics_policy(mut self, value: impl Into>>) -> Self { self._fields.38 = value.into(); self } @@ -6061,10 +5814,7 @@ impl HotelBuilder { impl HotelBuilder { /// Set the `foundingDate` field (optional) - pub fn founding_date( - mut self, - value: impl Into>>, - ) -> Self { + pub fn founding_date(mut self, value: impl Into>>) -> Self { self._fields.44 = value.into(); self } @@ -6077,18 +5827,12 @@ impl HotelBuilder { impl HotelBuilder { /// Set the `foundingLocation` field (optional) - pub fn founding_location( - mut self, - value: impl Into>>, - ) -> Self { + pub fn founding_location(mut self, value: impl Into>>) -> Self { self._fields.45 = value.into(); self } /// Set the `foundingLocation` field to an Option value (optional) - pub fn maybe_founding_location( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_founding_location(mut self, value: Option>) -> Self { self._fields.45 = value; self } @@ -6135,10 +5879,7 @@ impl HotelBuilder { impl HotelBuilder { /// Set the `geoContains` field (optional) - pub fn geo_contains( - mut self, - value: impl Into>>, - ) -> Self { + pub fn geo_contains(mut self, value: impl Into>>) -> Self { self._fields.49 = value.into(); self } @@ -6151,10 +5892,7 @@ impl HotelBuilder { impl HotelBuilder { /// Set the `geoCoveredBy` field (optional) - pub fn geo_covered_by( - mut self, - value: impl Into>>, - ) -> Self { + pub fn geo_covered_by(mut self, value: impl Into>>) -> Self { self._fields.50 = value.into(); self } @@ -6193,10 +5931,7 @@ impl HotelBuilder { impl HotelBuilder { /// Set the `geoDisjoint` field (optional) - pub fn geo_disjoint( - mut self, - value: impl Into>>, - ) -> Self { + pub fn geo_disjoint(mut self, value: impl Into>>) -> Self { self._fields.53 = value.into(); self } @@ -6222,10 +5957,7 @@ impl HotelBuilder { impl HotelBuilder { /// Set the `geoIntersects` field (optional) - pub fn geo_intersects( - mut self, - value: impl Into>>, - ) -> Self { + pub fn geo_intersects(mut self, value: impl Into>>) -> Self { self._fields.55 = value.into(); self } @@ -6238,10 +5970,7 @@ impl HotelBuilder { impl HotelBuilder { /// Set the `geoOverlaps` field (optional) - pub fn geo_overlaps( - mut self, - value: impl Into>>, - ) -> Self { + pub fn geo_overlaps(mut self, value: impl Into>>) -> Self { self._fields.56 = value.into(); self } @@ -6299,18 +6028,12 @@ impl HotelBuilder { impl HotelBuilder { /// Set the `hasCertification` field (optional) - pub fn has_certification( - mut self, - value: impl Into>>, - ) -> Self { + pub fn has_certification(mut self, value: impl Into>>) -> Self { self._fields.60 = value.into(); self } /// Set the `hasCertification` field to an Option value (optional) - pub fn maybe_has_certification( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_has_certification(mut self, value: Option>) -> Self { self._fields.60 = value; self } @@ -6318,10 +6041,7 @@ impl HotelBuilder { impl HotelBuilder { /// Set the `hasCredential` field (optional) - pub fn has_credential( - mut self, - value: impl Into>>, - ) -> Self { + pub fn has_credential(mut self, value: impl Into>>) -> Self { self._fields.61 = value.into(); self } @@ -6361,10 +6081,7 @@ impl HotelBuilder { self } /// Set the `hasGS1DigitalLink` field to an Option value (optional) - pub fn maybe_has_gs1_digital_link( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_has_gs1_digital_link(mut self, value: Option>) -> Self { self._fields.63 = value; self } @@ -6393,10 +6110,7 @@ impl HotelBuilder { self } /// Set the `hasMemberProgram` field to an Option value (optional) - pub fn maybe_has_member_program( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_has_member_program(mut self, value: Option>) -> Self { self._fields.65 = value; self } @@ -6423,18 +6137,12 @@ impl HotelBuilder { impl HotelBuilder { /// Set the `hasOfferCatalog` field (optional) - pub fn has_offer_catalog( - mut self, - value: impl Into>>, - ) -> Self { + pub fn has_offer_catalog(mut self, value: impl Into>>) -> Self { self._fields.67 = value.into(); self } /// Set the `hasOfferCatalog` field to an Option value (optional) - pub fn maybe_has_offer_catalog( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_has_offer_catalog(mut self, value: Option>) -> Self { self._fields.67 = value; self } @@ -6482,10 +6190,7 @@ impl HotelBuilder { self } /// Set the `hasShippingService` field to an Option value (optional) - pub fn maybe_has_shipping_service( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_has_shipping_service(mut self, value: Option>) -> Self { self._fields.70 = value; self } @@ -6570,10 +6275,7 @@ impl HotelBuilder { impl HotelBuilder { /// Set the `iso6523Code` field (optional) - pub fn iso6523_code( - mut self, - value: impl Into>>, - ) -> Self { + pub fn iso6523_code(mut self, value: impl Into>>) -> Self { self._fields.76 = value.into(); self } @@ -6612,10 +6314,7 @@ impl HotelBuilder { impl HotelBuilder { /// Set the `knowsLanguage` field (optional) - pub fn knows_language( - mut self, - value: impl Into>>, - ) -> Self { + pub fn knows_language(mut self, value: impl Into>>) -> Self { self._fields.79 = value.into(); self } @@ -6641,10 +6340,7 @@ impl HotelBuilder { impl HotelBuilder { /// Set the `legalAddress` field (optional) - pub fn legal_address( - mut self, - value: impl Into>>, - ) -> Self { + pub fn legal_address(mut self, value: impl Into>>) -> Self { self._fields.81 = value.into(); self } @@ -6749,10 +6445,7 @@ impl HotelBuilder { self } /// Set the `mainEntityOfPage` field to an Option value (optional) - pub fn maybe_main_entity_of_page( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_main_entity_of_page(mut self, value: Option>) -> Self { self._fields.88 = value; self } @@ -6883,18 +6576,12 @@ impl HotelBuilder { impl HotelBuilder { /// Set the `nonprofitStatus` field (optional) - pub fn nonprofit_status( - mut self, - value: impl Into>>, - ) -> Self { + pub fn nonprofit_status(mut self, value: impl Into>>) -> Self { self._fields.98 = value.into(); self } /// Set the `nonprofitStatus` field to an Option value (optional) - pub fn maybe_nonprofit_status( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_nonprofit_status(mut self, value: Option>) -> Self { self._fields.98 = value; self } @@ -6910,10 +6597,7 @@ impl HotelBuilder { self } /// Set the `numberOfEmployees` field to an Option value (optional) - pub fn maybe_number_of_employees( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_number_of_employees(mut self, value: Option>) -> Self { self._fields.99 = value; self } @@ -6921,18 +6605,12 @@ impl HotelBuilder { impl HotelBuilder { /// Set the `numberOfRooms` field (optional) - pub fn number_of_rooms( - mut self, - value: impl Into>>, - ) -> Self { + pub fn number_of_rooms(mut self, value: impl Into>>) -> Self { self._fields.100 = value.into(); self } /// Set the `numberOfRooms` field to an Option value (optional) - pub fn maybe_number_of_rooms( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_number_of_rooms(mut self, value: Option>) -> Self { self._fields.100 = value; self } @@ -6940,10 +6618,7 @@ impl HotelBuilder { impl HotelBuilder { /// Set the `openingHours` field (optional) - pub fn opening_hours( - mut self, - value: impl Into>>, - ) -> Self { + pub fn opening_hours(mut self, value: impl Into>>) -> Self { self._fields.101 = value.into(); self } @@ -7015,10 +6690,7 @@ impl HotelBuilder { self } /// Set the `parentOrganization` field to an Option value (optional) - pub fn maybe_parent_organization( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_parent_organization(mut self, value: Option>) -> Self { self._fields.105 = value; self } @@ -7026,18 +6698,12 @@ impl HotelBuilder { impl HotelBuilder { /// Set the `paymentAccepted` field (optional) - pub fn payment_accepted( - mut self, - value: impl Into>>, - ) -> Self { + pub fn payment_accepted(mut self, value: impl Into>>) -> Self { self._fields.106 = value.into(); self } /// Set the `paymentAccepted` field to an Option value (optional) - pub fn maybe_payment_accepted( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_payment_accepted(mut self, value: Option>) -> Self { self._fields.106 = value; self } @@ -7045,10 +6711,7 @@ impl HotelBuilder { impl HotelBuilder { /// Set the `petsAllowed` field (optional) - pub fn pets_allowed( - mut self, - value: impl Into>>, - ) -> Self { + pub fn pets_allowed(mut self, value: impl Into>>) -> Self { self._fields.107 = value.into(); self } @@ -7087,18 +6750,12 @@ impl HotelBuilder { impl HotelBuilder { /// Set the `potentialAction` field (optional) - pub fn potential_action( - mut self, - value: impl Into>>, - ) -> Self { + pub fn potential_action(mut self, value: impl Into>>) -> Self { self._fields.110 = value.into(); self } /// Set the `potentialAction` field to an Option value (optional) - pub fn maybe_potential_action( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_potential_action(mut self, value: Option>) -> Self { self._fields.110 = value; self } @@ -7119,10 +6776,7 @@ impl HotelBuilder { impl HotelBuilder { /// Set the `publicAccess` field (optional) - pub fn public_access( - mut self, - value: impl Into>>, - ) -> Self { + pub fn public_access(mut self, value: impl Into>>) -> Self { self._fields.112 = value.into(); self } @@ -7206,10 +6860,7 @@ impl HotelBuilder { impl HotelBuilder { /// Set the `serviceArea` field (optional) - pub fn service_area( - mut self, - value: impl Into>>, - ) -> Self { + pub fn service_area(mut self, value: impl Into>>) -> Self { self._fields.118 = value.into(); self } @@ -7248,18 +6899,12 @@ impl HotelBuilder { impl HotelBuilder { /// Set the `smokingAllowed` field (optional) - pub fn smoking_allowed( - mut self, - value: impl Into>>, - ) -> Self { + pub fn smoking_allowed(mut self, value: impl Into>>) -> Self { self._fields.121 = value.into(); self } /// Set the `smokingAllowed` field to an Option value (optional) - pub fn maybe_smoking_allowed( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_smoking_allowed(mut self, value: Option>) -> Self { self._fields.121 = value; self } @@ -7312,18 +6957,12 @@ impl HotelBuilder { impl HotelBuilder { /// Set the `subOrganization` field (optional) - pub fn sub_organization( - mut self, - value: impl Into>>, - ) -> Self { + pub fn sub_organization(mut self, value: impl Into>>) -> Self { self._fields.125 = value.into(); self } /// Set the `subOrganization` field to an Option value (optional) - pub fn maybe_sub_organization( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_sub_organization(mut self, value: Option>) -> Self { self._fields.125 = value; self } @@ -7370,18 +7009,12 @@ impl HotelBuilder { impl HotelBuilder { /// Set the `tourBookingPage` field (optional) - pub fn tour_booking_page( - mut self, - value: impl Into>>, - ) -> Self { + pub fn tour_booking_page(mut self, value: impl Into>>) -> Self { self._fields.129 = value.into(); self } /// Set the `tourBookingPage` field to an Option value (optional) - pub fn maybe_tour_booking_page( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_tour_booking_page(mut self, value: Option>) -> Self { self._fields.129 = value; self } @@ -7714,4 +7347,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/social_flockfeeds/lexical/type/image_object.rs b/crates/jacquard-api/src/social_flockfeeds/lexical/type/image_object.rs index f6bb18ff..71c28bb6 100644 --- a/crates/jacquard-api/src/social_flockfeeds/lexical/type/image_object.rs +++ b/crates/jacquard-api/src/social_flockfeeds/lexical/type/image_object.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,9 +24,6 @@ use jacquard_derive::{IntoStatic, lexicon, open_union}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::social_flockfeeds::lexical::r#type::event; use crate::social_flockfeeds::lexical::r#type::image_object; use crate::social_flockfeeds::lexical::r#type::news_article; @@ -34,10 +31,16 @@ use crate::social_flockfeeds::lexical::r#type::offer; use crate::social_flockfeeds::lexical::r#type::organization; use crate::social_flockfeeds::lexical::r#type::person; use crate::social_flockfeeds::lexical::r#type::product; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; /// An image file. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Embedded { #[serde(skip_serializing_if = "Option::is_none")] pub about: Option>, @@ -341,7 +344,6 @@ pub struct Embedded { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -395,7 +397,6 @@ pub enum EmbeddedAccountablePerson { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -439,7 +440,6 @@ pub enum EmbeddedAssociatedArticle { NewsArticleEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -465,7 +465,6 @@ pub enum EmbeddedAuthor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -494,7 +493,6 @@ pub enum EmbeddedCharacter { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -550,7 +548,6 @@ pub enum EmbeddedContributor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -561,7 +558,6 @@ pub enum EmbeddedCopyrightHolder { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -597,7 +593,6 @@ pub enum EmbeddedCreator { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -656,7 +651,6 @@ pub enum EmbeddedEditor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -737,7 +731,6 @@ pub enum EmbeddedFunder { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -776,7 +769,6 @@ pub enum EmbeddedImage { Embedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -815,7 +807,6 @@ pub enum EmbeddedIsBasedOn { ProductEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -824,7 +815,6 @@ pub enum EmbeddedIsBasedOnUrl { ProductEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -875,7 +865,6 @@ pub enum EmbeddedMaintainer { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -884,7 +873,6 @@ pub enum EmbeddedMaterial { ProductEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -908,7 +896,6 @@ pub enum EmbeddedOffers { OfferEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -939,7 +926,6 @@ pub enum EmbeddedProducer { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -948,7 +934,6 @@ pub enum EmbeddedProductionCompany { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -959,7 +944,6 @@ pub enum EmbeddedProvider { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -975,7 +959,6 @@ pub enum EmbeddedPublisher { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -984,7 +967,6 @@ pub enum EmbeddedPublisherImprint { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -998,7 +980,6 @@ pub enum EmbeddedRecordedAt { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1059,7 +1040,6 @@ pub enum EmbeddedSdPublisher { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1078,7 +1058,6 @@ pub enum EmbeddedSourceOrganization { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1099,7 +1078,6 @@ pub enum EmbeddedSponsor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1113,7 +1091,6 @@ pub enum EmbeddedSubjectOf { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1142,7 +1119,6 @@ pub enum EmbeddedThumbnail { Embedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1168,7 +1144,6 @@ pub enum EmbeddedTranslator { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1529,7 +1504,6 @@ pub struct ImageObject { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1583,7 +1557,6 @@ pub enum ImageObjectAccountablePerson { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1627,7 +1600,6 @@ pub enum ImageObjectAssociatedArticle { NewsArticleEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1653,7 +1625,6 @@ pub enum ImageObjectAuthor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1682,7 +1653,6 @@ pub enum ImageObjectCharacter { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1738,7 +1708,6 @@ pub enum ImageObjectContributor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1749,7 +1718,6 @@ pub enum ImageObjectCopyrightHolder { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1785,7 +1753,6 @@ pub enum ImageObjectCreator { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1844,7 +1811,6 @@ pub enum ImageObjectEditor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1925,7 +1891,6 @@ pub enum ImageObjectFunder { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1964,7 +1929,6 @@ pub enum ImageObjectImage { Embedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2003,7 +1967,6 @@ pub enum ImageObjectIsBasedOn { ProductEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2012,7 +1975,6 @@ pub enum ImageObjectIsBasedOnUrl { ProductEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2063,7 +2025,6 @@ pub enum ImageObjectMaintainer { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2072,7 +2033,6 @@ pub enum ImageObjectMaterial { ProductEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2096,7 +2056,6 @@ pub enum ImageObjectOffers { OfferEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2127,7 +2086,6 @@ pub enum ImageObjectProducer { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2136,7 +2094,6 @@ pub enum ImageObjectProductionCompany { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2147,7 +2104,6 @@ pub enum ImageObjectProvider { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2163,7 +2119,6 @@ pub enum ImageObjectPublisher { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2172,7 +2127,6 @@ pub enum ImageObjectPublisherImprint { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2186,7 +2140,6 @@ pub enum ImageObjectRecordedAt { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2247,7 +2200,6 @@ pub enum ImageObjectSdPublisher { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2266,7 +2218,6 @@ pub enum ImageObjectSourceOrganization { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2287,7 +2238,6 @@ pub enum ImageObjectSponsor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2301,7 +2251,6 @@ pub enum ImageObjectSubjectOf { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2330,7 +2279,6 @@ pub enum ImageObjectThumbnail { Embedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2356,7 +2304,6 @@ pub enum ImageObjectTranslator { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2481,10 +2428,10 @@ impl LexiconSchema for ImageObject { } fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("social.flockfeeds.lexical.type.ImageObject"), @@ -5626,7 +5573,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_ImageObject() -> LexiconDoc<'stati pub mod image_object_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -5813,155 +5760,17 @@ impl ImageObjectBuilder { ImageObjectBuilder { _state: PhantomData, _fields: ( - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, ), _type: PhantomData, } @@ -5983,10 +5792,7 @@ impl ImageObjectBuilder { impl ImageObjectBuilder { /// Set the `abstract` field (optional) - pub fn r#abstract( - mut self, - value: impl Into>>, - ) -> Self { + pub fn r#abstract(mut self, value: impl Into>>) -> Self { self._fields.1 = value.into(); self } @@ -5999,10 +5805,7 @@ impl ImageObjectBuilder { impl ImageObjectBuilder { /// Set the `accessMode` field (optional) - pub fn access_mode( - mut self, - value: impl Into>>, - ) -> Self { + pub fn access_mode(mut self, value: impl Into>>) -> Self { self._fields.2 = value.into(); self } @@ -6175,10 +5978,7 @@ impl ImageObjectBuilder { self } /// Set the `additionalType` field to an Option value (optional) - pub fn maybe_additional_type( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_additional_type(mut self, value: Option>) -> Self { self._fields.11 = value; self } @@ -6194,10 +5994,7 @@ impl ImageObjectBuilder { self } /// Set the `aggregateRating` field to an Option value (optional) - pub fn maybe_aggregate_rating( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_aggregate_rating(mut self, value: Option>) -> Self { self._fields.12 = value; self } @@ -6205,18 +6002,12 @@ impl ImageObjectBuilder { impl ImageObjectBuilder { /// Set the `alternateName` field (optional) - pub fn alternate_name( - mut self, - value: impl Into>>, - ) -> Self { + pub fn alternate_name(mut self, value: impl Into>>) -> Self { self._fields.13 = value.into(); self } /// Set the `alternateName` field to an Option value (optional) - pub fn maybe_alternate_name( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_alternate_name(mut self, value: Option>) -> Self { self._fields.13 = value; self } @@ -6243,10 +6034,7 @@ impl ImageObjectBuilder { impl ImageObjectBuilder { /// Set the `archivedAt` field (optional) - pub fn archived_at( - mut self, - value: impl Into>>, - ) -> Self { + pub fn archived_at(mut self, value: impl Into>>) -> Self { self._fields.15 = value.into(); self } @@ -6299,10 +6087,7 @@ impl ImageObjectBuilder { self } /// Set the `associatedMedia` field to an Option value (optional) - pub fn maybe_associated_media( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_associated_media(mut self, value: Option>) -> Self { self._fields.18 = value; self } @@ -6401,10 +6186,7 @@ impl ImageObjectBuilder { impl ImageObjectBuilder { /// Set the `character` field (optional) - pub fn character( - mut self, - value: impl Into>>, - ) -> Self { + pub fn character(mut self, value: impl Into>>) -> Self { self._fields.26 = value.into(); self } @@ -6443,18 +6225,12 @@ impl ImageObjectBuilder { impl ImageObjectBuilder { /// Set the `commentCount` field (optional) - pub fn comment_count( - mut self, - value: impl Into>>, - ) -> Self { + pub fn comment_count(mut self, value: impl Into>>) -> Self { self._fields.29 = value.into(); self } /// Set the `commentCount` field to an Option value (optional) - pub fn maybe_comment_count( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_comment_count(mut self, value: Option>) -> Self { self._fields.29 = value; self } @@ -6489,10 +6265,7 @@ impl ImageObjectBuilder { self } /// Set the `contentLocation` field to an Option value (optional) - pub fn maybe_content_location( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_content_location(mut self, value: Option>) -> Self { self._fields.31 = value; self } @@ -6500,18 +6273,12 @@ impl ImageObjectBuilder { impl ImageObjectBuilder { /// Set the `contentRating` field (optional) - pub fn content_rating( - mut self, - value: impl Into>>, - ) -> Self { + pub fn content_rating(mut self, value: impl Into>>) -> Self { self._fields.32 = value.into(); self } /// Set the `contentRating` field to an Option value (optional) - pub fn maybe_content_rating( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_content_rating(mut self, value: Option>) -> Self { self._fields.32 = value; self } @@ -6538,18 +6305,12 @@ impl ImageObjectBuilder { impl ImageObjectBuilder { /// Set the `contentSize` field (optional) - pub fn content_size( - mut self, - value: impl Into>>, - ) -> Self { + pub fn content_size(mut self, value: impl Into>>) -> Self { self._fields.34 = value.into(); self } /// Set the `contentSize` field to an Option value (optional) - pub fn maybe_content_size( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_content_size(mut self, value: Option>) -> Self { self._fields.34 = value; self } @@ -6557,10 +6318,7 @@ impl ImageObjectBuilder { impl ImageObjectBuilder { /// Set the `contentUrl` field (optional) - pub fn content_url( - mut self, - value: impl Into>>, - ) -> Self { + pub fn content_url(mut self, value: impl Into>>) -> Self { self._fields.35 = value.into(); self } @@ -6573,18 +6331,12 @@ impl ImageObjectBuilder { impl ImageObjectBuilder { /// Set the `contributor` field (optional) - pub fn contributor( - mut self, - value: impl Into>>, - ) -> Self { + pub fn contributor(mut self, value: impl Into>>) -> Self { self._fields.36 = value.into(); self } /// Set the `contributor` field to an Option value (optional) - pub fn maybe_contributor( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_contributor(mut self, value: Option>) -> Self { self._fields.36 = value; self } @@ -6600,10 +6352,7 @@ impl ImageObjectBuilder { self } /// Set the `copyrightHolder` field to an Option value (optional) - pub fn maybe_copyright_holder( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_copyright_holder(mut self, value: Option>) -> Self { self._fields.37 = value; self } @@ -6619,10 +6368,7 @@ impl ImageObjectBuilder { self } /// Set the `copyrightNotice` field to an Option value (optional) - pub fn maybe_copyright_notice( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_copyright_notice(mut self, value: Option>) -> Self { self._fields.38 = value; self } @@ -6630,18 +6376,12 @@ impl ImageObjectBuilder { impl ImageObjectBuilder { /// Set the `copyrightYear` field (optional) - pub fn copyright_year( - mut self, - value: impl Into>>, - ) -> Self { + pub fn copyright_year(mut self, value: impl Into>>) -> Self { self._fields.39 = value.into(); self } /// Set the `copyrightYear` field to an Option value (optional) - pub fn maybe_copyright_year( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_copyright_year(mut self, value: Option>) -> Self { self._fields.39 = value; self } @@ -6649,10 +6389,7 @@ impl ImageObjectBuilder { impl ImageObjectBuilder { /// Set the `correction` field (optional) - pub fn correction( - mut self, - value: impl Into>>, - ) -> Self { + pub fn correction(mut self, value: impl Into>>) -> Self { self._fields.40 = value.into(); self } @@ -6673,10 +6410,7 @@ impl ImageObjectBuilder { self } /// Set the `countryOfOrigin` field to an Option value (optional) - pub fn maybe_country_of_origin( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_country_of_origin(mut self, value: Option>) -> Self { self._fields.41 = value; self } @@ -6716,10 +6450,7 @@ impl ImageObjectBuilder { impl ImageObjectBuilder { /// Set the `creditText` field (optional) - pub fn credit_text( - mut self, - value: impl Into>>, - ) -> Self { + pub fn credit_text(mut self, value: impl Into>>) -> Self { self._fields.44 = value.into(); self } @@ -6732,18 +6463,12 @@ impl ImageObjectBuilder { impl ImageObjectBuilder { /// Set the `dateCreated` field (optional) - pub fn date_created( - mut self, - value: impl Into>>, - ) -> Self { + pub fn date_created(mut self, value: impl Into>>) -> Self { self._fields.45 = value.into(); self } /// Set the `dateCreated` field to an Option value (optional) - pub fn maybe_date_created( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_date_created(mut self, value: Option>) -> Self { self._fields.45 = value; self } @@ -6751,18 +6476,12 @@ impl ImageObjectBuilder { impl ImageObjectBuilder { /// Set the `dateModified` field (optional) - pub fn date_modified( - mut self, - value: impl Into>>, - ) -> Self { + pub fn date_modified(mut self, value: impl Into>>) -> Self { self._fields.46 = value.into(); self } /// Set the `dateModified` field to an Option value (optional) - pub fn maybe_date_modified( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_date_modified(mut self, value: Option>) -> Self { self._fields.46 = value; self } @@ -6770,18 +6489,12 @@ impl ImageObjectBuilder { impl ImageObjectBuilder { /// Set the `datePublished` field (optional) - pub fn date_published( - mut self, - value: impl Into>>, - ) -> Self { + pub fn date_published(mut self, value: impl Into>>) -> Self { self._fields.47 = value.into(); self } /// Set the `datePublished` field to an Option value (optional) - pub fn maybe_date_published( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_date_published(mut self, value: Option>) -> Self { self._fields.47 = value; self } @@ -6789,18 +6502,12 @@ impl ImageObjectBuilder { impl ImageObjectBuilder { /// Set the `description` field (optional) - pub fn description( - mut self, - value: impl Into>>, - ) -> Self { + pub fn description(mut self, value: impl Into>>) -> Self { self._fields.48 = value.into(); self } /// Set the `description` field to an Option value (optional) - pub fn maybe_description( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_description(mut self, value: Option>) -> Self { self._fields.48 = value; self } @@ -6846,18 +6553,12 @@ impl ImageObjectBuilder { impl ImageObjectBuilder { /// Set the `discussionUrl` field (optional) - pub fn discussion_url( - mut self, - value: impl Into>>, - ) -> Self { + pub fn discussion_url(mut self, value: impl Into>>) -> Self { self._fields.51 = value.into(); self } /// Set the `discussionUrl` field to an Option value (optional) - pub fn maybe_discussion_url( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_discussion_url(mut self, value: Option>) -> Self { self._fields.51 = value; self } @@ -6878,10 +6579,7 @@ impl ImageObjectBuilder { impl ImageObjectBuilder { /// Set the `editEIDR` field (optional) - pub fn edit_eidr( - mut self, - value: impl Into>>, - ) -> Self { + pub fn edit_eidr(mut self, value: impl Into>>) -> Self { self._fields.53 = value.into(); self } @@ -6953,10 +6651,7 @@ impl ImageObjectBuilder { self } /// Set the `educationalUse` field to an Option value (optional) - pub fn maybe_educational_use( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_educational_use(mut self, value: Option>) -> Self { self._fields.57 = value; self } @@ -6964,10 +6659,7 @@ impl ImageObjectBuilder { impl ImageObjectBuilder { /// Set the `embedUrl` field (optional) - pub fn embed_url( - mut self, - value: impl Into>>, - ) -> Self { + pub fn embed_url(mut self, value: impl Into>>) -> Self { self._fields.58 = value.into(); self } @@ -7039,10 +6731,7 @@ impl ImageObjectBuilder { self } /// Set the `encodingFormat` field to an Option value (optional) - pub fn maybe_encoding_format( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_encoding_format(mut self, value: Option>) -> Self { self._fields.62 = value; self } @@ -7050,10 +6739,7 @@ impl ImageObjectBuilder { impl ImageObjectBuilder { /// Set the `encodings` field (optional) - pub fn encodings( - mut self, - value: impl Into>>, - ) -> Self { + pub fn encodings(mut self, value: impl Into>>) -> Self { self._fields.63 = value.into(); self } @@ -7087,10 +6773,7 @@ impl ImageObjectBuilder { self } /// Set the `exampleOfWork` field to an Option value (optional) - pub fn maybe_example_of_work( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_example_of_work(mut self, value: Option>) -> Self { self._fields.65 = value; self } @@ -7098,10 +6781,7 @@ impl ImageObjectBuilder { impl ImageObjectBuilder { /// Set the `exifData` field (optional) - pub fn exif_data( - mut self, - value: impl Into>>, - ) -> Self { + pub fn exif_data(mut self, value: impl Into>>) -> Self { self._fields.66 = value.into(); self } @@ -7127,10 +6807,7 @@ impl ImageObjectBuilder { impl ImageObjectBuilder { /// Set the `fileFormat` field (optional) - pub fn file_format( - mut self, - value: impl Into>>, - ) -> Self { + pub fn file_format(mut self, value: impl Into>>) -> Self { self._fields.68 = value.into(); self } @@ -7221,10 +6898,7 @@ impl ImageObjectBuilder { impl ImageObjectBuilder { /// Set the `identifier` field (optional) - pub fn identifier( - mut self, - value: impl Into>>, - ) -> Self { + pub fn identifier(mut self, value: impl Into>>) -> Self { self._fields.75 = value.into(); self } @@ -7250,10 +6924,7 @@ impl ImageObjectBuilder { impl ImageObjectBuilder { /// Set the `inLanguage` field (optional) - pub fn in_language( - mut self, - value: impl Into>>, - ) -> Self { + pub fn in_language(mut self, value: impl Into>>) -> Self { self._fields.77 = value.into(); self } @@ -7361,10 +7032,7 @@ impl ImageObjectBuilder { impl ImageObjectBuilder { /// Set the `isBasedOn` field (optional) - pub fn is_based_on( - mut self, - value: impl Into>>, - ) -> Self { + pub fn is_based_on(mut self, value: impl Into>>) -> Self { self._fields.83 = value.into(); self } @@ -7377,18 +7045,12 @@ impl ImageObjectBuilder { impl ImageObjectBuilder { /// Set the `isBasedOnUrl` field (optional) - pub fn is_based_on_url( - mut self, - value: impl Into>>, - ) -> Self { + pub fn is_based_on_url(mut self, value: impl Into>>) -> Self { self._fields.84 = value.into(); self } /// Set the `isBasedOnUrl` field to an Option value (optional) - pub fn maybe_is_based_on_url( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_is_based_on_url(mut self, value: Option>) -> Self { self._fields.84 = value; self } @@ -7415,10 +7077,7 @@ impl ImageObjectBuilder { impl ImageObjectBuilder { /// Set the `isPartOf` field (optional) - pub fn is_part_of( - mut self, - value: impl Into>>, - ) -> Self { + pub fn is_part_of(mut self, value: impl Into>>) -> Self { self._fields.86 = value.into(); self } @@ -7484,10 +7143,7 @@ impl ImageObjectBuilder { self } /// Set the `locationCreated` field to an Option value (optional) - pub fn maybe_location_created( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_location_created(mut self, value: Option>) -> Self { self._fields.90 = value; self } @@ -7495,10 +7151,7 @@ impl ImageObjectBuilder { impl ImageObjectBuilder { /// Set the `mainEntity` field (optional) - pub fn main_entity( - mut self, - value: impl Into>>, - ) -> Self { + pub fn main_entity(mut self, value: impl Into>>) -> Self { self._fields.91 = value.into(); self } @@ -7530,10 +7183,7 @@ impl ImageObjectBuilder { impl ImageObjectBuilder { /// Set the `maintainer` field (optional) - pub fn maintainer( - mut self, - value: impl Into>>, - ) -> Self { + pub fn maintainer(mut self, value: impl Into>>) -> Self { self._fields.93 = value.into(); self } @@ -7567,10 +7217,7 @@ impl ImageObjectBuilder { self } /// Set the `materialExtent` field to an Option value (optional) - pub fn maybe_material_extent( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_material_extent(mut self, value: Option>) -> Self { self._fields.95 = value; self } @@ -7630,10 +7277,7 @@ impl ImageObjectBuilder { impl ImageObjectBuilder { /// Set the `playerType` field (optional) - pub fn player_type( - mut self, - value: impl Into>>, - ) -> Self { + pub fn player_type(mut self, value: impl Into>>) -> Self { self._fields.100 = value.into(); self } @@ -7667,10 +7311,7 @@ impl ImageObjectBuilder { self } /// Set the `potentialAction` field to an Option value (optional) - pub fn maybe_potential_action( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_potential_action(mut self, value: Option>) -> Self { self._fields.102 = value; self } @@ -7723,18 +7364,12 @@ impl ImageObjectBuilder { impl ImageObjectBuilder { /// Set the `publication` field (optional) - pub fn publication( - mut self, - value: impl Into>>, - ) -> Self { + pub fn publication(mut self, value: impl Into>>) -> Self { self._fields.106 = value.into(); self } /// Set the `publication` field to an Option value (optional) - pub fn maybe_publication( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_publication(mut self, value: Option>) -> Self { self._fields.106 = value; self } @@ -7742,10 +7377,7 @@ impl ImageObjectBuilder { impl ImageObjectBuilder { /// Set the `publisher` field (optional) - pub fn publisher( - mut self, - value: impl Into>>, - ) -> Self { + pub fn publisher(mut self, value: impl Into>>) -> Self { self._fields.107 = value.into(); self } @@ -7796,10 +7428,7 @@ impl ImageObjectBuilder { impl ImageObjectBuilder { /// Set the `recordedAt` field (optional) - pub fn recorded_at( - mut self, - value: impl Into>>, - ) -> Self { + pub fn recorded_at(mut self, value: impl Into>>) -> Self { self._fields.110 = value.into(); self } @@ -7820,10 +7449,7 @@ impl ImageObjectBuilder { self } /// Set the `regionsAllowed` field to an Option value (optional) - pub fn maybe_regions_allowed( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_regions_allowed(mut self, value: Option>) -> Self { self._fields.111 = value; self } @@ -7831,18 +7457,12 @@ impl ImageObjectBuilder { impl ImageObjectBuilder { /// Set the `releasedEvent` field (optional) - pub fn released_event( - mut self, - value: impl Into>>, - ) -> Self { + pub fn released_event(mut self, value: impl Into>>) -> Self { self._fields.112 = value.into(); self } /// Set the `releasedEvent` field to an Option value (optional) - pub fn maybe_released_event( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_released_event(mut self, value: Option>) -> Self { self._fields.112 = value; self } @@ -7927,18 +7547,12 @@ impl ImageObjectBuilder { impl ImageObjectBuilder { /// Set the `schemaVersion` field (optional) - pub fn schema_version( - mut self, - value: impl Into>>, - ) -> Self { + pub fn schema_version(mut self, value: impl Into>>) -> Self { self._fields.118 = value.into(); self } /// Set the `schemaVersion` field to an Option value (optional) - pub fn maybe_schema_version( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_schema_version(mut self, value: Option>) -> Self { self._fields.118 = value; self } @@ -7954,10 +7568,7 @@ impl ImageObjectBuilder { self } /// Set the `sdDatePublished` field to an Option value (optional) - pub fn maybe_sd_date_published( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_sd_date_published(mut self, value: Option>) -> Self { self._fields.119 = value; self } @@ -7965,10 +7576,7 @@ impl ImageObjectBuilder { impl ImageObjectBuilder { /// Set the `sdLicense` field (optional) - pub fn sd_license( - mut self, - value: impl Into>>, - ) -> Self { + pub fn sd_license(mut self, value: impl Into>>) -> Self { self._fields.120 = value.into(); self } @@ -7981,18 +7589,12 @@ impl ImageObjectBuilder { impl ImageObjectBuilder { /// Set the `sdPublisher` field (optional) - pub fn sd_publisher( - mut self, - value: impl Into>>, - ) -> Self { + pub fn sd_publisher(mut self, value: impl Into>>) -> Self { self._fields.121 = value.into(); self } /// Set the `sdPublisher` field to an Option value (optional) - pub fn maybe_sd_publisher( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_sd_publisher(mut self, value: Option>) -> Self { self._fields.121 = value; self } @@ -8066,10 +7668,7 @@ impl ImageObjectBuilder { self } /// Set the `spatialCoverage` field to an Option value (optional) - pub fn maybe_spatial_coverage( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_spatial_coverage(mut self, value: Option>) -> Self { self._fields.126 = value; self } @@ -8090,10 +7689,7 @@ impl ImageObjectBuilder { impl ImageObjectBuilder { /// Set the `startTime` field (optional) - pub fn start_time( - mut self, - value: impl Into>>, - ) -> Self { + pub fn start_time(mut self, value: impl Into>>) -> Self { self._fields.128 = value.into(); self } @@ -8106,10 +7702,7 @@ impl ImageObjectBuilder { impl ImageObjectBuilder { /// Set the `subjectOf` field (optional) - pub fn subject_of( - mut self, - value: impl Into>>, - ) -> Self { + pub fn subject_of(mut self, value: impl Into>>) -> Self { self._fields.129 = value.into(); self } @@ -8180,10 +7773,7 @@ impl ImageObjectBuilder { impl ImageObjectBuilder { /// Set the `thumbnail` field (optional) - pub fn thumbnail( - mut self, - value: impl Into>>, - ) -> Self { + pub fn thumbnail(mut self, value: impl Into>>) -> Self { self._fields.134 = value.into(); self } @@ -8196,18 +7786,12 @@ impl ImageObjectBuilder { impl ImageObjectBuilder { /// Set the `thumbnailUrl` field (optional) - pub fn thumbnail_url( - mut self, - value: impl Into>>, - ) -> Self { + pub fn thumbnail_url(mut self, value: impl Into>>) -> Self { self._fields.135 = value.into(); self } /// Set the `thumbnailUrl` field to an Option value (optional) - pub fn maybe_thumbnail_url( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_thumbnail_url(mut self, value: Option>) -> Self { self._fields.135 = value; self } @@ -8215,18 +7799,12 @@ impl ImageObjectBuilder { impl ImageObjectBuilder { /// Set the `timeRequired` field (optional) - pub fn time_required( - mut self, - value: impl Into>>, - ) -> Self { + pub fn time_required(mut self, value: impl Into>>) -> Self { self._fields.136 = value.into(); self } /// Set the `timeRequired` field to an Option value (optional) - pub fn maybe_time_required( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_time_required(mut self, value: Option>) -> Self { self._fields.136 = value; self } @@ -8253,10 +7831,7 @@ impl ImageObjectBuilder { impl ImageObjectBuilder { /// Set the `translator` field (optional) - pub fn translator( - mut self, - value: impl Into>>, - ) -> Self { + pub fn translator(mut self, value: impl Into>>) -> Self { self._fields.138 = value.into(); self } @@ -8277,10 +7852,7 @@ impl ImageObjectBuilder { self } /// Set the `typicalAgeRange` field to an Option value (optional) - pub fn maybe_typical_age_range( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_typical_age_range(mut self, value: Option>) -> Self { self._fields.139 = value; self } @@ -8288,10 +7860,7 @@ impl ImageObjectBuilder { impl ImageObjectBuilder { /// Set the `uploadDate` field (optional) - pub fn upload_date( - mut self, - value: impl Into>>, - ) -> Self { + pub fn upload_date(mut self, value: impl Into>>) -> Self { self._fields.140 = value.into(); self } @@ -8317,10 +7886,7 @@ impl ImageObjectBuilder { impl ImageObjectBuilder { /// Set the `usageInfo` field (optional) - pub fn usage_info( - mut self, - value: impl Into>>, - ) -> Self { + pub fn usage_info(mut self, value: impl Into>>) -> Self { self._fields.142 = value.into(); self } @@ -8372,10 +7938,7 @@ impl ImageObjectBuilder { impl ImageObjectBuilder { /// Set the `wordCount` field (optional) - pub fn word_count( - mut self, - value: impl Into>>, - ) -> Self { + pub fn word_count(mut self, value: impl Into>>) -> Self { self._fields.146 = value.into(); self } @@ -8388,18 +7951,12 @@ impl ImageObjectBuilder { impl ImageObjectBuilder { /// Set the `workExample` field (optional) - pub fn work_example( - mut self, - value: impl Into>>, - ) -> Self { + pub fn work_example(mut self, value: impl Into>>) -> Self { self._fields.147 = value.into(); self } /// Set the `workExample` field to an Option value (optional) - pub fn maybe_work_example( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_work_example(mut self, value: Option>) -> Self { self._fields.147 = value; self } @@ -8415,10 +7972,7 @@ impl ImageObjectBuilder { self } /// Set the `workTranslation` field to an Option value (optional) - pub fn maybe_work_translation( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_work_translation(mut self, value: Option>) -> Self { self._fields.148 = value; self } @@ -8584,10 +8138,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> ImageObject { + pub fn build_with_data(self, extra_data: BTreeMap>) -> ImageObject { ImageObject { about: self._fields.0, r#abstract: self._fields.1, @@ -8741,4 +8292,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/social_flockfeeds/lexical/type/local_business.rs b/crates/jacquard-api/src/social_flockfeeds/lexical/type/local_business.rs index d6213ac4..8f6666fb 100644 --- a/crates/jacquard-api/src/social_flockfeeds/lexical/type/local_business.rs +++ b/crates/jacquard-api/src/social_flockfeeds/lexical/type/local_business.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,9 +24,6 @@ use jacquard_derive::{IntoStatic, lexicon, open_union}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::social_flockfeeds::lexical::r#type::article; use crate::social_flockfeeds::lexical::r#type::brand; use crate::social_flockfeeds::lexical::r#type::event; @@ -35,10 +32,16 @@ use crate::social_flockfeeds::lexical::r#type::offer; use crate::social_flockfeeds::lexical::r#type::organization; use crate::social_flockfeeds::lexical::r#type::person; use crate::social_flockfeeds::lexical::r#type::product; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; /// A particular physical business or branch of an organization. Examples of LocalBusiness include a restaurant, a particular branch of a restaurant chain, a branch of a bank, a medical practice, a club, a bowling alley, etc. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Embedded { #[serde(skip_serializing_if = "Option::is_none")] pub accepted_payment_method: Option>, @@ -273,9 +276,7 @@ pub struct Embedded { #[serde(skip_serializing_if = "Option::is_none")] pub smoking_allowed: Option>, #[serde(skip_serializing_if = "Option::is_none")] - pub special_opening_hours_specification: Option< - EmbeddedSpecialOpeningHoursSpecification, - >, + pub special_opening_hours_specification: Option>, #[serde(skip_serializing_if = "Option::is_none")] pub sponsor: Option>, #[serde(skip_serializing_if = "Option::is_none")] @@ -298,7 +299,6 @@ pub struct Embedded { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -347,7 +347,6 @@ pub enum EmbeddedAlumni { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -381,7 +380,6 @@ pub enum EmbeddedBranchOf { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -392,7 +390,6 @@ pub enum EmbeddedBrand { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -441,7 +438,6 @@ pub enum EmbeddedDepartment { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -470,7 +466,6 @@ pub enum EmbeddedDiversityStaffingReport { ArticleEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -489,7 +484,6 @@ pub enum EmbeddedEmployee { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -498,7 +492,6 @@ pub enum EmbeddedEmployees { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -512,7 +505,6 @@ pub enum EmbeddedEvent { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -521,7 +513,6 @@ pub enum EmbeddedEvents { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -537,7 +528,6 @@ pub enum EmbeddedFounder { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -546,7 +536,6 @@ pub enum EmbeddedFounders { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -567,7 +556,6 @@ pub enum EmbeddedFunder { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -701,7 +689,6 @@ pub enum EmbeddedImage { ImageObjectEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -760,7 +747,6 @@ pub enum EmbeddedLegalRepresentative { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -779,7 +765,6 @@ pub enum EmbeddedLogo { ImageObjectEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -798,7 +783,6 @@ pub enum EmbeddedMakesOffer { OfferEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -824,7 +808,6 @@ pub enum EmbeddedMember { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -833,7 +816,6 @@ pub enum EmbeddedMemberOf { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -844,7 +826,6 @@ pub enum EmbeddedMembers { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -888,7 +869,6 @@ pub enum EmbeddedOwns { ProductEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -897,7 +877,6 @@ pub enum EmbeddedParentOrganization { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -911,7 +890,6 @@ pub enum EmbeddedPhoto { ImageObjectEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -920,7 +898,6 @@ pub enum EmbeddedPhotos { ImageObjectEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -996,7 +973,6 @@ pub enum EmbeddedSponsor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1005,7 +981,6 @@ pub enum EmbeddedSubOrganization { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1014,7 +989,6 @@ pub enum EmbeddedSubjectOf { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1286,9 +1260,8 @@ pub struct LocalBusiness { #[serde(skip_serializing_if = "Option::is_none")] pub smoking_allowed: Option>, #[serde(skip_serializing_if = "Option::is_none")] - pub special_opening_hours_specification: Option< - LocalBusinessSpecialOpeningHoursSpecification, - >, + pub special_opening_hours_specification: + Option>, #[serde(skip_serializing_if = "Option::is_none")] pub sponsor: Option>, #[serde(skip_serializing_if = "Option::is_none")] @@ -1311,7 +1284,6 @@ pub struct LocalBusiness { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1360,7 +1332,6 @@ pub enum LocalBusinessAlumni { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1394,7 +1365,6 @@ pub enum LocalBusinessBranchOf { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1405,7 +1375,6 @@ pub enum LocalBusinessBrand { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1454,7 +1423,6 @@ pub enum LocalBusinessDepartment { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1483,7 +1451,6 @@ pub enum LocalBusinessDiversityStaffingReport { ArticleEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1502,7 +1469,6 @@ pub enum LocalBusinessEmployee { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1511,7 +1477,6 @@ pub enum LocalBusinessEmployees { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1525,7 +1490,6 @@ pub enum LocalBusinessEvent { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1534,7 +1498,6 @@ pub enum LocalBusinessEvents { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1550,7 +1513,6 @@ pub enum LocalBusinessFounder { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1559,7 +1521,6 @@ pub enum LocalBusinessFounders { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1580,7 +1541,6 @@ pub enum LocalBusinessFunder { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1714,7 +1674,6 @@ pub enum LocalBusinessImage { ImageObjectEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1773,7 +1732,6 @@ pub enum LocalBusinessLegalRepresentative { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1792,7 +1750,6 @@ pub enum LocalBusinessLogo { ImageObjectEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1811,7 +1768,6 @@ pub enum LocalBusinessMakesOffer { OfferEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1837,7 +1793,6 @@ pub enum LocalBusinessMember { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1846,7 +1801,6 @@ pub enum LocalBusinessMemberOf { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1857,7 +1811,6 @@ pub enum LocalBusinessMembers { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1901,7 +1854,6 @@ pub enum LocalBusinessOwns { ProductEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1910,7 +1862,6 @@ pub enum LocalBusinessParentOrganization { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1924,7 +1875,6 @@ pub enum LocalBusinessPhoto { ImageObjectEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1933,7 +1883,6 @@ pub enum LocalBusinessPhotos { ImageObjectEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2009,7 +1958,6 @@ pub enum LocalBusinessSponsor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2018,7 +1966,6 @@ pub enum LocalBusinessSubOrganization { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2027,7 +1974,6 @@ pub enum LocalBusinessSubjectOf { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2132,10 +2078,10 @@ impl LexiconSchema for LocalBusiness { } fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("social.flockfeeds.lexical.type.LocalBusiness"), @@ -4813,7 +4759,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_LocalBusiness() -> LexiconDoc<'sta pub mod local_business_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -4977,132 +4923,15 @@ impl LocalBusinessBuilder { LocalBusinessBuilder { _state: PhantomData, _fields: ( - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, ), _type: PhantomData, } @@ -5176,10 +5005,7 @@ impl LocalBusinessBuilder { self } /// Set the `additionalType` field to an Option value (optional) - pub fn maybe_additional_type( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_additional_type(mut self, value: Option>) -> Self { self._fields.3 = value; self } @@ -5246,10 +5072,7 @@ impl LocalBusinessBuilder { self } /// Set the `alternateName` field to an Option value (optional) - pub fn maybe_alternate_name( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_alternate_name(mut self, value: Option>) -> Self { self._fields.7 = value; self } @@ -5278,10 +5101,7 @@ impl LocalBusinessBuilder { self } /// Set the `amenityFeature` field to an Option value (optional) - pub fn maybe_amenity_feature( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_amenity_feature(mut self, value: Option>) -> Self { self._fields.9 = value; self } @@ -5289,18 +5109,12 @@ impl LocalBusinessBuilder { impl LocalBusinessBuilder { /// Set the `areaServed` field (optional) - pub fn area_served( - mut self, - value: impl Into>>, - ) -> Self { + pub fn area_served(mut self, value: impl Into>>) -> Self { self._fields.10 = value.into(); self } /// Set the `areaServed` field to an Option value (optional) - pub fn maybe_area_served( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_area_served(mut self, value: Option>) -> Self { self._fields.10 = value; self } @@ -5334,18 +5148,12 @@ impl LocalBusinessBuilder { impl LocalBusinessBuilder { /// Set the `branchCode` field (optional) - pub fn branch_code( - mut self, - value: impl Into>>, - ) -> Self { + pub fn branch_code(mut self, value: impl Into>>) -> Self { self._fields.13 = value.into(); self } /// Set the `branchCode` field to an Option value (optional) - pub fn maybe_branch_code( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_branch_code(mut self, value: Option>) -> Self { self._fields.13 = value; self } @@ -5353,10 +5161,7 @@ impl LocalBusinessBuilder { impl LocalBusinessBuilder { /// Set the `branchOf` field (optional) - pub fn branch_of( - mut self, - value: impl Into>>, - ) -> Self { + pub fn branch_of(mut self, value: impl Into>>) -> Self { self._fields.14 = value.into(); self } @@ -5401,18 +5206,12 @@ impl LocalBusinessBuilder { impl LocalBusinessBuilder { /// Set the `contactPoint` field (optional) - pub fn contact_point( - mut self, - value: impl Into>>, - ) -> Self { + pub fn contact_point(mut self, value: impl Into>>) -> Self { self._fields.17 = value.into(); self } /// Set the `contactPoint` field to an Option value (optional) - pub fn maybe_contact_point( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_contact_point(mut self, value: Option>) -> Self { self._fields.17 = value; self } @@ -5428,10 +5227,7 @@ impl LocalBusinessBuilder { self } /// Set the `contactPoints` field to an Option value (optional) - pub fn maybe_contact_points( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_contact_points(mut self, value: Option>) -> Self { self._fields.18 = value; self } @@ -5439,18 +5235,12 @@ impl LocalBusinessBuilder { impl LocalBusinessBuilder { /// Set the `containedIn` field (optional) - pub fn contained_in( - mut self, - value: impl Into>>, - ) -> Self { + pub fn contained_in(mut self, value: impl Into>>) -> Self { self._fields.19 = value.into(); self } /// Set the `containedIn` field to an Option value (optional) - pub fn maybe_contained_in( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_contained_in(mut self, value: Option>) -> Self { self._fields.19 = value; self } @@ -5485,10 +5275,7 @@ impl LocalBusinessBuilder { self } /// Set the `containsPlace` field to an Option value (optional) - pub fn maybe_contains_place( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_contains_place(mut self, value: Option>) -> Self { self._fields.21 = value; self } @@ -5534,18 +5321,12 @@ impl LocalBusinessBuilder { impl LocalBusinessBuilder { /// Set the `department` field (optional) - pub fn department( - mut self, - value: impl Into>>, - ) -> Self { + pub fn department(mut self, value: impl Into>>) -> Self { self._fields.24 = value.into(); self } /// Set the `department` field to an Option value (optional) - pub fn maybe_department( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_department(mut self, value: Option>) -> Self { self._fields.24 = value; self } @@ -5553,18 +5334,12 @@ impl LocalBusinessBuilder { impl LocalBusinessBuilder { /// Set the `description` field (optional) - pub fn description( - mut self, - value: impl Into>>, - ) -> Self { + pub fn description(mut self, value: impl Into>>) -> Self { self._fields.25 = value.into(); self } /// Set the `description` field to an Option value (optional) - pub fn maybe_description( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_description(mut self, value: Option>) -> Self { self._fields.25 = value; self } @@ -5674,10 +5449,7 @@ impl LocalBusinessBuilder { impl LocalBusinessBuilder { /// Set the `employee` field (optional) - pub fn employee( - mut self, - value: impl Into>>, - ) -> Self { + pub fn employee(mut self, value: impl Into>>) -> Self { self._fields.32 = value.into(); self } @@ -5690,10 +5462,7 @@ impl LocalBusinessBuilder { impl LocalBusinessBuilder { /// Set the `employees` field (optional) - pub fn employees( - mut self, - value: impl Into>>, - ) -> Self { + pub fn employees(mut self, value: impl Into>>) -> Self { self._fields.33 = value.into(); self } @@ -5706,18 +5475,12 @@ impl LocalBusinessBuilder { impl LocalBusinessBuilder { /// Set the `ethicsPolicy` field (optional) - pub fn ethics_policy( - mut self, - value: impl Into>>, - ) -> Self { + pub fn ethics_policy(mut self, value: impl Into>>) -> Self { self._fields.34 = value.into(); self } /// Set the `ethicsPolicy` field to an Option value (optional) - pub fn maybe_ethics_policy( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_ethics_policy(mut self, value: Option>) -> Self { self._fields.34 = value; self } @@ -5751,10 +5514,7 @@ impl LocalBusinessBuilder { impl LocalBusinessBuilder { /// Set the `faxNumber` field (optional) - pub fn fax_number( - mut self, - value: impl Into>>, - ) -> Self { + pub fn fax_number(mut self, value: impl Into>>) -> Self { self._fields.37 = value.into(); self } @@ -5780,10 +5540,7 @@ impl LocalBusinessBuilder { impl LocalBusinessBuilder { /// Set the `founders` field (optional) - pub fn founders( - mut self, - value: impl Into>>, - ) -> Self { + pub fn founders(mut self, value: impl Into>>) -> Self { self._fields.39 = value.into(); self } @@ -5796,18 +5553,12 @@ impl LocalBusinessBuilder { impl LocalBusinessBuilder { /// Set the `foundingDate` field (optional) - pub fn founding_date( - mut self, - value: impl Into>>, - ) -> Self { + pub fn founding_date(mut self, value: impl Into>>) -> Self { self._fields.40 = value.into(); self } /// Set the `foundingDate` field to an Option value (optional) - pub fn maybe_founding_date( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_founding_date(mut self, value: Option>) -> Self { self._fields.40 = value; self } @@ -5873,18 +5624,12 @@ impl LocalBusinessBuilder { impl LocalBusinessBuilder { /// Set the `geoContains` field (optional) - pub fn geo_contains( - mut self, - value: impl Into>>, - ) -> Self { + pub fn geo_contains(mut self, value: impl Into>>) -> Self { self._fields.45 = value.into(); self } /// Set the `geoContains` field to an Option value (optional) - pub fn maybe_geo_contains( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_geo_contains(mut self, value: Option>) -> Self { self._fields.45 = value; self } @@ -5900,10 +5645,7 @@ impl LocalBusinessBuilder { self } /// Set the `geoCoveredBy` field to an Option value (optional) - pub fn maybe_geo_covered_by( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_geo_covered_by(mut self, value: Option>) -> Self { self._fields.46 = value; self } @@ -5911,10 +5653,7 @@ impl LocalBusinessBuilder { impl LocalBusinessBuilder { /// Set the `geoCovers` field (optional) - pub fn geo_covers( - mut self, - value: impl Into>>, - ) -> Self { + pub fn geo_covers(mut self, value: impl Into>>) -> Self { self._fields.47 = value.into(); self } @@ -5927,18 +5666,12 @@ impl LocalBusinessBuilder { impl LocalBusinessBuilder { /// Set the `geoCrosses` field (optional) - pub fn geo_crosses( - mut self, - value: impl Into>>, - ) -> Self { + pub fn geo_crosses(mut self, value: impl Into>>) -> Self { self._fields.48 = value.into(); self } /// Set the `geoCrosses` field to an Option value (optional) - pub fn maybe_geo_crosses( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_geo_crosses(mut self, value: Option>) -> Self { self._fields.48 = value; self } @@ -5946,18 +5679,12 @@ impl LocalBusinessBuilder { impl LocalBusinessBuilder { /// Set the `geoDisjoint` field (optional) - pub fn geo_disjoint( - mut self, - value: impl Into>>, - ) -> Self { + pub fn geo_disjoint(mut self, value: impl Into>>) -> Self { self._fields.49 = value.into(); self } /// Set the `geoDisjoint` field to an Option value (optional) - pub fn maybe_geo_disjoint( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_geo_disjoint(mut self, value: Option>) -> Self { self._fields.49 = value; self } @@ -5965,10 +5692,7 @@ impl LocalBusinessBuilder { impl LocalBusinessBuilder { /// Set the `geoEquals` field (optional) - pub fn geo_equals( - mut self, - value: impl Into>>, - ) -> Self { + pub fn geo_equals(mut self, value: impl Into>>) -> Self { self._fields.50 = value.into(); self } @@ -5989,10 +5713,7 @@ impl LocalBusinessBuilder { self } /// Set the `geoIntersects` field to an Option value (optional) - pub fn maybe_geo_intersects( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_geo_intersects(mut self, value: Option>) -> Self { self._fields.51 = value; self } @@ -6000,18 +5721,12 @@ impl LocalBusinessBuilder { impl LocalBusinessBuilder { /// Set the `geoOverlaps` field (optional) - pub fn geo_overlaps( - mut self, - value: impl Into>>, - ) -> Self { + pub fn geo_overlaps(mut self, value: impl Into>>) -> Self { self._fields.52 = value.into(); self } /// Set the `geoOverlaps` field to an Option value (optional) - pub fn maybe_geo_overlaps( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_geo_overlaps(mut self, value: Option>) -> Self { self._fields.52 = value; self } @@ -6019,18 +5734,12 @@ impl LocalBusinessBuilder { impl LocalBusinessBuilder { /// Set the `geoTouches` field (optional) - pub fn geo_touches( - mut self, - value: impl Into>>, - ) -> Self { + pub fn geo_touches(mut self, value: impl Into>>) -> Self { self._fields.53 = value.into(); self } /// Set the `geoTouches` field to an Option value (optional) - pub fn maybe_geo_touches( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_geo_touches(mut self, value: Option>) -> Self { self._fields.53 = value; self } @@ -6038,10 +5747,7 @@ impl LocalBusinessBuilder { impl LocalBusinessBuilder { /// Set the `geoWithin` field (optional) - pub fn geo_within( - mut self, - value: impl Into>>, - ) -> Self { + pub fn geo_within(mut self, value: impl Into>>) -> Self { self._fields.54 = value.into(); self } @@ -6100,10 +5806,7 @@ impl LocalBusinessBuilder { self } /// Set the `hasCredential` field to an Option value (optional) - pub fn maybe_has_credential( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_has_credential(mut self, value: Option>) -> Self { self._fields.57 = value; self } @@ -6270,18 +5973,12 @@ impl LocalBusinessBuilder { impl LocalBusinessBuilder { /// Set the `identifier` field (optional) - pub fn identifier( - mut self, - value: impl Into>>, - ) -> Self { + pub fn identifier(mut self, value: impl Into>>) -> Self { self._fields.67 = value.into(); self } /// Set the `identifier` field to an Option value (optional) - pub fn maybe_identifier( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_identifier(mut self, value: Option>) -> Self { self._fields.67 = value; self } @@ -6353,18 +6050,12 @@ impl LocalBusinessBuilder { impl LocalBusinessBuilder { /// Set the `iso6523Code` field (optional) - pub fn iso6523_code( - mut self, - value: impl Into>>, - ) -> Self { + pub fn iso6523_code(mut self, value: impl Into>>) -> Self { self._fields.72 = value.into(); self } /// Set the `iso6523Code` field to an Option value (optional) - pub fn maybe_iso6523_code( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_iso6523_code(mut self, value: Option>) -> Self { self._fields.72 = value; self } @@ -6372,10 +6063,7 @@ impl LocalBusinessBuilder { impl LocalBusinessBuilder { /// Set the `keywords` field (optional) - pub fn keywords( - mut self, - value: impl Into>>, - ) -> Self { + pub fn keywords(mut self, value: impl Into>>) -> Self { self._fields.73 = value.into(); self } @@ -6388,18 +6076,12 @@ impl LocalBusinessBuilder { impl LocalBusinessBuilder { /// Set the `knowsAbout` field (optional) - pub fn knows_about( - mut self, - value: impl Into>>, - ) -> Self { + pub fn knows_about(mut self, value: impl Into>>) -> Self { self._fields.74 = value.into(); self } /// Set the `knowsAbout` field to an Option value (optional) - pub fn maybe_knows_about( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_knows_about(mut self, value: Option>) -> Self { self._fields.74 = value; self } @@ -6415,10 +6097,7 @@ impl LocalBusinessBuilder { self } /// Set the `knowsLanguage` field to an Option value (optional) - pub fn maybe_knows_language( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_knows_language(mut self, value: Option>) -> Self { self._fields.75 = value; self } @@ -6426,10 +6105,7 @@ impl LocalBusinessBuilder { impl LocalBusinessBuilder { /// Set the `latitude` field (optional) - pub fn latitude( - mut self, - value: impl Into>>, - ) -> Self { + pub fn latitude(mut self, value: impl Into>>) -> Self { self._fields.76 = value.into(); self } @@ -6442,18 +6118,12 @@ impl LocalBusinessBuilder { impl LocalBusinessBuilder { /// Set the `legalAddress` field (optional) - pub fn legal_address( - mut self, - value: impl Into>>, - ) -> Self { + pub fn legal_address(mut self, value: impl Into>>) -> Self { self._fields.77 = value.into(); self } /// Set the `legalAddress` field to an Option value (optional) - pub fn maybe_legal_address( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_legal_address(mut self, value: Option>) -> Self { self._fields.77 = value; self } @@ -6461,10 +6131,7 @@ impl LocalBusinessBuilder { impl LocalBusinessBuilder { /// Set the `legalName` field (optional) - pub fn legal_name( - mut self, - value: impl Into>>, - ) -> Self { + pub fn legal_name(mut self, value: impl Into>>) -> Self { self._fields.78 = value.into(); self } @@ -6496,10 +6163,7 @@ impl LocalBusinessBuilder { impl LocalBusinessBuilder { /// Set the `leiCode` field (optional) - pub fn lei_code( - mut self, - value: impl Into>>, - ) -> Self { + pub fn lei_code(mut self, value: impl Into>>) -> Self { self._fields.80 = value.into(); self } @@ -6512,10 +6176,7 @@ impl LocalBusinessBuilder { impl LocalBusinessBuilder { /// Set the `location` field (optional) - pub fn location( - mut self, - value: impl Into>>, - ) -> Self { + pub fn location(mut self, value: impl Into>>) -> Self { self._fields.81 = value.into(); self } @@ -6541,10 +6202,7 @@ impl LocalBusinessBuilder { impl LocalBusinessBuilder { /// Set the `longitude` field (optional) - pub fn longitude( - mut self, - value: impl Into>>, - ) -> Self { + pub fn longitude(mut self, value: impl Into>>) -> Self { self._fields.83 = value.into(); self } @@ -6576,18 +6234,12 @@ impl LocalBusinessBuilder { impl LocalBusinessBuilder { /// Set the `makesOffer` field (optional) - pub fn makes_offer( - mut self, - value: impl Into>>, - ) -> Self { + pub fn makes_offer(mut self, value: impl Into>>) -> Self { self._fields.85 = value.into(); self } /// Set the `makesOffer` field to an Option value (optional) - pub fn maybe_makes_offer( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_makes_offer(mut self, value: Option>) -> Self { self._fields.85 = value; self } @@ -6653,10 +6305,7 @@ impl LocalBusinessBuilder { impl LocalBusinessBuilder { /// Set the `memberOf` field (optional) - pub fn member_of( - mut self, - value: impl Into>>, - ) -> Self { + pub fn member_of(mut self, value: impl Into>>) -> Self { self._fields.90 = value.into(); self } @@ -6746,18 +6395,12 @@ impl LocalBusinessBuilder { impl LocalBusinessBuilder { /// Set the `openingHours` field (optional) - pub fn opening_hours( - mut self, - value: impl Into>>, - ) -> Self { + pub fn opening_hours(mut self, value: impl Into>>) -> Self { self._fields.96 = value.into(); self } /// Set the `openingHours` field to an Option value (optional) - pub fn maybe_opening_hours( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_opening_hours(mut self, value: Option>) -> Self { self._fields.96 = value; self } @@ -6899,18 +6542,12 @@ impl LocalBusinessBuilder { impl LocalBusinessBuilder { /// Set the `priceRange` field (optional) - pub fn price_range( - mut self, - value: impl Into>>, - ) -> Self { + pub fn price_range(mut self, value: impl Into>>) -> Self { self._fields.105 = value.into(); self } /// Set the `priceRange` field to an Option value (optional) - pub fn maybe_price_range( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_price_range(mut self, value: Option>) -> Self { self._fields.105 = value; self } @@ -6918,18 +6555,12 @@ impl LocalBusinessBuilder { impl LocalBusinessBuilder { /// Set the `publicAccess` field (optional) - pub fn public_access( - mut self, - value: impl Into>>, - ) -> Self { + pub fn public_access(mut self, value: impl Into>>) -> Self { self._fields.106 = value.into(); self } /// Set the `publicAccess` field to an Option value (optional) - pub fn maybe_public_access( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_public_access(mut self, value: Option>) -> Self { self._fields.106 = value; self } @@ -7008,18 +6639,12 @@ impl LocalBusinessBuilder { impl LocalBusinessBuilder { /// Set the `serviceArea` field (optional) - pub fn service_area( - mut self, - value: impl Into>>, - ) -> Self { + pub fn service_area(mut self, value: impl Into>>) -> Self { self._fields.112 = value.into(); self } /// Set the `serviceArea` field to an Option value (optional) - pub fn maybe_service_area( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_service_area(mut self, value: Option>) -> Self { self._fields.112 = value; self } @@ -7061,10 +6686,7 @@ impl LocalBusinessBuilder { self } /// Set the `smokingAllowed` field to an Option value (optional) - pub fn maybe_smoking_allowed( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_smoking_allowed(mut self, value: Option>) -> Self { self._fields.115 = value; self } @@ -7123,10 +6745,7 @@ impl LocalBusinessBuilder { impl LocalBusinessBuilder { /// Set the `subjectOf` field (optional) - pub fn subject_of( - mut self, - value: impl Into>>, - ) -> Self { + pub fn subject_of(mut self, value: impl Into>>) -> Self { self._fields.119 = value.into(); self } @@ -7152,10 +6771,7 @@ impl LocalBusinessBuilder { impl LocalBusinessBuilder { /// Set the `telephone` field (optional) - pub fn telephone( - mut self, - value: impl Into>>, - ) -> Self { + pub fn telephone(mut self, value: impl Into>>) -> Self { self._fields.121 = value.into(); self } @@ -7367,10 +6983,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> LocalBusiness { + pub fn build_with_data(self, extra_data: BTreeMap>) -> LocalBusiness { LocalBusiness { accepted_payment_method: self._fields.0, actionable_feedback_policy: self._fields.1, @@ -7501,4 +7114,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/social_flockfeeds/lexical/type/movie.rs b/crates/jacquard-api/src/social_flockfeeds/lexical/type/movie.rs index fcaef447..4b4369fc 100644 --- a/crates/jacquard-api/src/social_flockfeeds/lexical/type/movie.rs +++ b/crates/jacquard-api/src/social_flockfeeds/lexical/type/movie.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,9 +24,6 @@ use jacquard_derive::{IntoStatic, lexicon, open_union}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::social_flockfeeds::lexical::r#type::event; use crate::social_flockfeeds::lexical::r#type::image_object; use crate::social_flockfeeds::lexical::r#type::music_group; @@ -34,10 +31,16 @@ use crate::social_flockfeeds::lexical::r#type::offer; use crate::social_flockfeeds::lexical::r#type::organization; use crate::social_flockfeeds::lexical::r#type::person; use crate::social_flockfeeds::lexical::r#type::product; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; /// A movie. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Embedded { #[serde(skip_serializing_if = "Option::is_none")] pub about: Option>, @@ -317,7 +320,6 @@ pub struct Embedded { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -371,7 +373,6 @@ pub enum EmbeddedAccountablePerson { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -385,7 +386,6 @@ pub enum EmbeddedActor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -394,7 +394,6 @@ pub enum EmbeddedActors { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -450,7 +449,6 @@ pub enum EmbeddedAuthor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -469,7 +467,6 @@ pub enum EmbeddedCharacter { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -515,7 +512,6 @@ pub enum EmbeddedContributor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -526,7 +522,6 @@ pub enum EmbeddedCopyrightHolder { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -562,7 +557,6 @@ pub enum EmbeddedCreator { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -601,7 +595,6 @@ pub enum EmbeddedDirector { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -610,7 +603,6 @@ pub enum EmbeddedDirectors { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -639,7 +631,6 @@ pub enum EmbeddedEditor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -695,7 +686,6 @@ pub enum EmbeddedFunder { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -729,7 +719,6 @@ pub enum EmbeddedImage { ImageObjectEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -763,7 +752,6 @@ pub enum EmbeddedIsBasedOn { ProductEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -772,7 +760,6 @@ pub enum EmbeddedIsBasedOnUrl { ProductEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -823,7 +810,6 @@ pub enum EmbeddedMaintainer { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -832,7 +818,6 @@ pub enum EmbeddedMaterial { ProductEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -853,7 +838,6 @@ pub enum EmbeddedMusicBy { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -867,7 +851,6 @@ pub enum EmbeddedOffers { OfferEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -893,7 +876,6 @@ pub enum EmbeddedProducer { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -902,7 +884,6 @@ pub enum EmbeddedProductionCompany { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -913,7 +894,6 @@ pub enum EmbeddedProvider { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -929,7 +909,6 @@ pub enum EmbeddedPublisher { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -938,7 +917,6 @@ pub enum EmbeddedPublisherImprint { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -952,7 +930,6 @@ pub enum EmbeddedRecordedAt { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -998,7 +975,6 @@ pub enum EmbeddedSdPublisher { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1012,7 +988,6 @@ pub enum EmbeddedSourceOrganization { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1033,7 +1008,6 @@ pub enum EmbeddedSponsor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1042,7 +1016,6 @@ pub enum EmbeddedSubjectOf { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1076,7 +1049,6 @@ pub enum EmbeddedThumbnail { ImageObjectEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1112,7 +1084,6 @@ pub enum EmbeddedTranslator { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1439,7 +1410,6 @@ pub struct Movie { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1493,7 +1463,6 @@ pub enum MovieAccountablePerson { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1507,7 +1476,6 @@ pub enum MovieActor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1516,7 +1484,6 @@ pub enum MovieActors { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1572,7 +1539,6 @@ pub enum MovieAuthor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1591,7 +1557,6 @@ pub enum MovieCharacter { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1637,7 +1602,6 @@ pub enum MovieContributor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1648,7 +1612,6 @@ pub enum MovieCopyrightHolder { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1684,7 +1647,6 @@ pub enum MovieCreator { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1723,7 +1685,6 @@ pub enum MovieDirector { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1732,7 +1693,6 @@ pub enum MovieDirectors { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1761,7 +1721,6 @@ pub enum MovieEditor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1817,7 +1776,6 @@ pub enum MovieFunder { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1851,7 +1809,6 @@ pub enum MovieImage { ImageObjectEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1885,7 +1842,6 @@ pub enum MovieIsBasedOn { ProductEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1894,7 +1850,6 @@ pub enum MovieIsBasedOnUrl { ProductEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1945,7 +1900,6 @@ pub enum MovieMaintainer { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1954,7 +1908,6 @@ pub enum MovieMaterial { ProductEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1975,7 +1928,6 @@ pub enum MovieMusicBy { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1989,7 +1941,6 @@ pub enum MovieOffers { OfferEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2015,7 +1966,6 @@ pub enum MovieProducer { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2024,7 +1974,6 @@ pub enum MovieProductionCompany { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2035,7 +1984,6 @@ pub enum MovieProvider { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2051,7 +1999,6 @@ pub enum MoviePublisher { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2060,7 +2007,6 @@ pub enum MoviePublisherImprint { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2074,7 +2020,6 @@ pub enum MovieRecordedAt { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2120,7 +2065,6 @@ pub enum MovieSdPublisher { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2134,7 +2078,6 @@ pub enum MovieSourceOrganization { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2155,7 +2098,6 @@ pub enum MovieSponsor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2164,7 +2106,6 @@ pub enum MovieSubjectOf { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2198,7 +2139,6 @@ pub enum MovieThumbnail { ImageObjectEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2234,7 +2174,6 @@ pub enum MovieTranslator { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2349,10 +2288,10 @@ impl LexiconSchema for Movie { } fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("social.flockfeeds.lexical.type.Movie"), @@ -5242,7 +5181,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Movie() -> LexiconDoc<'static> { pub mod movie_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -5417,143 +5356,16 @@ impl MovieBuilder { MovieBuilder { _state: PhantomData, _fields: ( - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, ), _type: PhantomData, } @@ -5620,18 +5432,12 @@ impl MovieBuilder { impl MovieBuilder { /// Set the `accessibilityAPI` field (optional) - pub fn accessibility_api( - mut self, - value: impl Into>>, - ) -> Self { + pub fn accessibility_api(mut self, value: impl Into>>) -> Self { self._fields.4 = value.into(); self } /// Set the `accessibilityAPI` field to an Option value (optional) - pub fn maybe_accessibility_api( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_accessibility_api(mut self, value: Option>) -> Self { self._fields.4 = value; self } @@ -5723,10 +5529,7 @@ impl MovieBuilder { self } /// Set the `accountablePerson` field to an Option value (optional) - pub fn maybe_accountable_person( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_accountable_person(mut self, value: Option>) -> Self { self._fields.9 = value; self } @@ -5742,10 +5545,7 @@ impl MovieBuilder { self } /// Set the `acquireLicensePage` field to an Option value (optional) - pub fn maybe_acquire_license_page( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_acquire_license_page(mut self, value: Option>) -> Self { self._fields.10 = value; self } @@ -5779,18 +5579,12 @@ impl MovieBuilder { impl MovieBuilder { /// Set the `additionalType` field (optional) - pub fn additional_type( - mut self, - value: impl Into>>, - ) -> Self { + pub fn additional_type(mut self, value: impl Into>>) -> Self { self._fields.13 = value.into(); self } /// Set the `additionalType` field to an Option value (optional) - pub fn maybe_additional_type( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_additional_type(mut self, value: Option>) -> Self { self._fields.13 = value; self } @@ -5798,18 +5592,12 @@ impl MovieBuilder { impl MovieBuilder { /// Set the `aggregateRating` field (optional) - pub fn aggregate_rating( - mut self, - value: impl Into>>, - ) -> Self { + pub fn aggregate_rating(mut self, value: impl Into>>) -> Self { self._fields.14 = value.into(); self } /// Set the `aggregateRating` field to an Option value (optional) - pub fn maybe_aggregate_rating( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_aggregate_rating(mut self, value: Option>) -> Self { self._fields.14 = value; self } @@ -5817,10 +5605,7 @@ impl MovieBuilder { impl MovieBuilder { /// Set the `alternateName` field (optional) - pub fn alternate_name( - mut self, - value: impl Into>>, - ) -> Self { + pub fn alternate_name(mut self, value: impl Into>>) -> Self { self._fields.15 = value.into(); self } @@ -5878,18 +5663,12 @@ impl MovieBuilder { impl MovieBuilder { /// Set the `associatedMedia` field (optional) - pub fn associated_media( - mut self, - value: impl Into>>, - ) -> Self { + pub fn associated_media(mut self, value: impl Into>>) -> Self { self._fields.19 = value.into(); self } /// Set the `associatedMedia` field to an Option value (optional) - pub fn maybe_associated_media( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_associated_media(mut self, value: Option>) -> Self { self._fields.19 = value; self } @@ -6001,10 +5780,7 @@ impl MovieBuilder { impl MovieBuilder { /// Set the `commentCount` field (optional) - pub fn comment_count( - mut self, - value: impl Into>>, - ) -> Self { + pub fn comment_count(mut self, value: impl Into>>) -> Self { self._fields.28 = value.into(); self } @@ -6025,10 +5801,7 @@ impl MovieBuilder { self } /// Set the `conditionsOfAccess` field to an Option value (optional) - pub fn maybe_conditions_of_access( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_conditions_of_access(mut self, value: Option>) -> Self { self._fields.29 = value; self } @@ -6036,18 +5809,12 @@ impl MovieBuilder { impl MovieBuilder { /// Set the `contentLocation` field (optional) - pub fn content_location( - mut self, - value: impl Into>>, - ) -> Self { + pub fn content_location(mut self, value: impl Into>>) -> Self { self._fields.30 = value.into(); self } /// Set the `contentLocation` field to an Option value (optional) - pub fn maybe_content_location( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_content_location(mut self, value: Option>) -> Self { self._fields.30 = value; self } @@ -6055,10 +5822,7 @@ impl MovieBuilder { impl MovieBuilder { /// Set the `contentRating` field (optional) - pub fn content_rating( - mut self, - value: impl Into>>, - ) -> Self { + pub fn content_rating(mut self, value: impl Into>>) -> Self { self._fields.31 = value.into(); self } @@ -6103,18 +5867,12 @@ impl MovieBuilder { impl MovieBuilder { /// Set the `copyrightHolder` field (optional) - pub fn copyright_holder( - mut self, - value: impl Into>>, - ) -> Self { + pub fn copyright_holder(mut self, value: impl Into>>) -> Self { self._fields.34 = value.into(); self } /// Set the `copyrightHolder` field to an Option value (optional) - pub fn maybe_copyright_holder( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_copyright_holder(mut self, value: Option>) -> Self { self._fields.34 = value; self } @@ -6122,18 +5880,12 @@ impl MovieBuilder { impl MovieBuilder { /// Set the `copyrightNotice` field (optional) - pub fn copyright_notice( - mut self, - value: impl Into>>, - ) -> Self { + pub fn copyright_notice(mut self, value: impl Into>>) -> Self { self._fields.35 = value.into(); self } /// Set the `copyrightNotice` field to an Option value (optional) - pub fn maybe_copyright_notice( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_copyright_notice(mut self, value: Option>) -> Self { self._fields.35 = value; self } @@ -6141,10 +5893,7 @@ impl MovieBuilder { impl MovieBuilder { /// Set the `copyrightYear` field (optional) - pub fn copyright_year( - mut self, - value: impl Into>>, - ) -> Self { + pub fn copyright_year(mut self, value: impl Into>>) -> Self { self._fields.36 = value.into(); self } @@ -6170,18 +5919,12 @@ impl MovieBuilder { impl MovieBuilder { /// Set the `countryOfOrigin` field (optional) - pub fn country_of_origin( - mut self, - value: impl Into>>, - ) -> Self { + pub fn country_of_origin(mut self, value: impl Into>>) -> Self { self._fields.38 = value.into(); self } /// Set the `countryOfOrigin` field to an Option value (optional) - pub fn maybe_country_of_origin( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_country_of_origin(mut self, value: Option>) -> Self { self._fields.38 = value; self } @@ -6197,10 +5940,7 @@ impl MovieBuilder { self } /// Set the `creativeWorkStatus` field to an Option value (optional) - pub fn maybe_creative_work_status( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_creative_work_status(mut self, value: Option>) -> Self { self._fields.39 = value; self } @@ -6234,10 +5974,7 @@ impl MovieBuilder { impl MovieBuilder { /// Set the `dateCreated` field (optional) - pub fn date_created( - mut self, - value: impl Into>>, - ) -> Self { + pub fn date_created(mut self, value: impl Into>>) -> Self { self._fields.42 = value.into(); self } @@ -6250,10 +5987,7 @@ impl MovieBuilder { impl MovieBuilder { /// Set the `dateModified` field (optional) - pub fn date_modified( - mut self, - value: impl Into>>, - ) -> Self { + pub fn date_modified(mut self, value: impl Into>>) -> Self { self._fields.43 = value.into(); self } @@ -6266,10 +6000,7 @@ impl MovieBuilder { impl MovieBuilder { /// Set the `datePublished` field (optional) - pub fn date_published( - mut self, - value: impl Into>>, - ) -> Self { + pub fn date_published(mut self, value: impl Into>>) -> Self { self._fields.44 = value.into(); self } @@ -6303,10 +6034,7 @@ impl MovieBuilder { self } /// Set the `digitalSourceType` field to an Option value (optional) - pub fn maybe_digital_source_type( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_digital_source_type(mut self, value: Option>) -> Self { self._fields.46 = value; self } @@ -6359,10 +6087,7 @@ impl MovieBuilder { impl MovieBuilder { /// Set the `discussionUrl` field (optional) - pub fn discussion_url( - mut self, - value: impl Into>>, - ) -> Self { + pub fn discussion_url(mut self, value: impl Into>>) -> Self { self._fields.50 = value.into(); self } @@ -6433,18 +6158,12 @@ impl MovieBuilder { impl MovieBuilder { /// Set the `educationalLevel` field (optional) - pub fn educational_level( - mut self, - value: impl Into>>, - ) -> Self { + pub fn educational_level(mut self, value: impl Into>>) -> Self { self._fields.55 = value.into(); self } /// Set the `educationalLevel` field to an Option value (optional) - pub fn maybe_educational_level( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_educational_level(mut self, value: Option>) -> Self { self._fields.55 = value; self } @@ -6452,18 +6171,12 @@ impl MovieBuilder { impl MovieBuilder { /// Set the `educationalUse` field (optional) - pub fn educational_use( - mut self, - value: impl Into>>, - ) -> Self { + pub fn educational_use(mut self, value: impl Into>>) -> Self { self._fields.56 = value.into(); self } /// Set the `educationalUse` field to an Option value (optional) - pub fn maybe_educational_use( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_educational_use(mut self, value: Option>) -> Self { self._fields.56 = value; self } @@ -6484,18 +6197,12 @@ impl MovieBuilder { impl MovieBuilder { /// Set the `encodingFormat` field (optional) - pub fn encoding_format( - mut self, - value: impl Into>>, - ) -> Self { + pub fn encoding_format(mut self, value: impl Into>>) -> Self { self._fields.58 = value.into(); self } /// Set the `encodingFormat` field to an Option value (optional) - pub fn maybe_encoding_format( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_encoding_format(mut self, value: Option>) -> Self { self._fields.58 = value; self } @@ -6516,18 +6223,12 @@ impl MovieBuilder { impl MovieBuilder { /// Set the `exampleOfWork` field (optional) - pub fn example_of_work( - mut self, - value: impl Into>>, - ) -> Self { + pub fn example_of_work(mut self, value: impl Into>>) -> Self { self._fields.60 = value.into(); self } /// Set the `exampleOfWork` field to an Option value (optional) - pub fn maybe_example_of_work( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_example_of_work(mut self, value: Option>) -> Self { self._fields.60 = value; self } @@ -6692,10 +6393,7 @@ impl MovieBuilder { self } /// Set the `interactivityType` field to an Option value (optional) - pub fn maybe_interactivity_type( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_interactivity_type(mut self, value: Option>) -> Self { self._fields.72 = value; self } @@ -6711,10 +6409,7 @@ impl MovieBuilder { self } /// Set the `interpretedAsClaim` field to an Option value (optional) - pub fn maybe_interpreted_as_claim( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_interpreted_as_claim(mut self, value: Option>) -> Self { self._fields.73 = value; self } @@ -6754,10 +6449,7 @@ impl MovieBuilder { impl MovieBuilder { /// Set the `isBasedOnUrl` field (optional) - pub fn is_based_on_url( - mut self, - value: impl Into>>, - ) -> Self { + pub fn is_based_on_url(mut self, value: impl Into>>) -> Self { self._fields.76 = value.into(); self } @@ -6778,10 +6470,7 @@ impl MovieBuilder { self } /// Set the `isFamilyFriendly` field to an Option value (optional) - pub fn maybe_is_family_friendly( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_is_family_friendly(mut self, value: Option>) -> Self { self._fields.77 = value; self } @@ -6847,18 +6536,12 @@ impl MovieBuilder { impl MovieBuilder { /// Set the `locationCreated` field (optional) - pub fn location_created( - mut self, - value: impl Into>>, - ) -> Self { + pub fn location_created(mut self, value: impl Into>>) -> Self { self._fields.82 = value.into(); self } /// Set the `locationCreated` field to an Option value (optional) - pub fn maybe_location_created( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_location_created(mut self, value: Option>) -> Self { self._fields.82 = value; self } @@ -6887,10 +6570,7 @@ impl MovieBuilder { self } /// Set the `mainEntityOfPage` field to an Option value (optional) - pub fn maybe_main_entity_of_page( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_main_entity_of_page(mut self, value: Option>) -> Self { self._fields.84 = value; self } @@ -6924,18 +6604,12 @@ impl MovieBuilder { impl MovieBuilder { /// Set the `materialExtent` field (optional) - pub fn material_extent( - mut self, - value: impl Into>>, - ) -> Self { + pub fn material_extent(mut self, value: impl Into>>) -> Self { self._fields.87 = value.into(); self } /// Set the `materialExtent` field to an Option value (optional) - pub fn maybe_material_extent( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_material_extent(mut self, value: Option>) -> Self { self._fields.87 = value; self } @@ -7021,18 +6695,12 @@ impl MovieBuilder { impl MovieBuilder { /// Set the `potentialAction` field (optional) - pub fn potential_action( - mut self, - value: impl Into>>, - ) -> Self { + pub fn potential_action(mut self, value: impl Into>>) -> Self { self._fields.94 = value.into(); self } /// Set the `potentialAction` field to an Option value (optional) - pub fn maybe_potential_action( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_potential_action(mut self, value: Option>) -> Self { self._fields.94 = value; self } @@ -7061,10 +6729,7 @@ impl MovieBuilder { self } /// Set the `productionCompany` field to an Option value (optional) - pub fn maybe_production_company( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_production_company(mut self, value: Option>) -> Self { self._fields.96 = value; self } @@ -7111,18 +6776,12 @@ impl MovieBuilder { impl MovieBuilder { /// Set the `publisherImprint` field (optional) - pub fn publisher_imprint( - mut self, - value: impl Into>>, - ) -> Self { + pub fn publisher_imprint(mut self, value: impl Into>>) -> Self { self._fields.100 = value.into(); self } /// Set the `publisherImprint` field to an Option value (optional) - pub fn maybe_publisher_imprint( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_publisher_imprint(mut self, value: Option>) -> Self { self._fields.100 = value; self } @@ -7162,10 +6821,7 @@ impl MovieBuilder { impl MovieBuilder { /// Set the `releasedEvent` field (optional) - pub fn released_event( - mut self, - value: impl Into>>, - ) -> Self { + pub fn released_event(mut self, value: impl Into>>) -> Self { self._fields.103 = value.into(); self } @@ -7217,10 +6873,7 @@ impl MovieBuilder { impl MovieBuilder { /// Set the `schemaVersion` field (optional) - pub fn schema_version( - mut self, - value: impl Into>>, - ) -> Self { + pub fn schema_version(mut self, value: impl Into>>) -> Self { self._fields.107 = value.into(); self } @@ -7233,18 +6886,12 @@ impl MovieBuilder { impl MovieBuilder { /// Set the `sdDatePublished` field (optional) - pub fn sd_date_published( - mut self, - value: impl Into>>, - ) -> Self { + pub fn sd_date_published(mut self, value: impl Into>>) -> Self { self._fields.108 = value.into(); self } /// Set the `sdDatePublished` field to an Option value (optional) - pub fn maybe_sd_date_published( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_sd_date_published(mut self, value: Option>) -> Self { self._fields.108 = value; self } @@ -7265,10 +6912,7 @@ impl MovieBuilder { impl MovieBuilder { /// Set the `sdPublisher` field (optional) - pub fn sd_publisher( - mut self, - value: impl Into>>, - ) -> Self { + pub fn sd_publisher(mut self, value: impl Into>>) -> Self { self._fields.110 = value.into(); self } @@ -7302,10 +6946,7 @@ impl MovieBuilder { self } /// Set the `sourceOrganization` field to an Option value (optional) - pub fn maybe_source_organization( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_source_organization(mut self, value: Option>) -> Self { self._fields.112 = value; self } @@ -7326,18 +6967,12 @@ impl MovieBuilder { impl MovieBuilder { /// Set the `spatialCoverage` field (optional) - pub fn spatial_coverage( - mut self, - value: impl Into>>, - ) -> Self { + pub fn spatial_coverage(mut self, value: impl Into>>) -> Self { self._fields.114 = value.into(); self } /// Set the `spatialCoverage` field to an Option value (optional) - pub fn maybe_spatial_coverage( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_spatial_coverage(mut self, value: Option>) -> Self { self._fields.114 = value; self } @@ -7371,18 +7006,12 @@ impl MovieBuilder { impl MovieBuilder { /// Set the `subtitleLanguage` field (optional) - pub fn subtitle_language( - mut self, - value: impl Into>>, - ) -> Self { + pub fn subtitle_language(mut self, value: impl Into>>) -> Self { self._fields.117 = value.into(); self } /// Set the `subtitleLanguage` field to an Option value (optional) - pub fn maybe_subtitle_language( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_subtitle_language(mut self, value: Option>) -> Self { self._fields.117 = value; self } @@ -7416,18 +7045,12 @@ impl MovieBuilder { impl MovieBuilder { /// Set the `temporalCoverage` field (optional) - pub fn temporal_coverage( - mut self, - value: impl Into>>, - ) -> Self { + pub fn temporal_coverage(mut self, value: impl Into>>) -> Self { self._fields.120 = value.into(); self } /// Set the `temporalCoverage` field to an Option value (optional) - pub fn maybe_temporal_coverage( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_temporal_coverage(mut self, value: Option>) -> Self { self._fields.120 = value; self } @@ -7461,10 +7084,7 @@ impl MovieBuilder { impl MovieBuilder { /// Set the `thumbnailUrl` field (optional) - pub fn thumbnail_url( - mut self, - value: impl Into>>, - ) -> Self { + pub fn thumbnail_url(mut self, value: impl Into>>) -> Self { self._fields.123 = value.into(); self } @@ -7477,10 +7097,7 @@ impl MovieBuilder { impl MovieBuilder { /// Set the `timeRequired` field (optional) - pub fn time_required( - mut self, - value: impl Into>>, - ) -> Self { + pub fn time_required(mut self, value: impl Into>>) -> Self { self._fields.124 = value.into(); self } @@ -7527,10 +7144,7 @@ impl MovieBuilder { self } /// Set the `translationOfWork` field to an Option value (optional) - pub fn maybe_translation_of_work( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_translation_of_work(mut self, value: Option>) -> Self { self._fields.127 = value; self } @@ -7551,18 +7165,12 @@ impl MovieBuilder { impl MovieBuilder { /// Set the `typicalAgeRange` field (optional) - pub fn typical_age_range( - mut self, - value: impl Into>>, - ) -> Self { + pub fn typical_age_range(mut self, value: impl Into>>) -> Self { self._fields.129 = value.into(); self } /// Set the `typicalAgeRange` field to an Option value (optional) - pub fn maybe_typical_age_range( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_typical_age_range(mut self, value: Option>) -> Self { self._fields.129 = value; self } @@ -7635,10 +7243,7 @@ impl MovieBuilder { impl MovieBuilder { /// Set the `workExample` field (optional) - pub fn work_example( - mut self, - value: impl Into>>, - ) -> Self { + pub fn work_example(mut self, value: impl Into>>) -> Self { self._fields.135 = value.into(); self } @@ -7651,18 +7256,12 @@ impl MovieBuilder { impl MovieBuilder { /// Set the `workTranslation` field (optional) - pub fn work_translation( - mut self, - value: impl Into>>, - ) -> Self { + pub fn work_translation(mut self, value: impl Into>>) -> Self { self._fields.136 = value.into(); self } /// Set the `workTranslation` field to an Option value (optional) - pub fn maybe_work_translation( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_work_translation(mut self, value: Option>) -> Self { self._fields.136 = value; self } @@ -7958,4 +7557,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/social_flockfeeds/lexical/type/music_event.rs b/crates/jacquard-api/src/social_flockfeeds/lexical/type/music_event.rs index 435d9667..531c785c 100644 --- a/crates/jacquard-api/src/social_flockfeeds/lexical/type/music_event.rs +++ b/crates/jacquard-api/src/social_flockfeeds/lexical/type/music_event.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,18 +24,21 @@ use jacquard_derive::{IntoStatic, lexicon, open_union}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::social_flockfeeds::lexical::r#type::event; use crate::social_flockfeeds::lexical::r#type::image_object; use crate::social_flockfeeds::lexical::r#type::offer; use crate::social_flockfeeds::lexical::r#type::organization; use crate::social_flockfeeds::lexical::r#type::person; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; /// Event type: Music event. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Embedded { #[serde(skip_serializing_if = "Option::is_none")] pub about: Option>, @@ -96,13 +99,9 @@ pub struct Embedded { #[serde(skip_serializing_if = "Option::is_none")] pub maximum_attendee_capacity: Option>, #[serde(skip_serializing_if = "Option::is_none")] - pub maximum_physical_attendee_capacity: Option< - EmbeddedMaximumPhysicalAttendeeCapacity, - >, + pub maximum_physical_attendee_capacity: Option>, #[serde(skip_serializing_if = "Option::is_none")] - pub maximum_virtual_attendee_capacity: Option< - EmbeddedMaximumVirtualAttendeeCapacity, - >, + pub maximum_virtual_attendee_capacity: Option>, #[serde(skip_serializing_if = "Option::is_none")] pub name: Option>, #[serde(skip_serializing_if = "Option::is_none")] @@ -151,7 +150,6 @@ pub struct Embedded { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -165,7 +163,6 @@ pub enum EmbeddedActor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -191,7 +188,6 @@ pub enum EmbeddedAttendee { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -202,7 +198,6 @@ pub enum EmbeddedAttendees { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -218,7 +213,6 @@ pub enum EmbeddedComposer { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -229,7 +223,6 @@ pub enum EmbeddedContributor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -243,7 +236,6 @@ pub enum EmbeddedDirector { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -289,7 +281,6 @@ pub enum EmbeddedFunder { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -308,7 +299,6 @@ pub enum EmbeddedImage { ImageObjectEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -362,7 +352,6 @@ pub enum EmbeddedOffers { OfferEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -373,7 +362,6 @@ pub enum EmbeddedOrganizer { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -384,7 +372,6 @@ pub enum EmbeddedPerformer { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -395,7 +382,6 @@ pub enum EmbeddedPerformers { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -436,7 +422,6 @@ pub enum EmbeddedSponsor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -450,7 +435,6 @@ pub enum EmbeddedSubEvent { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -459,7 +443,6 @@ pub enum EmbeddedSubEvents { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -468,7 +451,6 @@ pub enum EmbeddedSubjectOf { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -477,7 +459,6 @@ pub enum EmbeddedSuperEvent { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -488,7 +469,6 @@ pub enum EmbeddedTranslator { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -576,13 +556,9 @@ pub struct MusicEvent { #[serde(skip_serializing_if = "Option::is_none")] pub maximum_attendee_capacity: Option>, #[serde(skip_serializing_if = "Option::is_none")] - pub maximum_physical_attendee_capacity: Option< - MusicEventMaximumPhysicalAttendeeCapacity, - >, + pub maximum_physical_attendee_capacity: Option>, #[serde(skip_serializing_if = "Option::is_none")] - pub maximum_virtual_attendee_capacity: Option< - MusicEventMaximumVirtualAttendeeCapacity, - >, + pub maximum_virtual_attendee_capacity: Option>, #[serde(skip_serializing_if = "Option::is_none")] pub name: Option>, #[serde(skip_serializing_if = "Option::is_none")] @@ -631,7 +607,6 @@ pub struct MusicEvent { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -645,7 +620,6 @@ pub enum MusicEventActor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -671,7 +645,6 @@ pub enum MusicEventAttendee { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -682,7 +655,6 @@ pub enum MusicEventAttendees { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -698,7 +670,6 @@ pub enum MusicEventComposer { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -709,7 +680,6 @@ pub enum MusicEventContributor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -723,7 +693,6 @@ pub enum MusicEventDirector { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -769,7 +738,6 @@ pub enum MusicEventFunder { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -788,7 +756,6 @@ pub enum MusicEventImage { ImageObjectEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -842,7 +809,6 @@ pub enum MusicEventOffers { OfferEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -853,7 +819,6 @@ pub enum MusicEventOrganizer { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -864,7 +829,6 @@ pub enum MusicEventPerformer { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -875,7 +839,6 @@ pub enum MusicEventPerformers { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -916,7 +879,6 @@ pub enum MusicEventSponsor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -930,7 +892,6 @@ pub enum MusicEventSubEvent { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -939,7 +900,6 @@ pub enum MusicEventSubEvents { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -948,7 +908,6 @@ pub enum MusicEventSubjectOf { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -957,7 +916,6 @@ pub enum MusicEventSuperEvent { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -968,7 +926,6 @@ pub enum MusicEventTranslator { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1063,10 +1020,10 @@ impl LexiconSchema for MusicEvent { } fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("social.flockfeeds.lexical.type.MusicEvent"), @@ -2220,7 +2177,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicEvent() -> LexiconDoc<'static pub mod music_event_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -2311,59 +2268,10 @@ impl MusicEventBuilder { MusicEventBuilder { _state: PhantomData, _fields: ( - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, ), _type: PhantomData, } @@ -2406,10 +2314,7 @@ impl MusicEventBuilder { self } /// Set the `additionalType` field to an Option value (optional) - pub fn maybe_additional_type( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_additional_type(mut self, value: Option>) -> Self { self._fields.2 = value; self } @@ -2425,10 +2330,7 @@ impl MusicEventBuilder { self } /// Set the `aggregateRating` field to an Option value (optional) - pub fn maybe_aggregate_rating( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_aggregate_rating(mut self, value: Option>) -> Self { self._fields.3 = value; self } @@ -2436,18 +2338,12 @@ impl MusicEventBuilder { impl MusicEventBuilder { /// Set the `alternateName` field (optional) - pub fn alternate_name( - mut self, - value: impl Into>>, - ) -> Self { + pub fn alternate_name(mut self, value: impl Into>>) -> Self { self._fields.4 = value.into(); self } /// Set the `alternateName` field to an Option value (optional) - pub fn maybe_alternate_name( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_alternate_name(mut self, value: Option>) -> Self { self._fields.4 = value; self } @@ -2468,10 +2364,7 @@ impl MusicEventBuilder { impl MusicEventBuilder { /// Set the `attendees` field (optional) - pub fn attendees( - mut self, - value: impl Into>>, - ) -> Self { + pub fn attendees(mut self, value: impl Into>>) -> Self { self._fields.6 = value.into(); self } @@ -2510,10 +2403,7 @@ impl MusicEventBuilder { impl MusicEventBuilder { /// Set the `contributor` field (optional) - pub fn contributor( - mut self, - value: impl Into>>, - ) -> Self { + pub fn contributor(mut self, value: impl Into>>) -> Self { self._fields.9 = value.into(); self } @@ -2526,10 +2416,7 @@ impl MusicEventBuilder { impl MusicEventBuilder { /// Set the `description` field (optional) - pub fn description( - mut self, - value: impl Into>>, - ) -> Self { + pub fn description(mut self, value: impl Into>>) -> Self { self._fields.10 = value.into(); self } @@ -2632,18 +2519,12 @@ impl MusicEventBuilder { impl MusicEventBuilder { /// Set the `eventSchedule` field (optional) - pub fn event_schedule( - mut self, - value: impl Into>>, - ) -> Self { + pub fn event_schedule(mut self, value: impl Into>>) -> Self { self._fields.17 = value.into(); self } /// Set the `eventSchedule` field to an Option value (optional) - pub fn maybe_event_schedule( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_event_schedule(mut self, value: Option>) -> Self { self._fields.17 = value; self } @@ -2651,18 +2532,12 @@ impl MusicEventBuilder { impl MusicEventBuilder { /// Set the `eventStatus` field (optional) - pub fn event_status( - mut self, - value: impl Into>>, - ) -> Self { + pub fn event_status(mut self, value: impl Into>>) -> Self { self._fields.18 = value.into(); self } /// Set the `eventStatus` field to an Option value (optional) - pub fn maybe_event_status( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_event_status(mut self, value: Option>) -> Self { self._fields.18 = value; self } @@ -2696,10 +2571,7 @@ impl MusicEventBuilder { impl MusicEventBuilder { /// Set the `identifier` field (optional) - pub fn identifier( - mut self, - value: impl Into>>, - ) -> Self { + pub fn identifier(mut self, value: impl Into>>) -> Self { self._fields.21 = value.into(); self } @@ -2725,10 +2597,7 @@ impl MusicEventBuilder { impl MusicEventBuilder { /// Set the `inLanguage` field (optional) - pub fn in_language( - mut self, - value: impl Into>>, - ) -> Self { + pub fn in_language(mut self, value: impl Into>>) -> Self { self._fields.23 = value.into(); self } @@ -2888,10 +2757,7 @@ impl MusicEventBuilder { impl MusicEventBuilder { /// Set the `organizer` field (optional) - pub fn organizer( - mut self, - value: impl Into>>, - ) -> Self { + pub fn organizer(mut self, value: impl Into>>) -> Self { self._fields.33 = value.into(); self } @@ -2904,10 +2770,7 @@ impl MusicEventBuilder { impl MusicEventBuilder { /// Set the `performer` field (optional) - pub fn performer( - mut self, - value: impl Into>>, - ) -> Self { + pub fn performer(mut self, value: impl Into>>) -> Self { self._fields.34 = value.into(); self } @@ -2920,10 +2783,7 @@ impl MusicEventBuilder { impl MusicEventBuilder { /// Set the `performers` field (optional) - pub fn performers( - mut self, - value: impl Into>>, - ) -> Self { + pub fn performers(mut self, value: impl Into>>) -> Self { self._fields.35 = value.into(); self } @@ -2944,10 +2804,7 @@ impl MusicEventBuilder { self } /// Set the `potentialAction` field to an Option value (optional) - pub fn maybe_potential_action( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_potential_action(mut self, value: Option>) -> Self { self._fields.36 = value; self } @@ -2974,10 +2831,7 @@ impl MusicEventBuilder { impl MusicEventBuilder { /// Set the `recordedIn` field (optional) - pub fn recorded_in( - mut self, - value: impl Into>>, - ) -> Self { + pub fn recorded_in(mut self, value: impl Into>>) -> Self { self._fields.38 = value.into(); self } @@ -3048,10 +2902,7 @@ impl MusicEventBuilder { impl MusicEventBuilder { /// Set the `startDate` field (optional) - pub fn start_date( - mut self, - value: impl Into>>, - ) -> Self { + pub fn start_date(mut self, value: impl Into>>) -> Self { self._fields.43 = value.into(); self } @@ -3077,10 +2928,7 @@ impl MusicEventBuilder { impl MusicEventBuilder { /// Set the `subEvents` field (optional) - pub fn sub_events( - mut self, - value: impl Into>>, - ) -> Self { + pub fn sub_events(mut self, value: impl Into>>) -> Self { self._fields.45 = value.into(); self } @@ -3093,10 +2941,7 @@ impl MusicEventBuilder { impl MusicEventBuilder { /// Set the `subjectOf` field (optional) - pub fn subject_of( - mut self, - value: impl Into>>, - ) -> Self { + pub fn subject_of(mut self, value: impl Into>>) -> Self { self._fields.46 = value.into(); self } @@ -3109,10 +2954,7 @@ impl MusicEventBuilder { impl MusicEventBuilder { /// Set the `superEvent` field (optional) - pub fn super_event( - mut self, - value: impl Into>>, - ) -> Self { + pub fn super_event(mut self, value: impl Into>>) -> Self { self._fields.47 = value.into(); self } @@ -3125,10 +2967,7 @@ impl MusicEventBuilder { impl MusicEventBuilder { /// Set the `translator` field (optional) - pub fn translator( - mut self, - value: impl Into>>, - ) -> Self { + pub fn translator(mut self, value: impl Into>>) -> Self { self._fields.48 = value.into(); self } @@ -3149,10 +2988,7 @@ impl MusicEventBuilder { self } /// Set the `typicalAgeRange` field to an Option value (optional) - pub fn maybe_typical_age_range( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_typical_age_range(mut self, value: Option>) -> Self { self._fields.49 = value; self } @@ -3173,18 +3009,12 @@ impl MusicEventBuilder { impl MusicEventBuilder { /// Set the `workFeatured` field (optional) - pub fn work_featured( - mut self, - value: impl Into>>, - ) -> Self { + pub fn work_featured(mut self, value: impl Into>>) -> Self { self._fields.51 = value.into(); self } /// Set the `workFeatured` field to an Option value (optional) - pub fn maybe_work_featured( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_work_featured(mut self, value: Option>) -> Self { self._fields.51 = value; self } @@ -3192,18 +3022,12 @@ impl MusicEventBuilder { impl MusicEventBuilder { /// Set the `workPerformed` field (optional) - pub fn work_performed( - mut self, - value: impl Into>>, - ) -> Self { + pub fn work_performed(mut self, value: impl Into>>) -> Self { self._fields.52 = value.into(); self } /// Set the `workPerformed` field to an Option value (optional) - pub fn maybe_work_performed( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_work_performed(mut self, value: Option>) -> Self { self._fields.52 = value; self } @@ -3273,10 +3097,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> MusicEvent { + pub fn build_with_data(self, extra_data: BTreeMap>) -> MusicEvent { MusicEvent { about: self._fields.0, actor: self._fields.1, @@ -3334,4 +3155,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/social_flockfeeds/lexical/type/music_group.rs b/crates/jacquard-api/src/social_flockfeeds/lexical/type/music_group.rs index 5c207c0d..7195fb4c 100644 --- a/crates/jacquard-api/src/social_flockfeeds/lexical/type/music_group.rs +++ b/crates/jacquard-api/src/social_flockfeeds/lexical/type/music_group.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,9 +24,6 @@ use jacquard_derive::{IntoStatic, lexicon, open_union}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::social_flockfeeds::lexical::r#type::article; use crate::social_flockfeeds::lexical::r#type::brand; use crate::social_flockfeeds::lexical::r#type::event; @@ -35,10 +32,16 @@ use crate::social_flockfeeds::lexical::r#type::offer; use crate::social_flockfeeds::lexical::r#type::organization; use crate::social_flockfeeds::lexical::r#type::person; use crate::social_flockfeeds::lexical::r#type::product; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; /// A musical group, such as a band, an orchestra, or a choir. Can also be a solo musician. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Embedded { #[serde(skip_serializing_if = "Option::is_none")] pub accepted_payment_method: Option>, @@ -234,7 +237,6 @@ pub struct Embedded { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -288,7 +290,6 @@ pub enum EmbeddedAlumni { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -314,7 +315,6 @@ pub enum EmbeddedBrand { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -343,7 +343,6 @@ pub enum EmbeddedDepartment { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -372,7 +371,6 @@ pub enum EmbeddedDiversityStaffingReport { ArticleEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -391,7 +389,6 @@ pub enum EmbeddedEmployee { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -400,7 +397,6 @@ pub enum EmbeddedEmployees { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -414,7 +410,6 @@ pub enum EmbeddedEvent { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -423,7 +418,6 @@ pub enum EmbeddedEvents { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -439,7 +433,6 @@ pub enum EmbeddedFounder { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -448,7 +441,6 @@ pub enum EmbeddedFounders { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -469,7 +461,6 @@ pub enum EmbeddedFunder { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -543,7 +534,6 @@ pub enum EmbeddedImage { ImageObjectEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -592,7 +582,6 @@ pub enum EmbeddedLegalRepresentative { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -611,7 +600,6 @@ pub enum EmbeddedLogo { ImageObjectEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -625,7 +613,6 @@ pub enum EmbeddedMakesOffer { OfferEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -636,7 +623,6 @@ pub enum EmbeddedMember { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -645,7 +631,6 @@ pub enum EmbeddedMemberOf { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -656,7 +641,6 @@ pub enum EmbeddedMembers { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -665,7 +649,6 @@ pub enum EmbeddedMusicGroupMember { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -699,7 +682,6 @@ pub enum EmbeddedOwns { ProductEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -708,7 +690,6 @@ pub enum EmbeddedParentOrganization { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -764,7 +745,6 @@ pub enum EmbeddedSponsor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -773,7 +753,6 @@ pub enum EmbeddedSubOrganization { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -782,7 +761,6 @@ pub enum EmbeddedSubjectOf { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1020,7 +998,6 @@ pub struct MusicGroup { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1074,7 +1051,6 @@ pub enum MusicGroupAlumni { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1100,7 +1076,6 @@ pub enum MusicGroupBrand { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1129,7 +1104,6 @@ pub enum MusicGroupDepartment { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1158,7 +1132,6 @@ pub enum MusicGroupDiversityStaffingReport { ArticleEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1177,7 +1150,6 @@ pub enum MusicGroupEmployee { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1186,7 +1158,6 @@ pub enum MusicGroupEmployees { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1200,7 +1171,6 @@ pub enum MusicGroupEvent { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1209,7 +1179,6 @@ pub enum MusicGroupEvents { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1225,7 +1194,6 @@ pub enum MusicGroupFounder { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1234,7 +1202,6 @@ pub enum MusicGroupFounders { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1255,7 +1222,6 @@ pub enum MusicGroupFunder { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1329,7 +1295,6 @@ pub enum MusicGroupImage { ImageObjectEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1378,7 +1343,6 @@ pub enum MusicGroupLegalRepresentative { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1397,7 +1361,6 @@ pub enum MusicGroupLogo { ImageObjectEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1411,7 +1374,6 @@ pub enum MusicGroupMakesOffer { OfferEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1422,7 +1384,6 @@ pub enum MusicGroupMember { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1431,7 +1392,6 @@ pub enum MusicGroupMemberOf { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1442,7 +1402,6 @@ pub enum MusicGroupMembers { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1451,7 +1410,6 @@ pub enum MusicGroupMusicGroupMember { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1485,7 +1443,6 @@ pub enum MusicGroupOwns { ProductEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1494,7 +1451,6 @@ pub enum MusicGroupParentOrganization { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1550,7 +1506,6 @@ pub enum MusicGroupSponsor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1559,7 +1514,6 @@ pub enum MusicGroupSubOrganization { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1568,7 +1522,6 @@ pub enum MusicGroupSubjectOf { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1678,10 +1631,10 @@ impl LexiconSchema for MusicGroup { } fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("social.flockfeeds.lexical.type.MusicGroup"), @@ -3713,7 +3666,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_MusicGroup() -> LexiconDoc<'static pub mod music_group_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -3846,101 +3799,13 @@ impl MusicGroupBuilder { MusicGroupBuilder { _state: PhantomData, _fields: ( - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, ), _type: PhantomData, } @@ -3995,10 +3860,7 @@ impl MusicGroupBuilder { self } /// Set the `additionalType` field to an Option value (optional) - pub fn maybe_additional_type( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_additional_type(mut self, value: Option>) -> Self { self._fields.2 = value; self } @@ -4046,10 +3908,7 @@ impl MusicGroupBuilder { self } /// Set the `aggregateRating` field to an Option value (optional) - pub fn maybe_aggregate_rating( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_aggregate_rating(mut self, value: Option>) -> Self { self._fields.5 = value; self } @@ -4083,18 +3942,12 @@ impl MusicGroupBuilder { impl MusicGroupBuilder { /// Set the `alternateName` field (optional) - pub fn alternate_name( - mut self, - value: impl Into>>, - ) -> Self { + pub fn alternate_name(mut self, value: impl Into>>) -> Self { self._fields.8 = value.into(); self } /// Set the `alternateName` field to an Option value (optional) - pub fn maybe_alternate_name( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_alternate_name(mut self, value: Option>) -> Self { self._fields.8 = value; self } @@ -4115,10 +3968,7 @@ impl MusicGroupBuilder { impl MusicGroupBuilder { /// Set the `areaServed` field (optional) - pub fn area_served( - mut self, - value: impl Into>>, - ) -> Self { + pub fn area_served(mut self, value: impl Into>>) -> Self { self._fields.10 = value.into(); self } @@ -4189,18 +4039,12 @@ impl MusicGroupBuilder { impl MusicGroupBuilder { /// Set the `contactPoint` field (optional) - pub fn contact_point( - mut self, - value: impl Into>>, - ) -> Self { + pub fn contact_point(mut self, value: impl Into>>) -> Self { self._fields.15 = value.into(); self } /// Set the `contactPoint` field to an Option value (optional) - pub fn maybe_contact_point( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_contact_point(mut self, value: Option>) -> Self { self._fields.15 = value; self } @@ -4208,18 +4052,12 @@ impl MusicGroupBuilder { impl MusicGroupBuilder { /// Set the `contactPoints` field (optional) - pub fn contact_points( - mut self, - value: impl Into>>, - ) -> Self { + pub fn contact_points(mut self, value: impl Into>>) -> Self { self._fields.16 = value.into(); self } /// Set the `contactPoints` field to an Option value (optional) - pub fn maybe_contact_points( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_contact_points(mut self, value: Option>) -> Self { self._fields.16 = value; self } @@ -4246,10 +4084,7 @@ impl MusicGroupBuilder { impl MusicGroupBuilder { /// Set the `department` field (optional) - pub fn department( - mut self, - value: impl Into>>, - ) -> Self { + pub fn department(mut self, value: impl Into>>) -> Self { self._fields.18 = value.into(); self } @@ -4262,10 +4097,7 @@ impl MusicGroupBuilder { impl MusicGroupBuilder { /// Set the `description` field (optional) - pub fn description( - mut self, - value: impl Into>>, - ) -> Self { + pub fn description(mut self, value: impl Into>>) -> Self { self._fields.19 = value.into(); self } @@ -4305,10 +4137,7 @@ impl MusicGroupBuilder { self } /// Set the `dissolutionDate` field to an Option value (optional) - pub fn maybe_dissolution_date( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_dissolution_date(mut self, value: Option>) -> Self { self._fields.21 = value; self } @@ -4324,10 +4153,7 @@ impl MusicGroupBuilder { self } /// Set the `diversityPolicy` field to an Option value (optional) - pub fn maybe_diversity_policy( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_diversity_policy(mut self, value: Option>) -> Self { self._fields.22 = value; self } @@ -4393,10 +4219,7 @@ impl MusicGroupBuilder { impl MusicGroupBuilder { /// Set the `employees` field (optional) - pub fn employees( - mut self, - value: impl Into>>, - ) -> Self { + pub fn employees(mut self, value: impl Into>>) -> Self { self._fields.27 = value.into(); self } @@ -4409,18 +4232,12 @@ impl MusicGroupBuilder { impl MusicGroupBuilder { /// Set the `ethicsPolicy` field (optional) - pub fn ethics_policy( - mut self, - value: impl Into>>, - ) -> Self { + pub fn ethics_policy(mut self, value: impl Into>>) -> Self { self._fields.28 = value.into(); self } /// Set the `ethicsPolicy` field to an Option value (optional) - pub fn maybe_ethics_policy( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_ethics_policy(mut self, value: Option>) -> Self { self._fields.28 = value; self } @@ -4454,10 +4271,7 @@ impl MusicGroupBuilder { impl MusicGroupBuilder { /// Set the `faxNumber` field (optional) - pub fn fax_number( - mut self, - value: impl Into>>, - ) -> Self { + pub fn fax_number(mut self, value: impl Into>>) -> Self { self._fields.31 = value.into(); self } @@ -4496,18 +4310,12 @@ impl MusicGroupBuilder { impl MusicGroupBuilder { /// Set the `foundingDate` field (optional) - pub fn founding_date( - mut self, - value: impl Into>>, - ) -> Self { + pub fn founding_date(mut self, value: impl Into>>) -> Self { self._fields.34 = value.into(); self } /// Set the `foundingDate` field to an Option value (optional) - pub fn maybe_founding_date( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_founding_date(mut self, value: Option>) -> Self { self._fields.34 = value; self } @@ -4523,10 +4331,7 @@ impl MusicGroupBuilder { self } /// Set the `foundingLocation` field to an Option value (optional) - pub fn maybe_founding_location( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_founding_location(mut self, value: Option>) -> Self { self._fields.35 = value; self } @@ -4600,10 +4405,7 @@ impl MusicGroupBuilder { self } /// Set the `hasCertification` field to an Option value (optional) - pub fn maybe_has_certification( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_has_certification(mut self, value: Option>) -> Self { self._fields.40 = value; self } @@ -4611,18 +4413,12 @@ impl MusicGroupBuilder { impl MusicGroupBuilder { /// Set the `hasCredential` field (optional) - pub fn has_credential( - mut self, - value: impl Into>>, - ) -> Self { + pub fn has_credential(mut self, value: impl Into>>) -> Self { self._fields.41 = value.into(); self } /// Set the `hasCredential` field to an Option value (optional) - pub fn maybe_has_credential( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_has_credential(mut self, value: Option>) -> Self { self._fields.41 = value; self } @@ -4695,10 +4491,7 @@ impl MusicGroupBuilder { self } /// Set the `hasOfferCatalog` field to an Option value (optional) - pub fn maybe_has_offer_catalog( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_has_offer_catalog(mut self, value: Option>) -> Self { self._fields.45 = value; self } @@ -4757,10 +4550,7 @@ impl MusicGroupBuilder { impl MusicGroupBuilder { /// Set the `identifier` field (optional) - pub fn identifier( - mut self, - value: impl Into>>, - ) -> Self { + pub fn identifier(mut self, value: impl Into>>) -> Self { self._fields.49 = value.into(); self } @@ -4818,18 +4608,12 @@ impl MusicGroupBuilder { impl MusicGroupBuilder { /// Set the `iso6523Code` field (optional) - pub fn iso6523_code( - mut self, - value: impl Into>>, - ) -> Self { + pub fn iso6523_code(mut self, value: impl Into>>) -> Self { self._fields.53 = value.into(); self } /// Set the `iso6523Code` field to an Option value (optional) - pub fn maybe_iso6523_code( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_iso6523_code(mut self, value: Option>) -> Self { self._fields.53 = value; self } @@ -4850,10 +4634,7 @@ impl MusicGroupBuilder { impl MusicGroupBuilder { /// Set the `knowsAbout` field (optional) - pub fn knows_about( - mut self, - value: impl Into>>, - ) -> Self { + pub fn knows_about(mut self, value: impl Into>>) -> Self { self._fields.55 = value.into(); self } @@ -4866,18 +4647,12 @@ impl MusicGroupBuilder { impl MusicGroupBuilder { /// Set the `knowsLanguage` field (optional) - pub fn knows_language( - mut self, - value: impl Into>>, - ) -> Self { + pub fn knows_language(mut self, value: impl Into>>) -> Self { self._fields.56 = value.into(); self } /// Set the `knowsLanguage` field to an Option value (optional) - pub fn maybe_knows_language( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_knows_language(mut self, value: Option>) -> Self { self._fields.56 = value; self } @@ -4885,18 +4660,12 @@ impl MusicGroupBuilder { impl MusicGroupBuilder { /// Set the `legalAddress` field (optional) - pub fn legal_address( - mut self, - value: impl Into>>, - ) -> Self { + pub fn legal_address(mut self, value: impl Into>>) -> Self { self._fields.57 = value.into(); self } /// Set the `legalAddress` field to an Option value (optional) - pub fn maybe_legal_address( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_legal_address(mut self, value: Option>) -> Self { self._fields.57 = value; self } @@ -4904,10 +4673,7 @@ impl MusicGroupBuilder { impl MusicGroupBuilder { /// Set the `legalName` field (optional) - pub fn legal_name( - mut self, - value: impl Into>>, - ) -> Self { + pub fn legal_name(mut self, value: impl Into>>) -> Self { self._fields.58 = value.into(); self } @@ -4997,10 +4763,7 @@ impl MusicGroupBuilder { impl MusicGroupBuilder { /// Set the `makesOffer` field (optional) - pub fn makes_offer( - mut self, - value: impl Into>>, - ) -> Self { + pub fn makes_offer(mut self, value: impl Into>>) -> Self { self._fields.64 = value.into(); self } @@ -5105,10 +4868,7 @@ impl MusicGroupBuilder { self } /// Set the `nonprofitStatus` field to an Option value (optional) - pub fn maybe_nonprofit_status( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_nonprofit_status(mut self, value: Option>) -> Self { self._fields.71 = value; self } @@ -5194,10 +4954,7 @@ impl MusicGroupBuilder { self } /// Set the `potentialAction` field to an Option value (optional) - pub fn maybe_potential_action( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_potential_action(mut self, value: Option>) -> Self { self._fields.76 = value; self } @@ -5276,18 +5033,12 @@ impl MusicGroupBuilder { impl MusicGroupBuilder { /// Set the `serviceArea` field (optional) - pub fn service_area( - mut self, - value: impl Into>>, - ) -> Self { + pub fn service_area(mut self, value: impl Into>>) -> Self { self._fields.82 = value.into(); self } /// Set the `serviceArea` field to an Option value (optional) - pub fn maybe_service_area( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_service_area(mut self, value: Option>) -> Self { self._fields.82 = value; self } @@ -5342,10 +5093,7 @@ impl MusicGroupBuilder { self } /// Set the `subOrganization` field to an Option value (optional) - pub fn maybe_sub_organization( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_sub_organization(mut self, value: Option>) -> Self { self._fields.86 = value; self } @@ -5353,10 +5101,7 @@ impl MusicGroupBuilder { impl MusicGroupBuilder { /// Set the `subjectOf` field (optional) - pub fn subject_of( - mut self, - value: impl Into>>, - ) -> Self { + pub fn subject_of(mut self, value: impl Into>>) -> Self { self._fields.87 = value.into(); self } @@ -5382,10 +5127,7 @@ impl MusicGroupBuilder { impl MusicGroupBuilder { /// Set the `telephone` field (optional) - pub fn telephone( - mut self, - value: impl Into>>, - ) -> Self { + pub fn telephone(mut self, value: impl Into>>) -> Self { self._fields.89 = value.into(); self } @@ -5573,10 +5315,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> MusicGroup { + pub fn build_with_data(self, extra_data: BTreeMap>) -> MusicGroup { MusicGroup { accepted_payment_method: self._fields.0, actionable_feedback_policy: self._fields.1, @@ -5676,4 +5415,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/social_flockfeeds/lexical/type/news_article.rs b/crates/jacquard-api/src/social_flockfeeds/lexical/type/news_article.rs index 416ea5ef..9d495820 100644 --- a/crates/jacquard-api/src/social_flockfeeds/lexical/type/news_article.rs +++ b/crates/jacquard-api/src/social_flockfeeds/lexical/type/news_article.rs @@ -17,21 +17,24 @@ use jacquard_derive::{IntoStatic, open_union}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::social_flockfeeds::lexical::r#type::event; use crate::social_flockfeeds::lexical::r#type::image_object; use crate::social_flockfeeds::lexical::r#type::offer; use crate::social_flockfeeds::lexical::r#type::organization; use crate::social_flockfeeds::lexical::r#type::person; use crate::social_flockfeeds::lexical::r#type::product; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; /** A NewsArticle is an article whose content reports news, or provides background context and supporting materials for understanding the news. A more detailed overview of [schema.org News markup](/docs/news.html) is also available.*/ #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Embedded { #[serde(skip_serializing_if = "Option::is_none")] pub about: Option>, @@ -315,7 +318,6 @@ pub struct Embedded { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -369,7 +371,6 @@ pub enum EmbeddedAccountablePerson { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -440,7 +441,6 @@ pub enum EmbeddedAuthor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -464,7 +464,6 @@ pub enum EmbeddedCharacter { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -510,7 +509,6 @@ pub enum EmbeddedContributor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -521,7 +519,6 @@ pub enum EmbeddedCopyrightHolder { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -557,7 +554,6 @@ pub enum EmbeddedCreator { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -616,7 +612,6 @@ pub enum EmbeddedEditor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -672,7 +667,6 @@ pub enum EmbeddedFunder { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -706,7 +700,6 @@ pub enum EmbeddedImage { ImageObjectEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -740,7 +733,6 @@ pub enum EmbeddedIsBasedOn { ProductEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -749,7 +741,6 @@ pub enum EmbeddedIsBasedOnUrl { ProductEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -800,7 +791,6 @@ pub enum EmbeddedMaintainer { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -809,7 +799,6 @@ pub enum EmbeddedMaterial { ProductEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -833,7 +822,6 @@ pub enum EmbeddedOffers { OfferEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -894,7 +882,6 @@ pub enum EmbeddedProducer { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -905,7 +892,6 @@ pub enum EmbeddedProvider { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -921,7 +907,6 @@ pub enum EmbeddedPublisher { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -930,7 +915,6 @@ pub enum EmbeddedPublisherImprint { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -944,7 +928,6 @@ pub enum EmbeddedRecordedAt { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -990,7 +973,6 @@ pub enum EmbeddedSdPublisher { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1004,7 +986,6 @@ pub enum EmbeddedSourceOrganization { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1030,7 +1011,6 @@ pub enum EmbeddedSponsor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1039,7 +1019,6 @@ pub enum EmbeddedSubjectOf { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1068,7 +1047,6 @@ pub enum EmbeddedThumbnail { ImageObjectEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1094,7 +1072,6 @@ pub enum EmbeddedTranslator { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1139,7 +1116,10 @@ pub enum EmbeddedWorkTranslation {} A more detailed overview of [schema.org News markup](/docs/news.html) is also available.*/ #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct NewsArticle { #[serde(skip_serializing_if = "Option::is_none")] pub about: Option>, @@ -1423,7 +1403,6 @@ pub struct NewsArticle { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1477,7 +1456,6 @@ pub enum NewsArticleAccountablePerson { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1548,7 +1526,6 @@ pub enum NewsArticleAuthor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1572,7 +1549,6 @@ pub enum NewsArticleCharacter { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1618,7 +1594,6 @@ pub enum NewsArticleContributor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1629,7 +1604,6 @@ pub enum NewsArticleCopyrightHolder { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1665,7 +1639,6 @@ pub enum NewsArticleCreator { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1724,7 +1697,6 @@ pub enum NewsArticleEditor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1780,7 +1752,6 @@ pub enum NewsArticleFunder { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1814,7 +1785,6 @@ pub enum NewsArticleImage { ImageObjectEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1848,7 +1818,6 @@ pub enum NewsArticleIsBasedOn { ProductEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1857,7 +1826,6 @@ pub enum NewsArticleIsBasedOnUrl { ProductEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1908,7 +1876,6 @@ pub enum NewsArticleMaintainer { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1917,7 +1884,6 @@ pub enum NewsArticleMaterial { ProductEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1941,7 +1907,6 @@ pub enum NewsArticleOffers { OfferEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2002,7 +1967,6 @@ pub enum NewsArticleProducer { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2013,7 +1977,6 @@ pub enum NewsArticleProvider { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2029,7 +1992,6 @@ pub enum NewsArticlePublisher { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2038,7 +2000,6 @@ pub enum NewsArticlePublisherImprint { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2052,7 +2013,6 @@ pub enum NewsArticleRecordedAt { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2098,7 +2058,6 @@ pub enum NewsArticleSdPublisher { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2112,7 +2071,6 @@ pub enum NewsArticleSourceOrganization { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2138,7 +2096,6 @@ pub enum NewsArticleSponsor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2147,7 +2104,6 @@ pub enum NewsArticleSubjectOf { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2176,7 +2132,6 @@ pub enum NewsArticleThumbnail { ImageObjectEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2202,7 +2157,6 @@ pub enum NewsArticleTranslator { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2273,10 +2227,10 @@ impl LexiconSchema for NewsArticle { } fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("social.flockfeeds.lexical.type.NewsArticle"), @@ -5202,4 +5156,4 @@ fn lexicon_doc_social_flockfeeds_lexical_type_NewsArticle() -> LexiconDoc<'stati }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/social_flockfeeds/lexical/type/offer.rs b/crates/jacquard-api/src/social_flockfeeds/lexical/type/offer.rs index 6904169e..d500035f 100644 --- a/crates/jacquard-api/src/social_flockfeeds/lexical/type/offer.rs +++ b/crates/jacquard-api/src/social_flockfeeds/lexical/type/offer.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,19 +24,22 @@ use jacquard_derive::{IntoStatic, lexicon, open_union}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::social_flockfeeds::lexical::r#type::event; use crate::social_flockfeeds::lexical::r#type::image_object; use crate::social_flockfeeds::lexical::r#type::offer; use crate::social_flockfeeds::lexical::r#type::organization; use crate::social_flockfeeds::lexical::r#type::person; use crate::social_flockfeeds::lexical::r#type::product; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; /// An offer to transfer some rights to an item or to provide a service — for example, an offer to sell tickets to an event, to rent the DVD of a movie, to stream a TV show over the internet, to repair a motorcycle, or to loan a book.\n\nNote: As the [[businessFunction]] property, which identifies the form of offer (e.g. sell, lease, repair, dispose), defaults to http://purl.org/goodrelations/v1#Sell; an Offer without a defined businessFunction value can be assumed to be an offer to sell.\n\nFor [GTIN](http://www.gs1.org/barcodes/technical/idkeys/gtin)-related fields, see [Check Digit calculator](http://www.gs1.org/barcodes/support/check_digit_calculator) and [validation guide](http://www.gs1us.org/resources/standards/gtin-validation-guide) from [GS1](http://www.gs1.org/). #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Embedded { #[serde(skip_serializing_if = "Option::is_none")] pub accepted_payment_method: Option>, @@ -174,7 +177,6 @@ pub struct Embedded { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -188,7 +190,6 @@ pub enum EmbeddedAddOn { Embedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -362,7 +363,6 @@ pub enum EmbeddedImage { ImageObjectEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -398,7 +398,6 @@ pub enum EmbeddedItemOffered { ProductEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -434,7 +433,6 @@ pub enum EmbeddedOfferedBy { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -485,7 +483,6 @@ pub enum EmbeddedSeller { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -509,7 +506,6 @@ pub enum EmbeddedSubjectOf { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -679,7 +675,6 @@ pub struct Offer { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -693,7 +688,6 @@ pub enum OfferAddOn { Embedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -867,7 +861,6 @@ pub enum OfferImage { ImageObjectEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -903,7 +896,6 @@ pub enum OfferItemOffered { ProductEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -939,7 +931,6 @@ pub enum OfferOfferedBy { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -990,7 +981,6 @@ pub enum OfferSeller { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1014,7 +1004,6 @@ pub enum OfferSubjectOf { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1114,10 +1103,10 @@ impl LexiconSchema for Offer { } fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("social.flockfeeds.lexical.type.Offer"), @@ -2551,7 +2540,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> LexiconDoc<'static> { pub mod offer_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -2655,72 +2644,11 @@ impl OfferBuilder { OfferBuilder { _state: PhantomData, _fields: ( - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, ), _type: PhantomData, } @@ -2769,10 +2697,7 @@ impl OfferBuilder { self } /// Set the `additionalProperty` field to an Option value (optional) - pub fn maybe_additional_property( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_additional_property(mut self, value: Option>) -> Self { self._fields.2 = value; self } @@ -2780,18 +2705,12 @@ impl OfferBuilder { impl OfferBuilder { /// Set the `additionalType` field (optional) - pub fn additional_type( - mut self, - value: impl Into>>, - ) -> Self { + pub fn additional_type(mut self, value: impl Into>>) -> Self { self._fields.3 = value.into(); self } /// Set the `additionalType` field to an Option value (optional) - pub fn maybe_additional_type( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_additional_type(mut self, value: Option>) -> Self { self._fields.3 = value; self } @@ -2818,18 +2737,12 @@ impl OfferBuilder { impl OfferBuilder { /// Set the `aggregateRating` field (optional) - pub fn aggregate_rating( - mut self, - value: impl Into>>, - ) -> Self { + pub fn aggregate_rating(mut self, value: impl Into>>) -> Self { self._fields.5 = value.into(); self } /// Set the `aggregateRating` field to an Option value (optional) - pub fn maybe_aggregate_rating( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_aggregate_rating(mut self, value: Option>) -> Self { self._fields.5 = value; self } @@ -2837,10 +2750,7 @@ impl OfferBuilder { impl OfferBuilder { /// Set the `alternateName` field (optional) - pub fn alternate_name( - mut self, - value: impl Into>>, - ) -> Self { + pub fn alternate_name(mut self, value: impl Into>>) -> Self { self._fields.6 = value.into(); self } @@ -2879,10 +2789,7 @@ impl OfferBuilder { impl OfferBuilder { /// Set the `availability` field (optional) - pub fn availability( - mut self, - value: impl Into>>, - ) -> Self { + pub fn availability(mut self, value: impl Into>>) -> Self { self._fields.9 = value.into(); self } @@ -2895,18 +2802,12 @@ impl OfferBuilder { impl OfferBuilder { /// Set the `availabilityEnds` field (optional) - pub fn availability_ends( - mut self, - value: impl Into>>, - ) -> Self { + pub fn availability_ends(mut self, value: impl Into>>) -> Self { self._fields.10 = value.into(); self } /// Set the `availabilityEnds` field to an Option value (optional) - pub fn maybe_availability_ends( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_availability_ends(mut self, value: Option>) -> Self { self._fields.10 = value; self } @@ -2922,10 +2823,7 @@ impl OfferBuilder { self } /// Set the `availabilityStarts` field to an Option value (optional) - pub fn maybe_availability_starts( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_availability_starts(mut self, value: Option>) -> Self { self._fields.11 = value; self } @@ -2941,10 +2839,7 @@ impl OfferBuilder { self } /// Set the `availableAtOrFrom` field to an Option value (optional) - pub fn maybe_available_at_or_from( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_available_at_or_from(mut self, value: Option>) -> Self { self._fields.12 = value; self } @@ -2971,18 +2866,12 @@ impl OfferBuilder { impl OfferBuilder { /// Set the `businessFunction` field (optional) - pub fn business_function( - mut self, - value: impl Into>>, - ) -> Self { + pub fn business_function(mut self, value: impl Into>>) -> Self { self._fields.14 = value.into(); self } /// Set the `businessFunction` field to an Option value (optional) - pub fn maybe_business_function( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_business_function(mut self, value: Option>) -> Self { self._fields.14 = value; self } @@ -3030,10 +2919,7 @@ impl OfferBuilder { self } /// Set the `deliveryLeadTime` field to an Option value (optional) - pub fn maybe_delivery_lead_time( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_delivery_lead_time(mut self, value: Option>) -> Self { self._fields.17 = value; self } @@ -3092,18 +2978,12 @@ impl OfferBuilder { impl OfferBuilder { /// Set the `eligibleDuration` field (optional) - pub fn eligible_duration( - mut self, - value: impl Into>>, - ) -> Self { + pub fn eligible_duration(mut self, value: impl Into>>) -> Self { self._fields.21 = value.into(); self } /// Set the `eligibleDuration` field to an Option value (optional) - pub fn maybe_eligible_duration( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_eligible_duration(mut self, value: Option>) -> Self { self._fields.21 = value; self } @@ -3111,18 +2991,12 @@ impl OfferBuilder { impl OfferBuilder { /// Set the `eligibleQuantity` field (optional) - pub fn eligible_quantity( - mut self, - value: impl Into>>, - ) -> Self { + pub fn eligible_quantity(mut self, value: impl Into>>) -> Self { self._fields.22 = value.into(); self } /// Set the `eligibleQuantity` field to an Option value (optional) - pub fn maybe_eligible_quantity( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_eligible_quantity(mut self, value: Option>) -> Self { self._fields.22 = value; self } @@ -3130,18 +3004,12 @@ impl OfferBuilder { impl OfferBuilder { /// Set the `eligibleRegion` field (optional) - pub fn eligible_region( - mut self, - value: impl Into>>, - ) -> Self { + pub fn eligible_region(mut self, value: impl Into>>) -> Self { self._fields.23 = value.into(); self } /// Set the `eligibleRegion` field to an Option value (optional) - pub fn maybe_eligible_region( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_eligible_region(mut self, value: Option>) -> Self { self._fields.23 = value; self } @@ -3260,10 +3128,7 @@ impl OfferBuilder { self } /// Set the `hasGS1DigitalLink` field to an Option value (optional) - pub fn maybe_has_gs1_digital_link( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_has_gs1_digital_link(mut self, value: Option>) -> Self { self._fields.31 = value; self } @@ -3271,18 +3136,12 @@ impl OfferBuilder { impl OfferBuilder { /// Set the `hasMeasurement` field (optional) - pub fn has_measurement( - mut self, - value: impl Into>>, - ) -> Self { + pub fn has_measurement(mut self, value: impl Into>>) -> Self { self._fields.32 = value.into(); self } /// Set the `hasMeasurement` field to an Option value (optional) - pub fn maybe_has_measurement( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_has_measurement(mut self, value: Option>) -> Self { self._fields.32 = value; self } @@ -3335,18 +3194,12 @@ impl OfferBuilder { impl OfferBuilder { /// Set the `includesObject` field (optional) - pub fn includes_object( - mut self, - value: impl Into>>, - ) -> Self { + pub fn includes_object(mut self, value: impl Into>>) -> Self { self._fields.36 = value.into(); self } /// Set the `includesObject` field to an Option value (optional) - pub fn maybe_includes_object( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_includes_object(mut self, value: Option>) -> Self { self._fields.36 = value; self } @@ -3354,18 +3207,12 @@ impl OfferBuilder { impl OfferBuilder { /// Set the `ineligibleRegion` field (optional) - pub fn ineligible_region( - mut self, - value: impl Into>>, - ) -> Self { + pub fn ineligible_region(mut self, value: impl Into>>) -> Self { self._fields.37 = value.into(); self } /// Set the `ineligibleRegion` field to an Option value (optional) - pub fn maybe_ineligible_region( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_ineligible_region(mut self, value: Option>) -> Self { self._fields.37 = value; self } @@ -3373,18 +3220,12 @@ impl OfferBuilder { impl OfferBuilder { /// Set the `inventoryLevel` field (optional) - pub fn inventory_level( - mut self, - value: impl Into>>, - ) -> Self { + pub fn inventory_level(mut self, value: impl Into>>) -> Self { self._fields.38 = value.into(); self } /// Set the `inventoryLevel` field to an Option value (optional) - pub fn maybe_inventory_level( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_inventory_level(mut self, value: Option>) -> Self { self._fields.38 = value; self } @@ -3400,10 +3241,7 @@ impl OfferBuilder { self } /// Set the `isFamilyFriendly` field to an Option value (optional) - pub fn maybe_is_family_friendly( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_is_family_friendly(mut self, value: Option>) -> Self { self._fields.39 = value; self } @@ -3411,10 +3249,7 @@ impl OfferBuilder { impl OfferBuilder { /// Set the `itemCondition` field (optional) - pub fn item_condition( - mut self, - value: impl Into>>, - ) -> Self { + pub fn item_condition(mut self, value: impl Into>>) -> Self { self._fields.40 = value.into(); self } @@ -3427,10 +3262,7 @@ impl OfferBuilder { impl OfferBuilder { /// Set the `itemOffered` field (optional) - pub fn item_offered( - mut self, - value: impl Into>>, - ) -> Self { + pub fn item_offered(mut self, value: impl Into>>) -> Self { self._fields.41 = value.into(); self } @@ -3443,10 +3275,7 @@ impl OfferBuilder { impl OfferBuilder { /// Set the `leaseLength` field (optional) - pub fn lease_length( - mut self, - value: impl Into>>, - ) -> Self { + pub fn lease_length(mut self, value: impl Into>>) -> Self { self._fields.42 = value.into(); self } @@ -3467,10 +3296,7 @@ impl OfferBuilder { self } /// Set the `mainEntityOfPage` field to an Option value (optional) - pub fn maybe_main_entity_of_page( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_main_entity_of_page(mut self, value: Option>) -> Self { self._fields.43 = value; self } @@ -3530,18 +3356,12 @@ impl OfferBuilder { impl OfferBuilder { /// Set the `potentialAction` field (optional) - pub fn potential_action( - mut self, - value: impl Into>>, - ) -> Self { + pub fn potential_action(mut self, value: impl Into>>) -> Self { self._fields.48 = value.into(); self } /// Set the `potentialAction` field to an Option value (optional) - pub fn maybe_potential_action( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_potential_action(mut self, value: Option>) -> Self { self._fields.48 = value; self } @@ -3562,10 +3382,7 @@ impl OfferBuilder { impl OfferBuilder { /// Set the `priceCurrency` field (optional) - pub fn price_currency( - mut self, - value: impl Into>>, - ) -> Self { + pub fn price_currency(mut self, value: impl Into>>) -> Self { self._fields.50 = value.into(); self } @@ -3586,10 +3403,7 @@ impl OfferBuilder { self } /// Set the `priceSpecification` field to an Option value (optional) - pub fn maybe_price_specification( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_price_specification(mut self, value: Option>) -> Self { self._fields.51 = value; self } @@ -3597,18 +3411,12 @@ impl OfferBuilder { impl OfferBuilder { /// Set the `priceValidUntil` field (optional) - pub fn price_valid_until( - mut self, - value: impl Into>>, - ) -> Self { + pub fn price_valid_until(mut self, value: impl Into>>) -> Self { self._fields.52 = value.into(); self } /// Set the `priceValidUntil` field to an Option value (optional) - pub fn maybe_price_valid_until( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_price_valid_until(mut self, value: Option>) -> Self { self._fields.52 = value; self } @@ -3668,10 +3476,7 @@ impl OfferBuilder { impl OfferBuilder { /// Set the `serialNumber` field (optional) - pub fn serial_number( - mut self, - value: impl Into>>, - ) -> Self { + pub fn serial_number(mut self, value: impl Into>>) -> Self { self._fields.57 = value.into(); self } @@ -3684,18 +3489,12 @@ impl OfferBuilder { impl OfferBuilder { /// Set the `shippingDetails` field (optional) - pub fn shipping_details( - mut self, - value: impl Into>>, - ) -> Self { + pub fn shipping_details(mut self, value: impl Into>>) -> Self { self._fields.58 = value.into(); self } /// Set the `shippingDetails` field to an Option value (optional) - pub fn maybe_shipping_details( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_shipping_details(mut self, value: Option>) -> Self { self._fields.58 = value; self } @@ -3774,10 +3573,7 @@ impl OfferBuilder { impl OfferBuilder { /// Set the `validThrough` field (optional) - pub fn valid_through( - mut self, - value: impl Into>>, - ) -> Self { + pub fn valid_through(mut self, value: impl Into>>) -> Self { self._fields.64 = value.into(); self } @@ -3949,4 +3745,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/social_flockfeeds/lexical/type/organization.rs b/crates/jacquard-api/src/social_flockfeeds/lexical/type/organization.rs index de33ed87..788da5e0 100644 --- a/crates/jacquard-api/src/social_flockfeeds/lexical/type/organization.rs +++ b/crates/jacquard-api/src/social_flockfeeds/lexical/type/organization.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,9 +24,6 @@ use jacquard_derive::{IntoStatic, lexicon, open_union}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::social_flockfeeds::lexical::r#type::article; use crate::social_flockfeeds::lexical::r#type::brand; use crate::social_flockfeeds::lexical::r#type::event; @@ -35,10 +32,16 @@ use crate::social_flockfeeds::lexical::r#type::offer; use crate::social_flockfeeds::lexical::r#type::organization; use crate::social_flockfeeds::lexical::r#type::person; use crate::social_flockfeeds::lexical::r#type::product; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; /// An organization such as a school, NGO, corporation, club, etc. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Embedded { #[serde(skip_serializing_if = "Option::is_none")] pub accepted_payment_method: Option>, @@ -222,7 +225,6 @@ pub struct Embedded { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -266,7 +268,6 @@ pub enum EmbeddedAlumni { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -292,7 +293,6 @@ pub enum EmbeddedBrand { Embedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -321,7 +321,6 @@ pub enum EmbeddedDepartment { Embedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -350,7 +349,6 @@ pub enum EmbeddedDiversityStaffingReport { ArticleEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -369,7 +367,6 @@ pub enum EmbeddedEmployee { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -378,7 +375,6 @@ pub enum EmbeddedEmployees { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -392,7 +388,6 @@ pub enum EmbeddedEvent { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -401,7 +396,6 @@ pub enum EmbeddedEvents { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -417,7 +411,6 @@ pub enum EmbeddedFounder { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -426,7 +419,6 @@ pub enum EmbeddedFounders { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -447,7 +439,6 @@ pub enum EmbeddedFunder { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -516,7 +507,6 @@ pub enum EmbeddedImage { ImageObjectEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -565,7 +555,6 @@ pub enum EmbeddedLegalRepresentative { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -584,7 +573,6 @@ pub enum EmbeddedLogo { ImageObjectEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -598,7 +586,6 @@ pub enum EmbeddedMakesOffer { OfferEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -609,7 +596,6 @@ pub enum EmbeddedMember { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -618,7 +604,6 @@ pub enum EmbeddedMemberOf { Embedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -629,7 +614,6 @@ pub enum EmbeddedMembers { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -663,7 +647,6 @@ pub enum EmbeddedOwns { ProductEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -672,7 +655,6 @@ pub enum EmbeddedParentOrganization { Embedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -728,7 +710,6 @@ pub enum EmbeddedSponsor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -737,7 +718,6 @@ pub enum EmbeddedSubOrganization { Embedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -746,7 +726,6 @@ pub enum EmbeddedSubjectOf { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -962,7 +941,6 @@ pub struct Organization { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1006,7 +984,6 @@ pub enum OrganizationAlumni { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1032,7 +1009,6 @@ pub enum OrganizationBrand { Embedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1061,7 +1037,6 @@ pub enum OrganizationDepartment { Embedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1090,7 +1065,6 @@ pub enum OrganizationDiversityStaffingReport { ArticleEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1109,7 +1083,6 @@ pub enum OrganizationEmployee { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1118,7 +1091,6 @@ pub enum OrganizationEmployees { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1132,7 +1104,6 @@ pub enum OrganizationEvent { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1141,7 +1112,6 @@ pub enum OrganizationEvents { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1157,7 +1127,6 @@ pub enum OrganizationFounder { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1166,7 +1135,6 @@ pub enum OrganizationFounders { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1187,7 +1155,6 @@ pub enum OrganizationFunder { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1256,7 +1223,6 @@ pub enum OrganizationImage { ImageObjectEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1305,7 +1271,6 @@ pub enum OrganizationLegalRepresentative { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1324,7 +1289,6 @@ pub enum OrganizationLogo { ImageObjectEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1338,7 +1302,6 @@ pub enum OrganizationMakesOffer { OfferEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1349,7 +1312,6 @@ pub enum OrganizationMember { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1358,7 +1320,6 @@ pub enum OrganizationMemberOf { Embedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1369,7 +1330,6 @@ pub enum OrganizationMembers { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1403,7 +1363,6 @@ pub enum OrganizationOwns { ProductEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1412,7 +1371,6 @@ pub enum OrganizationParentOrganization { Embedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1468,7 +1426,6 @@ pub enum OrganizationSponsor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1477,7 +1434,6 @@ pub enum OrganizationSubOrganization { Embedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1486,7 +1442,6 @@ pub enum OrganizationSubjectOf { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1586,10 +1541,10 @@ impl LexiconSchema for Organization { } fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("social.flockfeeds.lexical.type.Organization"), @@ -3499,7 +3454,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> LexiconDoc<'stat pub mod organization_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -3626,95 +3581,13 @@ impl OrganizationBuilder { OrganizationBuilder { _state: PhantomData, _fields: ( - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, ), _type: PhantomData, } @@ -3769,10 +3642,7 @@ impl OrganizationBuilder { self } /// Set the `additionalType` field to an Option value (optional) - pub fn maybe_additional_type( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_additional_type(mut self, value: Option>) -> Self { self._fields.2 = value; self } @@ -3820,10 +3690,7 @@ impl OrganizationBuilder { self } /// Set the `aggregateRating` field to an Option value (optional) - pub fn maybe_aggregate_rating( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_aggregate_rating(mut self, value: Option>) -> Self { self._fields.5 = value; self } @@ -3839,10 +3706,7 @@ impl OrganizationBuilder { self } /// Set the `alternateName` field to an Option value (optional) - pub fn maybe_alternate_name( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_alternate_name(mut self, value: Option>) -> Self { self._fields.6 = value; self } @@ -3863,18 +3727,12 @@ impl OrganizationBuilder { impl OrganizationBuilder { /// Set the `areaServed` field (optional) - pub fn area_served( - mut self, - value: impl Into>>, - ) -> Self { + pub fn area_served(mut self, value: impl Into>>) -> Self { self._fields.8 = value.into(); self } /// Set the `areaServed` field to an Option value (optional) - pub fn maybe_area_served( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_area_served(mut self, value: Option>) -> Self { self._fields.8 = value; self } @@ -3940,18 +3798,12 @@ impl OrganizationBuilder { impl OrganizationBuilder { /// Set the `contactPoint` field (optional) - pub fn contact_point( - mut self, - value: impl Into>>, - ) -> Self { + pub fn contact_point(mut self, value: impl Into>>) -> Self { self._fields.13 = value.into(); self } /// Set the `contactPoint` field to an Option value (optional) - pub fn maybe_contact_point( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_contact_point(mut self, value: Option>) -> Self { self._fields.13 = value; self } @@ -3967,10 +3819,7 @@ impl OrganizationBuilder { self } /// Set the `contactPoints` field to an Option value (optional) - pub fn maybe_contact_points( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_contact_points(mut self, value: Option>) -> Self { self._fields.14 = value; self } @@ -3997,10 +3846,7 @@ impl OrganizationBuilder { impl OrganizationBuilder { /// Set the `department` field (optional) - pub fn department( - mut self, - value: impl Into>>, - ) -> Self { + pub fn department(mut self, value: impl Into>>) -> Self { self._fields.16 = value.into(); self } @@ -4013,18 +3859,12 @@ impl OrganizationBuilder { impl OrganizationBuilder { /// Set the `description` field (optional) - pub fn description( - mut self, - value: impl Into>>, - ) -> Self { + pub fn description(mut self, value: impl Into>>) -> Self { self._fields.17 = value.into(); self } /// Set the `description` field to an Option value (optional) - pub fn maybe_description( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_description(mut self, value: Option>) -> Self { self._fields.17 = value; self } @@ -4059,10 +3899,7 @@ impl OrganizationBuilder { self } /// Set the `dissolutionDate` field to an Option value (optional) - pub fn maybe_dissolution_date( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_dissolution_date(mut self, value: Option>) -> Self { self._fields.19 = value; self } @@ -4078,10 +3915,7 @@ impl OrganizationBuilder { self } /// Set the `diversityPolicy` field to an Option value (optional) - pub fn maybe_diversity_policy( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_diversity_policy(mut self, value: Option>) -> Self { self._fields.20 = value; self } @@ -4134,10 +3968,7 @@ impl OrganizationBuilder { impl OrganizationBuilder { /// Set the `employee` field (optional) - pub fn employee( - mut self, - value: impl Into>>, - ) -> Self { + pub fn employee(mut self, value: impl Into>>) -> Self { self._fields.24 = value.into(); self } @@ -4150,10 +3981,7 @@ impl OrganizationBuilder { impl OrganizationBuilder { /// Set the `employees` field (optional) - pub fn employees( - mut self, - value: impl Into>>, - ) -> Self { + pub fn employees(mut self, value: impl Into>>) -> Self { self._fields.25 = value.into(); self } @@ -4166,18 +3994,12 @@ impl OrganizationBuilder { impl OrganizationBuilder { /// Set the `ethicsPolicy` field (optional) - pub fn ethics_policy( - mut self, - value: impl Into>>, - ) -> Self { + pub fn ethics_policy(mut self, value: impl Into>>) -> Self { self._fields.26 = value.into(); self } /// Set the `ethicsPolicy` field to an Option value (optional) - pub fn maybe_ethics_policy( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_ethics_policy(mut self, value: Option>) -> Self { self._fields.26 = value; self } @@ -4211,10 +4033,7 @@ impl OrganizationBuilder { impl OrganizationBuilder { /// Set the `faxNumber` field (optional) - pub fn fax_number( - mut self, - value: impl Into>>, - ) -> Self { + pub fn fax_number(mut self, value: impl Into>>) -> Self { self._fields.29 = value.into(); self } @@ -4240,10 +4059,7 @@ impl OrganizationBuilder { impl OrganizationBuilder { /// Set the `founders` field (optional) - pub fn founders( - mut self, - value: impl Into>>, - ) -> Self { + pub fn founders(mut self, value: impl Into>>) -> Self { self._fields.31 = value.into(); self } @@ -4256,18 +4072,12 @@ impl OrganizationBuilder { impl OrganizationBuilder { /// Set the `foundingDate` field (optional) - pub fn founding_date( - mut self, - value: impl Into>>, - ) -> Self { + pub fn founding_date(mut self, value: impl Into>>) -> Self { self._fields.32 = value.into(); self } /// Set the `foundingDate` field to an Option value (optional) - pub fn maybe_founding_date( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_founding_date(mut self, value: Option>) -> Self { self._fields.32 = value; self } @@ -4366,10 +4176,7 @@ impl OrganizationBuilder { self } /// Set the `hasCredential` field to an Option value (optional) - pub fn maybe_has_credential( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_has_credential(mut self, value: Option>) -> Self { self._fields.38 = value; self } @@ -4504,10 +4311,7 @@ impl OrganizationBuilder { impl OrganizationBuilder { /// Set the `identifier` field (optional) - pub fn identifier( - mut self, - value: impl Into>>, - ) -> Self { + pub fn identifier(mut self, value: impl Into>>) -> Self { self._fields.46 = value.into(); self } @@ -4565,18 +4369,12 @@ impl OrganizationBuilder { impl OrganizationBuilder { /// Set the `iso6523Code` field (optional) - pub fn iso6523_code( - mut self, - value: impl Into>>, - ) -> Self { + pub fn iso6523_code(mut self, value: impl Into>>) -> Self { self._fields.50 = value.into(); self } /// Set the `iso6523Code` field to an Option value (optional) - pub fn maybe_iso6523_code( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_iso6523_code(mut self, value: Option>) -> Self { self._fields.50 = value; self } @@ -4584,10 +4382,7 @@ impl OrganizationBuilder { impl OrganizationBuilder { /// Set the `keywords` field (optional) - pub fn keywords( - mut self, - value: impl Into>>, - ) -> Self { + pub fn keywords(mut self, value: impl Into>>) -> Self { self._fields.51 = value.into(); self } @@ -4600,18 +4395,12 @@ impl OrganizationBuilder { impl OrganizationBuilder { /// Set the `knowsAbout` field (optional) - pub fn knows_about( - mut self, - value: impl Into>>, - ) -> Self { + pub fn knows_about(mut self, value: impl Into>>) -> Self { self._fields.52 = value.into(); self } /// Set the `knowsAbout` field to an Option value (optional) - pub fn maybe_knows_about( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_knows_about(mut self, value: Option>) -> Self { self._fields.52 = value; self } @@ -4627,10 +4416,7 @@ impl OrganizationBuilder { self } /// Set the `knowsLanguage` field to an Option value (optional) - pub fn maybe_knows_language( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_knows_language(mut self, value: Option>) -> Self { self._fields.53 = value; self } @@ -4638,18 +4424,12 @@ impl OrganizationBuilder { impl OrganizationBuilder { /// Set the `legalAddress` field (optional) - pub fn legal_address( - mut self, - value: impl Into>>, - ) -> Self { + pub fn legal_address(mut self, value: impl Into>>) -> Self { self._fields.54 = value.into(); self } /// Set the `legalAddress` field to an Option value (optional) - pub fn maybe_legal_address( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_legal_address(mut self, value: Option>) -> Self { self._fields.54 = value; self } @@ -4657,10 +4437,7 @@ impl OrganizationBuilder { impl OrganizationBuilder { /// Set the `legalName` field (optional) - pub fn legal_name( - mut self, - value: impl Into>>, - ) -> Self { + pub fn legal_name(mut self, value: impl Into>>) -> Self { self._fields.55 = value.into(); self } @@ -4705,10 +4482,7 @@ impl OrganizationBuilder { impl OrganizationBuilder { /// Set the `location` field (optional) - pub fn location( - mut self, - value: impl Into>>, - ) -> Self { + pub fn location(mut self, value: impl Into>>) -> Self { self._fields.58 = value.into(); self } @@ -4753,18 +4527,12 @@ impl OrganizationBuilder { impl OrganizationBuilder { /// Set the `makesOffer` field (optional) - pub fn makes_offer( - mut self, - value: impl Into>>, - ) -> Self { + pub fn makes_offer(mut self, value: impl Into>>) -> Self { self._fields.61 = value.into(); self } /// Set the `makesOffer` field to an Option value (optional) - pub fn maybe_makes_offer( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_makes_offer(mut self, value: Option>) -> Self { self._fields.61 = value; self } @@ -4785,10 +4553,7 @@ impl OrganizationBuilder { impl OrganizationBuilder { /// Set the `memberOf` field (optional) - pub fn member_of( - mut self, - value: impl Into>>, - ) -> Self { + pub fn member_of(mut self, value: impl Into>>) -> Self { self._fields.63 = value.into(); self } @@ -4848,10 +4613,7 @@ impl OrganizationBuilder { self } /// Set the `nonprofitStatus` field to an Option value (optional) - pub fn maybe_nonprofit_status( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_nonprofit_status(mut self, value: Option>) -> Self { self._fields.67 = value; self } @@ -4937,10 +4699,7 @@ impl OrganizationBuilder { self } /// Set the `potentialAction` field to an Option value (optional) - pub fn maybe_potential_action( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_potential_action(mut self, value: Option>) -> Self { self._fields.72 = value; self } @@ -5019,18 +4778,12 @@ impl OrganizationBuilder { impl OrganizationBuilder { /// Set the `serviceArea` field (optional) - pub fn service_area( - mut self, - value: impl Into>>, - ) -> Self { + pub fn service_area(mut self, value: impl Into>>) -> Self { self._fields.78 = value.into(); self } /// Set the `serviceArea` field to an Option value (optional) - pub fn maybe_service_area( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_service_area(mut self, value: Option>) -> Self { self._fields.78 = value; self } @@ -5085,10 +4838,7 @@ impl OrganizationBuilder { self } /// Set the `subOrganization` field to an Option value (optional) - pub fn maybe_sub_organization( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_sub_organization(mut self, value: Option>) -> Self { self._fields.82 = value; self } @@ -5096,10 +4846,7 @@ impl OrganizationBuilder { impl OrganizationBuilder { /// Set the `subjectOf` field (optional) - pub fn subject_of( - mut self, - value: impl Into>>, - ) -> Self { + pub fn subject_of(mut self, value: impl Into>>) -> Self { self._fields.83 = value.into(); self } @@ -5125,10 +4872,7 @@ impl OrganizationBuilder { impl OrganizationBuilder { /// Set the `telephone` field (optional) - pub fn telephone( - mut self, - value: impl Into>>, - ) -> Self { + pub fn telephone(mut self, value: impl Into>>) -> Self { self._fields.85 = value.into(); self } @@ -5284,10 +5028,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> Organization { + pub fn build_with_data(self, extra_data: BTreeMap>) -> Organization { Organization { accepted_payment_method: self._fields.0, actionable_feedback_policy: self._fields.1, @@ -5381,4 +5122,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/social_flockfeeds/lexical/type/person.rs b/crates/jacquard-api/src/social_flockfeeds/lexical/type/person.rs index 0decb1e6..702f566d 100644 --- a/crates/jacquard-api/src/social_flockfeeds/lexical/type/person.rs +++ b/crates/jacquard-api/src/social_flockfeeds/lexical/type/person.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,9 +24,6 @@ use jacquard_derive::{IntoStatic, lexicon, open_union}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::social_flockfeeds::lexical::r#type::brand; use crate::social_flockfeeds::lexical::r#type::event; use crate::social_flockfeeds::lexical::r#type::image_object; @@ -34,10 +31,16 @@ use crate::social_flockfeeds::lexical::r#type::offer; use crate::social_flockfeeds::lexical::r#type::organization; use crate::social_flockfeeds::lexical::r#type::person; use crate::social_flockfeeds::lexical::r#type::product; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; /// A person (alive, dead, undead, or fictional). #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Embedded { #[serde(skip_serializing_if = "Option::is_none")] pub additional_name: Option>, @@ -201,7 +204,6 @@ pub struct Embedded { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -225,7 +227,6 @@ pub enum EmbeddedAffiliation { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -244,7 +245,6 @@ pub enum EmbeddedAlumniOf { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -275,7 +275,6 @@ pub enum EmbeddedBrand { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -289,7 +288,6 @@ pub enum EmbeddedChildren { Embedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -298,7 +296,6 @@ pub enum EmbeddedColleague { Embedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -307,7 +304,6 @@ pub enum EmbeddedColleagues { Embedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -366,7 +362,6 @@ pub enum EmbeddedFollows { Embedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -377,7 +372,6 @@ pub enum EmbeddedFunder { Embedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -456,7 +450,6 @@ pub enum EmbeddedImage { ImageObjectEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -480,7 +473,6 @@ pub enum EmbeddedKnows { Embedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -504,7 +496,6 @@ pub enum EmbeddedMakesOffer { OfferEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -513,7 +504,6 @@ pub enum EmbeddedMemberOf { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -542,7 +532,6 @@ pub enum EmbeddedOwns { ProductEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -551,7 +540,6 @@ pub enum EmbeddedParent { Embedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -560,7 +548,6 @@ pub enum EmbeddedParents { Embedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -569,7 +556,6 @@ pub enum EmbeddedPerformerIn { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -593,7 +579,6 @@ pub enum EmbeddedRelatedTo { Embedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -612,7 +597,6 @@ pub enum EmbeddedSibling { Embedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -621,7 +605,6 @@ pub enum EmbeddedSiblings { Embedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -637,7 +620,6 @@ pub enum EmbeddedSponsor { Embedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -646,7 +628,6 @@ pub enum EmbeddedSpouse { Embedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -655,7 +636,6 @@ pub enum EmbeddedSubjectOf { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -694,7 +674,6 @@ pub enum EmbeddedWorksFor { OrganizationEmbedded(Box>), } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde( rename_all = "camelCase", @@ -865,7 +844,6 @@ pub struct Person { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -889,7 +867,6 @@ pub enum PersonAffiliation { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -908,7 +885,6 @@ pub enum PersonAlumniOf { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -939,7 +915,6 @@ pub enum PersonBrand { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -953,7 +928,6 @@ pub enum PersonChildren { Embedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -962,7 +936,6 @@ pub enum PersonColleague { Embedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -971,7 +944,6 @@ pub enum PersonColleagues { Embedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1030,7 +1002,6 @@ pub enum PersonFollows { Embedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1041,7 +1012,6 @@ pub enum PersonFunder { Embedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1120,7 +1090,6 @@ pub enum PersonImage { ImageObjectEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1144,7 +1113,6 @@ pub enum PersonKnows { Embedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1168,7 +1136,6 @@ pub enum PersonMakesOffer { OfferEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1177,7 +1144,6 @@ pub enum PersonMemberOf { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1206,7 +1172,6 @@ pub enum PersonOwns { ProductEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1215,7 +1180,6 @@ pub enum PersonParent { Embedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1224,7 +1188,6 @@ pub enum PersonParents { Embedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1233,7 +1196,6 @@ pub enum PersonPerformerIn { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1257,7 +1219,6 @@ pub enum PersonRelatedTo { Embedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1276,7 +1237,6 @@ pub enum PersonSibling { Embedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1285,7 +1245,6 @@ pub enum PersonSiblings { Embedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1301,7 +1260,6 @@ pub enum PersonSponsor { Embedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1310,7 +1268,6 @@ pub enum PersonSpouse { Embedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1319,7 +1276,6 @@ pub enum PersonSubjectOf { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1433,10 +1389,10 @@ impl LexiconSchema for Person { } fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("social.flockfeeds.lexical.type.Person"), @@ -3124,7 +3080,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Person() -> LexiconDoc<'static> { pub mod person_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -3241,85 +3197,12 @@ impl PersonBuilder { PersonBuilder { _state: PhantomData, _fields: ( - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, ), _type: PhantomData, } @@ -3328,18 +3211,12 @@ impl PersonBuilder { impl PersonBuilder { /// Set the `additionalName` field (optional) - pub fn additional_name( - mut self, - value: impl Into>>, - ) -> Self { + pub fn additional_name(mut self, value: impl Into>>) -> Self { self._fields.0 = value.into(); self } /// Set the `additionalName` field to an Option value (optional) - pub fn maybe_additional_name( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_additional_name(mut self, value: Option>) -> Self { self._fields.0 = value; self } @@ -3347,18 +3224,12 @@ impl PersonBuilder { impl PersonBuilder { /// Set the `additionalType` field (optional) - pub fn additional_type( - mut self, - value: impl Into>>, - ) -> Self { + pub fn additional_type(mut self, value: impl Into>>) -> Self { self._fields.1 = value.into(); self } /// Set the `additionalType` field to an Option value (optional) - pub fn maybe_additional_type( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_additional_type(mut self, value: Option>) -> Self { self._fields.1 = value; self } @@ -3379,10 +3250,7 @@ impl PersonBuilder { impl PersonBuilder { /// Set the `affiliation` field (optional) - pub fn affiliation( - mut self, - value: impl Into>>, - ) -> Self { + pub fn affiliation(mut self, value: impl Into>>) -> Self { self._fields.3 = value.into(); self } @@ -3414,18 +3282,12 @@ impl PersonBuilder { impl PersonBuilder { /// Set the `alternateName` field (optional) - pub fn alternate_name( - mut self, - value: impl Into>>, - ) -> Self { + pub fn alternate_name(mut self, value: impl Into>>) -> Self { self._fields.5 = value.into(); self } /// Set the `alternateName` field to an Option value (optional) - pub fn maybe_alternate_name( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_alternate_name(mut self, value: Option>) -> Self { self._fields.5 = value; self } @@ -3563,10 +3425,7 @@ impl PersonBuilder { impl PersonBuilder { /// Set the `contactPoint` field (optional) - pub fn contact_point( - mut self, - value: impl Into>>, - ) -> Self { + pub fn contact_point(mut self, value: impl Into>>) -> Self { self._fields.16 = value.into(); self } @@ -3579,18 +3438,12 @@ impl PersonBuilder { impl PersonBuilder { /// Set the `contactPoints` field (optional) - pub fn contact_points( - mut self, - value: impl Into>>, - ) -> Self { + pub fn contact_points(mut self, value: impl Into>>) -> Self { self._fields.17 = value.into(); self } /// Set the `contactPoints` field to an Option value (optional) - pub fn maybe_contact_points( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_contact_points(mut self, value: Option>) -> Self { self._fields.17 = value; self } @@ -3624,10 +3477,7 @@ impl PersonBuilder { impl PersonBuilder { /// Set the `description` field (optional) - pub fn description( - mut self, - value: impl Into>>, - ) -> Self { + pub fn description(mut self, value: impl Into>>) -> Self { self._fields.20 = value.into(); self } @@ -3803,10 +3653,7 @@ impl PersonBuilder { self } /// Set the `hasCertification` field to an Option value (optional) - pub fn maybe_has_certification( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_has_certification(mut self, value: Option>) -> Self { self._fields.32 = value; self } @@ -3814,18 +3661,12 @@ impl PersonBuilder { impl PersonBuilder { /// Set the `hasCredential` field (optional) - pub fn has_credential( - mut self, - value: impl Into>>, - ) -> Self { + pub fn has_credential(mut self, value: impl Into>>) -> Self { self._fields.33 = value.into(); self } /// Set the `hasCredential` field to an Option value (optional) - pub fn maybe_has_credential( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_has_credential(mut self, value: Option>) -> Self { self._fields.33 = value; self } @@ -3833,18 +3674,12 @@ impl PersonBuilder { impl PersonBuilder { /// Set the `hasOccupation` field (optional) - pub fn has_occupation( - mut self, - value: impl Into>>, - ) -> Self { + pub fn has_occupation(mut self, value: impl Into>>) -> Self { self._fields.34 = value.into(); self } /// Set the `hasOccupation` field to an Option value (optional) - pub fn maybe_has_occupation( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_has_occupation(mut self, value: Option>) -> Self { self._fields.34 = value; self } @@ -3852,18 +3687,12 @@ impl PersonBuilder { impl PersonBuilder { /// Set the `hasOfferCatalog` field (optional) - pub fn has_offer_catalog( - mut self, - value: impl Into>>, - ) -> Self { + pub fn has_offer_catalog(mut self, value: impl Into>>) -> Self { self._fields.35 = value.into(); self } /// Set the `hasOfferCatalog` field to an Option value (optional) - pub fn maybe_has_offer_catalog( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_has_offer_catalog(mut self, value: Option>) -> Self { self._fields.35 = value; self } @@ -3897,10 +3726,7 @@ impl PersonBuilder { impl PersonBuilder { /// Set the `homeLocation` field (optional) - pub fn home_location( - mut self, - value: impl Into>>, - ) -> Self { + pub fn home_location(mut self, value: impl Into>>) -> Self { self._fields.38 = value.into(); self } @@ -3913,18 +3739,12 @@ impl PersonBuilder { impl PersonBuilder { /// Set the `honorificPrefix` field (optional) - pub fn honorific_prefix( - mut self, - value: impl Into>>, - ) -> Self { + pub fn honorific_prefix(mut self, value: impl Into>>) -> Self { self._fields.39 = value.into(); self } /// Set the `honorificPrefix` field to an Option value (optional) - pub fn maybe_honorific_prefix( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_honorific_prefix(mut self, value: Option>) -> Self { self._fields.39 = value; self } @@ -3932,18 +3752,12 @@ impl PersonBuilder { impl PersonBuilder { /// Set the `honorificSuffix` field (optional) - pub fn honorific_suffix( - mut self, - value: impl Into>>, - ) -> Self { + pub fn honorific_suffix(mut self, value: impl Into>>) -> Self { self._fields.40 = value.into(); self } /// Set the `honorificSuffix` field to an Option value (optional) - pub fn maybe_honorific_suffix( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_honorific_suffix(mut self, value: Option>) -> Self { self._fields.40 = value; self } @@ -4048,18 +3862,12 @@ impl PersonBuilder { impl PersonBuilder { /// Set the `knowsLanguage` field (optional) - pub fn knows_language( - mut self, - value: impl Into>>, - ) -> Self { + pub fn knows_language(mut self, value: impl Into>>) -> Self { self._fields.48 = value.into(); self } /// Set the `knowsLanguage` field to an Option value (optional) - pub fn maybe_knows_language( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_knows_language(mut self, value: Option>) -> Self { self._fields.48 = value; self } @@ -4075,10 +3883,7 @@ impl PersonBuilder { self } /// Set the `mainEntityOfPage` field to an Option value (optional) - pub fn maybe_main_entity_of_page( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_main_entity_of_page(mut self, value: Option>) -> Self { self._fields.49 = value; self } @@ -4138,10 +3943,7 @@ impl PersonBuilder { impl PersonBuilder { /// Set the `nationality` field (optional) - pub fn nationality( - mut self, - value: impl Into>>, - ) -> Self { + pub fn nationality(mut self, value: impl Into>>) -> Self { self._fields.54 = value.into(); self } @@ -4206,10 +4008,7 @@ impl PersonBuilder { impl PersonBuilder { /// Set the `performerIn` field (optional) - pub fn performer_in( - mut self, - value: impl Into>>, - ) -> Self { + pub fn performer_in(mut self, value: impl Into>>) -> Self { self._fields.59 = value.into(); self } @@ -4222,18 +4021,12 @@ impl PersonBuilder { impl PersonBuilder { /// Set the `potentialAction` field (optional) - pub fn potential_action( - mut self, - value: impl Into>>, - ) -> Self { + pub fn potential_action(mut self, value: impl Into>>) -> Self { self._fields.60 = value.into(); self } /// Set the `potentialAction` field to an Option value (optional) - pub fn maybe_potential_action( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_potential_action(mut self, value: Option>) -> Self { self._fields.60 = value; self } @@ -4455,10 +4248,7 @@ impl PersonBuilder { impl PersonBuilder { /// Set the `workLocation` field (optional) - pub fn work_location( - mut self, - value: impl Into>>, - ) -> Self { + pub fn work_location(mut self, value: impl Into>>) -> Self { self._fields.77 = value.into(); self } @@ -4656,4 +4446,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/social_flockfeeds/lexical/type/podcast_series.rs b/crates/jacquard-api/src/social_flockfeeds/lexical/type/podcast_series.rs index 2bf6bfcb..52145732 100644 --- a/crates/jacquard-api/src/social_flockfeeds/lexical/type/podcast_series.rs +++ b/crates/jacquard-api/src/social_flockfeeds/lexical/type/podcast_series.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,19 +24,22 @@ use jacquard_derive::{IntoStatic, lexicon, open_union}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::social_flockfeeds::lexical::r#type::event; use crate::social_flockfeeds::lexical::r#type::image_object; use crate::social_flockfeeds::lexical::r#type::offer; use crate::social_flockfeeds::lexical::r#type::organization; use crate::social_flockfeeds::lexical::r#type::person; use crate::social_flockfeeds::lexical::r#type::product; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; /// A podcast is an episodic series of digital audio or video files which a user can download and listen to. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Embedded { #[serde(skip_serializing_if = "Option::is_none")] pub about: Option>, @@ -306,7 +309,6 @@ pub struct Embedded { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -360,7 +362,6 @@ pub enum EmbeddedAccountablePerson { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -374,7 +375,6 @@ pub enum EmbeddedActor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -430,7 +430,6 @@ pub enum EmbeddedAuthor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -449,7 +448,6 @@ pub enum EmbeddedCharacter { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -495,7 +493,6 @@ pub enum EmbeddedContributor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -506,7 +503,6 @@ pub enum EmbeddedCopyrightHolder { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -542,7 +538,6 @@ pub enum EmbeddedCreator { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -596,7 +591,6 @@ pub enum EmbeddedEditor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -657,7 +651,6 @@ pub enum EmbeddedFunder { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -691,7 +684,6 @@ pub enum EmbeddedImage { ImageObjectEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -725,7 +717,6 @@ pub enum EmbeddedIsBasedOn { ProductEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -734,7 +725,6 @@ pub enum EmbeddedIsBasedOnUrl { ProductEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -790,7 +780,6 @@ pub enum EmbeddedMaintainer { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -799,7 +788,6 @@ pub enum EmbeddedMaterial { ProductEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -823,7 +811,6 @@ pub enum EmbeddedOffers { OfferEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -849,7 +836,6 @@ pub enum EmbeddedProducer { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -860,7 +846,6 @@ pub enum EmbeddedProvider { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -876,7 +861,6 @@ pub enum EmbeddedPublisher { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -885,7 +869,6 @@ pub enum EmbeddedPublisherImprint { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -899,7 +882,6 @@ pub enum EmbeddedRecordedAt { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -945,7 +927,6 @@ pub enum EmbeddedSdPublisher { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -959,7 +940,6 @@ pub enum EmbeddedSourceOrganization { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -980,7 +960,6 @@ pub enum EmbeddedSponsor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -994,7 +973,6 @@ pub enum EmbeddedSubjectOf { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1023,7 +1001,6 @@ pub enum EmbeddedThumbnail { ImageObjectEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1049,7 +1026,6 @@ pub enum EmbeddedTranslator { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1371,7 +1347,6 @@ pub struct PodcastSeries { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1425,7 +1400,6 @@ pub enum PodcastSeriesAccountablePerson { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1439,7 +1413,6 @@ pub enum PodcastSeriesActor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1495,7 +1468,6 @@ pub enum PodcastSeriesAuthor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1514,7 +1486,6 @@ pub enum PodcastSeriesCharacter { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1560,7 +1531,6 @@ pub enum PodcastSeriesContributor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1571,7 +1541,6 @@ pub enum PodcastSeriesCopyrightHolder { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1607,7 +1576,6 @@ pub enum PodcastSeriesCreator { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1661,7 +1629,6 @@ pub enum PodcastSeriesEditor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1722,7 +1689,6 @@ pub enum PodcastSeriesFunder { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1756,7 +1722,6 @@ pub enum PodcastSeriesImage { ImageObjectEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1790,7 +1755,6 @@ pub enum PodcastSeriesIsBasedOn { ProductEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1799,7 +1763,6 @@ pub enum PodcastSeriesIsBasedOnUrl { ProductEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1855,7 +1818,6 @@ pub enum PodcastSeriesMaintainer { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1864,7 +1826,6 @@ pub enum PodcastSeriesMaterial { ProductEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1888,7 +1849,6 @@ pub enum PodcastSeriesOffers { OfferEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1914,7 +1874,6 @@ pub enum PodcastSeriesProducer { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1925,7 +1884,6 @@ pub enum PodcastSeriesProvider { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1941,7 +1899,6 @@ pub enum PodcastSeriesPublisher { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1950,7 +1907,6 @@ pub enum PodcastSeriesPublisherImprint { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1964,7 +1920,6 @@ pub enum PodcastSeriesRecordedAt { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2010,7 +1965,6 @@ pub enum PodcastSeriesSdPublisher { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2024,7 +1978,6 @@ pub enum PodcastSeriesSourceOrganization { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2045,7 +1998,6 @@ pub enum PodcastSeriesSponsor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2059,7 +2011,6 @@ pub enum PodcastSeriesSubjectOf { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2088,7 +2039,6 @@ pub enum PodcastSeriesThumbnail { ImageObjectEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2114,7 +2064,6 @@ pub enum PodcastSeriesTranslator { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2234,10 +2183,10 @@ impl LexiconSchema for PodcastSeries { } fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("social.flockfeeds.lexical.type.PodcastSeries"), @@ -5031,7 +4980,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_PodcastSeries() -> LexiconDoc<'sta pub mod podcast_series_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -5201,138 +5150,16 @@ impl PodcastSeriesBuilder { PodcastSeriesBuilder { _state: PhantomData, _fields: ( - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, ), _type: PhantomData, } @@ -5354,10 +5181,7 @@ impl PodcastSeriesBuilder { impl PodcastSeriesBuilder { /// Set the `abstract` field (optional) - pub fn r#abstract( - mut self, - value: impl Into>>, - ) -> Self { + pub fn r#abstract(mut self, value: impl Into>>) -> Self { self._fields.1 = value.into(); self } @@ -5370,18 +5194,12 @@ impl PodcastSeriesBuilder { impl PodcastSeriesBuilder { /// Set the `accessMode` field (optional) - pub fn access_mode( - mut self, - value: impl Into>>, - ) -> Self { + pub fn access_mode(mut self, value: impl Into>>) -> Self { self._fields.2 = value.into(); self } /// Set the `accessMode` field to an Option value (optional) - pub fn maybe_access_mode( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_access_mode(mut self, value: Option>) -> Self { self._fields.2 = value; self } @@ -5562,10 +5380,7 @@ impl PodcastSeriesBuilder { self } /// Set the `additionalType` field to an Option value (optional) - pub fn maybe_additional_type( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_additional_type(mut self, value: Option>) -> Self { self._fields.12 = value; self } @@ -5600,10 +5415,7 @@ impl PodcastSeriesBuilder { self } /// Set the `alternateName` field to an Option value (optional) - pub fn maybe_alternate_name( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_alternate_name(mut self, value: Option>) -> Self { self._fields.14 = value; self } @@ -5630,18 +5442,12 @@ impl PodcastSeriesBuilder { impl PodcastSeriesBuilder { /// Set the `archivedAt` field (optional) - pub fn archived_at( - mut self, - value: impl Into>>, - ) -> Self { + pub fn archived_at(mut self, value: impl Into>>) -> Self { self._fields.16 = value.into(); self } /// Set the `archivedAt` field to an Option value (optional) - pub fn maybe_archived_at( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_archived_at(mut self, value: Option>) -> Self { self._fields.16 = value; self } @@ -5649,10 +5455,7 @@ impl PodcastSeriesBuilder { impl PodcastSeriesBuilder { /// Set the `assesses` field (optional) - pub fn assesses( - mut self, - value: impl Into>>, - ) -> Self { + pub fn assesses(mut self, value: impl Into>>) -> Self { self._fields.17 = value.into(); self } @@ -5684,10 +5487,7 @@ impl PodcastSeriesBuilder { impl PodcastSeriesBuilder { /// Set the `audience` field (optional) - pub fn audience( - mut self, - value: impl Into>>, - ) -> Self { + pub fn audience(mut self, value: impl Into>>) -> Self { self._fields.19 = value.into(); self } @@ -5752,10 +5552,7 @@ impl PodcastSeriesBuilder { impl PodcastSeriesBuilder { /// Set the `character` field (optional) - pub fn character( - mut self, - value: impl Into>>, - ) -> Self { + pub fn character(mut self, value: impl Into>>) -> Self { self._fields.24 = value.into(); self } @@ -5768,10 +5565,7 @@ impl PodcastSeriesBuilder { impl PodcastSeriesBuilder { /// Set the `citation` field (optional) - pub fn citation( - mut self, - value: impl Into>>, - ) -> Self { + pub fn citation(mut self, value: impl Into>>) -> Self { self._fields.25 = value.into(); self } @@ -5797,18 +5591,12 @@ impl PodcastSeriesBuilder { impl PodcastSeriesBuilder { /// Set the `commentCount` field (optional) - pub fn comment_count( - mut self, - value: impl Into>>, - ) -> Self { + pub fn comment_count(mut self, value: impl Into>>) -> Self { self._fields.27 = value.into(); self } /// Set the `commentCount` field to an Option value (optional) - pub fn maybe_comment_count( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_comment_count(mut self, value: Option>) -> Self { self._fields.27 = value; self } @@ -5862,10 +5650,7 @@ impl PodcastSeriesBuilder { self } /// Set the `contentRating` field to an Option value (optional) - pub fn maybe_content_rating( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_content_rating(mut self, value: Option>) -> Self { self._fields.30 = value; self } @@ -5892,18 +5677,12 @@ impl PodcastSeriesBuilder { impl PodcastSeriesBuilder { /// Set the `contributor` field (optional) - pub fn contributor( - mut self, - value: impl Into>>, - ) -> Self { + pub fn contributor(mut self, value: impl Into>>) -> Self { self._fields.32 = value.into(); self } /// Set the `contributor` field to an Option value (optional) - pub fn maybe_contributor( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_contributor(mut self, value: Option>) -> Self { self._fields.32 = value; self } @@ -5957,10 +5736,7 @@ impl PodcastSeriesBuilder { self } /// Set the `copyrightYear` field to an Option value (optional) - pub fn maybe_copyright_year( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_copyright_year(mut self, value: Option>) -> Self { self._fields.35 = value; self } @@ -5968,18 +5744,12 @@ impl PodcastSeriesBuilder { impl PodcastSeriesBuilder { /// Set the `correction` field (optional) - pub fn correction( - mut self, - value: impl Into>>, - ) -> Self { + pub fn correction(mut self, value: impl Into>>) -> Self { self._fields.36 = value.into(); self } /// Set the `correction` field to an Option value (optional) - pub fn maybe_correction( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_correction(mut self, value: Option>) -> Self { self._fields.36 = value; self } @@ -6038,18 +5808,12 @@ impl PodcastSeriesBuilder { impl PodcastSeriesBuilder { /// Set the `creditText` field (optional) - pub fn credit_text( - mut self, - value: impl Into>>, - ) -> Self { + pub fn credit_text(mut self, value: impl Into>>) -> Self { self._fields.40 = value.into(); self } /// Set the `creditText` field to an Option value (optional) - pub fn maybe_credit_text( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_credit_text(mut self, value: Option>) -> Self { self._fields.40 = value; self } @@ -6057,18 +5821,12 @@ impl PodcastSeriesBuilder { impl PodcastSeriesBuilder { /// Set the `dateCreated` field (optional) - pub fn date_created( - mut self, - value: impl Into>>, - ) -> Self { + pub fn date_created(mut self, value: impl Into>>) -> Self { self._fields.41 = value.into(); self } /// Set the `dateCreated` field to an Option value (optional) - pub fn maybe_date_created( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_date_created(mut self, value: Option>) -> Self { self._fields.41 = value; self } @@ -6076,18 +5834,12 @@ impl PodcastSeriesBuilder { impl PodcastSeriesBuilder { /// Set the `dateModified` field (optional) - pub fn date_modified( - mut self, - value: impl Into>>, - ) -> Self { + pub fn date_modified(mut self, value: impl Into>>) -> Self { self._fields.42 = value.into(); self } /// Set the `dateModified` field to an Option value (optional) - pub fn maybe_date_modified( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_date_modified(mut self, value: Option>) -> Self { self._fields.42 = value; self } @@ -6103,10 +5855,7 @@ impl PodcastSeriesBuilder { self } /// Set the `datePublished` field to an Option value (optional) - pub fn maybe_date_published( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_date_published(mut self, value: Option>) -> Self { self._fields.43 = value; self } @@ -6114,18 +5863,12 @@ impl PodcastSeriesBuilder { impl PodcastSeriesBuilder { /// Set the `description` field (optional) - pub fn description( - mut self, - value: impl Into>>, - ) -> Self { + pub fn description(mut self, value: impl Into>>) -> Self { self._fields.44 = value.into(); self } /// Set the `description` field to an Option value (optional) - pub fn maybe_description( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_description(mut self, value: Option>) -> Self { self._fields.44 = value; self } @@ -6179,10 +5922,7 @@ impl PodcastSeriesBuilder { self } /// Set the `discussionUrl` field to an Option value (optional) - pub fn maybe_discussion_url( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_discussion_url(mut self, value: Option>) -> Self { self._fields.47 = value; self } @@ -6190,10 +5930,7 @@ impl PodcastSeriesBuilder { impl PodcastSeriesBuilder { /// Set the `editEIDR` field (optional) - pub fn edit_eidr( - mut self, - value: impl Into>>, - ) -> Self { + pub fn edit_eidr(mut self, value: impl Into>>) -> Self { self._fields.48 = value.into(); self } @@ -6265,10 +6002,7 @@ impl PodcastSeriesBuilder { self } /// Set the `educationalUse` field to an Option value (optional) - pub fn maybe_educational_use( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_educational_use(mut self, value: Option>) -> Self { self._fields.52 = value; self } @@ -6276,10 +6010,7 @@ impl PodcastSeriesBuilder { impl PodcastSeriesBuilder { /// Set the `encoding` field (optional) - pub fn encoding( - mut self, - value: impl Into>>, - ) -> Self { + pub fn encoding(mut self, value: impl Into>>) -> Self { self._fields.53 = value.into(); self } @@ -6300,10 +6031,7 @@ impl PodcastSeriesBuilder { self } /// Set the `encodingFormat` field to an Option value (optional) - pub fn maybe_encoding_format( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_encoding_format(mut self, value: Option>) -> Self { self._fields.54 = value; self } @@ -6311,10 +6039,7 @@ impl PodcastSeriesBuilder { impl PodcastSeriesBuilder { /// Set the `encodings` field (optional) - pub fn encodings( - mut self, - value: impl Into>>, - ) -> Self { + pub fn encodings(mut self, value: impl Into>>) -> Self { self._fields.55 = value.into(); self } @@ -6327,10 +6052,7 @@ impl PodcastSeriesBuilder { impl PodcastSeriesBuilder { /// Set the `endDate` field (optional) - pub fn end_date( - mut self, - value: impl Into>>, - ) -> Self { + pub fn end_date(mut self, value: impl Into>>) -> Self { self._fields.56 = value.into(); self } @@ -6351,10 +6073,7 @@ impl PodcastSeriesBuilder { self } /// Set the `exampleOfWork` field to an Option value (optional) - pub fn maybe_example_of_work( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_example_of_work(mut self, value: Option>) -> Self { self._fields.57 = value; self } @@ -6375,18 +6094,12 @@ impl PodcastSeriesBuilder { impl PodcastSeriesBuilder { /// Set the `fileFormat` field (optional) - pub fn file_format( - mut self, - value: impl Into>>, - ) -> Self { + pub fn file_format(mut self, value: impl Into>>) -> Self { self._fields.59 = value.into(); self } /// Set the `fileFormat` field to an Option value (optional) - pub fn maybe_file_format( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_file_format(mut self, value: Option>) -> Self { self._fields.59 = value; self } @@ -6433,10 +6146,7 @@ impl PodcastSeriesBuilder { impl PodcastSeriesBuilder { /// Set the `hasPart` field (optional) - pub fn has_part( - mut self, - value: impl Into>>, - ) -> Self { + pub fn has_part(mut self, value: impl Into>>) -> Self { self._fields.63 = value.into(); self } @@ -6449,10 +6159,7 @@ impl PodcastSeriesBuilder { impl PodcastSeriesBuilder { /// Set the `headline` field (optional) - pub fn headline( - mut self, - value: impl Into>>, - ) -> Self { + pub fn headline(mut self, value: impl Into>>) -> Self { self._fields.64 = value.into(); self } @@ -6465,18 +6172,12 @@ impl PodcastSeriesBuilder { impl PodcastSeriesBuilder { /// Set the `identifier` field (optional) - pub fn identifier( - mut self, - value: impl Into>>, - ) -> Self { + pub fn identifier(mut self, value: impl Into>>) -> Self { self._fields.65 = value.into(); self } /// Set the `identifier` field to an Option value (optional) - pub fn maybe_identifier( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_identifier(mut self, value: Option>) -> Self { self._fields.65 = value; self } @@ -6497,18 +6198,12 @@ impl PodcastSeriesBuilder { impl PodcastSeriesBuilder { /// Set the `inLanguage` field (optional) - pub fn in_language( - mut self, - value: impl Into>>, - ) -> Self { + pub fn in_language(mut self, value: impl Into>>) -> Self { self._fields.67 = value.into(); self } /// Set the `inLanguage` field to an Option value (optional) - pub fn maybe_in_language( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_in_language(mut self, value: Option>) -> Self { self._fields.67 = value; self } @@ -6592,18 +6287,12 @@ impl PodcastSeriesBuilder { impl PodcastSeriesBuilder { /// Set the `isBasedOn` field (optional) - pub fn is_based_on( - mut self, - value: impl Into>>, - ) -> Self { + pub fn is_based_on(mut self, value: impl Into>>) -> Self { self._fields.72 = value.into(); self } /// Set the `isBasedOn` field to an Option value (optional) - pub fn maybe_is_based_on( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_is_based_on(mut self, value: Option>) -> Self { self._fields.72 = value; self } @@ -6619,10 +6308,7 @@ impl PodcastSeriesBuilder { self } /// Set the `isBasedOnUrl` field to an Option value (optional) - pub fn maybe_is_based_on_url( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_is_based_on_url(mut self, value: Option>) -> Self { self._fields.73 = value; self } @@ -6649,10 +6335,7 @@ impl PodcastSeriesBuilder { impl PodcastSeriesBuilder { /// Set the `isPartOf` field (optional) - pub fn is_part_of( - mut self, - value: impl Into>>, - ) -> Self { + pub fn is_part_of(mut self, value: impl Into>>) -> Self { self._fields.75 = value.into(); self } @@ -6678,10 +6361,7 @@ impl PodcastSeriesBuilder { impl PodcastSeriesBuilder { /// Set the `keywords` field (optional) - pub fn keywords( - mut self, - value: impl Into>>, - ) -> Self { + pub fn keywords(mut self, value: impl Into>>) -> Self { self._fields.77 = value.into(); self } @@ -6745,18 +6425,12 @@ impl PodcastSeriesBuilder { impl PodcastSeriesBuilder { /// Set the `mainEntity` field (optional) - pub fn main_entity( - mut self, - value: impl Into>>, - ) -> Self { + pub fn main_entity(mut self, value: impl Into>>) -> Self { self._fields.81 = value.into(); self } /// Set the `mainEntity` field to an Option value (optional) - pub fn maybe_main_entity( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_main_entity(mut self, value: Option>) -> Self { self._fields.81 = value; self } @@ -6783,18 +6457,12 @@ impl PodcastSeriesBuilder { impl PodcastSeriesBuilder { /// Set the `maintainer` field (optional) - pub fn maintainer( - mut self, - value: impl Into>>, - ) -> Self { + pub fn maintainer(mut self, value: impl Into>>) -> Self { self._fields.83 = value.into(); self } /// Set the `maintainer` field to an Option value (optional) - pub fn maybe_maintainer( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_maintainer(mut self, value: Option>) -> Self { self._fields.83 = value; self } @@ -6802,10 +6470,7 @@ impl PodcastSeriesBuilder { impl PodcastSeriesBuilder { /// Set the `material` field (optional) - pub fn material( - mut self, - value: impl Into>>, - ) -> Self { + pub fn material(mut self, value: impl Into>>) -> Self { self._fields.84 = value.into(); self } @@ -6826,10 +6491,7 @@ impl PodcastSeriesBuilder { self } /// Set the `materialExtent` field to an Option value (optional) - pub fn maybe_material_extent( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_material_extent(mut self, value: Option>) -> Self { self._fields.85 = value; self } @@ -6837,10 +6499,7 @@ impl PodcastSeriesBuilder { impl PodcastSeriesBuilder { /// Set the `mentions` field (optional) - pub fn mentions( - mut self, - value: impl Into>>, - ) -> Self { + pub fn mentions(mut self, value: impl Into>>) -> Self { self._fields.86 = value.into(); self } @@ -6892,10 +6551,7 @@ impl PodcastSeriesBuilder { impl PodcastSeriesBuilder { /// Set the `position` field (optional) - pub fn position( - mut self, - value: impl Into>>, - ) -> Self { + pub fn position(mut self, value: impl Into>>) -> Self { self._fields.90 = value.into(); self } @@ -6927,10 +6583,7 @@ impl PodcastSeriesBuilder { impl PodcastSeriesBuilder { /// Set the `producer` field (optional) - pub fn producer( - mut self, - value: impl Into>>, - ) -> Self { + pub fn producer(mut self, value: impl Into>>) -> Self { self._fields.92 = value.into(); self } @@ -6943,10 +6596,7 @@ impl PodcastSeriesBuilder { impl PodcastSeriesBuilder { /// Set the `provider` field (optional) - pub fn provider( - mut self, - value: impl Into>>, - ) -> Self { + pub fn provider(mut self, value: impl Into>>) -> Self { self._fields.93 = value.into(); self } @@ -6959,18 +6609,12 @@ impl PodcastSeriesBuilder { impl PodcastSeriesBuilder { /// Set the `publication` field (optional) - pub fn publication( - mut self, - value: impl Into>>, - ) -> Self { + pub fn publication(mut self, value: impl Into>>) -> Self { self._fields.94 = value.into(); self } /// Set the `publication` field to an Option value (optional) - pub fn maybe_publication( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_publication(mut self, value: Option>) -> Self { self._fields.94 = value; self } @@ -6978,10 +6622,7 @@ impl PodcastSeriesBuilder { impl PodcastSeriesBuilder { /// Set the `publisher` field (optional) - pub fn publisher( - mut self, - value: impl Into>>, - ) -> Self { + pub fn publisher(mut self, value: impl Into>>) -> Self { self._fields.95 = value.into(); self } @@ -7032,18 +6673,12 @@ impl PodcastSeriesBuilder { impl PodcastSeriesBuilder { /// Set the `recordedAt` field (optional) - pub fn recorded_at( - mut self, - value: impl Into>>, - ) -> Self { + pub fn recorded_at(mut self, value: impl Into>>) -> Self { self._fields.98 = value.into(); self } /// Set the `recordedAt` field to an Option value (optional) - pub fn maybe_recorded_at( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_recorded_at(mut self, value: Option>) -> Self { self._fields.98 = value; self } @@ -7059,10 +6694,7 @@ impl PodcastSeriesBuilder { self } /// Set the `releasedEvent` field to an Option value (optional) - pub fn maybe_released_event( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_released_event(mut self, value: Option>) -> Self { self._fields.99 = value; self } @@ -7117,10 +6749,7 @@ impl PodcastSeriesBuilder { self } /// Set the `schemaVersion` field to an Option value (optional) - pub fn maybe_schema_version( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_schema_version(mut self, value: Option>) -> Self { self._fields.103 = value; self } @@ -7147,10 +6776,7 @@ impl PodcastSeriesBuilder { impl PodcastSeriesBuilder { /// Set the `sdLicense` field (optional) - pub fn sd_license( - mut self, - value: impl Into>>, - ) -> Self { + pub fn sd_license(mut self, value: impl Into>>) -> Self { self._fields.105 = value.into(); self } @@ -7163,18 +6789,12 @@ impl PodcastSeriesBuilder { impl PodcastSeriesBuilder { /// Set the `sdPublisher` field (optional) - pub fn sd_publisher( - mut self, - value: impl Into>>, - ) -> Self { + pub fn sd_publisher(mut self, value: impl Into>>) -> Self { self._fields.106 = value.into(); self } /// Set the `sdPublisher` field to an Option value (optional) - pub fn maybe_sd_publisher( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_sd_publisher(mut self, value: Option>) -> Self { self._fields.106 = value; self } @@ -7259,10 +6879,7 @@ impl PodcastSeriesBuilder { impl PodcastSeriesBuilder { /// Set the `startDate` field (optional) - pub fn start_date( - mut self, - value: impl Into>>, - ) -> Self { + pub fn start_date(mut self, value: impl Into>>) -> Self { self._fields.112 = value.into(); self } @@ -7275,10 +6892,7 @@ impl PodcastSeriesBuilder { impl PodcastSeriesBuilder { /// Set the `subjectOf` field (optional) - pub fn subject_of( - mut self, - value: impl Into>>, - ) -> Self { + pub fn subject_of(mut self, value: impl Into>>) -> Self { self._fields.113 = value.into(); self } @@ -7304,10 +6918,7 @@ impl PodcastSeriesBuilder { impl PodcastSeriesBuilder { /// Set the `temporal` field (optional) - pub fn temporal( - mut self, - value: impl Into>>, - ) -> Self { + pub fn temporal(mut self, value: impl Into>>) -> Self { self._fields.115 = value.into(); self } @@ -7352,10 +6963,7 @@ impl PodcastSeriesBuilder { impl PodcastSeriesBuilder { /// Set the `thumbnail` field (optional) - pub fn thumbnail( - mut self, - value: impl Into>>, - ) -> Self { + pub fn thumbnail(mut self, value: impl Into>>) -> Self { self._fields.118 = value.into(); self } @@ -7368,18 +6976,12 @@ impl PodcastSeriesBuilder { impl PodcastSeriesBuilder { /// Set the `thumbnailUrl` field (optional) - pub fn thumbnail_url( - mut self, - value: impl Into>>, - ) -> Self { + pub fn thumbnail_url(mut self, value: impl Into>>) -> Self { self._fields.119 = value.into(); self } /// Set the `thumbnailUrl` field to an Option value (optional) - pub fn maybe_thumbnail_url( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_thumbnail_url(mut self, value: Option>) -> Self { self._fields.119 = value; self } @@ -7387,18 +6989,12 @@ impl PodcastSeriesBuilder { impl PodcastSeriesBuilder { /// Set the `timeRequired` field (optional) - pub fn time_required( - mut self, - value: impl Into>>, - ) -> Self { + pub fn time_required(mut self, value: impl Into>>) -> Self { self._fields.120 = value.into(); self } /// Set the `timeRequired` field to an Option value (optional) - pub fn maybe_time_required( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_time_required(mut self, value: Option>) -> Self { self._fields.120 = value; self } @@ -7425,18 +7021,12 @@ impl PodcastSeriesBuilder { impl PodcastSeriesBuilder { /// Set the `translator` field (optional) - pub fn translator( - mut self, - value: impl Into>>, - ) -> Self { + pub fn translator(mut self, value: impl Into>>) -> Self { self._fields.122 = value.into(); self } /// Set the `translator` field to an Option value (optional) - pub fn maybe_translator( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_translator(mut self, value: Option>) -> Self { self._fields.122 = value; self } @@ -7476,10 +7066,7 @@ impl PodcastSeriesBuilder { impl PodcastSeriesBuilder { /// Set the `usageInfo` field (optional) - pub fn usage_info( - mut self, - value: impl Into>>, - ) -> Self { + pub fn usage_info(mut self, value: impl Into>>) -> Self { self._fields.125 = value.into(); self } @@ -7518,10 +7105,7 @@ impl PodcastSeriesBuilder { impl PodcastSeriesBuilder { /// Set the `webFeed` field (optional) - pub fn web_feed( - mut self, - value: impl Into>>, - ) -> Self { + pub fn web_feed(mut self, value: impl Into>>) -> Self { self._fields.128 = value.into(); self } @@ -7534,10 +7118,7 @@ impl PodcastSeriesBuilder { impl PodcastSeriesBuilder { /// Set the `wordCount` field (optional) - pub fn word_count( - mut self, - value: impl Into>>, - ) -> Self { + pub fn word_count(mut self, value: impl Into>>) -> Self { self._fields.129 = value.into(); self } @@ -7550,18 +7131,12 @@ impl PodcastSeriesBuilder { impl PodcastSeriesBuilder { /// Set the `workExample` field (optional) - pub fn work_example( - mut self, - value: impl Into>>, - ) -> Self { + pub fn work_example(mut self, value: impl Into>>) -> Self { self._fields.130 = value.into(); self } /// Set the `workExample` field to an Option value (optional) - pub fn maybe_work_example( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_work_example(mut self, value: Option>) -> Self { self._fields.130 = value; self } @@ -7729,10 +7304,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> PodcastSeries { + pub fn build_with_data(self, extra_data: BTreeMap>) -> PodcastSeries { PodcastSeries { about: self._fields.0, r#abstract: self._fields.1, @@ -7869,4 +7441,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/social_flockfeeds/lexical/type/product.rs b/crates/jacquard-api/src/social_flockfeeds/lexical/type/product.rs index f0ec4b8a..4d1070a2 100644 --- a/crates/jacquard-api/src/social_flockfeeds/lexical/type/product.rs +++ b/crates/jacquard-api/src/social_flockfeeds/lexical/type/product.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,19 +24,22 @@ use jacquard_derive::{IntoStatic, lexicon, open_union}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::social_flockfeeds::lexical::r#type::brand; use crate::social_flockfeeds::lexical::r#type::event; use crate::social_flockfeeds::lexical::r#type::image_object; use crate::social_flockfeeds::lexical::r#type::offer; use crate::social_flockfeeds::lexical::r#type::organization; use crate::social_flockfeeds::lexical::r#type::product; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; /// Any offered product or service. For example: a pair of shoes; a concert ticket; the rental of a car; a haircut; or an episode of a TV show streamed online. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Embedded { #[serde(skip_serializing_if = "Option::is_none")] pub additional_property: Option>, @@ -184,7 +187,6 @@ pub struct Embedded { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -235,7 +237,6 @@ pub enum EmbeddedBrand { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -254,7 +255,6 @@ pub enum EmbeddedColorSwatch { ImageObjectEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -368,7 +368,6 @@ pub enum EmbeddedImage { ImageObjectEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -382,7 +381,6 @@ pub enum EmbeddedIsAccessoryOrSparePartFor { Embedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -391,7 +389,6 @@ pub enum EmbeddedIsConsumableFor { Embedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -405,7 +402,6 @@ pub enum EmbeddedIsRelatedTo { Embedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -414,7 +410,6 @@ pub enum EmbeddedIsSimilarTo { Embedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -438,7 +433,6 @@ pub enum EmbeddedLogo { ImageObjectEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -452,7 +446,6 @@ pub enum EmbeddedManufacturer { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -461,7 +454,6 @@ pub enum EmbeddedMaterial { Embedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -500,7 +492,6 @@ pub enum EmbeddedOffers { OfferEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -574,7 +565,6 @@ pub enum EmbeddedSubjectOf { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -744,7 +734,6 @@ pub struct Product { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -795,7 +784,6 @@ pub enum ProductBrand { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -814,7 +802,6 @@ pub enum ProductColorSwatch { ImageObjectEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -928,7 +915,6 @@ pub enum ProductImage { ImageObjectEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -942,7 +928,6 @@ pub enum ProductIsAccessoryOrSparePartFor { Embedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -951,7 +936,6 @@ pub enum ProductIsConsumableFor { Embedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -965,7 +949,6 @@ pub enum ProductIsRelatedTo { Embedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -974,7 +957,6 @@ pub enum ProductIsSimilarTo { Embedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -998,7 +980,6 @@ pub enum ProductLogo { ImageObjectEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1012,7 +993,6 @@ pub enum ProductManufacturer { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1021,7 +1001,6 @@ pub enum ProductMaterial { Embedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1060,7 +1039,6 @@ pub enum ProductOffers { OfferEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1134,7 +1112,6 @@ pub enum ProductSubjectOf { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1224,10 +1201,10 @@ impl LexiconSchema for Product { } fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("social.flockfeeds.lexical.type.Product"), @@ -2773,7 +2750,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> LexiconDoc<'static> { pub mod product_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -2882,76 +2859,11 @@ impl ProductBuilder { ProductBuilder { _state: PhantomData, _fields: ( - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, ), _type: PhantomData, @@ -2980,18 +2892,12 @@ impl ProductBuilder { impl ProductBuilder { /// Set the `additionalType` field (optional) - pub fn additional_type( - mut self, - value: impl Into>>, - ) -> Self { + pub fn additional_type(mut self, value: impl Into>>) -> Self { self._fields.1 = value.into(); self } /// Set the `additionalType` field to an Option value (optional) - pub fn maybe_additional_type( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_additional_type(mut self, value: Option>) -> Self { self._fields.1 = value; self } @@ -2999,18 +2905,12 @@ impl ProductBuilder { impl ProductBuilder { /// Set the `aggregateRating` field (optional) - pub fn aggregate_rating( - mut self, - value: impl Into>>, - ) -> Self { + pub fn aggregate_rating(mut self, value: impl Into>>) -> Self { self._fields.2 = value.into(); self } /// Set the `aggregateRating` field to an Option value (optional) - pub fn maybe_aggregate_rating( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_aggregate_rating(mut self, value: Option>) -> Self { self._fields.2 = value; self } @@ -3018,18 +2918,12 @@ impl ProductBuilder { impl ProductBuilder { /// Set the `alternateName` field (optional) - pub fn alternate_name( - mut self, - value: impl Into>>, - ) -> Self { + pub fn alternate_name(mut self, value: impl Into>>) -> Self { self._fields.3 = value.into(); self } /// Set the `alternateName` field to an Option value (optional) - pub fn maybe_alternate_name( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_alternate_name(mut self, value: Option>) -> Self { self._fields.3 = value; self } @@ -3128,10 +3022,7 @@ impl ProductBuilder { impl ProductBuilder { /// Set the `colorSwatch` field (optional) - pub fn color_swatch( - mut self, - value: impl Into>>, - ) -> Self { + pub fn color_swatch(mut self, value: impl Into>>) -> Self { self._fields.11 = value.into(); self } @@ -3152,10 +3043,7 @@ impl ProductBuilder { self } /// Set the `countryOfAssembly` field to an Option value (optional) - pub fn maybe_country_of_assembly( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_country_of_assembly(mut self, value: Option>) -> Self { self._fields.12 = value; self } @@ -3190,10 +3078,7 @@ impl ProductBuilder { self } /// Set the `countryOfOrigin` field to an Option value (optional) - pub fn maybe_country_of_origin( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_country_of_origin(mut self, value: Option>) -> Self { self._fields.14 = value; self } @@ -3214,10 +3099,7 @@ impl ProductBuilder { impl ProductBuilder { /// Set the `description` field (optional) - pub fn description( - mut self, - value: impl Into>>, - ) -> Self { + pub fn description(mut self, value: impl Into>>) -> Self { self._fields.16 = value.into(); self } @@ -3354,10 +3236,7 @@ impl ProductBuilder { self } /// Set the `hasCertification` field to an Option value (optional) - pub fn maybe_has_certification( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_has_certification(mut self, value: Option>) -> Self { self._fields.25 = value; self } @@ -3403,18 +3282,12 @@ impl ProductBuilder { impl ProductBuilder { /// Set the `hasMeasurement` field (optional) - pub fn has_measurement( - mut self, - value: impl Into>>, - ) -> Self { + pub fn has_measurement(mut self, value: impl Into>>) -> Self { self._fields.28 = value.into(); self } /// Set the `hasMeasurement` field to an Option value (optional) - pub fn maybe_has_measurement( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_has_measurement(mut self, value: Option>) -> Self { self._fields.28 = value; self } @@ -3545,10 +3418,7 @@ impl ProductBuilder { self } /// Set the `isConsumableFor` field to an Option value (optional) - pub fn maybe_is_consumable_for( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_is_consumable_for(mut self, value: Option>) -> Self { self._fields.36 = value; self } @@ -3564,10 +3434,7 @@ impl ProductBuilder { self } /// Set the `isFamilyFriendly` field to an Option value (optional) - pub fn maybe_is_family_friendly( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_is_family_friendly(mut self, value: Option>) -> Self { self._fields.37 = value; self } @@ -3575,10 +3442,7 @@ impl ProductBuilder { impl ProductBuilder { /// Set the `isRelatedTo` field (optional) - pub fn is_related_to( - mut self, - value: impl Into>>, - ) -> Self { + pub fn is_related_to(mut self, value: impl Into>>) -> Self { self._fields.38 = value.into(); self } @@ -3591,10 +3455,7 @@ impl ProductBuilder { impl ProductBuilder { /// Set the `isSimilarTo` field (optional) - pub fn is_similar_to( - mut self, - value: impl Into>>, - ) -> Self { + pub fn is_similar_to(mut self, value: impl Into>>) -> Self { self._fields.39 = value.into(); self } @@ -3607,10 +3468,7 @@ impl ProductBuilder { impl ProductBuilder { /// Set the `isVariantOf` field (optional) - pub fn is_variant_of( - mut self, - value: impl Into>>, - ) -> Self { + pub fn is_variant_of(mut self, value: impl Into>>) -> Self { self._fields.40 = value.into(); self } @@ -3623,18 +3481,12 @@ impl ProductBuilder { impl ProductBuilder { /// Set the `itemCondition` field (optional) - pub fn item_condition( - mut self, - value: impl Into>>, - ) -> Self { + pub fn item_condition(mut self, value: impl Into>>) -> Self { self._fields.41 = value.into(); self } /// Set the `itemCondition` field to an Option value (optional) - pub fn maybe_item_condition( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_item_condition(mut self, value: Option>) -> Self { self._fields.41 = value; self } @@ -3676,10 +3528,7 @@ impl ProductBuilder { self } /// Set the `mainEntityOfPage` field to an Option value (optional) - pub fn maybe_main_entity_of_page( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_main_entity_of_page(mut self, value: Option>) -> Self { self._fields.44 = value; self } @@ -3687,10 +3536,7 @@ impl ProductBuilder { impl ProductBuilder { /// Set the `manufacturer` field (optional) - pub fn manufacturer( - mut self, - value: impl Into>>, - ) -> Self { + pub fn manufacturer(mut self, value: impl Into>>) -> Self { self._fields.45 = value.into(); self } @@ -3768,18 +3614,12 @@ impl ProductBuilder { impl ProductBuilder { /// Set the `negativeNotes` field (optional) - pub fn negative_notes( - mut self, - value: impl Into>>, - ) -> Self { + pub fn negative_notes(mut self, value: impl Into>>) -> Self { self._fields.51 = value.into(); self } /// Set the `negativeNotes` field to an Option value (optional) - pub fn maybe_negative_notes( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_negative_notes(mut self, value: Option>) -> Self { self._fields.51 = value; self } @@ -3826,18 +3666,12 @@ impl ProductBuilder { impl ProductBuilder { /// Set the `positiveNotes` field (optional) - pub fn positive_notes( - mut self, - value: impl Into>>, - ) -> Self { + pub fn positive_notes(mut self, value: impl Into>>) -> Self { self._fields.55 = value.into(); self } /// Set the `positiveNotes` field to an Option value (optional) - pub fn maybe_positive_notes( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_positive_notes(mut self, value: Option>) -> Self { self._fields.55 = value; self } @@ -3845,18 +3679,12 @@ impl ProductBuilder { impl ProductBuilder { /// Set the `potentialAction` field (optional) - pub fn potential_action( - mut self, - value: impl Into>>, - ) -> Self { + pub fn potential_action(mut self, value: impl Into>>) -> Self { self._fields.56 = value.into(); self } /// Set the `potentialAction` field to an Option value (optional) - pub fn maybe_potential_action( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_potential_action(mut self, value: Option>) -> Self { self._fields.56 = value; self } @@ -3877,18 +3705,12 @@ impl ProductBuilder { impl ProductBuilder { /// Set the `productionDate` field (optional) - pub fn production_date( - mut self, - value: impl Into>>, - ) -> Self { + pub fn production_date(mut self, value: impl Into>>) -> Self { self._fields.58 = value.into(); self } /// Set the `productionDate` field to an Option value (optional) - pub fn maybe_production_date( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_production_date(mut self, value: Option>) -> Self { self._fields.58 = value; self } @@ -3896,10 +3718,7 @@ impl ProductBuilder { impl ProductBuilder { /// Set the `purchaseDate` field (optional) - pub fn purchase_date( - mut self, - value: impl Into>>, - ) -> Self { + pub fn purchase_date(mut self, value: impl Into>>) -> Self { self._fields.59 = value.into(); self } @@ -3912,10 +3731,7 @@ impl ProductBuilder { impl ProductBuilder { /// Set the `releaseDate` field (optional) - pub fn release_date( - mut self, - value: impl Into>>, - ) -> Self { + pub fn release_date(mut self, value: impl Into>>) -> Self { self._fields.60 = value.into(); self } @@ -4214,4 +4030,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/social_flockfeeds/lexical/type/recipe.rs b/crates/jacquard-api/src/social_flockfeeds/lexical/type/recipe.rs index 14b087a5..5104f40e 100644 --- a/crates/jacquard-api/src/social_flockfeeds/lexical/type/recipe.rs +++ b/crates/jacquard-api/src/social_flockfeeds/lexical/type/recipe.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,19 +24,22 @@ use jacquard_derive::{IntoStatic, lexicon, open_union}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::social_flockfeeds::lexical::r#type::event; use crate::social_flockfeeds::lexical::r#type::image_object; use crate::social_flockfeeds::lexical::r#type::offer; use crate::social_flockfeeds::lexical::r#type::organization; use crate::social_flockfeeds::lexical::r#type::person; use crate::social_flockfeeds::lexical::r#type::product; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; /// A recipe. For dietary restrictions covered by the recipe, a few common restrictions are enumerated via [[suitableForDiet]]. The [[keywords]] property can also be used to add more detail. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Embedded { #[serde(skip_serializing_if = "Option::is_none")] pub about: Option>, @@ -334,7 +337,6 @@ pub struct Embedded { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -388,7 +390,6 @@ pub enum EmbeddedAccountablePerson { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -449,7 +450,6 @@ pub enum EmbeddedAuthor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -468,7 +468,6 @@ pub enum EmbeddedCharacter { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -514,7 +513,6 @@ pub enum EmbeddedContributor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -535,7 +533,6 @@ pub enum EmbeddedCopyrightHolder { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -571,7 +568,6 @@ pub enum EmbeddedCreator { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -625,7 +621,6 @@ pub enum EmbeddedEditor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -686,7 +681,6 @@ pub enum EmbeddedFunder { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -720,7 +714,6 @@ pub enum EmbeddedImage { ImageObjectEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -759,7 +752,6 @@ pub enum EmbeddedIsBasedOn { ProductEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -768,7 +760,6 @@ pub enum EmbeddedIsBasedOnUrl { ProductEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -819,7 +810,6 @@ pub enum EmbeddedMaintainer { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -828,7 +818,6 @@ pub enum EmbeddedMaterial { ProductEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -857,7 +846,6 @@ pub enum EmbeddedOffers { OfferEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -893,7 +881,6 @@ pub enum EmbeddedProducer { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -904,7 +891,6 @@ pub enum EmbeddedProvider { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -920,7 +906,6 @@ pub enum EmbeddedPublisher { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -929,7 +914,6 @@ pub enum EmbeddedPublisherImprint { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -968,7 +952,6 @@ pub enum EmbeddedRecordedAt { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1014,7 +997,6 @@ pub enum EmbeddedSdPublisher { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1028,7 +1010,6 @@ pub enum EmbeddedSourceOrganization { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1049,7 +1030,6 @@ pub enum EmbeddedSponsor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1068,7 +1048,6 @@ pub enum EmbeddedSubjectOf { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1107,7 +1086,6 @@ pub enum EmbeddedThumbnail { ImageObjectEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1143,7 +1121,6 @@ pub enum EmbeddedTranslator { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1493,7 +1470,6 @@ pub struct Recipe { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1547,7 +1523,6 @@ pub enum RecipeAccountablePerson { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1608,7 +1583,6 @@ pub enum RecipeAuthor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1627,7 +1601,6 @@ pub enum RecipeCharacter { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1673,7 +1646,6 @@ pub enum RecipeContributor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1694,7 +1666,6 @@ pub enum RecipeCopyrightHolder { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1730,7 +1701,6 @@ pub enum RecipeCreator { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1784,7 +1754,6 @@ pub enum RecipeEditor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1845,7 +1814,6 @@ pub enum RecipeFunder { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1879,7 +1847,6 @@ pub enum RecipeImage { ImageObjectEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1918,7 +1885,6 @@ pub enum RecipeIsBasedOn { ProductEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1927,7 +1893,6 @@ pub enum RecipeIsBasedOnUrl { ProductEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1978,7 +1943,6 @@ pub enum RecipeMaintainer { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1987,7 +1951,6 @@ pub enum RecipeMaterial { ProductEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2016,7 +1979,6 @@ pub enum RecipeOffers { OfferEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2052,7 +2014,6 @@ pub enum RecipeProducer { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2063,7 +2024,6 @@ pub enum RecipeProvider { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2079,7 +2039,6 @@ pub enum RecipePublisher { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2088,7 +2047,6 @@ pub enum RecipePublisherImprint { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2127,7 +2085,6 @@ pub enum RecipeRecordedAt { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2173,7 +2130,6 @@ pub enum RecipeSdPublisher { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2187,7 +2143,6 @@ pub enum RecipeSourceOrganization { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2208,7 +2163,6 @@ pub enum RecipeSponsor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2227,7 +2181,6 @@ pub enum RecipeSubjectOf { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2266,7 +2219,6 @@ pub enum RecipeThumbnail { ImageObjectEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2302,7 +2254,6 @@ pub enum RecipeTranslator { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2422,10 +2373,10 @@ impl LexiconSchema for Recipe { } fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("social.flockfeeds.lexical.type.Recipe"), @@ -5525,7 +5476,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Recipe() -> LexiconDoc<'static> { pub mod recipe_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -5709,152 +5660,17 @@ impl RecipeBuilder { RecipeBuilder { _state: PhantomData, _fields: ( - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, ), _type: PhantomData, } @@ -5929,10 +5745,7 @@ impl RecipeBuilder { self } /// Set the `accessibilityAPI` field to an Option value (optional) - pub fn maybe_accessibility_api( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_accessibility_api(mut self, value: Option>) -> Self { self._fields.4 = value; self } @@ -6024,10 +5837,7 @@ impl RecipeBuilder { self } /// Set the `accountablePerson` field to an Option value (optional) - pub fn maybe_accountable_person( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_accountable_person(mut self, value: Option>) -> Self { self._fields.9 = value; self } @@ -6054,18 +5864,12 @@ impl RecipeBuilder { impl RecipeBuilder { /// Set the `additionalType` field (optional) - pub fn additional_type( - mut self, - value: impl Into>>, - ) -> Self { + pub fn additional_type(mut self, value: impl Into>>) -> Self { self._fields.11 = value.into(); self } /// Set the `additionalType` field to an Option value (optional) - pub fn maybe_additional_type( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_additional_type(mut self, value: Option>) -> Self { self._fields.11 = value; self } @@ -6073,18 +5877,12 @@ impl RecipeBuilder { impl RecipeBuilder { /// Set the `aggregateRating` field (optional) - pub fn aggregate_rating( - mut self, - value: impl Into>>, - ) -> Self { + pub fn aggregate_rating(mut self, value: impl Into>>) -> Self { self._fields.12 = value.into(); self } /// Set the `aggregateRating` field to an Option value (optional) - pub fn maybe_aggregate_rating( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_aggregate_rating(mut self, value: Option>) -> Self { self._fields.12 = value; self } @@ -6092,18 +5890,12 @@ impl RecipeBuilder { impl RecipeBuilder { /// Set the `alternateName` field (optional) - pub fn alternate_name( - mut self, - value: impl Into>>, - ) -> Self { + pub fn alternate_name(mut self, value: impl Into>>) -> Self { self._fields.13 = value.into(); self } /// Set the `alternateName` field to an Option value (optional) - pub fn maybe_alternate_name( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_alternate_name(mut self, value: Option>) -> Self { self._fields.13 = value; self } @@ -6156,18 +5948,12 @@ impl RecipeBuilder { impl RecipeBuilder { /// Set the `associatedMedia` field (optional) - pub fn associated_media( - mut self, - value: impl Into>>, - ) -> Self { + pub fn associated_media(mut self, value: impl Into>>) -> Self { self._fields.17 = value.into(); self } /// Set the `associatedMedia` field to an Option value (optional) - pub fn maybe_associated_media( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_associated_media(mut self, value: Option>) -> Self { self._fields.17 = value; self } @@ -6279,10 +6065,7 @@ impl RecipeBuilder { impl RecipeBuilder { /// Set the `commentCount` field (optional) - pub fn comment_count( - mut self, - value: impl Into>>, - ) -> Self { + pub fn comment_count(mut self, value: impl Into>>) -> Self { self._fields.26 = value.into(); self } @@ -6314,18 +6097,12 @@ impl RecipeBuilder { impl RecipeBuilder { /// Set the `contentLocation` field (optional) - pub fn content_location( - mut self, - value: impl Into>>, - ) -> Self { + pub fn content_location(mut self, value: impl Into>>) -> Self { self._fields.28 = value.into(); self } /// Set the `contentLocation` field to an Option value (optional) - pub fn maybe_content_location( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_content_location(mut self, value: Option>) -> Self { self._fields.28 = value; self } @@ -6333,18 +6110,12 @@ impl RecipeBuilder { impl RecipeBuilder { /// Set the `contentRating` field (optional) - pub fn content_rating( - mut self, - value: impl Into>>, - ) -> Self { + pub fn content_rating(mut self, value: impl Into>>) -> Self { self._fields.29 = value.into(); self } /// Set the `contentRating` field to an Option value (optional) - pub fn maybe_content_rating( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_content_rating(mut self, value: Option>) -> Self { self._fields.29 = value; self } @@ -6371,10 +6142,7 @@ impl RecipeBuilder { impl RecipeBuilder { /// Set the `contributor` field (optional) - pub fn contributor( - mut self, - value: impl Into>>, - ) -> Self { + pub fn contributor(mut self, value: impl Into>>) -> Self { self._fields.31 = value.into(); self } @@ -6400,18 +6168,12 @@ impl RecipeBuilder { impl RecipeBuilder { /// Set the `cookingMethod` field (optional) - pub fn cooking_method( - mut self, - value: impl Into>>, - ) -> Self { + pub fn cooking_method(mut self, value: impl Into>>) -> Self { self._fields.33 = value.into(); self } /// Set the `cookingMethod` field to an Option value (optional) - pub fn maybe_cooking_method( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_cooking_method(mut self, value: Option>) -> Self { self._fields.33 = value; self } @@ -6419,18 +6181,12 @@ impl RecipeBuilder { impl RecipeBuilder { /// Set the `copyrightHolder` field (optional) - pub fn copyright_holder( - mut self, - value: impl Into>>, - ) -> Self { + pub fn copyright_holder(mut self, value: impl Into>>) -> Self { self._fields.34 = value.into(); self } /// Set the `copyrightHolder` field to an Option value (optional) - pub fn maybe_copyright_holder( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_copyright_holder(mut self, value: Option>) -> Self { self._fields.34 = value; self } @@ -6438,18 +6194,12 @@ impl RecipeBuilder { impl RecipeBuilder { /// Set the `copyrightNotice` field (optional) - pub fn copyright_notice( - mut self, - value: impl Into>>, - ) -> Self { + pub fn copyright_notice(mut self, value: impl Into>>) -> Self { self._fields.35 = value.into(); self } /// Set the `copyrightNotice` field to an Option value (optional) - pub fn maybe_copyright_notice( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_copyright_notice(mut self, value: Option>) -> Self { self._fields.35 = value; self } @@ -6457,18 +6207,12 @@ impl RecipeBuilder { impl RecipeBuilder { /// Set the `copyrightYear` field (optional) - pub fn copyright_year( - mut self, - value: impl Into>>, - ) -> Self { + pub fn copyright_year(mut self, value: impl Into>>) -> Self { self._fields.36 = value.into(); self } /// Set the `copyrightYear` field to an Option value (optional) - pub fn maybe_copyright_year( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_copyright_year(mut self, value: Option>) -> Self { self._fields.36 = value; self } @@ -6489,18 +6233,12 @@ impl RecipeBuilder { impl RecipeBuilder { /// Set the `countryOfOrigin` field (optional) - pub fn country_of_origin( - mut self, - value: impl Into>>, - ) -> Self { + pub fn country_of_origin(mut self, value: impl Into>>) -> Self { self._fields.38 = value.into(); self } /// Set the `countryOfOrigin` field to an Option value (optional) - pub fn maybe_country_of_origin( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_country_of_origin(mut self, value: Option>) -> Self { self._fields.38 = value; self } @@ -6553,10 +6291,7 @@ impl RecipeBuilder { impl RecipeBuilder { /// Set the `dateCreated` field (optional) - pub fn date_created( - mut self, - value: impl Into>>, - ) -> Self { + pub fn date_created(mut self, value: impl Into>>) -> Self { self._fields.42 = value.into(); self } @@ -6569,10 +6304,7 @@ impl RecipeBuilder { impl RecipeBuilder { /// Set the `dateModified` field (optional) - pub fn date_modified( - mut self, - value: impl Into>>, - ) -> Self { + pub fn date_modified(mut self, value: impl Into>>) -> Self { self._fields.43 = value.into(); self } @@ -6585,18 +6317,12 @@ impl RecipeBuilder { impl RecipeBuilder { /// Set the `datePublished` field (optional) - pub fn date_published( - mut self, - value: impl Into>>, - ) -> Self { + pub fn date_published(mut self, value: impl Into>>) -> Self { self._fields.44 = value.into(); self } /// Set the `datePublished` field to an Option value (optional) - pub fn maybe_date_published( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_date_published(mut self, value: Option>) -> Self { self._fields.44 = value; self } @@ -6604,10 +6330,7 @@ impl RecipeBuilder { impl RecipeBuilder { /// Set the `description` field (optional) - pub fn description( - mut self, - value: impl Into>>, - ) -> Self { + pub fn description(mut self, value: impl Into>>) -> Self { self._fields.45 = value.into(); self } @@ -6628,10 +6351,7 @@ impl RecipeBuilder { self } /// Set the `digitalSourceType` field to an Option value (optional) - pub fn maybe_digital_source_type( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_digital_source_type(mut self, value: Option>) -> Self { self._fields.46 = value; self } @@ -6658,18 +6378,12 @@ impl RecipeBuilder { impl RecipeBuilder { /// Set the `discussionUrl` field (optional) - pub fn discussion_url( - mut self, - value: impl Into>>, - ) -> Self { + pub fn discussion_url(mut self, value: impl Into>>) -> Self { self._fields.48 = value.into(); self } /// Set the `discussionUrl` field to an Option value (optional) - pub fn maybe_discussion_url( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_discussion_url(mut self, value: Option>) -> Self { self._fields.48 = value; self } @@ -6730,10 +6444,7 @@ impl RecipeBuilder { self } /// Set the `educationalLevel` field to an Option value (optional) - pub fn maybe_educational_level( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_educational_level(mut self, value: Option>) -> Self { self._fields.52 = value; self } @@ -6741,18 +6452,12 @@ impl RecipeBuilder { impl RecipeBuilder { /// Set the `educationalUse` field (optional) - pub fn educational_use( - mut self, - value: impl Into>>, - ) -> Self { + pub fn educational_use(mut self, value: impl Into>>) -> Self { self._fields.53 = value.into(); self } /// Set the `educationalUse` field to an Option value (optional) - pub fn maybe_educational_use( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_educational_use(mut self, value: Option>) -> Self { self._fields.53 = value; self } @@ -6773,18 +6478,12 @@ impl RecipeBuilder { impl RecipeBuilder { /// Set the `encodingFormat` field (optional) - pub fn encoding_format( - mut self, - value: impl Into>>, - ) -> Self { + pub fn encoding_format(mut self, value: impl Into>>) -> Self { self._fields.55 = value.into(); self } /// Set the `encodingFormat` field to an Option value (optional) - pub fn maybe_encoding_format( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_encoding_format(mut self, value: Option>) -> Self { self._fields.55 = value; self } @@ -6805,18 +6504,12 @@ impl RecipeBuilder { impl RecipeBuilder { /// Set the `estimatedCost` field (optional) - pub fn estimated_cost( - mut self, - value: impl Into>>, - ) -> Self { + pub fn estimated_cost(mut self, value: impl Into>>) -> Self { self._fields.57 = value.into(); self } /// Set the `estimatedCost` field to an Option value (optional) - pub fn maybe_estimated_cost( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_estimated_cost(mut self, value: Option>) -> Self { self._fields.57 = value; self } @@ -6824,18 +6517,12 @@ impl RecipeBuilder { impl RecipeBuilder { /// Set the `exampleOfWork` field (optional) - pub fn example_of_work( - mut self, - value: impl Into>>, - ) -> Self { + pub fn example_of_work(mut self, value: impl Into>>) -> Self { self._fields.58 = value.into(); self } /// Set the `exampleOfWork` field to an Option value (optional) - pub fn maybe_example_of_work( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_example_of_work(mut self, value: Option>) -> Self { self._fields.58 = value; self } @@ -6973,10 +6660,7 @@ impl RecipeBuilder { impl RecipeBuilder { /// Set the `ingredients` field (optional) - pub fn ingredients( - mut self, - value: impl Into>>, - ) -> Self { + pub fn ingredients(mut self, value: impl Into>>) -> Self { self._fields.69 = value.into(); self } @@ -7016,10 +6700,7 @@ impl RecipeBuilder { self } /// Set the `interactivityType` field to an Option value (optional) - pub fn maybe_interactivity_type( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_interactivity_type(mut self, value: Option>) -> Self { self._fields.71 = value; self } @@ -7078,18 +6759,12 @@ impl RecipeBuilder { impl RecipeBuilder { /// Set the `isBasedOnUrl` field (optional) - pub fn is_based_on_url( - mut self, - value: impl Into>>, - ) -> Self { + pub fn is_based_on_url(mut self, value: impl Into>>) -> Self { self._fields.75 = value.into(); self } /// Set the `isBasedOnUrl` field to an Option value (optional) - pub fn maybe_is_based_on_url( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_is_based_on_url(mut self, value: Option>) -> Self { self._fields.75 = value; self } @@ -7105,10 +6780,7 @@ impl RecipeBuilder { self } /// Set the `isFamilyFriendly` field to an Option value (optional) - pub fn maybe_is_family_friendly( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_is_family_friendly(mut self, value: Option>) -> Self { self._fields.76 = value; self } @@ -7174,18 +6846,12 @@ impl RecipeBuilder { impl RecipeBuilder { /// Set the `locationCreated` field (optional) - pub fn location_created( - mut self, - value: impl Into>>, - ) -> Self { + pub fn location_created(mut self, value: impl Into>>) -> Self { self._fields.81 = value.into(); self } /// Set the `locationCreated` field to an Option value (optional) - pub fn maybe_location_created( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_location_created(mut self, value: Option>) -> Self { self._fields.81 = value; self } @@ -7214,10 +6880,7 @@ impl RecipeBuilder { self } /// Set the `mainEntityOfPage` field to an Option value (optional) - pub fn maybe_main_entity_of_page( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_main_entity_of_page(mut self, value: Option>) -> Self { self._fields.83 = value; self } @@ -7251,18 +6914,12 @@ impl RecipeBuilder { impl RecipeBuilder { /// Set the `materialExtent` field (optional) - pub fn material_extent( - mut self, - value: impl Into>>, - ) -> Self { + pub fn material_extent(mut self, value: impl Into>>) -> Self { self._fields.86 = value.into(); self } /// Set the `materialExtent` field to an Option value (optional) - pub fn maybe_material_extent( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_material_extent(mut self, value: Option>) -> Self { self._fields.86 = value; self } @@ -7335,10 +6992,7 @@ impl RecipeBuilder { impl RecipeBuilder { /// Set the `performTime` field (optional) - pub fn perform_time( - mut self, - value: impl Into>>, - ) -> Self { + pub fn perform_time(mut self, value: impl Into>>) -> Self { self._fields.92 = value.into(); self } @@ -7364,18 +7018,12 @@ impl RecipeBuilder { impl RecipeBuilder { /// Set the `potentialAction` field (optional) - pub fn potential_action( - mut self, - value: impl Into>>, - ) -> Self { + pub fn potential_action(mut self, value: impl Into>>) -> Self { self._fields.94 = value.into(); self } /// Set the `potentialAction` field to an Option value (optional) - pub fn maybe_potential_action( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_potential_action(mut self, value: Option>) -> Self { self._fields.94 = value; self } @@ -7422,10 +7070,7 @@ impl RecipeBuilder { impl RecipeBuilder { /// Set the `publication` field (optional) - pub fn publication( - mut self, - value: impl Into>>, - ) -> Self { + pub fn publication(mut self, value: impl Into>>) -> Self { self._fields.98 = value.into(); self } @@ -7459,10 +7104,7 @@ impl RecipeBuilder { self } /// Set the `publisherImprint` field to an Option value (optional) - pub fn maybe_publisher_imprint( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_publisher_imprint(mut self, value: Option>) -> Self { self._fields.100 = value; self } @@ -7489,18 +7131,12 @@ impl RecipeBuilder { impl RecipeBuilder { /// Set the `recipeCategory` field (optional) - pub fn recipe_category( - mut self, - value: impl Into>>, - ) -> Self { + pub fn recipe_category(mut self, value: impl Into>>) -> Self { self._fields.102 = value.into(); self } /// Set the `recipeCategory` field to an Option value (optional) - pub fn maybe_recipe_category( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_recipe_category(mut self, value: Option>) -> Self { self._fields.102 = value; self } @@ -7508,18 +7144,12 @@ impl RecipeBuilder { impl RecipeBuilder { /// Set the `recipeCuisine` field (optional) - pub fn recipe_cuisine( - mut self, - value: impl Into>>, - ) -> Self { + pub fn recipe_cuisine(mut self, value: impl Into>>) -> Self { self._fields.103 = value.into(); self } /// Set the `recipeCuisine` field to an Option value (optional) - pub fn maybe_recipe_cuisine( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_recipe_cuisine(mut self, value: Option>) -> Self { self._fields.103 = value; self } @@ -7535,10 +7165,7 @@ impl RecipeBuilder { self } /// Set the `recipeIngredient` field to an Option value (optional) - pub fn maybe_recipe_ingredient( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_recipe_ingredient(mut self, value: Option>) -> Self { self._fields.104 = value; self } @@ -7554,10 +7181,7 @@ impl RecipeBuilder { self } /// Set the `recipeInstructions` field to an Option value (optional) - pub fn maybe_recipe_instructions( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_recipe_instructions(mut self, value: Option>) -> Self { self._fields.105 = value; self } @@ -7565,10 +7189,7 @@ impl RecipeBuilder { impl RecipeBuilder { /// Set the `recipeYield` field (optional) - pub fn recipe_yield( - mut self, - value: impl Into>>, - ) -> Self { + pub fn recipe_yield(mut self, value: impl Into>>) -> Self { self._fields.106 = value.into(); self } @@ -7594,18 +7215,12 @@ impl RecipeBuilder { impl RecipeBuilder { /// Set the `releasedEvent` field (optional) - pub fn released_event( - mut self, - value: impl Into>>, - ) -> Self { + pub fn released_event(mut self, value: impl Into>>) -> Self { self._fields.108 = value.into(); self } /// Set the `releasedEvent` field to an Option value (optional) - pub fn maybe_released_event( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_released_event(mut self, value: Option>) -> Self { self._fields.108 = value; self } @@ -7652,18 +7267,12 @@ impl RecipeBuilder { impl RecipeBuilder { /// Set the `schemaVersion` field (optional) - pub fn schema_version( - mut self, - value: impl Into>>, - ) -> Self { + pub fn schema_version(mut self, value: impl Into>>) -> Self { self._fields.112 = value.into(); self } /// Set the `schemaVersion` field to an Option value (optional) - pub fn maybe_schema_version( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_schema_version(mut self, value: Option>) -> Self { self._fields.112 = value; self } @@ -7671,18 +7280,12 @@ impl RecipeBuilder { impl RecipeBuilder { /// Set the `sdDatePublished` field (optional) - pub fn sd_date_published( - mut self, - value: impl Into>>, - ) -> Self { + pub fn sd_date_published(mut self, value: impl Into>>) -> Self { self._fields.113 = value.into(); self } /// Set the `sdDatePublished` field to an Option value (optional) - pub fn maybe_sd_date_published( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_sd_date_published(mut self, value: Option>) -> Self { self._fields.113 = value; self } @@ -7703,10 +7306,7 @@ impl RecipeBuilder { impl RecipeBuilder { /// Set the `sdPublisher` field (optional) - pub fn sd_publisher( - mut self, - value: impl Into>>, - ) -> Self { + pub fn sd_publisher(mut self, value: impl Into>>) -> Self { self._fields.115 = value.into(); self } @@ -7740,10 +7340,7 @@ impl RecipeBuilder { self } /// Set the `sourceOrganization` field to an Option value (optional) - pub fn maybe_source_organization( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_source_organization(mut self, value: Option>) -> Self { self._fields.117 = value; self } @@ -7764,18 +7361,12 @@ impl RecipeBuilder { impl RecipeBuilder { /// Set the `spatialCoverage` field (optional) - pub fn spatial_coverage( - mut self, - value: impl Into>>, - ) -> Self { + pub fn spatial_coverage(mut self, value: impl Into>>) -> Self { self._fields.119 = value.into(); self } /// Set the `spatialCoverage` field to an Option value (optional) - pub fn maybe_spatial_coverage( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_spatial_coverage(mut self, value: Option>) -> Self { self._fields.119 = value; self } @@ -7835,18 +7426,12 @@ impl RecipeBuilder { impl RecipeBuilder { /// Set the `suitableForDiet` field (optional) - pub fn suitable_for_diet( - mut self, - value: impl Into>>, - ) -> Self { + pub fn suitable_for_diet(mut self, value: impl Into>>) -> Self { self._fields.124 = value.into(); self } /// Set the `suitableForDiet` field to an Option value (optional) - pub fn maybe_suitable_for_diet( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_suitable_for_diet(mut self, value: Option>) -> Self { self._fields.124 = value; self } @@ -7901,10 +7486,7 @@ impl RecipeBuilder { self } /// Set the `temporalCoverage` field to an Option value (optional) - pub fn maybe_temporal_coverage( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_temporal_coverage(mut self, value: Option>) -> Self { self._fields.128 = value; self } @@ -7938,10 +7520,7 @@ impl RecipeBuilder { impl RecipeBuilder { /// Set the `thumbnailUrl` field (optional) - pub fn thumbnail_url( - mut self, - value: impl Into>>, - ) -> Self { + pub fn thumbnail_url(mut self, value: impl Into>>) -> Self { self._fields.131 = value.into(); self } @@ -7954,10 +7533,7 @@ impl RecipeBuilder { impl RecipeBuilder { /// Set the `timeRequired` field (optional) - pub fn time_required( - mut self, - value: impl Into>>, - ) -> Self { + pub fn time_required(mut self, value: impl Into>>) -> Self { self._fields.132 = value.into(); self } @@ -8004,10 +7580,7 @@ impl RecipeBuilder { self } /// Set the `translationOfWork` field to an Option value (optional) - pub fn maybe_translation_of_work( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_translation_of_work(mut self, value: Option>) -> Self { self._fields.135 = value; self } @@ -8028,18 +7601,12 @@ impl RecipeBuilder { impl RecipeBuilder { /// Set the `typicalAgeRange` field (optional) - pub fn typical_age_range( - mut self, - value: impl Into>>, - ) -> Self { + pub fn typical_age_range(mut self, value: impl Into>>) -> Self { self._fields.137 = value.into(); self } /// Set the `typicalAgeRange` field to an Option value (optional) - pub fn maybe_typical_age_range( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_typical_age_range(mut self, value: Option>) -> Self { self._fields.137 = value; self } @@ -8112,10 +7679,7 @@ impl RecipeBuilder { impl RecipeBuilder { /// Set the `workExample` field (optional) - pub fn work_example( - mut self, - value: impl Into>>, - ) -> Self { + pub fn work_example(mut self, value: impl Into>>) -> Self { self._fields.143 = value.into(); self } @@ -8128,18 +7692,12 @@ impl RecipeBuilder { impl RecipeBuilder { /// Set the `workTranslation` field (optional) - pub fn work_translation( - mut self, - value: impl Into>>, - ) -> Self { + pub fn work_translation(mut self, value: impl Into>>) -> Self { self._fields.144 = value.into(); self } /// Set the `workTranslation` field to an Option value (optional) - pub fn maybe_work_translation( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_work_translation(mut self, value: Option>) -> Self { self._fields.144 = value; self } @@ -8466,4 +8024,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/social_flockfeeds/lexical/type/social_media_posting.rs b/crates/jacquard-api/src/social_flockfeeds/lexical/type/social_media_posting.rs index 039400a1..306967d5 100644 --- a/crates/jacquard-api/src/social_flockfeeds/lexical/type/social_media_posting.rs +++ b/crates/jacquard-api/src/social_flockfeeds/lexical/type/social_media_posting.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,19 +24,22 @@ use jacquard_derive::{IntoStatic, lexicon, open_union}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::social_flockfeeds::lexical::r#type::event; use crate::social_flockfeeds::lexical::r#type::image_object; use crate::social_flockfeeds::lexical::r#type::offer; use crate::social_flockfeeds::lexical::r#type::organization; use crate::social_flockfeeds::lexical::r#type::person; use crate::social_flockfeeds::lexical::r#type::product; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; /// A post to a social media platform, including blog posts, tweets, Facebook posts, etc. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Embedded { #[serde(skip_serializing_if = "Option::is_none")] pub about: Option>, @@ -312,7 +315,6 @@ pub struct Embedded { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -366,7 +368,6 @@ pub enum EmbeddedAccountablePerson { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -437,7 +438,6 @@ pub enum EmbeddedAuthor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -461,7 +461,6 @@ pub enum EmbeddedCharacter { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -507,7 +506,6 @@ pub enum EmbeddedContributor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -518,7 +516,6 @@ pub enum EmbeddedCopyrightHolder { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -554,7 +551,6 @@ pub enum EmbeddedCreator { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -608,7 +604,6 @@ pub enum EmbeddedEditor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -664,7 +659,6 @@ pub enum EmbeddedFunder { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -698,7 +692,6 @@ pub enum EmbeddedImage { ImageObjectEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -732,7 +725,6 @@ pub enum EmbeddedIsBasedOn { ProductEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -741,7 +733,6 @@ pub enum EmbeddedIsBasedOnUrl { ProductEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -792,7 +783,6 @@ pub enum EmbeddedMaintainer { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -801,7 +791,6 @@ pub enum EmbeddedMaterial { ProductEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -825,7 +814,6 @@ pub enum EmbeddedOffers { OfferEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -866,7 +854,6 @@ pub enum EmbeddedProducer { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -877,7 +864,6 @@ pub enum EmbeddedProvider { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -893,7 +879,6 @@ pub enum EmbeddedPublisher { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -902,7 +887,6 @@ pub enum EmbeddedPublisherImprint { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -916,7 +900,6 @@ pub enum EmbeddedRecordedAt { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -962,7 +945,6 @@ pub enum EmbeddedSdPublisher { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -981,7 +963,6 @@ pub enum EmbeddedSourceOrganization { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1007,7 +988,6 @@ pub enum EmbeddedSponsor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1016,7 +996,6 @@ pub enum EmbeddedSubjectOf { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1045,7 +1024,6 @@ pub enum EmbeddedThumbnail { ImageObjectEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1071,7 +1049,6 @@ pub enum EmbeddedTranslator { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1217,9 +1194,7 @@ pub struct SocialMediaPosting { #[serde(skip_serializing_if = "Option::is_none")] pub digital_source_type: Option>, #[serde(skip_serializing_if = "Option::is_none")] - pub disambiguating_description: Option< - SocialMediaPostingDisambiguatingDescription, - >, + pub disambiguating_description: Option>, #[serde(skip_serializing_if = "Option::is_none")] pub discussion_url: Option>, #[serde(skip_serializing_if = "Option::is_none")] @@ -1396,7 +1371,6 @@ pub struct SocialMediaPosting { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1450,7 +1424,6 @@ pub enum SocialMediaPostingAccountablePerson { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1521,7 +1494,6 @@ pub enum SocialMediaPostingAuthor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1545,7 +1517,6 @@ pub enum SocialMediaPostingCharacter { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1591,7 +1562,6 @@ pub enum SocialMediaPostingContributor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1602,7 +1572,6 @@ pub enum SocialMediaPostingCopyrightHolder { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1638,7 +1607,6 @@ pub enum SocialMediaPostingCreator { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1692,7 +1660,6 @@ pub enum SocialMediaPostingEditor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1748,7 +1715,6 @@ pub enum SocialMediaPostingFunder { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1782,7 +1748,6 @@ pub enum SocialMediaPostingImage { ImageObjectEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1816,7 +1781,6 @@ pub enum SocialMediaPostingIsBasedOn { ProductEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1825,7 +1789,6 @@ pub enum SocialMediaPostingIsBasedOnUrl { ProductEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1876,7 +1839,6 @@ pub enum SocialMediaPostingMaintainer { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1885,7 +1847,6 @@ pub enum SocialMediaPostingMaterial { ProductEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1909,7 +1870,6 @@ pub enum SocialMediaPostingOffers { OfferEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1950,7 +1910,6 @@ pub enum SocialMediaPostingProducer { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1961,7 +1920,6 @@ pub enum SocialMediaPostingProvider { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1977,7 +1935,6 @@ pub enum SocialMediaPostingPublisher { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1986,7 +1943,6 @@ pub enum SocialMediaPostingPublisherImprint { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2000,7 +1956,6 @@ pub enum SocialMediaPostingRecordedAt { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2046,7 +2001,6 @@ pub enum SocialMediaPostingSdPublisher { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2065,7 +2019,6 @@ pub enum SocialMediaPostingSourceOrganization { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2091,7 +2044,6 @@ pub enum SocialMediaPostingSponsor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2100,7 +2052,6 @@ pub enum SocialMediaPostingSubjectOf { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2129,7 +2080,6 @@ pub enum SocialMediaPostingThumbnail { ImageObjectEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2155,7 +2105,6 @@ pub enum SocialMediaPostingTranslator { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2269,13 +2218,11 @@ impl LexiconSchema for SocialMediaPosting { } } -fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> LexiconDoc< - 'static, -> { +fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("social.flockfeeds.lexical.type.SocialMediaPosting"), @@ -5129,7 +5076,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_SocialMediaPosting() -> LexiconDoc pub mod social_media_posting_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -5302,141 +5249,16 @@ impl SocialMediaPostingBuilder SocialMediaPostingBuilder { _state: PhantomData, _fields: ( - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, ), _type: PhantomData, } @@ -5445,10 +5267,7 @@ impl SocialMediaPostingBuilder impl SocialMediaPostingBuilder { /// Set the `about` field (optional) - pub fn about( - mut self, - value: impl Into>>, - ) -> Self { + pub fn about(mut self, value: impl Into>>) -> Self { self._fields.0 = value.into(); self } @@ -5461,18 +5280,12 @@ impl SocialMediaPostingBuilder impl SocialMediaPostingBuilder { /// Set the `abstract` field (optional) - pub fn r#abstract( - mut self, - value: impl Into>>, - ) -> Self { + pub fn r#abstract(mut self, value: impl Into>>) -> Self { self._fields.1 = value.into(); self } /// Set the `abstract` field to an Option value (optional) - pub fn maybe_abstract( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_abstract(mut self, value: Option>) -> Self { self._fields.1 = value; self } @@ -5488,10 +5301,7 @@ impl SocialMediaPostingBuilder self } /// Set the `accessMode` field to an Option value (optional) - pub fn maybe_access_mode( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_access_mode(mut self, value: Option>) -> Self { self._fields.2 = value; self } @@ -5735,10 +5545,7 @@ impl SocialMediaPostingBuilder self } /// Set the `archivedAt` field to an Option value (optional) - pub fn maybe_archived_at( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_archived_at(mut self, value: Option>) -> Self { self._fields.15 = value; self } @@ -5754,10 +5561,7 @@ impl SocialMediaPostingBuilder self } /// Set the `articleBody` field to an Option value (optional) - pub fn maybe_article_body( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_article_body(mut self, value: Option>) -> Self { self._fields.16 = value; self } @@ -5784,18 +5588,12 @@ impl SocialMediaPostingBuilder impl SocialMediaPostingBuilder { /// Set the `assesses` field (optional) - pub fn assesses( - mut self, - value: impl Into>>, - ) -> Self { + pub fn assesses(mut self, value: impl Into>>) -> Self { self._fields.18 = value.into(); self } /// Set the `assesses` field to an Option value (optional) - pub fn maybe_assesses( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_assesses(mut self, value: Option>) -> Self { self._fields.18 = value; self } @@ -5822,18 +5620,12 @@ impl SocialMediaPostingBuilder impl SocialMediaPostingBuilder { /// Set the `audience` field (optional) - pub fn audience( - mut self, - value: impl Into>>, - ) -> Self { + pub fn audience(mut self, value: impl Into>>) -> Self { self._fields.20 = value.into(); self } /// Set the `audience` field to an Option value (optional) - pub fn maybe_audience( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_audience(mut self, value: Option>) -> Self { self._fields.20 = value; self } @@ -5841,10 +5633,7 @@ impl SocialMediaPostingBuilder impl SocialMediaPostingBuilder { /// Set the `audio` field (optional) - pub fn audio( - mut self, - value: impl Into>>, - ) -> Self { + pub fn audio(mut self, value: impl Into>>) -> Self { self._fields.21 = value.into(); self } @@ -5857,10 +5646,7 @@ impl SocialMediaPostingBuilder impl SocialMediaPostingBuilder { /// Set the `author` field (optional) - pub fn author( - mut self, - value: impl Into>>, - ) -> Self { + pub fn author(mut self, value: impl Into>>) -> Self { self._fields.22 = value.into(); self } @@ -5873,10 +5659,7 @@ impl SocialMediaPostingBuilder impl SocialMediaPostingBuilder { /// Set the `award` field (optional) - pub fn award( - mut self, - value: impl Into>>, - ) -> Self { + pub fn award(mut self, value: impl Into>>) -> Self { self._fields.23 = value.into(); self } @@ -5889,10 +5672,7 @@ impl SocialMediaPostingBuilder impl SocialMediaPostingBuilder { /// Set the `awards` field (optional) - pub fn awards( - mut self, - value: impl Into>>, - ) -> Self { + pub fn awards(mut self, value: impl Into>>) -> Self { self._fields.24 = value.into(); self } @@ -5905,18 +5685,12 @@ impl SocialMediaPostingBuilder impl SocialMediaPostingBuilder { /// Set the `backstory` field (optional) - pub fn backstory( - mut self, - value: impl Into>>, - ) -> Self { + pub fn backstory(mut self, value: impl Into>>) -> Self { self._fields.25 = value.into(); self } /// Set the `backstory` field to an Option value (optional) - pub fn maybe_backstory( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_backstory(mut self, value: Option>) -> Self { self._fields.25 = value; self } @@ -5924,18 +5698,12 @@ impl SocialMediaPostingBuilder impl SocialMediaPostingBuilder { /// Set the `character` field (optional) - pub fn character( - mut self, - value: impl Into>>, - ) -> Self { + pub fn character(mut self, value: impl Into>>) -> Self { self._fields.26 = value.into(); self } /// Set the `character` field to an Option value (optional) - pub fn maybe_character( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_character(mut self, value: Option>) -> Self { self._fields.26 = value; self } @@ -5943,18 +5711,12 @@ impl SocialMediaPostingBuilder impl SocialMediaPostingBuilder { /// Set the `citation` field (optional) - pub fn citation( - mut self, - value: impl Into>>, - ) -> Self { + pub fn citation(mut self, value: impl Into>>) -> Self { self._fields.27 = value.into(); self } /// Set the `citation` field to an Option value (optional) - pub fn maybe_citation( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_citation(mut self, value: Option>) -> Self { self._fields.27 = value; self } @@ -5962,10 +5724,7 @@ impl SocialMediaPostingBuilder impl SocialMediaPostingBuilder { /// Set the `comment` field (optional) - pub fn comment( - mut self, - value: impl Into>>, - ) -> Self { + pub fn comment(mut self, value: impl Into>>) -> Self { self._fields.28 = value.into(); self } @@ -5986,10 +5745,7 @@ impl SocialMediaPostingBuilder self } /// Set the `commentCount` field to an Option value (optional) - pub fn maybe_comment_count( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_comment_count(mut self, value: Option>) -> Self { self._fields.29 = value; self } @@ -6081,10 +5837,7 @@ impl SocialMediaPostingBuilder self } /// Set the `contributor` field to an Option value (optional) - pub fn maybe_contributor( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_contributor(mut self, value: Option>) -> Self { self._fields.34 = value; self } @@ -6149,18 +5902,12 @@ impl SocialMediaPostingBuilder impl SocialMediaPostingBuilder { /// Set the `correction` field (optional) - pub fn correction( - mut self, - value: impl Into>>, - ) -> Self { + pub fn correction(mut self, value: impl Into>>) -> Self { self._fields.38 = value.into(); self } /// Set the `correction` field to an Option value (optional) - pub fn maybe_correction( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_correction(mut self, value: Option>) -> Self { self._fields.38 = value; self } @@ -6206,10 +5953,7 @@ impl SocialMediaPostingBuilder impl SocialMediaPostingBuilder { /// Set the `creator` field (optional) - pub fn creator( - mut self, - value: impl Into>>, - ) -> Self { + pub fn creator(mut self, value: impl Into>>) -> Self { self._fields.41 = value.into(); self } @@ -6230,10 +5974,7 @@ impl SocialMediaPostingBuilder self } /// Set the `creditText` field to an Option value (optional) - pub fn maybe_credit_text( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_credit_text(mut self, value: Option>) -> Self { self._fields.42 = value; self } @@ -6249,10 +5990,7 @@ impl SocialMediaPostingBuilder self } /// Set the `dateCreated` field to an Option value (optional) - pub fn maybe_date_created( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_date_created(mut self, value: Option>) -> Self { self._fields.43 = value; self } @@ -6268,10 +6006,7 @@ impl SocialMediaPostingBuilder self } /// Set the `dateModified` field to an Option value (optional) - pub fn maybe_date_modified( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_date_modified(mut self, value: Option>) -> Self { self._fields.44 = value; self } @@ -6306,10 +6041,7 @@ impl SocialMediaPostingBuilder self } /// Set the `description` field to an Option value (optional) - pub fn maybe_description( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_description(mut self, value: Option>) -> Self { self._fields.46 = value; self } @@ -6374,18 +6106,12 @@ impl SocialMediaPostingBuilder impl SocialMediaPostingBuilder { /// Set the `editEIDR` field (optional) - pub fn edit_eidr( - mut self, - value: impl Into>>, - ) -> Self { + pub fn edit_eidr(mut self, value: impl Into>>) -> Self { self._fields.50 = value.into(); self } /// Set the `editEIDR` field to an Option value (optional) - pub fn maybe_edit_eidr( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_edit_eidr(mut self, value: Option>) -> Self { self._fields.50 = value; self } @@ -6393,10 +6119,7 @@ impl SocialMediaPostingBuilder impl SocialMediaPostingBuilder { /// Set the `editor` field (optional) - pub fn editor( - mut self, - value: impl Into>>, - ) -> Self { + pub fn editor(mut self, value: impl Into>>) -> Self { self._fields.51 = value.into(); self } @@ -6466,18 +6189,12 @@ impl SocialMediaPostingBuilder impl SocialMediaPostingBuilder { /// Set the `encoding` field (optional) - pub fn encoding( - mut self, - value: impl Into>>, - ) -> Self { + pub fn encoding(mut self, value: impl Into>>) -> Self { self._fields.55 = value.into(); self } /// Set the `encoding` field to an Option value (optional) - pub fn maybe_encoding( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_encoding(mut self, value: Option>) -> Self { self._fields.55 = value; self } @@ -6504,18 +6221,12 @@ impl SocialMediaPostingBuilder impl SocialMediaPostingBuilder { /// Set the `encodings` field (optional) - pub fn encodings( - mut self, - value: impl Into>>, - ) -> Self { + pub fn encodings(mut self, value: impl Into>>) -> Self { self._fields.57 = value.into(); self } /// Set the `encodings` field to an Option value (optional) - pub fn maybe_encodings( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_encodings(mut self, value: Option>) -> Self { self._fields.57 = value; self } @@ -6542,10 +6253,7 @@ impl SocialMediaPostingBuilder impl SocialMediaPostingBuilder { /// Set the `expires` field (optional) - pub fn expires( - mut self, - value: impl Into>>, - ) -> Self { + pub fn expires(mut self, value: impl Into>>) -> Self { self._fields.59 = value.into(); self } @@ -6566,10 +6274,7 @@ impl SocialMediaPostingBuilder self } /// Set the `fileFormat` field to an Option value (optional) - pub fn maybe_file_format( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_file_format(mut self, value: Option>) -> Self { self._fields.60 = value; self } @@ -6577,10 +6282,7 @@ impl SocialMediaPostingBuilder impl SocialMediaPostingBuilder { /// Set the `funder` field (optional) - pub fn funder( - mut self, - value: impl Into>>, - ) -> Self { + pub fn funder(mut self, value: impl Into>>) -> Self { self._fields.61 = value.into(); self } @@ -6593,10 +6295,7 @@ impl SocialMediaPostingBuilder impl SocialMediaPostingBuilder { /// Set the `funding` field (optional) - pub fn funding( - mut self, - value: impl Into>>, - ) -> Self { + pub fn funding(mut self, value: impl Into>>) -> Self { self._fields.62 = value.into(); self } @@ -6609,10 +6308,7 @@ impl SocialMediaPostingBuilder impl SocialMediaPostingBuilder { /// Set the `genre` field (optional) - pub fn genre( - mut self, - value: impl Into>>, - ) -> Self { + pub fn genre(mut self, value: impl Into>>) -> Self { self._fields.63 = value.into(); self } @@ -6625,18 +6321,12 @@ impl SocialMediaPostingBuilder impl SocialMediaPostingBuilder { /// Set the `hasPart` field (optional) - pub fn has_part( - mut self, - value: impl Into>>, - ) -> Self { + pub fn has_part(mut self, value: impl Into>>) -> Self { self._fields.64 = value.into(); self } /// Set the `hasPart` field to an Option value (optional) - pub fn maybe_has_part( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_has_part(mut self, value: Option>) -> Self { self._fields.64 = value; self } @@ -6644,18 +6334,12 @@ impl SocialMediaPostingBuilder impl SocialMediaPostingBuilder { /// Set the `headline` field (optional) - pub fn headline( - mut self, - value: impl Into>>, - ) -> Self { + pub fn headline(mut self, value: impl Into>>) -> Self { self._fields.65 = value.into(); self } /// Set the `headline` field to an Option value (optional) - pub fn maybe_headline( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_headline(mut self, value: Option>) -> Self { self._fields.65 = value; self } @@ -6663,18 +6347,12 @@ impl SocialMediaPostingBuilder impl SocialMediaPostingBuilder { /// Set the `identifier` field (optional) - pub fn identifier( - mut self, - value: impl Into>>, - ) -> Self { + pub fn identifier(mut self, value: impl Into>>) -> Self { self._fields.66 = value.into(); self } /// Set the `identifier` field to an Option value (optional) - pub fn maybe_identifier( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_identifier(mut self, value: Option>) -> Self { self._fields.66 = value; self } @@ -6682,10 +6360,7 @@ impl SocialMediaPostingBuilder impl SocialMediaPostingBuilder { /// Set the `image` field (optional) - pub fn image( - mut self, - value: impl Into>>, - ) -> Self { + pub fn image(mut self, value: impl Into>>) -> Self { self._fields.67 = value.into(); self } @@ -6706,10 +6381,7 @@ impl SocialMediaPostingBuilder self } /// Set the `inLanguage` field to an Option value (optional) - pub fn maybe_in_language( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_in_language(mut self, value: Option>) -> Self { self._fields.68 = value; self } @@ -6793,18 +6465,12 @@ impl SocialMediaPostingBuilder impl SocialMediaPostingBuilder { /// Set the `isBasedOn` field (optional) - pub fn is_based_on( - mut self, - value: impl Into>>, - ) -> Self { + pub fn is_based_on(mut self, value: impl Into>>) -> Self { self._fields.73 = value.into(); self } /// Set the `isBasedOn` field to an Option value (optional) - pub fn maybe_is_based_on( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_is_based_on(mut self, value: Option>) -> Self { self._fields.73 = value; self } @@ -6850,18 +6516,12 @@ impl SocialMediaPostingBuilder impl SocialMediaPostingBuilder { /// Set the `isPartOf` field (optional) - pub fn is_part_of( - mut self, - value: impl Into>>, - ) -> Self { + pub fn is_part_of(mut self, value: impl Into>>) -> Self { self._fields.76 = value.into(); self } /// Set the `isPartOf` field to an Option value (optional) - pub fn maybe_is_part_of( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_is_part_of(mut self, value: Option>) -> Self { self._fields.76 = value; self } @@ -6869,18 +6529,12 @@ impl SocialMediaPostingBuilder impl SocialMediaPostingBuilder { /// Set the `keywords` field (optional) - pub fn keywords( - mut self, - value: impl Into>>, - ) -> Self { + pub fn keywords(mut self, value: impl Into>>) -> Self { self._fields.77 = value.into(); self } /// Set the `keywords` field to an Option value (optional) - pub fn maybe_keywords( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_keywords(mut self, value: Option>) -> Self { self._fields.77 = value; self } @@ -6907,10 +6561,7 @@ impl SocialMediaPostingBuilder impl SocialMediaPostingBuilder { /// Set the `license` field (optional) - pub fn license( - mut self, - value: impl Into>>, - ) -> Self { + pub fn license(mut self, value: impl Into>>) -> Self { self._fields.79 = value.into(); self } @@ -6950,10 +6601,7 @@ impl SocialMediaPostingBuilder self } /// Set the `mainEntity` field to an Option value (optional) - pub fn maybe_main_entity( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_main_entity(mut self, value: Option>) -> Self { self._fields.81 = value; self } @@ -6980,18 +6628,12 @@ impl SocialMediaPostingBuilder impl SocialMediaPostingBuilder { /// Set the `maintainer` field (optional) - pub fn maintainer( - mut self, - value: impl Into>>, - ) -> Self { + pub fn maintainer(mut self, value: impl Into>>) -> Self { self._fields.83 = value.into(); self } /// Set the `maintainer` field to an Option value (optional) - pub fn maybe_maintainer( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_maintainer(mut self, value: Option>) -> Self { self._fields.83 = value; self } @@ -6999,18 +6641,12 @@ impl SocialMediaPostingBuilder impl SocialMediaPostingBuilder { /// Set the `material` field (optional) - pub fn material( - mut self, - value: impl Into>>, - ) -> Self { + pub fn material(mut self, value: impl Into>>) -> Self { self._fields.84 = value.into(); self } /// Set the `material` field to an Option value (optional) - pub fn maybe_material( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_material(mut self, value: Option>) -> Self { self._fields.84 = value; self } @@ -7037,18 +6673,12 @@ impl SocialMediaPostingBuilder impl SocialMediaPostingBuilder { /// Set the `mentions` field (optional) - pub fn mentions( - mut self, - value: impl Into>>, - ) -> Self { + pub fn mentions(mut self, value: impl Into>>) -> Self { self._fields.86 = value.into(); self } /// Set the `mentions` field to an Option value (optional) - pub fn maybe_mentions( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_mentions(mut self, value: Option>) -> Self { self._fields.86 = value; self } @@ -7069,10 +6699,7 @@ impl SocialMediaPostingBuilder impl SocialMediaPostingBuilder { /// Set the `offers` field (optional) - pub fn offers( - mut self, - value: impl Into>>, - ) -> Self { + pub fn offers(mut self, value: impl Into>>) -> Self { self._fields.88 = value.into(); self } @@ -7085,18 +6712,12 @@ impl SocialMediaPostingBuilder impl SocialMediaPostingBuilder { /// Set the `pageEnd` field (optional) - pub fn page_end( - mut self, - value: impl Into>>, - ) -> Self { + pub fn page_end(mut self, value: impl Into>>) -> Self { self._fields.89 = value.into(); self } /// Set the `pageEnd` field to an Option value (optional) - pub fn maybe_page_end( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_page_end(mut self, value: Option>) -> Self { self._fields.89 = value; self } @@ -7104,18 +6725,12 @@ impl SocialMediaPostingBuilder impl SocialMediaPostingBuilder { /// Set the `pageStart` field (optional) - pub fn page_start( - mut self, - value: impl Into>>, - ) -> Self { + pub fn page_start(mut self, value: impl Into>>) -> Self { self._fields.90 = value.into(); self } /// Set the `pageStart` field to an Option value (optional) - pub fn maybe_page_start( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_page_start(mut self, value: Option>) -> Self { self._fields.90 = value; self } @@ -7123,18 +6738,12 @@ impl SocialMediaPostingBuilder impl SocialMediaPostingBuilder { /// Set the `pagination` field (optional) - pub fn pagination( - mut self, - value: impl Into>>, - ) -> Self { + pub fn pagination(mut self, value: impl Into>>) -> Self { self._fields.91 = value.into(); self } /// Set the `pagination` field to an Option value (optional) - pub fn maybe_pagination( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_pagination(mut self, value: Option>) -> Self { self._fields.91 = value; self } @@ -7142,10 +6751,7 @@ impl SocialMediaPostingBuilder impl SocialMediaPostingBuilder { /// Set the `pattern` field (optional) - pub fn pattern( - mut self, - value: impl Into>>, - ) -> Self { + pub fn pattern(mut self, value: impl Into>>) -> Self { self._fields.92 = value.into(); self } @@ -7158,18 +6764,12 @@ impl SocialMediaPostingBuilder impl SocialMediaPostingBuilder { /// Set the `position` field (optional) - pub fn position( - mut self, - value: impl Into>>, - ) -> Self { + pub fn position(mut self, value: impl Into>>) -> Self { self._fields.93 = value.into(); self } /// Set the `position` field to an Option value (optional) - pub fn maybe_position( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_position(mut self, value: Option>) -> Self { self._fields.93 = value; self } @@ -7196,18 +6796,12 @@ impl SocialMediaPostingBuilder impl SocialMediaPostingBuilder { /// Set the `producer` field (optional) - pub fn producer( - mut self, - value: impl Into>>, - ) -> Self { + pub fn producer(mut self, value: impl Into>>) -> Self { self._fields.95 = value.into(); self } /// Set the `producer` field to an Option value (optional) - pub fn maybe_producer( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_producer(mut self, value: Option>) -> Self { self._fields.95 = value; self } @@ -7215,18 +6809,12 @@ impl SocialMediaPostingBuilder impl SocialMediaPostingBuilder { /// Set the `provider` field (optional) - pub fn provider( - mut self, - value: impl Into>>, - ) -> Self { + pub fn provider(mut self, value: impl Into>>) -> Self { self._fields.96 = value.into(); self } /// Set the `provider` field to an Option value (optional) - pub fn maybe_provider( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_provider(mut self, value: Option>) -> Self { self._fields.96 = value; self } @@ -7242,10 +6830,7 @@ impl SocialMediaPostingBuilder self } /// Set the `publication` field to an Option value (optional) - pub fn maybe_publication( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_publication(mut self, value: Option>) -> Self { self._fields.97 = value; self } @@ -7253,18 +6838,12 @@ impl SocialMediaPostingBuilder impl SocialMediaPostingBuilder { /// Set the `publisher` field (optional) - pub fn publisher( - mut self, - value: impl Into>>, - ) -> Self { + pub fn publisher(mut self, value: impl Into>>) -> Self { self._fields.98 = value.into(); self } /// Set the `publisher` field to an Option value (optional) - pub fn maybe_publisher( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_publisher(mut self, value: Option>) -> Self { self._fields.98 = value; self } @@ -7318,10 +6897,7 @@ impl SocialMediaPostingBuilder self } /// Set the `recordedAt` field to an Option value (optional) - pub fn maybe_recorded_at( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_recorded_at(mut self, value: Option>) -> Self { self._fields.101 = value; self } @@ -7348,10 +6924,7 @@ impl SocialMediaPostingBuilder impl SocialMediaPostingBuilder { /// Set the `review` field (optional) - pub fn review( - mut self, - value: impl Into>>, - ) -> Self { + pub fn review(mut self, value: impl Into>>) -> Self { self._fields.103 = value.into(); self } @@ -7364,10 +6937,7 @@ impl SocialMediaPostingBuilder impl SocialMediaPostingBuilder { /// Set the `reviews` field (optional) - pub fn reviews( - mut self, - value: impl Into>>, - ) -> Self { + pub fn reviews(mut self, value: impl Into>>) -> Self { self._fields.104 = value.into(); self } @@ -7380,10 +6950,7 @@ impl SocialMediaPostingBuilder impl SocialMediaPostingBuilder { /// Set the `sameAs` field (optional) - pub fn same_as( - mut self, - value: impl Into>>, - ) -> Self { + pub fn same_as(mut self, value: impl Into>>) -> Self { self._fields.105 = value.into(); self } @@ -7434,18 +7001,12 @@ impl SocialMediaPostingBuilder impl SocialMediaPostingBuilder { /// Set the `sdLicense` field (optional) - pub fn sd_license( - mut self, - value: impl Into>>, - ) -> Self { + pub fn sd_license(mut self, value: impl Into>>) -> Self { self._fields.108 = value.into(); self } /// Set the `sdLicense` field to an Option value (optional) - pub fn maybe_sd_license( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_sd_license(mut self, value: Option>) -> Self { self._fields.108 = value; self } @@ -7461,10 +7022,7 @@ impl SocialMediaPostingBuilder self } /// Set the `sdPublisher` field to an Option value (optional) - pub fn maybe_sd_publisher( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_sd_publisher(mut self, value: Option>) -> Self { self._fields.109 = value; self } @@ -7523,10 +7081,7 @@ impl SocialMediaPostingBuilder impl SocialMediaPostingBuilder { /// Set the `spatial` field (optional) - pub fn spatial( - mut self, - value: impl Into>>, - ) -> Self { + pub fn spatial(mut self, value: impl Into>>) -> Self { self._fields.113 = value.into(); self } @@ -7558,18 +7113,12 @@ impl SocialMediaPostingBuilder impl SocialMediaPostingBuilder { /// Set the `speakable` field (optional) - pub fn speakable( - mut self, - value: impl Into>>, - ) -> Self { + pub fn speakable(mut self, value: impl Into>>) -> Self { self._fields.115 = value.into(); self } /// Set the `speakable` field to an Option value (optional) - pub fn maybe_speakable( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_speakable(mut self, value: Option>) -> Self { self._fields.115 = value; self } @@ -7577,10 +7126,7 @@ impl SocialMediaPostingBuilder impl SocialMediaPostingBuilder { /// Set the `sponsor` field (optional) - pub fn sponsor( - mut self, - value: impl Into>>, - ) -> Self { + pub fn sponsor(mut self, value: impl Into>>) -> Self { self._fields.116 = value.into(); self } @@ -7593,18 +7139,12 @@ impl SocialMediaPostingBuilder impl SocialMediaPostingBuilder { /// Set the `subjectOf` field (optional) - pub fn subject_of( - mut self, - value: impl Into>>, - ) -> Self { + pub fn subject_of(mut self, value: impl Into>>) -> Self { self._fields.117 = value.into(); self } /// Set the `subjectOf` field to an Option value (optional) - pub fn maybe_subject_of( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_subject_of(mut self, value: Option>) -> Self { self._fields.117 = value; self } @@ -7612,10 +7152,7 @@ impl SocialMediaPostingBuilder impl SocialMediaPostingBuilder { /// Set the `teaches` field (optional) - pub fn teaches( - mut self, - value: impl Into>>, - ) -> Self { + pub fn teaches(mut self, value: impl Into>>) -> Self { self._fields.118 = value.into(); self } @@ -7628,18 +7165,12 @@ impl SocialMediaPostingBuilder impl SocialMediaPostingBuilder { /// Set the `temporal` field (optional) - pub fn temporal( - mut self, - value: impl Into>>, - ) -> Self { + pub fn temporal(mut self, value: impl Into>>) -> Self { self._fields.119 = value.into(); self } /// Set the `temporal` field to an Option value (optional) - pub fn maybe_temporal( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_temporal(mut self, value: Option>) -> Self { self._fields.119 = value; self } @@ -7679,18 +7210,12 @@ impl SocialMediaPostingBuilder impl SocialMediaPostingBuilder { /// Set the `thumbnail` field (optional) - pub fn thumbnail( - mut self, - value: impl Into>>, - ) -> Self { + pub fn thumbnail(mut self, value: impl Into>>) -> Self { self._fields.122 = value.into(); self } /// Set the `thumbnail` field to an Option value (optional) - pub fn maybe_thumbnail( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_thumbnail(mut self, value: Option>) -> Self { self._fields.122 = value; self } @@ -7706,10 +7231,7 @@ impl SocialMediaPostingBuilder self } /// Set the `thumbnailUrl` field to an Option value (optional) - pub fn maybe_thumbnail_url( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_thumbnail_url(mut self, value: Option>) -> Self { self._fields.123 = value; self } @@ -7725,10 +7247,7 @@ impl SocialMediaPostingBuilder self } /// Set the `timeRequired` field to an Option value (optional) - pub fn maybe_time_required( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_time_required(mut self, value: Option>) -> Self { self._fields.124 = value; self } @@ -7755,18 +7274,12 @@ impl SocialMediaPostingBuilder impl SocialMediaPostingBuilder { /// Set the `translator` field (optional) - pub fn translator( - mut self, - value: impl Into>>, - ) -> Self { + pub fn translator(mut self, value: impl Into>>) -> Self { self._fields.126 = value.into(); self } /// Set the `translator` field to an Option value (optional) - pub fn maybe_translator( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_translator(mut self, value: Option>) -> Self { self._fields.126 = value; self } @@ -7806,18 +7319,12 @@ impl SocialMediaPostingBuilder impl SocialMediaPostingBuilder { /// Set the `usageInfo` field (optional) - pub fn usage_info( - mut self, - value: impl Into>>, - ) -> Self { + pub fn usage_info(mut self, value: impl Into>>) -> Self { self._fields.129 = value.into(); self } /// Set the `usageInfo` field to an Option value (optional) - pub fn maybe_usage_info( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_usage_info(mut self, value: Option>) -> Self { self._fields.129 = value; self } @@ -7825,10 +7332,7 @@ impl SocialMediaPostingBuilder impl SocialMediaPostingBuilder { /// Set the `version` field (optional) - pub fn version( - mut self, - value: impl Into>>, - ) -> Self { + pub fn version(mut self, value: impl Into>>) -> Self { self._fields.130 = value.into(); self } @@ -7841,10 +7345,7 @@ impl SocialMediaPostingBuilder impl SocialMediaPostingBuilder { /// Set the `video` field (optional) - pub fn video( - mut self, - value: impl Into>>, - ) -> Self { + pub fn video(mut self, value: impl Into>>) -> Self { self._fields.131 = value.into(); self } @@ -7857,18 +7358,12 @@ impl SocialMediaPostingBuilder impl SocialMediaPostingBuilder { /// Set the `wordCount` field (optional) - pub fn word_count( - mut self, - value: impl Into>>, - ) -> Self { + pub fn word_count(mut self, value: impl Into>>) -> Self { self._fields.132 = value.into(); self } /// Set the `wordCount` field to an Option value (optional) - pub fn maybe_word_count( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_word_count(mut self, value: Option>) -> Self { self._fields.132 = value; self } @@ -7884,10 +7379,7 @@ impl SocialMediaPostingBuilder self } /// Set the `workExample` field to an Option value (optional) - pub fn maybe_work_example( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_work_example(mut self, value: Option>) -> Self { self._fields.133 = value; self } @@ -8058,10 +7550,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> SocialMediaPosting { + pub fn build_with_data(self, extra_data: BTreeMap>) -> SocialMediaPosting { SocialMediaPosting { about: self._fields.0, r#abstract: self._fields.1, @@ -8201,4 +7690,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/social_flockfeeds/lexical/type/store.rs b/crates/jacquard-api/src/social_flockfeeds/lexical/type/store.rs index 457d15f9..237d401d 100644 --- a/crates/jacquard-api/src/social_flockfeeds/lexical/type/store.rs +++ b/crates/jacquard-api/src/social_flockfeeds/lexical/type/store.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,9 +24,6 @@ use jacquard_derive::{IntoStatic, lexicon, open_union}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::social_flockfeeds::lexical::r#type::article; use crate::social_flockfeeds::lexical::r#type::brand; use crate::social_flockfeeds::lexical::r#type::event; @@ -35,10 +32,16 @@ use crate::social_flockfeeds::lexical::r#type::offer; use crate::social_flockfeeds::lexical::r#type::organization; use crate::social_flockfeeds::lexical::r#type::person; use crate::social_flockfeeds::lexical::r#type::product; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; /// A retail good store. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Embedded { #[serde(skip_serializing_if = "Option::is_none")] pub accepted_payment_method: Option>, @@ -273,9 +276,7 @@ pub struct Embedded { #[serde(skip_serializing_if = "Option::is_none")] pub smoking_allowed: Option>, #[serde(skip_serializing_if = "Option::is_none")] - pub special_opening_hours_specification: Option< - EmbeddedSpecialOpeningHoursSpecification, - >, + pub special_opening_hours_specification: Option>, #[serde(skip_serializing_if = "Option::is_none")] pub sponsor: Option>, #[serde(skip_serializing_if = "Option::is_none")] @@ -298,7 +299,6 @@ pub struct Embedded { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -347,7 +347,6 @@ pub enum EmbeddedAlumni { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -381,7 +380,6 @@ pub enum EmbeddedBranchOf { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -392,7 +390,6 @@ pub enum EmbeddedBrand { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -441,7 +438,6 @@ pub enum EmbeddedDepartment { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -470,7 +466,6 @@ pub enum EmbeddedDiversityStaffingReport { ArticleEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -489,7 +484,6 @@ pub enum EmbeddedEmployee { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -498,7 +492,6 @@ pub enum EmbeddedEmployees { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -512,7 +505,6 @@ pub enum EmbeddedEvent { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -521,7 +513,6 @@ pub enum EmbeddedEvents { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -537,7 +528,6 @@ pub enum EmbeddedFounder { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -546,7 +536,6 @@ pub enum EmbeddedFounders { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -567,7 +556,6 @@ pub enum EmbeddedFunder { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -701,7 +689,6 @@ pub enum EmbeddedImage { ImageObjectEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -760,7 +747,6 @@ pub enum EmbeddedLegalRepresentative { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -779,7 +765,6 @@ pub enum EmbeddedLogo { ImageObjectEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -798,7 +783,6 @@ pub enum EmbeddedMakesOffer { OfferEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -824,7 +808,6 @@ pub enum EmbeddedMember { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -833,7 +816,6 @@ pub enum EmbeddedMemberOf { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -844,7 +826,6 @@ pub enum EmbeddedMembers { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -888,7 +869,6 @@ pub enum EmbeddedOwns { ProductEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -897,7 +877,6 @@ pub enum EmbeddedParentOrganization { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -911,7 +890,6 @@ pub enum EmbeddedPhoto { ImageObjectEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -920,7 +898,6 @@ pub enum EmbeddedPhotos { ImageObjectEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -996,7 +973,6 @@ pub enum EmbeddedSponsor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1005,7 +981,6 @@ pub enum EmbeddedSubOrganization { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1014,7 +989,6 @@ pub enum EmbeddedSubjectOf { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1286,9 +1260,7 @@ pub struct Store { #[serde(skip_serializing_if = "Option::is_none")] pub smoking_allowed: Option>, #[serde(skip_serializing_if = "Option::is_none")] - pub special_opening_hours_specification: Option< - StoreSpecialOpeningHoursSpecification, - >, + pub special_opening_hours_specification: Option>, #[serde(skip_serializing_if = "Option::is_none")] pub sponsor: Option>, #[serde(skip_serializing_if = "Option::is_none")] @@ -1311,7 +1283,6 @@ pub struct Store { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1360,7 +1331,6 @@ pub enum StoreAlumni { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1394,7 +1364,6 @@ pub enum StoreBranchOf { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1405,7 +1374,6 @@ pub enum StoreBrand { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1454,7 +1422,6 @@ pub enum StoreDepartment { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1483,7 +1450,6 @@ pub enum StoreDiversityStaffingReport { ArticleEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1502,7 +1468,6 @@ pub enum StoreEmployee { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1511,7 +1476,6 @@ pub enum StoreEmployees { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1525,7 +1489,6 @@ pub enum StoreEvent { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1534,7 +1497,6 @@ pub enum StoreEvents { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1550,7 +1512,6 @@ pub enum StoreFounder { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1559,7 +1520,6 @@ pub enum StoreFounders { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1580,7 +1540,6 @@ pub enum StoreFunder { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1714,7 +1673,6 @@ pub enum StoreImage { ImageObjectEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1773,7 +1731,6 @@ pub enum StoreLegalRepresentative { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1792,7 +1749,6 @@ pub enum StoreLogo { ImageObjectEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1811,7 +1767,6 @@ pub enum StoreMakesOffer { OfferEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1837,7 +1792,6 @@ pub enum StoreMember { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1846,7 +1800,6 @@ pub enum StoreMemberOf { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1857,7 +1810,6 @@ pub enum StoreMembers { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1901,7 +1853,6 @@ pub enum StoreOwns { ProductEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1910,7 +1861,6 @@ pub enum StoreParentOrganization { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1924,7 +1874,6 @@ pub enum StorePhoto { ImageObjectEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1933,7 +1882,6 @@ pub enum StorePhotos { ImageObjectEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2009,7 +1957,6 @@ pub enum StoreSponsor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2018,7 +1965,6 @@ pub enum StoreSubOrganization { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2027,7 +1973,6 @@ pub enum StoreSubjectOf { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2132,10 +2077,10 @@ impl LexiconSchema for Store { } fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("social.flockfeeds.lexical.type.Store"), @@ -4805,7 +4750,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_Store() -> LexiconDoc<'static> { pub mod store_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -4969,132 +4914,15 @@ impl StoreBuilder { StoreBuilder { _state: PhantomData, _fields: ( - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, ), _type: PhantomData, } @@ -5149,10 +4977,7 @@ impl StoreBuilder { self } /// Set the `additionalProperty` field to an Option value (optional) - pub fn maybe_additional_property( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_additional_property(mut self, value: Option>) -> Self { self._fields.2 = value; self } @@ -5160,18 +4985,12 @@ impl StoreBuilder { impl StoreBuilder { /// Set the `additionalType` field (optional) - pub fn additional_type( - mut self, - value: impl Into>>, - ) -> Self { + pub fn additional_type(mut self, value: impl Into>>) -> Self { self._fields.3 = value.into(); self } /// Set the `additionalType` field to an Option value (optional) - pub fn maybe_additional_type( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_additional_type(mut self, value: Option>) -> Self { self._fields.3 = value; self } @@ -5211,18 +5030,12 @@ impl StoreBuilder { impl StoreBuilder { /// Set the `aggregateRating` field (optional) - pub fn aggregate_rating( - mut self, - value: impl Into>>, - ) -> Self { + pub fn aggregate_rating(mut self, value: impl Into>>) -> Self { self._fields.6 = value.into(); self } /// Set the `aggregateRating` field to an Option value (optional) - pub fn maybe_aggregate_rating( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_aggregate_rating(mut self, value: Option>) -> Self { self._fields.6 = value; self } @@ -5230,10 +5043,7 @@ impl StoreBuilder { impl StoreBuilder { /// Set the `alternateName` field (optional) - pub fn alternate_name( - mut self, - value: impl Into>>, - ) -> Self { + pub fn alternate_name(mut self, value: impl Into>>) -> Self { self._fields.7 = value.into(); self } @@ -5259,18 +5069,12 @@ impl StoreBuilder { impl StoreBuilder { /// Set the `amenityFeature` field (optional) - pub fn amenity_feature( - mut self, - value: impl Into>>, - ) -> Self { + pub fn amenity_feature(mut self, value: impl Into>>) -> Self { self._fields.9 = value.into(); self } /// Set the `amenityFeature` field to an Option value (optional) - pub fn maybe_amenity_feature( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_amenity_feature(mut self, value: Option>) -> Self { self._fields.9 = value; self } @@ -5375,10 +5179,7 @@ impl StoreBuilder { impl StoreBuilder { /// Set the `contactPoint` field (optional) - pub fn contact_point( - mut self, - value: impl Into>>, - ) -> Self { + pub fn contact_point(mut self, value: impl Into>>) -> Self { self._fields.17 = value.into(); self } @@ -5391,10 +5192,7 @@ impl StoreBuilder { impl StoreBuilder { /// Set the `contactPoints` field (optional) - pub fn contact_points( - mut self, - value: impl Into>>, - ) -> Self { + pub fn contact_points(mut self, value: impl Into>>) -> Self { self._fields.18 = value.into(); self } @@ -5407,10 +5205,7 @@ impl StoreBuilder { impl StoreBuilder { /// Set the `containedIn` field (optional) - pub fn contained_in( - mut self, - value: impl Into>>, - ) -> Self { + pub fn contained_in(mut self, value: impl Into>>) -> Self { self._fields.19 = value.into(); self } @@ -5431,10 +5226,7 @@ impl StoreBuilder { self } /// Set the `containedInPlace` field to an Option value (optional) - pub fn maybe_contained_in_place( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_contained_in_place(mut self, value: Option>) -> Self { self._fields.20 = value; self } @@ -5442,10 +5234,7 @@ impl StoreBuilder { impl StoreBuilder { /// Set the `containsPlace` field (optional) - pub fn contains_place( - mut self, - value: impl Into>>, - ) -> Self { + pub fn contains_place(mut self, value: impl Into>>) -> Self { self._fields.21 = value.into(); self } @@ -5466,10 +5255,7 @@ impl StoreBuilder { self } /// Set the `correctionsPolicy` field to an Option value (optional) - pub fn maybe_corrections_policy( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_corrections_policy(mut self, value: Option>) -> Self { self._fields.22 = value; self } @@ -5485,10 +5271,7 @@ impl StoreBuilder { self } /// Set the `currenciesAccepted` field to an Option value (optional) - pub fn maybe_currencies_accepted( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_currencies_accepted(mut self, value: Option>) -> Self { self._fields.23 = value; self } @@ -5541,18 +5324,12 @@ impl StoreBuilder { impl StoreBuilder { /// Set the `dissolutionDate` field (optional) - pub fn dissolution_date( - mut self, - value: impl Into>>, - ) -> Self { + pub fn dissolution_date(mut self, value: impl Into>>) -> Self { self._fields.27 = value.into(); self } /// Set the `dissolutionDate` field to an Option value (optional) - pub fn maybe_dissolution_date( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_dissolution_date(mut self, value: Option>) -> Self { self._fields.27 = value; self } @@ -5560,18 +5337,12 @@ impl StoreBuilder { impl StoreBuilder { /// Set the `diversityPolicy` field (optional) - pub fn diversity_policy( - mut self, - value: impl Into>>, - ) -> Self { + pub fn diversity_policy(mut self, value: impl Into>>) -> Self { self._fields.28 = value.into(); self } /// Set the `diversityPolicy` field to an Option value (optional) - pub fn maybe_diversity_policy( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_diversity_policy(mut self, value: Option>) -> Self { self._fields.28 = value; self } @@ -5650,10 +5421,7 @@ impl StoreBuilder { impl StoreBuilder { /// Set the `ethicsPolicy` field (optional) - pub fn ethics_policy( - mut self, - value: impl Into>>, - ) -> Self { + pub fn ethics_policy(mut self, value: impl Into>>) -> Self { self._fields.34 = value.into(); self } @@ -5731,10 +5499,7 @@ impl StoreBuilder { impl StoreBuilder { /// Set the `foundingDate` field (optional) - pub fn founding_date( - mut self, - value: impl Into>>, - ) -> Self { + pub fn founding_date(mut self, value: impl Into>>) -> Self { self._fields.40 = value.into(); self } @@ -5747,18 +5512,12 @@ impl StoreBuilder { impl StoreBuilder { /// Set the `foundingLocation` field (optional) - pub fn founding_location( - mut self, - value: impl Into>>, - ) -> Self { + pub fn founding_location(mut self, value: impl Into>>) -> Self { self._fields.41 = value.into(); self } /// Set the `foundingLocation` field to an Option value (optional) - pub fn maybe_founding_location( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_founding_location(mut self, value: Option>) -> Self { self._fields.41 = value; self } @@ -5805,10 +5564,7 @@ impl StoreBuilder { impl StoreBuilder { /// Set the `geoContains` field (optional) - pub fn geo_contains( - mut self, - value: impl Into>>, - ) -> Self { + pub fn geo_contains(mut self, value: impl Into>>) -> Self { self._fields.45 = value.into(); self } @@ -5821,10 +5577,7 @@ impl StoreBuilder { impl StoreBuilder { /// Set the `geoCoveredBy` field (optional) - pub fn geo_covered_by( - mut self, - value: impl Into>>, - ) -> Self { + pub fn geo_covered_by(mut self, value: impl Into>>) -> Self { self._fields.46 = value.into(); self } @@ -5863,10 +5616,7 @@ impl StoreBuilder { impl StoreBuilder { /// Set the `geoDisjoint` field (optional) - pub fn geo_disjoint( - mut self, - value: impl Into>>, - ) -> Self { + pub fn geo_disjoint(mut self, value: impl Into>>) -> Self { self._fields.49 = value.into(); self } @@ -5892,10 +5642,7 @@ impl StoreBuilder { impl StoreBuilder { /// Set the `geoIntersects` field (optional) - pub fn geo_intersects( - mut self, - value: impl Into>>, - ) -> Self { + pub fn geo_intersects(mut self, value: impl Into>>) -> Self { self._fields.51 = value.into(); self } @@ -5908,10 +5655,7 @@ impl StoreBuilder { impl StoreBuilder { /// Set the `geoOverlaps` field (optional) - pub fn geo_overlaps( - mut self, - value: impl Into>>, - ) -> Self { + pub fn geo_overlaps(mut self, value: impl Into>>) -> Self { self._fields.52 = value.into(); self } @@ -5969,18 +5713,12 @@ impl StoreBuilder { impl StoreBuilder { /// Set the `hasCertification` field (optional) - pub fn has_certification( - mut self, - value: impl Into>>, - ) -> Self { + pub fn has_certification(mut self, value: impl Into>>) -> Self { self._fields.56 = value.into(); self } /// Set the `hasCertification` field to an Option value (optional) - pub fn maybe_has_certification( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_has_certification(mut self, value: Option>) -> Self { self._fields.56 = value; self } @@ -5988,10 +5726,7 @@ impl StoreBuilder { impl StoreBuilder { /// Set the `hasCredential` field (optional) - pub fn has_credential( - mut self, - value: impl Into>>, - ) -> Self { + pub fn has_credential(mut self, value: impl Into>>) -> Self { self._fields.57 = value.into(); self } @@ -6031,10 +5766,7 @@ impl StoreBuilder { self } /// Set the `hasGS1DigitalLink` field to an Option value (optional) - pub fn maybe_has_gs1_digital_link( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_has_gs1_digital_link(mut self, value: Option>) -> Self { self._fields.59 = value; self } @@ -6063,10 +5795,7 @@ impl StoreBuilder { self } /// Set the `hasMemberProgram` field to an Option value (optional) - pub fn maybe_has_member_program( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_has_member_program(mut self, value: Option>) -> Self { self._fields.61 = value; self } @@ -6093,18 +5822,12 @@ impl StoreBuilder { impl StoreBuilder { /// Set the `hasOfferCatalog` field (optional) - pub fn has_offer_catalog( - mut self, - value: impl Into>>, - ) -> Self { + pub fn has_offer_catalog(mut self, value: impl Into>>) -> Self { self._fields.63 = value.into(); self } /// Set the `hasOfferCatalog` field to an Option value (optional) - pub fn maybe_has_offer_catalog( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_has_offer_catalog(mut self, value: Option>) -> Self { self._fields.63 = value; self } @@ -6152,10 +5875,7 @@ impl StoreBuilder { self } /// Set the `hasShippingService` field to an Option value (optional) - pub fn maybe_has_shipping_service( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_has_shipping_service(mut self, value: Option>) -> Self { self._fields.66 = value; self } @@ -6240,10 +5960,7 @@ impl StoreBuilder { impl StoreBuilder { /// Set the `iso6523Code` field (optional) - pub fn iso6523_code( - mut self, - value: impl Into>>, - ) -> Self { + pub fn iso6523_code(mut self, value: impl Into>>) -> Self { self._fields.72 = value.into(); self } @@ -6282,10 +5999,7 @@ impl StoreBuilder { impl StoreBuilder { /// Set the `knowsLanguage` field (optional) - pub fn knows_language( - mut self, - value: impl Into>>, - ) -> Self { + pub fn knows_language(mut self, value: impl Into>>) -> Self { self._fields.75 = value.into(); self } @@ -6311,10 +6025,7 @@ impl StoreBuilder { impl StoreBuilder { /// Set the `legalAddress` field (optional) - pub fn legal_address( - mut self, - value: impl Into>>, - ) -> Self { + pub fn legal_address(mut self, value: impl Into>>) -> Self { self._fields.77 = value.into(); self } @@ -6419,10 +6130,7 @@ impl StoreBuilder { self } /// Set the `mainEntityOfPage` field to an Option value (optional) - pub fn maybe_main_entity_of_page( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_main_entity_of_page(mut self, value: Option>) -> Self { self._fields.84 = value; self } @@ -6553,18 +6261,12 @@ impl StoreBuilder { impl StoreBuilder { /// Set the `nonprofitStatus` field (optional) - pub fn nonprofit_status( - mut self, - value: impl Into>>, - ) -> Self { + pub fn nonprofit_status(mut self, value: impl Into>>) -> Self { self._fields.94 = value.into(); self } /// Set the `nonprofitStatus` field to an Option value (optional) - pub fn maybe_nonprofit_status( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_nonprofit_status(mut self, value: Option>) -> Self { self._fields.94 = value; self } @@ -6580,10 +6282,7 @@ impl StoreBuilder { self } /// Set the `numberOfEmployees` field to an Option value (optional) - pub fn maybe_number_of_employees( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_number_of_employees(mut self, value: Option>) -> Self { self._fields.95 = value; self } @@ -6591,10 +6290,7 @@ impl StoreBuilder { impl StoreBuilder { /// Set the `openingHours` field (optional) - pub fn opening_hours( - mut self, - value: impl Into>>, - ) -> Self { + pub fn opening_hours(mut self, value: impl Into>>) -> Self { self._fields.96 = value.into(); self } @@ -6666,10 +6362,7 @@ impl StoreBuilder { self } /// Set the `parentOrganization` field to an Option value (optional) - pub fn maybe_parent_organization( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_parent_organization(mut self, value: Option>) -> Self { self._fields.100 = value; self } @@ -6677,18 +6370,12 @@ impl StoreBuilder { impl StoreBuilder { /// Set the `paymentAccepted` field (optional) - pub fn payment_accepted( - mut self, - value: impl Into>>, - ) -> Self { + pub fn payment_accepted(mut self, value: impl Into>>) -> Self { self._fields.101 = value.into(); self } /// Set the `paymentAccepted` field to an Option value (optional) - pub fn maybe_payment_accepted( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_payment_accepted(mut self, value: Option>) -> Self { self._fields.101 = value; self } @@ -6722,18 +6409,12 @@ impl StoreBuilder { impl StoreBuilder { /// Set the `potentialAction` field (optional) - pub fn potential_action( - mut self, - value: impl Into>>, - ) -> Self { + pub fn potential_action(mut self, value: impl Into>>) -> Self { self._fields.104 = value.into(); self } /// Set the `potentialAction` field to an Option value (optional) - pub fn maybe_potential_action( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_potential_action(mut self, value: Option>) -> Self { self._fields.104 = value; self } @@ -6754,10 +6435,7 @@ impl StoreBuilder { impl StoreBuilder { /// Set the `publicAccess` field (optional) - pub fn public_access( - mut self, - value: impl Into>>, - ) -> Self { + pub fn public_access(mut self, value: impl Into>>) -> Self { self._fields.106 = value.into(); self } @@ -6841,10 +6519,7 @@ impl StoreBuilder { impl StoreBuilder { /// Set the `serviceArea` field (optional) - pub fn service_area( - mut self, - value: impl Into>>, - ) -> Self { + pub fn service_area(mut self, value: impl Into>>) -> Self { self._fields.112 = value.into(); self } @@ -6883,18 +6558,12 @@ impl StoreBuilder { impl StoreBuilder { /// Set the `smokingAllowed` field (optional) - pub fn smoking_allowed( - mut self, - value: impl Into>>, - ) -> Self { + pub fn smoking_allowed(mut self, value: impl Into>>) -> Self { self._fields.115 = value.into(); self } /// Set the `smokingAllowed` field to an Option value (optional) - pub fn maybe_smoking_allowed( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_smoking_allowed(mut self, value: Option>) -> Self { self._fields.115 = value; self } @@ -6934,18 +6603,12 @@ impl StoreBuilder { impl StoreBuilder { /// Set the `subOrganization` field (optional) - pub fn sub_organization( - mut self, - value: impl Into>>, - ) -> Self { + pub fn sub_organization(mut self, value: impl Into>>) -> Self { self._fields.118 = value.into(); self } /// Set the `subOrganization` field to an Option value (optional) - pub fn maybe_sub_organization( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_sub_organization(mut self, value: Option>) -> Self { self._fields.118 = value; self } @@ -6992,18 +6655,12 @@ impl StoreBuilder { impl StoreBuilder { /// Set the `tourBookingPage` field (optional) - pub fn tour_booking_page( - mut self, - value: impl Into>>, - ) -> Self { + pub fn tour_booking_page(mut self, value: impl Into>>) -> Self { self._fields.122 = value.into(); self } /// Set the `tourBookingPage` field to an Option value (optional) - pub fn maybe_tour_booking_page( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_tour_booking_page(mut self, value: Option>) -> Self { self._fields.122 = value; self } @@ -7322,4 +6979,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/social_flockfeeds/lexical/type/tv_episode.rs b/crates/jacquard-api/src/social_flockfeeds/lexical/type/tv_episode.rs index bf107254..b9733074 100644 --- a/crates/jacquard-api/src/social_flockfeeds/lexical/type/tv_episode.rs +++ b/crates/jacquard-api/src/social_flockfeeds/lexical/type/tv_episode.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,9 +24,6 @@ use jacquard_derive::{IntoStatic, lexicon, open_union}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::social_flockfeeds::lexical::r#type::event; use crate::social_flockfeeds::lexical::r#type::image_object; use crate::social_flockfeeds::lexical::r#type::music_group; @@ -35,10 +32,16 @@ use crate::social_flockfeeds::lexical::r#type::organization; use crate::social_flockfeeds::lexical::r#type::person; use crate::social_flockfeeds::lexical::r#type::product; use crate::social_flockfeeds::lexical::r#type::tv_series; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; /// A TV episode which can be part of a series or season. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Embedded { #[serde(skip_serializing_if = "Option::is_none")] pub about: Option>, @@ -326,7 +329,6 @@ pub struct Embedded { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -380,7 +382,6 @@ pub enum EmbeddedAccountablePerson { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -394,7 +395,6 @@ pub enum EmbeddedActor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -403,7 +403,6 @@ pub enum EmbeddedActors { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -459,7 +458,6 @@ pub enum EmbeddedAuthor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -478,7 +476,6 @@ pub enum EmbeddedCharacter { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -524,7 +521,6 @@ pub enum EmbeddedContributor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -535,7 +531,6 @@ pub enum EmbeddedCopyrightHolder { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -571,7 +566,6 @@ pub enum EmbeddedCreator { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -610,7 +604,6 @@ pub enum EmbeddedDirector { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -619,7 +612,6 @@ pub enum EmbeddedDirectors { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -648,7 +640,6 @@ pub enum EmbeddedEditor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -709,7 +700,6 @@ pub enum EmbeddedFunder { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -743,7 +733,6 @@ pub enum EmbeddedImage { ImageObjectEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -777,7 +766,6 @@ pub enum EmbeddedIsBasedOn { ProductEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -786,7 +774,6 @@ pub enum EmbeddedIsBasedOnUrl { ProductEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -837,7 +824,6 @@ pub enum EmbeddedMaintainer { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -846,7 +832,6 @@ pub enum EmbeddedMaterial { ProductEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -867,7 +852,6 @@ pub enum EmbeddedMusicBy { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -881,7 +865,6 @@ pub enum EmbeddedOffers { OfferEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -900,7 +883,6 @@ pub enum EmbeddedPartOfTvSeries { TvSeriesEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -926,7 +908,6 @@ pub enum EmbeddedProducer { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -935,7 +916,6 @@ pub enum EmbeddedProductionCompany { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -946,7 +926,6 @@ pub enum EmbeddedProvider { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -962,7 +941,6 @@ pub enum EmbeddedPublisher { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -971,7 +949,6 @@ pub enum EmbeddedPublisherImprint { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -985,7 +962,6 @@ pub enum EmbeddedRecordedAt { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1031,7 +1007,6 @@ pub enum EmbeddedSdPublisher { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1045,7 +1020,6 @@ pub enum EmbeddedSourceOrganization { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1066,7 +1040,6 @@ pub enum EmbeddedSponsor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1075,7 +1048,6 @@ pub enum EmbeddedSubjectOf { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1109,7 +1081,6 @@ pub enum EmbeddedThumbnail { ImageObjectEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1145,7 +1116,6 @@ pub enum EmbeddedTranslator { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1480,7 +1450,6 @@ pub struct TvEpisode { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1534,7 +1503,6 @@ pub enum TvEpisodeAccountablePerson { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1548,7 +1516,6 @@ pub enum TvEpisodeActor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1557,7 +1524,6 @@ pub enum TvEpisodeActors { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1613,7 +1579,6 @@ pub enum TvEpisodeAuthor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1632,7 +1597,6 @@ pub enum TvEpisodeCharacter { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1678,7 +1642,6 @@ pub enum TvEpisodeContributor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1689,7 +1652,6 @@ pub enum TvEpisodeCopyrightHolder { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1725,7 +1687,6 @@ pub enum TvEpisodeCreator { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1764,7 +1725,6 @@ pub enum TvEpisodeDirector { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1773,7 +1733,6 @@ pub enum TvEpisodeDirectors { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1802,7 +1761,6 @@ pub enum TvEpisodeEditor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1863,7 +1821,6 @@ pub enum TvEpisodeFunder { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1897,7 +1854,6 @@ pub enum TvEpisodeImage { ImageObjectEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1931,7 +1887,6 @@ pub enum TvEpisodeIsBasedOn { ProductEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1940,7 +1895,6 @@ pub enum TvEpisodeIsBasedOnUrl { ProductEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1991,7 +1945,6 @@ pub enum TvEpisodeMaintainer { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2000,7 +1953,6 @@ pub enum TvEpisodeMaterial { ProductEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2021,7 +1973,6 @@ pub enum TvEpisodeMusicBy { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2035,7 +1986,6 @@ pub enum TvEpisodeOffers { OfferEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2054,7 +2004,6 @@ pub enum TvEpisodePartOfTvSeries { TvSeriesEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2080,7 +2029,6 @@ pub enum TvEpisodeProducer { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2089,7 +2037,6 @@ pub enum TvEpisodeProductionCompany { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2100,7 +2047,6 @@ pub enum TvEpisodeProvider { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2116,7 +2062,6 @@ pub enum TvEpisodePublisher { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2125,7 +2070,6 @@ pub enum TvEpisodePublisherImprint { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2139,7 +2083,6 @@ pub enum TvEpisodeRecordedAt { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2185,7 +2128,6 @@ pub enum TvEpisodeSdPublisher { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2199,7 +2141,6 @@ pub enum TvEpisodeSourceOrganization { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2220,7 +2161,6 @@ pub enum TvEpisodeSponsor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2229,7 +2169,6 @@ pub enum TvEpisodeSubjectOf { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2263,7 +2202,6 @@ pub enum TvEpisodeThumbnail { ImageObjectEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2299,7 +2237,6 @@ pub enum TvEpisodeTranslator { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2414,10 +2351,10 @@ impl LexiconSchema for TvEpisode { } fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("social.flockfeeds.lexical.type.TVEpisode"), @@ -5395,7 +5332,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVEpisode() -> LexiconDoc<'static> pub mod tv_episode_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -5574,146 +5511,16 @@ impl TvEpisodeBuilder { TvEpisodeBuilder { _state: PhantomData, _fields: ( - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, ), _type: PhantomData, @@ -5749,10 +5556,7 @@ impl TvEpisodeBuilder { impl TvEpisodeBuilder { /// Set the `accessMode` field (optional) - pub fn access_mode( - mut self, - value: impl Into>>, - ) -> Self { + pub fn access_mode(mut self, value: impl Into>>) -> Self { self._fields.2 = value.into(); self } @@ -5792,10 +5596,7 @@ impl TvEpisodeBuilder { self } /// Set the `accessibilityAPI` field to an Option value (optional) - pub fn maybe_accessibility_api( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_accessibility_api(mut self, value: Option>) -> Self { self._fields.4 = value; self } @@ -5943,18 +5744,12 @@ impl TvEpisodeBuilder { impl TvEpisodeBuilder { /// Set the `additionalType` field (optional) - pub fn additional_type( - mut self, - value: impl Into>>, - ) -> Self { + pub fn additional_type(mut self, value: impl Into>>) -> Self { self._fields.13 = value.into(); self } /// Set the `additionalType` field to an Option value (optional) - pub fn maybe_additional_type( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_additional_type(mut self, value: Option>) -> Self { self._fields.13 = value; self } @@ -5970,10 +5765,7 @@ impl TvEpisodeBuilder { self } /// Set the `aggregateRating` field to an Option value (optional) - pub fn maybe_aggregate_rating( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_aggregate_rating(mut self, value: Option>) -> Self { self._fields.14 = value; self } @@ -5981,18 +5773,12 @@ impl TvEpisodeBuilder { impl TvEpisodeBuilder { /// Set the `alternateName` field (optional) - pub fn alternate_name( - mut self, - value: impl Into>>, - ) -> Self { + pub fn alternate_name(mut self, value: impl Into>>) -> Self { self._fields.15 = value.into(); self } /// Set the `alternateName` field to an Option value (optional) - pub fn maybe_alternate_name( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_alternate_name(mut self, value: Option>) -> Self { self._fields.15 = value; self } @@ -6019,10 +5805,7 @@ impl TvEpisodeBuilder { impl TvEpisodeBuilder { /// Set the `archivedAt` field (optional) - pub fn archived_at( - mut self, - value: impl Into>>, - ) -> Self { + pub fn archived_at(mut self, value: impl Into>>) -> Self { self._fields.17 = value.into(); self } @@ -6056,10 +5839,7 @@ impl TvEpisodeBuilder { self } /// Set the `associatedMedia` field to an Option value (optional) - pub fn maybe_associated_media( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_associated_media(mut self, value: Option>) -> Self { self._fields.19 = value; self } @@ -6171,18 +5951,12 @@ impl TvEpisodeBuilder { impl TvEpisodeBuilder { /// Set the `commentCount` field (optional) - pub fn comment_count( - mut self, - value: impl Into>>, - ) -> Self { + pub fn comment_count(mut self, value: impl Into>>) -> Self { self._fields.28 = value.into(); self } /// Set the `commentCount` field to an Option value (optional) - pub fn maybe_comment_count( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_comment_count(mut self, value: Option>) -> Self { self._fields.28 = value; self } @@ -6217,10 +5991,7 @@ impl TvEpisodeBuilder { self } /// Set the `contentLocation` field to an Option value (optional) - pub fn maybe_content_location( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_content_location(mut self, value: Option>) -> Self { self._fields.30 = value; self } @@ -6228,18 +5999,12 @@ impl TvEpisodeBuilder { impl TvEpisodeBuilder { /// Set the `contentRating` field (optional) - pub fn content_rating( - mut self, - value: impl Into>>, - ) -> Self { + pub fn content_rating(mut self, value: impl Into>>) -> Self { self._fields.31 = value.into(); self } /// Set the `contentRating` field to an Option value (optional) - pub fn maybe_content_rating( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_content_rating(mut self, value: Option>) -> Self { self._fields.31 = value; self } @@ -6266,10 +6031,7 @@ impl TvEpisodeBuilder { impl TvEpisodeBuilder { /// Set the `contributor` field (optional) - pub fn contributor( - mut self, - value: impl Into>>, - ) -> Self { + pub fn contributor(mut self, value: impl Into>>) -> Self { self._fields.33 = value.into(); self } @@ -6290,10 +6052,7 @@ impl TvEpisodeBuilder { self } /// Set the `copyrightHolder` field to an Option value (optional) - pub fn maybe_copyright_holder( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_copyright_holder(mut self, value: Option>) -> Self { self._fields.34 = value; self } @@ -6309,10 +6068,7 @@ impl TvEpisodeBuilder { self } /// Set the `copyrightNotice` field to an Option value (optional) - pub fn maybe_copyright_notice( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_copyright_notice(mut self, value: Option>) -> Self { self._fields.35 = value; self } @@ -6320,18 +6076,12 @@ impl TvEpisodeBuilder { impl TvEpisodeBuilder { /// Set the `copyrightYear` field (optional) - pub fn copyright_year( - mut self, - value: impl Into>>, - ) -> Self { + pub fn copyright_year(mut self, value: impl Into>>) -> Self { self._fields.36 = value.into(); self } /// Set the `copyrightYear` field to an Option value (optional) - pub fn maybe_copyright_year( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_copyright_year(mut self, value: Option>) -> Self { self._fields.36 = value; self } @@ -6339,10 +6089,7 @@ impl TvEpisodeBuilder { impl TvEpisodeBuilder { /// Set the `correction` field (optional) - pub fn correction( - mut self, - value: impl Into>>, - ) -> Self { + pub fn correction(mut self, value: impl Into>>) -> Self { self._fields.37 = value.into(); self } @@ -6363,10 +6110,7 @@ impl TvEpisodeBuilder { self } /// Set the `countryOfOrigin` field to an Option value (optional) - pub fn maybe_country_of_origin( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_country_of_origin(mut self, value: Option>) -> Self { self._fields.38 = value; self } @@ -6406,10 +6150,7 @@ impl TvEpisodeBuilder { impl TvEpisodeBuilder { /// Set the `creditText` field (optional) - pub fn credit_text( - mut self, - value: impl Into>>, - ) -> Self { + pub fn credit_text(mut self, value: impl Into>>) -> Self { self._fields.41 = value.into(); self } @@ -6422,10 +6163,7 @@ impl TvEpisodeBuilder { impl TvEpisodeBuilder { /// Set the `dateCreated` field (optional) - pub fn date_created( - mut self, - value: impl Into>>, - ) -> Self { + pub fn date_created(mut self, value: impl Into>>) -> Self { self._fields.42 = value.into(); self } @@ -6438,18 +6176,12 @@ impl TvEpisodeBuilder { impl TvEpisodeBuilder { /// Set the `dateModified` field (optional) - pub fn date_modified( - mut self, - value: impl Into>>, - ) -> Self { + pub fn date_modified(mut self, value: impl Into>>) -> Self { self._fields.43 = value.into(); self } /// Set the `dateModified` field to an Option value (optional) - pub fn maybe_date_modified( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_date_modified(mut self, value: Option>) -> Self { self._fields.43 = value; self } @@ -6457,18 +6189,12 @@ impl TvEpisodeBuilder { impl TvEpisodeBuilder { /// Set the `datePublished` field (optional) - pub fn date_published( - mut self, - value: impl Into>>, - ) -> Self { + pub fn date_published(mut self, value: impl Into>>) -> Self { self._fields.44 = value.into(); self } /// Set the `datePublished` field to an Option value (optional) - pub fn maybe_date_published( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_date_published(mut self, value: Option>) -> Self { self._fields.44 = value; self } @@ -6476,10 +6202,7 @@ impl TvEpisodeBuilder { impl TvEpisodeBuilder { /// Set the `description` field (optional) - pub fn description( - mut self, - value: impl Into>>, - ) -> Self { + pub fn description(mut self, value: impl Into>>) -> Self { self._fields.45 = value.into(); self } @@ -6556,18 +6279,12 @@ impl TvEpisodeBuilder { impl TvEpisodeBuilder { /// Set the `discussionUrl` field (optional) - pub fn discussion_url( - mut self, - value: impl Into>>, - ) -> Self { + pub fn discussion_url(mut self, value: impl Into>>) -> Self { self._fields.50 = value.into(); self } /// Set the `discussionUrl` field to an Option value (optional) - pub fn maybe_discussion_url( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_discussion_url(mut self, value: Option>) -> Self { self._fields.50 = value; self } @@ -6641,10 +6358,7 @@ impl TvEpisodeBuilder { self } /// Set the `educationalLevel` field to an Option value (optional) - pub fn maybe_educational_level( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_educational_level(mut self, value: Option>) -> Self { self._fields.55 = value; self } @@ -6652,18 +6366,12 @@ impl TvEpisodeBuilder { impl TvEpisodeBuilder { /// Set the `educationalUse` field (optional) - pub fn educational_use( - mut self, - value: impl Into>>, - ) -> Self { + pub fn educational_use(mut self, value: impl Into>>) -> Self { self._fields.56 = value.into(); self } /// Set the `educationalUse` field to an Option value (optional) - pub fn maybe_educational_use( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_educational_use(mut self, value: Option>) -> Self { self._fields.56 = value; self } @@ -6684,18 +6392,12 @@ impl TvEpisodeBuilder { impl TvEpisodeBuilder { /// Set the `encodingFormat` field (optional) - pub fn encoding_format( - mut self, - value: impl Into>>, - ) -> Self { + pub fn encoding_format(mut self, value: impl Into>>) -> Self { self._fields.58 = value.into(); self } /// Set the `encodingFormat` field to an Option value (optional) - pub fn maybe_encoding_format( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_encoding_format(mut self, value: Option>) -> Self { self._fields.58 = value; self } @@ -6716,18 +6418,12 @@ impl TvEpisodeBuilder { impl TvEpisodeBuilder { /// Set the `episodeNumber` field (optional) - pub fn episode_number( - mut self, - value: impl Into>>, - ) -> Self { + pub fn episode_number(mut self, value: impl Into>>) -> Self { self._fields.60 = value.into(); self } /// Set the `episodeNumber` field to an Option value (optional) - pub fn maybe_episode_number( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_episode_number(mut self, value: Option>) -> Self { self._fields.60 = value; self } @@ -6735,18 +6431,12 @@ impl TvEpisodeBuilder { impl TvEpisodeBuilder { /// Set the `exampleOfWork` field (optional) - pub fn example_of_work( - mut self, - value: impl Into>>, - ) -> Self { + pub fn example_of_work(mut self, value: impl Into>>) -> Self { self._fields.61 = value.into(); self } /// Set the `exampleOfWork` field to an Option value (optional) - pub fn maybe_example_of_work( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_example_of_work(mut self, value: Option>) -> Self { self._fields.61 = value; self } @@ -6767,10 +6457,7 @@ impl TvEpisodeBuilder { impl TvEpisodeBuilder { /// Set the `fileFormat` field (optional) - pub fn file_format( - mut self, - value: impl Into>>, - ) -> Self { + pub fn file_format(mut self, value: impl Into>>) -> Self { self._fields.63 = value.into(); self } @@ -6848,10 +6535,7 @@ impl TvEpisodeBuilder { impl TvEpisodeBuilder { /// Set the `identifier` field (optional) - pub fn identifier( - mut self, - value: impl Into>>, - ) -> Self { + pub fn identifier(mut self, value: impl Into>>) -> Self { self._fields.69 = value.into(); self } @@ -6877,10 +6561,7 @@ impl TvEpisodeBuilder { impl TvEpisodeBuilder { /// Set the `inLanguage` field (optional) - pub fn in_language( - mut self, - value: impl Into>>, - ) -> Self { + pub fn in_language(mut self, value: impl Into>>) -> Self { self._fields.71 = value.into(); self } @@ -6969,10 +6650,7 @@ impl TvEpisodeBuilder { impl TvEpisodeBuilder { /// Set the `isBasedOn` field (optional) - pub fn is_based_on( - mut self, - value: impl Into>>, - ) -> Self { + pub fn is_based_on(mut self, value: impl Into>>) -> Self { self._fields.76 = value.into(); self } @@ -6985,18 +6663,12 @@ impl TvEpisodeBuilder { impl TvEpisodeBuilder { /// Set the `isBasedOnUrl` field (optional) - pub fn is_based_on_url( - mut self, - value: impl Into>>, - ) -> Self { + pub fn is_based_on_url(mut self, value: impl Into>>) -> Self { self._fields.77 = value.into(); self } /// Set the `isBasedOnUrl` field to an Option value (optional) - pub fn maybe_is_based_on_url( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_is_based_on_url(mut self, value: Option>) -> Self { self._fields.77 = value; self } @@ -7012,10 +6684,7 @@ impl TvEpisodeBuilder { self } /// Set the `isFamilyFriendly` field to an Option value (optional) - pub fn maybe_is_family_friendly( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_is_family_friendly(mut self, value: Option>) -> Self { self._fields.78 = value; self } @@ -7089,10 +6758,7 @@ impl TvEpisodeBuilder { self } /// Set the `locationCreated` field to an Option value (optional) - pub fn maybe_location_created( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_location_created(mut self, value: Option>) -> Self { self._fields.83 = value; self } @@ -7100,10 +6766,7 @@ impl TvEpisodeBuilder { impl TvEpisodeBuilder { /// Set the `mainEntity` field (optional) - pub fn main_entity( - mut self, - value: impl Into>>, - ) -> Self { + pub fn main_entity(mut self, value: impl Into>>) -> Self { self._fields.84 = value.into(); self } @@ -7135,10 +6798,7 @@ impl TvEpisodeBuilder { impl TvEpisodeBuilder { /// Set the `maintainer` field (optional) - pub fn maintainer( - mut self, - value: impl Into>>, - ) -> Self { + pub fn maintainer(mut self, value: impl Into>>) -> Self { self._fields.86 = value.into(); self } @@ -7164,18 +6824,12 @@ impl TvEpisodeBuilder { impl TvEpisodeBuilder { /// Set the `materialExtent` field (optional) - pub fn material_extent( - mut self, - value: impl Into>>, - ) -> Self { + pub fn material_extent(mut self, value: impl Into>>) -> Self { self._fields.88 = value.into(); self } /// Set the `materialExtent` field to an Option value (optional) - pub fn maybe_material_extent( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_material_extent(mut self, value: Option>) -> Self { self._fields.88 = value; self } @@ -7235,18 +6889,12 @@ impl TvEpisodeBuilder { impl TvEpisodeBuilder { /// Set the `partOfSeason` field (optional) - pub fn part_of_season( - mut self, - value: impl Into>>, - ) -> Self { + pub fn part_of_season(mut self, value: impl Into>>) -> Self { self._fields.93 = value.into(); self } /// Set the `partOfSeason` field to an Option value (optional) - pub fn maybe_part_of_season( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_part_of_season(mut self, value: Option>) -> Self { self._fields.93 = value; self } @@ -7254,18 +6902,12 @@ impl TvEpisodeBuilder { impl TvEpisodeBuilder { /// Set the `partOfSeries` field (optional) - pub fn part_of_series( - mut self, - value: impl Into>>, - ) -> Self { + pub fn part_of_series(mut self, value: impl Into>>) -> Self { self._fields.94 = value.into(); self } /// Set the `partOfSeries` field to an Option value (optional) - pub fn maybe_part_of_series( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_part_of_series(mut self, value: Option>) -> Self { self._fields.94 = value; self } @@ -7281,10 +6923,7 @@ impl TvEpisodeBuilder { self } /// Set the `partOfTVSeries` field to an Option value (optional) - pub fn maybe_part_of_tv_series( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_part_of_tv_series(mut self, value: Option>) -> Self { self._fields.95 = value; self } @@ -7326,10 +6965,7 @@ impl TvEpisodeBuilder { self } /// Set the `potentialAction` field to an Option value (optional) - pub fn maybe_potential_action( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_potential_action(mut self, value: Option>) -> Self { self._fields.98 = value; self } @@ -7382,10 +7018,7 @@ impl TvEpisodeBuilder { impl TvEpisodeBuilder { /// Set the `publication` field (optional) - pub fn publication( - mut self, - value: impl Into>>, - ) -> Self { + pub fn publication(mut self, value: impl Into>>) -> Self { self._fields.102 = value.into(); self } @@ -7419,10 +7052,7 @@ impl TvEpisodeBuilder { self } /// Set the `publisherImprint` field to an Option value (optional) - pub fn maybe_publisher_imprint( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_publisher_imprint(mut self, value: Option>) -> Self { self._fields.104 = value; self } @@ -7449,10 +7079,7 @@ impl TvEpisodeBuilder { impl TvEpisodeBuilder { /// Set the `recordedAt` field (optional) - pub fn recorded_at( - mut self, - value: impl Into>>, - ) -> Self { + pub fn recorded_at(mut self, value: impl Into>>) -> Self { self._fields.106 = value.into(); self } @@ -7465,18 +7092,12 @@ impl TvEpisodeBuilder { impl TvEpisodeBuilder { /// Set the `releasedEvent` field (optional) - pub fn released_event( - mut self, - value: impl Into>>, - ) -> Self { + pub fn released_event(mut self, value: impl Into>>) -> Self { self._fields.107 = value.into(); self } /// Set the `releasedEvent` field to an Option value (optional) - pub fn maybe_released_event( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_released_event(mut self, value: Option>) -> Self { self._fields.107 = value; self } @@ -7523,18 +7144,12 @@ impl TvEpisodeBuilder { impl TvEpisodeBuilder { /// Set the `schemaVersion` field (optional) - pub fn schema_version( - mut self, - value: impl Into>>, - ) -> Self { + pub fn schema_version(mut self, value: impl Into>>) -> Self { self._fields.111 = value.into(); self } /// Set the `schemaVersion` field to an Option value (optional) - pub fn maybe_schema_version( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_schema_version(mut self, value: Option>) -> Self { self._fields.111 = value; self } @@ -7550,10 +7165,7 @@ impl TvEpisodeBuilder { self } /// Set the `sdDatePublished` field to an Option value (optional) - pub fn maybe_sd_date_published( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_sd_date_published(mut self, value: Option>) -> Self { self._fields.112 = value; self } @@ -7561,10 +7173,7 @@ impl TvEpisodeBuilder { impl TvEpisodeBuilder { /// Set the `sdLicense` field (optional) - pub fn sd_license( - mut self, - value: impl Into>>, - ) -> Self { + pub fn sd_license(mut self, value: impl Into>>) -> Self { self._fields.113 = value.into(); self } @@ -7577,10 +7186,7 @@ impl TvEpisodeBuilder { impl TvEpisodeBuilder { /// Set the `sdPublisher` field (optional) - pub fn sd_publisher( - mut self, - value: impl Into>>, - ) -> Self { + pub fn sd_publisher(mut self, value: impl Into>>) -> Self { self._fields.114 = value.into(); self } @@ -7646,10 +7252,7 @@ impl TvEpisodeBuilder { self } /// Set the `spatialCoverage` field to an Option value (optional) - pub fn maybe_spatial_coverage( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_spatial_coverage(mut self, value: Option>) -> Self { self._fields.118 = value; self } @@ -7670,10 +7273,7 @@ impl TvEpisodeBuilder { impl TvEpisodeBuilder { /// Set the `subjectOf` field (optional) - pub fn subject_of( - mut self, - value: impl Into>>, - ) -> Self { + pub fn subject_of(mut self, value: impl Into>>) -> Self { self._fields.120 = value.into(); self } @@ -7694,10 +7294,7 @@ impl TvEpisodeBuilder { self } /// Set the `subtitleLanguage` field to an Option value (optional) - pub fn maybe_subtitle_language( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_subtitle_language(mut self, value: Option>) -> Self { self._fields.121 = value; self } @@ -7739,10 +7336,7 @@ impl TvEpisodeBuilder { self } /// Set the `temporalCoverage` field to an Option value (optional) - pub fn maybe_temporal_coverage( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_temporal_coverage(mut self, value: Option>) -> Self { self._fields.124 = value; self } @@ -7776,18 +7370,12 @@ impl TvEpisodeBuilder { impl TvEpisodeBuilder { /// Set the `thumbnailUrl` field (optional) - pub fn thumbnail_url( - mut self, - value: impl Into>>, - ) -> Self { + pub fn thumbnail_url(mut self, value: impl Into>>) -> Self { self._fields.127 = value.into(); self } /// Set the `thumbnailUrl` field to an Option value (optional) - pub fn maybe_thumbnail_url( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_thumbnail_url(mut self, value: Option>) -> Self { self._fields.127 = value; self } @@ -7795,18 +7383,12 @@ impl TvEpisodeBuilder { impl TvEpisodeBuilder { /// Set the `timeRequired` field (optional) - pub fn time_required( - mut self, - value: impl Into>>, - ) -> Self { + pub fn time_required(mut self, value: impl Into>>) -> Self { self._fields.128 = value.into(); self } /// Set the `timeRequired` field to an Option value (optional) - pub fn maybe_time_required( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_time_required(mut self, value: Option>) -> Self { self._fields.128 = value; self } @@ -7814,10 +7396,7 @@ impl TvEpisodeBuilder { impl TvEpisodeBuilder { /// Set the `titleEIDR` field (optional) - pub fn title_eidr( - mut self, - value: impl Into>>, - ) -> Self { + pub fn title_eidr(mut self, value: impl Into>>) -> Self { self._fields.129 = value.into(); self } @@ -7862,10 +7441,7 @@ impl TvEpisodeBuilder { impl TvEpisodeBuilder { /// Set the `translator` field (optional) - pub fn translator( - mut self, - value: impl Into>>, - ) -> Self { + pub fn translator(mut self, value: impl Into>>) -> Self { self._fields.132 = value.into(); self } @@ -7886,10 +7462,7 @@ impl TvEpisodeBuilder { self } /// Set the `typicalAgeRange` field to an Option value (optional) - pub fn maybe_typical_age_range( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_typical_age_range(mut self, value: Option>) -> Self { self._fields.133 = value; self } @@ -7910,10 +7483,7 @@ impl TvEpisodeBuilder { impl TvEpisodeBuilder { /// Set the `usageInfo` field (optional) - pub fn usage_info( - mut self, - value: impl Into>>, - ) -> Self { + pub fn usage_info(mut self, value: impl Into>>) -> Self { self._fields.135 = value.into(); self } @@ -7952,10 +7522,7 @@ impl TvEpisodeBuilder { impl TvEpisodeBuilder { /// Set the `wordCount` field (optional) - pub fn word_count( - mut self, - value: impl Into>>, - ) -> Self { + pub fn word_count(mut self, value: impl Into>>) -> Self { self._fields.138 = value.into(); self } @@ -7968,10 +7535,7 @@ impl TvEpisodeBuilder { impl TvEpisodeBuilder { /// Set the `workExample` field (optional) - pub fn work_example( - mut self, - value: impl Into>>, - ) -> Self { + pub fn work_example(mut self, value: impl Into>>) -> Self { self._fields.139 = value.into(); self } @@ -7992,10 +7556,7 @@ impl TvEpisodeBuilder { self } /// Set the `workTranslation` field to an Option value (optional) - pub fn maybe_work_translation( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_work_translation(mut self, value: Option>) -> Self { self._fields.140 = value; self } @@ -8153,10 +7714,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> TvEpisode { + pub fn build_with_data(self, extra_data: BTreeMap>) -> TvEpisode { TvEpisode { about: self._fields.0, r#abstract: self._fields.1, @@ -8302,4 +7860,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/social_flockfeeds/lexical/type/tv_season.rs b/crates/jacquard-api/src/social_flockfeeds/lexical/type/tv_season.rs index 491db4fd..d5cc3a44 100644 --- a/crates/jacquard-api/src/social_flockfeeds/lexical/type/tv_season.rs +++ b/crates/jacquard-api/src/social_flockfeeds/lexical/type/tv_season.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,9 +24,6 @@ use jacquard_derive::{IntoStatic, lexicon, open_union}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::social_flockfeeds::lexical::r#type::episode; use crate::social_flockfeeds::lexical::r#type::event; use crate::social_flockfeeds::lexical::r#type::image_object; @@ -35,10 +32,16 @@ use crate::social_flockfeeds::lexical::r#type::organization; use crate::social_flockfeeds::lexical::r#type::person; use crate::social_flockfeeds::lexical::r#type::product; use crate::social_flockfeeds::lexical::r#type::tv_series; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; /// Season dedicated to TV broadcast and associated online delivery. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Embedded { #[serde(skip_serializing_if = "Option::is_none")] pub about: Option>, @@ -324,7 +327,6 @@ pub struct Embedded { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -378,7 +380,6 @@ pub enum EmbeddedAccountablePerson { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -392,7 +393,6 @@ pub enum EmbeddedActor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -448,7 +448,6 @@ pub enum EmbeddedAuthor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -467,7 +466,6 @@ pub enum EmbeddedCharacter { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -513,7 +511,6 @@ pub enum EmbeddedContributor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -524,7 +521,6 @@ pub enum EmbeddedCopyrightHolder { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -560,7 +556,6 @@ pub enum EmbeddedCreator { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -599,7 +594,6 @@ pub enum EmbeddedDirector { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -623,7 +617,6 @@ pub enum EmbeddedEditor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -667,7 +660,6 @@ pub enum EmbeddedEpisode { EpisodeEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -676,7 +668,6 @@ pub enum EmbeddedEpisodes { EpisodeEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -702,7 +693,6 @@ pub enum EmbeddedFunder { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -736,7 +726,6 @@ pub enum EmbeddedImage { ImageObjectEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -770,7 +759,6 @@ pub enum EmbeddedIsBasedOn { ProductEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -779,7 +767,6 @@ pub enum EmbeddedIsBasedOnUrl { ProductEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -830,7 +817,6 @@ pub enum EmbeddedMaintainer { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -839,7 +825,6 @@ pub enum EmbeddedMaterial { ProductEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -868,7 +853,6 @@ pub enum EmbeddedOffers { OfferEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -882,7 +866,6 @@ pub enum EmbeddedPartOfTvSeries { TvSeriesEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -908,7 +891,6 @@ pub enum EmbeddedProducer { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -917,7 +899,6 @@ pub enum EmbeddedProductionCompany { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -928,7 +909,6 @@ pub enum EmbeddedProvider { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -944,7 +924,6 @@ pub enum EmbeddedPublisher { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -953,7 +932,6 @@ pub enum EmbeddedPublisherImprint { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -967,7 +945,6 @@ pub enum EmbeddedRecordedAt { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1013,7 +990,6 @@ pub enum EmbeddedSdPublisher { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1032,7 +1008,6 @@ pub enum EmbeddedSourceOrganization { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1053,7 +1028,6 @@ pub enum EmbeddedSponsor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1067,7 +1041,6 @@ pub enum EmbeddedSubjectOf { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1096,7 +1069,6 @@ pub enum EmbeddedThumbnail { ImageObjectEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1132,7 +1104,6 @@ pub enum EmbeddedTranslator { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1465,7 +1436,6 @@ pub struct TvSeason { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1519,7 +1489,6 @@ pub enum TvSeasonAccountablePerson { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1533,7 +1502,6 @@ pub enum TvSeasonActor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1589,7 +1557,6 @@ pub enum TvSeasonAuthor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1608,7 +1575,6 @@ pub enum TvSeasonCharacter { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1654,7 +1620,6 @@ pub enum TvSeasonContributor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1665,7 +1630,6 @@ pub enum TvSeasonCopyrightHolder { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1701,7 +1665,6 @@ pub enum TvSeasonCreator { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1740,7 +1703,6 @@ pub enum TvSeasonDirector { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1764,7 +1726,6 @@ pub enum TvSeasonEditor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1808,7 +1769,6 @@ pub enum TvSeasonEpisode { EpisodeEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1817,7 +1777,6 @@ pub enum TvSeasonEpisodes { EpisodeEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1843,7 +1802,6 @@ pub enum TvSeasonFunder { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1877,7 +1835,6 @@ pub enum TvSeasonImage { ImageObjectEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1911,7 +1868,6 @@ pub enum TvSeasonIsBasedOn { ProductEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1920,7 +1876,6 @@ pub enum TvSeasonIsBasedOnUrl { ProductEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1971,7 +1926,6 @@ pub enum TvSeasonMaintainer { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1980,7 +1934,6 @@ pub enum TvSeasonMaterial { ProductEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2009,7 +1962,6 @@ pub enum TvSeasonOffers { OfferEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2023,7 +1975,6 @@ pub enum TvSeasonPartOfTvSeries { TvSeriesEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2049,7 +2000,6 @@ pub enum TvSeasonProducer { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2058,7 +2008,6 @@ pub enum TvSeasonProductionCompany { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2069,7 +2018,6 @@ pub enum TvSeasonProvider { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2085,7 +2033,6 @@ pub enum TvSeasonPublisher { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2094,7 +2041,6 @@ pub enum TvSeasonPublisherImprint { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2108,7 +2054,6 @@ pub enum TvSeasonRecordedAt { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2154,7 +2099,6 @@ pub enum TvSeasonSdPublisher { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2173,7 +2117,6 @@ pub enum TvSeasonSourceOrganization { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2194,7 +2137,6 @@ pub enum TvSeasonSponsor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2208,7 +2150,6 @@ pub enum TvSeasonSubjectOf { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2237,7 +2178,6 @@ pub enum TvSeasonThumbnail { ImageObjectEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2273,7 +2213,6 @@ pub enum TvSeasonTranslator { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2388,10 +2327,10 @@ impl LexiconSchema for TvSeason { } fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("social.flockfeeds.lexical.type.TVSeason"), @@ -5343,7 +5282,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeason() -> LexiconDoc<'static> pub mod tv_season_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -5521,146 +5460,16 @@ impl TvSeasonBuilder { TvSeasonBuilder { _state: PhantomData, _fields: ( - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, ), _type: PhantomData, } @@ -5695,10 +5504,7 @@ impl TvSeasonBuilder { impl TvSeasonBuilder { /// Set the `accessMode` field (optional) - pub fn access_mode( - mut self, - value: impl Into>>, - ) -> Self { + pub fn access_mode(mut self, value: impl Into>>) -> Self { self._fields.2 = value.into(); self } @@ -5738,10 +5544,7 @@ impl TvSeasonBuilder { self } /// Set the `accessibilityAPI` field to an Option value (optional) - pub fn maybe_accessibility_api( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_accessibility_api(mut self, value: Option>) -> Self { self._fields.4 = value; self } @@ -5833,10 +5636,7 @@ impl TvSeasonBuilder { self } /// Set the `accountablePerson` field to an Option value (optional) - pub fn maybe_accountable_person( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_accountable_person(mut self, value: Option>) -> Self { self._fields.9 = value; self } @@ -5876,18 +5676,12 @@ impl TvSeasonBuilder { impl TvSeasonBuilder { /// Set the `additionalType` field (optional) - pub fn additional_type( - mut self, - value: impl Into>>, - ) -> Self { + pub fn additional_type(mut self, value: impl Into>>) -> Self { self._fields.12 = value.into(); self } /// Set the `additionalType` field to an Option value (optional) - pub fn maybe_additional_type( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_additional_type(mut self, value: Option>) -> Self { self._fields.12 = value; self } @@ -5903,10 +5697,7 @@ impl TvSeasonBuilder { self } /// Set the `aggregateRating` field to an Option value (optional) - pub fn maybe_aggregate_rating( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_aggregate_rating(mut self, value: Option>) -> Self { self._fields.13 = value; self } @@ -5914,18 +5705,12 @@ impl TvSeasonBuilder { impl TvSeasonBuilder { /// Set the `alternateName` field (optional) - pub fn alternate_name( - mut self, - value: impl Into>>, - ) -> Self { + pub fn alternate_name(mut self, value: impl Into>>) -> Self { self._fields.14 = value.into(); self } /// Set the `alternateName` field to an Option value (optional) - pub fn maybe_alternate_name( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_alternate_name(mut self, value: Option>) -> Self { self._fields.14 = value; self } @@ -5952,10 +5737,7 @@ impl TvSeasonBuilder { impl TvSeasonBuilder { /// Set the `archivedAt` field (optional) - pub fn archived_at( - mut self, - value: impl Into>>, - ) -> Self { + pub fn archived_at(mut self, value: impl Into>>) -> Self { self._fields.16 = value.into(); self } @@ -5989,10 +5771,7 @@ impl TvSeasonBuilder { self } /// Set the `associatedMedia` field to an Option value (optional) - pub fn maybe_associated_media( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_associated_media(mut self, value: Option>) -> Self { self._fields.18 = value; self } @@ -6104,18 +5883,12 @@ impl TvSeasonBuilder { impl TvSeasonBuilder { /// Set the `commentCount` field (optional) - pub fn comment_count( - mut self, - value: impl Into>>, - ) -> Self { + pub fn comment_count(mut self, value: impl Into>>) -> Self { self._fields.27 = value.into(); self } /// Set the `commentCount` field to an Option value (optional) - pub fn maybe_comment_count( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_comment_count(mut self, value: Option>) -> Self { self._fields.27 = value; self } @@ -6150,10 +5923,7 @@ impl TvSeasonBuilder { self } /// Set the `contentLocation` field to an Option value (optional) - pub fn maybe_content_location( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_content_location(mut self, value: Option>) -> Self { self._fields.29 = value; self } @@ -6161,18 +5931,12 @@ impl TvSeasonBuilder { impl TvSeasonBuilder { /// Set the `contentRating` field (optional) - pub fn content_rating( - mut self, - value: impl Into>>, - ) -> Self { + pub fn content_rating(mut self, value: impl Into>>) -> Self { self._fields.30 = value.into(); self } /// Set the `contentRating` field to an Option value (optional) - pub fn maybe_content_rating( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_content_rating(mut self, value: Option>) -> Self { self._fields.30 = value; self } @@ -6199,10 +5963,7 @@ impl TvSeasonBuilder { impl TvSeasonBuilder { /// Set the `contributor` field (optional) - pub fn contributor( - mut self, - value: impl Into>>, - ) -> Self { + pub fn contributor(mut self, value: impl Into>>) -> Self { self._fields.32 = value.into(); self } @@ -6223,10 +5984,7 @@ impl TvSeasonBuilder { self } /// Set the `copyrightHolder` field to an Option value (optional) - pub fn maybe_copyright_holder( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_copyright_holder(mut self, value: Option>) -> Self { self._fields.33 = value; self } @@ -6242,10 +6000,7 @@ impl TvSeasonBuilder { self } /// Set the `copyrightNotice` field to an Option value (optional) - pub fn maybe_copyright_notice( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_copyright_notice(mut self, value: Option>) -> Self { self._fields.34 = value; self } @@ -6253,18 +6008,12 @@ impl TvSeasonBuilder { impl TvSeasonBuilder { /// Set the `copyrightYear` field (optional) - pub fn copyright_year( - mut self, - value: impl Into>>, - ) -> Self { + pub fn copyright_year(mut self, value: impl Into>>) -> Self { self._fields.35 = value.into(); self } /// Set the `copyrightYear` field to an Option value (optional) - pub fn maybe_copyright_year( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_copyright_year(mut self, value: Option>) -> Self { self._fields.35 = value; self } @@ -6272,10 +6021,7 @@ impl TvSeasonBuilder { impl TvSeasonBuilder { /// Set the `correction` field (optional) - pub fn correction( - mut self, - value: impl Into>>, - ) -> Self { + pub fn correction(mut self, value: impl Into>>) -> Self { self._fields.36 = value.into(); self } @@ -6296,10 +6042,7 @@ impl TvSeasonBuilder { self } /// Set the `countryOfOrigin` field to an Option value (optional) - pub fn maybe_country_of_origin( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_country_of_origin(mut self, value: Option>) -> Self { self._fields.37 = value; self } @@ -6339,10 +6082,7 @@ impl TvSeasonBuilder { impl TvSeasonBuilder { /// Set the `creditText` field (optional) - pub fn credit_text( - mut self, - value: impl Into>>, - ) -> Self { + pub fn credit_text(mut self, value: impl Into>>) -> Self { self._fields.40 = value.into(); self } @@ -6355,10 +6095,7 @@ impl TvSeasonBuilder { impl TvSeasonBuilder { /// Set the `dateCreated` field (optional) - pub fn date_created( - mut self, - value: impl Into>>, - ) -> Self { + pub fn date_created(mut self, value: impl Into>>) -> Self { self._fields.41 = value.into(); self } @@ -6371,18 +6108,12 @@ impl TvSeasonBuilder { impl TvSeasonBuilder { /// Set the `dateModified` field (optional) - pub fn date_modified( - mut self, - value: impl Into>>, - ) -> Self { + pub fn date_modified(mut self, value: impl Into>>) -> Self { self._fields.42 = value.into(); self } /// Set the `dateModified` field to an Option value (optional) - pub fn maybe_date_modified( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_date_modified(mut self, value: Option>) -> Self { self._fields.42 = value; self } @@ -6390,18 +6121,12 @@ impl TvSeasonBuilder { impl TvSeasonBuilder { /// Set the `datePublished` field (optional) - pub fn date_published( - mut self, - value: impl Into>>, - ) -> Self { + pub fn date_published(mut self, value: impl Into>>) -> Self { self._fields.43 = value.into(); self } /// Set the `datePublished` field to an Option value (optional) - pub fn maybe_date_published( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_date_published(mut self, value: Option>) -> Self { self._fields.43 = value; self } @@ -6409,10 +6134,7 @@ impl TvSeasonBuilder { impl TvSeasonBuilder { /// Set the `description` field (optional) - pub fn description( - mut self, - value: impl Into>>, - ) -> Self { + pub fn description(mut self, value: impl Into>>) -> Self { self._fields.44 = value.into(); self } @@ -6476,18 +6198,12 @@ impl TvSeasonBuilder { impl TvSeasonBuilder { /// Set the `discussionUrl` field (optional) - pub fn discussion_url( - mut self, - value: impl Into>>, - ) -> Self { + pub fn discussion_url(mut self, value: impl Into>>) -> Self { self._fields.48 = value.into(); self } /// Set the `discussionUrl` field to an Option value (optional) - pub fn maybe_discussion_url( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_discussion_url(mut self, value: Option>) -> Self { self._fields.48 = value; self } @@ -6548,10 +6264,7 @@ impl TvSeasonBuilder { self } /// Set the `educationalLevel` field to an Option value (optional) - pub fn maybe_educational_level( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_educational_level(mut self, value: Option>) -> Self { self._fields.52 = value; self } @@ -6559,18 +6272,12 @@ impl TvSeasonBuilder { impl TvSeasonBuilder { /// Set the `educationalUse` field (optional) - pub fn educational_use( - mut self, - value: impl Into>>, - ) -> Self { + pub fn educational_use(mut self, value: impl Into>>) -> Self { self._fields.53 = value.into(); self } /// Set the `educationalUse` field to an Option value (optional) - pub fn maybe_educational_use( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_educational_use(mut self, value: Option>) -> Self { self._fields.53 = value; self } @@ -6591,18 +6298,12 @@ impl TvSeasonBuilder { impl TvSeasonBuilder { /// Set the `encodingFormat` field (optional) - pub fn encoding_format( - mut self, - value: impl Into>>, - ) -> Self { + pub fn encoding_format(mut self, value: impl Into>>) -> Self { self._fields.55 = value.into(); self } /// Set the `encodingFormat` field to an Option value (optional) - pub fn maybe_encoding_format( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_encoding_format(mut self, value: Option>) -> Self { self._fields.55 = value; self } @@ -6662,18 +6363,12 @@ impl TvSeasonBuilder { impl TvSeasonBuilder { /// Set the `exampleOfWork` field (optional) - pub fn example_of_work( - mut self, - value: impl Into>>, - ) -> Self { + pub fn example_of_work(mut self, value: impl Into>>) -> Self { self._fields.60 = value.into(); self } /// Set the `exampleOfWork` field to an Option value (optional) - pub fn maybe_example_of_work( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_example_of_work(mut self, value: Option>) -> Self { self._fields.60 = value; self } @@ -6694,10 +6389,7 @@ impl TvSeasonBuilder { impl TvSeasonBuilder { /// Set the `fileFormat` field (optional) - pub fn file_format( - mut self, - value: impl Into>>, - ) -> Self { + pub fn file_format(mut self, value: impl Into>>) -> Self { self._fields.62 = value.into(); self } @@ -6775,10 +6467,7 @@ impl TvSeasonBuilder { impl TvSeasonBuilder { /// Set the `identifier` field (optional) - pub fn identifier( - mut self, - value: impl Into>>, - ) -> Self { + pub fn identifier(mut self, value: impl Into>>) -> Self { self._fields.68 = value.into(); self } @@ -6804,10 +6493,7 @@ impl TvSeasonBuilder { impl TvSeasonBuilder { /// Set the `inLanguage` field (optional) - pub fn in_language( - mut self, - value: impl Into>>, - ) -> Self { + pub fn in_language(mut self, value: impl Into>>) -> Self { self._fields.70 = value.into(); self } @@ -6847,10 +6533,7 @@ impl TvSeasonBuilder { self } /// Set the `interactivityType` field to an Option value (optional) - pub fn maybe_interactivity_type( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_interactivity_type(mut self, value: Option>) -> Self { self._fields.72 = value; self } @@ -6896,10 +6579,7 @@ impl TvSeasonBuilder { impl TvSeasonBuilder { /// Set the `isBasedOn` field (optional) - pub fn is_based_on( - mut self, - value: impl Into>>, - ) -> Self { + pub fn is_based_on(mut self, value: impl Into>>) -> Self { self._fields.75 = value.into(); self } @@ -6912,18 +6592,12 @@ impl TvSeasonBuilder { impl TvSeasonBuilder { /// Set the `isBasedOnUrl` field (optional) - pub fn is_based_on_url( - mut self, - value: impl Into>>, - ) -> Self { + pub fn is_based_on_url(mut self, value: impl Into>>) -> Self { self._fields.76 = value.into(); self } /// Set the `isBasedOnUrl` field to an Option value (optional) - pub fn maybe_is_based_on_url( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_is_based_on_url(mut self, value: Option>) -> Self { self._fields.76 = value; self } @@ -6939,10 +6613,7 @@ impl TvSeasonBuilder { self } /// Set the `isFamilyFriendly` field to an Option value (optional) - pub fn maybe_is_family_friendly( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_is_family_friendly(mut self, value: Option>) -> Self { self._fields.77 = value; self } @@ -7016,10 +6687,7 @@ impl TvSeasonBuilder { self } /// Set the `locationCreated` field to an Option value (optional) - pub fn maybe_location_created( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_location_created(mut self, value: Option>) -> Self { self._fields.82 = value; self } @@ -7027,10 +6695,7 @@ impl TvSeasonBuilder { impl TvSeasonBuilder { /// Set the `mainEntity` field (optional) - pub fn main_entity( - mut self, - value: impl Into>>, - ) -> Self { + pub fn main_entity(mut self, value: impl Into>>) -> Self { self._fields.83 = value.into(); self } @@ -7051,10 +6716,7 @@ impl TvSeasonBuilder { self } /// Set the `mainEntityOfPage` field to an Option value (optional) - pub fn maybe_main_entity_of_page( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_main_entity_of_page(mut self, value: Option>) -> Self { self._fields.84 = value; self } @@ -7062,10 +6724,7 @@ impl TvSeasonBuilder { impl TvSeasonBuilder { /// Set the `maintainer` field (optional) - pub fn maintainer( - mut self, - value: impl Into>>, - ) -> Self { + pub fn maintainer(mut self, value: impl Into>>) -> Self { self._fields.85 = value.into(); self } @@ -7091,18 +6750,12 @@ impl TvSeasonBuilder { impl TvSeasonBuilder { /// Set the `materialExtent` field (optional) - pub fn material_extent( - mut self, - value: impl Into>>, - ) -> Self { + pub fn material_extent(mut self, value: impl Into>>) -> Self { self._fields.87 = value.into(); self } /// Set the `materialExtent` field to an Option value (optional) - pub fn maybe_material_extent( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_material_extent(mut self, value: Option>) -> Self { self._fields.87 = value; self } @@ -7144,10 +6797,7 @@ impl TvSeasonBuilder { self } /// Set the `numberOfEpisodes` field to an Option value (optional) - pub fn maybe_number_of_episodes( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_number_of_episodes(mut self, value: Option>) -> Self { self._fields.90 = value; self } @@ -7168,18 +6818,12 @@ impl TvSeasonBuilder { impl TvSeasonBuilder { /// Set the `partOfSeries` field (optional) - pub fn part_of_series( - mut self, - value: impl Into>>, - ) -> Self { + pub fn part_of_series(mut self, value: impl Into>>) -> Self { self._fields.92 = value.into(); self } /// Set the `partOfSeries` field to an Option value (optional) - pub fn maybe_part_of_series( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_part_of_series(mut self, value: Option>) -> Self { self._fields.92 = value; self } @@ -7195,10 +6839,7 @@ impl TvSeasonBuilder { self } /// Set the `partOfTVSeries` field to an Option value (optional) - pub fn maybe_part_of_tv_series( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_part_of_tv_series(mut self, value: Option>) -> Self { self._fields.93 = value; self } @@ -7240,10 +6881,7 @@ impl TvSeasonBuilder { self } /// Set the `potentialAction` field to an Option value (optional) - pub fn maybe_potential_action( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_potential_action(mut self, value: Option>) -> Self { self._fields.96 = value; self } @@ -7272,10 +6910,7 @@ impl TvSeasonBuilder { self } /// Set the `productionCompany` field to an Option value (optional) - pub fn maybe_production_company( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_production_company(mut self, value: Option>) -> Self { self._fields.98 = value; self } @@ -7296,10 +6931,7 @@ impl TvSeasonBuilder { impl TvSeasonBuilder { /// Set the `publication` field (optional) - pub fn publication( - mut self, - value: impl Into>>, - ) -> Self { + pub fn publication(mut self, value: impl Into>>) -> Self { self._fields.100 = value.into(); self } @@ -7333,10 +6965,7 @@ impl TvSeasonBuilder { self } /// Set the `publisherImprint` field to an Option value (optional) - pub fn maybe_publisher_imprint( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_publisher_imprint(mut self, value: Option>) -> Self { self._fields.102 = value; self } @@ -7363,10 +6992,7 @@ impl TvSeasonBuilder { impl TvSeasonBuilder { /// Set the `recordedAt` field (optional) - pub fn recorded_at( - mut self, - value: impl Into>>, - ) -> Self { + pub fn recorded_at(mut self, value: impl Into>>) -> Self { self._fields.104 = value.into(); self } @@ -7379,18 +7005,12 @@ impl TvSeasonBuilder { impl TvSeasonBuilder { /// Set the `releasedEvent` field (optional) - pub fn released_event( - mut self, - value: impl Into>>, - ) -> Self { + pub fn released_event(mut self, value: impl Into>>) -> Self { self._fields.105 = value.into(); self } /// Set the `releasedEvent` field to an Option value (optional) - pub fn maybe_released_event( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_released_event(mut self, value: Option>) -> Self { self._fields.105 = value; self } @@ -7437,18 +7057,12 @@ impl TvSeasonBuilder { impl TvSeasonBuilder { /// Set the `schemaVersion` field (optional) - pub fn schema_version( - mut self, - value: impl Into>>, - ) -> Self { + pub fn schema_version(mut self, value: impl Into>>) -> Self { self._fields.109 = value.into(); self } /// Set the `schemaVersion` field to an Option value (optional) - pub fn maybe_schema_version( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_schema_version(mut self, value: Option>) -> Self { self._fields.109 = value; self } @@ -7464,10 +7078,7 @@ impl TvSeasonBuilder { self } /// Set the `sdDatePublished` field to an Option value (optional) - pub fn maybe_sd_date_published( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_sd_date_published(mut self, value: Option>) -> Self { self._fields.110 = value; self } @@ -7488,10 +7099,7 @@ impl TvSeasonBuilder { impl TvSeasonBuilder { /// Set the `sdPublisher` field (optional) - pub fn sd_publisher( - mut self, - value: impl Into>>, - ) -> Self { + pub fn sd_publisher(mut self, value: impl Into>>) -> Self { self._fields.112 = value.into(); self } @@ -7504,18 +7112,12 @@ impl TvSeasonBuilder { impl TvSeasonBuilder { /// Set the `seasonNumber` field (optional) - pub fn season_number( - mut self, - value: impl Into>>, - ) -> Self { + pub fn season_number(mut self, value: impl Into>>) -> Self { self._fields.113 = value.into(); self } /// Set the `seasonNumber` field to an Option value (optional) - pub fn maybe_season_number( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_season_number(mut self, value: Option>) -> Self { self._fields.113 = value; self } @@ -7576,10 +7178,7 @@ impl TvSeasonBuilder { self } /// Set the `spatialCoverage` field to an Option value (optional) - pub fn maybe_spatial_coverage( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_spatial_coverage(mut self, value: Option>) -> Self { self._fields.117 = value; self } @@ -7660,10 +7259,7 @@ impl TvSeasonBuilder { self } /// Set the `temporalCoverage` field to an Option value (optional) - pub fn maybe_temporal_coverage( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_temporal_coverage(mut self, value: Option>) -> Self { self._fields.123 = value; self } @@ -7697,18 +7293,12 @@ impl TvSeasonBuilder { impl TvSeasonBuilder { /// Set the `thumbnailUrl` field (optional) - pub fn thumbnail_url( - mut self, - value: impl Into>>, - ) -> Self { + pub fn thumbnail_url(mut self, value: impl Into>>) -> Self { self._fields.126 = value.into(); self } /// Set the `thumbnailUrl` field to an Option value (optional) - pub fn maybe_thumbnail_url( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_thumbnail_url(mut self, value: Option>) -> Self { self._fields.126 = value; self } @@ -7716,18 +7306,12 @@ impl TvSeasonBuilder { impl TvSeasonBuilder { /// Set the `timeRequired` field (optional) - pub fn time_required( - mut self, - value: impl Into>>, - ) -> Self { + pub fn time_required(mut self, value: impl Into>>) -> Self { self._fields.127 = value.into(); self } /// Set the `timeRequired` field to an Option value (optional) - pub fn maybe_time_required( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_time_required(mut self, value: Option>) -> Self { self._fields.127 = value; self } @@ -7780,10 +7364,7 @@ impl TvSeasonBuilder { impl TvSeasonBuilder { /// Set the `translator` field (optional) - pub fn translator( - mut self, - value: impl Into>>, - ) -> Self { + pub fn translator(mut self, value: impl Into>>) -> Self { self._fields.131 = value.into(); self } @@ -7804,10 +7385,7 @@ impl TvSeasonBuilder { self } /// Set the `typicalAgeRange` field to an Option value (optional) - pub fn maybe_typical_age_range( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_typical_age_range(mut self, value: Option>) -> Self { self._fields.132 = value; self } @@ -7880,10 +7458,7 @@ impl TvSeasonBuilder { impl TvSeasonBuilder { /// Set the `workExample` field (optional) - pub fn work_example( - mut self, - value: impl Into>>, - ) -> Self { + pub fn work_example(mut self, value: impl Into>>) -> Self { self._fields.138 = value.into(); self } @@ -7904,10 +7479,7 @@ impl TvSeasonBuilder { self } /// Set the `workTranslation` field to an Option value (optional) - pub fn maybe_work_translation( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_work_translation(mut self, value: Option>) -> Self { self._fields.139 = value; self } @@ -8209,4 +7781,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/social_flockfeeds/lexical/type/tv_series.rs b/crates/jacquard-api/src/social_flockfeeds/lexical/type/tv_series.rs index edd6ab33..52c90d56 100644 --- a/crates/jacquard-api/src/social_flockfeeds/lexical/type/tv_series.rs +++ b/crates/jacquard-api/src/social_flockfeeds/lexical/type/tv_series.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,9 +24,6 @@ use jacquard_derive::{IntoStatic, lexicon, open_union}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::social_flockfeeds::lexical::r#type::episode; use crate::social_flockfeeds::lexical::r#type::event; use crate::social_flockfeeds::lexical::r#type::image_object; @@ -35,10 +32,16 @@ use crate::social_flockfeeds::lexical::r#type::offer; use crate::social_flockfeeds::lexical::r#type::organization; use crate::social_flockfeeds::lexical::r#type::person; use crate::social_flockfeeds::lexical::r#type::product; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; /// CreativeWorkSeries dedicated to TV broadcast and associated online delivery. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Embedded { #[serde(skip_serializing_if = "Option::is_none")] pub about: Option>, @@ -334,7 +337,6 @@ pub struct Embedded { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -388,7 +390,6 @@ pub enum EmbeddedAccountablePerson { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -402,7 +403,6 @@ pub enum EmbeddedActor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -411,7 +411,6 @@ pub enum EmbeddedActors { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -467,7 +466,6 @@ pub enum EmbeddedAuthor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -486,7 +484,6 @@ pub enum EmbeddedCharacter { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -537,7 +534,6 @@ pub enum EmbeddedContributor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -548,7 +544,6 @@ pub enum EmbeddedCopyrightHolder { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -584,7 +579,6 @@ pub enum EmbeddedCreator { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -623,7 +617,6 @@ pub enum EmbeddedDirector { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -632,7 +625,6 @@ pub enum EmbeddedDirectors { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -656,7 +648,6 @@ pub enum EmbeddedEditor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -700,7 +691,6 @@ pub enum EmbeddedEpisode { EpisodeEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -709,7 +699,6 @@ pub enum EmbeddedEpisodes { EpisodeEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -735,7 +724,6 @@ pub enum EmbeddedFunder { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -769,7 +757,6 @@ pub enum EmbeddedImage { ImageObjectEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -803,7 +790,6 @@ pub enum EmbeddedIsBasedOn { ProductEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -812,7 +798,6 @@ pub enum EmbeddedIsBasedOnUrl { ProductEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -868,7 +853,6 @@ pub enum EmbeddedMaintainer { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -877,7 +861,6 @@ pub enum EmbeddedMaterial { ProductEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -898,7 +881,6 @@ pub enum EmbeddedMusicBy { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -922,7 +904,6 @@ pub enum EmbeddedOffers { OfferEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -948,7 +929,6 @@ pub enum EmbeddedProducer { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -957,7 +937,6 @@ pub enum EmbeddedProductionCompany { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -968,7 +947,6 @@ pub enum EmbeddedProvider { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -984,7 +962,6 @@ pub enum EmbeddedPublisher { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -993,7 +970,6 @@ pub enum EmbeddedPublisherImprint { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1007,7 +983,6 @@ pub enum EmbeddedRecordedAt { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1053,7 +1028,6 @@ pub enum EmbeddedSdPublisher { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1077,7 +1051,6 @@ pub enum EmbeddedSourceOrganization { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1098,7 +1071,6 @@ pub enum EmbeddedSponsor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1112,7 +1084,6 @@ pub enum EmbeddedSubjectOf { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1141,7 +1112,6 @@ pub enum EmbeddedThumbnail { ImageObjectEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1177,7 +1147,6 @@ pub enum EmbeddedTranslator { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1520,7 +1489,6 @@ pub struct TvSeries { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1574,7 +1542,6 @@ pub enum TvSeriesAccountablePerson { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1588,7 +1555,6 @@ pub enum TvSeriesActor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1597,7 +1563,6 @@ pub enum TvSeriesActors { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1653,7 +1618,6 @@ pub enum TvSeriesAuthor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1672,7 +1636,6 @@ pub enum TvSeriesCharacter { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1723,7 +1686,6 @@ pub enum TvSeriesContributor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1734,7 +1696,6 @@ pub enum TvSeriesCopyrightHolder { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1770,7 +1731,6 @@ pub enum TvSeriesCreator { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1809,7 +1769,6 @@ pub enum TvSeriesDirector { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1818,7 +1777,6 @@ pub enum TvSeriesDirectors { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1842,7 +1800,6 @@ pub enum TvSeriesEditor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1886,7 +1843,6 @@ pub enum TvSeriesEpisode { EpisodeEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1895,7 +1851,6 @@ pub enum TvSeriesEpisodes { EpisodeEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1921,7 +1876,6 @@ pub enum TvSeriesFunder { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1955,7 +1909,6 @@ pub enum TvSeriesImage { ImageObjectEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1989,7 +1942,6 @@ pub enum TvSeriesIsBasedOn { ProductEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1998,7 +1950,6 @@ pub enum TvSeriesIsBasedOnUrl { ProductEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2054,7 +2005,6 @@ pub enum TvSeriesMaintainer { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2063,7 +2013,6 @@ pub enum TvSeriesMaterial { ProductEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2084,7 +2033,6 @@ pub enum TvSeriesMusicBy { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2108,7 +2056,6 @@ pub enum TvSeriesOffers { OfferEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2134,7 +2081,6 @@ pub enum TvSeriesProducer { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2143,7 +2089,6 @@ pub enum TvSeriesProductionCompany { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2154,7 +2099,6 @@ pub enum TvSeriesProvider { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2170,7 +2114,6 @@ pub enum TvSeriesPublisher { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2179,7 +2122,6 @@ pub enum TvSeriesPublisherImprint { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2193,7 +2135,6 @@ pub enum TvSeriesRecordedAt { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2239,7 +2180,6 @@ pub enum TvSeriesSdPublisher { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2263,7 +2203,6 @@ pub enum TvSeriesSourceOrganization { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2284,7 +2223,6 @@ pub enum TvSeriesSponsor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2298,7 +2236,6 @@ pub enum TvSeriesSubjectOf { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2327,7 +2264,6 @@ pub enum TvSeriesThumbnail { ImageObjectEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2363,7 +2299,6 @@ pub enum TvSeriesTranslator { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2478,10 +2413,10 @@ impl LexiconSchema for TvSeries { } fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("social.flockfeeds.lexical.type.TVSeries"), @@ -5537,7 +5472,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_TVSeries() -> LexiconDoc<'static> pub mod tv_series_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -5720,151 +5655,17 @@ impl TvSeriesBuilder { TvSeriesBuilder { _state: PhantomData, _fields: ( - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, ), _type: PhantomData, } @@ -5899,10 +5700,7 @@ impl TvSeriesBuilder { impl TvSeriesBuilder { /// Set the `accessMode` field (optional) - pub fn access_mode( - mut self, - value: impl Into>>, - ) -> Self { + pub fn access_mode(mut self, value: impl Into>>) -> Self { self._fields.2 = value.into(); self } @@ -5942,10 +5740,7 @@ impl TvSeriesBuilder { self } /// Set the `accessibilityAPI` field to an Option value (optional) - pub fn maybe_accessibility_api( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_accessibility_api(mut self, value: Option>) -> Self { self._fields.4 = value; self } @@ -6037,10 +5832,7 @@ impl TvSeriesBuilder { self } /// Set the `accountablePerson` field to an Option value (optional) - pub fn maybe_accountable_person( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_accountable_person(mut self, value: Option>) -> Self { self._fields.9 = value; self } @@ -6093,18 +5885,12 @@ impl TvSeriesBuilder { impl TvSeriesBuilder { /// Set the `additionalType` field (optional) - pub fn additional_type( - mut self, - value: impl Into>>, - ) -> Self { + pub fn additional_type(mut self, value: impl Into>>) -> Self { self._fields.13 = value.into(); self } /// Set the `additionalType` field to an Option value (optional) - pub fn maybe_additional_type( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_additional_type(mut self, value: Option>) -> Self { self._fields.13 = value; self } @@ -6120,10 +5906,7 @@ impl TvSeriesBuilder { self } /// Set the `aggregateRating` field to an Option value (optional) - pub fn maybe_aggregate_rating( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_aggregate_rating(mut self, value: Option>) -> Self { self._fields.14 = value; self } @@ -6131,18 +5914,12 @@ impl TvSeriesBuilder { impl TvSeriesBuilder { /// Set the `alternateName` field (optional) - pub fn alternate_name( - mut self, - value: impl Into>>, - ) -> Self { + pub fn alternate_name(mut self, value: impl Into>>) -> Self { self._fields.15 = value.into(); self } /// Set the `alternateName` field to an Option value (optional) - pub fn maybe_alternate_name( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_alternate_name(mut self, value: Option>) -> Self { self._fields.15 = value; self } @@ -6169,10 +5946,7 @@ impl TvSeriesBuilder { impl TvSeriesBuilder { /// Set the `archivedAt` field (optional) - pub fn archived_at( - mut self, - value: impl Into>>, - ) -> Self { + pub fn archived_at(mut self, value: impl Into>>) -> Self { self._fields.17 = value.into(); self } @@ -6206,10 +5980,7 @@ impl TvSeriesBuilder { self } /// Set the `associatedMedia` field to an Option value (optional) - pub fn maybe_associated_media( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_associated_media(mut self, value: Option>) -> Self { self._fields.19 = value; self } @@ -6321,18 +6092,12 @@ impl TvSeriesBuilder { impl TvSeriesBuilder { /// Set the `commentCount` field (optional) - pub fn comment_count( - mut self, - value: impl Into>>, - ) -> Self { + pub fn comment_count(mut self, value: impl Into>>) -> Self { self._fields.28 = value.into(); self } /// Set the `commentCount` field to an Option value (optional) - pub fn maybe_comment_count( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_comment_count(mut self, value: Option>) -> Self { self._fields.28 = value; self } @@ -6359,18 +6124,12 @@ impl TvSeriesBuilder { impl TvSeriesBuilder { /// Set the `containsSeason` field (optional) - pub fn contains_season( - mut self, - value: impl Into>>, - ) -> Self { + pub fn contains_season(mut self, value: impl Into>>) -> Self { self._fields.30 = value.into(); self } /// Set the `containsSeason` field to an Option value (optional) - pub fn maybe_contains_season( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_contains_season(mut self, value: Option>) -> Self { self._fields.30 = value; self } @@ -6386,10 +6145,7 @@ impl TvSeriesBuilder { self } /// Set the `contentLocation` field to an Option value (optional) - pub fn maybe_content_location( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_content_location(mut self, value: Option>) -> Self { self._fields.31 = value; self } @@ -6397,18 +6153,12 @@ impl TvSeriesBuilder { impl TvSeriesBuilder { /// Set the `contentRating` field (optional) - pub fn content_rating( - mut self, - value: impl Into>>, - ) -> Self { + pub fn content_rating(mut self, value: impl Into>>) -> Self { self._fields.32 = value.into(); self } /// Set the `contentRating` field to an Option value (optional) - pub fn maybe_content_rating( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_content_rating(mut self, value: Option>) -> Self { self._fields.32 = value; self } @@ -6435,10 +6185,7 @@ impl TvSeriesBuilder { impl TvSeriesBuilder { /// Set the `contributor` field (optional) - pub fn contributor( - mut self, - value: impl Into>>, - ) -> Self { + pub fn contributor(mut self, value: impl Into>>) -> Self { self._fields.34 = value.into(); self } @@ -6459,10 +6206,7 @@ impl TvSeriesBuilder { self } /// Set the `copyrightHolder` field to an Option value (optional) - pub fn maybe_copyright_holder( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_copyright_holder(mut self, value: Option>) -> Self { self._fields.35 = value; self } @@ -6478,10 +6222,7 @@ impl TvSeriesBuilder { self } /// Set the `copyrightNotice` field to an Option value (optional) - pub fn maybe_copyright_notice( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_copyright_notice(mut self, value: Option>) -> Self { self._fields.36 = value; self } @@ -6489,18 +6230,12 @@ impl TvSeriesBuilder { impl TvSeriesBuilder { /// Set the `copyrightYear` field (optional) - pub fn copyright_year( - mut self, - value: impl Into>>, - ) -> Self { + pub fn copyright_year(mut self, value: impl Into>>) -> Self { self._fields.37 = value.into(); self } /// Set the `copyrightYear` field to an Option value (optional) - pub fn maybe_copyright_year( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_copyright_year(mut self, value: Option>) -> Self { self._fields.37 = value; self } @@ -6508,10 +6243,7 @@ impl TvSeriesBuilder { impl TvSeriesBuilder { /// Set the `correction` field (optional) - pub fn correction( - mut self, - value: impl Into>>, - ) -> Self { + pub fn correction(mut self, value: impl Into>>) -> Self { self._fields.38 = value.into(); self } @@ -6532,10 +6264,7 @@ impl TvSeriesBuilder { self } /// Set the `countryOfOrigin` field to an Option value (optional) - pub fn maybe_country_of_origin( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_country_of_origin(mut self, value: Option>) -> Self { self._fields.39 = value; self } @@ -6575,10 +6304,7 @@ impl TvSeriesBuilder { impl TvSeriesBuilder { /// Set the `creditText` field (optional) - pub fn credit_text( - mut self, - value: impl Into>>, - ) -> Self { + pub fn credit_text(mut self, value: impl Into>>) -> Self { self._fields.42 = value.into(); self } @@ -6591,10 +6317,7 @@ impl TvSeriesBuilder { impl TvSeriesBuilder { /// Set the `dateCreated` field (optional) - pub fn date_created( - mut self, - value: impl Into>>, - ) -> Self { + pub fn date_created(mut self, value: impl Into>>) -> Self { self._fields.43 = value.into(); self } @@ -6607,18 +6330,12 @@ impl TvSeriesBuilder { impl TvSeriesBuilder { /// Set the `dateModified` field (optional) - pub fn date_modified( - mut self, - value: impl Into>>, - ) -> Self { + pub fn date_modified(mut self, value: impl Into>>) -> Self { self._fields.44 = value.into(); self } /// Set the `dateModified` field to an Option value (optional) - pub fn maybe_date_modified( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_date_modified(mut self, value: Option>) -> Self { self._fields.44 = value; self } @@ -6626,18 +6343,12 @@ impl TvSeriesBuilder { impl TvSeriesBuilder { /// Set the `datePublished` field (optional) - pub fn date_published( - mut self, - value: impl Into>>, - ) -> Self { + pub fn date_published(mut self, value: impl Into>>) -> Self { self._fields.45 = value.into(); self } /// Set the `datePublished` field to an Option value (optional) - pub fn maybe_date_published( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_date_published(mut self, value: Option>) -> Self { self._fields.45 = value; self } @@ -6645,10 +6356,7 @@ impl TvSeriesBuilder { impl TvSeriesBuilder { /// Set the `description` field (optional) - pub fn description( - mut self, - value: impl Into>>, - ) -> Self { + pub fn description(mut self, value: impl Into>>) -> Self { self._fields.46 = value.into(); self } @@ -6725,18 +6433,12 @@ impl TvSeriesBuilder { impl TvSeriesBuilder { /// Set the `discussionUrl` field (optional) - pub fn discussion_url( - mut self, - value: impl Into>>, - ) -> Self { + pub fn discussion_url(mut self, value: impl Into>>) -> Self { self._fields.51 = value.into(); self } /// Set the `discussionUrl` field to an Option value (optional) - pub fn maybe_discussion_url( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_discussion_url(mut self, value: Option>) -> Self { self._fields.51 = value; self } @@ -6797,10 +6499,7 @@ impl TvSeriesBuilder { self } /// Set the `educationalLevel` field to an Option value (optional) - pub fn maybe_educational_level( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_educational_level(mut self, value: Option>) -> Self { self._fields.55 = value; self } @@ -6808,18 +6507,12 @@ impl TvSeriesBuilder { impl TvSeriesBuilder { /// Set the `educationalUse` field (optional) - pub fn educational_use( - mut self, - value: impl Into>>, - ) -> Self { + pub fn educational_use(mut self, value: impl Into>>) -> Self { self._fields.56 = value.into(); self } /// Set the `educationalUse` field to an Option value (optional) - pub fn maybe_educational_use( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_educational_use(mut self, value: Option>) -> Self { self._fields.56 = value; self } @@ -6840,18 +6533,12 @@ impl TvSeriesBuilder { impl TvSeriesBuilder { /// Set the `encodingFormat` field (optional) - pub fn encoding_format( - mut self, - value: impl Into>>, - ) -> Self { + pub fn encoding_format(mut self, value: impl Into>>) -> Self { self._fields.58 = value.into(); self } /// Set the `encodingFormat` field to an Option value (optional) - pub fn maybe_encoding_format( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_encoding_format(mut self, value: Option>) -> Self { self._fields.58 = value; self } @@ -6911,18 +6598,12 @@ impl TvSeriesBuilder { impl TvSeriesBuilder { /// Set the `exampleOfWork` field (optional) - pub fn example_of_work( - mut self, - value: impl Into>>, - ) -> Self { + pub fn example_of_work(mut self, value: impl Into>>) -> Self { self._fields.63 = value.into(); self } /// Set the `exampleOfWork` field to an Option value (optional) - pub fn maybe_example_of_work( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_example_of_work(mut self, value: Option>) -> Self { self._fields.63 = value; self } @@ -6943,10 +6624,7 @@ impl TvSeriesBuilder { impl TvSeriesBuilder { /// Set the `fileFormat` field (optional) - pub fn file_format( - mut self, - value: impl Into>>, - ) -> Self { + pub fn file_format(mut self, value: impl Into>>) -> Self { self._fields.65 = value.into(); self } @@ -7024,10 +6702,7 @@ impl TvSeriesBuilder { impl TvSeriesBuilder { /// Set the `identifier` field (optional) - pub fn identifier( - mut self, - value: impl Into>>, - ) -> Self { + pub fn identifier(mut self, value: impl Into>>) -> Self { self._fields.71 = value.into(); self } @@ -7053,10 +6728,7 @@ impl TvSeriesBuilder { impl TvSeriesBuilder { /// Set the `inLanguage` field (optional) - pub fn in_language( - mut self, - value: impl Into>>, - ) -> Self { + pub fn in_language(mut self, value: impl Into>>) -> Self { self._fields.73 = value.into(); self } @@ -7096,10 +6768,7 @@ impl TvSeriesBuilder { self } /// Set the `interactivityType` field to an Option value (optional) - pub fn maybe_interactivity_type( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_interactivity_type(mut self, value: Option>) -> Self { self._fields.75 = value; self } @@ -7145,10 +6814,7 @@ impl TvSeriesBuilder { impl TvSeriesBuilder { /// Set the `isBasedOn` field (optional) - pub fn is_based_on( - mut self, - value: impl Into>>, - ) -> Self { + pub fn is_based_on(mut self, value: impl Into>>) -> Self { self._fields.78 = value.into(); self } @@ -7161,18 +6827,12 @@ impl TvSeriesBuilder { impl TvSeriesBuilder { /// Set the `isBasedOnUrl` field (optional) - pub fn is_based_on_url( - mut self, - value: impl Into>>, - ) -> Self { + pub fn is_based_on_url(mut self, value: impl Into>>) -> Self { self._fields.79 = value.into(); self } /// Set the `isBasedOnUrl` field to an Option value (optional) - pub fn maybe_is_based_on_url( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_is_based_on_url(mut self, value: Option>) -> Self { self._fields.79 = value; self } @@ -7188,10 +6848,7 @@ impl TvSeriesBuilder { self } /// Set the `isFamilyFriendly` field to an Option value (optional) - pub fn maybe_is_family_friendly( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_is_family_friendly(mut self, value: Option>) -> Self { self._fields.80 = value; self } @@ -7278,10 +6935,7 @@ impl TvSeriesBuilder { self } /// Set the `locationCreated` field to an Option value (optional) - pub fn maybe_location_created( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_location_created(mut self, value: Option>) -> Self { self._fields.86 = value; self } @@ -7289,10 +6943,7 @@ impl TvSeriesBuilder { impl TvSeriesBuilder { /// Set the `mainEntity` field (optional) - pub fn main_entity( - mut self, - value: impl Into>>, - ) -> Self { + pub fn main_entity(mut self, value: impl Into>>) -> Self { self._fields.87 = value.into(); self } @@ -7313,10 +6964,7 @@ impl TvSeriesBuilder { self } /// Set the `mainEntityOfPage` field to an Option value (optional) - pub fn maybe_main_entity_of_page( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_main_entity_of_page(mut self, value: Option>) -> Self { self._fields.88 = value; self } @@ -7324,10 +6972,7 @@ impl TvSeriesBuilder { impl TvSeriesBuilder { /// Set the `maintainer` field (optional) - pub fn maintainer( - mut self, - value: impl Into>>, - ) -> Self { + pub fn maintainer(mut self, value: impl Into>>) -> Self { self._fields.89 = value.into(); self } @@ -7353,18 +6998,12 @@ impl TvSeriesBuilder { impl TvSeriesBuilder { /// Set the `materialExtent` field (optional) - pub fn material_extent( - mut self, - value: impl Into>>, - ) -> Self { + pub fn material_extent(mut self, value: impl Into>>) -> Self { self._fields.91 = value.into(); self } /// Set the `materialExtent` field to an Option value (optional) - pub fn maybe_material_extent( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_material_extent(mut self, value: Option>) -> Self { self._fields.91 = value; self } @@ -7419,10 +7058,7 @@ impl TvSeriesBuilder { self } /// Set the `numberOfEpisodes` field to an Option value (optional) - pub fn maybe_number_of_episodes( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_number_of_episodes(mut self, value: Option>) -> Self { self._fields.95 = value; self } @@ -7438,10 +7074,7 @@ impl TvSeriesBuilder { self } /// Set the `numberOfSeasons` field to an Option value (optional) - pub fn maybe_number_of_seasons( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_number_of_seasons(mut self, value: Option>) -> Self { self._fields.96 = value; self } @@ -7496,10 +7129,7 @@ impl TvSeriesBuilder { self } /// Set the `potentialAction` field to an Option value (optional) - pub fn maybe_potential_action( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_potential_action(mut self, value: Option>) -> Self { self._fields.100 = value; self } @@ -7528,10 +7158,7 @@ impl TvSeriesBuilder { self } /// Set the `productionCompany` field to an Option value (optional) - pub fn maybe_production_company( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_production_company(mut self, value: Option>) -> Self { self._fields.102 = value; self } @@ -7552,10 +7179,7 @@ impl TvSeriesBuilder { impl TvSeriesBuilder { /// Set the `publication` field (optional) - pub fn publication( - mut self, - value: impl Into>>, - ) -> Self { + pub fn publication(mut self, value: impl Into>>) -> Self { self._fields.104 = value.into(); self } @@ -7589,10 +7213,7 @@ impl TvSeriesBuilder { self } /// Set the `publisherImprint` field to an Option value (optional) - pub fn maybe_publisher_imprint( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_publisher_imprint(mut self, value: Option>) -> Self { self._fields.106 = value; self } @@ -7619,10 +7240,7 @@ impl TvSeriesBuilder { impl TvSeriesBuilder { /// Set the `recordedAt` field (optional) - pub fn recorded_at( - mut self, - value: impl Into>>, - ) -> Self { + pub fn recorded_at(mut self, value: impl Into>>) -> Self { self._fields.108 = value.into(); self } @@ -7635,18 +7253,12 @@ impl TvSeriesBuilder { impl TvSeriesBuilder { /// Set the `releasedEvent` field (optional) - pub fn released_event( - mut self, - value: impl Into>>, - ) -> Self { + pub fn released_event(mut self, value: impl Into>>) -> Self { self._fields.109 = value.into(); self } /// Set the `releasedEvent` field to an Option value (optional) - pub fn maybe_released_event( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_released_event(mut self, value: Option>) -> Self { self._fields.109 = value; self } @@ -7693,18 +7305,12 @@ impl TvSeriesBuilder { impl TvSeriesBuilder { /// Set the `schemaVersion` field (optional) - pub fn schema_version( - mut self, - value: impl Into>>, - ) -> Self { + pub fn schema_version(mut self, value: impl Into>>) -> Self { self._fields.113 = value.into(); self } /// Set the `schemaVersion` field to an Option value (optional) - pub fn maybe_schema_version( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_schema_version(mut self, value: Option>) -> Self { self._fields.113 = value; self } @@ -7720,10 +7326,7 @@ impl TvSeriesBuilder { self } /// Set the `sdDatePublished` field to an Option value (optional) - pub fn maybe_sd_date_published( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_sd_date_published(mut self, value: Option>) -> Self { self._fields.114 = value; self } @@ -7744,10 +7347,7 @@ impl TvSeriesBuilder { impl TvSeriesBuilder { /// Set the `sdPublisher` field (optional) - pub fn sd_publisher( - mut self, - value: impl Into>>, - ) -> Self { + pub fn sd_publisher(mut self, value: impl Into>>) -> Self { self._fields.116 = value.into(); self } @@ -7839,10 +7439,7 @@ impl TvSeriesBuilder { self } /// Set the `spatialCoverage` field to an Option value (optional) - pub fn maybe_spatial_coverage( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_spatial_coverage(mut self, value: Option>) -> Self { self._fields.122 = value; self } @@ -7923,10 +7520,7 @@ impl TvSeriesBuilder { self } /// Set the `temporalCoverage` field to an Option value (optional) - pub fn maybe_temporal_coverage( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_temporal_coverage(mut self, value: Option>) -> Self { self._fields.128 = value; self } @@ -7960,18 +7554,12 @@ impl TvSeriesBuilder { impl TvSeriesBuilder { /// Set the `thumbnailUrl` field (optional) - pub fn thumbnail_url( - mut self, - value: impl Into>>, - ) -> Self { + pub fn thumbnail_url(mut self, value: impl Into>>) -> Self { self._fields.131 = value.into(); self } /// Set the `thumbnailUrl` field to an Option value (optional) - pub fn maybe_thumbnail_url( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_thumbnail_url(mut self, value: Option>) -> Self { self._fields.131 = value; self } @@ -7979,18 +7567,12 @@ impl TvSeriesBuilder { impl TvSeriesBuilder { /// Set the `timeRequired` field (optional) - pub fn time_required( - mut self, - value: impl Into>>, - ) -> Self { + pub fn time_required(mut self, value: impl Into>>) -> Self { self._fields.132 = value.into(); self } /// Set the `timeRequired` field to an Option value (optional) - pub fn maybe_time_required( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_time_required(mut self, value: Option>) -> Self { self._fields.132 = value; self } @@ -8043,10 +7625,7 @@ impl TvSeriesBuilder { impl TvSeriesBuilder { /// Set the `translator` field (optional) - pub fn translator( - mut self, - value: impl Into>>, - ) -> Self { + pub fn translator(mut self, value: impl Into>>) -> Self { self._fields.136 = value.into(); self } @@ -8067,10 +7646,7 @@ impl TvSeriesBuilder { self } /// Set the `typicalAgeRange` field to an Option value (optional) - pub fn maybe_typical_age_range( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_typical_age_range(mut self, value: Option>) -> Self { self._fields.137 = value; self } @@ -8143,10 +7719,7 @@ impl TvSeriesBuilder { impl TvSeriesBuilder { /// Set the `workExample` field (optional) - pub fn work_example( - mut self, - value: impl Into>>, - ) -> Self { + pub fn work_example(mut self, value: impl Into>>) -> Self { self._fields.143 = value.into(); self } @@ -8167,10 +7740,7 @@ impl TvSeriesBuilder { self } /// Set the `workTranslation` field to an Option value (optional) - pub fn maybe_work_translation( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_work_translation(mut self, value: Option>) -> Self { self._fields.144 = value; self } @@ -8482,4 +8052,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/social_flockfeeds/lexical/type/web_site.rs b/crates/jacquard-api/src/social_flockfeeds/lexical/type/web_site.rs index 68402c4a..bcaffdcf 100644 --- a/crates/jacquard-api/src/social_flockfeeds/lexical/type/web_site.rs +++ b/crates/jacquard-api/src/social_flockfeeds/lexical/type/web_site.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,19 +24,22 @@ use jacquard_derive::{IntoStatic, lexicon, open_union}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::social_flockfeeds::lexical::r#type::event; use crate::social_flockfeeds::lexical::r#type::image_object; use crate::social_flockfeeds::lexical::r#type::offer; use crate::social_flockfeeds::lexical::r#type::organization; use crate::social_flockfeeds::lexical::r#type::person; use crate::social_flockfeeds::lexical::r#type::product; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; /// A WebSite is a set of related web pages and other items typically served from a single web domain and accessible via URLs. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Embedded { #[serde(skip_serializing_if = "Option::is_none")] pub about: Option>, @@ -298,7 +301,6 @@ pub struct Embedded { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -352,7 +354,6 @@ pub enum EmbeddedAccountablePerson { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -413,7 +414,6 @@ pub enum EmbeddedAuthor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -432,7 +432,6 @@ pub enum EmbeddedCharacter { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -478,7 +477,6 @@ pub enum EmbeddedContributor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -489,7 +487,6 @@ pub enum EmbeddedCopyrightHolder { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -525,7 +522,6 @@ pub enum EmbeddedCreator { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -579,7 +575,6 @@ pub enum EmbeddedEditor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -635,7 +630,6 @@ pub enum EmbeddedFunder { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -669,7 +663,6 @@ pub enum EmbeddedImage { ImageObjectEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -703,7 +696,6 @@ pub enum EmbeddedIsBasedOn { ProductEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -712,7 +704,6 @@ pub enum EmbeddedIsBasedOnUrl { ProductEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -768,7 +759,6 @@ pub enum EmbeddedMaintainer { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -777,7 +767,6 @@ pub enum EmbeddedMaterial { ProductEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -801,7 +790,6 @@ pub enum EmbeddedOffers { OfferEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -827,7 +815,6 @@ pub enum EmbeddedProducer { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -838,7 +825,6 @@ pub enum EmbeddedProvider { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -854,7 +840,6 @@ pub enum EmbeddedPublisher { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -863,7 +848,6 @@ pub enum EmbeddedPublisherImprint { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -877,7 +861,6 @@ pub enum EmbeddedRecordedAt { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -923,7 +906,6 @@ pub enum EmbeddedSdPublisher { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -937,7 +919,6 @@ pub enum EmbeddedSourceOrganization { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -958,7 +939,6 @@ pub enum EmbeddedSponsor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -967,7 +947,6 @@ pub enum EmbeddedSubjectOf { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -996,7 +975,6 @@ pub enum EmbeddedThumbnail { ImageObjectEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1022,7 +1000,6 @@ pub enum EmbeddedTranslator { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1331,7 +1308,6 @@ pub struct WebSite { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1385,7 +1361,6 @@ pub enum WebSiteAccountablePerson { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1446,7 +1421,6 @@ pub enum WebSiteAuthor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1465,7 +1439,6 @@ pub enum WebSiteCharacter { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1511,7 +1484,6 @@ pub enum WebSiteContributor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1522,7 +1494,6 @@ pub enum WebSiteCopyrightHolder { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1558,7 +1529,6 @@ pub enum WebSiteCreator { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1612,7 +1582,6 @@ pub enum WebSiteEditor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1668,7 +1637,6 @@ pub enum WebSiteFunder { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1702,7 +1670,6 @@ pub enum WebSiteImage { ImageObjectEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1736,7 +1703,6 @@ pub enum WebSiteIsBasedOn { ProductEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1745,7 +1711,6 @@ pub enum WebSiteIsBasedOnUrl { ProductEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1801,7 +1766,6 @@ pub enum WebSiteMaintainer { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1810,7 +1774,6 @@ pub enum WebSiteMaterial { ProductEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1834,7 +1797,6 @@ pub enum WebSiteOffers { OfferEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1860,7 +1822,6 @@ pub enum WebSiteProducer { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1871,7 +1832,6 @@ pub enum WebSiteProvider { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1887,7 +1847,6 @@ pub enum WebSitePublisher { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1896,7 +1855,6 @@ pub enum WebSitePublisherImprint { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1910,7 +1868,6 @@ pub enum WebSiteRecordedAt { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1956,7 +1913,6 @@ pub enum WebSiteSdPublisher { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1970,7 +1926,6 @@ pub enum WebSiteSourceOrganization { OrganizationEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1991,7 +1946,6 @@ pub enum WebSiteSponsor { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2000,7 +1954,6 @@ pub enum WebSiteSubjectOf { EventEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2029,7 +1982,6 @@ pub enum WebSiteThumbnail { ImageObjectEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2055,7 +2007,6 @@ pub enum WebSiteTranslator { PersonEmbedded(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2170,10 +2121,10 @@ impl LexiconSchema for WebSite { } fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("social.flockfeeds.lexical.type.WebSite"), @@ -4883,7 +4834,7 @@ fn lexicon_doc_social_flockfeeds_lexical_type_WebSite() -> LexiconDoc<'static> { pub mod web_site_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -5049,134 +5000,16 @@ impl WebSiteBuilder { WebSiteBuilder { _state: PhantomData, _fields: ( - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, ), _type: PhantomData, } @@ -5211,10 +5044,7 @@ impl WebSiteBuilder { impl WebSiteBuilder { /// Set the `accessMode` field (optional) - pub fn access_mode( - mut self, - value: impl Into>>, - ) -> Self { + pub fn access_mode(mut self, value: impl Into>>) -> Self { self._fields.2 = value.into(); self } @@ -5254,10 +5084,7 @@ impl WebSiteBuilder { self } /// Set the `accessibilityAPI` field to an Option value (optional) - pub fn maybe_accessibility_api( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_accessibility_api(mut self, value: Option>) -> Self { self._fields.4 = value; self } @@ -5349,10 +5176,7 @@ impl WebSiteBuilder { self } /// Set the `accountablePerson` field to an Option value (optional) - pub fn maybe_accountable_person( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_accountable_person(mut self, value: Option>) -> Self { self._fields.9 = value; self } @@ -5379,18 +5203,12 @@ impl WebSiteBuilder { impl WebSiteBuilder { /// Set the `additionalType` field (optional) - pub fn additional_type( - mut self, - value: impl Into>>, - ) -> Self { + pub fn additional_type(mut self, value: impl Into>>) -> Self { self._fields.11 = value.into(); self } /// Set the `additionalType` field to an Option value (optional) - pub fn maybe_additional_type( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_additional_type(mut self, value: Option>) -> Self { self._fields.11 = value; self } @@ -5398,18 +5216,12 @@ impl WebSiteBuilder { impl WebSiteBuilder { /// Set the `aggregateRating` field (optional) - pub fn aggregate_rating( - mut self, - value: impl Into>>, - ) -> Self { + pub fn aggregate_rating(mut self, value: impl Into>>) -> Self { self._fields.12 = value.into(); self } /// Set the `aggregateRating` field to an Option value (optional) - pub fn maybe_aggregate_rating( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_aggregate_rating(mut self, value: Option>) -> Self { self._fields.12 = value; self } @@ -5417,18 +5229,12 @@ impl WebSiteBuilder { impl WebSiteBuilder { /// Set the `alternateName` field (optional) - pub fn alternate_name( - mut self, - value: impl Into>>, - ) -> Self { + pub fn alternate_name(mut self, value: impl Into>>) -> Self { self._fields.13 = value.into(); self } /// Set the `alternateName` field to an Option value (optional) - pub fn maybe_alternate_name( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_alternate_name(mut self, value: Option>) -> Self { self._fields.13 = value; self } @@ -5455,10 +5261,7 @@ impl WebSiteBuilder { impl WebSiteBuilder { /// Set the `archivedAt` field (optional) - pub fn archived_at( - mut self, - value: impl Into>>, - ) -> Self { + pub fn archived_at(mut self, value: impl Into>>) -> Self { self._fields.15 = value.into(); self } @@ -5484,18 +5287,12 @@ impl WebSiteBuilder { impl WebSiteBuilder { /// Set the `associatedMedia` field (optional) - pub fn associated_media( - mut self, - value: impl Into>>, - ) -> Self { + pub fn associated_media(mut self, value: impl Into>>) -> Self { self._fields.17 = value.into(); self } /// Set the `associatedMedia` field to an Option value (optional) - pub fn maybe_associated_media( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_associated_media(mut self, value: Option>) -> Self { self._fields.17 = value; self } @@ -5607,10 +5404,7 @@ impl WebSiteBuilder { impl WebSiteBuilder { /// Set the `commentCount` field (optional) - pub fn comment_count( - mut self, - value: impl Into>>, - ) -> Self { + pub fn comment_count(mut self, value: impl Into>>) -> Self { self._fields.26 = value.into(); self } @@ -5642,18 +5436,12 @@ impl WebSiteBuilder { impl WebSiteBuilder { /// Set the `contentLocation` field (optional) - pub fn content_location( - mut self, - value: impl Into>>, - ) -> Self { + pub fn content_location(mut self, value: impl Into>>) -> Self { self._fields.28 = value.into(); self } /// Set the `contentLocation` field to an Option value (optional) - pub fn maybe_content_location( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_content_location(mut self, value: Option>) -> Self { self._fields.28 = value; self } @@ -5661,18 +5449,12 @@ impl WebSiteBuilder { impl WebSiteBuilder { /// Set the `contentRating` field (optional) - pub fn content_rating( - mut self, - value: impl Into>>, - ) -> Self { + pub fn content_rating(mut self, value: impl Into>>) -> Self { self._fields.29 = value.into(); self } /// Set the `contentRating` field to an Option value (optional) - pub fn maybe_content_rating( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_content_rating(mut self, value: Option>) -> Self { self._fields.29 = value; self } @@ -5699,10 +5481,7 @@ impl WebSiteBuilder { impl WebSiteBuilder { /// Set the `contributor` field (optional) - pub fn contributor( - mut self, - value: impl Into>>, - ) -> Self { + pub fn contributor(mut self, value: impl Into>>) -> Self { self._fields.31 = value.into(); self } @@ -5715,18 +5494,12 @@ impl WebSiteBuilder { impl WebSiteBuilder { /// Set the `copyrightHolder` field (optional) - pub fn copyright_holder( - mut self, - value: impl Into>>, - ) -> Self { + pub fn copyright_holder(mut self, value: impl Into>>) -> Self { self._fields.32 = value.into(); self } /// Set the `copyrightHolder` field to an Option value (optional) - pub fn maybe_copyright_holder( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_copyright_holder(mut self, value: Option>) -> Self { self._fields.32 = value; self } @@ -5734,18 +5507,12 @@ impl WebSiteBuilder { impl WebSiteBuilder { /// Set the `copyrightNotice` field (optional) - pub fn copyright_notice( - mut self, - value: impl Into>>, - ) -> Self { + pub fn copyright_notice(mut self, value: impl Into>>) -> Self { self._fields.33 = value.into(); self } /// Set the `copyrightNotice` field to an Option value (optional) - pub fn maybe_copyright_notice( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_copyright_notice(mut self, value: Option>) -> Self { self._fields.33 = value; self } @@ -5753,18 +5520,12 @@ impl WebSiteBuilder { impl WebSiteBuilder { /// Set the `copyrightYear` field (optional) - pub fn copyright_year( - mut self, - value: impl Into>>, - ) -> Self { + pub fn copyright_year(mut self, value: impl Into>>) -> Self { self._fields.34 = value.into(); self } /// Set the `copyrightYear` field to an Option value (optional) - pub fn maybe_copyright_year( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_copyright_year(mut self, value: Option>) -> Self { self._fields.34 = value; self } @@ -5793,10 +5554,7 @@ impl WebSiteBuilder { self } /// Set the `countryOfOrigin` field to an Option value (optional) - pub fn maybe_country_of_origin( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_country_of_origin(mut self, value: Option>) -> Self { self._fields.36 = value; self } @@ -5836,10 +5594,7 @@ impl WebSiteBuilder { impl WebSiteBuilder { /// Set the `creditText` field (optional) - pub fn credit_text( - mut self, - value: impl Into>>, - ) -> Self { + pub fn credit_text(mut self, value: impl Into>>) -> Self { self._fields.39 = value.into(); self } @@ -5852,10 +5607,7 @@ impl WebSiteBuilder { impl WebSiteBuilder { /// Set the `dateCreated` field (optional) - pub fn date_created( - mut self, - value: impl Into>>, - ) -> Self { + pub fn date_created(mut self, value: impl Into>>) -> Self { self._fields.40 = value.into(); self } @@ -5868,10 +5620,7 @@ impl WebSiteBuilder { impl WebSiteBuilder { /// Set the `dateModified` field (optional) - pub fn date_modified( - mut self, - value: impl Into>>, - ) -> Self { + pub fn date_modified(mut self, value: impl Into>>) -> Self { self._fields.41 = value.into(); self } @@ -5884,18 +5633,12 @@ impl WebSiteBuilder { impl WebSiteBuilder { /// Set the `datePublished` field (optional) - pub fn date_published( - mut self, - value: impl Into>>, - ) -> Self { + pub fn date_published(mut self, value: impl Into>>) -> Self { self._fields.42 = value.into(); self } /// Set the `datePublished` field to an Option value (optional) - pub fn maybe_date_published( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_date_published(mut self, value: Option>) -> Self { self._fields.42 = value; self } @@ -5903,10 +5646,7 @@ impl WebSiteBuilder { impl WebSiteBuilder { /// Set the `description` field (optional) - pub fn description( - mut self, - value: impl Into>>, - ) -> Self { + pub fn description(mut self, value: impl Into>>) -> Self { self._fields.43 = value.into(); self } @@ -5927,10 +5667,7 @@ impl WebSiteBuilder { self } /// Set the `digitalSourceType` field to an Option value (optional) - pub fn maybe_digital_source_type( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_digital_source_type(mut self, value: Option>) -> Self { self._fields.44 = value; self } @@ -5957,18 +5694,12 @@ impl WebSiteBuilder { impl WebSiteBuilder { /// Set the `discussionUrl` field (optional) - pub fn discussion_url( - mut self, - value: impl Into>>, - ) -> Self { + pub fn discussion_url(mut self, value: impl Into>>) -> Self { self._fields.46 = value.into(); self } /// Set the `discussionUrl` field to an Option value (optional) - pub fn maybe_discussion_url( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_discussion_url(mut self, value: Option>) -> Self { self._fields.46 = value; self } @@ -6029,10 +5760,7 @@ impl WebSiteBuilder { self } /// Set the `educationalLevel` field to an Option value (optional) - pub fn maybe_educational_level( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_educational_level(mut self, value: Option>) -> Self { self._fields.50 = value; self } @@ -6040,18 +5768,12 @@ impl WebSiteBuilder { impl WebSiteBuilder { /// Set the `educationalUse` field (optional) - pub fn educational_use( - mut self, - value: impl Into>>, - ) -> Self { + pub fn educational_use(mut self, value: impl Into>>) -> Self { self._fields.51 = value.into(); self } /// Set the `educationalUse` field to an Option value (optional) - pub fn maybe_educational_use( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_educational_use(mut self, value: Option>) -> Self { self._fields.51 = value; self } @@ -6072,18 +5794,12 @@ impl WebSiteBuilder { impl WebSiteBuilder { /// Set the `encodingFormat` field (optional) - pub fn encoding_format( - mut self, - value: impl Into>>, - ) -> Self { + pub fn encoding_format(mut self, value: impl Into>>) -> Self { self._fields.53 = value.into(); self } /// Set the `encodingFormat` field to an Option value (optional) - pub fn maybe_encoding_format( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_encoding_format(mut self, value: Option>) -> Self { self._fields.53 = value; self } @@ -6104,18 +5820,12 @@ impl WebSiteBuilder { impl WebSiteBuilder { /// Set the `exampleOfWork` field (optional) - pub fn example_of_work( - mut self, - value: impl Into>>, - ) -> Self { + pub fn example_of_work(mut self, value: impl Into>>) -> Self { self._fields.55 = value.into(); self } /// Set the `exampleOfWork` field to an Option value (optional) - pub fn maybe_example_of_work( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_example_of_work(mut self, value: Option>) -> Self { self._fields.55 = value; self } @@ -6136,10 +5846,7 @@ impl WebSiteBuilder { impl WebSiteBuilder { /// Set the `fileFormat` field (optional) - pub fn file_format( - mut self, - value: impl Into>>, - ) -> Self { + pub fn file_format(mut self, value: impl Into>>) -> Self { self._fields.57 = value.into(); self } @@ -6243,10 +5950,7 @@ impl WebSiteBuilder { impl WebSiteBuilder { /// Set the `inLanguage` field (optional) - pub fn in_language( - mut self, - value: impl Into>>, - ) -> Self { + pub fn in_language(mut self, value: impl Into>>) -> Self { self._fields.65 = value.into(); self } @@ -6286,10 +5990,7 @@ impl WebSiteBuilder { self } /// Set the `interactivityType` field to an Option value (optional) - pub fn maybe_interactivity_type( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_interactivity_type(mut self, value: Option>) -> Self { self._fields.67 = value; self } @@ -6348,18 +6049,12 @@ impl WebSiteBuilder { impl WebSiteBuilder { /// Set the `isBasedOnUrl` field (optional) - pub fn is_based_on_url( - mut self, - value: impl Into>>, - ) -> Self { + pub fn is_based_on_url(mut self, value: impl Into>>) -> Self { self._fields.71 = value.into(); self } /// Set the `isBasedOnUrl` field to an Option value (optional) - pub fn maybe_is_based_on_url( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_is_based_on_url(mut self, value: Option>) -> Self { self._fields.71 = value; self } @@ -6375,10 +6070,7 @@ impl WebSiteBuilder { self } /// Set the `isFamilyFriendly` field to an Option value (optional) - pub fn maybe_is_family_friendly( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_is_family_friendly(mut self, value: Option>) -> Self { self._fields.72 = value; self } @@ -6457,18 +6149,12 @@ impl WebSiteBuilder { impl WebSiteBuilder { /// Set the `locationCreated` field (optional) - pub fn location_created( - mut self, - value: impl Into>>, - ) -> Self { + pub fn location_created(mut self, value: impl Into>>) -> Self { self._fields.78 = value.into(); self } /// Set the `locationCreated` field to an Option value (optional) - pub fn maybe_location_created( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_location_created(mut self, value: Option>) -> Self { self._fields.78 = value; self } @@ -6476,10 +6162,7 @@ impl WebSiteBuilder { impl WebSiteBuilder { /// Set the `mainEntity` field (optional) - pub fn main_entity( - mut self, - value: impl Into>>, - ) -> Self { + pub fn main_entity(mut self, value: impl Into>>) -> Self { self._fields.79 = value.into(); self } @@ -6500,10 +6183,7 @@ impl WebSiteBuilder { self } /// Set the `mainEntityOfPage` field to an Option value (optional) - pub fn maybe_main_entity_of_page( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_main_entity_of_page(mut self, value: Option>) -> Self { self._fields.80 = value; self } @@ -6537,18 +6217,12 @@ impl WebSiteBuilder { impl WebSiteBuilder { /// Set the `materialExtent` field (optional) - pub fn material_extent( - mut self, - value: impl Into>>, - ) -> Self { + pub fn material_extent(mut self, value: impl Into>>) -> Self { self._fields.83 = value.into(); self } /// Set the `materialExtent` field to an Option value (optional) - pub fn maybe_material_extent( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_material_extent(mut self, value: Option>) -> Self { self._fields.83 = value; self } @@ -6621,18 +6295,12 @@ impl WebSiteBuilder { impl WebSiteBuilder { /// Set the `potentialAction` field (optional) - pub fn potential_action( - mut self, - value: impl Into>>, - ) -> Self { + pub fn potential_action(mut self, value: impl Into>>) -> Self { self._fields.89 = value.into(); self } /// Set the `potentialAction` field to an Option value (optional) - pub fn maybe_potential_action( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_potential_action(mut self, value: Option>) -> Self { self._fields.89 = value; self } @@ -6666,10 +6334,7 @@ impl WebSiteBuilder { impl WebSiteBuilder { /// Set the `publication` field (optional) - pub fn publication( - mut self, - value: impl Into>>, - ) -> Self { + pub fn publication(mut self, value: impl Into>>) -> Self { self._fields.92 = value.into(); self } @@ -6703,10 +6368,7 @@ impl WebSiteBuilder { self } /// Set the `publisherImprint` field to an Option value (optional) - pub fn maybe_publisher_imprint( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_publisher_imprint(mut self, value: Option>) -> Self { self._fields.94 = value; self } @@ -6733,10 +6395,7 @@ impl WebSiteBuilder { impl WebSiteBuilder { /// Set the `recordedAt` field (optional) - pub fn recorded_at( - mut self, - value: impl Into>>, - ) -> Self { + pub fn recorded_at(mut self, value: impl Into>>) -> Self { self._fields.96 = value.into(); self } @@ -6749,18 +6408,12 @@ impl WebSiteBuilder { impl WebSiteBuilder { /// Set the `releasedEvent` field (optional) - pub fn released_event( - mut self, - value: impl Into>>, - ) -> Self { + pub fn released_event(mut self, value: impl Into>>) -> Self { self._fields.97 = value.into(); self } /// Set the `releasedEvent` field to an Option value (optional) - pub fn maybe_released_event( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_released_event(mut self, value: Option>) -> Self { self._fields.97 = value; self } @@ -6807,18 +6460,12 @@ impl WebSiteBuilder { impl WebSiteBuilder { /// Set the `schemaVersion` field (optional) - pub fn schema_version( - mut self, - value: impl Into>>, - ) -> Self { + pub fn schema_version(mut self, value: impl Into>>) -> Self { self._fields.101 = value.into(); self } /// Set the `schemaVersion` field to an Option value (optional) - pub fn maybe_schema_version( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_schema_version(mut self, value: Option>) -> Self { self._fields.101 = value; self } @@ -6834,10 +6481,7 @@ impl WebSiteBuilder { self } /// Set the `sdDatePublished` field to an Option value (optional) - pub fn maybe_sd_date_published( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_sd_date_published(mut self, value: Option>) -> Self { self._fields.102 = value; self } @@ -6858,10 +6502,7 @@ impl WebSiteBuilder { impl WebSiteBuilder { /// Set the `sdPublisher` field (optional) - pub fn sd_publisher( - mut self, - value: impl Into>>, - ) -> Self { + pub fn sd_publisher(mut self, value: impl Into>>) -> Self { self._fields.104 = value.into(); self } @@ -6919,18 +6560,12 @@ impl WebSiteBuilder { impl WebSiteBuilder { /// Set the `spatialCoverage` field (optional) - pub fn spatial_coverage( - mut self, - value: impl Into>>, - ) -> Self { + pub fn spatial_coverage(mut self, value: impl Into>>) -> Self { self._fields.108 = value.into(); self } /// Set the `spatialCoverage` field to an Option value (optional) - pub fn maybe_spatial_coverage( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_spatial_coverage(mut self, value: Option>) -> Self { self._fields.108 = value; self } @@ -6998,10 +6633,7 @@ impl WebSiteBuilder { self } /// Set the `temporalCoverage` field to an Option value (optional) - pub fn maybe_temporal_coverage( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_temporal_coverage(mut self, value: Option>) -> Self { self._fields.113 = value; self } @@ -7035,10 +6667,7 @@ impl WebSiteBuilder { impl WebSiteBuilder { /// Set the `thumbnailUrl` field (optional) - pub fn thumbnail_url( - mut self, - value: impl Into>>, - ) -> Self { + pub fn thumbnail_url(mut self, value: impl Into>>) -> Self { self._fields.116 = value.into(); self } @@ -7051,10 +6680,7 @@ impl WebSiteBuilder { impl WebSiteBuilder { /// Set the `timeRequired` field (optional) - pub fn time_required( - mut self, - value: impl Into>>, - ) -> Self { + pub fn time_required(mut self, value: impl Into>>) -> Self { self._fields.117 = value.into(); self } @@ -7075,10 +6701,7 @@ impl WebSiteBuilder { self } /// Set the `translationOfWork` field to an Option value (optional) - pub fn maybe_translation_of_work( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_translation_of_work(mut self, value: Option>) -> Self { self._fields.118 = value; self } @@ -7107,10 +6730,7 @@ impl WebSiteBuilder { self } /// Set the `typicalAgeRange` field to an Option value (optional) - pub fn maybe_typical_age_range( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_typical_age_range(mut self, value: Option>) -> Self { self._fields.120 = value; self } @@ -7183,10 +6803,7 @@ impl WebSiteBuilder { impl WebSiteBuilder { /// Set the `workExample` field (optional) - pub fn work_example( - mut self, - value: impl Into>>, - ) -> Self { + pub fn work_example(mut self, value: impl Into>>) -> Self { self._fields.126 = value.into(); self } @@ -7199,18 +6816,12 @@ impl WebSiteBuilder { impl WebSiteBuilder { /// Set the `workTranslation` field (optional) - pub fn work_translation( - mut self, - value: impl Into>>, - ) -> Self { + pub fn work_translation(mut self, value: impl Into>>) -> Self { self._fields.127 = value.into(); self } /// Set the `workTranslation` field to an Option value (optional) - pub fn maybe_work_translation( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_work_translation(mut self, value: Option>) -> Self { self._fields.127 = value; self } @@ -7488,4 +7099,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/social_grain.rs b/crates/jacquard-api/src/social_grain.rs index adc2bc9b..64d318f0 100644 --- a/crates/jacquard-api/src/social_grain.rs +++ b/crates/jacquard-api/src/social_grain.rs @@ -10,7 +10,6 @@ pub mod favorite; pub mod gallery; pub mod photo; - #[allow(unused_imports)] use alloc::collections::BTreeMap; @@ -28,11 +27,14 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// width:height represents an aspect ratio. It may be approximate, and may not correspond to absolute dimensions in any given unit. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct AspectRatio { pub height: i64, pub width: i64, @@ -77,7 +79,7 @@ impl LexiconSchema for AspectRatio { pub mod aspect_ratio_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -197,10 +199,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> AspectRatio { + pub fn build_with_data(self, extra_data: BTreeMap>) -> AspectRatio { AspectRatio { height: self._fields.0.unwrap(), width: self._fields.1.unwrap(), @@ -210,10 +209,10 @@ where } fn lexicon_doc_social_grain_defs() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("social.grain.defs"), @@ -256,4 +255,4 @@ fn lexicon_doc_social_grain_defs() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/social_grain/actor.rs b/crates/jacquard-api/src/social_grain/actor.rs index a8c4d180..1fedaec3 100644 --- a/crates/jacquard-api/src/social_grain/actor.rs +++ b/crates/jacquard-api/src/social_grain/actor.rs @@ -7,30 +7,32 @@ pub mod profile; - #[allow(unused_imports)] use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; use jacquard_common::deps::smol_str::SmolStr; -use jacquard_common::types::string::{Did, Handle, Datetime, UriValue}; +use jacquard_common::types::string::{Datetime, Did, Handle, UriValue}; use jacquard_common::types::value::Data; use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::com_atproto::label::Label; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::com_atproto::label::Label; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ProfileView { #[serde(skip_serializing_if = "Option::is_none")] pub avatar: Option>, @@ -109,7 +111,7 @@ impl LexiconSchema for ProfileView { pub mod profile_view_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -307,10 +309,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> ProfileView { + pub fn build_with_data(self, extra_data: BTreeMap>) -> ProfileView { ProfileView { avatar: self._fields.0, created_at: self._fields.1, @@ -325,10 +324,10 @@ where } fn lexicon_doc_social_grain_actor_defs() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("social.grain.actor.defs"), @@ -337,9 +336,10 @@ fn lexicon_doc_social_grain_actor_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("profileView"), LexUserType::Object(LexObject { - required: Some( - vec![SmolStr::new_static("did"), SmolStr::new_static("handle")], - ), + required: Some(vec![ + SmolStr::new_static("did"), + SmolStr::new_static("handle"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -406,4 +406,4 @@ fn lexicon_doc_social_grain_actor_defs() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/social_grain/actor/profile.rs b/crates/jacquard-api/src/social_grain/actor/profile.rs index 5a442f9f..085980a8 100644 --- a/crates/jacquard-api/src/social_grain/actor/profile.rs +++ b/crates/jacquard-api/src/social_grain/actor/profile.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -27,7 +27,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// A declaration of a basic account profile. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -123,25 +123,20 @@ impl LexiconSchema for Profile { { let mime = value.blob().mime_type.as_str(); let accepted: &[&str] = &["image/png", "image/jpeg"]; - let matched = accepted - .iter() - .any(|pattern| { - if *pattern == "*/*" { - true - } else if pattern.ends_with("/*") { - let prefix = &pattern[..pattern.len() - 2]; - mime.starts_with(prefix) - && mime.as_bytes().get(prefix.len()) == Some(&b'/') - } else { - mime == *pattern - } - }); + let matched = accepted.iter().any(|pattern| { + if *pattern == "*/*" { + true + } else if pattern.ends_with("/*") { + let prefix = &pattern[..pattern.len() - 2]; + mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/') + } else { + mime == *pattern + } + }); if !matched { return Err(ConstraintError::BlobMimeTypeNotAccepted { path: ValidationPath::from_field("avatar"), - accepted: vec![ - "image/png".to_string(), "image/jpeg".to_string() - ], + accepted: vec!["image/png".to_string(), "image/jpeg".to_string()], actual: mime.to_string(), }); } @@ -197,7 +192,7 @@ impl LexiconSchema for Profile { pub mod profile_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -318,10 +313,10 @@ where } fn lexicon_doc_social_grain_actor_profile() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("social.grain.actor.profile"), @@ -330,9 +325,9 @@ fn lexicon_doc_social_grain_actor_profile() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static("A declaration of a basic account profile."), - ), + description: Some(CowStr::new_static( + "A declaration of a basic account profile.", + )), key: Some(CowStr::new_static("literal:self")), record: LexRecordRecord::Object(LexObject { properties: { @@ -340,7 +335,9 @@ fn lexicon_doc_social_grain_actor_profile() -> LexiconDoc<'static> { let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("avatar"), - LexObjectProperty::Blob(LexBlob { ..Default::default() }), + LexObjectProperty::Blob(LexBlob { + ..Default::default() + }), ); map.insert( SmolStr::new_static("createdAt"), @@ -352,9 +349,9 @@ fn lexicon_doc_social_grain_actor_profile() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("description"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Free-form profile description text."), - ), + description: Some(CowStr::new_static( + "Free-form profile description text.", + )), max_length: Some(2560usize), max_graphemes: Some(256usize), ..Default::default() @@ -379,4 +376,4 @@ fn lexicon_doc_social_grain_actor_profile() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/social_grain/favorite.rs b/crates/jacquard-api/src/social_grain/favorite.rs index c039b030..ca195a94 100644 --- a/crates/jacquard-api/src/social_grain/favorite.rs +++ b/crates/jacquard-api/src/social_grain/favorite.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde( @@ -103,7 +103,7 @@ impl LexiconSchema for Favorite { pub mod favorite_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -233,10 +233,10 @@ where } fn lexicon_doc_social_grain_favorite() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("social.grain.favorite"), @@ -247,12 +247,10 @@ fn lexicon_doc_social_grain_favorite() -> LexiconDoc<'static> { LexUserType::Record(LexRecord { key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("createdAt"), - SmolStr::new_static("subject") - ], - ), + required: Some(vec![ + SmolStr::new_static("createdAt"), + SmolStr::new_static("subject"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -281,4 +279,4 @@ fn lexicon_doc_social_grain_favorite() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/social_grain/gallery.rs b/crates/jacquard-api/src/social_grain/gallery.rs index 1540e664..e68d34e1 100644 --- a/crates/jacquard-api/src/social_grain/gallery.rs +++ b/crates/jacquard-api/src/social_grain/gallery.rs @@ -7,13 +7,12 @@ pub mod item; - #[allow(unused_imports)] use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -27,13 +26,13 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::com_atproto::label::Label; use crate::com_atproto::label::SelfLabels; use crate::social_grain::actor::ProfileView; use crate::social_grain::photo::PhotoView; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde( @@ -65,9 +64,11 @@ pub struct GalleryGetRecordOutput { pub value: Gallery, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GalleryView { pub cid: Cid, pub creator: ProfileView, @@ -168,7 +169,7 @@ impl LexiconSchema for GalleryView { pub mod gallery_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -213,7 +214,12 @@ pub mod gallery_state { /// Builder for constructing an instance of this type. pub struct GalleryBuilder { _state: PhantomData St>, - _fields: (Option, Option, Option>, Option), + _fields: ( + Option, + Option, + Option>, + Option, + ), _type: PhantomData S>, } @@ -286,10 +292,7 @@ where St::Title: gallery_state::IsUnset, { /// Set the `title` field (required) - pub fn title( - mut self, - value: impl Into, - ) -> GalleryBuilder> { + pub fn title(mut self, value: impl Into) -> GalleryBuilder> { self._fields.3 = Option::Some(value.into()); GalleryBuilder { _state: PhantomData, @@ -328,10 +331,10 @@ where } fn lexicon_doc_social_grain_gallery() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("social.grain.gallery"), @@ -401,7 +404,7 @@ fn lexicon_doc_social_grain_gallery() -> LexiconDoc<'static> { pub mod gallery_view_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -668,10 +671,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> GalleryView { + pub fn build_with_data(self, extra_data: BTreeMap>) -> GalleryView { GalleryView { cid: self._fields.0.unwrap(), creator: self._fields.1.unwrap(), @@ -686,10 +686,10 @@ where } fn lexicon_doc_social_grain_gallery_defs() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("social.grain.gallery.defs"), @@ -698,14 +698,13 @@ fn lexicon_doc_social_grain_gallery_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("galleryView"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("uri"), SmolStr::new_static("cid"), - SmolStr::new_static("creator"), - SmolStr::new_static("record"), - SmolStr::new_static("indexedAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("uri"), + SmolStr::new_static("cid"), + SmolStr::new_static("creator"), + SmolStr::new_static("record"), + SmolStr::new_static("indexedAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -719,9 +718,7 @@ fn lexicon_doc_social_grain_gallery_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("creator"), LexObjectProperty::Ref(LexRef { - r#ref: CowStr::new_static( - "social.grain.actor.defs#profileView", - ), + r#ref: CowStr::new_static("social.grain.actor.defs#profileView"), ..Default::default() }), ); @@ -736,9 +733,9 @@ fn lexicon_doc_social_grain_gallery_defs() -> LexiconDoc<'static> { SmolStr::new_static("items"), LexObjectProperty::Array(LexArray { items: LexArrayItem::Union(LexRefUnion { - refs: vec![ - CowStr::new_static("social.grain.photo.defs#photoView") - ], + refs: vec![CowStr::new_static( + "social.grain.photo.defs#photoView", + )], ..Default::default() }), ..Default::default() @@ -776,4 +773,4 @@ fn lexicon_doc_social_grain_gallery_defs() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/social_grain/gallery/item.rs b/crates/jacquard-api/src/social_grain/gallery/item.rs index 24b34cd4..97e30ee6 100644 --- a/crates/jacquard-api/src/social_grain/gallery/item.rs +++ b/crates/jacquard-api/src/social_grain/gallery/item.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde( @@ -112,7 +112,7 @@ fn _default_item_position() -> Option { pub mod item_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -171,7 +171,12 @@ pub mod item_state { /// Builder for constructing an instance of this type. pub struct ItemBuilder { _state: PhantomData St>, - _fields: (Option, Option>, Option>, Option), + _fields: ( + Option, + Option>, + Option>, + Option, + ), _type: PhantomData S>, } @@ -237,10 +242,7 @@ where St::Item: item_state::IsUnset, { /// Set the `item` field (required) - pub fn item( - mut self, - value: impl Into>, - ) -> ItemBuilder> { + pub fn item(mut self, value: impl Into>) -> ItemBuilder> { self._fields.2 = Option::Some(value.into()); ItemBuilder { _state: PhantomData, @@ -293,10 +295,10 @@ where } fn lexicon_doc_social_grain_gallery_item() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("social.grain.gallery.item"), @@ -307,12 +309,11 @@ fn lexicon_doc_social_grain_gallery_item() -> LexiconDoc<'static> { LexUserType::Record(LexRecord { key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("createdAt"), - SmolStr::new_static("gallery"), SmolStr::new_static("item") - ], - ), + required: Some(vec![ + SmolStr::new_static("createdAt"), + SmolStr::new_static("gallery"), + SmolStr::new_static("item"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -354,4 +355,4 @@ fn lexicon_doc_social_grain_gallery_item() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/social_grain/photo.rs b/crates/jacquard-api/src/social_grain/photo.rs index 7cd45c34..21386ad6 100644 --- a/crates/jacquard-api/src/social_grain/photo.rs +++ b/crates/jacquard-api/src/social_grain/photo.rs @@ -7,13 +7,12 @@ pub mod exif; - #[allow(unused_imports)] use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -28,11 +27,11 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::social_grain::AspectRatio; use crate::social_grain::photo; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde( @@ -64,9 +63,11 @@ pub struct PhotoGetRecordOutput { pub value: Photo, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ExifView { #[serde(skip_serializing_if = "Option::is_none")] pub cid: Option>, @@ -98,9 +99,11 @@ pub struct ExifView { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct PhotoView { ///Alt text description of the image, for accessibility. pub alt: S, @@ -181,19 +184,16 @@ impl LexiconSchema for Photo { { let mime = value.blob().mime_type.as_str(); let accepted: &[&str] = &["image/*"]; - let matched = accepted - .iter() - .any(|pattern| { - if *pattern == "*/*" { - true - } else if pattern.ends_with("/*") { - let prefix = &pattern[..pattern.len() - 2]; - mime.starts_with(prefix) - && mime.as_bytes().get(prefix.len()) == Some(&b'/') - } else { - mime == *pattern - } - }); + let matched = accepted.iter().any(|pattern| { + if *pattern == "*/*" { + true + } else if pattern.ends_with("/*") { + let prefix = &pattern[..pattern.len() - 2]; + mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/') + } else { + mime == *pattern + } + }); if !matched { return Err(ConstraintError::BlobMimeTypeNotAccepted { path: ValidationPath::from_field("photo"), @@ -239,7 +239,7 @@ impl LexiconSchema for PhotoView { pub mod photo_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -284,7 +284,12 @@ pub mod photo_state { /// Builder for constructing an instance of this type. pub struct PhotoBuilder { _state: PhantomData St>, - _fields: (Option, Option>, Option, Option>), + _fields: ( + Option, + Option>, + Option, + Option>, + ), _type: PhantomData S>, } @@ -312,10 +317,7 @@ where St::Alt: photo_state::IsUnset, { /// Set the `alt` field (required) - pub fn alt( - mut self, - value: impl Into, - ) -> PhotoBuilder> { + pub fn alt(mut self, value: impl Into) -> PhotoBuilder> { self._fields.0 = Option::Some(value.into()); PhotoBuilder { _state: PhantomData, @@ -399,10 +401,10 @@ where } fn lexicon_doc_social_grain_photo() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("social.grain.photo"), @@ -413,22 +415,19 @@ fn lexicon_doc_social_grain_photo() -> LexiconDoc<'static> { LexUserType::Record(LexRecord { key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("photo"), SmolStr::new_static("alt") - ], - ), + required: Some(vec![ + SmolStr::new_static("photo"), + SmolStr::new_static("alt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("alt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Alt text description of the image, for accessibility.", - ), - ), + description: Some(CowStr::new_static( + "Alt text description of the image, for accessibility.", + )), ..Default::default() }), ); @@ -448,7 +447,9 @@ fn lexicon_doc_social_grain_photo() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("photo"), - LexObjectProperty::Blob(LexBlob { ..Default::default() }), + LexObjectProperty::Blob(LexBlob { + ..Default::default() + }), ); map }, @@ -465,7 +466,7 @@ fn lexicon_doc_social_grain_photo() -> LexiconDoc<'static> { pub mod exif_view_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -542,20 +543,7 @@ impl ExifViewBuilder { ExifViewBuilder { _state: PhantomData, _fields: ( - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, ), _type: PhantomData, } @@ -805,10 +793,10 @@ where } fn lexicon_doc_social_grain_photo_defs() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("social.grain.photo.defs"), @@ -817,12 +805,10 @@ fn lexicon_doc_social_grain_photo_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("exifView"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("photo"), - SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("photo"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -842,23 +828,33 @@ fn lexicon_doc_social_grain_photo_defs() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("dateTimeOriginal"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("exposureTime"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("fNumber"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("flash"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("focalLengthIn35mmFormat"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("iSO"), @@ -868,19 +864,27 @@ fn lexicon_doc_social_grain_photo_defs() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("lensMake"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("lensModel"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("make"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("model"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("photo"), @@ -992,7 +996,7 @@ fn lexicon_doc_social_grain_photo_defs() -> LexiconDoc<'static> { pub mod photo_view_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -1121,10 +1125,7 @@ where St::Alt: photo_view_state::IsUnset, { /// Set the `alt` field (required) - pub fn alt( - mut self, - value: impl Into, - ) -> PhotoViewBuilder> { + pub fn alt(mut self, value: impl Into) -> PhotoViewBuilder> { self._fields.0 = Option::Some(value.into()); PhotoViewBuilder { _state: PhantomData, @@ -1259,10 +1260,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> PhotoView { + pub fn build_with_data(self, extra_data: BTreeMap>) -> PhotoView { PhotoView { alt: self._fields.0.unwrap(), aspect_ratio: self._fields.1, @@ -1274,4 +1272,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/social_grain/photo/exif.rs b/crates/jacquard-api/src/social_grain/photo/exif.rs index 277c2745..23afd109 100644 --- a/crates/jacquard-api/src/social_grain/photo/exif.rs +++ b/crates/jacquard-api/src/social_grain/photo/exif.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// Basic EXIF metadata for a photo. Integers are scaled by 1000000 to accommodate decimal values and potentially other tags in the future. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -124,7 +124,7 @@ impl LexiconSchema for Exif { pub mod exif_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -199,18 +199,7 @@ impl ExifBuilder { ExifBuilder { _state: PhantomData, _fields: ( - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, + None, None, None, None, None, None, None, None, None, None, None, None, ), _type: PhantomData, } @@ -372,10 +361,7 @@ where St::Photo: exif_state::IsUnset, { /// Set the `photo` field (required) - pub fn photo( - mut self, - value: impl Into>, - ) -> ExifBuilder> { + pub fn photo(mut self, value: impl Into>) -> ExifBuilder> { self._fields.11 = Option::Some(value.into()); ExifBuilder { _state: PhantomData, @@ -430,10 +416,10 @@ where } fn lexicon_doc_social_grain_photo_exif() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("social.grain.photo.exif"), @@ -544,4 +530,4 @@ fn lexicon_doc_social_grain_photo_exif() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/social_lexical.rs b/crates/jacquard-api/src/social_lexical.rs index 79386501..4dd5e697 100644 --- a/crates/jacquard-api/src/social_lexical.rs +++ b/crates/jacquard-api/src/social_lexical.rs @@ -3,4 +3,4 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. -pub mod works; \ No newline at end of file +pub mod works; diff --git a/crates/jacquard-api/src/social_lexical/works.rs b/crates/jacquard-api/src/social_lexical/works.rs index d423edc8..9a7ceede 100644 --- a/crates/jacquard-api/src/social_lexical/works.rs +++ b/crates/jacquard-api/src/social_lexical/works.rs @@ -6,4 +6,4 @@ pub mod collection; pub mod collectionitem; pub mod identifiers; -pub mod work; \ No newline at end of file +pub mod work; diff --git a/crates/jacquard-api/src/social_lexical/works/collection.rs b/crates/jacquard-api/src/social_lexical/works/collection.rs index c4a55bfb..563a822a 100644 --- a/crates/jacquard-api/src/social_lexical/works/collection.rs +++ b/crates/jacquard-api/src/social_lexical/works/collection.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -131,7 +131,7 @@ impl LexiconSchema for Collection { pub mod collection_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -265,10 +265,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> Collection { + pub fn build_with_data(self, extra_data: BTreeMap>) -> Collection { Collection { created_at: self._fields.0.unwrap(), labels: self._fields.1, @@ -279,10 +276,10 @@ where } fn lexicon_doc_social_lexical_works_collection() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("social.lexical.works.collection"), @@ -294,12 +291,10 @@ fn lexicon_doc_social_lexical_works_collection() -> LexiconDoc<'static> { description: Some(CowStr::new_static("")), key: Some(CowStr::new_static("any")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("name"), - SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("name"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -339,4 +334,4 @@ fn lexicon_doc_social_lexical_works_collection() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/social_lexical/works/collectionitem.rs b/crates/jacquard-api/src/social_lexical/works/collectionitem.rs index a0b06d28..0abe6eff 100644 --- a/crates/jacquard-api/src/social_lexical/works/collectionitem.rs +++ b/crates/jacquard-api/src/social_lexical/works/collectionitem.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -108,7 +108,7 @@ impl LexiconSchema for Collectionitem { pub mod collectionitem_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -263,10 +263,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> Collectionitem { + pub fn build_with_data(self, extra_data: BTreeMap>) -> Collectionitem { Collectionitem { created_at: self._fields.0.unwrap(), list: self._fields.1.unwrap(), @@ -277,10 +274,10 @@ where } fn lexicon_doc_social_lexical_works_collectionitem() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("social.lexical.works.collectionitem"), @@ -292,12 +289,11 @@ fn lexicon_doc_social_lexical_works_collectionitem() -> LexiconDoc<'static> { description: Some(CowStr::new_static("")), key: Some(CowStr::new_static("any")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("list"), SmolStr::new_static("work"), - SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("list"), + SmolStr::new_static("work"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -336,4 +332,4 @@ fn lexicon_doc_social_lexical_works_collectionitem() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/social_lexical/works/identifiers.rs b/crates/jacquard-api/src/social_lexical/works/identifiers.rs index 6d6bb1cc..598a4d72 100644 --- a/crates/jacquard-api/src/social_lexical/works/identifiers.rs +++ b/crates/jacquard-api/src/social_lexical/works/identifiers.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,13 +24,16 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::social_lexical::works::identifiers; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::social_lexical::works::identifiers; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Identifier { /// pub provider: IdentifierProvider, @@ -126,7 +129,6 @@ where } } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde( rename_all = "camelCase", @@ -228,10 +230,10 @@ impl LexiconSchema for Identifiers { } fn lexicon_doc_social_lexical_works_identifiers() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("social.lexical.works.identifiers"), @@ -240,12 +242,10 @@ fn lexicon_doc_social_lexical_works_identifiers() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("identifier"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("provider"), - SmolStr::new_static("providerId") - ], - ), + required: Some(vec![ + SmolStr::new_static("provider"), + SmolStr::new_static("providerId"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -281,12 +281,10 @@ fn lexicon_doc_social_lexical_works_identifiers() -> LexiconDoc<'static> { LexUserType::Record(LexRecord { key: Some(CowStr::new_static("any")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("work"), - SmolStr::new_static("identifiers") - ], - ), + required: Some(vec![ + SmolStr::new_static("work"), + SmolStr::new_static("identifiers"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -325,7 +323,7 @@ fn lexicon_doc_social_lexical_works_identifiers() -> LexiconDoc<'static> { pub mod identifiers_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -445,14 +443,11 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> Identifiers { + pub fn build_with_data(self, extra_data: BTreeMap>) -> Identifiers { Identifiers { identifiers: self._fields.0.unwrap(), work: self._fields.1.unwrap(), extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/social_lexical/works/work.rs b/crates/jacquard-api/src/social_lexical/works/work.rs index 98cd7ed6..96d21c2c 100644 --- a/crates/jacquard-api/src/social_lexical/works/work.rs +++ b/crates/jacquard-api/src/social_lexical/works/work.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -275,7 +275,7 @@ impl LexiconSchema for Work { pub mod work_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -361,10 +361,7 @@ where St::Title: work_state::IsUnset, { /// Set the `title` field (required) - pub fn title( - mut self, - value: impl Into, - ) -> WorkBuilder> { + pub fn title(mut self, value: impl Into) -> WorkBuilder> { self._fields.1 = Option::Some(value.into()); WorkBuilder { _state: PhantomData, @@ -435,10 +432,10 @@ where } fn lexicon_doc_social_lexical_works_work() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("social.lexical.works.work"), @@ -450,12 +447,10 @@ fn lexicon_doc_social_lexical_works_work() -> LexiconDoc<'static> { description: Some(CowStr::new_static("")), key: Some(CowStr::new_static("any")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("title"), - SmolStr::new_static("workType") - ], - ), + required: Some(vec![ + SmolStr::new_static("title"), + SmolStr::new_static("workType"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -505,4 +500,4 @@ fn lexicon_doc_social_lexical_works_work() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/social_octosphere.rs b/crates/jacquard-api/src/social_octosphere.rs index 088d0230..b30ac1ce 100644 --- a/crates/jacquard-api/src/social_octosphere.rs +++ b/crates/jacquard-api/src/social_octosphere.rs @@ -3,4 +3,4 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. -pub mod publication; \ No newline at end of file +pub mod publication; diff --git a/crates/jacquard-api/src/social_octosphere/publication.rs b/crates/jacquard-api/src/social_octosphere/publication.rs index 4a7c2ab5..6ad34a01 100644 --- a/crates/jacquard-api/src/social_octosphere/publication.rs +++ b/crates/jacquard-api/src/social_octosphere/publication.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// Scientific publication record bridged from Octopus.ac via Octosphere. Represents a single version of an Octopus publication. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -143,8 +143,7 @@ impl Serialize for PublicationPublicationType { } } -impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> -for PublicationPublicationType { +impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> for PublicationPublicationType { fn deserialize(deserializer: D) -> Result where D: serde::Deserializer<'de>, @@ -171,9 +170,7 @@ where PublicationPublicationType::ResearchProblem => { PublicationPublicationType::ResearchProblem } - PublicationPublicationType::Hypothesis => { - PublicationPublicationType::Hypothesis - } + PublicationPublicationType::Hypothesis => PublicationPublicationType::Hypothesis, PublicationPublicationType::Protocol => PublicationPublicationType::Protocol, PublicationPublicationType::Analysis => PublicationPublicationType::Analysis, PublicationPublicationType::Interpretation => { @@ -183,9 +180,7 @@ where PublicationPublicationType::RealWorldApplication } PublicationPublicationType::Data => PublicationPublicationType::Data, - PublicationPublicationType::PeerReview => { - PublicationPublicationType::PeerReview - } + PublicationPublicationType::PeerReview => PublicationPublicationType::PeerReview, PublicationPublicationType::Other(v) => { PublicationPublicationType::Other(v.into_static()) } @@ -348,7 +343,7 @@ impl LexiconSchema for Publication { pub mod publication_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -657,22 +652,8 @@ impl PublicationBuilder { PublicationBuilder { _state: PhantomData, _fields: ( - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, ), _type: PhantomData, } @@ -998,10 +979,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> Publication { + pub fn build_with_data(self, extra_data: BTreeMap>) -> Publication { Publication { canonical_url: self._fields.0, citations: self._fields.1.unwrap(), @@ -1025,10 +1003,10 @@ where } fn lexicon_doc_social_octosphere_publication() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("social.octosphere.publication"), @@ -1249,4 +1227,4 @@ fn lexicon_doc_social_octosphere_publication() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/social_pace.rs b/crates/jacquard-api/src/social_pace.rs index 5196ba88..c61b2cbe 100644 --- a/crates/jacquard-api/src/social_pace.rs +++ b/crates/jacquard-api/src/social_pace.rs @@ -5,4 +5,4 @@ pub mod daily; pub mod feed; -pub mod goal; \ No newline at end of file +pub mod goal; diff --git a/crates/jacquard-api/src/social_pace/daily.rs b/crates/jacquard-api/src/social_pace/daily.rs index feb9d8a7..0401e4f8 100644 --- a/crates/jacquard-api/src/social_pace/daily.rs +++ b/crates/jacquard-api/src/social_pace/daily.rs @@ -4,4 +4,4 @@ // Any manual changes will be overwritten on the next regeneration. pub mod ring; -pub mod step; \ No newline at end of file +pub mod step; diff --git a/crates/jacquard-api/src/social_pace/daily/ring.rs b/crates/jacquard-api/src/social_pace/daily/ring.rs index b3e23075..8ed784b4 100644 --- a/crates/jacquard-api/src/social_pace/daily/ring.rs +++ b/crates/jacquard-api/src/social_pace/daily/ring.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// A record of daily activity rings (Apple Fitness), including move, exercise, and stand goals. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -115,7 +115,7 @@ impl LexiconSchema for Ring { pub mod ring_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -343,10 +343,7 @@ where St::Move: ring_state::IsUnset, { /// Set the `move` field (required) - pub fn r#move( - mut self, - value: impl Into, - ) -> RingBuilder> { + pub fn r#move(mut self, value: impl Into) -> RingBuilder> { self._fields.3 = Option::Some(value.into()); RingBuilder { _state: PhantomData, @@ -453,10 +450,10 @@ where } fn lexicon_doc_social_pace_daily_ring() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("social.pace.daily.ring"), @@ -540,4 +537,4 @@ fn lexicon_doc_social_pace_daily_ring() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/social_pace/daily/step.rs b/crates/jacquard-api/src/social_pace/daily/step.rs index 26f629d3..e41ed4ed 100644 --- a/crates/jacquard-api/src/social_pace/daily/step.rs +++ b/crates/jacquard-api/src/social_pace/daily/step.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// A daily recording of your steps for that day. This record is expected to be update throughout the day and represent's 12am-12pm in your timezone, or what you count as a "day". The key is also traditionally the date of your "day" yyy-mm-dd. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -108,7 +108,7 @@ impl LexiconSchema for Step { pub mod step_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -214,10 +214,7 @@ where St::Steps: step_state::IsUnset, { /// Set the `steps` field (required) - pub fn steps( - mut self, - value: impl Into, - ) -> StepBuilder> { + pub fn steps(mut self, value: impl Into) -> StepBuilder> { self._fields.1 = Option::Some(value.into()); StepBuilder { _state: PhantomData, @@ -274,10 +271,10 @@ where } fn lexicon_doc_social_pace_daily_step() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("social.pace.daily.step"), @@ -340,4 +337,4 @@ fn lexicon_doc_social_pace_daily_step() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/social_pace/feed.rs b/crates/jacquard-api/src/social_pace/feed.rs index edafd61a..eaeab023 100644 --- a/crates/jacquard-api/src/social_pace/feed.rs +++ b/crates/jacquard-api/src/social_pace/feed.rs @@ -7,13 +7,12 @@ pub mod activity; - #[allow(unused_imports)] use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -25,7 +24,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// The type of activity being recorded. List taken from Apple Health Activities mostly #[derive(Debug, Clone, PartialEq, Eq, Hash)] @@ -242,7 +241,10 @@ where /// A split within an activity, like a mile split or kilometer split. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Split { ///The distance covered in this split. Follows the units defined in the parent. pub distance: S, @@ -271,7 +273,7 @@ impl LexiconSchema for Split { pub mod split_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -396,10 +398,7 @@ where St::Order: split_state::IsUnset, { /// Set the `order` field (required) - pub fn order( - mut self, - value: impl Into, - ) -> SplitBuilder> { + pub fn order(mut self, value: impl Into) -> SplitBuilder> { self._fields.2 = Option::Some(value.into()); SplitBuilder { _state: PhantomData, @@ -437,10 +436,10 @@ where } fn lexicon_doc_social_pace_feed_defs() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("social.pace.feed.defs"), @@ -508,4 +507,4 @@ fn lexicon_doc_social_pace_feed_defs() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/social_pace/feed/activity.rs b/crates/jacquard-api/src/social_pace/feed/activity.rs index dea6a416..e9755ea6 100644 --- a/crates/jacquard-api/src/social_pace/feed/activity.rs +++ b/crates/jacquard-api/src/social_pace/feed/activity.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -25,11 +25,11 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::social_pace::feed::ActivityType; use crate::social_pace::feed::Split; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; /// A recording of an activity. Like running, walking, lifting weights, etc. Helpful to create the rkey tid from the start time and clock id 23 so you can upsert easily. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -137,29 +137,23 @@ impl LexiconSchema for Activity { if let Some(ref value) = self.route { { let mime = value.blob().mime_type.as_str(); - let accepted: &[&str] = &[ - "application/vnd.garmin.tcx+xml", - "application/gpx+xml.", - ]; - let matched = accepted - .iter() - .any(|pattern| { - if *pattern == "*/*" { - true - } else if pattern.ends_with("/*") { - let prefix = &pattern[..pattern.len() - 2]; - mime.starts_with(prefix) - && mime.as_bytes().get(prefix.len()) == Some(&b'/') - } else { - mime == *pattern - } - }); + let accepted: &[&str] = &["application/vnd.garmin.tcx+xml", "application/gpx+xml."]; + let matched = accepted.iter().any(|pattern| { + if *pattern == "*/*" { + true + } else if pattern.ends_with("/*") { + let prefix = &pattern[..pattern.len() - 2]; + mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/') + } else { + mime == *pattern + } + }); if !matched { return Err(ConstraintError::BlobMimeTypeNotAccepted { path: ValidationPath::from_field("route"), accepted: vec![ "application/vnd.garmin.tcx+xml".to_string(), - "application/gpx+xml.".to_string() + "application/gpx+xml.".to_string(), ], actual: mime.to_string(), }); @@ -172,7 +166,7 @@ impl LexiconSchema for Activity { pub mod activity_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -477,10 +471,10 @@ where } fn lexicon_doc_social_pace_feed_activity() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("social.pace.feed.activity"), @@ -608,4 +602,4 @@ fn lexicon_doc_social_pace_feed_activity() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/social_pace/goal.rs b/crates/jacquard-api/src/social_pace/goal.rs index feb9d8a7..0401e4f8 100644 --- a/crates/jacquard-api/src/social_pace/goal.rs +++ b/crates/jacquard-api/src/social_pace/goal.rs @@ -4,4 +4,4 @@ // Any manual changes will be overwritten on the next regeneration. pub mod ring; -pub mod step; \ No newline at end of file +pub mod step; diff --git a/crates/jacquard-api/src/social_pace/goal/ring.rs b/crates/jacquard-api/src/social_pace/goal/ring.rs index 392b50ce..152b2672 100644 --- a/crates/jacquard-api/src/social_pace/goal/ring.rs +++ b/crates/jacquard-api/src/social_pace/goal/ring.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// A record of daily activity rings (Apple Fitness), including move, exercise, and stand goals. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -115,7 +115,7 @@ impl LexiconSchema for Ring { pub mod ring_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -343,10 +343,7 @@ where St::Move: ring_state::IsUnset, { /// Set the `move` field (required) - pub fn r#move( - mut self, - value: impl Into, - ) -> RingBuilder> { + pub fn r#move(mut self, value: impl Into) -> RingBuilder> { self._fields.3 = Option::Some(value.into()); RingBuilder { _state: PhantomData, @@ -453,10 +450,10 @@ where } fn lexicon_doc_social_pace_goal_ring() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("social.pace.goal.ring"), @@ -540,4 +537,4 @@ fn lexicon_doc_social_pace_goal_ring() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/social_pace/goal/step.rs b/crates/jacquard-api/src/social_pace/goal/step.rs index f91c018c..b44a130b 100644 --- a/crates/jacquard-api/src/social_pace/goal/step.rs +++ b/crates/jacquard-api/src/social_pace/goal/step.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// A daily recording of your steps for that day. This record is expected to be update throughout the day and represent's 12am-12pm in your timezone, or what you count as a "day". The key is also traditionally the date of your "day" yyy-mm-dd. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -108,7 +108,7 @@ impl LexiconSchema for Step { pub mod step_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -214,10 +214,7 @@ where St::Steps: step_state::IsUnset, { /// Set the `steps` field (required) - pub fn steps( - mut self, - value: impl Into, - ) -> StepBuilder> { + pub fn steps(mut self, value: impl Into) -> StepBuilder> { self._fields.1 = Option::Some(value.into()); StepBuilder { _state: PhantomData, @@ -274,10 +271,10 @@ where } fn lexicon_doc_social_pace_goal_step() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("social.pace.goal.step"), @@ -340,4 +337,4 @@ fn lexicon_doc_social_pace_goal_step() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/social_pmsky.rs b/crates/jacquard-api/src/social_pmsky.rs index aad80e07..f76daa41 100644 --- a/crates/jacquard-api/src/social_pmsky.rs +++ b/crates/jacquard-api/src/social_pmsky.rs @@ -4,4 +4,4 @@ // Any manual changes will be overwritten on the next regeneration. pub mod proposal; -pub mod vote; \ No newline at end of file +pub mod vote; diff --git a/crates/jacquard-api/src/social_pmsky/proposal.rs b/crates/jacquard-api/src/social_pmsky/proposal.rs index 66421cd1..44de0b31 100644 --- a/crates/jacquard-api/src/social_pmsky/proposal.rs +++ b/crates/jacquard-api/src/social_pmsky/proposal.rs @@ -10,14 +10,14 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::bytes::Bytes; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::collection::{Collection, RecordError}; -use jacquard_common::types::string::{Did, AtUri, Cid, Datetime, UriValue}; +use jacquard_common::types::string::{AtUri, Cid, Datetime, Did, UriValue}; use jacquard_common::types::uri::{RecordUri, UriError}; use jacquard_common::types::value::Data; use jacquard_common::xrpc::XrpcResp; @@ -27,7 +27,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde( @@ -142,7 +142,7 @@ impl LexiconSchema for Proposal { pub mod proposal_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -263,7 +263,9 @@ impl ProposalBuilder { pub fn new() -> Self { ProposalBuilder { _state: PhantomData, - _fields: (None, None, None, None, None, None, None, None, None, None, None), + _fields: ( + None, None, None, None, None, None, None, None, None, None, None, + ), _type: PhantomData, } } @@ -378,10 +380,7 @@ where St::Typ: proposal_state::IsUnset, { /// Set the `typ` field (required) - pub fn typ( - mut self, - value: impl Into, - ) -> ProposalBuilder> { + pub fn typ(mut self, value: impl Into) -> ProposalBuilder> { self._fields.7 = Option::Some(value.into()); ProposalBuilder { _state: PhantomData, @@ -416,10 +415,7 @@ where St::Val: proposal_state::IsUnset, { /// Set the `val` field (required) - pub fn val( - mut self, - value: impl Into, - ) -> ProposalBuilder> { + pub fn val(mut self, value: impl Into) -> ProposalBuilder> { self._fields.9 = Option::Some(value.into()); ProposalBuilder { _state: PhantomData, @@ -488,10 +484,10 @@ where } fn lexicon_doc_social_pmsky_proposal() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("social.pmsky.proposal"), @@ -645,4 +641,4 @@ fn lexicon_doc_social_pmsky_proposal() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/social_pmsky/vote.rs b/crates/jacquard-api/src/social_pmsky/vote.rs index c0ea7803..80e20db7 100644 --- a/crates/jacquard-api/src/social_pmsky/vote.rs +++ b/crates/jacquard-api/src/social_pmsky/vote.rs @@ -10,14 +10,14 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::bytes::Bytes; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::collection::{Collection, RecordError}; -use jacquard_common::types::string::{Did, AtUri, Cid, Datetime, UriValue}; +use jacquard_common::types::string::{AtUri, Cid, Datetime, Did, UriValue}; use jacquard_common::types::uri::{RecordUri, UriError}; use jacquard_common::types::value::Data; use jacquard_common::xrpc::XrpcResp; @@ -27,7 +27,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde( @@ -123,7 +123,7 @@ impl LexiconSchema for Vote { pub mod vote_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -261,10 +261,7 @@ where St::Cts: vote_state::IsUnset, { /// Set the `cts` field (required) - pub fn cts( - mut self, - value: impl Into, - ) -> VoteBuilder> { + pub fn cts(mut self, value: impl Into) -> VoteBuilder> { self._fields.2 = Option::Some(value.into()); VoteBuilder { _state: PhantomData, @@ -306,10 +303,7 @@ where St::Src: vote_state::IsUnset, { /// Set the `src` field (required) - pub fn src( - mut self, - value: impl Into>, - ) -> VoteBuilder> { + pub fn src(mut self, value: impl Into>) -> VoteBuilder> { self._fields.5 = Option::Some(value.into()); VoteBuilder { _state: PhantomData, @@ -325,10 +319,7 @@ where St::Uri: vote_state::IsUnset, { /// Set the `uri` field (required) - pub fn uri( - mut self, - value: impl Into>, - ) -> VoteBuilder> { + pub fn uri(mut self, value: impl Into>) -> VoteBuilder> { self._fields.6 = Option::Some(value.into()); VoteBuilder { _state: PhantomData, @@ -344,10 +335,7 @@ where St::Val: vote_state::IsUnset, { /// Set the `val` field (required) - pub fn val( - mut self, - value: impl Into, - ) -> VoteBuilder> { + pub fn val(mut self, value: impl Into) -> VoteBuilder> { self._fields.7 = Option::Some(value.into()); VoteBuilder { _state: PhantomData, @@ -396,10 +384,10 @@ where } fn lexicon_doc_social_pmsky_vote() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("social.pmsky.vote"), @@ -516,4 +504,4 @@ fn lexicon_doc_social_pmsky_vote() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/social_psky.rs b/crates/jacquard-api/src/social_psky.rs index c71e40be..62e55cb9 100644 --- a/crates/jacquard-api/src/social_psky.rs +++ b/crates/jacquard-api/src/social_psky.rs @@ -5,4 +5,4 @@ pub mod actor; pub mod chat; -pub mod richtext; \ No newline at end of file +pub mod richtext; diff --git a/crates/jacquard-api/src/social_psky/actor.rs b/crates/jacquard-api/src/social_psky/actor.rs index 534c9681..1cb60f21 100644 --- a/crates/jacquard-api/src/social_psky/actor.rs +++ b/crates/jacquard-api/src/social_psky/actor.rs @@ -3,4 +3,4 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. -pub mod profile; \ No newline at end of file +pub mod profile; diff --git a/crates/jacquard-api/src/social_psky/actor/profile.rs b/crates/jacquard-api/src/social_psky/actor/profile.rs index 5df58dcd..24babdd6 100644 --- a/crates/jacquard-api/src/social_psky/actor/profile.rs +++ b/crates/jacquard-api/src/social_psky/actor/profile.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// A declaration of a Picosky account profile. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -126,7 +126,7 @@ impl LexiconSchema for Profile { pub mod profile_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -202,10 +202,10 @@ where } fn lexicon_doc_social_psky_actor_profile() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("social.psky.actor.profile"), @@ -214,9 +214,9 @@ fn lexicon_doc_social_psky_actor_profile() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static("A declaration of a Picosky account profile."), - ), + description: Some(CowStr::new_static( + "A declaration of a Picosky account profile.", + )), key: Some(CowStr::new_static("literal:self")), record: LexRecordRecord::Object(LexObject { properties: { @@ -241,4 +241,4 @@ fn lexicon_doc_social_psky_actor_profile() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/social_psky/chat.rs b/crates/jacquard-api/src/social_psky/chat.rs index e521039b..6041be3a 100644 --- a/crates/jacquard-api/src/social_psky/chat.rs +++ b/crates/jacquard-api/src/social_psky/chat.rs @@ -4,4 +4,4 @@ // Any manual changes will be overwritten on the next regeneration. pub mod message; -pub mod room; \ No newline at end of file +pub mod room; diff --git a/crates/jacquard-api/src/social_psky/chat/message.rs b/crates/jacquard-api/src/social_psky/chat/message.rs index 7e5fc0eb..e510ffd1 100644 --- a/crates/jacquard-api/src/social_psky/chat/message.rs +++ b/crates/jacquard-api/src/social_psky/chat/message.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,11 +24,11 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::com_atproto::repo::strong_ref::StrongRef; use crate::social_psky::richtext::facet::Facet; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; /// A Picosky message containing at most 2048 graphemes. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -136,7 +136,7 @@ impl LexiconSchema for Message { pub mod message_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -181,7 +181,12 @@ pub mod message_state { /// Builder for constructing an instance of this type. pub struct MessageBuilder { _state: PhantomData St>, - _fields: (Option, Option>>, Option>, Option>), + _fields: ( + Option, + Option>>, + Option>, + Option>, + ), _type: PhantomData S>, } @@ -296,10 +301,10 @@ where } fn lexicon_doc_social_psky_chat_message() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("social.psky.chat.message"), @@ -308,18 +313,15 @@ fn lexicon_doc_social_psky_chat_message() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static( - "A Picosky message containing at most 2048 graphemes.", - ), - ), + description: Some(CowStr::new_static( + "A Picosky message containing at most 2048 graphemes.", + )), key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("content"), SmolStr::new_static("room") - ], - ), + required: Some(vec![ + SmolStr::new_static("content"), + SmolStr::new_static("room"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -335,11 +337,9 @@ fn lexicon_doc_social_psky_chat_message() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("facets"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static( - "Annotations of text (mentions, URLs, hashtags, etc)", - ), - ), + description: Some(CowStr::new_static( + "Annotations of text (mentions, URLs, hashtags, etc)", + )), items: LexArrayItem::Ref(LexRef { r#ref: CowStr::new_static("social.psky.richtext.facet"), ..Default::default() @@ -372,4 +372,4 @@ fn lexicon_doc_social_psky_chat_message() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/social_psky/chat/room.rs b/crates/jacquard-api/src/social_psky/chat/room.rs index c5a031ac..ab5a3b3e 100644 --- a/crates/jacquard-api/src/social_psky/chat/room.rs +++ b/crates/jacquard-api/src/social_psky/chat/room.rs @@ -10,13 +10,13 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::collection::{Collection, RecordError}; -use jacquard_common::types::string::{Did, AtUri, Cid, Language}; +use jacquard_common::types::string::{AtUri, Cid, Did, Language}; use jacquard_common::types::uri::{RecordUri, UriError}; use jacquard_common::types::value::Data; use jacquard_common::xrpc::XrpcResp; @@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::social_psky::chat::room; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::social_psky::chat::room; +use serde::{Deserialize, Serialize}; /// A Picosky room belonging to the user. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -67,9 +67,11 @@ pub struct RoomGetRecordOutput { pub value: Room, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ModlistRef { /// Defaults to `false`. #[serde(default = "_default_modlist_ref_active")] @@ -210,7 +212,7 @@ impl LexiconSchema for ModlistRef { pub mod room_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -317,10 +319,7 @@ where St::Name: room_state::IsUnset, { /// Set the `name` field (required) - pub fn name( - mut self, - value: impl Into, - ) -> RoomBuilder> { + pub fn name(mut self, value: impl Into) -> RoomBuilder> { self._fields.3 = Option::Some(value.into()); RoomBuilder { _state: PhantomData, @@ -388,10 +387,10 @@ where } fn lexicon_doc_social_psky_chat_room() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("social.psky.chat.room"), @@ -400,9 +399,7 @@ fn lexicon_doc_social_psky_chat_room() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static("A Picosky room belonging to the user."), - ), + description: Some(CowStr::new_static("A Picosky room belonging to the user.")), key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { required: Some(vec![SmolStr::new_static("name")]), @@ -455,9 +452,9 @@ fn lexicon_doc_social_psky_chat_room() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("topic"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Topic title of the room."), - ), + description: Some(CowStr::new_static( + "Topic title of the room.", + )), max_length: Some(2560usize), max_graphemes: Some(256usize), ..Default::default() @@ -473,9 +470,10 @@ fn lexicon_doc_social_psky_chat_room() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("modlistRef"), LexUserType::Object(LexObject { - required: Some( - vec![SmolStr::new_static("active"), SmolStr::new_static("users")], - ), + required: Some(vec![ + SmolStr::new_static("active"), + SmolStr::new_static("users"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -512,7 +510,7 @@ fn _default_modlist_ref_active() -> bool { pub mod modlist_ref_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -632,14 +630,11 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> ModlistRef { + pub fn build_with_data(self, extra_data: BTreeMap>) -> ModlistRef { ModlistRef { active: self._fields.0.unwrap(), users: self._fields.1.unwrap(), extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/social_psky/richtext.rs b/crates/jacquard-api/src/social_psky/richtext.rs index b7b3177b..3bf124e6 100644 --- a/crates/jacquard-api/src/social_psky/richtext.rs +++ b/crates/jacquard-api/src/social_psky/richtext.rs @@ -3,4 +3,4 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. -pub mod facet; \ No newline at end of file +pub mod facet; diff --git a/crates/jacquard-api/src/social_psky/richtext/facet.rs b/crates/jacquard-api/src/social_psky/richtext/facet.rs index ae08e664..8b0bc0ce 100644 --- a/crates/jacquard-api/src/social_psky/richtext/facet.rs +++ b/crates/jacquard-api/src/social_psky/richtext/facet.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -21,14 +21,17 @@ use jacquard_derive::{IntoStatic, open_union}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::social_psky::richtext::facet; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::social_psky::richtext::facet; +use serde::{Deserialize, Serialize}; /// Specifies the sub-string range a facet feature applies to. Start index is inclusive, end index is exclusive. Indices are zero-indexed, counting bytes of the UTF-8 encoded text. NOTE: some languages, like Javascript, use UTF-16 or Unicode codepoints for string slice indexing; in these languages, convert to byte arrays before working with facets. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ByteSlice { pub byte_end: i64, pub byte_start: i64, @@ -39,7 +42,10 @@ pub struct ByteSlice { /// Facet feature for a URL. The text URL may have been simplified or truncated, but the facet reference should be a complete URL. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Link { pub uri: UriValue, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -49,7 +55,10 @@ pub struct Link { /// Annotation of a sub-string within rich text. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Facet { pub features: Vec>, pub index: facet::ByteSlice, @@ -57,7 +66,6 @@ pub struct Facet { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -73,7 +81,10 @@ pub enum FacetFeaturesItem { /// Facet feature for mention of another account. The text is usually a handle, including a '@' prefix, but the facet reference is a DID. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Mention { pub did: Did, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -83,7 +94,10 @@ pub struct Mention { /// Facet feature for a room. The text usually includes a '#' prefix, but the facet reference should not (except in the case of a room tag that includes a '#' prefix) - TODO: update when rooms are actually implemented #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Room { pub room: S, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -211,7 +225,7 @@ impl LexiconSchema for Room { pub mod byte_slice_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -331,10 +345,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> ByteSlice { + pub fn build_with_data(self, extra_data: BTreeMap>) -> ByteSlice { ByteSlice { byte_end: self._fields.0.unwrap(), byte_start: self._fields.1.unwrap(), @@ -344,10 +355,10 @@ where } fn lexicon_doc_social_psky_richtext_facet() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("social.psky.richtext.facet"), @@ -416,16 +427,13 @@ fn lexicon_doc_social_psky_richtext_facet() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "Annotation of a sub-string within rich text.", - ), - ), - required: Some( - vec![ - SmolStr::new_static("index"), SmolStr::new_static("features") - ], - ), + description: Some(CowStr::new_static( + "Annotation of a sub-string within rich text.", + )), + required: Some(vec![ + SmolStr::new_static("index"), + SmolStr::new_static("features"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -434,8 +442,9 @@ fn lexicon_doc_social_psky_richtext_facet() -> LexiconDoc<'static> { LexObjectProperty::Array(LexArray { items: LexArrayItem::Union(LexRefUnion { refs: vec![ - CowStr::new_static("#mention"), CowStr::new_static("#link"), - CowStr::new_static("#room") + CowStr::new_static("#mention"), + CowStr::new_static("#link"), + CowStr::new_static("#room"), ], ..Default::default() }), @@ -511,7 +520,7 @@ fn lexicon_doc_social_psky_richtext_facet() -> LexiconDoc<'static> { pub mod link_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -572,10 +581,7 @@ where St::Uri: link_state::IsUnset, { /// Set the `uri` field (required) - pub fn uri( - mut self, - value: impl Into>, - ) -> LinkBuilder> { + pub fn uri(mut self, value: impl Into>) -> LinkBuilder> { self._fields.0 = Option::Some(value.into()); LinkBuilder { _state: PhantomData, @@ -608,7 +614,7 @@ where pub mod facet_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -653,7 +659,10 @@ pub mod facet_state { /// Builder for constructing an instance of this type. pub struct FacetBuilder { _state: PhantomData St>, - _fields: (Option>>, Option>), + _fields: ( + Option>>, + Option>, + ), _type: PhantomData S>, } @@ -739,7 +748,7 @@ where pub mod mention_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -800,10 +809,7 @@ where St::Did: mention_state::IsUnset, { /// Set the `did` field (required) - pub fn did( - mut self, - value: impl Into>, - ) -> MentionBuilder> { + pub fn did(mut self, value: impl Into>) -> MentionBuilder> { self._fields.0 = Option::Some(value.into()); MentionBuilder { _state: PhantomData, @@ -832,4 +838,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/social_showcase.rs b/crates/jacquard-api/src/social_showcase.rs index 4938ac39..eb3d49ed 100644 --- a/crates/jacquard-api/src/social_showcase.rs +++ b/crates/jacquard-api/src/social_showcase.rs @@ -11,13 +11,12 @@ pub mod graph; pub mod library; pub mod profile; - #[allow(unused_imports)] use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -29,14 +28,17 @@ use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::social_showcase; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::social_showcase; +use serde::{Deserialize, Serialize}; /// Activity sharing preferences #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ActivitySettings { ///Activity retention period Defaults to `90`. #[serde(default = "_default_activity_settings_retention_days")] @@ -100,8 +102,7 @@ impl Serialize for ActivitySettingsShareActivity { } } -impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> -for ActivitySettingsShareActivity { +impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> for ActivitySettingsShareActivity { fn deserialize(deserializer: D) -> Result where D: serde::Deserializer<'de>, @@ -126,9 +127,7 @@ where fn into_static(self) -> Self::Output { match self { ActivitySettingsShareActivity::All => ActivitySettingsShareActivity::All, - ActivitySettingsShareActivity::Followers => { - ActivitySettingsShareActivity::Followers - } + ActivitySettingsShareActivity::Followers => ActivitySettingsShareActivity::Followers, ActivitySettingsShareActivity::None => ActivitySettingsShareActivity::None, ActivitySettingsShareActivity::Other(v) => { ActivitySettingsShareActivity::Other(v.into_static()) @@ -140,7 +139,10 @@ where /// Image aspect ratio #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct AspectRatio { #[serde(skip_serializing_if = "Option::is_none")] pub height: Option, @@ -153,7 +155,10 @@ pub struct AspectRatio { /// Reference to an item in a collection #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct CollectionItem { pub added_at: Datetime, ///For custom sorting @@ -167,7 +172,10 @@ pub struct CollectionItem { /// View of a collection with items #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct CollectionView { pub author: social_showcase::ProfileView, pub cid: Cid, @@ -194,7 +202,10 @@ pub struct CollectionView { /// Display preferences #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DisplaySettings { #[serde(skip_serializing_if = "Option::is_none")] pub grid_layout: Option>, @@ -204,7 +215,6 @@ pub struct DisplaySettings { pub extra_data: Option>>, } - #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum DisplaySettingsGridLayout { Compact, @@ -251,8 +261,7 @@ impl Serialize for DisplaySettingsGridLayout { } } -impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> -for DisplaySettingsGridLayout { +impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> for DisplaySettingsGridLayout { fn deserialize(deserializer: D) -> Result where D: serde::Deserializer<'de>, @@ -285,7 +294,6 @@ where } } - #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum DisplaySettingsTheme { Light, @@ -362,9 +370,7 @@ where DisplaySettingsTheme::Light => DisplaySettingsTheme::Light, DisplaySettingsTheme::Dark => DisplaySettingsTheme::Dark, DisplaySettingsTheme::Auto => DisplaySettingsTheme::Auto, - DisplaySettingsTheme::Other(v) => { - DisplaySettingsTheme::Other(v.into_static()) - } + DisplaySettingsTheme::Other(v) => DisplaySettingsTheme::Other(v.into_static()), } } } @@ -372,7 +378,10 @@ where /// Image embedded in an item #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ItemImage { ///Alt text for accessibility #[serde(skip_serializing_if = "Option::is_none")] @@ -387,7 +396,10 @@ pub struct ItemImage { /// View of an item with metadata #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ItemView { pub author: social_showcase::ProfileView, #[serde(skip_serializing_if = "Option::is_none")] @@ -416,7 +428,10 @@ pub struct ItemView { /// Notification preferences #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct NotificationSettings { pub comments: bool, pub follows: bool, @@ -428,7 +443,10 @@ pub struct NotificationSettings { /// Privacy preferences #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct PrivacySettings { ///Let others comment pub allow_comments: bool, @@ -443,7 +461,10 @@ pub struct PrivacySettings { /// View of a user profile #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ProfileView { #[serde(skip_serializing_if = "Option::is_none")] pub avatar: Option>, @@ -462,7 +483,10 @@ pub struct ProfileView { /// Subject of a reaction #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ReactionSubject { pub cid: Cid, pub uri: AtUri, @@ -473,7 +497,10 @@ pub struct ReactionSubject { /// View of a reaction to content #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ReactionView { pub actor: social_showcase::ProfileView, pub created_at: Datetime, @@ -488,7 +515,10 @@ pub struct ReactionView { /// A reference to an item featured in a user's showcase (hydrated at read time) #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ShowcaseItem { pub added_at: Datetime, ///Display order (0 = first) @@ -502,7 +532,10 @@ pub struct ShowcaseItem { /// Visibility preferences #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct VisibilitySettings { pub default_collection_visibility: VisibilitySettingsDefaultCollectionVisibility, pub default_item_visibility: VisibilitySettingsDefaultItemVisibility, @@ -511,7 +544,6 @@ pub struct VisibilitySettings { pub extra_data: Option>>, } - #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum VisibilitySettingsDefaultCollectionVisibility { Public, @@ -559,7 +591,8 @@ impl Serialize for VisibilitySettingsDefaultCollectionVisibility { } impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> -for VisibilitySettingsDefaultCollectionVisibility { + for VisibilitySettingsDefaultCollectionVisibility +{ fn deserialize(deserializer: D) -> Result where D: serde::Deserializer<'de>, @@ -575,8 +608,7 @@ impl Default for VisibilitySettingsDefaultCollectionVisibil } } -impl jacquard_common::IntoStatic -for VisibilitySettingsDefaultCollectionVisibility +impl jacquard_common::IntoStatic for VisibilitySettingsDefaultCollectionVisibility where S: BosStr + jacquard_common::IntoStatic, S::Output: BosStr, @@ -597,7 +629,6 @@ where } } - #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum VisibilitySettingsDefaultItemVisibility { Public, @@ -648,7 +679,8 @@ impl Serialize for VisibilitySettingsDefaultItemVisibility { } impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> -for VisibilitySettingsDefaultItemVisibility { + for VisibilitySettingsDefaultItemVisibility +{ fn deserialize(deserializer: D) -> Result where D: serde::Deserializer<'de>, @@ -664,8 +696,7 @@ impl Default for VisibilitySettingsDefaultItemVisibility } } -impl jacquard_common::IntoStatic -for VisibilitySettingsDefaultItemVisibility +impl jacquard_common::IntoStatic for VisibilitySettingsDefaultItemVisibility where S: BosStr + jacquard_common::IntoStatic, S::Output: BosStr, @@ -689,7 +720,6 @@ where } } - #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum VisibilitySettingsProfileVisibility { Public, @@ -740,7 +770,8 @@ impl Serialize for VisibilitySettingsProfileVisibility { } impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> -for VisibilitySettingsProfileVisibility { + for VisibilitySettingsProfileVisibility +{ fn deserialize(deserializer: D) -> Result where D: serde::Deserializer<'de>, @@ -997,25 +1028,23 @@ impl LexiconSchema for ItemImage { { let mime = value.blob().mime_type.as_str(); let accepted: &[&str] = &["image/png", "image/jpeg", "image/webp"]; - let matched = accepted - .iter() - .any(|pattern| { - if *pattern == "*/*" { - true - } else if pattern.ends_with("/*") { - let prefix = &pattern[..pattern.len() - 2]; - mime.starts_with(prefix) - && mime.as_bytes().get(prefix.len()) == Some(&b'/') - } else { - mime == *pattern - } - }); + let matched = accepted.iter().any(|pattern| { + if *pattern == "*/*" { + true + } else if pattern.ends_with("/*") { + let prefix = &pattern[..pattern.len() - 2]; + mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/') + } else { + mime == *pattern + } + }); if !matched { return Err(ConstraintError::BlobMimeTypeNotAccepted { path: ValidationPath::from_field("blob"), accepted: vec![ - "image/png".to_string(), "image/jpeg".to_string(), - "image/webp".to_string() + "image/png".to_string(), + "image/jpeg".to_string(), + "image/webp".to_string(), ], actual: mime.to_string(), }); @@ -1280,7 +1309,7 @@ fn _default_activity_settings_retention_days() -> i64 { pub mod activity_settings_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -1339,7 +1368,11 @@ pub mod activity_settings_state { /// Builder for constructing an instance of this type. pub struct ActivitySettingsBuilder { _state: PhantomData St>, - _fields: (Option, Option>, Option), + _fields: ( + Option, + Option>, + Option, + ), _type: PhantomData S>, } @@ -1435,10 +1468,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> ActivitySettings { + pub fn build_with_data(self, extra_data: BTreeMap>) -> ActivitySettings { ActivitySettings { retention_days: self._fields.0.unwrap(), share_activity: self._fields.1.unwrap(), @@ -1449,10 +1479,10 @@ where } fn lexicon_doc_social_showcase_defs() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("social.showcase.defs"), @@ -1461,16 +1491,12 @@ fn lexicon_doc_social_showcase_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("activitySettings"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("Activity sharing preferences"), - ), - required: Some( - vec![ - SmolStr::new_static("shareNewItems"), - SmolStr::new_static("shareActivity"), - SmolStr::new_static("retentionDays") - ], - ), + description: Some(CowStr::new_static("Activity sharing preferences")), + required: Some(vec![ + SmolStr::new_static("shareNewItems"), + SmolStr::new_static("shareActivity"), + SmolStr::new_static("retentionDays"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -1483,9 +1509,9 @@ fn lexicon_doc_social_showcase_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("shareActivity"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Who sees your activity feed"), - ), + description: Some(CowStr::new_static( + "Who sees your activity feed", + )), max_length: Some(10usize), ..Default::default() }), @@ -1530,15 +1556,12 @@ fn lexicon_doc_social_showcase_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("collectionItem"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("Reference to an item in a collection"), - ), - required: Some( - vec![ - SmolStr::new_static("uri"), SmolStr::new_static("addedAt"), - SmolStr::new_static("order") - ], - ), + description: Some(CowStr::new_static("Reference to an item in a collection")), + required: Some(vec![ + SmolStr::new_static("uri"), + SmolStr::new_static("addedAt"), + SmolStr::new_static("order"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -1558,11 +1581,9 @@ fn lexicon_doc_social_showcase_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("uri"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "AT-URI reference to item (always shows latest version)", - ), - ), + description: Some(CowStr::new_static( + "AT-URI reference to item (always shows latest version)", + )), max_length: Some(8192usize), ..Default::default() }), @@ -1575,19 +1596,17 @@ fn lexicon_doc_social_showcase_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("collectionView"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("View of a collection with items"), - ), - required: Some( - vec![ - SmolStr::new_static("uri"), SmolStr::new_static("cid"), - SmolStr::new_static("name"), SmolStr::new_static("tags"), - SmolStr::new_static("type"), - SmolStr::new_static("visibility"), - SmolStr::new_static("author"), - SmolStr::new_static("createdAt") - ], - ), + description: Some(CowStr::new_static("View of a collection with items")), + required: Some(vec![ + SmolStr::new_static("uri"), + SmolStr::new_static("cid"), + SmolStr::new_static("name"), + SmolStr::new_static("tags"), + SmolStr::new_static("type"), + SmolStr::new_static("visibility"), + SmolStr::new_static("author"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -1607,7 +1626,9 @@ fn lexicon_doc_social_showcase_defs() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("coverImage"), - LexObjectProperty::Blob(LexBlob { ..Default::default() }), + LexObjectProperty::Blob(LexBlob { + ..Default::default() + }), ); map.insert( SmolStr::new_static("createdAt"), @@ -1726,9 +1747,7 @@ fn lexicon_doc_social_showcase_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("alt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Alt text for accessibility"), - ), + description: Some(CowStr::new_static("Alt text for accessibility")), max_length: Some(300usize), ..Default::default() }), @@ -1742,7 +1761,9 @@ fn lexicon_doc_social_showcase_defs() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("blob"), - LexObjectProperty::Blob(LexBlob { ..Default::default() }), + LexObjectProperty::Blob(LexBlob { + ..Default::default() + }), ); map }, @@ -1752,19 +1773,17 @@ fn lexicon_doc_social_showcase_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("itemView"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("View of an item with metadata"), - ), - required: Some( - vec![ - SmolStr::new_static("uri"), SmolStr::new_static("cid"), - SmolStr::new_static("title"), SmolStr::new_static("tags"), - SmolStr::new_static("images"), - SmolStr::new_static("visibility"), - SmolStr::new_static("author"), - SmolStr::new_static("createdAt") - ], - ), + description: Some(CowStr::new_static("View of an item with metadata")), + required: Some(vec![ + SmolStr::new_static("uri"), + SmolStr::new_static("cid"), + SmolStr::new_static("title"), + SmolStr::new_static("tags"), + SmolStr::new_static("images"), + SmolStr::new_static("visibility"), + SmolStr::new_static("author"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -1880,13 +1899,11 @@ fn lexicon_doc_social_showcase_defs() -> LexiconDoc<'static> { SmolStr::new_static("notificationSettings"), LexUserType::Object(LexObject { description: Some(CowStr::new_static("Notification preferences")), - required: Some( - vec![ - SmolStr::new_static("reactions"), - SmolStr::new_static("follows"), - SmolStr::new_static("comments") - ], - ), + required: Some(vec![ + SmolStr::new_static("reactions"), + SmolStr::new_static("follows"), + SmolStr::new_static("comments"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -1917,13 +1934,11 @@ fn lexicon_doc_social_showcase_defs() -> LexiconDoc<'static> { SmolStr::new_static("privacySettings"), LexUserType::Object(LexObject { description: Some(CowStr::new_static("Privacy preferences")), - required: Some( - vec![ - SmolStr::new_static("allowReactions"), - SmolStr::new_static("allowComments"), - SmolStr::new_static("indexable") - ], - ), + required: Some(vec![ + SmolStr::new_static("allowReactions"), + SmolStr::new_static("allowComments"), + SmolStr::new_static("indexable"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -1954,19 +1969,24 @@ fn lexicon_doc_social_showcase_defs() -> LexiconDoc<'static> { SmolStr::new_static("profileView"), LexUserType::Object(LexObject { description: Some(CowStr::new_static("View of a user profile")), - required: Some( - vec![SmolStr::new_static("did"), SmolStr::new_static("handle")], - ), + required: Some(vec![ + SmolStr::new_static("did"), + SmolStr::new_static("handle"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("avatar"), - LexObjectProperty::Blob(LexBlob { ..Default::default() }), + LexObjectProperty::Blob(LexBlob { + ..Default::default() + }), ); map.insert( SmolStr::new_static("banner"), - LexObjectProperty::Blob(LexBlob { ..Default::default() }), + LexObjectProperty::Blob(LexBlob { + ..Default::default() + }), ); map.insert( SmolStr::new_static("did"), @@ -2008,9 +2028,7 @@ fn lexicon_doc_social_showcase_defs() -> LexiconDoc<'static> { SmolStr::new_static("reactionSubject"), LexUserType::Object(LexObject { description: Some(CowStr::new_static("Subject of a reaction")), - required: Some( - vec![SmolStr::new_static("uri"), SmolStr::new_static("cid")], - ), + required: Some(vec![SmolStr::new_static("uri"), SmolStr::new_static("cid")]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -2036,16 +2054,14 @@ fn lexicon_doc_social_showcase_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("reactionView"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("View of a reaction to content"), - ), - required: Some( - vec![ - SmolStr::new_static("uri"), SmolStr::new_static("actor"), - SmolStr::new_static("subject"), SmolStr::new_static("type"), - SmolStr::new_static("createdAt") - ], - ), + description: Some(CowStr::new_static("View of a reaction to content")), + required: Some(vec![ + SmolStr::new_static("uri"), + SmolStr::new_static("actor"), + SmolStr::new_static("subject"), + SmolStr::new_static("type"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -2141,13 +2157,11 @@ fn lexicon_doc_social_showcase_defs() -> LexiconDoc<'static> { SmolStr::new_static("visibilitySettings"), LexUserType::Object(LexObject { description: Some(CowStr::new_static("Visibility preferences")), - required: Some( - vec![ - SmolStr::new_static("profileVisibility"), - SmolStr::new_static("defaultItemVisibility"), - SmolStr::new_static("defaultCollectionVisibility") - ], - ), + required: Some(vec![ + SmolStr::new_static("profileVisibility"), + SmolStr::new_static("defaultItemVisibility"), + SmolStr::new_static("defaultCollectionVisibility"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -2185,7 +2199,7 @@ fn lexicon_doc_social_showcase_defs() -> LexiconDoc<'static> { pub mod collection_item_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -2340,10 +2354,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> CollectionItem { + pub fn build_with_data(self, extra_data: BTreeMap>) -> CollectionItem { CollectionItem { added_at: self._fields.0.unwrap(), order: self._fields.1.unwrap(), @@ -2355,7 +2366,7 @@ where pub mod collection_view_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -2545,19 +2556,7 @@ impl CollectionViewBuilder { CollectionViewBuilder { _state: PhantomData, _fields: ( - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, + None, None, None, None, None, None, None, None, None, None, None, None, None, ), _type: PhantomData, } @@ -2662,18 +2661,12 @@ impl CollectionViewBuilder { impl CollectionViewBuilder { /// Set the `items` field (optional) - pub fn items( - mut self, - value: impl Into>>>, - ) -> Self { + pub fn items(mut self, value: impl Into>>>) -> Self { self._fields.6 = value.into(); self } /// Set the `items` field to an Option value (optional) - pub fn maybe_items( - mut self, - value: Option>>, - ) -> Self { + pub fn maybe_items(mut self, value: Option>>) -> Self { self._fields.6 = value; self } @@ -2819,10 +2812,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> CollectionView { + pub fn build_with_data(self, extra_data: BTreeMap>) -> CollectionView { CollectionView { author: self._fields.0.unwrap(), cid: self._fields.1.unwrap(), @@ -2844,7 +2834,7 @@ where pub mod item_image_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -2877,7 +2867,11 @@ pub mod item_image_state { /// Builder for constructing an instance of this type. pub struct ItemImageBuilder { _state: PhantomData St>, - _fields: (Option, Option>, Option>), + _fields: ( + Option, + Option>, + Option>, + ), _type: PhantomData S>, } @@ -2922,10 +2916,7 @@ impl ItemImageBuilder { self } /// Set the `aspectRatio` field to an Option value (optional) - pub fn maybe_aspect_ratio( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_aspect_ratio(mut self, value: Option>) -> Self { self._fields.1 = value; self } @@ -2965,10 +2956,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> ItemImage { + pub fn build_with_data(self, extra_data: BTreeMap>) -> ItemImage { ItemImage { alt: self._fields.0, aspect_ratio: self._fields.1, @@ -2980,7 +2968,7 @@ where pub mod item_view_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -3171,20 +3159,7 @@ impl ItemViewBuilder { ItemViewBuilder { _state: PhantomData, _fields: ( - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, ), _type: PhantomData, } @@ -3477,7 +3452,7 @@ where pub mod notification_settings_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -3534,10 +3509,7 @@ pub mod notification_settings_state { } /// Builder for constructing an instance of this type. -pub struct NotificationSettingsBuilder< - S: BosStr, - St: notification_settings_state::State, -> { +pub struct NotificationSettingsBuilder { _state: PhantomData St>, _fields: (Option, Option, Option), _type: PhantomData S>, @@ -3650,7 +3622,7 @@ where pub mod privacy_settings_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -3805,10 +3777,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> PrivacySettings { + pub fn build_with_data(self, extra_data: BTreeMap>) -> PrivacySettings { PrivacySettings { allow_comments: self._fields.0.unwrap(), allow_reactions: self._fields.1.unwrap(), @@ -3820,7 +3789,7 @@ where pub mod reaction_subject_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -3940,10 +3909,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> ReactionSubject { + pub fn build_with_data(self, extra_data: BTreeMap>) -> ReactionSubject { ReactionSubject { cid: self._fields.0.unwrap(), uri: self._fields.1.unwrap(), @@ -3954,7 +3920,7 @@ where pub mod reaction_view_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -4191,10 +4157,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> ReactionView { + pub fn build_with_data(self, extra_data: BTreeMap>) -> ReactionView { ReactionView { actor: self._fields.0.unwrap(), created_at: self._fields.1.unwrap(), @@ -4208,7 +4171,7 @@ where pub mod showcase_item_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -4363,10 +4326,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> ShowcaseItem { + pub fn build_with_data(self, extra_data: BTreeMap>) -> ShowcaseItem { ShowcaseItem { added_at: self._fields.0.unwrap(), order: self._fields.1.unwrap(), @@ -4374,4 +4334,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/social_showcase/collection.rs b/crates/jacquard-api/src/social_showcase/collection.rs index b642edb9..76b3e745 100644 --- a/crates/jacquard-api/src/social_showcase/collection.rs +++ b/crates/jacquard-api/src/social_showcase/collection.rs @@ -6,4 +6,4 @@ pub mod delete_collection; pub mod get_collection; pub mod list_collections; -pub mod update_collection; \ No newline at end of file +pub mod update_collection; diff --git a/crates/jacquard-api/src/social_showcase/collection/delete_collection.rs b/crates/jacquard-api/src/social_showcase/collection/delete_collection.rs index 6eb9547d..e7ffdb6b 100644 --- a/crates/jacquard-api/src/social_showcase/collection/delete_collection.rs +++ b/crates/jacquard-api/src/social_showcase/collection/delete_collection.rs @@ -10,16 +10,19 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::bytes::Bytes; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::AtUri; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DeleteCollection { ///The AT-URI of the collection to delete pub uri: AtUri, @@ -27,7 +30,6 @@ pub struct DeleteCollection { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(rename_all = "camelCase")] pub struct DeleteCollectionOutput { @@ -45,9 +47,8 @@ impl jacquard_common::xrpc::XrpcResp for DeleteCollectionResponse { impl jacquard_common::xrpc::XrpcRequest for DeleteCollection { const NSID: &'static str = "social.showcase.collection.deleteCollection"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = DeleteCollectionResponse; } @@ -55,16 +56,15 @@ impl jacquard_common::xrpc::XrpcRequest for DeleteCollection { pub struct DeleteCollectionRequest; impl jacquard_common::xrpc::XrpcEndpoint for DeleteCollectionRequest { const PATH: &'static str = "/xrpc/social.showcase.collection.deleteCollection"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = DeleteCollection; type Response = DeleteCollectionResponse; } pub mod delete_collection_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -151,13 +151,10 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> DeleteCollection { + pub fn build_with_data(self, extra_data: BTreeMap>) -> DeleteCollection { DeleteCollection { uri: self._fields.0.unwrap(), extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/social_showcase/collection/get_collection.rs b/crates/jacquard-api/src/social_showcase/collection/get_collection.rs index 9598cbe0..2118487e 100644 --- a/crates/jacquard-api/src/social_showcase/collection/get_collection.rs +++ b/crates/jacquard-api/src/social_showcase/collection/get_collection.rs @@ -8,25 +8,30 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::social_showcase::CollectionView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::AtUri; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::social_showcase::CollectionView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetCollection { pub uri: AtUri, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetCollectionOutput { #[serde(flatten)] pub value: CollectionView, @@ -60,7 +65,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetCollectionRequest { pub mod get_collection_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -145,4 +150,4 @@ where uri: self._fields.0.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/social_showcase/collection/list_collections.rs b/crates/jacquard-api/src/social_showcase/collection/list_collections.rs index f9767549..fb931119 100644 --- a/crates/jacquard-api/src/social_showcase/collection/list_collections.rs +++ b/crates/jacquard-api/src/social_showcase/collection/list_collections.rs @@ -8,18 +8,21 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::social_showcase::CollectionView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::ident::AtIdentifier; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::social_showcase::CollectionView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ListCollections { pub actor: AtIdentifier, ///(max length: 512) @@ -31,9 +34,11 @@ pub struct ListCollections { pub limit: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ListCollectionsOutput { pub collections: Vec>, #[serde(skip_serializing_if = "Option::is_none")] @@ -72,7 +77,7 @@ fn _default_limit() -> Option { pub mod list_collections_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -185,4 +190,4 @@ where limit: self._fields.2, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/social_showcase/collection/update_collection.rs b/crates/jacquard-api/src/social_showcase/collection/update_collection.rs index 7b44d5ed..0d8bf678 100644 --- a/crates/jacquard-api/src/social_showcase/collection/update_collection.rs +++ b/crates/jacquard-api/src/social_showcase/collection/update_collection.rs @@ -8,20 +8,23 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::social_showcase::CollectionItem; +use crate::social_showcase::CollectionView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::blob::BlobRef; use jacquard_common::types::string::AtUri; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::social_showcase::CollectionItem; -use crate::social_showcase::CollectionView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct UpdateCollection { #[serde(skip_serializing_if = "Option::is_none")] pub cover_image: Option>, @@ -41,7 +44,6 @@ pub struct UpdateCollection { pub extra_data: Option>>, } - #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum UpdateCollectionVisibility { Public, @@ -88,8 +90,7 @@ impl Serialize for UpdateCollectionVisibility { } } -impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> -for UpdateCollectionVisibility { +impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> for UpdateCollectionVisibility { fn deserialize(deserializer: D) -> Result where D: serde::Deserializer<'de>, @@ -122,9 +123,11 @@ where } } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct UpdateCollectionOutput { #[serde(flatten)] pub value: CollectionView, @@ -143,9 +146,8 @@ impl jacquard_common::xrpc::XrpcResp for UpdateCollectionResponse { impl jacquard_common::xrpc::XrpcRequest for UpdateCollection { const NSID: &'static str = "social.showcase.collection.updateCollection"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = UpdateCollectionResponse; } @@ -153,16 +155,15 @@ impl jacquard_common::xrpc::XrpcRequest for UpdateCollection { pub struct UpdateCollectionRequest; impl jacquard_common::xrpc::XrpcEndpoint for UpdateCollectionRequest { const PATH: &'static str = "/xrpc/social.showcase.collection.updateCollection"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = UpdateCollection; type Response = UpdateCollectionResponse; } pub mod update_collection_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -311,18 +312,12 @@ where impl UpdateCollectionBuilder { /// Set the `visibility` field (optional) - pub fn visibility( - mut self, - value: impl Into>>, - ) -> Self { + pub fn visibility(mut self, value: impl Into>>) -> Self { self._fields.6 = value.into(); self } /// Set the `visibility` field to an Option value (optional) - pub fn maybe_visibility( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_visibility(mut self, value: Option>) -> Self { self._fields.6 = value; self } @@ -347,10 +342,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> UpdateCollection { + pub fn build_with_data(self, extra_data: BTreeMap>) -> UpdateCollection { UpdateCollection { cover_image: self._fields.0, description: self._fields.1, @@ -362,4 +354,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/social_showcase/feed.rs b/crates/jacquard-api/src/social_showcase/feed.rs index 836544a3..1c59210c 100644 --- a/crates/jacquard-api/src/social_showcase/feed.rs +++ b/crates/jacquard-api/src/social_showcase/feed.rs @@ -6,4 +6,4 @@ pub mod get_author_feed; pub mod get_timeline; pub mod reaction; -pub mod search_posts; \ No newline at end of file +pub mod search_posts; diff --git a/crates/jacquard-api/src/social_showcase/feed/get_author_feed.rs b/crates/jacquard-api/src/social_showcase/feed/get_author_feed.rs index 185c782e..e8807bf9 100644 --- a/crates/jacquard-api/src/social_showcase/feed/get_author_feed.rs +++ b/crates/jacquard-api/src/social_showcase/feed/get_author_feed.rs @@ -8,18 +8,21 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::social_showcase::ItemView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::ident::AtIdentifier; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::social_showcase::ItemView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetAuthorFeed { pub actor: AtIdentifier, ///(max length: 512) @@ -31,9 +34,11 @@ pub struct GetAuthorFeed { pub limit: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetAuthorFeedOutput { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -72,7 +77,7 @@ fn _default_limit() -> Option { pub mod get_author_feed_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -185,4 +190,4 @@ where limit: self._fields.2, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/social_showcase/feed/get_timeline.rs b/crates/jacquard-api/src/social_showcase/feed/get_timeline.rs index 7f813b88..061de509 100644 --- a/crates/jacquard-api/src/social_showcase/feed/get_timeline.rs +++ b/crates/jacquard-api/src/social_showcase/feed/get_timeline.rs @@ -8,17 +8,20 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::social_showcase::ItemView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::social_showcase::ItemView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetTimeline { ///(max length: 512) #[serde(skip_serializing_if = "Option::is_none")] @@ -29,9 +32,11 @@ pub struct GetTimeline { pub limit: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetTimelineOutput { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -70,7 +75,7 @@ fn _default_limit() -> Option { pub mod get_timeline_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -149,4 +154,4 @@ where limit: self._fields.1, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/social_showcase/feed/reaction.rs b/crates/jacquard-api/src/social_showcase/feed/reaction.rs index 388d44eb..0d573397 100644 --- a/crates/jacquard-api/src/social_showcase/feed/reaction.rs +++ b/crates/jacquard-api/src/social_showcase/feed/reaction.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::social_showcase::ReactionSubject; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::social_showcase::ReactionSubject; +use serde::{Deserialize, Serialize}; /// Reaction record - emoji reactions to items/collections #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -118,7 +118,7 @@ impl LexiconSchema for Reaction { pub mod reaction_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -284,10 +284,10 @@ where } fn lexicon_doc_social_showcase_feed_reaction() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("social.showcase.feed.reaction"), @@ -296,19 +296,16 @@ fn lexicon_doc_social_showcase_feed_reaction() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static( - "Reaction record - emoji reactions to items/collections", - ), - ), + description: Some(CowStr::new_static( + "Reaction record - emoji reactions to items/collections", + )), key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("subject"), SmolStr::new_static("type"), - SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("subject"), + SmolStr::new_static("type"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -331,11 +328,9 @@ fn lexicon_doc_social_showcase_feed_reaction() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("type"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Emoji reaction shortcode (e.g., :heart:, :fire:, :star:)", - ), - ), + description: Some(CowStr::new_static( + "Emoji reaction shortcode (e.g., :heart:, :fire:, :star:)", + )), max_length: Some(100usize), ..Default::default() }), @@ -351,4 +346,4 @@ fn lexicon_doc_social_showcase_feed_reaction() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/social_showcase/feed/search_posts.rs b/crates/jacquard-api/src/social_showcase/feed/search_posts.rs index eabf593e..013b57ae 100644 --- a/crates/jacquard-api/src/social_showcase/feed/search_posts.rs +++ b/crates/jacquard-api/src/social_showcase/feed/search_posts.rs @@ -8,19 +8,22 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::social_showcase::CollectionView; +use crate::social_showcase::ItemView; +use crate::social_showcase::ProfileView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; -use crate::social_showcase::CollectionView; -use crate::social_showcase::ItemView; -use crate::social_showcase::ProfileView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct SearchPosts { ///(max length: 512) #[serde(skip_serializing_if = "Option::is_none")] @@ -35,9 +38,11 @@ pub struct SearchPosts { pub r#type: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct SearchPostsOutput { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -46,7 +51,6 @@ pub struct SearchPostsOutput { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -89,7 +93,7 @@ fn _default_limit() -> Option { pub mod search_posts_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -176,10 +180,7 @@ where St::Q: search_posts_state::IsUnset, { /// Set the `q` field (required) - pub fn q( - mut self, - value: impl Into, - ) -> SearchPostsBuilder> { + pub fn q(mut self, value: impl Into) -> SearchPostsBuilder> { self._fields.2 = Option::Some(value.into()); SearchPostsBuilder { _state: PhantomData, @@ -216,4 +217,4 @@ where r#type: self._fields.3, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/social_showcase/graph.rs b/crates/jacquard-api/src/social_showcase/graph.rs index 27297d58..944777a8 100644 --- a/crates/jacquard-api/src/social_showcase/graph.rs +++ b/crates/jacquard-api/src/social_showcase/graph.rs @@ -7,4 +7,4 @@ pub mod block; pub mod follow; pub mod get_blocks; pub mod get_followers; -pub mod get_following; \ No newline at end of file +pub mod get_following; diff --git a/crates/jacquard-api/src/social_showcase/graph/block.rs b/crates/jacquard-api/src/social_showcase/graph/block.rs index 87ccd620..0c600a18 100644 --- a/crates/jacquard-api/src/social_showcase/graph/block.rs +++ b/crates/jacquard-api/src/social_showcase/graph/block.rs @@ -10,13 +10,13 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::collection::{Collection, RecordError}; -use jacquard_common::types::string::{Did, AtUri, Cid, Datetime}; +use jacquard_common::types::string::{AtUri, Cid, Datetime, Did}; use jacquard_common::types::uri::{RecordUri, UriError}; use jacquard_common::types::value::Data; use jacquard_common::xrpc::XrpcResp; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// Block record - block users from interacting (mirrors app.bsky.graph.block) #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -105,7 +105,7 @@ impl LexiconSchema for Block { pub mod block_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -235,10 +235,10 @@ where } fn lexicon_doc_social_showcase_graph_block() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("social.showcase.graph.block"), @@ -291,4 +291,4 @@ fn lexicon_doc_social_showcase_graph_block() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/social_showcase/graph/follow.rs b/crates/jacquard-api/src/social_showcase/graph/follow.rs index eef650d9..22c4f47c 100644 --- a/crates/jacquard-api/src/social_showcase/graph/follow.rs +++ b/crates/jacquard-api/src/social_showcase/graph/follow.rs @@ -10,13 +10,13 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::collection::{Collection, RecordError}; -use jacquard_common::types::string::{Did, AtUri, Cid, Datetime}; +use jacquard_common::types::string::{AtUri, Cid, Datetime, Did}; use jacquard_common::types::uri::{RecordUri, UriError}; use jacquard_common::types::value::Data; use jacquard_common::xrpc::XrpcResp; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// Follow record - who follows who (mirrors app.bsky.graph.follow) #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -105,7 +105,7 @@ impl LexiconSchema for Follow { pub mod follow_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -235,10 +235,10 @@ where } fn lexicon_doc_social_showcase_graph_follow() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("social.showcase.graph.follow"), @@ -247,19 +247,15 @@ fn lexicon_doc_social_showcase_graph_follow() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static( - "Follow record - who follows who (mirrors app.bsky.graph.follow)", - ), - ), + description: Some(CowStr::new_static( + "Follow record - who follows who (mirrors app.bsky.graph.follow)", + )), key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("subject"), - SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("subject"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -273,9 +269,9 @@ fn lexicon_doc_social_showcase_graph_follow() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("subject"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("DID of user being followed"), - ), + description: Some(CowStr::new_static( + "DID of user being followed", + )), format: Some(LexStringFormat::Did), ..Default::default() }), @@ -291,4 +287,4 @@ fn lexicon_doc_social_showcase_graph_follow() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/social_showcase/graph/get_blocks.rs b/crates/jacquard-api/src/social_showcase/graph/get_blocks.rs index 5165c641..ca5749c2 100644 --- a/crates/jacquard-api/src/social_showcase/graph/get_blocks.rs +++ b/crates/jacquard-api/src/social_showcase/graph/get_blocks.rs @@ -8,17 +8,20 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::social_showcase::ProfileView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::social_showcase::ProfileView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetBlocks { ///(max length: 512) #[serde(skip_serializing_if = "Option::is_none")] @@ -29,9 +32,11 @@ pub struct GetBlocks { pub limit: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetBlocksOutput { pub blocks: Vec>, #[serde(skip_serializing_if = "Option::is_none")] @@ -70,7 +75,7 @@ fn _default_limit() -> Option { pub mod get_blocks_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -149,4 +154,4 @@ where limit: self._fields.1, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/social_showcase/graph/get_followers.rs b/crates/jacquard-api/src/social_showcase/graph/get_followers.rs index a36fdb66..b165d98a 100644 --- a/crates/jacquard-api/src/social_showcase/graph/get_followers.rs +++ b/crates/jacquard-api/src/social_showcase/graph/get_followers.rs @@ -8,18 +8,21 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::social_showcase::ProfileView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::ident::AtIdentifier; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::social_showcase::ProfileView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetFollowers { pub actor: AtIdentifier, ///(max length: 512) @@ -31,9 +34,11 @@ pub struct GetFollowers { pub limit: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetFollowersOutput { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -72,7 +77,7 @@ fn _default_limit() -> Option { pub mod get_followers_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -185,4 +190,4 @@ where limit: self._fields.2, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/social_showcase/graph/get_following.rs b/crates/jacquard-api/src/social_showcase/graph/get_following.rs index 96cd6e58..2f65d675 100644 --- a/crates/jacquard-api/src/social_showcase/graph/get_following.rs +++ b/crates/jacquard-api/src/social_showcase/graph/get_following.rs @@ -8,18 +8,21 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::social_showcase::ProfileView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::ident::AtIdentifier; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::social_showcase::ProfileView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetFollowing { pub actor: AtIdentifier, ///(max length: 512) @@ -31,9 +34,11 @@ pub struct GetFollowing { pub limit: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetFollowingOutput { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -72,7 +77,7 @@ fn _default_limit() -> Option { pub mod get_following_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -185,4 +190,4 @@ where limit: self._fields.2, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/social_showcase/library.rs b/crates/jacquard-api/src/social_showcase/library.rs index a2bc503f..5ac07eaf 100644 --- a/crates/jacquard-api/src/social_showcase/library.rs +++ b/crates/jacquard-api/src/social_showcase/library.rs @@ -8,4 +8,4 @@ pub mod delete_item; pub mod get_item; pub mod item; pub mod list_items; -pub mod update_item; \ No newline at end of file +pub mod update_item; diff --git a/crates/jacquard-api/src/social_showcase/library/create_item.rs b/crates/jacquard-api/src/social_showcase/library/create_item.rs index 852318ce..f0c02b69 100644 --- a/crates/jacquard-api/src/social_showcase/library/create_item.rs +++ b/crates/jacquard-api/src/social_showcase/library/create_item.rs @@ -8,19 +8,22 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::social_showcase::ItemImage; +use crate::social_showcase::ItemView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::UriValue; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::social_showcase::ItemImage; -use crate::social_showcase::ItemView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct CreateItem { #[serde(skip_serializing_if = "Option::is_none")] pub category: Option, @@ -38,7 +41,6 @@ pub struct CreateItem { pub extra_data: Option>>, } - #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum CreateItemVisibility { Public, @@ -115,16 +117,16 @@ where CreateItemVisibility::Public => CreateItemVisibility::Public, CreateItemVisibility::Unlisted => CreateItemVisibility::Unlisted, CreateItemVisibility::Private => CreateItemVisibility::Private, - CreateItemVisibility::Other(v) => { - CreateItemVisibility::Other(v.into_static()) - } + CreateItemVisibility::Other(v) => CreateItemVisibility::Other(v.into_static()), } } } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct CreateItemOutput { #[serde(flatten)] pub value: ItemView, @@ -143,9 +145,8 @@ impl jacquard_common::xrpc::XrpcResp for CreateItemResponse { impl jacquard_common::xrpc::XrpcRequest for CreateItem { const NSID: &'static str = "social.showcase.library.createItem"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = CreateItemResponse; } @@ -153,16 +154,15 @@ impl jacquard_common::xrpc::XrpcRequest for CreateItem { pub struct CreateItemRequest; impl jacquard_common::xrpc::XrpcEndpoint for CreateItemRequest { const PATH: &'static str = "/xrpc/social.showcase.library.createItem"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = CreateItem; type Response = CreateItemResponse; } pub mod create_item_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -419,10 +419,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> CreateItem { + pub fn build_with_data(self, extra_data: BTreeMap>) -> CreateItem { CreateItem { category: self._fields.0, description: self._fields.1, @@ -435,4 +432,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/social_showcase/library/delete_item.rs b/crates/jacquard-api/src/social_showcase/library/delete_item.rs index dfcc72ef..c929c825 100644 --- a/crates/jacquard-api/src/social_showcase/library/delete_item.rs +++ b/crates/jacquard-api/src/social_showcase/library/delete_item.rs @@ -10,16 +10,19 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::bytes::Bytes; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::AtUri; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DeleteItem { ///The AT-URI of the item to delete pub uri: AtUri, @@ -27,7 +30,6 @@ pub struct DeleteItem { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(rename_all = "camelCase")] pub struct DeleteItemOutput { @@ -45,9 +47,8 @@ impl jacquard_common::xrpc::XrpcResp for DeleteItemResponse { impl jacquard_common::xrpc::XrpcRequest for DeleteItem { const NSID: &'static str = "social.showcase.library.deleteItem"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = DeleteItemResponse; } @@ -55,16 +56,15 @@ impl jacquard_common::xrpc::XrpcRequest for DeleteItem { pub struct DeleteItemRequest; impl jacquard_common::xrpc::XrpcEndpoint for DeleteItemRequest { const PATH: &'static str = "/xrpc/social.showcase.library.deleteItem"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = DeleteItem; type Response = DeleteItemResponse; } pub mod delete_item_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -151,13 +151,10 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> DeleteItem { + pub fn build_with_data(self, extra_data: BTreeMap>) -> DeleteItem { DeleteItem { uri: self._fields.0.unwrap(), extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/social_showcase/library/get_item.rs b/crates/jacquard-api/src/social_showcase/library/get_item.rs index 9a388029..ae585f6d 100644 --- a/crates/jacquard-api/src/social_showcase/library/get_item.rs +++ b/crates/jacquard-api/src/social_showcase/library/get_item.rs @@ -8,25 +8,30 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::social_showcase::ItemView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::AtUri; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::social_showcase::ItemView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetItem { pub uri: AtUri, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetItemOutput { #[serde(flatten)] pub value: ItemView, @@ -60,7 +65,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetItemRequest { pub mod get_item_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -145,4 +150,4 @@ where uri: self._fields.0.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/social_showcase/library/item.rs b/crates/jacquard-api/src/social_showcase/library/item.rs index 0513cbe5..543b1ab7 100644 --- a/crates/jacquard-api/src/social_showcase/library/item.rs +++ b/crates/jacquard-api/src/social_showcase/library/item.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::social_showcase::ItemImage; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::social_showcase::ItemImage; +use serde::{Deserialize, Serialize}; /// Showcase item record #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -71,7 +71,6 @@ pub struct Item { pub extra_data: Option>>, } - #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum ItemVisibility { Public, @@ -292,7 +291,7 @@ fn _default_item_schema_version() -> Option { pub mod item_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -415,18 +414,7 @@ impl ItemBuilder { ItemBuilder { _state: PhantomData, _fields: ( - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, + None, None, None, None, None, None, None, None, None, None, None, None, ), _type: PhantomData, } @@ -555,10 +543,7 @@ where St::Tags: item_state::IsUnset, { /// Set the `tags` field (required) - pub fn tags( - mut self, - value: impl Into>, - ) -> ItemBuilder> { + pub fn tags(mut self, value: impl Into>) -> ItemBuilder> { self._fields.8 = Option::Some(value.into()); ItemBuilder { _state: PhantomData, @@ -574,10 +559,7 @@ where St::Title: item_state::IsUnset, { /// Set the `title` field (required) - pub fn title( - mut self, - value: impl Into, - ) -> ItemBuilder> { + pub fn title(mut self, value: impl Into) -> ItemBuilder> { self._fields.9 = Option::Some(value.into()); ItemBuilder { _state: PhantomData, @@ -667,10 +649,10 @@ where } fn lexicon_doc_social_showcase_library_item() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("social.showcase.library.item"), @@ -813,4 +795,4 @@ fn lexicon_doc_social_showcase_library_item() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/social_showcase/library/list_items.rs b/crates/jacquard-api/src/social_showcase/library/list_items.rs index a7867ed1..0227c2d4 100644 --- a/crates/jacquard-api/src/social_showcase/library/list_items.rs +++ b/crates/jacquard-api/src/social_showcase/library/list_items.rs @@ -8,18 +8,21 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::social_showcase::ItemView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::ident::AtIdentifier; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::social_showcase::ItemView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ListItems { pub actor: AtIdentifier, ///(max length: 512) @@ -31,9 +34,11 @@ pub struct ListItems { pub limit: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ListItemsOutput { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -72,7 +77,7 @@ fn _default_limit() -> Option { pub mod list_items_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -185,4 +190,4 @@ where limit: self._fields.2, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/social_showcase/library/update_item.rs b/crates/jacquard-api/src/social_showcase/library/update_item.rs index 4e758400..3197232e 100644 --- a/crates/jacquard-api/src/social_showcase/library/update_item.rs +++ b/crates/jacquard-api/src/social_showcase/library/update_item.rs @@ -8,19 +8,22 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::social_showcase::ItemImage; +use crate::social_showcase::ItemView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::{AtUri, UriValue}; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::social_showcase::ItemImage; -use crate::social_showcase::ItemView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct UpdateItem { #[serde(skip_serializing_if = "Option::is_none")] pub category: Option, @@ -44,7 +47,6 @@ pub struct UpdateItem { pub extra_data: Option>>, } - #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum UpdateItemVisibility { Public, @@ -121,16 +123,16 @@ where UpdateItemVisibility::Public => UpdateItemVisibility::Public, UpdateItemVisibility::Unlisted => UpdateItemVisibility::Unlisted, UpdateItemVisibility::Private => UpdateItemVisibility::Private, - UpdateItemVisibility::Other(v) => { - UpdateItemVisibility::Other(v.into_static()) - } + UpdateItemVisibility::Other(v) => UpdateItemVisibility::Other(v.into_static()), } } } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct UpdateItemOutput { #[serde(flatten)] pub value: ItemView, @@ -149,9 +151,8 @@ impl jacquard_common::xrpc::XrpcResp for UpdateItemResponse { impl jacquard_common::xrpc::XrpcRequest for UpdateItem { const NSID: &'static str = "social.showcase.library.updateItem"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = UpdateItemResponse; } @@ -159,16 +160,15 @@ impl jacquard_common::xrpc::XrpcRequest for UpdateItem { pub struct UpdateItemRequest; impl jacquard_common::xrpc::XrpcEndpoint for UpdateItemRequest { const PATH: &'static str = "/xrpc/social.showcase.library.updateItem"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = UpdateItem; type Response = UpdateItemResponse; } pub mod update_item_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -345,10 +345,7 @@ where impl UpdateItemBuilder { /// Set the `visibility` field (optional) - pub fn visibility( - mut self, - value: impl Into>>, - ) -> Self { + pub fn visibility(mut self, value: impl Into>>) -> Self { self._fields.8 = value.into(); self } @@ -380,10 +377,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> UpdateItem { + pub fn build_with_data(self, extra_data: BTreeMap>) -> UpdateItem { UpdateItem { category: self._fields.0, description: self._fields.1, @@ -397,4 +391,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/social_showcase/profile.rs b/crates/jacquard-api/src/social_showcase/profile.rs index 17ef5f1c..669907ea 100644 --- a/crates/jacquard-api/src/social_showcase/profile.rs +++ b/crates/jacquard-api/src/social_showcase/profile.rs @@ -6,4 +6,4 @@ pub mod get_profile; pub mod preferences; pub mod profile; -pub mod update_profile; \ No newline at end of file +pub mod update_profile; diff --git a/crates/jacquard-api/src/social_showcase/profile/get_profile.rs b/crates/jacquard-api/src/social_showcase/profile/get_profile.rs index 3cd13d3c..401b0ba5 100644 --- a/crates/jacquard-api/src/social_showcase/profile/get_profile.rs +++ b/crates/jacquard-api/src/social_showcase/profile/get_profile.rs @@ -8,25 +8,30 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::social_showcase::ProfileView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::ident::AtIdentifier; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::social_showcase::ProfileView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetProfile { pub actor: AtIdentifier, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetProfileOutput { #[serde(flatten)] pub value: ProfileView, @@ -60,7 +65,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetProfileRequest { pub mod get_profile_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -145,4 +150,4 @@ where actor: self._fields.0.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/social_showcase/profile/preferences.rs b/crates/jacquard-api/src/social_showcase/profile/preferences.rs index 7835f016..ba3616ce 100644 --- a/crates/jacquard-api/src/social_showcase/profile/preferences.rs +++ b/crates/jacquard-api/src/social_showcase/profile/preferences.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,14 +24,14 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::social_showcase::ActivitySettings; use crate::social_showcase::DisplaySettings; use crate::social_showcase::NotificationSettings; use crate::social_showcase::PrivacySettings; use crate::social_showcase::VisibilitySettings; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; /// User preferences and settings #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -122,7 +122,7 @@ fn _default_preferences_schema_version() -> Option { pub mod preferences_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -389,10 +389,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> Preferences { + pub fn build_with_data(self, extra_data: BTreeMap>) -> Preferences { Preferences { activity: self._fields.0.unwrap(), display: self._fields.1, @@ -407,10 +404,10 @@ where } fn lexicon_doc_social_showcase_profile_preferences() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("social.showcase.profile.preferences"), @@ -419,20 +416,16 @@ fn lexicon_doc_social_showcase_profile_preferences() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static("User preferences and settings"), - ), + description: Some(CowStr::new_static("User preferences and settings")), key: Some(CowStr::new_static("literal:self")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("visibility"), - SmolStr::new_static("activity"), - SmolStr::new_static("notifications"), - SmolStr::new_static("privacy"), - SmolStr::new_static("updatedAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("visibility"), + SmolStr::new_static("activity"), + SmolStr::new_static("notifications"), + SmolStr::new_static("privacy"), + SmolStr::new_static("updatedAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -505,4 +498,4 @@ fn lexicon_doc_social_showcase_profile_preferences() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/social_showcase/profile/profile.rs b/crates/jacquard-api/src/social_showcase/profile/profile.rs index cb0a1318..931a7e01 100644 --- a/crates/jacquard-api/src/social_showcase/profile/profile.rs +++ b/crates/jacquard-api/src/social_showcase/profile/profile.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -25,10 +25,10 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::social_showcase::ShowcaseItem; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::social_showcase::ShowcaseItem; +use serde::{Deserialize, Serialize}; /// User profile record #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -169,25 +169,23 @@ impl LexiconSchema for Profile { { let mime = value.blob().mime_type.as_str(); let accepted: &[&str] = &["image/png", "image/jpeg", "image/webp"]; - let matched = accepted - .iter() - .any(|pattern| { - if *pattern == "*/*" { - true - } else if pattern.ends_with("/*") { - let prefix = &pattern[..pattern.len() - 2]; - mime.starts_with(prefix) - && mime.as_bytes().get(prefix.len()) == Some(&b'/') - } else { - mime == *pattern - } - }); + let matched = accepted.iter().any(|pattern| { + if *pattern == "*/*" { + true + } else if pattern.ends_with("/*") { + let prefix = &pattern[..pattern.len() - 2]; + mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/') + } else { + mime == *pattern + } + }); if !matched { return Err(ConstraintError::BlobMimeTypeNotAccepted { path: ValidationPath::from_field("avatar"), accepted: vec![ - "image/png".to_string(), "image/jpeg".to_string(), - "image/webp".to_string() + "image/png".to_string(), + "image/jpeg".to_string(), + "image/webp".to_string(), ], actual: mime.to_string(), }); @@ -210,25 +208,23 @@ impl LexiconSchema for Profile { { let mime = value.blob().mime_type.as_str(); let accepted: &[&str] = &["image/png", "image/jpeg", "image/webp"]; - let matched = accepted - .iter() - .any(|pattern| { - if *pattern == "*/*" { - true - } else if pattern.ends_with("/*") { - let prefix = &pattern[..pattern.len() - 2]; - mime.starts_with(prefix) - && mime.as_bytes().get(prefix.len()) == Some(&b'/') - } else { - mime == *pattern - } - }); + let matched = accepted.iter().any(|pattern| { + if *pattern == "*/*" { + true + } else if pattern.ends_with("/*") { + let prefix = &pattern[..pattern.len() - 2]; + mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/') + } else { + mime == *pattern + } + }); if !matched { return Err(ConstraintError::BlobMimeTypeNotAccepted { path: ValidationPath::from_field("banner"), accepted: vec![ - "image/png".to_string(), "image/jpeg".to_string(), - "image/webp".to_string() + "image/png".to_string(), + "image/jpeg".to_string(), + "image/webp".to_string(), ], actual: mime.to_string(), }); @@ -336,7 +332,7 @@ fn _default_profile_schema_version() -> Option { pub mod profile_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -445,22 +441,8 @@ impl ProfileBuilder { ProfileBuilder { _state: PhantomData, _fields: ( - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, ), _type: PhantomData, } @@ -557,10 +539,7 @@ where St::Did: profile_state::IsUnset, { /// Set the `did` field (required) - pub fn did( - mut self, - value: impl Into, - ) -> ProfileBuilder> { + pub fn did(mut self, value: impl Into) -> ProfileBuilder> { self._fields.6 = Option::Some(value.into()); ProfileBuilder { _state: PhantomData, @@ -754,10 +733,10 @@ where } fn lexicon_doc_social_showcase_profile_profile() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("social.showcase.profile.profile"), @@ -769,42 +748,41 @@ fn lexicon_doc_social_showcase_profile_profile() -> LexiconDoc<'static> { description: Some(CowStr::new_static("User profile record")), key: Some(CowStr::new_static("literal:self")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("did"), SmolStr::new_static("handle"), - SmolStr::new_static("tags"), - SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("did"), + SmolStr::new_static("handle"), + SmolStr::new_static("tags"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("accentColor"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Custom accent color hex code (e.g. #2e4a6e)", - ), - ), + description: Some(CowStr::new_static( + "Custom accent color hex code (e.g. #2e4a6e)", + )), max_length: Some(7usize), ..Default::default() }), ); map.insert( SmolStr::new_static("avatar"), - LexObjectProperty::Blob(LexBlob { ..Default::default() }), + LexObjectProperty::Blob(LexBlob { + ..Default::default() + }), ); map.insert( SmolStr::new_static("banner"), - LexObjectProperty::Blob(LexBlob { ..Default::default() }), + LexObjectProperty::Blob(LexBlob { + ..Default::default() + }), ); map.insert( SmolStr::new_static("bio"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Profile description"), - ), + description: Some(CowStr::new_static("Profile description")), max_length: Some(256usize), ..Default::default() }), @@ -861,9 +839,9 @@ fn lexicon_doc_social_showcase_profile_profile() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("showcase"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static("Featured showcase items"), - ), + description: Some(CowStr::new_static( + "Featured showcase items", + )), items: LexArrayItem::Ref(LexRef { r#ref: CowStr::new_static( "social.showcase.defs#showcaseItem", @@ -877,9 +855,9 @@ fn lexicon_doc_social_showcase_profile_profile() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("tags"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static("Profile tags for discovery (max 10)"), - ), + description: Some(CowStr::new_static( + "Profile tags for discovery (max 10)", + )), items: LexArrayItem::String(LexString { max_length: Some(64usize), ..Default::default() @@ -891,9 +869,9 @@ fn lexicon_doc_social_showcase_profile_profile() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("theme"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Profile theme preset name"), - ), + description: Some(CowStr::new_static( + "Profile theme preset name", + )), max_length: Some(64usize), ..Default::default() }), @@ -908,9 +886,7 @@ fn lexicon_doc_social_showcase_profile_profile() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("website"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("External website URL"), - ), + description: Some(CowStr::new_static("External website URL")), format: Some(LexStringFormat::Uri), max_length: Some(2048usize), ..Default::default() @@ -927,4 +903,4 @@ fn lexicon_doc_social_showcase_profile_profile() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/social_showcase/profile/update_profile.rs b/crates/jacquard-api/src/social_showcase/profile/update_profile.rs index d4b04a2e..149a65e6 100644 --- a/crates/jacquard-api/src/social_showcase/profile/update_profile.rs +++ b/crates/jacquard-api/src/social_showcase/profile/update_profile.rs @@ -8,20 +8,23 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::social_showcase::ProfileView; +use crate::social_showcase::ShowcaseItem; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::blob::BlobRef; use jacquard_common::types::string::UriValue; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::social_showcase::ProfileView; -use crate::social_showcase::ShowcaseItem; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct UpdateProfile { #[serde(skip_serializing_if = "Option::is_none")] pub avatar: Option>, @@ -42,9 +45,11 @@ pub struct UpdateProfile { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct UpdateProfileOutput { #[serde(flatten)] pub value: ProfileView, @@ -63,9 +68,8 @@ impl jacquard_common::xrpc::XrpcResp for UpdateProfileResponse { impl jacquard_common::xrpc::XrpcRequest for UpdateProfile { const NSID: &'static str = "social.showcase.profile.updateProfile"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = UpdateProfileResponse; } @@ -73,9 +77,8 @@ impl jacquard_common::xrpc::XrpcRequest for UpdateProfile { pub struct UpdateProfileRequest; impl jacquard_common::xrpc::XrpcEndpoint for UpdateProfileRequest { const PATH: &'static str = "/xrpc/social.showcase.profile.updateProfile"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = UpdateProfile; type Response = UpdateProfileResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/social_sket.rs b/crates/jacquard-api/src/social_sket.rs index be1af08e..afd898c1 100644 --- a/crates/jacquard-api/src/social_sket.rs +++ b/crates/jacquard-api/src/social_sket.rs @@ -3,4 +3,4 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. -pub mod actor; \ No newline at end of file +pub mod actor; diff --git a/crates/jacquard-api/src/social_sket/actor.rs b/crates/jacquard-api/src/social_sket/actor.rs index 534c9681..1cb60f21 100644 --- a/crates/jacquard-api/src/social_sket/actor.rs +++ b/crates/jacquard-api/src/social_sket/actor.rs @@ -3,4 +3,4 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. -pub mod profile; \ No newline at end of file +pub mod profile; diff --git a/crates/jacquard-api/src/social_sket/actor/profile.rs b/crates/jacquard-api/src/social_sket/actor/profile.rs index 75394402..6434e056 100644 --- a/crates/jacquard-api/src/social_sket/actor/profile.rs +++ b/crates/jacquard-api/src/social_sket/actor/profile.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -27,7 +27,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -126,25 +126,20 @@ impl LexiconSchema for Profile { { let mime = value.blob().mime_type.as_str(); let accepted: &[&str] = &["image/png", "image/jpeg"]; - let matched = accepted - .iter() - .any(|pattern| { - if *pattern == "*/*" { - true - } else if pattern.ends_with("/*") { - let prefix = &pattern[..pattern.len() - 2]; - mime.starts_with(prefix) - && mime.as_bytes().get(prefix.len()) == Some(&b'/') - } else { - mime == *pattern - } - }); + let matched = accepted.iter().any(|pattern| { + if *pattern == "*/*" { + true + } else if pattern.ends_with("/*") { + let prefix = &pattern[..pattern.len() - 2]; + mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/') + } else { + mime == *pattern + } + }); if !matched { return Err(ConstraintError::BlobMimeTypeNotAccepted { path: ValidationPath::from_field("avatar"), - accepted: vec![ - "image/png".to_string(), "image/jpeg".to_string() - ], + accepted: vec!["image/png".to_string(), "image/jpeg".to_string()], actual: mime.to_string(), }); } @@ -166,25 +161,20 @@ impl LexiconSchema for Profile { { let mime = value.blob().mime_type.as_str(); let accepted: &[&str] = &["image/png", "image/jpeg"]; - let matched = accepted - .iter() - .any(|pattern| { - if *pattern == "*/*" { - true - } else if pattern.ends_with("/*") { - let prefix = &pattern[..pattern.len() - 2]; - mime.starts_with(prefix) - && mime.as_bytes().get(prefix.len()) == Some(&b'/') - } else { - mime == *pattern - } - }); + let matched = accepted.iter().any(|pattern| { + if *pattern == "*/*" { + true + } else if pattern.ends_with("/*") { + let prefix = &pattern[..pattern.len() - 2]; + mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/') + } else { + mime == *pattern + } + }); if !matched { return Err(ConstraintError::BlobMimeTypeNotAccepted { path: ValidationPath::from_field("banner"), - accepted: vec![ - "image/png".to_string(), "image/jpeg".to_string() - ], + accepted: vec!["image/png".to_string(), "image/jpeg".to_string()], actual: mime.to_string(), }); } @@ -240,7 +230,7 @@ impl LexiconSchema for Profile { pub mod profile_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -382,10 +372,10 @@ where } fn lexicon_doc_social_sket_actor_profile() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("social.sket.actor.profile"), @@ -402,11 +392,15 @@ fn lexicon_doc_social_sket_actor_profile() -> LexiconDoc<'static> { let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("avatar"), - LexObjectProperty::Blob(LexBlob { ..Default::default() }), + LexObjectProperty::Blob(LexBlob { + ..Default::default() + }), ); map.insert( SmolStr::new_static("banner"), - LexObjectProperty::Blob(LexBlob { ..Default::default() }), + LexObjectProperty::Blob(LexBlob { + ..Default::default() + }), ); map.insert( SmolStr::new_static("createdAt"), @@ -443,4 +437,4 @@ fn lexicon_doc_social_sket_actor_profile() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/social_tophhie.rs b/crates/jacquard-api/src/social_tophhie.rs index 534c9681..1cb60f21 100644 --- a/crates/jacquard-api/src/social_tophhie.rs +++ b/crates/jacquard-api/src/social_tophhie.rs @@ -3,4 +3,4 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. -pub mod profile; \ No newline at end of file +pub mod profile; diff --git a/crates/jacquard-api/src/social_tophhie/profile.rs b/crates/jacquard-api/src/social_tophhie/profile.rs index f1d6bcb6..c61dc95b 100644 --- a/crates/jacquard-api/src/social_tophhie/profile.rs +++ b/crates/jacquard-api/src/social_tophhie/profile.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,14 +24,17 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::social_tophhie::profile; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::social_tophhie::profile; +use serde::{Deserialize, Serialize}; /// Granular communication consent flags. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct CommunicationPreferences { ///True if the user consents to receive marketing communications. pub marketing: bool, @@ -39,7 +42,6 @@ pub struct CommunicationPreferences { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde( rename_all = "camelCase", @@ -75,7 +77,10 @@ pub struct ProfileGetRecordOutput { /// Granular PDS preference consent flags. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct PdsPreferences { ///True if the user participates in accessibility scoring. pub accessibility_scoring: bool, @@ -165,7 +170,7 @@ impl LexiconSchema for PdsPreferences { pub mod communication_preferences_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -196,10 +201,7 @@ pub mod communication_preferences_state { } /// Builder for constructing an instance of this type. -pub struct CommunicationPreferencesBuilder< - S: BosStr, - St: communication_preferences_state::State, -> { +pub struct CommunicationPreferencesBuilder { _state: PhantomData St>, _fields: (Option,), _type: PhantomData S>, @@ -207,17 +209,12 @@ pub struct CommunicationPreferencesBuilder< impl CommunicationPreferences { /// Create a new builder for this type. - pub fn new() -> CommunicationPreferencesBuilder< - S, - communication_preferences_state::Empty, - > { + pub fn new() -> CommunicationPreferencesBuilder { CommunicationPreferencesBuilder::new() } } -impl< - S: BosStr, -> CommunicationPreferencesBuilder { +impl CommunicationPreferencesBuilder { /// Create a new builder with all fields unset. pub fn new() -> Self { CommunicationPreferencesBuilder { @@ -237,10 +234,7 @@ where pub fn marketing( mut self, value: impl Into, - ) -> CommunicationPreferencesBuilder< - S, - communication_preferences_state::SetMarketing, - > { + ) -> CommunicationPreferencesBuilder> { self._fields.0 = Option::Some(value.into()); CommunicationPreferencesBuilder { _state: PhantomData, @@ -275,10 +269,10 @@ where } fn lexicon_doc_social_tophhie_profile() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("social.tophhie.profile"), @@ -287,9 +281,7 @@ fn lexicon_doc_social_tophhie_profile() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("communicationPreferences"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("Granular communication consent flags."), - ), + description: Some(CowStr::new_static("Granular communication consent flags.")), required: Some(vec![SmolStr::new_static("marketing")]), properties: { #[allow(unused_mut)] @@ -311,13 +303,11 @@ fn lexicon_doc_social_tophhie_profile() -> LexiconDoc<'static> { key: Some(CowStr::new_static("literal:self")), record: LexRecordRecord::Object(LexObject { description: Some(CowStr::new_static("Tophhie profile record")), - required: Some( - vec![ - SmolStr::new_static("createdAt"), - SmolStr::new_static("pdsPreferences"), - SmolStr::new_static("communicationPreferences") - ], - ), + required: Some(vec![ + SmolStr::new_static("createdAt"), + SmolStr::new_static("pdsPreferences"), + SmolStr::new_static("communicationPreferences"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -331,11 +321,9 @@ fn lexicon_doc_social_tophhie_profile() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("createdAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "ISO 8601 timestamp when this profile record was created.", - ), - ), + description: Some(CowStr::new_static( + "ISO 8601 timestamp when this profile record was created.", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -350,11 +338,9 @@ fn lexicon_doc_social_tophhie_profile() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("updatedAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "ISO 8601 timestamp when this profile record was updated.", - ), - ), + description: Some(CowStr::new_static( + "ISO 8601 timestamp when this profile record was updated.", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -369,15 +355,11 @@ fn lexicon_doc_social_tophhie_profile() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("pdsPreferences"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("Granular PDS preference consent flags."), - ), - required: Some( - vec![ - SmolStr::new_static("showOnHomepage"), - SmolStr::new_static("accessibilityScoring") - ], - ), + description: Some(CowStr::new_static("Granular PDS preference consent flags.")), + required: Some(vec![ + SmolStr::new_static("showOnHomepage"), + SmolStr::new_static("accessibilityScoring"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -406,7 +388,7 @@ fn lexicon_doc_social_tophhie_profile() -> LexiconDoc<'static> { pub mod profile_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -593,7 +575,7 @@ where pub mod pds_preferences_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -713,14 +695,11 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> PdsPreferences { + pub fn build_with_data(self, extra_data: BTreeMap>) -> PdsPreferences { PdsPreferences { accessibility_scoring: self._fields.0.unwrap(), show_on_homepage: self._fields.1.unwrap(), extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/space_litenote.rs b/crates/jacquard-api/src/space_litenote.rs index 04adb41f..6cea23ea 100644 --- a/crates/jacquard-api/src/space_litenote.rs +++ b/crates/jacquard-api/src/space_litenote.rs @@ -3,4 +3,4 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. -pub mod note; \ No newline at end of file +pub mod note; diff --git a/crates/jacquard-api/src/space_litenote/note.rs b/crates/jacquard-api/src/space_litenote/note.rs index 0398c513..d9da4799 100644 --- a/crates/jacquard-api/src/space_litenote/note.rs +++ b/crates/jacquard-api/src/space_litenote/note.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -25,13 +25,16 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::space_litenote::note; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::space_litenote::note; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Image { ///Alt text for the image. #[serde(skip_serializing_if = "Option::is_none")] @@ -209,19 +212,16 @@ impl LexiconSchema for Image { { let mime = value.blob().mime_type.as_str(); let accepted: &[&str] = &["image/*"]; - let matched = accepted - .iter() - .any(|pattern| { - if *pattern == "*/*" { - true - } else if pattern.ends_with("/*") { - let prefix = &pattern[..pattern.len() - 2]; - mime.starts_with(prefix) - && mime.as_bytes().get(prefix.len()) == Some(&b'/') - } else { - mime == *pattern - } - }); + let matched = accepted.iter().any(|pattern| { + if *pattern == "*/*" { + true + } else if pattern.ends_with("/*") { + let prefix = &pattern[..pattern.len() - 2]; + mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/') + } else { + mime == *pattern + } + }); if !matched { return Err(ConstraintError::BlobMimeTypeNotAccepted { path: ValidationPath::from_field("image"), @@ -321,7 +321,7 @@ impl LexiconSchema for Note { pub mod image_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -432,10 +432,10 @@ where } fn lexicon_doc_space_litenote_note() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("space.litenote.note"), @@ -451,16 +451,16 @@ fn lexicon_doc_space_litenote_note() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("alt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Alt text for the image."), - ), + description: Some(CowStr::new_static("Alt text for the image.")), max_length: Some(2000usize), ..Default::default() }), ); map.insert( SmolStr::new_static("image"), - LexObjectProperty::Blob(LexBlob { ..Default::default() }), + LexObjectProperty::Blob(LexBlob { + ..Default::default() + }), ); map }, @@ -576,7 +576,7 @@ fn lexicon_doc_space_litenote_note() -> LexiconDoc<'static> { pub mod note_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -658,10 +658,7 @@ where St::Content: note_state::IsUnset, { /// Set the `content` field (required) - pub fn content( - mut self, - value: impl Into, - ) -> NoteBuilder> { + pub fn content(mut self, value: impl Into) -> NoteBuilder> { self._fields.0 = Option::Some(value.into()); NoteBuilder { _state: PhantomData, @@ -755,10 +752,7 @@ where St::Title: note_state::IsUnset, { /// Set the `title` field (required) - pub fn title( - mut self, - value: impl Into, - ) -> NoteBuilder> { + pub fn title(mut self, value: impl Into) -> NoteBuilder> { self._fields.7 = Option::Some(value.into()); NoteBuilder { _state: PhantomData, @@ -802,4 +796,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/space_remanso.rs b/crates/jacquard-api/src/space_remanso.rs index 04adb41f..6cea23ea 100644 --- a/crates/jacquard-api/src/space_remanso.rs +++ b/crates/jacquard-api/src/space_remanso.rs @@ -3,4 +3,4 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. -pub mod note; \ No newline at end of file +pub mod note; diff --git a/crates/jacquard-api/src/space_remanso/note.rs b/crates/jacquard-api/src/space_remanso/note.rs index ebd4cdf0..ec00729b 100644 --- a/crates/jacquard-api/src/space_remanso/note.rs +++ b/crates/jacquard-api/src/space_remanso/note.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -25,13 +25,16 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::space_remanso::note; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::space_remanso::note; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Image { ///Alt text for the image. #[serde(skip_serializing_if = "Option::is_none")] @@ -486,19 +489,16 @@ impl LexiconSchema for Image { { let mime = value.blob().mime_type.as_str(); let accepted: &[&str] = &["image/*"]; - let matched = accepted - .iter() - .any(|pattern| { - if *pattern == "*/*" { - true - } else if pattern.ends_with("/*") { - let prefix = &pattern[..pattern.len() - 2]; - mime.starts_with(prefix) - && mime.as_bytes().get(prefix.len()) == Some(&b'/') - } else { - mime == *pattern - } - }); + let matched = accepted.iter().any(|pattern| { + if *pattern == "*/*" { + true + } else if pattern.ends_with("/*") { + let prefix = &pattern[..pattern.len() - 2]; + mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/') + } else { + mime == *pattern + } + }); if !matched { return Err(ConstraintError::BlobMimeTypeNotAccepted { path: ValidationPath::from_field("image"), @@ -608,7 +608,7 @@ impl LexiconSchema for Note { pub mod image_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -719,10 +719,10 @@ where } fn lexicon_doc_space_remanso_note() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("space.remanso.note"), @@ -738,16 +738,16 @@ fn lexicon_doc_space_remanso_note() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("alt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Alt text for the image."), - ), + description: Some(CowStr::new_static("Alt text for the image.")), max_length: Some(2000usize), ..Default::default() }), ); map.insert( SmolStr::new_static("image"), - LexObjectProperty::Blob(LexBlob { ..Default::default() }), + LexObjectProperty::Blob(LexBlob { + ..Default::default() + }), ); map }, @@ -881,7 +881,7 @@ fn lexicon_doc_space_remanso_note() -> LexiconDoc<'static> { pub mod note_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -965,10 +965,7 @@ where St::Content: note_state::IsUnset, { /// Set the `content` field (required) - pub fn content( - mut self, - value: impl Into, - ) -> NoteBuilder> { + pub fn content(mut self, value: impl Into) -> NoteBuilder> { self._fields.0 = Option::Some(value.into()); NoteBuilder { _state: PhantomData, @@ -1088,10 +1085,7 @@ where St::Title: note_state::IsUnset, { /// Set the `title` field (required) - pub fn title( - mut self, - value: impl Into, - ) -> NoteBuilder> { + pub fn title(mut self, value: impl Into) -> NoteBuilder> { self._fields.9 = Option::Some(value.into()); NoteBuilder { _state: PhantomData, @@ -1139,4 +1133,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/st_lifepo.rs b/crates/jacquard-api/src/st_lifepo.rs index a15c6445..f496c5f3 100644 --- a/crates/jacquard-api/src/st_lifepo.rs +++ b/crates/jacquard-api/src/st_lifepo.rs @@ -4,4 +4,4 @@ // Any manual changes will be overwritten on the next regeneration. pub mod event; -pub mod profile; \ No newline at end of file +pub mod profile; diff --git a/crates/jacquard-api/src/st_lifepo/event.rs b/crates/jacquard-api/src/st_lifepo/event.rs index 64377f38..833171cb 100644 --- a/crates/jacquard-api/src/st_lifepo/event.rs +++ b/crates/jacquard-api/src/st_lifepo/event.rs @@ -10,15 +10,18 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::{AtUri, Datetime}; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Event { #[serde(skip_serializing_if = "Option::is_none")] pub description: Option, @@ -30,9 +33,11 @@ pub struct Event { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct EventOutput { ///AT URI of the created event record. pub uri: AtUri, @@ -51,9 +56,8 @@ impl jacquard_common::xrpc::XrpcResp for EventResponse { impl jacquard_common::xrpc::XrpcRequest for Event { const NSID: &'static str = "st.lifepo.event"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = EventResponse; } @@ -61,16 +65,15 @@ impl jacquard_common::xrpc::XrpcRequest for Event { pub struct EventRequest; impl jacquard_common::xrpc::XrpcEndpoint for EventRequest { const PATH: &'static str = "/xrpc/st.lifepo.event"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = Event; type Response = EventResponse; } pub mod event_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -188,10 +191,7 @@ where St::Title: event_state::IsUnset, { /// Set the `title` field (required) - pub fn title( - mut self, - value: impl Into, - ) -> EventBuilder> { + pub fn title(mut self, value: impl Into) -> EventBuilder> { self._fields.3 = Option::Some(value.into()); EventBuilder { _state: PhantomData, @@ -227,4 +227,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/st_lifepo/profile.rs b/crates/jacquard-api/src/st_lifepo/profile.rs index a5b0e3d2..5f1dd27e 100644 --- a/crates/jacquard-api/src/st_lifepo/profile.rs +++ b/crates/jacquard-api/src/st_lifepo/profile.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -21,14 +21,17 @@ use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::st_lifepo::profile; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::st_lifepo::profile; +use serde::{Deserialize, Serialize}; /// A single life event entry. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct LifeEvent { #[serde(skip_serializing_if = "Option::is_none")] pub description: Option, @@ -40,16 +43,20 @@ pub struct LifeEvent { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Profile { pub actor: S, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ProfileOutput { pub bio: S, pub handle: S, @@ -99,7 +106,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for ProfileRequest { pub mod life_event_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -247,10 +254,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> LifeEvent { + pub fn build_with_data(self, extra_data: BTreeMap>) -> LifeEvent { LifeEvent { description: self._fields.0, end_date: self._fields.1, @@ -262,10 +266,10 @@ where } fn lexicon_doc_st_lifepo_profile() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("st.lifepo.profile"), @@ -275,18 +279,18 @@ fn lexicon_doc_st_lifepo_profile() -> LexiconDoc<'static> { SmolStr::new_static("lifeEvent"), LexUserType::Object(LexObject { description: Some(CowStr::new_static("A single life event entry.")), - required: Some( - vec![ - SmolStr::new_static("title"), - SmolStr::new_static("startDate") - ], - ), + required: Some(vec![ + SmolStr::new_static("title"), + SmolStr::new_static("startDate"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("description"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("endDate"), @@ -304,7 +308,9 @@ fn lexicon_doc_st_lifepo_profile() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("title"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map }, @@ -314,26 +320,24 @@ fn lexicon_doc_st_lifepo_profile() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::XrpcQuery(LexXrpcQuery { - parameters: Some( - LexXrpcQueryParameter::Params(LexXrpcParameters { - required: Some(vec![SmolStr::new_static("actor")]), - properties: { - #[allow(unused_mut)] - let mut map = BTreeMap::new(); - map.insert( - SmolStr::new_static("actor"), - LexXrpcParametersProperty::String(LexString { - description: Some( - CowStr::new_static("The DID or handle of the user."), - ), - ..Default::default() - }), - ); - map - }, - ..Default::default() - }), - ), + parameters: Some(LexXrpcQueryParameter::Params(LexXrpcParameters { + required: Some(vec![SmolStr::new_static("actor")]), + properties: { + #[allow(unused_mut)] + let mut map = BTreeMap::new(); + map.insert( + SmolStr::new_static("actor"), + LexXrpcParametersProperty::String(LexString { + description: Some(CowStr::new_static( + "The DID or handle of the user.", + )), + ..Default::default() + }), + ); + map + }, + ..Default::default() + })), ..Default::default() }), ); @@ -345,7 +349,7 @@ fn lexicon_doc_st_lifepo_profile() -> LexiconDoc<'static> { pub mod profile_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -406,10 +410,7 @@ where St::Actor: profile_state::IsUnset, { /// Set the `actor` field (required) - pub fn actor( - mut self, - value: impl Into, - ) -> ProfileBuilder> { + pub fn actor(mut self, value: impl Into) -> ProfileBuilder> { self._fields.0 = Option::Some(value.into()); ProfileBuilder { _state: PhantomData, @@ -430,4 +431,4 @@ where actor: self._fields.0.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/st_snowpo.rs b/crates/jacquard-api/src/st_snowpo.rs index 16034acd..a3934c62 100644 --- a/crates/jacquard-api/src/st_snowpo.rs +++ b/crates/jacquard-api/src/st_snowpo.rs @@ -3,4 +3,4 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. -pub mod post; \ No newline at end of file +pub mod post; diff --git a/crates/jacquard-api/src/st_snowpo/post.rs b/crates/jacquard-api/src/st_snowpo/post.rs index fa13dd5a..5dc53160 100644 --- a/crates/jacquard-api/src/st_snowpo/post.rs +++ b/crates/jacquard-api/src/st_snowpo/post.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -27,7 +27,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// Record linking to a Markdown file. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -127,19 +127,16 @@ impl LexiconSchema for Post { { let mime = value.blob().mime_type.as_str(); let accepted: &[&str] = &["text/markdown"]; - let matched = accepted - .iter() - .any(|pattern| { - if *pattern == "*/*" { - true - } else if pattern.ends_with("/*") { - let prefix = &pattern[..pattern.len() - 2]; - mime.starts_with(prefix) - && mime.as_bytes().get(prefix.len()) == Some(&b'/') - } else { - mime == *pattern - } - }); + let matched = accepted.iter().any(|pattern| { + if *pattern == "*/*" { + true + } else if pattern.ends_with("/*") { + let prefix = &pattern[..pattern.len() - 2]; + mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/') + } else { + mime == *pattern + } + }); if !matched { return Err(ConstraintError::BlobMimeTypeNotAccepted { path: ValidationPath::from_field("content"), @@ -165,7 +162,7 @@ impl LexiconSchema for Post { pub mod post_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -346,10 +343,10 @@ where } fn lexicon_doc_st_snowpo_post() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("st.snowpo.post"), @@ -433,4 +430,4 @@ fn lexicon_doc_st_snowpo_post() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/store__88x31.rs b/crates/jacquard-api/src/store__88x31.rs index 118d3185..5e2b5878 100644 --- a/crates/jacquard-api/src/store__88x31.rs +++ b/crates/jacquard-api/src/store__88x31.rs @@ -4,4 +4,4 @@ // Any manual changes will be overwritten on the next regeneration. pub mod button; -pub mod like; \ No newline at end of file +pub mod like; diff --git a/crates/jacquard-api/src/store__88x31/button.rs b/crates/jacquard-api/src/store__88x31/button.rs index 9fd804fd..73aa2d3a 100644 --- a/crates/jacquard-api/src/store__88x31/button.rs +++ b/crates/jacquard-api/src/store__88x31/button.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -27,7 +27,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// Record containing an 88x31 button. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -149,19 +149,16 @@ impl LexiconSchema for Button { { let mime = value.blob().mime_type.as_str(); let accepted: &[&str] = &["image/*"]; - let matched = accepted - .iter() - .any(|pattern| { - if *pattern == "*/*" { - true - } else if pattern.ends_with("/*") { - let prefix = &pattern[..pattern.len() - 2]; - mime.starts_with(prefix) - && mime.as_bytes().get(prefix.len()) == Some(&b'/') - } else { - mime == *pattern - } - }); + let matched = accepted.iter().any(|pattern| { + if *pattern == "*/*" { + true + } else if pattern.ends_with("/*") { + let prefix = &pattern[..pattern.len() - 2]; + mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/') + } else { + mime == *pattern + } + }); if !matched { return Err(ConstraintError::BlobMimeTypeNotAccepted { path: ValidationPath::from_field("blob"), @@ -221,7 +218,7 @@ impl LexiconSchema for Button { pub mod button_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -266,7 +263,13 @@ pub mod button_state { /// Builder for constructing an instance of this type. pub struct ButtonBuilder { _state: PhantomData St>, - _fields: (Option, Option>, Option, Option, Option), + _fields: ( + Option, + Option>, + Option, + Option, + Option, + ), _type: PhantomData S>, } @@ -396,10 +399,10 @@ where } fn lexicon_doc_store_88x31_button() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("store.88x31.button"), @@ -487,4 +490,4 @@ fn lexicon_doc_store_88x31_button() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/store__88x31/like.rs b/crates/jacquard-api/src/store__88x31/like.rs index 51a45ea6..103f20e9 100644 --- a/crates/jacquard-api/src/store__88x31/like.rs +++ b/crates/jacquard-api/src/store__88x31/like.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::com_atproto::repo::strong_ref::StrongRef; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::com_atproto::repo::strong_ref::StrongRef; +use serde::{Deserialize, Serialize}; /// Record declaring a 'like' of a piece of an 88x31 button. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -105,7 +105,7 @@ impl LexiconSchema for Like { pub mod like_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -235,10 +235,10 @@ where } fn lexicon_doc_store_88x31_like() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("store.88x31.like"), @@ -247,19 +247,15 @@ fn lexicon_doc_store_88x31_like() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static( - "Record declaring a 'like' of a piece of an 88x31 button.", - ), - ), + description: Some(CowStr::new_static( + "Record declaring a 'like' of a piece of an 88x31 button.", + )), key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("subject"), - SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("subject"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -288,4 +284,4 @@ fn lexicon_doc_store_88x31_like() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/systems_timker.rs b/crates/jacquard-api/src/systems_timker.rs index feb72576..75389ae6 100644 --- a/crates/jacquard-api/src/systems_timker.rs +++ b/crates/jacquard-api/src/systems_timker.rs @@ -3,4 +3,4 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. -pub mod hawlt; \ No newline at end of file +pub mod hawlt; diff --git a/crates/jacquard-api/src/systems_timker/hawlt.rs b/crates/jacquard-api/src/systems_timker/hawlt.rs index 0b84ae2b..eeab8ca5 100644 --- a/crates/jacquard-api/src/systems_timker/hawlt.rs +++ b/crates/jacquard-api/src/systems_timker/hawlt.rs @@ -6,4 +6,4 @@ pub mod get_note; pub mod list_notes; pub mod note; -pub mod put_note; \ No newline at end of file +pub mod put_note; diff --git a/crates/jacquard-api/src/systems_timker/hawlt/get_note.rs b/crates/jacquard-api/src/systems_timker/hawlt/get_note.rs index bc82fe18..95bdc497 100644 --- a/crates/jacquard-api/src/systems_timker/hawlt/get_note.rs +++ b/crates/jacquard-api/src/systems_timker/hawlt/get_note.rs @@ -8,27 +8,32 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::systems_timker::hawlt::note::Note; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::ident::AtIdentifier; use jacquard_common::types::string::{AtUri, Cid, RecordKey, Rkey}; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::systems_timker::hawlt::note::Note; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetNote { pub repo: AtIdentifier, pub rkey: RecordKey>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetNoteOutput { pub cid: Cid, pub uri: AtUri, @@ -63,7 +68,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetNoteRequest { pub mod get_note_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -181,4 +186,4 @@ where rkey: self._fields.1.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/systems_timker/hawlt/list_notes.rs b/crates/jacquard-api/src/systems_timker/hawlt/list_notes.rs index 81b6451e..8feb0a3f 100644 --- a/crates/jacquard-api/src/systems_timker/hawlt/list_notes.rs +++ b/crates/jacquard-api/src/systems_timker/hawlt/list_notes.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -22,14 +22,17 @@ use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::systems_timker::hawlt::list_notes; +use crate::systems_timker::hawlt::note::Note; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::systems_timker::hawlt::note::Note; -use crate::systems_timker::hawlt::list_notes; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ListNotes { ///(max length: 100) #[serde(skip_serializing_if = "Option::is_none")] @@ -40,9 +43,11 @@ pub struct ListNotes { pub repo: AtIdentifier, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ListNotesOutput { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -54,7 +59,10 @@ pub struct ListNotesOutput { /// A note record with its AT URI, CID, and server-side index timestamp. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct NoteView { pub cid: Cid, pub indexed_at: Datetime, @@ -105,7 +113,7 @@ impl LexiconSchema for NoteView { pub mod list_notes_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -222,7 +230,7 @@ where pub mod note_view_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -297,7 +305,12 @@ pub mod note_view_state { /// Builder for constructing an instance of this type. pub struct NoteViewBuilder { _state: PhantomData St>, - _fields: (Option>, Option, Option>, Option>), + _fields: ( + Option>, + Option, + Option>, + Option>, + ), _type: PhantomData S>, } @@ -426,10 +439,10 @@ where } fn lexicon_doc_systems_timker_hawlt_listNotes() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("systems.timker.hawlt.listNotes"), @@ -438,55 +451,50 @@ fn lexicon_doc_systems_timker_hawlt_listNotes() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::XrpcQuery(LexXrpcQuery { - parameters: Some( - LexXrpcQueryParameter::Params(LexXrpcParameters { - required: Some(vec![SmolStr::new_static("repo")]), - properties: { - #[allow(unused_mut)] - let mut map = BTreeMap::new(); - map.insert( - SmolStr::new_static("cursor"), - LexXrpcParametersProperty::String(LexString { - max_length: Some(100usize), - ..Default::default() - }), - ); - map.insert( - SmolStr::new_static("limit"), - LexXrpcParametersProperty::Integer(LexInteger { - ..Default::default() - }), - ); - map.insert( - SmolStr::new_static("repo"), - LexXrpcParametersProperty::String(LexString { - format: Some(LexStringFormat::AtIdentifier), - ..Default::default() - }), - ); - map - }, - ..Default::default() - }), - ), + parameters: Some(LexXrpcQueryParameter::Params(LexXrpcParameters { + required: Some(vec![SmolStr::new_static("repo")]), + properties: { + #[allow(unused_mut)] + let mut map = BTreeMap::new(); + map.insert( + SmolStr::new_static("cursor"), + LexXrpcParametersProperty::String(LexString { + max_length: Some(100usize), + ..Default::default() + }), + ); + map.insert( + SmolStr::new_static("limit"), + LexXrpcParametersProperty::Integer(LexInteger { + ..Default::default() + }), + ); + map.insert( + SmolStr::new_static("repo"), + LexXrpcParametersProperty::String(LexString { + format: Some(LexStringFormat::AtIdentifier), + ..Default::default() + }), + ); + map + }, + ..Default::default() + })), ..Default::default() }), ); map.insert( SmolStr::new_static("noteView"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "A note record with its AT URI, CID, and server-side index timestamp.", - ), - ), - required: Some( - vec![ - SmolStr::new_static("uri"), SmolStr::new_static("cid"), - SmolStr::new_static("value"), - SmolStr::new_static("indexedAt") - ], - ), + description: Some(CowStr::new_static( + "A note record with its AT URI, CID, and server-side index timestamp.", + )), + required: Some(vec![ + SmolStr::new_static("uri"), + SmolStr::new_static("cid"), + SmolStr::new_static("value"), + SmolStr::new_static("indexedAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -527,4 +535,4 @@ fn lexicon_doc_systems_timker_hawlt_listNotes() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/systems_timker/hawlt/note.rs b/crates/jacquard-api/src/systems_timker/hawlt/note.rs index 2517b3ed..af1c9b9f 100644 --- a/crates/jacquard-api/src/systems_timker/hawlt/note.rs +++ b/crates/jacquard-api/src/systems_timker/hawlt/note.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -25,14 +25,17 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::systems_timker::hawlt::note; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::systems_timker::hawlt::note; +use serde::{Deserialize, Serialize}; /// An image attachment with alt text. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Attachment { ///Alt text for the image. Required for accessibility. pub alt: S, @@ -56,7 +59,7 @@ pub struct Note { #[serde(skip_serializing_if = "Option::is_none")] pub attachments: Option>>, /**The primary note content. Max 3000 graphemes, 30000 bytes -Note: large string limit is intentional for diary-style entries.*/ + Note: large string limit is intentional for diary-style entries.*/ pub content: S, ///Content warning label. When present, note content should be hidden by default. Max 100 graphemes, 1000 bytes #[serde(skip_serializing_if = "Option::is_none")] @@ -143,19 +146,16 @@ impl LexiconSchema for Attachment { { let mime = value.blob().mime_type.as_str(); let accepted: &[&str] = &["image/*"]; - let matched = accepted - .iter() - .any(|pattern| { - if *pattern == "*/*" { - true - } else if pattern.ends_with("/*") { - let prefix = &pattern[..pattern.len() - 2]; - mime.starts_with(prefix) - && mime.as_bytes().get(prefix.len()) == Some(&b'/') - } else { - mime == *pattern - } - }); + let matched = accepted.iter().any(|pattern| { + if *pattern == "*/*" { + true + } else if pattern.ends_with("/*") { + let prefix = &pattern[..pattern.len() - 2]; + mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/') + } else { + mime == *pattern + } + }); if !matched { return Err(ConstraintError::BlobMimeTypeNotAccepted { path: ValidationPath::from_field("image"), @@ -289,7 +289,7 @@ impl LexiconSchema for Note { pub mod attachment_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -409,10 +409,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> Attachment { + pub fn build_with_data(self, extra_data: BTreeMap>) -> Attachment { Attachment { alt: self._fields.0.unwrap(), image: self._fields.1.unwrap(), @@ -422,10 +419,10 @@ where } fn lexicon_doc_systems_timker_hawlt_note() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("systems.timker.hawlt.note"), @@ -434,23 +431,20 @@ fn lexicon_doc_systems_timker_hawlt_note() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("attachment"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("An image attachment with alt text."), - ), - required: Some( - vec![SmolStr::new_static("image"), SmolStr::new_static("alt")], - ), + description: Some(CowStr::new_static("An image attachment with alt text.")), + required: Some(vec![ + SmolStr::new_static("image"), + SmolStr::new_static("alt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("alt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Alt text for the image. Required for accessibility.", - ), - ), + description: Some(CowStr::new_static( + "Alt text for the image. Required for accessibility.", + )), max_length: Some(10000usize), max_graphemes: Some(1000usize), ..Default::default() @@ -458,7 +452,9 @@ fn lexicon_doc_systems_timker_hawlt_note() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("image"), - LexObjectProperty::Blob(LexBlob { ..Default::default() }), + LexObjectProperty::Blob(LexBlob { + ..Default::default() + }), ); map }, @@ -589,7 +585,7 @@ fn lexicon_doc_systems_timker_hawlt_note() -> LexiconDoc<'static> { pub mod note_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -665,10 +661,7 @@ impl NoteBuilder { impl NoteBuilder { /// Set the `attachments` field (optional) - pub fn attachments( - mut self, - value: impl Into>>>, - ) -> Self { + pub fn attachments(mut self, value: impl Into>>>) -> Self { self._fields.0 = value.into(); self } @@ -685,10 +678,7 @@ where St::Content: note_state::IsUnset, { /// Set the `content` field (required) - pub fn content( - mut self, - value: impl Into, - ) -> NoteBuilder> { + pub fn content(mut self, value: impl Into) -> NoteBuilder> { self._fields.1 = Option::Some(value.into()); NoteBuilder { _state: PhantomData, @@ -786,4 +776,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/systems_timker/hawlt/put_note.rs b/crates/jacquard-api/src/systems_timker/hawlt/put_note.rs index 178e5ed0..6222423f 100644 --- a/crates/jacquard-api/src/systems_timker/hawlt/put_note.rs +++ b/crates/jacquard-api/src/systems_timker/hawlt/put_note.rs @@ -8,18 +8,21 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::systems_timker::hawlt::note::Note; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::{AtUri, Cid, RecordKey, Rkey}; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::systems_timker::hawlt::note::Note; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct PutNote { ///The note record to write. pub record: Note, @@ -29,9 +32,11 @@ pub struct PutNote { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct PutNoteOutput { pub cid: Cid, pub uri: AtUri, @@ -50,9 +55,8 @@ impl jacquard_common::xrpc::XrpcResp for PutNoteResponse { impl jacquard_common::xrpc::XrpcRequest for PutNote { const NSID: &'static str = "systems.timker.hawlt.putNote"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = PutNoteResponse; } @@ -60,16 +64,15 @@ impl jacquard_common::xrpc::XrpcRequest for PutNote { pub struct PutNoteRequest; impl jacquard_common::xrpc::XrpcEndpoint for PutNoteRequest { const PATH: &'static str = "/xrpc/systems.timker.hawlt.putNote"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = PutNote; type Response = PutNoteResponse; } pub mod put_note_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -196,4 +199,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/tech_lenooby09.rs b/crates/jacquard-api/src/tech_lenooby09.rs index a9ce2dcc..0880453f 100644 --- a/crates/jacquard-api/src/tech_lenooby09.rs +++ b/crates/jacquard-api/src/tech_lenooby09.rs @@ -3,4 +3,4 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. -pub mod didgit; \ No newline at end of file +pub mod didgit; diff --git a/crates/jacquard-api/src/tech_lenooby09/didgit.rs b/crates/jacquard-api/src/tech_lenooby09/didgit.rs index 027c985d..426eabc9 100644 --- a/crates/jacquard-api/src/tech_lenooby09/didgit.rs +++ b/crates/jacquard-api/src/tech_lenooby09/didgit.rs @@ -5,4 +5,4 @@ pub mod object; pub mod r#ref; -pub mod signature_proof; \ No newline at end of file +pub mod signature_proof; diff --git a/crates/jacquard-api/src/tech_lenooby09/didgit/object.rs b/crates/jacquard-api/src/tech_lenooby09/didgit/object.rs index 1857a35a..2cc507c5 100644 --- a/crates/jacquard-api/src/tech_lenooby09/didgit/object.rs +++ b/crates/jacquard-api/src/tech_lenooby09/didgit/object.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -27,7 +27,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// A did-git object stored in an AT Protocol repository. Each record represents a single content-addressable object (blob, tree, commit, or tag), keyed by its hex SHA-256 object ID. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -206,19 +206,16 @@ impl LexiconSchema for Object { { let mime = value.blob().mime_type.as_str(); let accepted: &[&str] = &["application/octet-stream"]; - let matched = accepted - .iter() - .any(|pattern| { - if *pattern == "*/*" { - true - } else if pattern.ends_with("/*") { - let prefix = &pattern[..pattern.len() - 2]; - mime.starts_with(prefix) - && mime.as_bytes().get(prefix.len()) == Some(&b'/') - } else { - mime == *pattern - } - }); + let matched = accepted.iter().any(|pattern| { + if *pattern == "*/*" { + true + } else if pattern.ends_with("/*") { + let prefix = &pattern[..pattern.len() - 2]; + mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/') + } else { + mime == *pattern + } + }); if !matched { return Err(ConstraintError::BlobMimeTypeNotAccepted { path: ValidationPath::from_field("content"), @@ -245,7 +242,7 @@ impl LexiconSchema for Object { pub mod object_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -375,10 +372,10 @@ where } fn lexicon_doc_tech_lenooby09_didgit_object() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("tech.lenooby09.didgit.object"), @@ -428,4 +425,4 @@ fn lexicon_doc_tech_lenooby09_didgit_object() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/tech_lenooby09/didgit/ref.rs b/crates/jacquard-api/src/tech_lenooby09/didgit/ref.rs index cce31e25..d6f35256 100644 --- a/crates/jacquard-api/src/tech_lenooby09/didgit/ref.rs +++ b/crates/jacquard-api/src/tech_lenooby09/didgit/ref.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// A did-git ref stored in an AT Protocol repository. Each record maps a repository name and ref name (e.g. refs/heads/main) to the hex SHA-256 object ID it points to. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -141,7 +141,7 @@ impl LexiconSchema for Ref { pub mod ref_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -228,10 +228,7 @@ where St::ObjectId: ref_state::IsUnset, { /// Set the `objectId` field (required) - pub fn object_id( - mut self, - value: impl Into, - ) -> RefBuilder> { + pub fn object_id(mut self, value: impl Into) -> RefBuilder> { self._fields.0 = Option::Some(value.into()); RefBuilder { _state: PhantomData, @@ -247,10 +244,7 @@ where St::RefName: ref_state::IsUnset, { /// Set the `refName` field (required) - pub fn ref_name( - mut self, - value: impl Into, - ) -> RefBuilder> { + pub fn ref_name(mut self, value: impl Into) -> RefBuilder> { self._fields.1 = Option::Some(value.into()); RefBuilder { _state: PhantomData, @@ -304,10 +298,10 @@ where } fn lexicon_doc_tech_lenooby09_didgit_ref() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("tech.lenooby09.didgit.ref"), @@ -379,4 +373,4 @@ fn lexicon_doc_tech_lenooby09_didgit_ref() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/tech_lenooby09/didgit/signature_proof.rs b/crates/jacquard-api/src/tech_lenooby09/didgit/signature_proof.rs index 19bdfa87..1c2a3e9f 100644 --- a/crates/jacquard-api/src/tech_lenooby09/didgit/signature_proof.rs +++ b/crates/jacquard-api/src/tech_lenooby09/didgit/signature_proof.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// A cryptographic proof that a did-git object was signed by a specific DID. This provides key-rotation-independent verification by anchoring the proof to a PDS or signing event. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -110,8 +110,7 @@ impl Serialize for SignatureProofObjectType { } } -impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> -for SignatureProofObjectType { +impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> for SignatureProofObjectType { fn deserialize(deserializer: D) -> Result where D: serde::Deserializer<'de>, @@ -139,9 +138,7 @@ where SignatureProofObjectType::Tree => SignatureProofObjectType::Tree, SignatureProofObjectType::Commit => SignatureProofObjectType::Commit, SignatureProofObjectType::Tag => SignatureProofObjectType::Tag, - SignatureProofObjectType::Other(v) => { - SignatureProofObjectType::Other(v.into_static()) - } + SignatureProofObjectType::Other(v) => SignatureProofObjectType::Other(v.into_static()), } } } @@ -272,7 +269,7 @@ impl LexiconSchema for SignatureProof { pub mod signature_proof_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -566,10 +563,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> SignatureProof { + pub fn build_with_data(self, extra_data: BTreeMap>) -> SignatureProof { SignatureProof { object_id: self._fields.0.unwrap(), object_type: self._fields.1.unwrap(), @@ -584,10 +578,10 @@ where } fn lexicon_doc_tech_lenooby09_didgit_signatureProof() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("tech.lenooby09.didgit.signatureProof"), @@ -701,4 +695,4 @@ fn lexicon_doc_tech_lenooby09_didgit_signatureProof() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/tech_manos.rs b/crates/jacquard-api/src/tech_manos.rs index 04f27089..a0f4726a 100644 --- a/crates/jacquard-api/src/tech_manos.rs +++ b/crates/jacquard-api/src/tech_manos.rs @@ -3,4 +3,4 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. -pub mod twmirror; \ No newline at end of file +pub mod twmirror; diff --git a/crates/jacquard-api/src/tech_manos/twmirror.rs b/crates/jacquard-api/src/tech_manos/twmirror.rs index 16034acd..a3934c62 100644 --- a/crates/jacquard-api/src/tech_manos/twmirror.rs +++ b/crates/jacquard-api/src/tech_manos/twmirror.rs @@ -3,4 +3,4 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. -pub mod post; \ No newline at end of file +pub mod post; diff --git a/crates/jacquard-api/src/tech_manos/twmirror/post.rs b/crates/jacquard-api/src/tech_manos/twmirror/post.rs index 1c2c420b..e3dc0983 100644 --- a/crates/jacquard-api/src/tech_manos/twmirror/post.rs +++ b/crates/jacquard-api/src/tech_manos/twmirror/post.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::tech_manos::twmirror::post; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::tech_manos::twmirror::post; +use serde::{Deserialize, Serialize}; pub type TwitterId = S; /// Sidecar record for mirrored Twitter posts. The rkey should match the bskyPost ref. @@ -112,7 +112,7 @@ impl LexiconSchema for Post { pub mod post_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -321,10 +321,10 @@ where } fn lexicon_doc_tech_manos_twmirror_post() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("tech.manos.twmirror.post"), @@ -405,4 +405,4 @@ fn lexicon_doc_tech_manos_twmirror_post() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/tech_tokimeki.rs b/crates/jacquard-api/src/tech_tokimeki.rs index 32e2e33b..29d3a4ce 100644 --- a/crates/jacquard-api/src/tech_tokimeki.rs +++ b/crates/jacquard-api/src/tech_tokimeki.rs @@ -5,4 +5,4 @@ pub mod kaku; pub mod poll; -pub mod takibi; \ No newline at end of file +pub mod takibi; diff --git a/crates/jacquard-api/src/tech_tokimeki/kaku.rs b/crates/jacquard-api/src/tech_tokimeki/kaku.rs index 73584e5b..9ee547be 100644 --- a/crates/jacquard-api/src/tech_tokimeki/kaku.rs +++ b/crates/jacquard-api/src/tech_tokimeki/kaku.rs @@ -13,13 +13,12 @@ pub mod request; pub mod request_response; pub mod room_gate; - #[allow(unused_imports)] use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -30,16 +29,19 @@ use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::app_bsky::actor::ProfileViewBasic; use crate::com_atproto::repo::strong_ref::StrongRef; use crate::tech_tokimeki::kaku; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; /// Width and height representing the aspect ratio of an image #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct AspectRatio { ///Height component of aspect ratio pub height: i64, @@ -52,7 +54,10 @@ pub struct AspectRatio { /// A view of a collection with author profile and item count #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct CollectionView { ///Collection owner profile pub author: ProfileViewBasic, @@ -84,7 +89,10 @@ pub struct CollectionView { /// A view of a drawing post with author profile and metadata #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct PostView { ///Aspect ratio of the image pub aspect_ratio: kaku::AspectRatio, @@ -123,7 +131,10 @@ pub struct PostView { /// Counts of each reaction type on a post #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ReactionCounts { ///Count of kami (godly) reactions Defaults to `0`. #[serde(skip_serializing_if = "Option::is_none")] @@ -237,7 +248,10 @@ where /// A view of a Bluesky reply to a linked post #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ReplyView { ///Reply author profile pub author: ProfileViewBasic, @@ -256,7 +270,10 @@ pub struct ReplyView { /// A view of a response to a drawing request #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct RequestResponseView { ///Response author profile pub author: ProfileViewBasic, @@ -278,7 +295,10 @@ pub struct RequestResponseView { /// A view of a drawing request with author profile and response count #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct RequestView { ///Request author profile pub author: ProfileViewBasic, @@ -606,7 +626,7 @@ impl LexiconSchema for RequestView { pub mod aspect_ratio_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -726,10 +746,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> AspectRatio { + pub fn build_with_data(self, extra_data: BTreeMap>) -> AspectRatio { AspectRatio { height: self._fields.0.unwrap(), width: self._fields.1.unwrap(), @@ -739,10 +756,10 @@ where } fn lexicon_doc_tech_tokimeki_kaku_defs() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("tech.tokimeki.kaku.defs"), @@ -751,14 +768,13 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("aspectRatio"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "Width and height representing the aspect ratio of an image", - ), - ), - required: Some( - vec![SmolStr::new_static("width"), SmolStr::new_static("height")], - ), + description: Some(CowStr::new_static( + "Width and height representing the aspect ratio of an image", + )), + required: Some(vec![ + SmolStr::new_static("width"), + SmolStr::new_static("height"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -784,36 +800,32 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("collectionView"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "A view of a collection with author profile and item count", - ), - ), - required: Some( - vec![ - SmolStr::new_static("uri"), SmolStr::new_static("cid"), - SmolStr::new_static("author"), SmolStr::new_static("name"), - SmolStr::new_static("createdAt") - ], - ), + description: Some(CowStr::new_static( + "A view of a collection with author profile and item count", + )), + required: Some(vec![ + SmolStr::new_static("uri"), + SmolStr::new_static("cid"), + SmolStr::new_static("author"), + SmolStr::new_static("name"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("author"), LexObjectProperty::Ref(LexRef { - r#ref: CowStr::new_static( - "app.bsky.actor.defs#profileViewBasic", - ), + r#ref: CowStr::new_static("app.bsky.actor.defs#profileViewBasic"), ..Default::default() }), ); map.insert( SmolStr::new_static("cid"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("CID of the collection record"), - ), + description: Some(CowStr::new_static( + "CID of the collection record", + )), format: Some(LexStringFormat::Cid), ..Default::default() }), @@ -821,11 +833,9 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("createdAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Timestamp when the collection was created", - ), - ), + description: Some(CowStr::new_static( + "Timestamp when the collection was created", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -833,9 +843,7 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("description"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Collection description"), - ), + description: Some(CowStr::new_static("Collection description")), max_length: Some(500usize), max_graphemes: Some(200usize), ..Default::default() @@ -844,11 +852,9 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("indexedAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Timestamp when the collection was indexed", - ), - ), + description: Some(CowStr::new_static( + "Timestamp when the collection was indexed", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -877,9 +883,9 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("uri"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("AT-URI of the collection record"), - ), + description: Some(CowStr::new_static( + "AT-URI of the collection record", + )), format: Some(LexStringFormat::AtUri), ..Default::default() }), @@ -892,19 +898,17 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("postView"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "A view of a drawing post with author profile and metadata", - ), - ), - required: Some( - vec![ - SmolStr::new_static("uri"), SmolStr::new_static("cid"), - SmolStr::new_static("author"), SmolStr::new_static("image"), - SmolStr::new_static("aspectRatio"), - SmolStr::new_static("createdAt") - ], - ), + description: Some(CowStr::new_static( + "A view of a drawing post with author profile and metadata", + )), + required: Some(vec![ + SmolStr::new_static("uri"), + SmolStr::new_static("cid"), + SmolStr::new_static("author"), + SmolStr::new_static("image"), + SmolStr::new_static("aspectRatio"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -918,18 +922,14 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("author"), LexObjectProperty::Ref(LexRef { - r#ref: CowStr::new_static( - "app.bsky.actor.defs#profileViewBasic", - ), + r#ref: CowStr::new_static("app.bsky.actor.defs#profileViewBasic"), ..Default::default() }), ); map.insert( SmolStr::new_static("cid"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("CID of the post record"), - ), + description: Some(CowStr::new_static("CID of the post record")), format: Some(LexStringFormat::Cid), ..Default::default() }), @@ -937,9 +937,9 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("createdAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Timestamp when the post was created"), - ), + description: Some(CowStr::new_static( + "Timestamp when the post was created", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -947,9 +947,7 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("image"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("URL of the drawing image"), - ), + description: Some(CowStr::new_static("URL of the drawing image")), format: Some(LexStringFormat::Uri), ..Default::default() }), @@ -957,9 +955,9 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("indexedAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Timestamp when the post was indexed"), - ), + description: Some(CowStr::new_static( + "Timestamp when the post was indexed", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -981,9 +979,7 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("tags"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static("Tags for categorization"), - ), + description: Some(CowStr::new_static("Tags for categorization")), items: LexArrayItem::String(LexString { max_length: Some(64usize), max_graphemes: Some(32usize), @@ -996,9 +992,9 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("text"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Optional description or title"), - ), + description: Some(CowStr::new_static( + "Optional description or title", + )), max_length: Some(1000usize), max_graphemes: Some(300usize), ..Default::default() @@ -1007,9 +1003,7 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("uri"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("AT-URI of the post record"), - ), + description: Some(CowStr::new_static("AT-URI of the post record")), format: Some(LexStringFormat::AtUri), ..Default::default() }), @@ -1029,9 +1023,7 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("reactionCounts"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("Counts of each reaction type on a post"), - ), + description: Some(CowStr::new_static("Counts of each reaction type on a post")), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -1080,34 +1072,30 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("replyView"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("A view of a Bluesky reply to a linked post"), - ), - required: Some( - vec![ - SmolStr::new_static("uri"), SmolStr::new_static("cid"), - SmolStr::new_static("author"), SmolStr::new_static("text"), - SmolStr::new_static("createdAt") - ], - ), + description: Some(CowStr::new_static( + "A view of a Bluesky reply to a linked post", + )), + required: Some(vec![ + SmolStr::new_static("uri"), + SmolStr::new_static("cid"), + SmolStr::new_static("author"), + SmolStr::new_static("text"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("author"), LexObjectProperty::Ref(LexRef { - r#ref: CowStr::new_static( - "app.bsky.actor.defs#profileViewBasic", - ), + r#ref: CowStr::new_static("app.bsky.actor.defs#profileViewBasic"), ..Default::default() }), ); map.insert( SmolStr::new_static("cid"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("CID of the Bluesky reply"), - ), + description: Some(CowStr::new_static("CID of the Bluesky reply")), format: Some(LexStringFormat::Cid), ..Default::default() }), @@ -1115,9 +1103,9 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("createdAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Timestamp when the reply was created"), - ), + description: Some(CowStr::new_static( + "Timestamp when the reply was created", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -1134,9 +1122,9 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("uri"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("AT-URI of the Bluesky reply"), - ), + description: Some(CowStr::new_static( + "AT-URI of the Bluesky reply", + )), format: Some(LexStringFormat::AtUri), ..Default::default() }), @@ -1149,34 +1137,30 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("requestResponseView"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("A view of a response to a drawing request"), - ), - required: Some( - vec![ - SmolStr::new_static("uri"), SmolStr::new_static("cid"), - SmolStr::new_static("author"), SmolStr::new_static("post"), - SmolStr::new_static("createdAt") - ], - ), + description: Some(CowStr::new_static( + "A view of a response to a drawing request", + )), + required: Some(vec![ + SmolStr::new_static("uri"), + SmolStr::new_static("cid"), + SmolStr::new_static("author"), + SmolStr::new_static("post"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("author"), LexObjectProperty::Ref(LexRef { - r#ref: CowStr::new_static( - "app.bsky.actor.defs#profileViewBasic", - ), + r#ref: CowStr::new_static("app.bsky.actor.defs#profileViewBasic"), ..Default::default() }), ); map.insert( SmolStr::new_static("cid"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("CID of the response record"), - ), + description: Some(CowStr::new_static("CID of the response record")), format: Some(LexStringFormat::Cid), ..Default::default() }), @@ -1184,11 +1168,9 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("createdAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Timestamp when the response was created", - ), - ), + description: Some(CowStr::new_static( + "Timestamp when the response was created", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -1196,9 +1178,9 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("message"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Optional message to the requester"), - ), + description: Some(CowStr::new_static( + "Optional message to the requester", + )), max_length: Some(500usize), max_graphemes: Some(150usize), ..Default::default() @@ -1214,9 +1196,9 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("uri"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("AT-URI of the response record"), - ), + description: Some(CowStr::new_static( + "AT-URI of the response record", + )), format: Some(LexStringFormat::AtUri), ..Default::default() }), @@ -1229,37 +1211,31 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("requestView"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "A view of a drawing request with author profile and response count", - ), - ), - required: Some( - vec![ - SmolStr::new_static("uri"), SmolStr::new_static("cid"), - SmolStr::new_static("author"), SmolStr::new_static("text"), - SmolStr::new_static("isOpen"), - SmolStr::new_static("createdAt") - ], - ), + description: Some(CowStr::new_static( + "A view of a drawing request with author profile and response count", + )), + required: Some(vec![ + SmolStr::new_static("uri"), + SmolStr::new_static("cid"), + SmolStr::new_static("author"), + SmolStr::new_static("text"), + SmolStr::new_static("isOpen"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("author"), LexObjectProperty::Ref(LexRef { - r#ref: CowStr::new_static( - "app.bsky.actor.defs#profileViewBasic", - ), + r#ref: CowStr::new_static("app.bsky.actor.defs#profileViewBasic"), ..Default::default() }), ); map.insert( SmolStr::new_static("cid"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("CID of the request record"), - ), + description: Some(CowStr::new_static("CID of the request record")), format: Some(LexStringFormat::Cid), ..Default::default() }), @@ -1267,9 +1243,9 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("createdAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Timestamp when the request was created"), - ), + description: Some(CowStr::new_static( + "Timestamp when the request was created", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -1277,9 +1253,9 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("indexedAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Timestamp when the request was indexed"), - ), + description: Some(CowStr::new_static( + "Timestamp when the request was indexed", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -1293,11 +1269,9 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("referenceImages"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static( - "URLs of reference images for the request", - ), - ), + description: Some(CowStr::new_static( + "URLs of reference images for the request", + )), items: LexArrayItem::String(LexString { format: Some(LexStringFormat::Uri), ..Default::default() @@ -1315,9 +1289,7 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("tags"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static("Tags for categorization"), - ), + description: Some(CowStr::new_static("Tags for categorization")), items: LexArrayItem::String(LexString { max_length: Some(64usize), max_graphemes: Some(32usize), @@ -1330,18 +1302,16 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("targetActor"), LexObjectProperty::Ref(LexRef { - r#ref: CowStr::new_static( - "app.bsky.actor.defs#profileViewBasic", - ), + r#ref: CowStr::new_static("app.bsky.actor.defs#profileViewBasic"), ..Default::default() }), ); map.insert( SmolStr::new_static("text"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Description of what to draw"), - ), + description: Some(CowStr::new_static( + "Description of what to draw", + )), max_length: Some(1000usize), max_graphemes: Some(300usize), ..Default::default() @@ -1350,9 +1320,9 @@ fn lexicon_doc_tech_tokimeki_kaku_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("uri"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("AT-URI of the request record"), - ), + description: Some(CowStr::new_static( + "AT-URI of the request record", + )), format: Some(LexStringFormat::AtUri), ..Default::default() }), @@ -1374,7 +1344,7 @@ fn _default_collection_view_is_public() -> Option { pub mod collection_view_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -1671,10 +1641,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> CollectionView { + pub fn build_with_data(self, extra_data: BTreeMap>) -> CollectionView { CollectionView { author: self._fields.0.unwrap(), cid: self._fields.1.unwrap(), @@ -1692,7 +1659,7 @@ where pub mod post_view_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -1835,18 +1802,7 @@ impl PostViewBuilder { PostViewBuilder { _state: PhantomData, _fields: ( - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, + None, None, None, None, None, None, None, None, None, None, None, None, ), _type: PhantomData, } @@ -1976,18 +1932,12 @@ impl PostViewBuilder { impl PostViewBuilder { /// Set the `reactionCounts` field (optional) - pub fn reaction_counts( - mut self, - value: impl Into>>, - ) -> Self { + pub fn reaction_counts(mut self, value: impl Into>>) -> Self { self._fields.7 = value.into(); self } /// Set the `reactionCounts` field to an Option value (optional) - pub fn maybe_reaction_counts( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_reaction_counts(mut self, value: Option>) -> Self { self._fields.7 = value; self } @@ -2040,18 +1990,12 @@ where impl PostViewBuilder { /// Set the `viewerReaction` field (optional) - pub fn viewer_reaction( - mut self, - value: impl Into>>, - ) -> Self { + pub fn viewer_reaction(mut self, value: impl Into>>) -> Self { self._fields.11 = value.into(); self } /// Set the `viewerReaction` field to an Option value (optional) - pub fn maybe_viewer_reaction( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_viewer_reaction(mut self, value: Option>) -> Self { self._fields.11 = value; self } @@ -2140,7 +2084,7 @@ impl Default for ReactionCounts { pub mod reply_view_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -2377,10 +2321,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> ReplyView { + pub fn build_with_data(self, extra_data: BTreeMap>) -> ReplyView { ReplyView { author: self._fields.0.unwrap(), cid: self._fields.1.unwrap(), @@ -2394,7 +2335,7 @@ where pub mod request_response_view_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -2485,10 +2426,7 @@ pub mod request_response_view_state { } /// Builder for constructing an instance of this type. -pub struct RequestResponseViewBuilder< - S: BosStr, - St: request_response_view_state::State, -> { +pub struct RequestResponseViewBuilder { _state: PhantomData St>, _fields: ( Option>, @@ -2576,10 +2514,7 @@ where } } -impl< - S: BosStr, - St: request_response_view_state::State, -> RequestResponseViewBuilder { +impl RequestResponseViewBuilder { /// Set the `message` field (optional) pub fn message(mut self, value: impl Into>) -> Self { self._fields.3 = value.into(); @@ -2652,10 +2587,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> RequestResponseView { + pub fn build_with_data(self, extra_data: BTreeMap>) -> RequestResponseView { RequestResponseView { author: self._fields.0.unwrap(), cid: self._fields.1.unwrap(), @@ -2670,7 +2602,7 @@ where pub mod request_view_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -2811,7 +2743,9 @@ impl RequestViewBuilder { pub fn new() -> Self { RequestViewBuilder { _state: PhantomData, - _fields: (None, None, None, None, None, None, None, None, None, None, None), + _fields: ( + None, None, None, None, None, None, None, None, None, None, None, + ), _type: PhantomData, } } @@ -2908,10 +2842,7 @@ where impl RequestViewBuilder { /// Set the `referenceImages` field (optional) - pub fn reference_images( - mut self, - value: impl Into>>>, - ) -> Self { + pub fn reference_images(mut self, value: impl Into>>>) -> Self { self._fields.5 = value.into(); self } @@ -2950,10 +2881,7 @@ impl RequestViewBuilder { impl RequestViewBuilder { /// Set the `targetActor` field (optional) - pub fn target_actor( - mut self, - value: impl Into>>, - ) -> Self { + pub fn target_actor(mut self, value: impl Into>>) -> Self { self._fields.8 = value.into(); self } @@ -3030,10 +2958,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> RequestView { + pub fn build_with_data(self, extra_data: BTreeMap>) -> RequestView { RequestView { author: self._fields.0.unwrap(), cid: self._fields.1.unwrap(), @@ -3049,4 +2974,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/tech_tokimeki/kaku/collection.rs b/crates/jacquard-api/src/tech_tokimeki/kaku/collection.rs index 081f1354..f757f6c6 100644 --- a/crates/jacquard-api/src/tech_tokimeki/kaku/collection.rs +++ b/crates/jacquard-api/src/tech_tokimeki/kaku/collection.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// A collection to organize drawings into folders #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -173,7 +173,7 @@ fn _default_collection_is_public() -> Option { pub mod collection_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -321,10 +321,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> Collection { + pub fn build_with_data(self, extra_data: BTreeMap>) -> Collection { Collection { created_at: self._fields.0.unwrap(), description: self._fields.1, @@ -336,10 +333,10 @@ where } fn lexicon_doc_tech_tokimeki_kaku_collection() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("tech.tokimeki.kaku.collection"), @@ -348,19 +345,15 @@ fn lexicon_doc_tech_tokimeki_kaku_collection() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static( - "A collection to organize drawings into folders", - ), - ), + description: Some(CowStr::new_static( + "A collection to organize drawings into folders", + )), key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("name"), - SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("name"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -374,9 +367,7 @@ fn lexicon_doc_tech_tokimeki_kaku_collection() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("description"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Collection description"), - ), + description: Some(CowStr::new_static("Collection description")), max_length: Some(500usize), max_graphemes: Some(200usize), ..Default::default() @@ -409,4 +400,4 @@ fn lexicon_doc_tech_tokimeki_kaku_collection() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/tech_tokimeki/kaku/collection_item.rs b/crates/jacquard-api/src/tech_tokimeki/kaku/collection_item.rs index f54b9d51..3ef43fb9 100644 --- a/crates/jacquard-api/src/tech_tokimeki/kaku/collection_item.rs +++ b/crates/jacquard-api/src/tech_tokimeki/kaku/collection_item.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::com_atproto::repo::strong_ref::StrongRef; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::com_atproto::repo::strong_ref::StrongRef; +use serde::{Deserialize, Serialize}; /// An item in a collection linking to a post #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -120,7 +120,7 @@ impl LexiconSchema for CollectionItem { pub mod collection_item_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -179,7 +179,12 @@ pub mod collection_item_state { /// Builder for constructing an instance of this type. pub struct CollectionItemBuilder { _state: PhantomData St>, - _fields: (Option>, Option, Option, Option>), + _fields: ( + Option>, + Option, + Option, + Option>, + ), _type: PhantomData S>, } @@ -289,10 +294,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> CollectionItem { + pub fn build_with_data(self, extra_data: BTreeMap>) -> CollectionItem { CollectionItem { collection: self._fields.0.unwrap(), created_at: self._fields.1.unwrap(), @@ -304,10 +306,10 @@ where } fn lexicon_doc_tech_tokimeki_kaku_collectionItem() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("tech.tokimeki.kaku.collectionItem"), @@ -316,18 +318,16 @@ fn lexicon_doc_tech_tokimeki_kaku_collectionItem() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static("An item in a collection linking to a post"), - ), + description: Some(CowStr::new_static( + "An item in a collection linking to a post", + )), key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("collection"), - SmolStr::new_static("post"), - SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("collection"), + SmolStr::new_static("post"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -370,4 +370,4 @@ fn lexicon_doc_tech_tokimeki_kaku_collectionItem() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/tech_tokimeki/kaku/post.rs b/crates/jacquard-api/src/tech_tokimeki/kaku/post.rs index 79c1af0c..87db4e99 100644 --- a/crates/jacquard-api/src/tech_tokimeki/kaku/post.rs +++ b/crates/jacquard-api/src/tech_tokimeki/kaku/post.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -25,11 +25,11 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::com_atproto::repo::strong_ref::StrongRef; use crate::tech_tokimeki::kaku::AspectRatio; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; /// A drawing post created with the drawing tool #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -135,25 +135,20 @@ impl LexiconSchema for Post { { let mime = value.blob().mime_type.as_str(); let accepted: &[&str] = &["image/png", "image/jpeg"]; - let matched = accepted - .iter() - .any(|pattern| { - if *pattern == "*/*" { - true - } else if pattern.ends_with("/*") { - let prefix = &pattern[..pattern.len() - 2]; - mime.starts_with(prefix) - && mime.as_bytes().get(prefix.len()) == Some(&b'/') - } else { - mime == *pattern - } - }); + let matched = accepted.iter().any(|pattern| { + if *pattern == "*/*" { + true + } else if pattern.ends_with("/*") { + let prefix = &pattern[..pattern.len() - 2]; + mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/') + } else { + mime == *pattern + } + }); if !matched { return Err(ConstraintError::BlobMimeTypeNotAccepted { path: ValidationPath::from_field("image"), - accepted: vec![ - "image/png".to_string(), "image/jpeg".to_string() - ], + accepted: vec!["image/png".to_string(), "image/jpeg".to_string()], actual: mime.to_string(), }); } @@ -197,7 +192,7 @@ impl LexiconSchema for Post { pub mod post_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -431,10 +426,10 @@ where } fn lexicon_doc_tech_tokimeki_kaku_post() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("tech.tokimeki.kaku.post"), @@ -443,20 +438,16 @@ fn lexicon_doc_tech_tokimeki_kaku_post() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static( - "A drawing post created with the drawing tool", - ), - ), + description: Some(CowStr::new_static( + "A drawing post created with the drawing tool", + )), key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("image"), - SmolStr::new_static("aspectRatio"), - SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("image"), + SmolStr::new_static("aspectRatio"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -472,16 +463,18 @@ fn lexicon_doc_tech_tokimeki_kaku_post() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("createdAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Timestamp when the post was created"), - ), + description: Some(CowStr::new_static( + "Timestamp when the post was created", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), ); map.insert( SmolStr::new_static("image"), - LexObjectProperty::Blob(LexBlob { ..Default::default() }), + LexObjectProperty::Blob(LexBlob { + ..Default::default() + }), ); map.insert( SmolStr::new_static("linkedPost"), @@ -500,9 +493,9 @@ fn lexicon_doc_tech_tokimeki_kaku_post() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("tags"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static("Tags for categorization"), - ), + description: Some(CowStr::new_static( + "Tags for categorization", + )), items: LexArrayItem::String(LexString { max_length: Some(64usize), max_graphemes: Some(32usize), @@ -515,9 +508,9 @@ fn lexicon_doc_tech_tokimeki_kaku_post() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("text"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Optional description or title"), - ), + description: Some(CowStr::new_static( + "Optional description or title", + )), max_length: Some(1000usize), max_graphemes: Some(300usize), ..Default::default() @@ -534,4 +527,4 @@ fn lexicon_doc_tech_tokimeki_kaku_post() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/tech_tokimeki/kaku/reaction.rs b/crates/jacquard-api/src/tech_tokimeki/kaku/reaction.rs index 1c6e9e63..66210142 100644 --- a/crates/jacquard-api/src/tech_tokimeki/kaku/reaction.rs +++ b/crates/jacquard-api/src/tech_tokimeki/kaku/reaction.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::com_atproto::repo::strong_ref::StrongRef; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::com_atproto::repo::strong_ref::StrongRef; +use serde::{Deserialize, Serialize}; /// A reaction to a post #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -199,7 +199,7 @@ impl LexiconSchema for Reaction { pub mod reaction_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -258,7 +258,11 @@ pub mod reaction_state { /// Builder for constructing an instance of this type. pub struct ReactionBuilder { _state: PhantomData St>, - _fields: (Option, Option>, Option>), + _fields: ( + Option, + Option>, + Option>, + ), _type: PhantomData S>, } @@ -365,10 +369,10 @@ where } fn lexicon_doc_tech_tokimeki_kaku_reaction() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("tech.tokimeki.kaku.reaction"), @@ -380,12 +384,11 @@ fn lexicon_doc_tech_tokimeki_kaku_reaction() -> LexiconDoc<'static> { description: Some(CowStr::new_static("A reaction to a post")), key: Some(CowStr::new_static("any")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("subject"), SmolStr::new_static("type"), - SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("subject"), + SmolStr::new_static("type"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -421,4 +424,4 @@ fn lexicon_doc_tech_tokimeki_kaku_reaction() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/tech_tokimeki/kaku/request.rs b/crates/jacquard-api/src/tech_tokimeki/kaku/request.rs index e08d3d9b..67492131 100644 --- a/crates/jacquard-api/src/tech_tokimeki/kaku/request.rs +++ b/crates/jacquard-api/src/tech_tokimeki/kaku/request.rs @@ -10,14 +10,14 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::blob::BlobRef; use jacquard_common::types::collection::{Collection, RecordError}; -use jacquard_common::types::string::{Did, AtUri, Cid, Datetime}; +use jacquard_common::types::string::{AtUri, Cid, Datetime, Did}; use jacquard_common::types::uri::{RecordUri, UriError}; use jacquard_common::types::value::Data; use jacquard_common::xrpc::XrpcResp; @@ -27,7 +27,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// A request for someone to draw something #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -167,7 +167,7 @@ fn _default_request_is_open() -> Option { pub mod request_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -275,10 +275,7 @@ impl RequestBuilder { impl RequestBuilder { /// Set the `referenceImages` field (optional) - pub fn reference_images( - mut self, - value: impl Into>>>, - ) -> Self { + pub fn reference_images(mut self, value: impl Into>>>) -> Self { self._fields.2 = value.into(); self } @@ -321,10 +318,7 @@ where St::Text: request_state::IsUnset, { /// Set the `text` field (required) - pub fn text( - mut self, - value: impl Into, - ) -> RequestBuilder> { + pub fn text(mut self, value: impl Into) -> RequestBuilder> { self._fields.5 = Option::Some(value.into()); RequestBuilder { _state: PhantomData, @@ -367,10 +361,10 @@ where } fn lexicon_doc_tech_tokimeki_kaku_request() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("tech.tokimeki.kaku.request"), @@ -379,17 +373,15 @@ fn lexicon_doc_tech_tokimeki_kaku_request() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static("A request for someone to draw something"), - ), + description: Some(CowStr::new_static( + "A request for someone to draw something", + )), key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("text"), - SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("text"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -409,10 +401,12 @@ fn lexicon_doc_tech_tokimeki_kaku_request() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("referenceImages"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static("Reference images for the request"), - ), - items: LexArrayItem::Blob(LexBlob { ..Default::default() }), + description: Some(CowStr::new_static( + "Reference images for the request", + )), + items: LexArrayItem::Blob(LexBlob { + ..Default::default() + }), max_length: Some(4usize), ..Default::default() }), @@ -420,9 +414,9 @@ fn lexicon_doc_tech_tokimeki_kaku_request() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("tags"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static("Tags for categorization"), - ), + description: Some(CowStr::new_static( + "Tags for categorization", + )), items: LexArrayItem::String(LexString { max_length: Some(64usize), ..Default::default() @@ -434,9 +428,9 @@ fn lexicon_doc_tech_tokimeki_kaku_request() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("targetActor"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Optional: specific artist to request"), - ), + description: Some(CowStr::new_static( + "Optional: specific artist to request", + )), format: Some(LexStringFormat::Did), ..Default::default() }), @@ -444,9 +438,9 @@ fn lexicon_doc_tech_tokimeki_kaku_request() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("text"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Description of what to draw"), - ), + description: Some(CowStr::new_static( + "Description of what to draw", + )), max_length: Some(1000usize), max_graphemes: Some(300usize), ..Default::default() @@ -463,4 +457,4 @@ fn lexicon_doc_tech_tokimeki_kaku_request() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/tech_tokimeki/kaku/request_response.rs b/crates/jacquard-api/src/tech_tokimeki/kaku/request_response.rs index 2bd33c66..27379a37 100644 --- a/crates/jacquard-api/src/tech_tokimeki/kaku/request_response.rs +++ b/crates/jacquard-api/src/tech_tokimeki/kaku/request_response.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::com_atproto::repo::strong_ref::StrongRef; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::com_atproto::repo::strong_ref::StrongRef; +use serde::{Deserialize, Serialize}; /// A post created in response to a request #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -133,7 +133,7 @@ impl LexiconSchema for RequestResponse { pub mod request_response_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -192,7 +192,12 @@ pub mod request_response_state { /// Builder for constructing an instance of this type. pub struct RequestResponseBuilder { _state: PhantomData St>, - _fields: (Option, Option, Option>, Option>), + _fields: ( + Option, + Option, + Option>, + Option>, + ), _type: PhantomData S>, } @@ -302,10 +307,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> RequestResponse { + pub fn build_with_data(self, extra_data: BTreeMap>) -> RequestResponse { RequestResponse { created_at: self._fields.0.unwrap(), message: self._fields.1, @@ -317,10 +319,10 @@ where } fn lexicon_doc_tech_tokimeki_kaku_requestResponse() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("tech.tokimeki.kaku.requestResponse"), @@ -329,17 +331,16 @@ fn lexicon_doc_tech_tokimeki_kaku_requestResponse() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static("A post created in response to a request"), - ), + description: Some(CowStr::new_static( + "A post created in response to a request", + )), key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("request"), SmolStr::new_static("post"), - SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("request"), + SmolStr::new_static("post"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -353,9 +354,9 @@ fn lexicon_doc_tech_tokimeki_kaku_requestResponse() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("message"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Optional message to the requester"), - ), + description: Some(CowStr::new_static( + "Optional message to the requester", + )), max_length: Some(500usize), max_graphemes: Some(150usize), ..Default::default() @@ -386,4 +387,4 @@ fn lexicon_doc_tech_tokimeki_kaku_requestResponse() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/tech_tokimeki/kaku/room_gate.rs b/crates/jacquard-api/src/tech_tokimeki/kaku/room_gate.rs index 4a1fe271..40b42a78 100644 --- a/crates/jacquard-api/src/tech_tokimeki/kaku/room_gate.rs +++ b/crates/jacquard-api/src/tech_tokimeki/kaku/room_gate.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::com_atproto::repo::strong_ref::StrongRef; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::com_atproto::repo::strong_ref::StrongRef; +use serde::{Deserialize, Serialize}; /// Gate settings for a ROOM post (like threadgate) #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -115,7 +115,7 @@ fn _default_room_gate_is_closed() -> Option { pub mod room_gate_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -260,10 +260,10 @@ where } fn lexicon_doc_tech_tokimeki_kaku_roomGate() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("tech.tokimeki.kaku.roomGate"), @@ -272,28 +272,24 @@ fn lexicon_doc_tech_tokimeki_kaku_roomGate() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static( - "Gate settings for a ROOM post (like threadgate)", - ), - ), + description: Some(CowStr::new_static( + "Gate settings for a ROOM post (like threadgate)", + )), key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("room"), - SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("room"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("createdAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Timestamp when the gate was created"), - ), + description: Some(CowStr::new_static( + "Timestamp when the gate was created", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -322,4 +318,4 @@ fn lexicon_doc_tech_tokimeki_kaku_roomGate() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/tech_tokimeki/poll.rs b/crates/jacquard-api/src/tech_tokimeki/poll.rs index fbf98e47..6b76d5ca 100644 --- a/crates/jacquard-api/src/tech_tokimeki/poll.rs +++ b/crates/jacquard-api/src/tech_tokimeki/poll.rs @@ -4,4 +4,4 @@ // Any manual changes will be overwritten on the next regeneration. pub mod poll; -pub mod vote; \ No newline at end of file +pub mod vote; diff --git a/crates/jacquard-api/src/tech_tokimeki/poll/poll.rs b/crates/jacquard-api/src/tech_tokimeki/poll/poll.rs index e8557c3a..cdd9895a 100644 --- a/crates/jacquard-api/src/tech_tokimeki/poll/poll.rs +++ b/crates/jacquard-api/src/tech_tokimeki/poll/poll.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::com_atproto::repo::strong_ref::StrongRef; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::com_atproto::repo::strong_ref::StrongRef; +use serde::{Deserialize, Serialize}; /// A poll record that can be attached to a post via embed.external #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -133,7 +133,7 @@ impl LexiconSchema for Poll { pub mod poll_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -192,7 +192,12 @@ pub mod poll_state { /// Builder for constructing an instance of this type. pub struct PollBuilder { _state: PhantomData St>, - _fields: (Option, Option, Option>, Option>), + _fields: ( + Option, + Option, + Option>, + Option>, + ), _type: PhantomData S>, } @@ -314,10 +319,10 @@ where } fn lexicon_doc_tech_tokimeki_poll_poll() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("tech.tokimeki.poll.poll"), @@ -326,20 +331,16 @@ fn lexicon_doc_tech_tokimeki_poll_poll() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static( - "A poll record that can be attached to a post via embed.external", - ), - ), + description: Some(CowStr::new_static( + "A poll record that can be attached to a post via embed.external", + )), key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("options"), - SmolStr::new_static("createdAt"), - SmolStr::new_static("endsAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("options"), + SmolStr::new_static("createdAt"), + SmolStr::new_static("endsAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -353,9 +354,9 @@ fn lexicon_doc_tech_tokimeki_poll_poll() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("endsAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("When the poll closes for voting"), - ), + description: Some(CowStr::new_static( + "When the poll closes for voting", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -363,9 +364,9 @@ fn lexicon_doc_tech_tokimeki_poll_poll() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("options"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static("Poll options (2-4 choices)"), - ), + description: Some(CowStr::new_static( + "Poll options (2-4 choices)", + )), items: LexArrayItem::String(LexString { max_length: Some(100usize), max_graphemes: Some(50usize), @@ -394,4 +395,4 @@ fn lexicon_doc_tech_tokimeki_poll_poll() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/tech_tokimeki/poll/vote.rs b/crates/jacquard-api/src/tech_tokimeki/poll/vote.rs index b554baac..81e292f2 100644 --- a/crates/jacquard-api/src/tech_tokimeki/poll/vote.rs +++ b/crates/jacquard-api/src/tech_tokimeki/poll/vote.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::com_atproto::repo::strong_ref::StrongRef; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::com_atproto::repo::strong_ref::StrongRef; +use serde::{Deserialize, Serialize}; /// A vote on a poll #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -128,7 +128,7 @@ impl LexiconSchema for Vote { pub mod vote_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -294,10 +294,10 @@ where } fn lexicon_doc_tech_tokimeki_poll_vote() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("tech.tokimeki.poll.vote"), @@ -309,13 +309,11 @@ fn lexicon_doc_tech_tokimeki_poll_vote() -> LexiconDoc<'static> { description: Some(CowStr::new_static("A vote on a poll")), key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("poll"), - SmolStr::new_static("optionIndex"), - SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("poll"), + SmolStr::new_static("optionIndex"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -352,4 +350,4 @@ fn lexicon_doc_tech_tokimeki_poll_vote() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/tech_tokimeki/takibi.rs b/crates/jacquard-api/src/tech_tokimeki/takibi.rs index 787d7972..8158529a 100644 --- a/crates/jacquard-api/src/tech_tokimeki/takibi.rs +++ b/crates/jacquard-api/src/tech_tokimeki/takibi.rs @@ -4,4 +4,4 @@ // Any manual changes will be overwritten on the next regeneration. pub mod log; -pub mod spark; \ No newline at end of file +pub mod spark; diff --git a/crates/jacquard-api/src/tech_tokimeki/takibi/log.rs b/crates/jacquard-api/src/tech_tokimeki/takibi/log.rs index c256f41f..48e41412 100644 --- a/crates/jacquard-api/src/tech_tokimeki/takibi/log.rs +++ b/crates/jacquard-api/src/tech_tokimeki/takibi/log.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,11 +24,11 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::com_atproto::repo::strong_ref::StrongRef; use crate::tech_tokimeki::takibi::log; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; /// A log record - adding wood to the fire. Implicitly records visible sparks as a form of 'silent appreciation'. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -61,7 +61,10 @@ pub struct LogGetRecordOutput { /// Reference to a visible spark with timing information #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct SparkRef { ///Milliseconds since the spark appeared on screen (0-10000) pub elapsed: i64, @@ -166,7 +169,7 @@ impl LexiconSchema for SparkRef { pub mod log_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -242,10 +245,7 @@ where impl LogBuilder { /// Set the `visibleSparks` field (optional) - pub fn visible_sparks( - mut self, - value: impl Into>>>, - ) -> Self { + pub fn visible_sparks(mut self, value: impl Into>>>) -> Self { self._fields.1 = value.into(); self } @@ -280,10 +280,10 @@ where } fn lexicon_doc_tech_tokimeki_takibi_log() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("tech.tokimeki.takibi.log"), @@ -336,16 +336,13 @@ fn lexicon_doc_tech_tokimeki_takibi_log() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("sparkRef"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "Reference to a visible spark with timing information", - ), - ), - required: Some( - vec![ - SmolStr::new_static("spark"), SmolStr::new_static("elapsed") - ], - ), + description: Some(CowStr::new_static( + "Reference to a visible spark with timing information", + )), + required: Some(vec![ + SmolStr::new_static("spark"), + SmolStr::new_static("elapsed"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -377,7 +374,7 @@ fn lexicon_doc_tech_tokimeki_takibi_log() -> LexiconDoc<'static> { pub mod spark_ref_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -504,4 +501,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/tech_tokimeki/takibi/spark.rs b/crates/jacquard-api/src/tech_tokimeki/takibi/spark.rs index 09ae3456..6c2b93da 100644 --- a/crates/jacquard-api/src/tech_tokimeki/takibi/spark.rs +++ b/crates/jacquard-api/src/tech_tokimeki/takibi/spark.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// A spark record - throwing a short message into the fire. Something you like or words that cheer you up. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -129,7 +129,7 @@ impl LexiconSchema for Spark { pub mod spark_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -221,10 +221,7 @@ where St::Text: spark_state::IsUnset, { /// Set the `text` field (required) - pub fn text( - mut self, - value: impl Into, - ) -> SparkBuilder> { + pub fn text(mut self, value: impl Into) -> SparkBuilder> { self._fields.1 = Option::Some(value.into()); SparkBuilder { _state: PhantomData, @@ -259,10 +256,10 @@ where } fn lexicon_doc_tech_tokimeki_takibi_spark() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("tech.tokimeki.takibi.spark"), @@ -316,4 +313,4 @@ fn lexicon_doc_tech_tokimeki_takibi_spark() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/to_atpr.rs b/crates/jacquard-api/src/to_atpr.rs index 9e49ee8d..a711309a 100644 --- a/crates/jacquard-api/src/to_atpr.rs +++ b/crates/jacquard-api/src/to_atpr.rs @@ -3,4 +3,4 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. -pub mod link; \ No newline at end of file +pub mod link; diff --git a/crates/jacquard-api/src/to_atpr/link.rs b/crates/jacquard-api/src/to_atpr/link.rs index 045c9d37..b893bc1c 100644 --- a/crates/jacquard-api/src/to_atpr/link.rs +++ b/crates/jacquard-api/src/to_atpr/link.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// A shortened URL mapping #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -115,7 +115,7 @@ impl LexiconSchema for Link { pub mod link_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -207,10 +207,7 @@ where St::Url: link_state::IsUnset, { /// Set the `url` field (required) - pub fn url( - mut self, - value: impl Into>, - ) -> LinkBuilder> { + pub fn url(mut self, value: impl Into>) -> LinkBuilder> { self._fields.1 = Option::Some(value.into()); LinkBuilder { _state: PhantomData, @@ -245,10 +242,10 @@ where } fn lexicon_doc_to_atpr_link() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("to.atpr.link"), @@ -260,11 +257,10 @@ fn lexicon_doc_to_atpr_link() -> LexiconDoc<'static> { description: Some(CowStr::new_static("A shortened URL mapping")), key: Some(CowStr::new_static("any")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("url"), SmolStr::new_static("updatedAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("url"), + SmolStr::new_static("updatedAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -294,4 +290,4 @@ fn lexicon_doc_to_atpr_link() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/tools_ozone.rs b/crates/jacquard-api/src/tools_ozone.rs index ec0258dc..85cd43b7 100644 --- a/crates/jacquard-api/src/tools_ozone.rs +++ b/crates/jacquard-api/src/tools_ozone.rs @@ -13,4 +13,4 @@ pub mod set; pub mod setting; pub mod signature; pub mod team; -pub mod verification; \ No newline at end of file +pub mod verification; diff --git a/crates/jacquard-api/src/tools_ozone/communication.rs b/crates/jacquard-api/src/tools_ozone/communication.rs index 96ecddf3..91aac16d 100644 --- a/crates/jacquard-api/src/tools_ozone/communication.rs +++ b/crates/jacquard-api/src/tools_ozone/communication.rs @@ -10,18 +10,17 @@ pub mod delete_template; pub mod list_templates; pub mod update_template; - #[allow(unused_imports)] use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; use jacquard_common::deps::smol_str::SmolStr; -use jacquard_common::types::string::{Did, Datetime, Language}; +use jacquard_common::types::string::{Datetime, Did, Language}; use jacquard_common::types::value::Data; use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; @@ -29,10 +28,13 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct TemplateView { ///Subject of the message, used in emails. pub content_markdown: S, @@ -71,7 +73,7 @@ impl LexiconSchema for TemplateView { pub mod template_view_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -424,10 +426,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> TemplateView { + pub fn build_with_data(self, extra_data: BTreeMap>) -> TemplateView { TemplateView { content_markdown: self._fields.0.unwrap(), created_at: self._fields.1.unwrap(), @@ -444,10 +443,10 @@ where } fn lexicon_doc_tools_ozone_communication_defs() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("tools.ozone.communication.defs"), @@ -553,4 +552,4 @@ fn lexicon_doc_tools_ozone_communication_defs() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/tools_ozone/communication/create_template.rs b/crates/jacquard-api/src/tools_ozone/communication/create_template.rs index baaeae34..442d966e 100644 --- a/crates/jacquard-api/src/tools_ozone/communication/create_template.rs +++ b/crates/jacquard-api/src/tools_ozone/communication/create_template.rs @@ -8,18 +8,21 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::tools_ozone::communication::TemplateView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::{Did, Language}; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; -use crate::tools_ozone::communication::TemplateView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct CreateTemplate { ///Content of the template, markdown supported, can contain variable placeholders. pub content_markdown: S, @@ -37,9 +40,11 @@ pub struct CreateTemplate { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct CreateTemplateOutput { #[serde(flatten)] pub value: TemplateView, @@ -47,25 +52,19 @@ pub struct CreateTemplateOutput { pub extra_data: Option>>, } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum CreateTemplateError { #[serde(rename = "DuplicateTemplateName")] DuplicateTemplateName(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for CreateTemplateError { @@ -100,9 +99,8 @@ impl jacquard_common::xrpc::XrpcResp for CreateTemplateResponse { impl jacquard_common::xrpc::XrpcRequest for CreateTemplate { const NSID: &'static str = "tools.ozone.communication.createTemplate"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = CreateTemplateResponse; } @@ -110,9 +108,8 @@ impl jacquard_common::xrpc::XrpcRequest for CreateTemplate { pub struct CreateTemplateRequest; impl jacquard_common::xrpc::XrpcEndpoint for CreateTemplateRequest { const PATH: &'static str = "/xrpc/tools.ozone.communication.createTemplate"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = CreateTemplate; type Response = CreateTemplateResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/tools_ozone/communication/delete_template.rs b/crates/jacquard-api/src/tools_ozone/communication/delete_template.rs index 16cbb2c5..13057abc 100644 --- a/crates/jacquard-api/src/tools_ozone/communication/delete_template.rs +++ b/crates/jacquard-api/src/tools_ozone/communication/delete_template.rs @@ -10,14 +10,17 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DeleteTemplate { pub id: S, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -35,9 +38,8 @@ impl jacquard_common::xrpc::XrpcResp for DeleteTemplateResponse { impl jacquard_common::xrpc::XrpcRequest for DeleteTemplate { const NSID: &'static str = "tools.ozone.communication.deleteTemplate"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = DeleteTemplateResponse; } @@ -45,9 +47,8 @@ impl jacquard_common::xrpc::XrpcRequest for DeleteTemplate { pub struct DeleteTemplateRequest; impl jacquard_common::xrpc::XrpcEndpoint for DeleteTemplateRequest { const PATH: &'static str = "/xrpc/tools.ozone.communication.deleteTemplate"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = DeleteTemplate; type Response = DeleteTemplateResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/tools_ozone/communication/list_templates.rs b/crates/jacquard-api/src/tools_ozone/communication/list_templates.rs index 19a90413..f6b720e0 100644 --- a/crates/jacquard-api/src/tools_ozone/communication/list_templates.rs +++ b/crates/jacquard-api/src/tools_ozone/communication/list_templates.rs @@ -8,17 +8,20 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::tools_ozone::communication::TemplateView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::tools_ozone::communication::TemplateView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ListTemplatesOutput { pub communication_templates: Vec>, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -51,4 +54,4 @@ impl jacquard_common::xrpc::XrpcEndpoint for ListTemplatesRequest { const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Query; type Request = ListTemplates; type Response = ListTemplatesResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/tools_ozone/communication/update_template.rs b/crates/jacquard-api/src/tools_ozone/communication/update_template.rs index 30fd45f8..4e403502 100644 --- a/crates/jacquard-api/src/tools_ozone/communication/update_template.rs +++ b/crates/jacquard-api/src/tools_ozone/communication/update_template.rs @@ -8,18 +8,21 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::tools_ozone::communication::TemplateView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::{Did, Language}; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; -use crate::tools_ozone::communication::TemplateView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct UpdateTemplate { ///Content of the template, markdown supported, can contain variable placeholders. #[serde(skip_serializing_if = "Option::is_none")] @@ -44,9 +47,11 @@ pub struct UpdateTemplate { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct UpdateTemplateOutput { #[serde(flatten)] pub value: TemplateView, @@ -54,25 +59,19 @@ pub struct UpdateTemplateOutput { pub extra_data: Option>>, } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum UpdateTemplateError { #[serde(rename = "DuplicateTemplateName")] DuplicateTemplateName(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for UpdateTemplateError { @@ -107,9 +106,8 @@ impl jacquard_common::xrpc::XrpcResp for UpdateTemplateResponse { impl jacquard_common::xrpc::XrpcRequest for UpdateTemplate { const NSID: &'static str = "tools.ozone.communication.updateTemplate"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = UpdateTemplateResponse; } @@ -117,9 +115,8 @@ impl jacquard_common::xrpc::XrpcRequest for UpdateTemplate { pub struct UpdateTemplateRequest; impl jacquard_common::xrpc::XrpcEndpoint for UpdateTemplateRequest { const PATH: &'static str = "/xrpc/tools.ozone.communication.updateTemplate"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = UpdateTemplate; type Response = UpdateTemplateResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/tools_ozone/hosting.rs b/crates/jacquard-api/src/tools_ozone/hosting.rs index e7d93260..f6f5cd2e 100644 --- a/crates/jacquard-api/src/tools_ozone/hosting.rs +++ b/crates/jacquard-api/src/tools_ozone/hosting.rs @@ -3,4 +3,4 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. -pub mod get_account_history; \ No newline at end of file +pub mod get_account_history; diff --git a/crates/jacquard-api/src/tools_ozone/hosting/get_account_history.rs b/crates/jacquard-api/src/tools_ozone/hosting/get_account_history.rs index a75808d3..eb238cd1 100644 --- a/crates/jacquard-api/src/tools_ozone/hosting/get_account_history.rs +++ b/crates/jacquard-api/src/tools_ozone/hosting/get_account_history.rs @@ -10,24 +10,27 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; use jacquard_common::deps::smol_str::SmolStr; -use jacquard_common::types::string::{Did, Handle, Datetime}; +use jacquard_common::types::string::{Datetime, Did, Handle}; use jacquard_common::types::value::Data; use jacquard_derive::{IntoStatic, open_union}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::tools_ozone::hosting::get_account_history; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::tools_ozone::hosting::get_account_history; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct AccountCreated { #[serde(skip_serializing_if = "Option::is_none")] pub email: Option, @@ -37,27 +40,33 @@ pub struct AccountCreated { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct EmailConfirmed { pub email: S, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct EmailUpdated { pub email: S, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Event { pub created_at: Datetime, pub created_by: S, @@ -66,7 +75,6 @@ pub struct Event { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -83,18 +91,22 @@ pub enum EventDetails { HandleUpdated(Box>), } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct HandleUpdated { pub handle: Handle, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetAccountHistory { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -107,9 +119,11 @@ pub struct GetAccountHistory { pub limit: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetAccountHistoryOutput { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -118,9 +132,11 @@ pub struct GetAccountHistoryOutput { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct PasswordUpdated { #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, @@ -241,10 +257,10 @@ impl LexiconSchema for PasswordUpdated { } fn lexicon_doc_tools_ozone_hosting_getAccountHistory() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("tools.ozone.hosting.getAccountHistory"), @@ -259,7 +275,9 @@ fn lexicon_doc_tools_ozone_hosting_getAccountHistory() -> LexiconDoc<'static> { let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("email"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("handle"), @@ -282,7 +300,9 @@ fn lexicon_doc_tools_ozone_hosting_getAccountHistory() -> LexiconDoc<'static> { let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("email"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map }, @@ -298,7 +318,9 @@ fn lexicon_doc_tools_ozone_hosting_getAccountHistory() -> LexiconDoc<'static> { let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("email"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map }, @@ -308,13 +330,11 @@ fn lexicon_doc_tools_ozone_hosting_getAccountHistory() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("event"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("details"), - SmolStr::new_static("createdBy"), - SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("details"), + SmolStr::new_static("createdBy"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -327,7 +347,9 @@ fn lexicon_doc_tools_ozone_hosting_getAccountHistory() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("createdBy"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("details"), @@ -337,7 +359,7 @@ fn lexicon_doc_tools_ozone_hosting_getAccountHistory() -> LexiconDoc<'static> { CowStr::new_static("#emailUpdated"), CowStr::new_static("#emailConfirmed"), CowStr::new_static("#passwordUpdated"), - CowStr::new_static("#handleUpdated") + CowStr::new_static("#handleUpdated"), ], ..Default::default() }), @@ -369,45 +391,43 @@ fn lexicon_doc_tools_ozone_hosting_getAccountHistory() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::XrpcQuery(LexXrpcQuery { - parameters: Some( - LexXrpcQueryParameter::Params(LexXrpcParameters { - required: Some(vec![SmolStr::new_static("did")]), - properties: { - #[allow(unused_mut)] - let mut map = BTreeMap::new(); - map.insert( - SmolStr::new_static("cursor"), - LexXrpcParametersProperty::String(LexString { - ..Default::default() - }), - ); - map.insert( - SmolStr::new_static("did"), - LexXrpcParametersProperty::String(LexString { - format: Some(LexStringFormat::Did), - ..Default::default() - }), - ); - map.insert( - SmolStr::new_static("events"), - LexXrpcParametersProperty::Array(LexPrimitiveArray { - items: LexPrimitiveArrayItem::String(LexString { - ..Default::default() - }), - ..Default::default() - }), - ); - map.insert( - SmolStr::new_static("limit"), - LexXrpcParametersProperty::Integer(LexInteger { + parameters: Some(LexXrpcQueryParameter::Params(LexXrpcParameters { + required: Some(vec![SmolStr::new_static("did")]), + properties: { + #[allow(unused_mut)] + let mut map = BTreeMap::new(); + map.insert( + SmolStr::new_static("cursor"), + LexXrpcParametersProperty::String(LexString { + ..Default::default() + }), + ); + map.insert( + SmolStr::new_static("did"), + LexXrpcParametersProperty::String(LexString { + format: Some(LexStringFormat::Did), + ..Default::default() + }), + ); + map.insert( + SmolStr::new_static("events"), + LexXrpcParametersProperty::Array(LexPrimitiveArray { + items: LexPrimitiveArrayItem::String(LexString { ..Default::default() }), - ); - map - }, - ..Default::default() - }), - ), + ..Default::default() + }), + ); + map.insert( + SmolStr::new_static("limit"), + LexXrpcParametersProperty::Integer(LexInteger { + ..Default::default() + }), + ); + map + }, + ..Default::default() + })), ..Default::default() }), ); @@ -431,7 +451,7 @@ fn lexicon_doc_tools_ozone_hosting_getAccountHistory() -> LexiconDoc<'static> { pub mod event_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -598,7 +618,7 @@ where pub mod handle_updated_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -685,10 +705,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> HandleUpdated { + pub fn build_with_data(self, extra_data: BTreeMap>) -> HandleUpdated { HandleUpdated { handle: self._fields.0.unwrap(), extra_data: Some(extra_data), @@ -702,7 +719,7 @@ fn _default_limit() -> Option { pub mod get_account_history_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -829,4 +846,4 @@ where limit: self._fields.3, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/tools_ozone/moderation.rs b/crates/jacquard-api/src/tools_ozone/moderation.rs index bf6d6789..facbc7b6 100644 --- a/crates/jacquard-api/src/tools_ozone/moderation.rs +++ b/crates/jacquard-api/src/tools_ozone/moderation.rs @@ -21,26 +21,22 @@ pub mod query_statuses; pub mod schedule_action; pub mod search_repos; - #[allow(unused_imports)] use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; use jacquard_common::deps::smol_str::SmolStr; -use jacquard_common::types::string::{Did, Handle, AtUri, Cid, Datetime, UriValue}; +use jacquard_common::types::string::{AtUri, Cid, Datetime, Did, Handle, UriValue}; use jacquard_common::types::value::Data; use jacquard_derive::{IntoStatic, open_union}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::app_bsky::ageassurance::Access; use crate::chat_bsky::convo::MessageRef; use crate::com_atproto::admin::RepoRef; @@ -51,10 +47,16 @@ use crate::com_atproto::moderation::SubjectType; use crate::com_atproto::repo::strong_ref::StrongRef; use crate::com_atproto::server::InviteCode; use crate::tools_ozone::moderation; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; /// Logs account status related events on a repo subject. Normally captured by automod from the firehose and emitted to ozone for historical tracking. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct AccountEvent { ///Indicates that the account has a repository which can be fetched from the host that emitted this event. pub active: bool, @@ -67,7 +69,6 @@ pub struct AccountEvent { pub extra_data: Option>>, } - #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum AccountEventStatus { Unknown, @@ -161,9 +162,11 @@ where } } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct AccountHosting { #[serde(skip_serializing_if = "Option::is_none")] pub created_at: Option, @@ -180,7 +183,6 @@ pub struct AccountHosting { pub extra_data: Option>>, } - #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum AccountHostingStatus { Takendown, @@ -265,9 +267,7 @@ where AccountHostingStatus::Deleted => AccountHostingStatus::Deleted, AccountHostingStatus::Deactivated => AccountHostingStatus::Deactivated, AccountHostingStatus::Unknown => AccountHostingStatus::Unknown, - AccountHostingStatus::Other(v) => { - AccountHostingStatus::Other(v.into_static()) - } + AccountHostingStatus::Other(v) => AccountHostingStatus::Other(v.into_static()), } } } @@ -275,7 +275,10 @@ where /// Statistics about a particular account subject #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct AccountStats { ///Total number of appeals against a moderation action on the account #[serde(skip_serializing_if = "Option::is_none")] @@ -299,7 +302,10 @@ pub struct AccountStats { /// Strike information for an account #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct AccountStrike { ///Current number of active strikes (excluding expired strikes) #[serde(skip_serializing_if = "Option::is_none")] @@ -320,7 +326,10 @@ pub struct AccountStrike { /// Age assurance info coming directly from users. Only works on DID subjects. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct AgeAssuranceEvent { #[serde(skip_serializing_if = "Option::is_none")] pub access: Option>, @@ -430,9 +439,7 @@ where AgeAssuranceEventStatus::Unknown => AgeAssuranceEventStatus::Unknown, AgeAssuranceEventStatus::Pending => AgeAssuranceEventStatus::Pending, AgeAssuranceEventStatus::Assured => AgeAssuranceEventStatus::Assured, - AgeAssuranceEventStatus::Other(v) => { - AgeAssuranceEventStatus::Other(v.into_static()) - } + AgeAssuranceEventStatus::Other(v) => AgeAssuranceEventStatus::Other(v.into_static()), } } } @@ -440,7 +447,10 @@ where /// Age assurance status override by moderators. Only works on DID subjects. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct AgeAssuranceOverrideEvent { #[serde(skip_serializing_if = "Option::is_none")] pub access: Option>, @@ -503,8 +513,7 @@ impl Serialize for AgeAssuranceOverrideEventStatus { } } -impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> -for AgeAssuranceOverrideEventStatus { +impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> for AgeAssuranceOverrideEventStatus { fn deserialize(deserializer: D) -> Result where D: serde::Deserializer<'de>, @@ -528,15 +537,9 @@ where type Output = AgeAssuranceOverrideEventStatus; fn into_static(self) -> Self::Output { match self { - AgeAssuranceOverrideEventStatus::Assured => { - AgeAssuranceOverrideEventStatus::Assured - } - AgeAssuranceOverrideEventStatus::Reset => { - AgeAssuranceOverrideEventStatus::Reset - } - AgeAssuranceOverrideEventStatus::Blocked => { - AgeAssuranceOverrideEventStatus::Blocked - } + AgeAssuranceOverrideEventStatus::Assured => AgeAssuranceOverrideEventStatus::Assured, + AgeAssuranceOverrideEventStatus::Reset => AgeAssuranceOverrideEventStatus::Reset, + AgeAssuranceOverrideEventStatus::Blocked => AgeAssuranceOverrideEventStatus::Blocked, AgeAssuranceOverrideEventStatus::Other(v) => { AgeAssuranceOverrideEventStatus::Other(v.into_static()) } @@ -547,7 +550,10 @@ where /// Purges all age assurance events for the subject. Only works on DID subjects. Moderator-only. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct AgeAssurancePurgeEvent { ///Comment describing the reason for the purge. pub comment: S, @@ -555,9 +561,11 @@ pub struct AgeAssurancePurgeEvent { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct BlobView { pub cid: Cid, pub created_at: Datetime, @@ -571,7 +579,6 @@ pub struct BlobView { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -585,7 +592,10 @@ pub enum BlobViewDetails { /// Logs cancellation of a scheduled takedown action for an account. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct CancelScheduledTakedownEvent { #[serde(skip_serializing_if = "Option::is_none")] pub comment: Option, @@ -596,7 +606,10 @@ pub struct CancelScheduledTakedownEvent { /// Logs identity related events on a repo subject. Normally captured by automod from the firehose and emitted to ozone for historical tracking. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct IdentityEvent { #[serde(skip_serializing_if = "Option::is_none")] pub comment: Option, @@ -611,9 +624,11 @@ pub struct IdentityEvent { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ImageDetails { pub height: i64, pub width: i64, @@ -621,9 +636,11 @@ pub struct ImageDetails { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ModEventAcknowledge { ///If true, all other reports on content authored by this account will be resolved (acknowledged). #[serde(skip_serializing_if = "Option::is_none")] @@ -637,7 +654,10 @@ pub struct ModEventAcknowledge { /// Add a comment to a subject. An empty comment will clear any previously set sticky comment. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ModEventComment { #[serde(skip_serializing_if = "Option::is_none")] pub comment: Option, @@ -651,7 +671,10 @@ pub struct ModEventComment { /// Divert a record's blobs to a 3rd party service for further scanning/tagging #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ModEventDivert { #[serde(skip_serializing_if = "Option::is_none")] pub comment: Option, @@ -662,7 +685,10 @@ pub struct ModEventDivert { /// Keep a log of outgoing email to a user #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ModEventEmail { ///Additional comment about the outgoing comm. #[serde(skip_serializing_if = "Option::is_none")] @@ -691,9 +717,11 @@ pub struct ModEventEmail { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ModEventEscalate { #[serde(skip_serializing_if = "Option::is_none")] pub comment: Option, @@ -704,7 +732,10 @@ pub struct ModEventEscalate { /// Apply/Negate labels on a subject #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ModEventLabel { #[serde(skip_serializing_if = "Option::is_none")] pub comment: Option, @@ -720,7 +751,10 @@ pub struct ModEventLabel { /// Mute incoming reports on a subject #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ModEventMute { #[serde(skip_serializing_if = "Option::is_none")] pub comment: Option, @@ -733,7 +767,10 @@ pub struct ModEventMute { /// Mute incoming reports from an account #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ModEventMuteReporter { #[serde(skip_serializing_if = "Option::is_none")] pub comment: Option, @@ -747,7 +784,10 @@ pub struct ModEventMuteReporter { /// Set priority score of the subject. Higher score means higher priority. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ModEventPriorityScore { #[serde(skip_serializing_if = "Option::is_none")] pub comment: Option, @@ -759,7 +799,10 @@ pub struct ModEventPriorityScore { /// Report a subject #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ModEventReport { #[serde(skip_serializing_if = "Option::is_none")] pub comment: Option, @@ -774,7 +817,10 @@ pub struct ModEventReport { /// Resolve appeal on a subject #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ModEventResolveAppeal { ///Describe resolution. #[serde(skip_serializing_if = "Option::is_none")] @@ -786,7 +832,10 @@ pub struct ModEventResolveAppeal { /// Revert take down action on a subject #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ModEventReverseTakedown { ///Describe reasoning behind the reversal. #[serde(skip_serializing_if = "Option::is_none")] @@ -807,7 +856,10 @@ pub struct ModEventReverseTakedown { /// Add/Remove a tag on a subject #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ModEventTag { ///Tags to be added to the subject. If already exists, won't be duplicated. pub add: Vec, @@ -823,7 +875,10 @@ pub struct ModEventTag { /// Take down a subject permanently or temporarily #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ModEventTakedown { ///If true, all other reports on content authored by this account will be resolved (acknowledged). #[serde(skip_serializing_if = "Option::is_none")] @@ -855,7 +910,10 @@ pub struct ModEventTakedown { /// Unmute action on a subject #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ModEventUnmute { ///Describe reasoning behind the reversal. #[serde(skip_serializing_if = "Option::is_none")] @@ -867,7 +925,10 @@ pub struct ModEventUnmute { /// Unmute incoming reports from an account #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ModEventUnmuteReporter { ///Describe reasoning behind the reversal. #[serde(skip_serializing_if = "Option::is_none")] @@ -876,9 +937,11 @@ pub struct ModEventUnmuteReporter { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ModEventView { pub created_at: Datetime, pub created_by: Did, @@ -896,7 +959,6 @@ pub struct ModEventView { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -953,7 +1015,6 @@ pub enum ModEventViewEvent { CancelScheduledTakedownEvent(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -966,9 +1027,11 @@ pub enum ModEventViewSubject { MessageRef(Box>), } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ModEventViewDetail { pub created_at: Datetime, pub created_by: Did, @@ -982,7 +1045,6 @@ pub struct ModEventViewDetail { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1039,7 +1101,6 @@ pub enum ModEventViewDetailEvent { CancelScheduledTakedownEvent(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -1057,7 +1118,10 @@ pub enum ModEventViewDetailSubject { /// Moderation tool information for tracing the source of the action #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ModTool { ///Additional arbitrary metadata about the source #[serde(skip_serializing_if = "Option::is_none")] @@ -1068,9 +1132,11 @@ pub struct ModTool { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Moderation { #[serde(skip_serializing_if = "Option::is_none")] pub subject_status: Option>, @@ -1078,9 +1144,11 @@ pub struct Moderation { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ModerationDetail { #[serde(skip_serializing_if = "Option::is_none")] pub subject_status: Option>, @@ -1091,7 +1159,10 @@ pub struct ModerationDetail { /// Logs lifecycle event on a record subject. Normally captured by automod from the firehose and emitted to ozone for historical tracking. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct RecordEvent { #[serde(skip_serializing_if = "Option::is_none")] pub cid: Option>, @@ -1103,7 +1174,6 @@ pub struct RecordEvent { pub extra_data: Option>>, } - #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum RecordEventOp { Create, @@ -1185,9 +1255,11 @@ where } } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct RecordHosting { #[serde(skip_serializing_if = "Option::is_none")] pub created_at: Option, @@ -1200,7 +1272,6 @@ pub struct RecordHosting { pub extra_data: Option>>, } - #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum RecordHostingStatus { Deleted, @@ -1278,9 +1349,11 @@ where } } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct RecordView { pub blob_cids: Vec>, pub cid: Cid, @@ -1293,9 +1366,11 @@ pub struct RecordView { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct RecordViewDetail { pub blobs: Vec>, pub cid: Cid, @@ -1310,9 +1385,11 @@ pub struct RecordViewDetail { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct RecordViewNotFound { pub uri: AtUri, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -1322,7 +1399,10 @@ pub struct RecordViewNotFound { /// Statistics about a set of record subject items #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct RecordsStats { ///Number of items that were appealed at least once #[serde(skip_serializing_if = "Option::is_none")] @@ -1352,9 +1432,11 @@ pub struct RecordsStats { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct RepoView { #[serde(skip_serializing_if = "Option::is_none")] pub deactivated_at: Option, @@ -1377,9 +1459,11 @@ pub struct RepoView { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct RepoViewDetail { #[serde(skip_serializing_if = "Option::is_none")] pub deactivated_at: Option, @@ -1408,18 +1492,22 @@ pub struct RepoViewDetail { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct RepoViewNotFound { pub did: Did, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ReporterStats { ///The total number of reports made by the user on accounts. pub account_report_count: i64, @@ -1485,7 +1573,10 @@ impl core::fmt::Display for ReviewOpen { /// Account credentials revocation by moderators. Only works on DID subjects. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct RevokeAccountCredentialsEvent { ///Comment describing the reason for the revocation. pub comment: S, @@ -1496,7 +1587,10 @@ pub struct RevokeAccountCredentialsEvent { /// Logs a scheduled takedown action for an account. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ScheduleTakedownEvent { #[serde(skip_serializing_if = "Option::is_none")] pub comment: Option, @@ -1513,7 +1607,10 @@ pub struct ScheduleTakedownEvent { /// View of a scheduled moderation action #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ScheduledActionView { ///Type of action to be executed pub action: ScheduledActionViewAction, @@ -1603,8 +1700,7 @@ impl Serialize for ScheduledActionViewAction { } } -impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> -for ScheduledActionViewAction { +impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> for ScheduledActionViewAction { fn deserialize(deserializer: D) -> Result where D: serde::Deserializer<'de>, @@ -1690,8 +1786,7 @@ impl Serialize for ScheduledActionViewStatus { } } -impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> -for ScheduledActionViewStatus { +impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> for ScheduledActionViewStatus { fn deserialize(deserializer: D) -> Result where D: serde::Deserializer<'de>, @@ -1726,7 +1821,6 @@ where } } - #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum SubjectReviewState { ToolsOzoneModerationDefsReviewOpen, @@ -1739,36 +1833,28 @@ pub enum SubjectReviewState { impl SubjectReviewState { pub fn as_str(&self) -> &str { match self { - Self::ToolsOzoneModerationDefsReviewOpen => { - "tools.ozone.moderation.defs#reviewOpen" - } + Self::ToolsOzoneModerationDefsReviewOpen => "tools.ozone.moderation.defs#reviewOpen", Self::ToolsOzoneModerationDefsReviewEscalated => { "tools.ozone.moderation.defs#reviewEscalated" } Self::ToolsOzoneModerationDefsReviewClosed => { "tools.ozone.moderation.defs#reviewClosed" } - Self::ToolsOzoneModerationDefsReviewNone => { - "tools.ozone.moderation.defs#reviewNone" - } + Self::ToolsOzoneModerationDefsReviewNone => "tools.ozone.moderation.defs#reviewNone", Self::Other(s) => s.as_ref(), } } /// Construct from a string-like value, matching known values. pub fn from_value(s: S) -> Self { match s.as_ref() { - "tools.ozone.moderation.defs#reviewOpen" => { - Self::ToolsOzoneModerationDefsReviewOpen - } + "tools.ozone.moderation.defs#reviewOpen" => Self::ToolsOzoneModerationDefsReviewOpen, "tools.ozone.moderation.defs#reviewEscalated" => { Self::ToolsOzoneModerationDefsReviewEscalated } "tools.ozone.moderation.defs#reviewClosed" => { Self::ToolsOzoneModerationDefsReviewClosed } - "tools.ozone.moderation.defs#reviewNone" => { - Self::ToolsOzoneModerationDefsReviewNone - } + "tools.ozone.moderation.defs#reviewNone" => Self::ToolsOzoneModerationDefsReviewNone, _ => Self::Other(s), } } @@ -1830,9 +1916,11 @@ where } } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct SubjectStatusView { ///Statistics related to the account subject #[serde(skip_serializing_if = "Option::is_none")] @@ -1951,8 +2039,7 @@ impl Serialize for SubjectStatusViewAgeAssuranceState { } } -impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> -for SubjectStatusViewAgeAssuranceState { +impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> for SubjectStatusViewAgeAssuranceState { fn deserialize(deserializer: D) -> Result where D: serde::Deserializer<'de>, @@ -1985,9 +2072,7 @@ where SubjectStatusViewAgeAssuranceState::Unknown => { SubjectStatusViewAgeAssuranceState::Unknown } - SubjectStatusViewAgeAssuranceState::Reset => { - SubjectStatusViewAgeAssuranceState::Reset - } + SubjectStatusViewAgeAssuranceState::Reset => SubjectStatusViewAgeAssuranceState::Reset, SubjectStatusViewAgeAssuranceState::Blocked => { SubjectStatusViewAgeAssuranceState::Blocked } @@ -2047,7 +2132,8 @@ impl Serialize for SubjectStatusViewAgeAssuranceUpdatedBy { } impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> -for SubjectStatusViewAgeAssuranceUpdatedBy { + for SubjectStatusViewAgeAssuranceUpdatedBy +{ fn deserialize(deserializer: D) -> Result where D: serde::Deserializer<'de>, @@ -2084,7 +2170,6 @@ where } } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2095,7 +2180,6 @@ pub enum SubjectStatusViewHosting { RecordHosting(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -2111,7 +2195,10 @@ pub enum SubjectStatusViewSubject { /// Detailed view of a subject. For record subjects, the author's repo and profile will be returned. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct SubjectView { #[serde(skip_serializing_if = "Option::is_none")] pub profile: Option>, @@ -2157,9 +2244,11 @@ impl core::fmt::Display for TimelineEventPlcTombstone { } } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct VideoDetails { pub height: i64, pub length: i64, @@ -2991,7 +3080,7 @@ impl LexiconSchema for VideoDetails { pub mod account_event_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -3036,7 +3125,12 @@ pub mod account_event_state { /// Builder for constructing an instance of this type. pub struct AccountEventBuilder { _state: PhantomData St>, - _fields: (Option, Option, Option>, Option), + _fields: ( + Option, + Option, + Option>, + Option, + ), _type: PhantomData S>, } @@ -3139,10 +3233,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> AccountEvent { + pub fn build_with_data(self, extra_data: BTreeMap>) -> AccountEvent { AccountEvent { active: self._fields.0.unwrap(), comment: self._fields.1, @@ -3154,10 +3245,10 @@ where } fn lexicon_doc_tools_ozone_moderation_defs() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("tools.ozone.moderation.defs"), @@ -3243,7 +3334,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("status"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("updatedAt"), @@ -3260,11 +3353,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("accountStats"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "Statistics about a particular account subject", - ), - ), + description: Some(CowStr::new_static( + "Statistics about a particular account subject", + )), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -3306,9 +3397,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("accountStrike"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("Strike information for an account"), - ), + description: Some(CowStr::new_static("Strike information for an account")), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -3321,9 +3410,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("firstStrikeAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Timestamp of the first strike received"), - ), + description: Some(CowStr::new_static( + "Timestamp of the first strike received", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -3331,11 +3420,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("lastStrikeAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Timestamp of the most recent strike received", - ), - ), + description: Some(CowStr::new_static( + "Timestamp of the most recent strike received", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -3568,12 +3655,12 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("blobView"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("cid"), SmolStr::new_static("mimeType"), - SmolStr::new_static("size"), SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("cid"), + SmolStr::new_static("mimeType"), + SmolStr::new_static("size"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -3596,14 +3683,16 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> LexiconDoc<'static> { LexObjectProperty::Union(LexRefUnion { refs: vec![ CowStr::new_static("#imageDetails"), - CowStr::new_static("#videoDetails") + CowStr::new_static("#videoDetails"), ], ..Default::default() }), ); map.insert( SmolStr::new_static("mimeType"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("moderation"), @@ -3626,17 +3715,17 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("cancelScheduledTakedownEvent"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "Logs cancellation of a scheduled takedown action for an account.", - ), - ), + description: Some(CowStr::new_static( + "Logs cancellation of a scheduled takedown action for an account.", + )), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("comment"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map }, @@ -3694,9 +3783,10 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("imageDetails"), LexUserType::Object(LexObject { - required: Some( - vec![SmolStr::new_static("width"), SmolStr::new_static("height")], - ), + required: Some(vec![ + SmolStr::new_static("width"), + SmolStr::new_static("height"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -3731,7 +3821,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("comment"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map }, @@ -3890,7 +3982,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> LexiconDoc<'static> { let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("comment"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map }, @@ -3900,21 +3994,19 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("modEventLabel"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("Apply/Negate labels on a subject"), - ), - required: Some( - vec![ - SmolStr::new_static("createLabelVals"), - SmolStr::new_static("negateLabelVals") - ], - ), + description: Some(CowStr::new_static("Apply/Negate labels on a subject")), + required: Some(vec![ + SmolStr::new_static("createLabelVals"), + SmolStr::new_static("negateLabelVals"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("comment"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("createLabelVals"), @@ -3948,16 +4040,16 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("modEventMute"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("Mute incoming reports on a subject"), - ), + description: Some(CowStr::new_static("Mute incoming reports on a subject")), required: Some(vec![SmolStr::new_static("durationInHours")]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("comment"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("durationInHours"), @@ -3973,15 +4065,15 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("modEventMuteReporter"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("Mute incoming reports from an account"), - ), + description: Some(CowStr::new_static("Mute incoming reports from an account")), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("comment"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("durationInHours"), @@ -3997,18 +4089,18 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("modEventPriorityScore"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "Set priority score of the subject. Higher score means higher priority.", - ), - ), + description: Some(CowStr::new_static( + "Set priority score of the subject. Higher score means higher priority.", + )), required: Some(vec![SmolStr::new_static("score")]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("comment"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("score"), @@ -4033,7 +4125,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> LexiconDoc<'static> { let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("comment"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("isReporterMuted"), @@ -4044,9 +4138,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("reportType"), LexObjectProperty::Ref(LexRef { - r#ref: CowStr::new_static( - "com.atproto.moderation.defs#reasonType", - ), + r#ref: CowStr::new_static("com.atproto.moderation.defs#reasonType"), ..Default::default() }), ); @@ -4065,9 +4157,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("comment"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Describe resolution."), - ), + description: Some(CowStr::new_static("Describe resolution.")), ..Default::default() }), ); @@ -4289,11 +4379,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("comment"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Describe reasoning behind the reversal.", - ), - ), + description: Some(CowStr::new_static( + "Describe reasoning behind the reversal.", + )), ..Default::default() }), ); @@ -4305,20 +4393,18 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("modEventUnmuteReporter"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("Unmute incoming reports from an account"), - ), + description: Some(CowStr::new_static( + "Unmute incoming reports from an account", + )), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("comment"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Describe reasoning behind the reversal.", - ), - ), + description: Some(CowStr::new_static( + "Describe reasoning behind the reversal.", + )), ..Default::default() }), ); @@ -4330,15 +4416,14 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("modEventView"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("id"), SmolStr::new_static("event"), - SmolStr::new_static("subject"), - SmolStr::new_static("subjectBlobCids"), - SmolStr::new_static("createdBy"), - SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("id"), + SmolStr::new_static("event"), + SmolStr::new_static("subject"), + SmolStr::new_static("subjectBlobCids"), + SmolStr::new_static("createdBy"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -4358,7 +4443,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("creatorHandle"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("event"), @@ -4388,7 +4475,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> LexiconDoc<'static> { CowStr::new_static("#ageAssurancePurgeEvent"), CowStr::new_static("#revokeAccountCredentialsEvent"), CowStr::new_static("#scheduleTakedownEvent"), - CowStr::new_static("#cancelScheduledTakedownEvent") + CowStr::new_static("#cancelScheduledTakedownEvent"), ], ..Default::default() }), @@ -4412,7 +4499,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> LexiconDoc<'static> { refs: vec![ CowStr::new_static("com.atproto.admin.defs#repoRef"), CowStr::new_static("com.atproto.repo.strongRef"), - CowStr::new_static("chat.bsky.convo.defs#messageRef") + CowStr::new_static("chat.bsky.convo.defs#messageRef"), ], ..Default::default() }), @@ -4428,7 +4515,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("subjectHandle"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map }, @@ -4438,15 +4527,14 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("modEventViewDetail"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("id"), SmolStr::new_static("event"), - SmolStr::new_static("subject"), - SmolStr::new_static("subjectBlobs"), - SmolStr::new_static("createdBy"), - SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("id"), + SmolStr::new_static("event"), + SmolStr::new_static("subject"), + SmolStr::new_static("subjectBlobs"), + SmolStr::new_static("createdBy"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -4492,7 +4580,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> LexiconDoc<'static> { CowStr::new_static("#ageAssurancePurgeEvent"), CowStr::new_static("#revokeAccountCredentialsEvent"), CowStr::new_static("#scheduleTakedownEvent"), - CowStr::new_static("#cancelScheduledTakedownEvent") + CowStr::new_static("#cancelScheduledTakedownEvent"), ], ..Default::default() }), @@ -4517,7 +4605,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> LexiconDoc<'static> { CowStr::new_static("#repoView"), CowStr::new_static("#repoViewNotFound"), CowStr::new_static("#recordView"), - CowStr::new_static("#recordViewNotFound") + CowStr::new_static("#recordViewNotFound"), ], ..Default::default() }), @@ -4671,7 +4759,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("status"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("updatedAt"), @@ -4688,16 +4778,15 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("recordView"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("uri"), SmolStr::new_static("cid"), - SmolStr::new_static("value"), - SmolStr::new_static("blobCids"), - SmolStr::new_static("indexedAt"), - SmolStr::new_static("moderation"), - SmolStr::new_static("repo") - ], - ), + required: Some(vec![ + SmolStr::new_static("uri"), + SmolStr::new_static("cid"), + SmolStr::new_static("value"), + SmolStr::new_static("blobCids"), + SmolStr::new_static("indexedAt"), + SmolStr::new_static("moderation"), + SmolStr::new_static("repo"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -4760,15 +4849,15 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("recordViewDetail"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("uri"), SmolStr::new_static("cid"), - SmolStr::new_static("value"), SmolStr::new_static("blobs"), - SmolStr::new_static("indexedAt"), - SmolStr::new_static("moderation"), - SmolStr::new_static("repo") - ], - ), + required: Some(vec![ + SmolStr::new_static("uri"), + SmolStr::new_static("cid"), + SmolStr::new_static("value"), + SmolStr::new_static("blobs"), + SmolStr::new_static("indexedAt"), + SmolStr::new_static("moderation"), + SmolStr::new_static("repo"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -4860,11 +4949,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("recordsStats"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "Statistics about a set of record subject items", - ), - ), + description: Some(CowStr::new_static( + "Statistics about a set of record subject items", + )), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -4924,14 +5011,13 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("repoView"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("did"), SmolStr::new_static("handle"), - SmolStr::new_static("relatedRecords"), - SmolStr::new_static("indexedAt"), - SmolStr::new_static("moderation") - ], - ), + required: Some(vec![ + SmolStr::new_static("did"), + SmolStr::new_static("handle"), + SmolStr::new_static("relatedRecords"), + SmolStr::new_static("indexedAt"), + SmolStr::new_static("moderation"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -4951,7 +5037,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("email"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("handle"), @@ -4969,14 +5057,14 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("inviteNote"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("invitedBy"), LexObjectProperty::Ref(LexRef { - r#ref: CowStr::new_static( - "com.atproto.server.defs#inviteCode", - ), + r#ref: CowStr::new_static("com.atproto.server.defs#inviteCode"), ..Default::default() }), ); @@ -5022,14 +5110,13 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("repoViewDetail"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("did"), SmolStr::new_static("handle"), - SmolStr::new_static("relatedRecords"), - SmolStr::new_static("indexedAt"), - SmolStr::new_static("moderation") - ], - ), + required: Some(vec![ + SmolStr::new_static("did"), + SmolStr::new_static("handle"), + SmolStr::new_static("relatedRecords"), + SmolStr::new_static("indexedAt"), + SmolStr::new_static("moderation"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -5049,7 +5136,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("email"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("emailConfirmedAt"), @@ -5074,14 +5163,14 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("inviteNote"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("invitedBy"), LexObjectProperty::Ref(LexRef { - r#ref: CowStr::new_static( - "com.atproto.server.defs#inviteCode", - ), + r#ref: CowStr::new_static("com.atproto.server.defs#inviteCode"), ..Default::default() }), ); @@ -5089,9 +5178,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> LexiconDoc<'static> { SmolStr::new_static("invites"), LexObjectProperty::Array(LexArray { items: LexArrayItem::Ref(LexRef { - r#ref: CowStr::new_static( - "com.atproto.server.defs#inviteCode", - ), + r#ref: CowStr::new_static("com.atproto.server.defs#inviteCode"), ..Default::default() }), ..Default::default() @@ -5168,19 +5255,17 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("reporterStats"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("did"), - SmolStr::new_static("accountReportCount"), - SmolStr::new_static("recordReportCount"), - SmolStr::new_static("reportedAccountCount"), - SmolStr::new_static("reportedRecordCount"), - SmolStr::new_static("takendownAccountCount"), - SmolStr::new_static("takendownRecordCount"), - SmolStr::new_static("labeledAccountCount"), - SmolStr::new_static("labeledRecordCount") - ], - ), + required: Some(vec![ + SmolStr::new_static("did"), + SmolStr::new_static("accountReportCount"), + SmolStr::new_static("recordReportCount"), + SmolStr::new_static("reportedAccountCount"), + SmolStr::new_static("reportedRecordCount"), + SmolStr::new_static("takendownAccountCount"), + SmolStr::new_static("takendownRecordCount"), + SmolStr::new_static("labeledAccountCount"), + SmolStr::new_static("labeledRecordCount"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -5246,28 +5331,34 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("reviewClosed"), - LexUserType::Token(LexToken { ..Default::default() }), + LexUserType::Token(LexToken { + ..Default::default() + }), ); map.insert( SmolStr::new_static("reviewEscalated"), - LexUserType::Token(LexToken { ..Default::default() }), + LexUserType::Token(LexToken { + ..Default::default() + }), ); map.insert( SmolStr::new_static("reviewNone"), - LexUserType::Token(LexToken { ..Default::default() }), + LexUserType::Token(LexToken { + ..Default::default() + }), ); map.insert( SmolStr::new_static("reviewOpen"), - LexUserType::Token(LexToken { ..Default::default() }), + LexUserType::Token(LexToken { + ..Default::default() + }), ); map.insert( SmolStr::new_static("revokeAccountCredentialsEvent"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "Account credentials revocation by moderators. Only works on DID subjects.", - ), - ), + description: Some(CowStr::new_static( + "Account credentials revocation by moderators. Only works on DID subjects.", + )), required: Some(vec![SmolStr::new_static("comment")]), properties: { #[allow(unused_mut)] @@ -5275,11 +5366,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("comment"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Comment describing the reason for the revocation.", - ), - ), + description: Some(CowStr::new_static( + "Comment describing the reason for the revocation.", + )), min_length: Some(1usize), ..Default::default() }), @@ -5292,17 +5381,17 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("scheduleTakedownEvent"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "Logs a scheduled takedown action for an account.", - ), - ), + description: Some(CowStr::new_static( + "Logs a scheduled takedown action for an account.", + )), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("comment"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("executeAfter"), @@ -5495,7 +5584,9 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("subjectReviewState"), - LexUserType::String(LexString { ..Default::default() }), + LexUserType::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("subjectStatusView"), @@ -5785,25 +5876,30 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("timelineEventPlcCreate"), - LexUserType::Token(LexToken { ..Default::default() }), + LexUserType::Token(LexToken { + ..Default::default() + }), ); map.insert( SmolStr::new_static("timelineEventPlcOperation"), - LexUserType::Token(LexToken { ..Default::default() }), + LexUserType::Token(LexToken { + ..Default::default() + }), ); map.insert( SmolStr::new_static("timelineEventPlcTombstone"), - LexUserType::Token(LexToken { ..Default::default() }), + LexUserType::Token(LexToken { + ..Default::default() + }), ); map.insert( SmolStr::new_static("videoDetails"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("width"), SmolStr::new_static("height"), - SmolStr::new_static("length") - ], - ), + required: Some(vec![ + SmolStr::new_static("width"), + SmolStr::new_static("height"), + SmolStr::new_static("length"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -5838,7 +5934,7 @@ fn lexicon_doc_tools_ozone_moderation_defs() -> LexiconDoc<'static> { pub mod age_assurance_event_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -6102,10 +6198,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> AgeAssuranceEvent { + pub fn build_with_data(self, extra_data: BTreeMap>) -> AgeAssuranceEvent { AgeAssuranceEvent { access: self._fields.0, attempt_id: self._fields.1.unwrap(), @@ -6124,7 +6217,7 @@ where pub mod blob_view_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -6300,10 +6393,7 @@ where impl BlobViewBuilder { /// Set the `moderation` field (optional) - pub fn moderation( - mut self, - value: impl Into>>, - ) -> Self { + pub fn moderation(mut self, value: impl Into>>) -> Self { self._fields.4 = value.into(); self } @@ -6369,7 +6459,7 @@ where pub mod identity_event_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -6518,10 +6608,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> IdentityEvent { + pub fn build_with_data(self, extra_data: BTreeMap>) -> IdentityEvent { IdentityEvent { comment: self._fields.0, handle: self._fields.1, @@ -6535,7 +6622,7 @@ where pub mod image_details_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -6655,10 +6742,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> ImageDetails { + pub fn build_with_data(self, extra_data: BTreeMap>) -> ImageDetails { ImageDetails { height: self._fields.0.unwrap(), width: self._fields.1.unwrap(), @@ -6669,7 +6753,7 @@ where pub mod mod_event_label_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -6817,10 +6901,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> ModEventLabel { + pub fn build_with_data(self, extra_data: BTreeMap>) -> ModEventLabel { ModEventLabel { comment: self._fields.0, create_label_vals: self._fields.1.unwrap(), @@ -6833,7 +6914,7 @@ where pub mod mod_event_mute_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -6934,10 +7015,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> ModEventMute { + pub fn build_with_data(self, extra_data: BTreeMap>) -> ModEventMute { ModEventMute { comment: self._fields.0, duration_in_hours: self._fields.1.unwrap(), @@ -6948,7 +7026,7 @@ where pub mod mod_event_priority_score_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -6979,10 +7057,7 @@ pub mod mod_event_priority_score_state { } /// Builder for constructing an instance of this type. -pub struct ModEventPriorityScoreBuilder< - S: BosStr, - St: mod_event_priority_score_state::State, -> { +pub struct ModEventPriorityScoreBuilder { _state: PhantomData St>, _fields: (Option, Option), _type: PhantomData S>, @@ -6990,10 +7065,7 @@ pub struct ModEventPriorityScoreBuilder< impl ModEventPriorityScore { /// Create a new builder for this type. - pub fn new() -> ModEventPriorityScoreBuilder< - S, - mod_event_priority_score_state::Empty, - > { + pub fn new() -> ModEventPriorityScoreBuilder { ModEventPriorityScoreBuilder::new() } } @@ -7009,10 +7081,7 @@ impl ModEventPriorityScoreBuilder ModEventPriorityScoreBuilder { +impl ModEventPriorityScoreBuilder { /// Set the `comment` field (optional) pub fn comment(mut self, value: impl Into>) -> Self { self._fields.0 = value.into(); @@ -7072,7 +7141,7 @@ where pub mod mod_event_report_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -7187,10 +7256,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> ModEventReport { + pub fn build_with_data(self, extra_data: BTreeMap>) -> ModEventReport { ModEventReport { comment: self._fields.0, is_reporter_muted: self._fields.1, @@ -7202,7 +7268,7 @@ where pub mod mod_event_tag_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -7336,10 +7402,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> ModEventTag { + pub fn build_with_data(self, extra_data: BTreeMap>) -> ModEventTag { ModEventTag { add: self._fields.0.unwrap(), comment: self._fields.1, @@ -7351,7 +7414,7 @@ where pub mod mod_event_view_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -7675,10 +7738,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> ModEventView { + pub fn build_with_data(self, extra_data: BTreeMap>) -> ModEventView { ModEventView { created_at: self._fields.0.unwrap(), created_by: self._fields.1.unwrap(), @@ -7696,7 +7756,7 @@ where pub mod mod_event_view_detail_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -7915,10 +7975,7 @@ where } } -impl< - S: BosStr, - St: mod_event_view_detail_state::State, -> ModEventViewDetailBuilder { +impl ModEventViewDetailBuilder { /// Set the `modTool` field (optional) pub fn mod_tool(mut self, value: impl Into>>) -> Self { self._fields.4 = value.into(); @@ -7993,10 +8050,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> ModEventViewDetail { + pub fn build_with_data(self, extra_data: BTreeMap>) -> ModEventViewDetail { ModEventViewDetail { created_at: self._fields.0.unwrap(), created_by: self._fields.1.unwrap(), @@ -8012,7 +8066,7 @@ where pub mod record_event_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -8057,7 +8111,12 @@ pub mod record_event_state { /// Builder for constructing an instance of this type. pub struct RecordEventBuilder { _state: PhantomData St>, - _fields: (Option>, Option, Option>, Option), + _fields: ( + Option>, + Option, + Option>, + Option, + ), _type: PhantomData S>, } @@ -8160,10 +8219,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> RecordEvent { + pub fn build_with_data(self, extra_data: BTreeMap>) -> RecordEvent { RecordEvent { cid: self._fields.0, comment: self._fields.1, @@ -8176,7 +8232,7 @@ where pub mod record_view_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -8499,10 +8555,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> RecordView { + pub fn build_with_data(self, extra_data: BTreeMap>) -> RecordView { RecordView { blob_cids: self._fields.0.unwrap(), cid: self._fields.1.unwrap(), @@ -8518,7 +8571,7 @@ where pub mod record_view_detail_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -8856,10 +8909,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> RecordViewDetail { + pub fn build_with_data(self, extra_data: BTreeMap>) -> RecordViewDetail { RecordViewDetail { blobs: self._fields.0.unwrap(), cid: self._fields.1.unwrap(), @@ -8876,7 +8926,7 @@ where pub mod record_view_not_found_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -8963,10 +9013,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> RecordViewNotFound { + pub fn build_with_data(self, extra_data: BTreeMap>) -> RecordViewNotFound { RecordViewNotFound { uri: self._fields.0.unwrap(), extra_data: Some(extra_data), @@ -8976,7 +9023,7 @@ where pub mod repo_view_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -9097,7 +9144,9 @@ impl RepoViewBuilder { pub fn new() -> Self { RepoViewBuilder { _state: PhantomData, - _fields: (None, None, None, None, None, None, None, None, None, None, None), + _fields: ( + None, None, None, None, None, None, None, None, None, None, None, + ), _type: PhantomData, } } @@ -9265,18 +9314,12 @@ where impl RepoViewBuilder { /// Set the `threatSignatures` field (optional) - pub fn threat_signatures( - mut self, - value: impl Into>>>, - ) -> Self { + pub fn threat_signatures(mut self, value: impl Into>>>) -> Self { self._fields.10 = value.into(); self } /// Set the `threatSignatures` field to an Option value (optional) - pub fn maybe_threat_signatures( - mut self, - value: Option>>, - ) -> Self { + pub fn maybe_threat_signatures(mut self, value: Option>>) -> Self { self._fields.10 = value; self } @@ -9329,7 +9372,7 @@ where pub mod repo_view_detail_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -9454,20 +9497,7 @@ impl RepoViewDetailBuilder { RepoViewDetailBuilder { _state: PhantomData, _fields: ( - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, ), _type: PhantomData, } @@ -9675,18 +9705,12 @@ where impl RepoViewDetailBuilder { /// Set the `threatSignatures` field (optional) - pub fn threat_signatures( - mut self, - value: impl Into>>>, - ) -> Self { + pub fn threat_signatures(mut self, value: impl Into>>>) -> Self { self._fields.13 = value.into(); self } /// Set the `threatSignatures` field to an Option value (optional) - pub fn maybe_threat_signatures( - mut self, - value: Option>>, - ) -> Self { + pub fn maybe_threat_signatures(mut self, value: Option>>) -> Self { self._fields.13 = value; self } @@ -9722,10 +9746,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> RepoViewDetail { + pub fn build_with_data(self, extra_data: BTreeMap>) -> RepoViewDetail { RepoViewDetail { deactivated_at: self._fields.0, did: self._fields.1.unwrap(), @@ -9748,7 +9769,7 @@ where pub mod repo_view_not_found_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -9835,10 +9856,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> RepoViewNotFound { + pub fn build_with_data(self, extra_data: BTreeMap>) -> RepoViewNotFound { RepoViewNotFound { did: self._fields.0.unwrap(), extra_data: Some(extra_data), @@ -9848,7 +9866,7 @@ where pub mod reporter_stats_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -10265,10 +10283,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> ReporterStats { + pub fn build_with_data(self, extra_data: BTreeMap>) -> ReporterStats { ReporterStats { account_report_count: self._fields.0.unwrap(), did: self._fields.1.unwrap(), @@ -10286,7 +10301,7 @@ where pub mod scheduled_action_view_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -10397,10 +10412,7 @@ pub mod scheduled_action_view_state { } /// Builder for constructing an instance of this type. -pub struct ScheduledActionViewBuilder< - S: BosStr, - St: scheduled_action_view_state::State, -> { +pub struct ScheduledActionViewBuilder { _state: PhantomData St>, _fields: ( Option>, @@ -10435,20 +10447,7 @@ impl ScheduledActionViewBuilder ScheduledActionViewBuilder { +impl ScheduledActionViewBuilder { /// Set the `eventData` field (optional) pub fn event_data(mut self, value: impl Into>>) -> Self { self._fields.4 = value.into(); @@ -10548,10 +10544,7 @@ impl< } } -impl< - S: BosStr, - St: scheduled_action_view_state::State, -> ScheduledActionViewBuilder { +impl ScheduledActionViewBuilder { /// Set the `executeAfter` field (optional) pub fn execute_after(mut self, value: impl Into>) -> Self { self._fields.5 = value.into(); @@ -10564,10 +10557,7 @@ impl< } } -impl< - S: BosStr, - St: scheduled_action_view_state::State, -> ScheduledActionViewBuilder { +impl ScheduledActionViewBuilder { /// Set the `executeAt` field (optional) pub fn execute_at(mut self, value: impl Into>) -> Self { self._fields.6 = value.into(); @@ -10580,10 +10570,7 @@ impl< } } -impl< - S: BosStr, - St: scheduled_action_view_state::State, -> ScheduledActionViewBuilder { +impl ScheduledActionViewBuilder { /// Set the `executeUntil` field (optional) pub fn execute_until(mut self, value: impl Into>) -> Self { self._fields.7 = value.into(); @@ -10596,10 +10583,7 @@ impl< } } -impl< - S: BosStr, - St: scheduled_action_view_state::State, -> ScheduledActionViewBuilder { +impl ScheduledActionViewBuilder { /// Set the `executionEventId` field (optional) pub fn execution_event_id(mut self, value: impl Into>) -> Self { self._fields.8 = value.into(); @@ -10631,10 +10615,7 @@ where } } -impl< - S: BosStr, - St: scheduled_action_view_state::State, -> ScheduledActionViewBuilder { +impl ScheduledActionViewBuilder { /// Set the `lastExecutedAt` field (optional) pub fn last_executed_at(mut self, value: impl Into>) -> Self { self._fields.10 = value.into(); @@ -10647,10 +10628,7 @@ impl< } } -impl< - S: BosStr, - St: scheduled_action_view_state::State, -> ScheduledActionViewBuilder { +impl ScheduledActionViewBuilder { /// Set the `lastFailureReason` field (optional) pub fn last_failure_reason(mut self, value: impl Into>) -> Self { self._fields.11 = value.into(); @@ -10663,10 +10641,7 @@ impl< } } -impl< - S: BosStr, - St: scheduled_action_view_state::State, -> ScheduledActionViewBuilder { +impl ScheduledActionViewBuilder { /// Set the `randomizeExecution` field (optional) pub fn randomize_execution(mut self, value: impl Into>) -> Self { self._fields.12 = value.into(); @@ -10698,10 +10673,7 @@ where } } -impl< - S: BosStr, - St: scheduled_action_view_state::State, -> ScheduledActionViewBuilder { +impl ScheduledActionViewBuilder { /// Set the `updatedAt` field (optional) pub fn updated_at(mut self, value: impl Into>) -> Self { self._fields.14 = value.into(); @@ -10746,10 +10718,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> ScheduledActionView { + pub fn build_with_data(self, extra_data: BTreeMap>) -> ScheduledActionView { ScheduledActionView { action: self._fields.0.unwrap(), created_at: self._fields.1.unwrap(), @@ -10773,7 +10742,7 @@ where pub mod subject_status_view_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -10909,31 +10878,8 @@ impl SubjectStatusViewBuilder { SubjectStatusViewBuilder { _state: PhantomData, _fields: ( - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, ), _type: PhantomData, } @@ -10942,18 +10888,12 @@ impl SubjectStatusViewBuilder { impl SubjectStatusViewBuilder { /// Set the `accountStats` field (optional) - pub fn account_stats( - mut self, - value: impl Into>>, - ) -> Self { + pub fn account_stats(mut self, value: impl Into>>) -> Self { self._fields.0 = value.into(); self } /// Set the `accountStats` field to an Option value (optional) - pub fn maybe_account_stats( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_account_stats(mut self, value: Option>) -> Self { self._fields.0 = value; self } @@ -10969,10 +10909,7 @@ impl SubjectStatusViewBuilder>, - ) -> Self { + pub fn maybe_account_strike(mut self, value: Option>) -> Self { self._fields.1 = value; self } @@ -11063,10 +11000,7 @@ where impl SubjectStatusViewBuilder { /// Set the `hosting` field (optional) - pub fn hosting( - mut self, - value: impl Into>>, - ) -> Self { + pub fn hosting(mut self, value: impl Into>>) -> Self { self._fields.7 = value.into(); self } @@ -11189,18 +11123,12 @@ impl SubjectStatusViewBuilder SubjectStatusViewBuilder { /// Set the `recordsStats` field (optional) - pub fn records_stats( - mut self, - value: impl Into>>, - ) -> Self { + pub fn records_stats(mut self, value: impl Into>>) -> Self { self._fields.16 = value.into(); self } /// Set the `recordsStats` field to an Option value (optional) - pub fn maybe_records_stats( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_records_stats(mut self, value: Option>) -> Self { self._fields.16 = value; self } @@ -11369,10 +11297,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> SubjectStatusView { + pub fn build_with_data(self, extra_data: BTreeMap>) -> SubjectStatusView { SubjectStatusView { account_stats: self._fields.0, account_strike: self._fields.1, @@ -11406,7 +11331,7 @@ where pub mod subject_view_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -11495,18 +11420,12 @@ impl SubjectViewBuilder { impl SubjectViewBuilder { /// Set the `record` field (optional) - pub fn record( - mut self, - value: impl Into>>, - ) -> Self { + pub fn record(mut self, value: impl Into>>) -> Self { self._fields.1 = value.into(); self } /// Set the `record` field to an Option value (optional) - pub fn maybe_record( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_record(mut self, value: Option>) -> Self { self._fields.1 = value; self } @@ -11514,10 +11433,7 @@ impl SubjectViewBuilder { impl SubjectViewBuilder { /// Set the `repo` field (optional) - pub fn repo( - mut self, - value: impl Into>>, - ) -> Self { + pub fn repo(mut self, value: impl Into>>) -> Self { self._fields.2 = value.into(); self } @@ -11530,18 +11446,12 @@ impl SubjectViewBuilder { impl SubjectViewBuilder { /// Set the `status` field (optional) - pub fn status( - mut self, - value: impl Into>>, - ) -> Self { + pub fn status(mut self, value: impl Into>>) -> Self { self._fields.3 = value.into(); self } /// Set the `status` field to an Option value (optional) - pub fn maybe_status( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_status(mut self, value: Option>) -> Self { self._fields.3 = value; self } @@ -11604,10 +11514,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> SubjectView { + pub fn build_with_data(self, extra_data: BTreeMap>) -> SubjectView { SubjectView { profile: self._fields.0, record: self._fields.1, @@ -11622,7 +11529,7 @@ where pub mod video_details_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -11777,10 +11684,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> VideoDetails { + pub fn build_with_data(self, extra_data: BTreeMap>) -> VideoDetails { VideoDetails { height: self._fields.0.unwrap(), length: self._fields.1.unwrap(), @@ -11788,4 +11692,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/tools_ozone/moderation/cancel_scheduled_actions.rs b/crates/jacquard-api/src/tools_ozone/moderation/cancel_scheduled_actions.rs index abd9d931..1124dd40 100644 --- a/crates/jacquard-api/src/tools_ozone/moderation/cancel_scheduled_actions.rs +++ b/crates/jacquard-api/src/tools_ozone/moderation/cancel_scheduled_actions.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -21,13 +21,16 @@ use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::tools_ozone::moderation::cancel_scheduled_actions; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::tools_ozone::moderation::cancel_scheduled_actions; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct CancellationResults { ///DIDs for which cancellation failed with error details pub failed: Vec>, @@ -37,9 +40,11 @@ pub struct CancellationResults { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct FailedCancellation { pub did: Did, pub error: S, @@ -49,9 +54,11 @@ pub struct FailedCancellation { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct CancelScheduledActions { ///Optional comment describing the reason for cancellation #[serde(skip_serializing_if = "Option::is_none")] @@ -62,9 +69,11 @@ pub struct CancelScheduledActions { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct CancelScheduledActionsOutput { #[serde(flatten)] pub value: Data, @@ -113,9 +122,8 @@ impl jacquard_common::xrpc::XrpcResp for CancelScheduledActionsResponse { impl jacquard_common::xrpc::XrpcRequest for CancelScheduledActions { const NSID: &'static str = "tools.ozone.moderation.cancelScheduledActions"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = CancelScheduledActionsResponse; } @@ -123,16 +131,15 @@ impl jacquard_common::xrpc::XrpcRequest for CancelScheduledActions pub struct CancelScheduledActionsRequest; impl jacquard_common::xrpc::XrpcEndpoint for CancelScheduledActionsRequest { const PATH: &'static str = "/xrpc/tools.ozone.moderation.cancelScheduledActions"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = CancelScheduledActions; type Response = CancelScheduledActionsResponse; } pub mod cancellation_results_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -255,10 +262,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> CancellationResults { + pub fn build_with_data(self, extra_data: BTreeMap>) -> CancellationResults { CancellationResults { failed: self._fields.0.unwrap(), succeeded: self._fields.1.unwrap(), @@ -268,10 +272,10 @@ where } fn lexicon_doc_tools_ozone_moderation_cancelScheduledActions() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("tools.ozone.moderation.cancelScheduledActions"), @@ -327,9 +331,10 @@ fn lexicon_doc_tools_ozone_moderation_cancelScheduledActions() -> LexiconDoc<'st map.insert( SmolStr::new_static("failedCancellation"), LexUserType::Object(LexObject { - required: Some( - vec![SmolStr::new_static("did"), SmolStr::new_static("error")], - ), + required: Some(vec![ + SmolStr::new_static("did"), + SmolStr::new_static("error"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -342,11 +347,15 @@ fn lexicon_doc_tools_ozone_moderation_cancelScheduledActions() -> LexiconDoc<'st ); map.insert( SmolStr::new_static("error"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("errorCode"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map }, @@ -409,7 +418,7 @@ fn lexicon_doc_tools_ozone_moderation_cancelScheduledActions() -> LexiconDoc<'st pub mod failed_cancellation_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -543,10 +552,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> FailedCancellation { + pub fn build_with_data(self, extra_data: BTreeMap>) -> FailedCancellation { FailedCancellation { did: self._fields.0.unwrap(), error: self._fields.1.unwrap(), @@ -558,7 +564,7 @@ where pub mod cancel_scheduled_actions_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -589,10 +595,7 @@ pub mod cancel_scheduled_actions_state { } /// Builder for constructing an instance of this type. -pub struct CancelScheduledActionsBuilder< - S: BosStr, - St: cancel_scheduled_actions_state::State, -> { +pub struct CancelScheduledActionsBuilder { _state: PhantomData St>, _fields: (Option, Option>>), _type: PhantomData S>, @@ -600,10 +603,7 @@ pub struct CancelScheduledActionsBuilder< impl CancelScheduledActions { /// Create a new builder for this type. - pub fn new() -> CancelScheduledActionsBuilder< - S, - cancel_scheduled_actions_state::Empty, - > { + pub fn new() -> CancelScheduledActionsBuilder { CancelScheduledActionsBuilder::new() } } @@ -619,10 +619,7 @@ impl CancelScheduledActionsBuilder CancelScheduledActionsBuilder { +impl CancelScheduledActionsBuilder { /// Set the `comment` field (optional) pub fn comment(mut self, value: impl Into>) -> Self { self._fields.0 = value.into(); @@ -644,10 +641,7 @@ where pub fn subjects( mut self, value: impl Into>>, - ) -> CancelScheduledActionsBuilder< - S, - cancel_scheduled_actions_state::SetSubjects, - > { + ) -> CancelScheduledActionsBuilder> { self._fields.1 = Option::Some(value.into()); CancelScheduledActionsBuilder { _state: PhantomData, @@ -681,4 +675,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/tools_ozone/moderation/emit_event.rs b/crates/jacquard-api/src/tools_ozone/moderation/emit_event.rs index d00e8344..8b67e2ec 100644 --- a/crates/jacquard-api/src/tools_ozone/moderation/emit_event.rs +++ b/crates/jacquard-api/src/tools_ozone/moderation/emit_event.rs @@ -8,14 +8,6 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; -#[allow(unused_imports)] -use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; -use jacquard_common::deps::smol_str::SmolStr; -use jacquard_common::types::string::{Did, Cid}; -use jacquard_common::types::value::Data; -use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; use crate::com_atproto::admin::RepoRef; use crate::com_atproto::repo::strong_ref::StrongRef; use crate::tools_ozone::moderation::AccountEvent; @@ -45,9 +37,20 @@ use crate::tools_ozone::moderation::ModTool; use crate::tools_ozone::moderation::RecordEvent; use crate::tools_ozone::moderation::RevokeAccountCredentialsEvent; use crate::tools_ozone::moderation::ScheduleTakedownEvent; +#[allow(unused_imports)] +use core::marker::PhantomData; +use jacquard_common::deps::smol_str::SmolStr; +use jacquard_common::types::string::{Cid, Did}; +use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; +use jacquard_derive::{IntoStatic, open_union}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct EmitEvent { pub created_by: Did, pub event: EmitEventEvent, @@ -63,7 +66,6 @@ pub struct EmitEvent { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -120,7 +122,6 @@ pub enum EmitEventEvent { CancelScheduledTakedownEvent(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -131,9 +132,11 @@ pub enum EmitEventSubject { StrongRef(Box>), } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct EmitEventOutput { #[serde(flatten)] pub value: ModEventView, @@ -141,18 +144,9 @@ pub struct EmitEventOutput { pub extra_data: Option>>, } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum EmitEventError { #[serde(rename = "SubjectHasAction")] @@ -162,7 +156,10 @@ pub enum EmitEventError { DuplicateExternalId(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for EmitEventError { @@ -204,9 +201,8 @@ impl jacquard_common::xrpc::XrpcResp for EmitEventResponse { impl jacquard_common::xrpc::XrpcRequest for EmitEvent { const NSID: &'static str = "tools.ozone.moderation.emitEvent"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = EmitEventResponse; } @@ -214,16 +210,15 @@ impl jacquard_common::xrpc::XrpcRequest for EmitEvent { pub struct EmitEventRequest; impl jacquard_common::xrpc::XrpcEndpoint for EmitEventRequest { const PATH: &'static str = "/xrpc/tools.ozone.moderation.emitEvent"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = EmitEvent; type Response = EmitEventResponse; } pub mod emit_event_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -427,10 +422,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> EmitEvent { + pub fn build_with_data(self, extra_data: BTreeMap>) -> EmitEvent { EmitEvent { created_by: self._fields.0.unwrap(), event: self._fields.1.unwrap(), @@ -441,4 +433,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/tools_ozone/moderation/get_account_timeline.rs b/crates/jacquard-api/src/tools_ozone/moderation/get_account_timeline.rs index 68b0260a..26dc1a55 100644 --- a/crates/jacquard-api/src/tools_ozone/moderation/get_account_timeline.rs +++ b/crates/jacquard-api/src/tools_ozone/moderation/get_account_timeline.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -21,45 +21,44 @@ use jacquard_derive::{IntoStatic, open_union}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::tools_ozone::moderation::get_account_timeline; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::tools_ozone::moderation::get_account_timeline; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetAccountTimeline { pub did: Did, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetAccountTimelineOutput { pub timeline: Vec>, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum GetAccountTimelineError { #[serde(rename = "RepoNotFound")] RepoNotFound(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for GetAccountTimelineError { @@ -83,9 +82,11 @@ impl core::fmt::Display for GetAccountTimelineError { } } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct TimelineItem { pub day: S, pub summary: Vec>, @@ -93,9 +94,11 @@ pub struct TimelineItem { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct TimelineItemSummary { pub count: i64, pub event_subject_type: TimelineItemSummaryEventSubjectType, @@ -104,7 +107,6 @@ pub struct TimelineItemSummary { pub extra_data: Option>>, } - #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum TimelineItemSummaryEventSubjectType { Account, @@ -155,7 +157,8 @@ impl Serialize for TimelineItemSummaryEventSubjectType { } impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> -for TimelineItemSummaryEventSubjectType { + for TimelineItemSummaryEventSubjectType +{ fn deserialize(deserializer: D) -> Result where D: serde::Deserializer<'de>, @@ -185,9 +188,7 @@ where TimelineItemSummaryEventSubjectType::Record => { TimelineItemSummaryEventSubjectType::Record } - TimelineItemSummaryEventSubjectType::Chat => { - TimelineItemSummaryEventSubjectType::Chat - } + TimelineItemSummaryEventSubjectType::Chat => TimelineItemSummaryEventSubjectType::Chat, TimelineItemSummaryEventSubjectType::Other(v) => { TimelineItemSummaryEventSubjectType::Other(v.into_static()) } @@ -195,7 +196,6 @@ where } } - #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum TimelineItemSummaryEventType { ModEventTakedown, @@ -236,36 +236,24 @@ impl TimelineItemSummaryEventType { pub fn as_str(&self) -> &str { match self { Self::ModEventTakedown => "tools.ozone.moderation.defs#modEventTakedown", - Self::ModEventReverseTakedown => { - "tools.ozone.moderation.defs#modEventReverseTakedown" - } + Self::ModEventReverseTakedown => "tools.ozone.moderation.defs#modEventReverseTakedown", Self::ModEventComment => "tools.ozone.moderation.defs#modEventComment", Self::ModEventReport => "tools.ozone.moderation.defs#modEventReport", Self::ModEventLabel => "tools.ozone.moderation.defs#modEventLabel", - Self::ModEventAcknowledge => { - "tools.ozone.moderation.defs#modEventAcknowledge" - } + Self::ModEventAcknowledge => "tools.ozone.moderation.defs#modEventAcknowledge", Self::ModEventEscalate => "tools.ozone.moderation.defs#modEventEscalate", Self::ModEventMute => "tools.ozone.moderation.defs#modEventMute", Self::ModEventUnmute => "tools.ozone.moderation.defs#modEventUnmute", - Self::ModEventMuteReporter => { - "tools.ozone.moderation.defs#modEventMuteReporter" - } - Self::ModEventUnmuteReporter => { - "tools.ozone.moderation.defs#modEventUnmuteReporter" - } + Self::ModEventMuteReporter => "tools.ozone.moderation.defs#modEventMuteReporter", + Self::ModEventUnmuteReporter => "tools.ozone.moderation.defs#modEventUnmuteReporter", Self::ModEventEmail => "tools.ozone.moderation.defs#modEventEmail", - Self::ModEventResolveAppeal => { - "tools.ozone.moderation.defs#modEventResolveAppeal" - } + Self::ModEventResolveAppeal => "tools.ozone.moderation.defs#modEventResolveAppeal", Self::ModEventDivert => "tools.ozone.moderation.defs#modEventDivert", Self::ModEventTag => "tools.ozone.moderation.defs#modEventTag", Self::AccountEvent => "tools.ozone.moderation.defs#accountEvent", Self::IdentityEvent => "tools.ozone.moderation.defs#identityEvent", Self::RecordEvent => "tools.ozone.moderation.defs#recordEvent", - Self::ModEventPriorityScore => { - "tools.ozone.moderation.defs#modEventPriorityScore" - } + Self::ModEventPriorityScore => "tools.ozone.moderation.defs#modEventPriorityScore", Self::RevokeAccountCredentialsEvent => { "tools.ozone.moderation.defs#revokeAccountCredentialsEvent" } @@ -273,28 +261,18 @@ impl TimelineItemSummaryEventType { Self::AgeAssuranceOverrideEvent => { "tools.ozone.moderation.defs#ageAssuranceOverrideEvent" } - Self::TimelineEventPlcCreate => { - "tools.ozone.moderation.defs#timelineEventPlcCreate" - } + Self::TimelineEventPlcCreate => "tools.ozone.moderation.defs#timelineEventPlcCreate", Self::TimelineEventPlcOperation => { "tools.ozone.moderation.defs#timelineEventPlcOperation" } Self::TimelineEventPlcTombstone => { "tools.ozone.moderation.defs#timelineEventPlcTombstone" } - Self::AccountCreated => { - "tools.ozone.hosting.getAccountHistory#accountCreated" - } - Self::EmailConfirmed => { - "tools.ozone.hosting.getAccountHistory#emailConfirmed" - } - Self::PasswordUpdated => { - "tools.ozone.hosting.getAccountHistory#passwordUpdated" - } + Self::AccountCreated => "tools.ozone.hosting.getAccountHistory#accountCreated", + Self::EmailConfirmed => "tools.ozone.hosting.getAccountHistory#emailConfirmed", + Self::PasswordUpdated => "tools.ozone.hosting.getAccountHistory#passwordUpdated", Self::HandleUpdated => "tools.ozone.hosting.getAccountHistory#handleUpdated", - Self::ScheduleTakedownEvent => { - "tools.ozone.moderation.defs#scheduleTakedownEvent" - } + Self::ScheduleTakedownEvent => "tools.ozone.moderation.defs#scheduleTakedownEvent", Self::CancelScheduledTakedownEvent => { "tools.ozone.moderation.defs#cancelScheduledTakedownEvent" } @@ -305,36 +283,24 @@ impl TimelineItemSummaryEventType { pub fn from_value(s: S) -> Self { match s.as_ref() { "tools.ozone.moderation.defs#modEventTakedown" => Self::ModEventTakedown, - "tools.ozone.moderation.defs#modEventReverseTakedown" => { - Self::ModEventReverseTakedown - } + "tools.ozone.moderation.defs#modEventReverseTakedown" => Self::ModEventReverseTakedown, "tools.ozone.moderation.defs#modEventComment" => Self::ModEventComment, "tools.ozone.moderation.defs#modEventReport" => Self::ModEventReport, "tools.ozone.moderation.defs#modEventLabel" => Self::ModEventLabel, - "tools.ozone.moderation.defs#modEventAcknowledge" => { - Self::ModEventAcknowledge - } + "tools.ozone.moderation.defs#modEventAcknowledge" => Self::ModEventAcknowledge, "tools.ozone.moderation.defs#modEventEscalate" => Self::ModEventEscalate, "tools.ozone.moderation.defs#modEventMute" => Self::ModEventMute, "tools.ozone.moderation.defs#modEventUnmute" => Self::ModEventUnmute, - "tools.ozone.moderation.defs#modEventMuteReporter" => { - Self::ModEventMuteReporter - } - "tools.ozone.moderation.defs#modEventUnmuteReporter" => { - Self::ModEventUnmuteReporter - } + "tools.ozone.moderation.defs#modEventMuteReporter" => Self::ModEventMuteReporter, + "tools.ozone.moderation.defs#modEventUnmuteReporter" => Self::ModEventUnmuteReporter, "tools.ozone.moderation.defs#modEventEmail" => Self::ModEventEmail, - "tools.ozone.moderation.defs#modEventResolveAppeal" => { - Self::ModEventResolveAppeal - } + "tools.ozone.moderation.defs#modEventResolveAppeal" => Self::ModEventResolveAppeal, "tools.ozone.moderation.defs#modEventDivert" => Self::ModEventDivert, "tools.ozone.moderation.defs#modEventTag" => Self::ModEventTag, "tools.ozone.moderation.defs#accountEvent" => Self::AccountEvent, "tools.ozone.moderation.defs#identityEvent" => Self::IdentityEvent, "tools.ozone.moderation.defs#recordEvent" => Self::RecordEvent, - "tools.ozone.moderation.defs#modEventPriorityScore" => { - Self::ModEventPriorityScore - } + "tools.ozone.moderation.defs#modEventPriorityScore" => Self::ModEventPriorityScore, "tools.ozone.moderation.defs#revokeAccountCredentialsEvent" => { Self::RevokeAccountCredentialsEvent } @@ -342,28 +308,18 @@ impl TimelineItemSummaryEventType { "tools.ozone.moderation.defs#ageAssuranceOverrideEvent" => { Self::AgeAssuranceOverrideEvent } - "tools.ozone.moderation.defs#timelineEventPlcCreate" => { - Self::TimelineEventPlcCreate - } + "tools.ozone.moderation.defs#timelineEventPlcCreate" => Self::TimelineEventPlcCreate, "tools.ozone.moderation.defs#timelineEventPlcOperation" => { Self::TimelineEventPlcOperation } "tools.ozone.moderation.defs#timelineEventPlcTombstone" => { Self::TimelineEventPlcTombstone } - "tools.ozone.hosting.getAccountHistory#accountCreated" => { - Self::AccountCreated - } - "tools.ozone.hosting.getAccountHistory#emailConfirmed" => { - Self::EmailConfirmed - } - "tools.ozone.hosting.getAccountHistory#passwordUpdated" => { - Self::PasswordUpdated - } + "tools.ozone.hosting.getAccountHistory#accountCreated" => Self::AccountCreated, + "tools.ozone.hosting.getAccountHistory#emailConfirmed" => Self::EmailConfirmed, + "tools.ozone.hosting.getAccountHistory#passwordUpdated" => Self::PasswordUpdated, "tools.ozone.hosting.getAccountHistory#handleUpdated" => Self::HandleUpdated, - "tools.ozone.moderation.defs#scheduleTakedownEvent" => { - Self::ScheduleTakedownEvent - } + "tools.ozone.moderation.defs#scheduleTakedownEvent" => Self::ScheduleTakedownEvent, "tools.ozone.moderation.defs#cancelScheduledTakedownEvent" => { Self::CancelScheduledTakedownEvent } @@ -393,8 +349,7 @@ impl Serialize for TimelineItemSummaryEventType { } } -impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> -for TimelineItemSummaryEventType { +impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> for TimelineItemSummaryEventType { fn deserialize(deserializer: D) -> Result where D: serde::Deserializer<'de>, @@ -460,18 +415,14 @@ where TimelineItemSummaryEventType::ModEventDivert => { TimelineItemSummaryEventType::ModEventDivert } - TimelineItemSummaryEventType::ModEventTag => { - TimelineItemSummaryEventType::ModEventTag - } + TimelineItemSummaryEventType::ModEventTag => TimelineItemSummaryEventType::ModEventTag, TimelineItemSummaryEventType::AccountEvent => { TimelineItemSummaryEventType::AccountEvent } TimelineItemSummaryEventType::IdentityEvent => { TimelineItemSummaryEventType::IdentityEvent } - TimelineItemSummaryEventType::RecordEvent => { - TimelineItemSummaryEventType::RecordEvent - } + TimelineItemSummaryEventType::RecordEvent => TimelineItemSummaryEventType::RecordEvent, TimelineItemSummaryEventType::ModEventPriorityScore => { TimelineItemSummaryEventType::ModEventPriorityScore } @@ -574,7 +525,7 @@ impl LexiconSchema for TimelineItemSummary { pub mod get_account_timeline_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -663,7 +614,7 @@ where pub mod timeline_item_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -708,7 +659,10 @@ pub mod timeline_item_state { /// Builder for constructing an instance of this type. pub struct TimelineItemBuilder { _state: PhantomData St>, - _fields: (Option, Option>>), + _fields: ( + Option, + Option>>, + ), _type: PhantomData S>, } @@ -783,10 +737,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> TimelineItem { + pub fn build_with_data(self, extra_data: BTreeMap>) -> TimelineItem { TimelineItem { day: self._fields.0.unwrap(), summary: self._fields.1.unwrap(), @@ -796,10 +747,10 @@ where } fn lexicon_doc_tools_ozone_moderation_getAccountTimeline() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("tools.ozone.moderation.getAccountTimeline"), @@ -808,39 +759,40 @@ fn lexicon_doc_tools_ozone_moderation_getAccountTimeline() -> LexiconDoc<'static map.insert( SmolStr::new_static("main"), LexUserType::XrpcQuery(LexXrpcQuery { - parameters: Some( - LexXrpcQueryParameter::Params(LexXrpcParameters { - required: Some(vec![SmolStr::new_static("did")]), - properties: { - #[allow(unused_mut)] - let mut map = BTreeMap::new(); - map.insert( - SmolStr::new_static("did"), - LexXrpcParametersProperty::String(LexString { - format: Some(LexStringFormat::Did), - ..Default::default() - }), - ); - map - }, - ..Default::default() - }), - ), + parameters: Some(LexXrpcQueryParameter::Params(LexXrpcParameters { + required: Some(vec![SmolStr::new_static("did")]), + properties: { + #[allow(unused_mut)] + let mut map = BTreeMap::new(); + map.insert( + SmolStr::new_static("did"), + LexXrpcParametersProperty::String(LexString { + format: Some(LexStringFormat::Did), + ..Default::default() + }), + ); + map + }, + ..Default::default() + })), ..Default::default() }), ); map.insert( SmolStr::new_static("timelineItem"), LexUserType::Object(LexObject { - required: Some( - vec![SmolStr::new_static("day"), SmolStr::new_static("summary")], - ), + required: Some(vec![ + SmolStr::new_static("day"), + SmolStr::new_static("summary"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("day"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("summary"), @@ -860,13 +812,11 @@ fn lexicon_doc_tools_ozone_moderation_getAccountTimeline() -> LexiconDoc<'static map.insert( SmolStr::new_static("timelineItemSummary"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("eventSubjectType"), - SmolStr::new_static("eventType"), - SmolStr::new_static("count") - ], - ), + required: Some(vec![ + SmolStr::new_static("eventSubjectType"), + SmolStr::new_static("eventType"), + SmolStr::new_static("count"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -878,11 +828,15 @@ fn lexicon_doc_tools_ozone_moderation_getAccountTimeline() -> LexiconDoc<'static ); map.insert( SmolStr::new_static("eventSubjectType"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("eventType"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map }, @@ -897,7 +851,7 @@ fn lexicon_doc_tools_ozone_moderation_getAccountTimeline() -> LexiconDoc<'static pub mod timeline_item_summary_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -954,10 +908,7 @@ pub mod timeline_item_summary_state { } /// Builder for constructing an instance of this type. -pub struct TimelineItemSummaryBuilder< - S: BosStr, - St: timeline_item_summary_state::State, -> { +pub struct TimelineItemSummaryBuilder { _state: PhantomData St>, _fields: ( Option, @@ -1013,10 +964,7 @@ where pub fn event_subject_type( mut self, value: impl Into>, - ) -> TimelineItemSummaryBuilder< - S, - timeline_item_summary_state::SetEventSubjectType, - > { + ) -> TimelineItemSummaryBuilder> { self._fields.1 = Option::Some(value.into()); TimelineItemSummaryBuilder { _state: PhantomData, @@ -1062,10 +1010,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> TimelineItemSummary { + pub fn build_with_data(self, extra_data: BTreeMap>) -> TimelineItemSummary { TimelineItemSummary { count: self._fields.0.unwrap(), event_subject_type: self._fields.1.unwrap(), @@ -1073,4 +1018,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/tools_ozone/moderation/get_event.rs b/crates/jacquard-api/src/tools_ozone/moderation/get_event.rs index 6c8e76af..8c26a990 100644 --- a/crates/jacquard-api/src/tools_ozone/moderation/get_event.rs +++ b/crates/jacquard-api/src/tools_ozone/moderation/get_event.rs @@ -8,14 +8,14 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::tools_ozone::moderation::ModEventViewDetail; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::tools_ozone::moderation::ModEventViewDetail; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(rename_all = "camelCase")] @@ -23,9 +23,11 @@ pub struct GetEvent { pub id: i64, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetEventOutput { #[serde(flatten)] pub value: ModEventViewDetail, @@ -59,7 +61,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetEventRequest { pub mod get_event_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -118,10 +120,7 @@ where St::Id: get_event_state::IsUnset, { /// Set the `id` field (required) - pub fn id( - mut self, - value: impl Into, - ) -> GetEventBuilder> { + pub fn id(mut self, value: impl Into) -> GetEventBuilder> { self._fields.0 = Option::Some(value.into()); GetEventBuilder { _state: PhantomData, @@ -141,4 +140,4 @@ where id: self._fields.0.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/tools_ozone/moderation/get_record.rs b/crates/jacquard-api/src/tools_ozone/moderation/get_record.rs index 2804b469..3a4a1743 100644 --- a/crates/jacquard-api/src/tools_ozone/moderation/get_record.rs +++ b/crates/jacquard-api/src/tools_ozone/moderation/get_record.rs @@ -8,27 +8,32 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::tools_ozone::moderation::RecordViewDetail; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::{AtUri, Cid}; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; -use crate::tools_ozone::moderation::RecordViewDetail; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetRecord { #[serde(skip_serializing_if = "Option::is_none")] pub cid: Option>, pub uri: AtUri, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetRecordOutput { #[serde(flatten)] pub value: RecordViewDetail, @@ -36,25 +41,19 @@ pub struct GetRecordOutput { pub extra_data: Option>>, } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum GetRecordError { #[serde(rename = "RecordNotFound")] RecordNotFound(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for GetRecordError { @@ -104,7 +103,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetRecordRequest { pub mod get_record_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -203,4 +202,4 @@ where uri: self._fields.1.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/tools_ozone/moderation/get_records.rs b/crates/jacquard-api/src/tools_ozone/moderation/get_records.rs index 4ca2c6b6..77d6bb7b 100644 --- a/crates/jacquard-api/src/tools_ozone/moderation/get_records.rs +++ b/crates/jacquard-api/src/tools_ozone/moderation/get_records.rs @@ -8,33 +8,37 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::tools_ozone::moderation::RecordViewDetail; +use crate::tools_ozone::moderation::RecordViewNotFound; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::AtUri; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; -use crate::tools_ozone::moderation::RecordViewDetail; -use crate::tools_ozone::moderation::RecordViewNotFound; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetRecords { pub uris: Vec>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetRecordsOutput { pub records: Vec>, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -71,7 +75,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetRecordsRequest { pub mod get_records_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -156,4 +160,4 @@ where uris: self._fields.0.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/tools_ozone/moderation/get_repo.rs b/crates/jacquard-api/src/tools_ozone/moderation/get_repo.rs index 16120ad9..6bec6a87 100644 --- a/crates/jacquard-api/src/tools_ozone/moderation/get_repo.rs +++ b/crates/jacquard-api/src/tools_ozone/moderation/get_repo.rs @@ -8,25 +8,30 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::tools_ozone::moderation::RepoViewDetail; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::Did; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; -use crate::tools_ozone::moderation::RepoViewDetail; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetRepo { pub did: Did, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetRepoOutput { #[serde(flatten)] pub value: RepoViewDetail, @@ -34,25 +39,19 @@ pub struct GetRepoOutput { pub extra_data: Option>>, } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum GetRepoError { #[serde(rename = "RepoNotFound")] RepoNotFound(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for GetRepoError { @@ -102,7 +101,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetRepoRequest { pub mod get_repo_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -187,4 +186,4 @@ where did: self._fields.0.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/tools_ozone/moderation/get_reporter_stats.rs b/crates/jacquard-api/src/tools_ozone/moderation/get_reporter_stats.rs index 617c9b4a..decf436a 100644 --- a/crates/jacquard-api/src/tools_ozone/moderation/get_reporter_stats.rs +++ b/crates/jacquard-api/src/tools_ozone/moderation/get_reporter_stats.rs @@ -8,25 +8,30 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::tools_ozone::moderation::ReporterStats; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::Did; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::tools_ozone::moderation::ReporterStats; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetReporterStats { pub dids: Vec>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetReporterStatsOutput { pub stats: Vec>, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -59,7 +64,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetReporterStatsRequest { pub mod get_reporter_stats_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -144,4 +149,4 @@ where dids: self._fields.0.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/tools_ozone/moderation/get_repos.rs b/crates/jacquard-api/src/tools_ozone/moderation/get_repos.rs index 34c63293..73c02652 100644 --- a/crates/jacquard-api/src/tools_ozone/moderation/get_repos.rs +++ b/crates/jacquard-api/src/tools_ozone/moderation/get_repos.rs @@ -8,33 +8,37 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::tools_ozone::moderation::RepoViewDetail; +use crate::tools_ozone::moderation::RepoViewNotFound; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::Did; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; -use crate::tools_ozone::moderation::RepoViewDetail; -use crate::tools_ozone::moderation::RepoViewNotFound; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetRepos { pub dids: Vec>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetReposOutput { pub repos: Vec>, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -71,7 +75,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetReposRequest { pub mod get_repos_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -156,4 +160,4 @@ where dids: self._fields.0.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/tools_ozone/moderation/get_subjects.rs b/crates/jacquard-api/src/tools_ozone/moderation/get_subjects.rs index 418a82e9..101581f9 100644 --- a/crates/jacquard-api/src/tools_ozone/moderation/get_subjects.rs +++ b/crates/jacquard-api/src/tools_ozone/moderation/get_subjects.rs @@ -8,24 +8,29 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::tools_ozone::moderation::SubjectView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::tools_ozone::moderation::SubjectView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetSubjects { pub subjects: Vec, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetSubjectsOutput { pub subjects: Vec>, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -58,7 +63,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetSubjectsRequest { pub mod get_subjects_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -143,4 +148,4 @@ where subjects: self._fields.0.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/tools_ozone/moderation/list_scheduled_actions.rs b/crates/jacquard-api/src/tools_ozone/moderation/list_scheduled_actions.rs index 6a5a7380..4ce30842 100644 --- a/crates/jacquard-api/src/tools_ozone/moderation/list_scheduled_actions.rs +++ b/crates/jacquard-api/src/tools_ozone/moderation/list_scheduled_actions.rs @@ -8,18 +8,21 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::tools_ozone::moderation::ScheduledActionView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; -use jacquard_common::types::string::{Did, Datetime}; +use jacquard_common::types::string::{Datetime, Did}; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::tools_ozone::moderation::ScheduledActionView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ListScheduledActions { ///Cursor for pagination #[serde(skip_serializing_if = "Option::is_none")] @@ -43,9 +46,11 @@ pub struct ListScheduledActions { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ListScheduledActionsOutput { pub actions: Vec>, ///Cursor for next page of results @@ -66,9 +71,8 @@ impl jacquard_common::xrpc::XrpcResp for ListScheduledActionsResponse { impl jacquard_common::xrpc::XrpcRequest for ListScheduledActions { const NSID: &'static str = "tools.ozone.moderation.listScheduledActions"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = ListScheduledActionsResponse; } @@ -76,9 +80,8 @@ impl jacquard_common::xrpc::XrpcRequest for ListScheduledActions { pub struct ListScheduledActionsRequest; impl jacquard_common::xrpc::XrpcEndpoint for ListScheduledActionsRequest { const PATH: &'static str = "/xrpc/tools.ozone.moderation.listScheduledActions"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = ListScheduledActions; type Response = ListScheduledActionsResponse; } @@ -89,7 +92,7 @@ fn _default_list_scheduled_actions_limit() -> Option { pub mod list_scheduled_actions_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -120,10 +123,7 @@ pub mod list_scheduled_actions_state { } /// Builder for constructing an instance of this type. -pub struct ListScheduledActionsBuilder< - S: BosStr, - St: list_scheduled_actions_state::State, -> { +pub struct ListScheduledActionsBuilder { _state: PhantomData St>, _fields: ( Option, @@ -154,10 +154,7 @@ impl ListScheduledActionsBuilder ListScheduledActionsBuilder { +impl ListScheduledActionsBuilder { /// Set the `cursor` field (optional) pub fn cursor(mut self, value: impl Into>) -> Self { self._fields.0 = value.into(); @@ -170,10 +167,7 @@ impl< } } -impl< - S: BosStr, - St: list_scheduled_actions_state::State, -> ListScheduledActionsBuilder { +impl ListScheduledActionsBuilder { /// Set the `endsBefore` field (optional) pub fn ends_before(mut self, value: impl Into>) -> Self { self._fields.1 = value.into(); @@ -186,10 +180,7 @@ impl< } } -impl< - S: BosStr, - St: list_scheduled_actions_state::State, -> ListScheduledActionsBuilder { +impl ListScheduledActionsBuilder { /// Set the `limit` field (optional) pub fn limit(mut self, value: impl Into>) -> Self { self._fields.2 = value.into(); @@ -202,10 +193,7 @@ impl< } } -impl< - S: BosStr, - St: list_scheduled_actions_state::State, -> ListScheduledActionsBuilder { +impl ListScheduledActionsBuilder { /// Set the `startsAfter` field (optional) pub fn starts_after(mut self, value: impl Into>) -> Self { self._fields.3 = value.into(); @@ -237,10 +225,7 @@ where } } -impl< - S: BosStr, - St: list_scheduled_actions_state::State, -> ListScheduledActionsBuilder { +impl ListScheduledActionsBuilder { /// Set the `subjects` field (optional) pub fn subjects(mut self, value: impl Into>>>) -> Self { self._fields.5 = value.into(); @@ -285,4 +270,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/tools_ozone/moderation/query_events.rs b/crates/jacquard-api/src/tools_ozone/moderation/query_events.rs index 21c4c65e..cd94a46d 100644 --- a/crates/jacquard-api/src/tools_ozone/moderation/query_events.rs +++ b/crates/jacquard-api/src/tools_ozone/moderation/query_events.rs @@ -8,18 +8,21 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::tools_ozone::moderation::ModEventView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; -use jacquard_common::types::string::{Did, Nsid, Datetime, UriValue}; +use jacquard_common::types::string::{Datetime, Did, Nsid, UriValue}; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::tools_ozone::moderation::ModEventView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct QueryEvents { #[serde(skip_serializing_if = "Option::is_none")] pub added_labels: Option>, @@ -75,9 +78,11 @@ pub struct QueryEvents { pub with_strike: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct QueryEventsOutput { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -124,7 +129,7 @@ fn _default_sort_direction() -> Option { pub mod query_events_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -185,29 +190,8 @@ impl QueryEventsBuilder { QueryEventsBuilder { _state: PhantomData, _fields: ( - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, ), _type: PhantomData, } @@ -545,4 +529,4 @@ where with_strike: self._fields.22, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/tools_ozone/moderation/query_statuses.rs b/crates/jacquard-api/src/tools_ozone/moderation/query_statuses.rs index 3d956ac7..918c062d 100644 --- a/crates/jacquard-api/src/tools_ozone/moderation/query_statuses.rs +++ b/crates/jacquard-api/src/tools_ozone/moderation/query_statuses.rs @@ -8,18 +8,21 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::tools_ozone::moderation::SubjectStatusView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; -use jacquard_common::types::string::{Did, Nsid, Datetime, UriValue}; +use jacquard_common::types::string::{Datetime, Did, Nsid, UriValue}; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::tools_ozone::moderation::SubjectStatusView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct QueryStatuses { #[serde(skip_serializing_if = "Option::is_none")] pub age_assurance_state: Option, @@ -103,9 +106,11 @@ pub struct QueryStatuses { pub takendown: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct QueryStatusesOutput { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -152,7 +157,7 @@ fn _default_sort_field() -> Option { pub mod query_statuses_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -226,42 +231,9 @@ impl QueryStatusesBuilder { QueryStatusesBuilder { _state: PhantomData, _fields: ( - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, + None, None, None, None, None, None, None, None, ), _type: PhantomData, } @@ -413,10 +385,7 @@ impl QueryStatusesBuilder { impl QueryStatusesBuilder { /// Set the `ignoreSubjects` field (optional) - pub fn ignore_subjects( - mut self, - value: impl Into>>>, - ) -> Self { + pub fn ignore_subjects(mut self, value: impl Into>>>) -> Self { self._fields.11 = value.into(); self } @@ -784,4 +753,4 @@ where takendown: self._fields.35, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/tools_ozone/moderation/schedule_action.rs b/crates/jacquard-api/src/tools_ozone/moderation/schedule_action.rs index 40c55fb6..05bb4226 100644 --- a/crates/jacquard-api/src/tools_ozone/moderation/schedule_action.rs +++ b/crates/jacquard-api/src/tools_ozone/moderation/schedule_action.rs @@ -10,25 +10,28 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; use jacquard_common::deps::smol_str::SmolStr; -use jacquard_common::types::string::{Did, Datetime}; +use jacquard_common::types::string::{Datetime, Did}; use jacquard_common::types::value::Data; use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::tools_ozone::moderation::ModTool; use crate::tools_ozone::moderation::schedule_action; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct FailedScheduling { pub error: S, #[serde(skip_serializing_if = "Option::is_none")] @@ -38,9 +41,11 @@ pub struct FailedScheduling { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ScheduleAction { pub action: schedule_action::Takedown, pub created_by: Did, @@ -54,9 +59,11 @@ pub struct ScheduleAction { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ScheduleActionOutput { #[serde(flatten)] pub value: Data, @@ -64,9 +71,11 @@ pub struct ScheduleActionOutput { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ScheduledActionResults { pub failed: Vec>, pub succeeded: Vec>, @@ -77,7 +86,10 @@ pub struct ScheduledActionResults { /// Configuration for when the action should be executed #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct SchedulingConfig { ///Earliest time to execute the action (for randomized scheduling) #[serde(skip_serializing_if = "Option::is_none")] @@ -95,7 +107,10 @@ pub struct SchedulingConfig { /// Schedule a takedown action #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Takedown { ///If true, all other reports on content authored by this account will be resolved (acknowledged). #[serde(skip_serializing_if = "Option::is_none")] @@ -153,9 +168,8 @@ impl jacquard_common::xrpc::XrpcResp for ScheduleActionResponse { impl jacquard_common::xrpc::XrpcRequest for ScheduleAction { const NSID: &'static str = "tools.ozone.moderation.scheduleAction"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = ScheduleActionResponse; } @@ -163,9 +177,8 @@ impl jacquard_common::xrpc::XrpcRequest for ScheduleAction { pub struct ScheduleActionRequest; impl jacquard_common::xrpc::XrpcEndpoint for ScheduleActionRequest { const PATH: &'static str = "/xrpc/tools.ozone.moderation.scheduleAction"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = ScheduleAction; type Response = ScheduleActionResponse; } @@ -227,7 +240,7 @@ impl LexiconSchema for Takedown { pub mod failed_scheduling_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -361,10 +374,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> FailedScheduling { + pub fn build_with_data(self, extra_data: BTreeMap>) -> FailedScheduling { FailedScheduling { error: self._fields.0.unwrap(), error_code: self._fields.1, @@ -375,10 +385,10 @@ where } fn lexicon_doc_tools_ozone_moderation_scheduleAction() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("tools.ozone.moderation.scheduleAction"), @@ -387,21 +397,24 @@ fn lexicon_doc_tools_ozone_moderation_scheduleAction() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("failedScheduling"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("subject"), SmolStr::new_static("error") - ], - ), + required: Some(vec![ + SmolStr::new_static("subject"), + SmolStr::new_static("error"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("error"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("errorCode"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("subject"), @@ -420,70 +433,64 @@ fn lexicon_doc_tools_ozone_moderation_scheduleAction() -> LexiconDoc<'static> { LexUserType::XrpcProcedure(LexXrpcProcedure { input: Some(LexXrpcBody { encoding: CowStr::new_static("application/json"), - schema: Some( - LexXrpcBodySchema::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("action"), - SmolStr::new_static("subjects"), - SmolStr::new_static("createdBy"), - SmolStr::new_static("scheduling") - ], - ), - properties: { - #[allow(unused_mut)] - let mut map = BTreeMap::new(); - map.insert( - SmolStr::new_static("action"), - LexObjectProperty::Union(LexRefUnion { - refs: vec![CowStr::new_static("#takedown")], - ..Default::default() - }), - ); - map.insert( - SmolStr::new_static("createdBy"), - LexObjectProperty::String(LexString { + schema: Some(LexXrpcBodySchema::Object(LexObject { + required: Some(vec![ + SmolStr::new_static("action"), + SmolStr::new_static("subjects"), + SmolStr::new_static("createdBy"), + SmolStr::new_static("scheduling"), + ]), + properties: { + #[allow(unused_mut)] + let mut map = BTreeMap::new(); + map.insert( + SmolStr::new_static("action"), + LexObjectProperty::Union(LexRefUnion { + refs: vec![CowStr::new_static("#takedown")], + ..Default::default() + }), + ); + map.insert( + SmolStr::new_static("createdBy"), + LexObjectProperty::String(LexString { + format: Some(LexStringFormat::Did), + ..Default::default() + }), + ); + map.insert( + SmolStr::new_static("modTool"), + LexObjectProperty::Ref(LexRef { + r#ref: CowStr::new_static( + "tools.ozone.moderation.defs#modTool", + ), + ..Default::default() + }), + ); + map.insert( + SmolStr::new_static("scheduling"), + LexObjectProperty::Ref(LexRef { + r#ref: CowStr::new_static("#schedulingConfig"), + ..Default::default() + }), + ); + map.insert( + SmolStr::new_static("subjects"), + LexObjectProperty::Array(LexArray { + description: Some(CowStr::new_static( + "Array of DID subjects to schedule the action for", + )), + items: LexArrayItem::String(LexString { format: Some(LexStringFormat::Did), ..Default::default() }), - ); - map.insert( - SmolStr::new_static("modTool"), - LexObjectProperty::Ref(LexRef { - r#ref: CowStr::new_static( - "tools.ozone.moderation.defs#modTool", - ), - ..Default::default() - }), - ); - map.insert( - SmolStr::new_static("scheduling"), - LexObjectProperty::Ref(LexRef { - r#ref: CowStr::new_static("#schedulingConfig"), - ..Default::default() - }), - ); - map.insert( - SmolStr::new_static("subjects"), - LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static( - "Array of DID subjects to schedule the action for", - ), - ), - items: LexArrayItem::String(LexString { - format: Some(LexStringFormat::Did), - ..Default::default() - }), - max_length: Some(100usize), - ..Default::default() - }), - ); - map - }, - ..Default::default() - }), - ), + max_length: Some(100usize), + ..Default::default() + }), + ); + map + }, + ..Default::default() + })), ..Default::default() }), ..Default::default() @@ -492,12 +499,10 @@ fn lexicon_doc_tools_ozone_moderation_scheduleAction() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("scheduledActionResults"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("succeeded"), - SmolStr::new_static("failed") - ], - ), + required: Some(vec![ + SmolStr::new_static("succeeded"), + SmolStr::new_static("failed"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -678,7 +683,7 @@ fn lexicon_doc_tools_ozone_moderation_scheduleAction() -> LexiconDoc<'static> { pub mod schedule_action_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -890,10 +895,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> ScheduleAction { + pub fn build_with_data(self, extra_data: BTreeMap>) -> ScheduleAction { ScheduleAction { action: self._fields.0.unwrap(), created_by: self._fields.1.unwrap(), @@ -907,7 +909,7 @@ where pub mod scheduled_action_results_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -950,21 +952,18 @@ pub mod scheduled_action_results_state { } /// Builder for constructing an instance of this type. -pub struct ScheduledActionResultsBuilder< - S: BosStr, - St: scheduled_action_results_state::State, -> { +pub struct ScheduledActionResultsBuilder { _state: PhantomData St>, - _fields: (Option>>, Option>>), + _fields: ( + Option>>, + Option>>, + ), _type: PhantomData S>, } impl ScheduledActionResults { /// Create a new builder for this type. - pub fn new() -> ScheduledActionResultsBuilder< - S, - scheduled_action_results_state::Empty, - > { + pub fn new() -> ScheduledActionResultsBuilder { ScheduledActionResultsBuilder::new() } } @@ -989,10 +988,7 @@ where pub fn failed( mut self, value: impl Into>>, - ) -> ScheduledActionResultsBuilder< - S, - scheduled_action_results_state::SetFailed, - > { + ) -> ScheduledActionResultsBuilder> { self._fields.0 = Option::Some(value.into()); ScheduledActionResultsBuilder { _state: PhantomData, @@ -1011,10 +1007,7 @@ where pub fn succeeded( mut self, value: impl Into>>, - ) -> ScheduledActionResultsBuilder< - S, - scheduled_action_results_state::SetSucceeded, - > { + ) -> ScheduledActionResultsBuilder> { self._fields.1 = Option::Some(value.into()); ScheduledActionResultsBuilder { _state: PhantomData, @@ -1049,4 +1042,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/tools_ozone/moderation/search_repos.rs b/crates/jacquard-api/src/tools_ozone/moderation/search_repos.rs index 52d36515..fdf81cff 100644 --- a/crates/jacquard-api/src/tools_ozone/moderation/search_repos.rs +++ b/crates/jacquard-api/src/tools_ozone/moderation/search_repos.rs @@ -8,17 +8,20 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::tools_ozone::moderation::RepoView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::tools_ozone::moderation::RepoView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct SearchRepos { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -32,9 +35,11 @@ pub struct SearchRepos { pub term: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct SearchReposOutput { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -73,7 +78,7 @@ fn _default_limit() -> Option { pub mod search_repos_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -180,4 +185,4 @@ where term: self._fields.3, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/tools_ozone/report.rs b/crates/jacquard-api/src/tools_ozone/report.rs index f68741d3..4bd52021 100644 --- a/crates/jacquard-api/src/tools_ozone/report.rs +++ b/crates/jacquard-api/src/tools_ozone/report.rs @@ -5,9 +5,9 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// Appeal a previously taken moderation action #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Hash)] @@ -338,7 +338,6 @@ impl core::fmt::Display for ReasonSexualUnlabeled { } } - #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum ReasonType { ToolsOzoneReportDefsReasonAppeal, @@ -387,12 +386,8 @@ pub enum ReasonType { impl ReasonType { pub fn as_str(&self) -> &str { match self { - Self::ToolsOzoneReportDefsReasonAppeal => { - "tools.ozone.report.defs#reasonAppeal" - } - Self::ToolsOzoneReportDefsReasonOther => { - "tools.ozone.report.defs#reasonOther" - } + Self::ToolsOzoneReportDefsReasonAppeal => "tools.ozone.report.defs#reasonAppeal", + Self::ToolsOzoneReportDefsReasonOther => "tools.ozone.report.defs#reasonOther", Self::ToolsOzoneReportDefsReasonViolenceAnimal => { "tools.ozone.report.defs#reasonViolenceAnimal" } @@ -489,9 +484,7 @@ impl ReasonType { Self::ToolsOzoneReportDefsReasonRuleBanEvasion => { "tools.ozone.report.defs#reasonRuleBanEvasion" } - Self::ToolsOzoneReportDefsReasonRuleOther => { - "tools.ozone.report.defs#reasonRuleOther" - } + Self::ToolsOzoneReportDefsReasonRuleOther => "tools.ozone.report.defs#reasonRuleOther", Self::ToolsOzoneReportDefsReasonSelfHarmContent => { "tools.ozone.report.defs#reasonSelfHarmContent" } @@ -513,12 +506,8 @@ impl ReasonType { /// Construct from a string-like value, matching known values. pub fn from_value(s: S) -> Self { match s.as_ref() { - "tools.ozone.report.defs#reasonAppeal" => { - Self::ToolsOzoneReportDefsReasonAppeal - } - "tools.ozone.report.defs#reasonOther" => { - Self::ToolsOzoneReportDefsReasonOther - } + "tools.ozone.report.defs#reasonAppeal" => Self::ToolsOzoneReportDefsReasonAppeal, + "tools.ozone.report.defs#reasonOther" => Self::ToolsOzoneReportDefsReasonOther, "tools.ozone.report.defs#reasonViolenceAnimal" => { Self::ToolsOzoneReportDefsReasonViolenceAnimal } @@ -615,9 +604,7 @@ impl ReasonType { "tools.ozone.report.defs#reasonRuleBanEvasion" => { Self::ToolsOzoneReportDefsReasonRuleBanEvasion } - "tools.ozone.report.defs#reasonRuleOther" => { - Self::ToolsOzoneReportDefsReasonRuleOther - } + "tools.ozone.report.defs#reasonRuleOther" => Self::ToolsOzoneReportDefsReasonRuleOther, "tools.ozone.report.defs#reasonSelfHarmContent" => { Self::ToolsOzoneReportDefsReasonSelfHarmContent } @@ -870,4 +857,4 @@ impl core::fmt::Display for ReasonViolenceTrafficking { fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { write!(f, "reasonViolenceTrafficking") } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/tools_ozone/safelink.rs b/crates/jacquard-api/src/tools_ozone/safelink.rs index 7df740b6..ad72eaf7 100644 --- a/crates/jacquard-api/src/tools_ozone/safelink.rs +++ b/crates/jacquard-api/src/tools_ozone/safelink.rs @@ -11,27 +11,26 @@ pub mod query_rules; pub mod remove_rule; pub mod update_rule; - #[allow(unused_imports)] use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; use jacquard_common::deps::smol_str::SmolStr; -use jacquard_common::types::string::{Did, Datetime}; +use jacquard_common::types::string::{Datetime, Did}; use jacquard_common::types::value::Data; use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::tools_ozone::safelink; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::tools_ozone::safelink; +use serde::{Deserialize, Serialize}; #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum ActionType { @@ -111,7 +110,10 @@ where /// An event for URL safety decisions #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Event { pub action: safelink::ActionType, ///Optional comment about the decision @@ -131,7 +133,6 @@ pub struct Event { pub extra_data: Option>>, } - #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum EventType { AddRule, @@ -207,7 +208,6 @@ where } } - #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum PatternType { Domain, @@ -279,7 +279,6 @@ where } } - #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum ReasonType { Csam, @@ -362,7 +361,10 @@ where /// Input for creating a URL safety rule #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct UrlRule { pub action: safelink::ActionType, ///Optional comment about the decision @@ -414,7 +416,7 @@ impl LexiconSchema for UrlRule { pub mod event_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -700,10 +702,7 @@ where St::Id: event_state::IsUnset, { /// Set the `id` field (required) - pub fn id( - mut self, - value: impl Into, - ) -> EventBuilder> { + pub fn id(mut self, value: impl Into) -> EventBuilder> { self._fields.5 = Option::Some(value.into()); EventBuilder { _state: PhantomData, @@ -757,10 +756,7 @@ where St::Url: event_state::IsUnset, { /// Set the `url` field (required) - pub fn url( - mut self, - value: impl Into, - ) -> EventBuilder> { + pub fn url(mut self, value: impl Into) -> EventBuilder> { self._fields.8 = Option::Some(value.into()); EventBuilder { _state: PhantomData, @@ -815,10 +811,10 @@ where } fn lexicon_doc_tools_ozone_safelink_defs() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("tools.ozone.safelink.defs"), @@ -826,23 +822,24 @@ fn lexicon_doc_tools_ozone_safelink_defs() -> LexiconDoc<'static> { let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("actionType"), - LexUserType::String(LexString { ..Default::default() }), + LexUserType::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("event"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("An event for URL safety decisions"), - ), - required: Some( - vec![ - SmolStr::new_static("id"), SmolStr::new_static("eventType"), - SmolStr::new_static("url"), SmolStr::new_static("pattern"), - SmolStr::new_static("action"), SmolStr::new_static("reason"), - SmolStr::new_static("createdBy"), - SmolStr::new_static("createdAt") - ], - ), + description: Some(CowStr::new_static("An event for URL safety decisions")), + required: Some(vec![ + SmolStr::new_static("id"), + SmolStr::new_static("eventType"), + SmolStr::new_static("url"), + SmolStr::new_static("pattern"), + SmolStr::new_static("action"), + SmolStr::new_static("reason"), + SmolStr::new_static("createdBy"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -856,9 +853,9 @@ fn lexicon_doc_tools_ozone_safelink_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("comment"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Optional comment about the decision"), - ), + description: Some(CowStr::new_static( + "Optional comment about the decision", + )), ..Default::default() }), ); @@ -872,9 +869,9 @@ fn lexicon_doc_tools_ozone_safelink_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("createdBy"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("DID of the user who created this rule"), - ), + description: Some(CowStr::new_static( + "DID of the user who created this rule", + )), format: Some(LexStringFormat::Did), ..Default::default() }), @@ -909,9 +906,9 @@ fn lexicon_doc_tools_ozone_safelink_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("url"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The URL that this rule applies to"), - ), + description: Some(CowStr::new_static( + "The URL that this rule applies to", + )), ..Default::default() }), ); @@ -922,31 +919,35 @@ fn lexicon_doc_tools_ozone_safelink_defs() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("eventType"), - LexUserType::String(LexString { ..Default::default() }), + LexUserType::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("patternType"), - LexUserType::String(LexString { ..Default::default() }), + LexUserType::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("reasonType"), - LexUserType::String(LexString { ..Default::default() }), + LexUserType::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("urlRule"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("Input for creating a URL safety rule"), - ), - required: Some( - vec![ - SmolStr::new_static("url"), SmolStr::new_static("pattern"), - SmolStr::new_static("action"), SmolStr::new_static("reason"), - SmolStr::new_static("createdBy"), - SmolStr::new_static("createdAt"), - SmolStr::new_static("updatedAt") - ], - ), + description: Some(CowStr::new_static("Input for creating a URL safety rule")), + required: Some(vec![ + SmolStr::new_static("url"), + SmolStr::new_static("pattern"), + SmolStr::new_static("action"), + SmolStr::new_static("reason"), + SmolStr::new_static("createdBy"), + SmolStr::new_static("createdAt"), + SmolStr::new_static("updatedAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -960,18 +961,18 @@ fn lexicon_doc_tools_ozone_safelink_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("comment"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Optional comment about the decision"), - ), + description: Some(CowStr::new_static( + "Optional comment about the decision", + )), ..Default::default() }), ); map.insert( SmolStr::new_static("createdAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("Timestamp when the rule was created"), - ), + description: Some(CowStr::new_static( + "Timestamp when the rule was created", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -979,9 +980,9 @@ fn lexicon_doc_tools_ozone_safelink_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("createdBy"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("DID of the user added the rule."), - ), + description: Some(CowStr::new_static( + "DID of the user added the rule.", + )), format: Some(LexStringFormat::Did), ..Default::default() }), @@ -1003,11 +1004,9 @@ fn lexicon_doc_tools_ozone_safelink_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("updatedAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Timestamp when the rule was last updated", - ), - ), + description: Some(CowStr::new_static( + "Timestamp when the rule was last updated", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -1015,9 +1014,9 @@ fn lexicon_doc_tools_ozone_safelink_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("url"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The URL or domain to apply the rule to"), - ), + description: Some(CowStr::new_static( + "The URL or domain to apply the rule to", + )), ..Default::default() }), ); @@ -1034,7 +1033,7 @@ fn lexicon_doc_tools_ozone_safelink_defs() -> LexiconDoc<'static> { pub mod url_rule_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -1333,10 +1332,7 @@ where St::Url: url_rule_state::IsUnset, { /// Set the `url` field (required) - pub fn url( - mut self, - value: impl Into, - ) -> UrlRuleBuilder> { + pub fn url(mut self, value: impl Into) -> UrlRuleBuilder> { self._fields.7 = Option::Some(value.into()); UrlRuleBuilder { _state: PhantomData, @@ -1385,4 +1381,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/tools_ozone/safelink/add_rule.rs b/crates/jacquard-api/src/tools_ozone/safelink/add_rule.rs index 16d2cfd5..5970da67 100644 --- a/crates/jacquard-api/src/tools_ozone/safelink/add_rule.rs +++ b/crates/jacquard-api/src/tools_ozone/safelink/add_rule.rs @@ -8,21 +8,24 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::tools_ozone::safelink::ActionType; +use crate::tools_ozone::safelink::Event; +use crate::tools_ozone::safelink::PatternType; +use crate::tools_ozone::safelink::ReasonType; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::Did; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; -use crate::tools_ozone::safelink::ActionType; -use crate::tools_ozone::safelink::Event; -use crate::tools_ozone::safelink::PatternType; -use crate::tools_ozone::safelink::ReasonType; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct AddRule { pub action: ActionType, ///Optional comment about the decision @@ -39,9 +42,11 @@ pub struct AddRule { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct AddRuleOutput { #[serde(flatten)] pub value: Event, @@ -49,18 +54,9 @@ pub struct AddRuleOutput { pub extra_data: Option>>, } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum AddRuleError { /// The provided URL is invalid @@ -71,7 +67,10 @@ pub enum AddRuleError { RuleAlreadyExists(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for AddRuleError { @@ -113,9 +112,8 @@ impl jacquard_common::xrpc::XrpcResp for AddRuleResponse { impl jacquard_common::xrpc::XrpcRequest for AddRule { const NSID: &'static str = "tools.ozone.safelink.addRule"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = AddRuleResponse; } @@ -123,16 +121,15 @@ impl jacquard_common::xrpc::XrpcRequest for AddRule { pub struct AddRuleRequest; impl jacquard_common::xrpc::XrpcEndpoint for AddRuleRequest { const PATH: &'static str = "/xrpc/tools.ozone.safelink.addRule"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = AddRule; type Response = AddRuleResponse; } pub mod add_rule_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -325,10 +322,7 @@ where St::Url: add_rule_state::IsUnset, { /// Set the `url` field (required) - pub fn url( - mut self, - value: impl Into, - ) -> AddRuleBuilder> { + pub fn url(mut self, value: impl Into) -> AddRuleBuilder> { self._fields.5 = Option::Some(value.into()); AddRuleBuilder { _state: PhantomData, @@ -370,4 +364,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/tools_ozone/safelink/query_events.rs b/crates/jacquard-api/src/tools_ozone/safelink/query_events.rs index c9b8583d..5d3e7bde 100644 --- a/crates/jacquard-api/src/tools_ozone/safelink/query_events.rs +++ b/crates/jacquard-api/src/tools_ozone/safelink/query_events.rs @@ -8,17 +8,20 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::tools_ozone::safelink::Event; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::tools_ozone::safelink::Event; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct QueryEvents { ///Cursor for pagination #[serde(skip_serializing_if = "Option::is_none")] @@ -88,8 +91,7 @@ impl Serialize for QueryEventsSortDirection { } } -impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> -for QueryEventsSortDirection { +impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> for QueryEventsSortDirection { fn deserialize(deserializer: D) -> Result where D: serde::Deserializer<'de>, @@ -115,16 +117,16 @@ where match self { QueryEventsSortDirection::Asc => QueryEventsSortDirection::Asc, QueryEventsSortDirection::Desc => QueryEventsSortDirection::Desc, - QueryEventsSortDirection::Other(v) => { - QueryEventsSortDirection::Other(v.into_static()) - } + QueryEventsSortDirection::Other(v) => QueryEventsSortDirection::Other(v.into_static()), } } } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct QueryEventsOutput { ///Next cursor for pagination. Only present if there are more results. #[serde(skip_serializing_if = "Option::is_none")] @@ -145,9 +147,8 @@ impl jacquard_common::xrpc::XrpcResp for QueryEventsResponse { impl jacquard_common::xrpc::XrpcRequest for QueryEvents { const NSID: &'static str = "tools.ozone.safelink.queryEvents"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = QueryEventsResponse; } @@ -155,13 +156,12 @@ impl jacquard_common::xrpc::XrpcRequest for QueryEvents { pub struct QueryEventsRequest; impl jacquard_common::xrpc::XrpcEndpoint for QueryEventsRequest { const PATH: &'static str = "/xrpc/tools.ozone.safelink.queryEvents"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = QueryEvents; type Response = QueryEventsResponse; } fn _default_query_events_limit() -> Option { Some(50i64) -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/tools_ozone/safelink/query_rules.rs b/crates/jacquard-api/src/tools_ozone/safelink/query_rules.rs index 5484b7ed..885482b0 100644 --- a/crates/jacquard-api/src/tools_ozone/safelink/query_rules.rs +++ b/crates/jacquard-api/src/tools_ozone/safelink/query_rules.rs @@ -8,18 +8,21 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::tools_ozone::safelink::UrlRule; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::Did; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::tools_ozone::safelink::UrlRule; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct QueryRules { ///Filter by action types #[serde(skip_serializing_if = "Option::is_none")] @@ -124,16 +127,16 @@ where match self { QueryRulesSortDirection::Asc => QueryRulesSortDirection::Asc, QueryRulesSortDirection::Desc => QueryRulesSortDirection::Desc, - QueryRulesSortDirection::Other(v) => { - QueryRulesSortDirection::Other(v.into_static()) - } + QueryRulesSortDirection::Other(v) => QueryRulesSortDirection::Other(v.into_static()), } } } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct QueryRulesOutput { ///Next cursor for pagination. Only present if there are more results. #[serde(skip_serializing_if = "Option::is_none")] @@ -154,9 +157,8 @@ impl jacquard_common::xrpc::XrpcResp for QueryRulesResponse { impl jacquard_common::xrpc::XrpcRequest for QueryRules { const NSID: &'static str = "tools.ozone.safelink.queryRules"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = QueryRulesResponse; } @@ -164,13 +166,12 @@ impl jacquard_common::xrpc::XrpcRequest for QueryRules { pub struct QueryRulesRequest; impl jacquard_common::xrpc::XrpcEndpoint for QueryRulesRequest { const PATH: &'static str = "/xrpc/tools.ozone.safelink.queryRules"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = QueryRules; type Response = QueryRulesResponse; } fn _default_query_rules_limit() -> Option { Some(50i64) -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/tools_ozone/safelink/remove_rule.rs b/crates/jacquard-api/src/tools_ozone/safelink/remove_rule.rs index 2624cad8..fb37c7a9 100644 --- a/crates/jacquard-api/src/tools_ozone/safelink/remove_rule.rs +++ b/crates/jacquard-api/src/tools_ozone/safelink/remove_rule.rs @@ -8,19 +8,22 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::tools_ozone::safelink::Event; +use crate::tools_ozone::safelink::PatternType; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::Did; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; -use crate::tools_ozone::safelink::Event; -use crate::tools_ozone::safelink::PatternType; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct RemoveRule { ///Optional comment about why the rule is being removed #[serde(skip_serializing_if = "Option::is_none")] @@ -35,9 +38,11 @@ pub struct RemoveRule { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct RemoveRuleOutput { #[serde(flatten)] pub value: Event, @@ -45,18 +50,9 @@ pub struct RemoveRuleOutput { pub extra_data: Option>>, } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum RemoveRuleError { /// No active rule found for this URL/domain @@ -64,7 +60,10 @@ pub enum RemoveRuleError { RuleNotFound(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for RemoveRuleError { @@ -99,9 +98,8 @@ impl jacquard_common::xrpc::XrpcResp for RemoveRuleResponse { impl jacquard_common::xrpc::XrpcRequest for RemoveRule { const NSID: &'static str = "tools.ozone.safelink.removeRule"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = RemoveRuleResponse; } @@ -109,16 +107,15 @@ impl jacquard_common::xrpc::XrpcRequest for RemoveRule { pub struct RemoveRuleRequest; impl jacquard_common::xrpc::XrpcEndpoint for RemoveRuleRequest { const PATH: &'static str = "/xrpc/tools.ozone.safelink.removeRule"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = RemoveRule; type Response = RemoveRuleResponse; } pub mod remove_rule_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -266,10 +263,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> RemoveRule { + pub fn build_with_data(self, extra_data: BTreeMap>) -> RemoveRule { RemoveRule { comment: self._fields.0, created_by: self._fields.1, @@ -278,4 +272,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/tools_ozone/safelink/update_rule.rs b/crates/jacquard-api/src/tools_ozone/safelink/update_rule.rs index 3aca925c..113a5123 100644 --- a/crates/jacquard-api/src/tools_ozone/safelink/update_rule.rs +++ b/crates/jacquard-api/src/tools_ozone/safelink/update_rule.rs @@ -8,21 +8,24 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::tools_ozone::safelink::ActionType; +use crate::tools_ozone::safelink::Event; +use crate::tools_ozone::safelink::PatternType; +use crate::tools_ozone::safelink::ReasonType; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::Did; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; -use crate::tools_ozone::safelink::ActionType; -use crate::tools_ozone::safelink::Event; -use crate::tools_ozone::safelink::PatternType; -use crate::tools_ozone::safelink::ReasonType; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct UpdateRule { pub action: ActionType, ///Optional comment about the update @@ -39,9 +42,11 @@ pub struct UpdateRule { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct UpdateRuleOutput { #[serde(flatten)] pub value: Event, @@ -49,18 +54,9 @@ pub struct UpdateRuleOutput { pub extra_data: Option>>, } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum UpdateRuleError { /// No active rule found for this URL/domain @@ -68,7 +64,10 @@ pub enum UpdateRuleError { RuleNotFound(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for UpdateRuleError { @@ -103,9 +102,8 @@ impl jacquard_common::xrpc::XrpcResp for UpdateRuleResponse { impl jacquard_common::xrpc::XrpcRequest for UpdateRule { const NSID: &'static str = "tools.ozone.safelink.updateRule"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = UpdateRuleResponse; } @@ -113,16 +111,15 @@ impl jacquard_common::xrpc::XrpcRequest for UpdateRule { pub struct UpdateRuleRequest; impl jacquard_common::xrpc::XrpcEndpoint for UpdateRuleRequest { const PATH: &'static str = "/xrpc/tools.ozone.safelink.updateRule"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = UpdateRule; type Response = UpdateRuleResponse; } pub mod update_rule_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -349,10 +346,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> UpdateRule { + pub fn build_with_data(self, extra_data: BTreeMap>) -> UpdateRule { UpdateRule { action: self._fields.0.unwrap(), comment: self._fields.1, @@ -363,4 +357,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/tools_ozone/server.rs b/crates/jacquard-api/src/tools_ozone/server.rs index 8e473b54..a96269e3 100644 --- a/crates/jacquard-api/src/tools_ozone/server.rs +++ b/crates/jacquard-api/src/tools_ozone/server.rs @@ -3,4 +3,4 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. -pub mod get_config; \ No newline at end of file +pub mod get_config; diff --git a/crates/jacquard-api/src/tools_ozone/server/get_config.rs b/crates/jacquard-api/src/tools_ozone/server/get_config.rs index 52cb3c88..f6c495f7 100644 --- a/crates/jacquard-api/src/tools_ozone/server/get_config.rs +++ b/crates/jacquard-api/src/tools_ozone/server/get_config.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -21,13 +21,16 @@ use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::tools_ozone::server::get_config; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::tools_ozone::server::get_config; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetConfigOutput { #[serde(skip_serializing_if = "Option::is_none")] pub appview: Option>, @@ -46,9 +49,11 @@ pub struct GetConfigOutput { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ServiceConfig { #[serde(skip_serializing_if = "Option::is_none")] pub url: Option>, @@ -56,9 +61,11 @@ pub struct ServiceConfig { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ViewerConfig { #[serde(skip_serializing_if = "Option::is_none")] pub role: Option>, @@ -66,7 +73,6 @@ pub struct ViewerConfig { pub extra_data: Option>>, } - #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum ViewerConfigRole { RoleAdmin, @@ -211,10 +217,10 @@ impl LexiconSchema for ViewerConfig { } fn lexicon_doc_tools_ozone_server_getConfig() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("tools.ozone.server.getConfig"), @@ -253,7 +259,9 @@ fn lexicon_doc_tools_ozone_server_getConfig() -> LexiconDoc<'static> { let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("role"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map }, @@ -264,4 +272,4 @@ fn lexicon_doc_tools_ozone_server_getConfig() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/tools_ozone/set.rs b/crates/jacquard-api/src/tools_ozone/set.rs index 02927b8a..881f51af 100644 --- a/crates/jacquard-api/src/tools_ozone/set.rs +++ b/crates/jacquard-api/src/tools_ozone/set.rs @@ -12,13 +12,12 @@ pub mod get_values; pub mod query_sets; pub mod upsert_set; - #[allow(unused_imports)] use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -31,10 +30,13 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Set { #[serde(skip_serializing_if = "Option::is_none")] pub description: Option, @@ -43,9 +45,11 @@ pub struct Set { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct SetView { pub created_at: Datetime, #[serde(skip_serializing_if = "Option::is_none")] @@ -176,10 +180,10 @@ impl LexiconSchema for SetView { } fn lexicon_doc_tools_ozone_set_defs() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("tools.ozone.set.defs"), @@ -216,13 +220,12 @@ fn lexicon_doc_tools_ozone_set_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("setView"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("name"), SmolStr::new_static("setSize"), - SmolStr::new_static("createdAt"), - SmolStr::new_static("updatedAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("name"), + SmolStr::new_static("setSize"), + SmolStr::new_static("createdAt"), + SmolStr::new_static("updatedAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -275,7 +278,7 @@ fn lexicon_doc_tools_ozone_set_defs() -> LexiconDoc<'static> { pub mod set_view_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -350,7 +353,13 @@ pub mod set_view_state { /// Builder for constructing an instance of this type. pub struct SetViewBuilder { _state: PhantomData St>, - _fields: (Option, Option, Option, Option, Option), + _fields: ( + Option, + Option, + Option, + Option, + Option, + ), _type: PhantomData S>, } @@ -410,10 +419,7 @@ where St::Name: set_view_state::IsUnset, { /// Set the `name` field (required) - pub fn name( - mut self, - value: impl Into, - ) -> SetViewBuilder> { + pub fn name(mut self, value: impl Into) -> SetViewBuilder> { self._fields.2 = Option::Some(value.into()); SetViewBuilder { _state: PhantomData, @@ -491,4 +497,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/tools_ozone/set/add_values.rs b/crates/jacquard-api/src/tools_ozone/set/add_values.rs index dce34212..3c54b925 100644 --- a/crates/jacquard-api/src/tools_ozone/set/add_values.rs +++ b/crates/jacquard-api/src/tools_ozone/set/add_values.rs @@ -10,14 +10,17 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct AddValues { ///Name of the set to add values to pub name: S, @@ -38,9 +41,8 @@ impl jacquard_common::xrpc::XrpcResp for AddValuesResponse { impl jacquard_common::xrpc::XrpcRequest for AddValues { const NSID: &'static str = "tools.ozone.set.addValues"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = AddValuesResponse; } @@ -48,16 +50,15 @@ impl jacquard_common::xrpc::XrpcRequest for AddValues { pub struct AddValuesRequest; impl jacquard_common::xrpc::XrpcEndpoint for AddValuesRequest { const PATH: &'static str = "/xrpc/tools.ozone.set.addValues"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = AddValues; type Response = AddValuesResponse; } pub mod add_values_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -177,14 +178,11 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> AddValues { + pub fn build_with_data(self, extra_data: BTreeMap>) -> AddValues { AddValues { name: self._fields.0.unwrap(), values: self._fields.1.unwrap(), extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/tools_ozone/set/delete_set.rs b/crates/jacquard-api/src/tools_ozone/set/delete_set.rs index 4b0cb811..396ffb5e 100644 --- a/crates/jacquard-api/src/tools_ozone/set/delete_set.rs +++ b/crates/jacquard-api/src/tools_ozone/set/delete_set.rs @@ -10,14 +10,17 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DeleteSet { ///Name of the set to delete pub name: S, @@ -25,26 +28,19 @@ pub struct DeleteSet { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DeleteSetOutput { #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum DeleteSetError { /// set with the given name does not exist @@ -52,7 +48,10 @@ pub enum DeleteSetError { SetNotFound(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for DeleteSetError { @@ -87,9 +86,8 @@ impl jacquard_common::xrpc::XrpcResp for DeleteSetResponse { impl jacquard_common::xrpc::XrpcRequest for DeleteSet { const NSID: &'static str = "tools.ozone.set.deleteSet"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = DeleteSetResponse; } @@ -97,9 +95,8 @@ impl jacquard_common::xrpc::XrpcRequest for DeleteSet { pub struct DeleteSetRequest; impl jacquard_common::xrpc::XrpcEndpoint for DeleteSetRequest { const PATH: &'static str = "/xrpc/tools.ozone.set.deleteSet"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = DeleteSet; type Response = DeleteSetResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/tools_ozone/set/delete_values.rs b/crates/jacquard-api/src/tools_ozone/set/delete_values.rs index 7831e7ee..e00f7b2b 100644 --- a/crates/jacquard-api/src/tools_ozone/set/delete_values.rs +++ b/crates/jacquard-api/src/tools_ozone/set/delete_values.rs @@ -10,14 +10,17 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DeleteValues { ///Name of the set to delete values from pub name: S, @@ -27,18 +30,9 @@ pub struct DeleteValues { pub extra_data: Option>>, } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum DeleteValuesError { /// set with the given name does not exist @@ -46,7 +40,10 @@ pub enum DeleteValuesError { SetNotFound(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for DeleteValuesError { @@ -81,9 +78,8 @@ impl jacquard_common::xrpc::XrpcResp for DeleteValuesResponse { impl jacquard_common::xrpc::XrpcRequest for DeleteValues { const NSID: &'static str = "tools.ozone.set.deleteValues"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = DeleteValuesResponse; } @@ -91,16 +87,15 @@ impl jacquard_common::xrpc::XrpcRequest for DeleteValues { pub struct DeleteValuesRequest; impl jacquard_common::xrpc::XrpcEndpoint for DeleteValuesRequest { const PATH: &'static str = "/xrpc/tools.ozone.set.deleteValues"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = DeleteValues; type Response = DeleteValuesResponse; } pub mod delete_values_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -220,14 +215,11 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> DeleteValues { + pub fn build_with_data(self, extra_data: BTreeMap>) -> DeleteValues { DeleteValues { name: self._fields.0.unwrap(), values: self._fields.1.unwrap(), extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/tools_ozone/set/get_values.rs b/crates/jacquard-api/src/tools_ozone/set/get_values.rs index cc562d60..0224765b 100644 --- a/crates/jacquard-api/src/tools_ozone/set/get_values.rs +++ b/crates/jacquard-api/src/tools_ozone/set/get_values.rs @@ -8,17 +8,20 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::tools_ozone::set::SetView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; -use crate::tools_ozone::set::SetView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetValues { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -29,9 +32,11 @@ pub struct GetValues { pub name: S, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetValuesOutput { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -41,18 +46,9 @@ pub struct GetValuesOutput { pub extra_data: Option>>, } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum GetValuesError { /// set with the given name does not exist @@ -60,7 +56,10 @@ pub enum GetValuesError { SetNotFound(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for GetValuesError { @@ -114,7 +113,7 @@ fn _default_limit() -> Option { pub mod get_values_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -227,4 +226,4 @@ where name: self._fields.2.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/tools_ozone/set/query_sets.rs b/crates/jacquard-api/src/tools_ozone/set/query_sets.rs index a0a23606..2715eb26 100644 --- a/crates/jacquard-api/src/tools_ozone/set/query_sets.rs +++ b/crates/jacquard-api/src/tools_ozone/set/query_sets.rs @@ -8,17 +8,20 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::tools_ozone::set::SetView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::tools_ozone::set::SetView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct QuerySets { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -38,9 +41,11 @@ pub struct QuerySets { pub sort_direction: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct QuerySetsOutput { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -87,7 +92,7 @@ fn _default_sort_direction() -> Option { pub mod query_sets_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -208,4 +213,4 @@ where sort_direction: self._fields.4, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/tools_ozone/set/upsert_set.rs b/crates/jacquard-api/src/tools_ozone/set/upsert_set.rs index b04e1f87..942f7fdd 100644 --- a/crates/jacquard-api/src/tools_ozone/set/upsert_set.rs +++ b/crates/jacquard-api/src/tools_ozone/set/upsert_set.rs @@ -8,18 +8,21 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::tools_ozone::set::Set; +use crate::tools_ozone::set::SetView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::tools_ozone::set::Set; -use crate::tools_ozone::set::SetView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct UpsertSet { #[serde(flatten)] pub value: Set, @@ -27,9 +30,11 @@ pub struct UpsertSet { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct UpsertSetOutput { #[serde(flatten)] pub value: SetView, @@ -48,9 +53,8 @@ impl jacquard_common::xrpc::XrpcResp for UpsertSetResponse { impl jacquard_common::xrpc::XrpcRequest for UpsertSet { const NSID: &'static str = "tools.ozone.set.upsertSet"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = UpsertSetResponse; } @@ -58,9 +62,8 @@ impl jacquard_common::xrpc::XrpcRequest for UpsertSet { pub struct UpsertSetRequest; impl jacquard_common::xrpc::XrpcEndpoint for UpsertSetRequest { const PATH: &'static str = "/xrpc/tools.ozone.set.upsertSet"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = UpsertSet; type Response = UpsertSetResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/tools_ozone/setting.rs b/crates/jacquard-api/src/tools_ozone/setting.rs index 36e95042..8576cc21 100644 --- a/crates/jacquard-api/src/tools_ozone/setting.rs +++ b/crates/jacquard-api/src/tools_ozone/setting.rs @@ -9,18 +9,17 @@ pub mod list_options; pub mod remove_options; pub mod upsert_option; - #[allow(unused_imports)] use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; use jacquard_common::deps::smol_str::SmolStr; -use jacquard_common::types::string::{Did, Nsid, Datetime}; +use jacquard_common::types::string::{Datetime, Did, Nsid}; use jacquard_common::types::value::Data; use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; @@ -28,10 +27,13 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DefsOption { #[serde(skip_serializing_if = "Option::is_none")] pub created_at: Option, @@ -51,7 +53,6 @@ pub struct DefsOption { pub extra_data: Option>>, } - #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum DefsOptionManagerRole { RoleModerator, @@ -132,14 +133,11 @@ where DefsOptionManagerRole::RoleTriage => DefsOptionManagerRole::RoleTriage, DefsOptionManagerRole::RoleAdmin => DefsOptionManagerRole::RoleAdmin, DefsOptionManagerRole::RoleVerifier => DefsOptionManagerRole::RoleVerifier, - DefsOptionManagerRole::Other(v) => { - DefsOptionManagerRole::Other(v.into_static()) - } + DefsOptionManagerRole::Other(v) => DefsOptionManagerRole::Other(v.into_static()), } } } - #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum DefsOptionScope { Instance, @@ -256,7 +254,7 @@ impl LexiconSchema for DefsOption { pub mod defs_option_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -506,18 +504,12 @@ where impl DefsOptionBuilder { /// Set the `managerRole` field (optional) - pub fn manager_role( - mut self, - value: impl Into>>, - ) -> Self { + pub fn manager_role(mut self, value: impl Into>>) -> Self { self._fields.6 = value.into(); self } /// Set the `managerRole` field to an Option value (optional) - pub fn maybe_manager_role( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_manager_role(mut self, value: Option>) -> Self { self._fields.6 = value; self } @@ -601,10 +593,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> DefsOption { + pub fn build_with_data(self, extra_data: BTreeMap>) -> DefsOption { DefsOption { created_at: self._fields.0, created_by: self._fields.1.unwrap(), @@ -622,10 +611,10 @@ where } fn lexicon_doc_tools_ozone_setting_defs() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("tools.ozone.setting.defs"), @@ -634,14 +623,14 @@ fn lexicon_doc_tools_ozone_setting_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("option"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("key"), SmolStr::new_static("value"), - SmolStr::new_static("did"), SmolStr::new_static("scope"), - SmolStr::new_static("createdBy"), - SmolStr::new_static("lastUpdatedBy") - ], - ), + required: Some(vec![ + SmolStr::new_static("key"), + SmolStr::new_static("value"), + SmolStr::new_static("did"), + SmolStr::new_static("scope"), + SmolStr::new_static("createdBy"), + SmolStr::new_static("lastUpdatedBy"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -690,11 +679,15 @@ fn lexicon_doc_tools_ozone_setting_defs() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("managerRole"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("scope"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("updatedAt"), @@ -718,4 +711,4 @@ fn lexicon_doc_tools_ozone_setting_defs() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/tools_ozone/setting/list_options.rs b/crates/jacquard-api/src/tools_ozone/setting/list_options.rs index d5f91ab0..92a31f9f 100644 --- a/crates/jacquard-api/src/tools_ozone/setting/list_options.rs +++ b/crates/jacquard-api/src/tools_ozone/setting/list_options.rs @@ -8,18 +8,21 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::tools_ozone::setting::DefsOption; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::Nsid; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::tools_ozone::setting::DefsOption; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ListOptions { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -37,9 +40,11 @@ pub struct ListOptions { pub scope: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ListOptionsOutput { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -82,7 +87,7 @@ fn _default_scope() -> Option { pub mod list_options_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -102,7 +107,13 @@ pub mod list_options_state { /// Builder for constructing an instance of this type. pub struct ListOptionsBuilder { _state: PhantomData St>, - _fields: (Option, Option>>, Option, Option, Option), + _fields: ( + Option, + Option>>, + Option, + Option, + Option, + ), _type: PhantomData S>, } @@ -203,4 +214,4 @@ where scope: self._fields.4, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/tools_ozone/setting/remove_options.rs b/crates/jacquard-api/src/tools_ozone/setting/remove_options.rs index bb6d4922..717ef841 100644 --- a/crates/jacquard-api/src/tools_ozone/setting/remove_options.rs +++ b/crates/jacquard-api/src/tools_ozone/setting/remove_options.rs @@ -10,15 +10,18 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::Nsid; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct RemoveOptions { pub keys: Vec>, pub scope: RemoveOptionsScope, @@ -26,7 +29,6 @@ pub struct RemoveOptions { pub extra_data: Option>>, } - #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum RemoveOptionsScope { Instance, @@ -104,9 +106,11 @@ where } } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct RemoveOptionsOutput { #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, @@ -123,9 +127,8 @@ impl jacquard_common::xrpc::XrpcResp for RemoveOptionsResponse { impl jacquard_common::xrpc::XrpcRequest for RemoveOptions { const NSID: &'static str = "tools.ozone.setting.removeOptions"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = RemoveOptionsResponse; } @@ -133,16 +136,15 @@ impl jacquard_common::xrpc::XrpcRequest for RemoveOptions { pub struct RemoveOptionsRequest; impl jacquard_common::xrpc::XrpcEndpoint for RemoveOptionsRequest { const PATH: &'static str = "/xrpc/tools.ozone.setting.removeOptions"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = RemoveOptions; type Response = RemoveOptionsResponse; } pub mod remove_options_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -262,14 +264,11 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> RemoveOptions { + pub fn build_with_data(self, extra_data: BTreeMap>) -> RemoveOptions { RemoveOptions { keys: self._fields.0.unwrap(), scope: self._fields.1.unwrap(), extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/tools_ozone/setting/upsert_option.rs b/crates/jacquard-api/src/tools_ozone/setting/upsert_option.rs index 51407547..90f972bb 100644 --- a/crates/jacquard-api/src/tools_ozone/setting/upsert_option.rs +++ b/crates/jacquard-api/src/tools_ozone/setting/upsert_option.rs @@ -8,18 +8,21 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::tools_ozone::setting::DefsOption; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::Nsid; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::tools_ozone::setting::DefsOption; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct UpsertOption { #[serde(skip_serializing_if = "Option::is_none")] pub description: Option, @@ -32,7 +35,6 @@ pub struct UpsertOption { pub extra_data: Option>>, } - #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum UpsertOptionManagerRole { RoleModerator, @@ -109,22 +111,15 @@ where type Output = UpsertOptionManagerRole; fn into_static(self) -> Self::Output { match self { - UpsertOptionManagerRole::RoleModerator => { - UpsertOptionManagerRole::RoleModerator - } + UpsertOptionManagerRole::RoleModerator => UpsertOptionManagerRole::RoleModerator, UpsertOptionManagerRole::RoleTriage => UpsertOptionManagerRole::RoleTriage, - UpsertOptionManagerRole::RoleVerifier => { - UpsertOptionManagerRole::RoleVerifier - } + UpsertOptionManagerRole::RoleVerifier => UpsertOptionManagerRole::RoleVerifier, UpsertOptionManagerRole::RoleAdmin => UpsertOptionManagerRole::RoleAdmin, - UpsertOptionManagerRole::Other(v) => { - UpsertOptionManagerRole::Other(v.into_static()) - } + UpsertOptionManagerRole::Other(v) => UpsertOptionManagerRole::Other(v.into_static()), } } } - #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum UpsertOptionScope { Instance, @@ -202,9 +197,11 @@ where } } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct UpsertOptionOutput { pub option: DefsOption, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -222,9 +219,8 @@ impl jacquard_common::xrpc::XrpcResp for UpsertOptionResponse { impl jacquard_common::xrpc::XrpcRequest for UpsertOption { const NSID: &'static str = "tools.ozone.setting.upsertOption"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = UpsertOptionResponse; } @@ -232,16 +228,15 @@ impl jacquard_common::xrpc::XrpcRequest for UpsertOption { pub struct UpsertOptionRequest; impl jacquard_common::xrpc::XrpcEndpoint for UpsertOptionRequest { const PATH: &'static str = "/xrpc/tools.ozone.setting.upsertOption"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = UpsertOption; type Response = UpsertOptionResponse; } pub mod upsert_option_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -362,18 +357,12 @@ where impl UpsertOptionBuilder { /// Set the `managerRole` field (optional) - pub fn manager_role( - mut self, - value: impl Into>>, - ) -> Self { + pub fn manager_role(mut self, value: impl Into>>) -> Self { self._fields.2 = value.into(); self } /// Set the `managerRole` field to an Option value (optional) - pub fn maybe_manager_role( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_manager_role(mut self, value: Option>) -> Self { self._fields.2 = value; self } @@ -436,10 +425,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> UpsertOption { + pub fn build_with_data(self, extra_data: BTreeMap>) -> UpsertOption { UpsertOption { description: self._fields.0, key: self._fields.1.unwrap(), @@ -449,4 +435,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/tools_ozone/signature.rs b/crates/jacquard-api/src/tools_ozone/signature.rs index fa2b30c7..455daac4 100644 --- a/crates/jacquard-api/src/tools_ozone/signature.rs +++ b/crates/jacquard-api/src/tools_ozone/signature.rs @@ -9,10 +9,9 @@ pub mod find_correlation; pub mod find_related_accounts; pub mod search_accounts; - #[allow(unused_imports)] use alloc::collections::BTreeMap; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,10 +23,13 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct SigDetail { pub property: S, pub value: S, @@ -51,10 +53,10 @@ impl LexiconSchema for SigDetail { } fn lexicon_doc_tools_ozone_signature_defs() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("tools.ozone.signature.defs"), @@ -63,21 +65,24 @@ fn lexicon_doc_tools_ozone_signature_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("sigDetail"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("property"), SmolStr::new_static("value") - ], - ), + required: Some(vec![ + SmolStr::new_static("property"), + SmolStr::new_static("value"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("property"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("value"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map }, @@ -88,4 +93,4 @@ fn lexicon_doc_tools_ozone_signature_defs() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/tools_ozone/signature/find_correlation.rs b/crates/jacquard-api/src/tools_ozone/signature/find_correlation.rs index 222f80a1..b8dd1ea5 100644 --- a/crates/jacquard-api/src/tools_ozone/signature/find_correlation.rs +++ b/crates/jacquard-api/src/tools_ozone/signature/find_correlation.rs @@ -8,25 +8,30 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::tools_ozone::signature::SigDetail; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::Did; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::tools_ozone::signature::SigDetail; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct FindCorrelation { pub dids: Vec>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct FindCorrelationOutput { pub details: Vec>, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] @@ -59,7 +64,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for FindCorrelationRequest { pub mod find_correlation_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -144,4 +149,4 @@ where dids: self._fields.0.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/tools_ozone/signature/find_related_accounts.rs b/crates/jacquard-api/src/tools_ozone/signature/find_related_accounts.rs index c5255fec..8896e8bb 100644 --- a/crates/jacquard-api/src/tools_ozone/signature/find_related_accounts.rs +++ b/crates/jacquard-api/src/tools_ozone/signature/find_related_accounts.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -21,15 +21,18 @@ use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::com_atproto::admin::AccountView; use crate::tools_ozone::signature::SigDetail; use crate::tools_ozone::signature::find_related_accounts; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct FindRelatedAccounts { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -40,9 +43,11 @@ pub struct FindRelatedAccounts { pub limit: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct FindRelatedAccountsOutput { pub accounts: Vec>, #[serde(skip_serializing_if = "Option::is_none")] @@ -51,9 +56,11 @@ pub struct FindRelatedAccountsOutput { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct RelatedAccount { pub account: AccountView, #[serde(skip_serializing_if = "Option::is_none")] @@ -107,7 +114,7 @@ fn _default_limit() -> Option { pub mod find_related_accounts_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -138,10 +145,7 @@ pub mod find_related_accounts_state { } /// Builder for constructing an instance of this type. -pub struct FindRelatedAccountsBuilder< - S: BosStr, - St: find_related_accounts_state::State, -> { +pub struct FindRelatedAccountsBuilder { _state: PhantomData St>, _fields: (Option, Option>, Option), _type: PhantomData S>, @@ -165,10 +169,7 @@ impl FindRelatedAccountsBuilder FindRelatedAccountsBuilder { +impl FindRelatedAccountsBuilder { /// Set the `cursor` field (optional) pub fn cursor(mut self, value: impl Into>) -> Self { self._fields.0 = value.into(); @@ -200,10 +201,7 @@ where } } -impl< - S: BosStr, - St: find_related_accounts_state::State, -> FindRelatedAccountsBuilder { +impl FindRelatedAccountsBuilder { /// Set the `limit` field (optional) pub fn limit(mut self, value: impl Into>) -> Self { self._fields.2 = value.into(); @@ -233,7 +231,7 @@ where pub mod related_account_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -334,10 +332,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> RelatedAccount { + pub fn build_with_data(self, extra_data: BTreeMap>) -> RelatedAccount { RelatedAccount { account: self._fields.0.unwrap(), similarities: self._fields.1, @@ -347,10 +342,10 @@ where } fn lexicon_doc_tools_ozone_signature_findRelatedAccounts() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("tools.ozone.signature.findRelatedAccounts"), @@ -359,36 +354,34 @@ fn lexicon_doc_tools_ozone_signature_findRelatedAccounts() -> LexiconDoc<'static map.insert( SmolStr::new_static("main"), LexUserType::XrpcQuery(LexXrpcQuery { - parameters: Some( - LexXrpcQueryParameter::Params(LexXrpcParameters { - required: Some(vec![SmolStr::new_static("did")]), - properties: { - #[allow(unused_mut)] - let mut map = BTreeMap::new(); - map.insert( - SmolStr::new_static("cursor"), - LexXrpcParametersProperty::String(LexString { - ..Default::default() - }), - ); - map.insert( - SmolStr::new_static("did"), - LexXrpcParametersProperty::String(LexString { - format: Some(LexStringFormat::Did), - ..Default::default() - }), - ); - map.insert( - SmolStr::new_static("limit"), - LexXrpcParametersProperty::Integer(LexInteger { - ..Default::default() - }), - ); - map - }, - ..Default::default() - }), - ), + parameters: Some(LexXrpcQueryParameter::Params(LexXrpcParameters { + required: Some(vec![SmolStr::new_static("did")]), + properties: { + #[allow(unused_mut)] + let mut map = BTreeMap::new(); + map.insert( + SmolStr::new_static("cursor"), + LexXrpcParametersProperty::String(LexString { + ..Default::default() + }), + ); + map.insert( + SmolStr::new_static("did"), + LexXrpcParametersProperty::String(LexString { + format: Some(LexStringFormat::Did), + ..Default::default() + }), + ); + map.insert( + SmolStr::new_static("limit"), + LexXrpcParametersProperty::Integer(LexInteger { + ..Default::default() + }), + ); + map + }, + ..Default::default() + })), ..Default::default() }), ); @@ -402,9 +395,7 @@ fn lexicon_doc_tools_ozone_signature_findRelatedAccounts() -> LexiconDoc<'static map.insert( SmolStr::new_static("account"), LexObjectProperty::Ref(LexRef { - r#ref: CowStr::new_static( - "com.atproto.admin.defs#accountView", - ), + r#ref: CowStr::new_static("com.atproto.admin.defs#accountView"), ..Default::default() }), ); @@ -429,4 +420,4 @@ fn lexicon_doc_tools_ozone_signature_findRelatedAccounts() -> LexiconDoc<'static }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/tools_ozone/signature/search_accounts.rs b/crates/jacquard-api/src/tools_ozone/signature/search_accounts.rs index 48035bd0..468c94de 100644 --- a/crates/jacquard-api/src/tools_ozone/signature/search_accounts.rs +++ b/crates/jacquard-api/src/tools_ozone/signature/search_accounts.rs @@ -8,17 +8,20 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::com_atproto::admin::AccountView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::com_atproto::admin::AccountView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct SearchAccounts { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -29,9 +32,11 @@ pub struct SearchAccounts { pub values: Vec, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct SearchAccountsOutput { pub accounts: Vec>, #[serde(skip_serializing_if = "Option::is_none")] @@ -70,7 +75,7 @@ fn _default_limit() -> Option { pub mod search_accounts_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -183,4 +188,4 @@ where values: self._fields.2.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/tools_ozone/team.rs b/crates/jacquard-api/src/tools_ozone/team.rs index ad63bb80..ee6701ee 100644 --- a/crates/jacquard-api/src/tools_ozone/team.rs +++ b/crates/jacquard-api/src/tools_ozone/team.rs @@ -10,30 +10,32 @@ pub mod delete_member; pub mod list_members; pub mod update_member; - #[allow(unused_imports)] use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; use jacquard_common::deps::smol_str::SmolStr; -use jacquard_common::types::string::{Did, Datetime}; +use jacquard_common::types::string::{Datetime, Did}; use jacquard_common::types::value::Data; use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::app_bsky::actor::ProfileViewDetailed; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::actor::ProfileViewDetailed; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Member { #[serde(skip_serializing_if = "Option::is_none")] pub created_at: Option, @@ -51,7 +53,6 @@ pub struct Member { pub extra_data: Option>>, } - #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum MemberRole { RoleAdmin, @@ -194,7 +195,7 @@ impl LexiconSchema for Member { pub mod member_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -288,10 +289,7 @@ where St::Did: member_state::IsUnset, { /// Set the `did` field (required) - pub fn did( - mut self, - value: impl Into>, - ) -> MemberBuilder> { + pub fn did(mut self, value: impl Into>) -> MemberBuilder> { self._fields.1 = Option::Some(value.into()); MemberBuilder { _state: PhantomData, @@ -407,10 +405,10 @@ where } fn lexicon_doc_tools_ozone_team_defs() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("tools.ozone.team.defs"), @@ -419,9 +417,10 @@ fn lexicon_doc_tools_ozone_team_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("member"), LexUserType::Object(LexObject { - required: Some( - vec![SmolStr::new_static("did"), SmolStr::new_static("role")], - ), + required: Some(vec![ + SmolStr::new_static("did"), + SmolStr::new_static("role"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -447,7 +446,9 @@ fn lexicon_doc_tools_ozone_team_defs() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("lastUpdatedBy"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("profile"), @@ -460,7 +461,9 @@ fn lexicon_doc_tools_ozone_team_defs() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("role"), - LexObjectProperty::String(LexString { ..Default::default() }), + LexObjectProperty::String(LexString { + ..Default::default() + }), ); map.insert( SmolStr::new_static("updatedAt"), @@ -476,22 +479,30 @@ fn lexicon_doc_tools_ozone_team_defs() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("roleAdmin"), - LexUserType::Token(LexToken { ..Default::default() }), + LexUserType::Token(LexToken { + ..Default::default() + }), ); map.insert( SmolStr::new_static("roleModerator"), - LexUserType::Token(LexToken { ..Default::default() }), + LexUserType::Token(LexToken { + ..Default::default() + }), ); map.insert( SmolStr::new_static("roleTriage"), - LexUserType::Token(LexToken { ..Default::default() }), + LexUserType::Token(LexToken { + ..Default::default() + }), ); map.insert( SmolStr::new_static("roleVerifier"), - LexUserType::Token(LexToken { ..Default::default() }), + LexUserType::Token(LexToken { + ..Default::default() + }), ); map }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/tools_ozone/team/add_member.rs b/crates/jacquard-api/src/tools_ozone/team/add_member.rs index 318c966f..bb3f196b 100644 --- a/crates/jacquard-api/src/tools_ozone/team/add_member.rs +++ b/crates/jacquard-api/src/tools_ozone/team/add_member.rs @@ -8,18 +8,21 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::tools_ozone::team::Member; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::Did; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; -use crate::tools_ozone::team::Member; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct AddMember { pub did: Did, pub role: AddMemberRole, @@ -27,7 +30,6 @@ pub struct AddMember { pub extra_data: Option>>, } - #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum AddMemberRole { RoleAdmin, @@ -113,9 +115,11 @@ where } } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct AddMemberOutput { #[serde(flatten)] pub value: Member, @@ -123,18 +127,9 @@ pub struct AddMemberOutput { pub extra_data: Option>>, } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum AddMemberError { /// Member already exists in the team. @@ -142,7 +137,10 @@ pub enum AddMemberError { MemberAlreadyExists(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for AddMemberError { @@ -177,9 +175,8 @@ impl jacquard_common::xrpc::XrpcResp for AddMemberResponse { impl jacquard_common::xrpc::XrpcRequest for AddMember { const NSID: &'static str = "tools.ozone.team.addMember"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = AddMemberResponse; } @@ -187,16 +184,15 @@ impl jacquard_common::xrpc::XrpcRequest for AddMember { pub struct AddMemberRequest; impl jacquard_common::xrpc::XrpcEndpoint for AddMemberRequest { const PATH: &'static str = "/xrpc/tools.ozone.team.addMember"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = AddMember; type Response = AddMemberResponse; } pub mod add_member_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -316,14 +312,11 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> AddMember { + pub fn build_with_data(self, extra_data: BTreeMap>) -> AddMember { AddMember { did: self._fields.0.unwrap(), role: self._fields.1.unwrap(), extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/tools_ozone/team/delete_member.rs b/crates/jacquard-api/src/tools_ozone/team/delete_member.rs index 2e7ba51c..61e8fb6f 100644 --- a/crates/jacquard-api/src/tools_ozone/team/delete_member.rs +++ b/crates/jacquard-api/src/tools_ozone/team/delete_member.rs @@ -10,33 +10,27 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::Did; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DeleteMember { pub did: Did, #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum DeleteMemberError { /// The member being deleted does not exist @@ -47,7 +41,10 @@ pub enum DeleteMemberError { CannotDeleteSelf(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for DeleteMemberError { @@ -89,9 +86,8 @@ impl jacquard_common::xrpc::XrpcResp for DeleteMemberResponse { impl jacquard_common::xrpc::XrpcRequest for DeleteMember { const NSID: &'static str = "tools.ozone.team.deleteMember"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = DeleteMemberResponse; } @@ -99,16 +95,15 @@ impl jacquard_common::xrpc::XrpcRequest for DeleteMember { pub struct DeleteMemberRequest; impl jacquard_common::xrpc::XrpcEndpoint for DeleteMemberRequest { const PATH: &'static str = "/xrpc/tools.ozone.team.deleteMember"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = DeleteMember; type Response = DeleteMemberResponse; } pub mod delete_member_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -195,13 +190,10 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> DeleteMember { + pub fn build_with_data(self, extra_data: BTreeMap>) -> DeleteMember { DeleteMember { did: self._fields.0.unwrap(), extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/tools_ozone/team/list_members.rs b/crates/jacquard-api/src/tools_ozone/team/list_members.rs index 77a3bbda..0a52cc51 100644 --- a/crates/jacquard-api/src/tools_ozone/team/list_members.rs +++ b/crates/jacquard-api/src/tools_ozone/team/list_members.rs @@ -8,17 +8,20 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::tools_ozone::team::Member; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::tools_ozone::team::Member; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ListMembers { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -34,9 +37,11 @@ pub struct ListMembers { pub roles: Option>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ListMembersOutput { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -75,7 +80,7 @@ fn _default_limit() -> Option { pub mod list_members_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -95,7 +100,13 @@ pub mod list_members_state { /// Builder for constructing an instance of this type. pub struct ListMembersBuilder { _state: PhantomData St>, - _fields: (Option, Option, Option, Option, Option>), + _fields: ( + Option, + Option, + Option, + Option, + Option>, + ), _type: PhantomData S>, } @@ -196,4 +207,4 @@ where roles: self._fields.4, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/tools_ozone/team/update_member.rs b/crates/jacquard-api/src/tools_ozone/team/update_member.rs index 62cf7352..c030c665 100644 --- a/crates/jacquard-api/src/tools_ozone/team/update_member.rs +++ b/crates/jacquard-api/src/tools_ozone/team/update_member.rs @@ -8,18 +8,21 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::tools_ozone::team::Member; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::Did; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; -use crate::tools_ozone::team::Member; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct UpdateMember { pub did: Did, #[serde(skip_serializing_if = "Option::is_none")] @@ -30,7 +33,6 @@ pub struct UpdateMember { pub extra_data: Option>>, } - #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum UpdateMemberRole { RoleAdmin, @@ -116,9 +118,11 @@ where } } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct UpdateMemberOutput { #[serde(flatten)] pub value: Member, @@ -126,18 +130,9 @@ pub struct UpdateMemberOutput { pub extra_data: Option>>, } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum UpdateMemberError { /// The member being updated does not exist in the team @@ -145,7 +140,10 @@ pub enum UpdateMemberError { MemberNotFound(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for UpdateMemberError { @@ -180,9 +178,8 @@ impl jacquard_common::xrpc::XrpcResp for UpdateMemberResponse { impl jacquard_common::xrpc::XrpcRequest for UpdateMember { const NSID: &'static str = "tools.ozone.team.updateMember"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = UpdateMemberResponse; } @@ -190,16 +187,15 @@ impl jacquard_common::xrpc::XrpcRequest for UpdateMember { pub struct UpdateMemberRequest; impl jacquard_common::xrpc::XrpcEndpoint for UpdateMemberRequest { const PATH: &'static str = "/xrpc/tools.ozone.team.updateMember"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = UpdateMember; type Response = UpdateMemberResponse; } pub mod update_member_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -314,10 +310,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> UpdateMember { + pub fn build_with_data(self, extra_data: BTreeMap>) -> UpdateMember { UpdateMember { did: self._fields.0.unwrap(), disabled: self._fields.1, @@ -325,4 +318,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/tools_ozone/verification.rs b/crates/jacquard-api/src/tools_ozone/verification.rs index baeae9ec..a4928c55 100644 --- a/crates/jacquard-api/src/tools_ozone/verification.rs +++ b/crates/jacquard-api/src/tools_ozone/verification.rs @@ -9,32 +9,34 @@ pub mod grant_verifications; pub mod list_verifications; pub mod revoke_verifications; - #[allow(unused_imports)] use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; use jacquard_common::deps::smol_str::SmolStr; -use jacquard_common::types::string::{Did, Handle, AtUri, Datetime}; +use jacquard_common::types::string::{AtUri, Datetime, Did, Handle}; use jacquard_common::types::value::Data; use jacquard_derive::{IntoStatic, open_union}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::tools_ozone::moderation::RepoViewDetail; use crate::tools_ozone::moderation::RepoViewNotFound; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; /// Verification data for the associated subject. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct VerificationView { ///Timestamp when the verification was created. pub created_at: Datetime, @@ -69,7 +71,6 @@ pub struct VerificationView { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -80,7 +81,6 @@ pub enum VerificationViewIssuerRepo { RepoViewNotFound(Box>), } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -108,7 +108,7 @@ impl LexiconSchema for VerificationView { pub mod verification_view_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -252,19 +252,7 @@ impl VerificationViewBuilder { VerificationViewBuilder { _state: PhantomData, _fields: ( - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, + None, None, None, None, None, None, None, None, None, None, None, None, None, ), _type: PhantomData, } @@ -362,18 +350,12 @@ impl VerificationViewBuilder VerificationViewBuilder { /// Set the `issuerRepo` field (optional) - pub fn issuer_repo( - mut self, - value: impl Into>>, - ) -> Self { + pub fn issuer_repo(mut self, value: impl Into>>) -> Self { self._fields.5 = value.into(); self } /// Set the `issuerRepo` field to an Option value (optional) - pub fn maybe_issuer_repo( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_issuer_repo(mut self, value: Option>) -> Self { self._fields.5 = value; self } @@ -460,10 +442,7 @@ impl VerificationViewBuilder>, - ) -> Self { + pub fn maybe_subject_repo(mut self, value: Option>) -> Self { self._fields.11 = value; self } @@ -518,10 +497,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> VerificationView { + pub fn build_with_data(self, extra_data: BTreeMap>) -> VerificationView { VerificationView { created_at: self._fields.0.unwrap(), display_name: self._fields.1.unwrap(), @@ -542,10 +518,10 @@ where } fn lexicon_doc_tools_ozone_verification_defs() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("tools.ozone.verification.defs"), @@ -714,4 +690,4 @@ fn lexicon_doc_tools_ozone_verification_defs() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/tools_ozone/verification/grant_verifications.rs b/crates/jacquard-api/src/tools_ozone/verification/grant_verifications.rs index 85755412..f3dbc273 100644 --- a/crates/jacquard-api/src/tools_ozone/verification/grant_verifications.rs +++ b/crates/jacquard-api/src/tools_ozone/verification/grant_verifications.rs @@ -10,26 +10,29 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; use jacquard_common::deps::smol_str::SmolStr; -use jacquard_common::types::string::{Did, Handle, Datetime}; +use jacquard_common::types::string::{Datetime, Did, Handle}; use jacquard_common::types::value::Data; use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::tools_ozone::verification::VerificationView; use crate::tools_ozone::verification::grant_verifications; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; /// Error object for failed verifications. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GrantError { ///Error message describing the reason for failure. pub error: S, @@ -39,9 +42,11 @@ pub struct GrantError { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GrantVerifications { ///Array of verification requests to process pub verifications: Vec>, @@ -49,9 +54,11 @@ pub struct GrantVerifications { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GrantVerificationsOutput { pub failed_verifications: Vec>, pub verifications: Vec>, @@ -59,9 +66,11 @@ pub struct GrantVerificationsOutput { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct VerificationInput { ///Timestamp for verification record. Defaults to current time when not specified. #[serde(skip_serializing_if = "Option::is_none")] @@ -102,9 +111,8 @@ impl jacquard_common::xrpc::XrpcResp for GrantVerificationsResponse { impl jacquard_common::xrpc::XrpcRequest for GrantVerifications { const NSID: &'static str = "tools.ozone.verification.grantVerifications"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = GrantVerificationsResponse; } @@ -112,9 +120,8 @@ impl jacquard_common::xrpc::XrpcRequest for GrantVerifications { pub struct GrantVerificationsRequest; impl jacquard_common::xrpc::XrpcEndpoint for GrantVerificationsRequest { const PATH: &'static str = "/xrpc/tools.ozone.verification.grantVerifications"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = GrantVerifications; type Response = GrantVerificationsResponse; } @@ -136,7 +143,7 @@ impl LexiconSchema for VerificationInput { pub mod grant_error_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -256,10 +263,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> GrantError { + pub fn build_with_data(self, extra_data: BTreeMap>) -> GrantError { GrantError { error: self._fields.0.unwrap(), subject: self._fields.1.unwrap(), @@ -269,10 +273,10 @@ where } fn lexicon_doc_tools_ozone_verification_grantVerifications() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("tools.ozone.verification.grantVerifications"), @@ -281,34 +285,29 @@ fn lexicon_doc_tools_ozone_verification_grantVerifications() -> LexiconDoc<'stat map.insert( SmolStr::new_static("grantError"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("Error object for failed verifications."), - ), - required: Some( - vec![ - SmolStr::new_static("error"), SmolStr::new_static("subject") - ], - ), + description: Some(CowStr::new_static("Error object for failed verifications.")), + required: Some(vec![ + SmolStr::new_static("error"), + SmolStr::new_static("subject"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("error"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Error message describing the reason for failure.", - ), - ), + description: Some(CowStr::new_static( + "Error message describing the reason for failure.", + )), ..Default::default() }), ); map.insert( SmolStr::new_static("subject"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The did of the subject being verified"), - ), + description: Some(CowStr::new_static( + "The did of the subject being verified", + )), format: Some(LexStringFormat::Did), ..Default::default() }), @@ -323,33 +322,29 @@ fn lexicon_doc_tools_ozone_verification_grantVerifications() -> LexiconDoc<'stat LexUserType::XrpcProcedure(LexXrpcProcedure { input: Some(LexXrpcBody { encoding: CowStr::new_static("application/json"), - schema: Some( - LexXrpcBodySchema::Object(LexObject { - required: Some(vec![SmolStr::new_static("verifications")]), - properties: { - #[allow(unused_mut)] - let mut map = BTreeMap::new(); - map.insert( - SmolStr::new_static("verifications"), - LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static( - "Array of verification requests to process", - ), - ), - items: LexArrayItem::Ref(LexRef { - r#ref: CowStr::new_static("#verificationInput"), - ..Default::default() - }), - max_length: Some(100usize), + schema: Some(LexXrpcBodySchema::Object(LexObject { + required: Some(vec![SmolStr::new_static("verifications")]), + properties: { + #[allow(unused_mut)] + let mut map = BTreeMap::new(); + map.insert( + SmolStr::new_static("verifications"), + LexObjectProperty::Array(LexArray { + description: Some(CowStr::new_static( + "Array of verification requests to process", + )), + items: LexArrayItem::Ref(LexRef { + r#ref: CowStr::new_static("#verificationInput"), ..Default::default() }), - ); - map - }, - ..Default::default() - }), - ), + max_length: Some(100usize), + ..Default::default() + }), + ); + map + }, + ..Default::default() + })), ..Default::default() }), ..Default::default() @@ -426,7 +421,7 @@ fn lexicon_doc_tools_ozone_verification_grantVerifications() -> LexiconDoc<'stat pub mod grant_verifications_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -513,10 +508,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> GrantVerifications { + pub fn build_with_data(self, extra_data: BTreeMap>) -> GrantVerifications { GrantVerifications { verifications: self._fields.0.unwrap(), extra_data: Some(extra_data), @@ -526,7 +518,7 @@ where pub mod verification_input_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -585,7 +577,12 @@ pub mod verification_input_state { /// Builder for constructing an instance of this type. pub struct VerificationInputBuilder { _state: PhantomData St>, - _fields: (Option, Option, Option>, Option>), + _fields: ( + Option, + Option, + Option>, + Option>, + ), _type: PhantomData S>, } @@ -695,10 +692,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> VerificationInput { + pub fn build_with_data(self, extra_data: BTreeMap>) -> VerificationInput { VerificationInput { created_at: self._fields.0, display_name: self._fields.1.unwrap(), @@ -707,4 +701,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/tools_ozone/verification/list_verifications.rs b/crates/jacquard-api/src/tools_ozone/verification/list_verifications.rs index 3229ed83..edcf2d92 100644 --- a/crates/jacquard-api/src/tools_ozone/verification/list_verifications.rs +++ b/crates/jacquard-api/src/tools_ozone/verification/list_verifications.rs @@ -8,18 +8,21 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::tools_ozone::verification::VerificationView; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; -use jacquard_common::types::string::{Did, Datetime}; +use jacquard_common::types::string::{Datetime, Did}; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; -use crate::tools_ozone::verification::VerificationView; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ListVerifications { #[serde(skip_serializing_if = "Option::is_none")] pub created_after: Option, @@ -43,9 +46,11 @@ pub struct ListVerifications { pub subjects: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ListVerificationsOutput { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -88,7 +93,7 @@ fn _default_sort_direction() -> Option { pub mod list_verifications_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -260,4 +265,4 @@ where subjects: self._fields.7, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/tools_ozone/verification/revoke_verifications.rs b/crates/jacquard-api/src/tools_ozone/verification/revoke_verifications.rs index 498d13b7..15bf6445 100644 --- a/crates/jacquard-api/src/tools_ozone/verification/revoke_verifications.rs +++ b/crates/jacquard-api/src/tools_ozone/verification/revoke_verifications.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -21,13 +21,16 @@ use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::tools_ozone::verification::revoke_verifications; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::tools_ozone::verification::revoke_verifications; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct RevokeVerifications { ///Reason for revoking the verification. This is optional and can be omitted if not needed. #[serde(skip_serializing_if = "Option::is_none")] @@ -38,9 +41,11 @@ pub struct RevokeVerifications { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct RevokeVerificationsOutput { ///List of verification uris that couldn't be revoked, including failure reasons pub failed_revocations: Vec>, @@ -53,7 +58,10 @@ pub struct RevokeVerificationsOutput { /// Error object for failed revocations #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct RevokeError { ///Description of the error that occurred during revocation. pub error: S, @@ -74,9 +82,8 @@ impl jacquard_common::xrpc::XrpcResp for RevokeVerificationsResponse { impl jacquard_common::xrpc::XrpcRequest for RevokeVerifications { const NSID: &'static str = "tools.ozone.verification.revokeVerifications"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = RevokeVerificationsResponse; } @@ -84,9 +91,8 @@ impl jacquard_common::xrpc::XrpcRequest for RevokeVerifications { pub struct RevokeVerificationsRequest; impl jacquard_common::xrpc::XrpcEndpoint for RevokeVerificationsRequest { const PATH: &'static str = "/xrpc/tools.ozone.verification.revokeVerifications"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = RevokeVerifications; type Response = RevokeVerificationsResponse; } @@ -108,7 +114,7 @@ impl LexiconSchema for RevokeError { pub mod revoke_verifications_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -163,10 +169,7 @@ impl RevokeVerificationsBuilder } } -impl< - S: BosStr, - St: revoke_verifications_state::State, -> RevokeVerificationsBuilder { +impl RevokeVerificationsBuilder { /// Set the `revokeReason` field (optional) pub fn revoke_reason(mut self, value: impl Into>) -> Self { self._fields.0 = value.into(); @@ -212,10 +215,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> RevokeVerifications { + pub fn build_with_data(self, extra_data: BTreeMap>) -> RevokeVerifications { RevokeVerifications { revoke_reason: self._fields.0, uris: self._fields.1.unwrap(), @@ -226,7 +226,7 @@ where pub mod revoke_error_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -346,10 +346,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> RevokeError { + pub fn build_with_data(self, extra_data: BTreeMap>) -> RevokeError { RevokeError { error: self._fields.0.unwrap(), uri: self._fields.1.unwrap(), @@ -359,10 +356,10 @@ where } fn lexicon_doc_tools_ozone_verification_revokeVerifications() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("tools.ozone.verification.revokeVerifications"), @@ -425,34 +422,29 @@ fn lexicon_doc_tools_ozone_verification_revokeVerifications() -> LexiconDoc<'sta map.insert( SmolStr::new_static("revokeError"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("Error object for failed revocations"), - ), - required: Some( - vec![SmolStr::new_static("uri"), SmolStr::new_static("error")], - ), + description: Some(CowStr::new_static("Error object for failed revocations")), + required: Some(vec![ + SmolStr::new_static("uri"), + SmolStr::new_static("error"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("error"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Description of the error that occurred during revocation.", - ), - ), + description: Some(CowStr::new_static( + "Description of the error that occurred during revocation.", + )), ..Default::default() }), ); map.insert( SmolStr::new_static("uri"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "The AT-URI of the verification record that failed to revoke.", - ), - ), + description: Some(CowStr::new_static( + "The AT-URI of the verification record that failed to revoke.", + )), format: Some(LexStringFormat::AtUri), ..Default::default() }), @@ -466,4 +458,4 @@ fn lexicon_doc_tools_ozone_verification_revokeVerifications() -> LexiconDoc<'sta }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/tools_smokesignal.rs b/crates/jacquard-api/src/tools_smokesignal.rs index 25f5a685..86965dd2 100644 --- a/crates/jacquard-api/src/tools_smokesignal.rs +++ b/crates/jacquard-api/src/tools_smokesignal.rs @@ -3,4 +3,4 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. -pub mod blahg; \ No newline at end of file +pub mod blahg; diff --git a/crates/jacquard-api/src/tools_smokesignal/blahg.rs b/crates/jacquard-api/src/tools_smokesignal/blahg.rs index db4f0440..c0ab04e6 100644 --- a/crates/jacquard-api/src/tools_smokesignal/blahg.rs +++ b/crates/jacquard-api/src/tools_smokesignal/blahg.rs @@ -3,4 +3,4 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. -pub mod content; \ No newline at end of file +pub mod content; diff --git a/crates/jacquard-api/src/tools_smokesignal/blahg/content.rs b/crates/jacquard-api/src/tools_smokesignal/blahg/content.rs index 16034acd..a3934c62 100644 --- a/crates/jacquard-api/src/tools_smokesignal/blahg/content.rs +++ b/crates/jacquard-api/src/tools_smokesignal/blahg/content.rs @@ -3,4 +3,4 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. -pub mod post; \ No newline at end of file +pub mod post; diff --git a/crates/jacquard-api/src/tools_smokesignal/blahg/content/post.rs b/crates/jacquard-api/src/tools_smokesignal/blahg/content/post.rs index 8e432898..7f399b62 100644 --- a/crates/jacquard-api/src/tools_smokesignal/blahg/content/post.rs +++ b/crates/jacquard-api/src/tools_smokesignal/blahg/content/post.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -25,13 +25,16 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::tools_smokesignal::blahg::content::post; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::tools_smokesignal::blahg::content::post; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Attachment { ///Alt text description of the content, for accessibility. #[serde(skip_serializing_if = "Option::is_none")] @@ -113,19 +116,16 @@ impl LexiconSchema for Attachment { { let mime = value.blob().mime_type.as_str(); let accepted: &[&str] = &["image/*"]; - let matched = accepted - .iter() - .any(|pattern| { - if *pattern == "*/*" { - true - } else if pattern.ends_with("/*") { - let prefix = &pattern[..pattern.len() - 2]; - mime.starts_with(prefix) - && mime.as_bytes().get(prefix.len()) == Some(&b'/') - } else { - mime == *pattern - } - }); + let matched = accepted.iter().any(|pattern| { + if *pattern == "*/*" { + true + } else if pattern.ends_with("/*") { + let prefix = &pattern[..pattern.len() - 2]; + mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/') + } else { + mime == *pattern + } + }); if !matched { return Err(ConstraintError::BlobMimeTypeNotAccepted { path: ValidationPath::from_field("content"), @@ -193,25 +193,23 @@ impl LexiconSchema for Post { { let mime = value.blob().mime_type.as_str(); let accepted: &[&str] = &["text/plain", "text/html", "text/markdown"]; - let matched = accepted - .iter() - .any(|pattern| { - if *pattern == "*/*" { - true - } else if pattern.ends_with("/*") { - let prefix = &pattern[..pattern.len() - 2]; - mime.starts_with(prefix) - && mime.as_bytes().get(prefix.len()) == Some(&b'/') - } else { - mime == *pattern - } - }); + let matched = accepted.iter().any(|pattern| { + if *pattern == "*/*" { + true + } else if pattern.ends_with("/*") { + let prefix = &pattern[..pattern.len() - 2]; + mime.starts_with(prefix) && mime.as_bytes().get(prefix.len()) == Some(&b'/') + } else { + mime == *pattern + } + }); if !matched { return Err(ConstraintError::BlobMimeTypeNotAccepted { path: ValidationPath::from_field("content"), accepted: vec![ - "text/plain".to_string(), "text/html".to_string(), - "text/markdown".to_string() + "text/plain".to_string(), + "text/html".to_string(), + "text/markdown".to_string(), ], actual: mime.to_string(), }); @@ -256,7 +254,7 @@ impl LexiconSchema for Post { pub mod attachment_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -357,10 +355,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> Attachment { + pub fn build_with_data(self, extra_data: BTreeMap>) -> Attachment { Attachment { alt: self._fields.0, content: self._fields.1.unwrap(), @@ -370,10 +365,10 @@ where } fn lexicon_doc_tools_smokesignal_blahg_content_post() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("tools.smokesignal.blahg.content.post"), @@ -389,17 +384,17 @@ fn lexicon_doc_tools_smokesignal_blahg_content_post() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("alt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Alt text description of the content, for accessibility.", - ), - ), + description: Some(CowStr::new_static( + "Alt text description of the content, for accessibility.", + )), ..Default::default() }), ); map.insert( SmolStr::new_static("content"), - LexObjectProperty::Blob(LexBlob { ..Default::default() }), + LexObjectProperty::Blob(LexBlob { + ..Default::default() + }), ); map }, @@ -427,16 +422,16 @@ fn lexicon_doc_tools_smokesignal_blahg_content_post() -> LexiconDoc<'static> { ); map.insert( SmolStr::new_static("content"), - LexObjectProperty::Blob(LexBlob { ..Default::default() }), + LexObjectProperty::Blob(LexBlob { + ..Default::default() + }), ); map.insert( SmolStr::new_static("langs"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static( - "Indicates human language of text content.", - ), - ), + description: Some(CowStr::new_static( + "Indicates human language of text content.", + )), items: LexArrayItem::String(LexString { format: Some(LexStringFormat::Language), ..Default::default() @@ -475,7 +470,7 @@ fn lexicon_doc_tools_smokesignal_blahg_content_post() -> LexiconDoc<'static> { pub mod post_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -525,10 +520,7 @@ impl PostBuilder { impl PostBuilder { /// Set the `attachments` field (optional) - pub fn attachments( - mut self, - value: impl Into>>>, - ) -> Self { + pub fn attachments(mut self, value: impl Into>>>) -> Self { self._fields.0 = value.into(); self } @@ -617,4 +609,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/top_launchpadx.rs b/crates/jacquard-api/src/top_launchpadx.rs index 02ad821b..2adf47a9 100644 --- a/crates/jacquard-api/src/top_launchpadx.rs +++ b/crates/jacquard-api/src/top_launchpadx.rs @@ -3,4 +3,4 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. -pub mod agent; \ No newline at end of file +pub mod agent; diff --git a/crates/jacquard-api/src/top_launchpadx/agent.rs b/crates/jacquard-api/src/top_launchpadx/agent.rs index 25a3467a..b5f65f08 100644 --- a/crates/jacquard-api/src/top_launchpadx/agent.rs +++ b/crates/jacquard-api/src/top_launchpadx/agent.rs @@ -5,4 +5,4 @@ pub mod ack; pub mod journal; -pub mod thought; \ No newline at end of file +pub mod thought; diff --git a/crates/jacquard-api/src/top_launchpadx/agent/ack.rs b/crates/jacquard-api/src/top_launchpadx/agent/ack.rs index 7d7ac188..8c73fba8 100644 --- a/crates/jacquard-api/src/top_launchpadx/agent/ack.rs +++ b/crates/jacquard-api/src/top_launchpadx/agent/ack.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// Agent acknowledgment record for a processed job. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -112,7 +112,7 @@ impl LexiconSchema for Ack { pub mod ack_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -230,10 +230,7 @@ where St::WorkType: ack_state::IsUnset, { /// Set the `workType` field (required) - pub fn work_type( - mut self, - value: impl Into, - ) -> AckBuilder> { + pub fn work_type(mut self, value: impl Into) -> AckBuilder> { self._fields.3 = Option::Some(value.into()); AckBuilder { _state: PhantomData, @@ -272,10 +269,10 @@ where } fn lexicon_doc_top_launchpadx_agent_ack() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("top.launchpadx.agent.ack"), @@ -284,30 +281,24 @@ fn lexicon_doc_top_launchpadx_agent_ack() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static( - "Agent acknowledgment record for a processed job.", - ), - ), + description: Some(CowStr::new_static( + "Agent acknowledgment record for a processed job.", + )), key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("workType"), - SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("workType"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("createdAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Timestamp when the acknowledgment was created.", - ), - ), + description: Some(CowStr::new_static( + "Timestamp when the acknowledgment was created.", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -315,22 +306,18 @@ fn lexicon_doc_top_launchpadx_agent_ack() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("note"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Additional context or details for the acknowledgment.", - ), - ), + description: Some(CowStr::new_static( + "Additional context or details for the acknowledgment.", + )), ..Default::default() }), ); map.insert( SmolStr::new_static("subjectUri"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "URI of the content being processed by the agent.", - ), - ), + description: Some(CowStr::new_static( + "URI of the content being processed by the agent.", + )), format: Some(LexStringFormat::Uri), ..Default::default() }), @@ -338,11 +325,9 @@ fn lexicon_doc_top_launchpadx_agent_ack() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("workType"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Job type identifier being acknowledged by the agent.", - ), - ), + description: Some(CowStr::new_static( + "Job type identifier being acknowledged by the agent.", + )), ..Default::default() }), ); @@ -357,4 +342,4 @@ fn lexicon_doc_top_launchpadx_agent_ack() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/top_launchpadx/agent/journal.rs b/crates/jacquard-api/src/top_launchpadx/agent/journal.rs index c7aaed0f..5800e299 100644 --- a/crates/jacquard-api/src/top_launchpadx/agent/journal.rs +++ b/crates/jacquard-api/src/top_launchpadx/agent/journal.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// Agent journal entry record. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -107,7 +107,7 @@ impl LexiconSchema for Journal { pub mod journal_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -218,10 +218,10 @@ where } fn lexicon_doc_top_launchpadx_agent_journal() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("top.launchpadx.agent.journal"), @@ -240,11 +240,9 @@ fn lexicon_doc_top_launchpadx_agent_journal() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("createdAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Timestamp when the journal entry was created.", - ), - ), + description: Some(CowStr::new_static( + "Timestamp when the journal entry was created.", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -252,11 +250,9 @@ fn lexicon_doc_top_launchpadx_agent_journal() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("journal"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Journal entry content written by the agent.", - ), - ), + description: Some(CowStr::new_static( + "Journal entry content written by the agent.", + )), ..Default::default() }), ); @@ -271,4 +267,4 @@ fn lexicon_doc_top_launchpadx_agent_journal() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/top_launchpadx/agent/thought.rs b/crates/jacquard-api/src/top_launchpadx/agent/thought.rs index 8c92d319..fe9cb3ee 100644 --- a/crates/jacquard-api/src/top_launchpadx/agent/thought.rs +++ b/crates/jacquard-api/src/top_launchpadx/agent/thought.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// Agent thought record. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -112,7 +112,7 @@ impl LexiconSchema for Thought { pub mod thought_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -272,10 +272,10 @@ where } fn lexicon_doc_top_launchpadx_agent_thought() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("top.launchpadx.agent.thought"), @@ -287,23 +287,19 @@ fn lexicon_doc_top_launchpadx_agent_thought() -> LexiconDoc<'static> { description: Some(CowStr::new_static("Agent thought record.")), key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("workType"), - SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("workType"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("createdAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Timestamp when the thought was recorded.", - ), - ), + description: Some(CowStr::new_static( + "Timestamp when the thought was recorded.", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -311,22 +307,18 @@ fn lexicon_doc_top_launchpadx_agent_thought() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("note"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Additional context or details for the thought.", - ), - ), + description: Some(CowStr::new_static( + "Additional context or details for the thought.", + )), ..Default::default() }), ); map.insert( SmolStr::new_static("subjectUri"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "URI of the content being processed by the agent.", - ), - ), + description: Some(CowStr::new_static( + "URI of the content being processed by the agent.", + )), format: Some(LexStringFormat::Uri), ..Default::default() }), @@ -334,11 +326,9 @@ fn lexicon_doc_top_launchpadx_agent_thought() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("workType"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Job type identifier the agent is thinking about.", - ), - ), + description: Some(CowStr::new_static( + "Job type identifier the agent is thinking about.", + )), ..Default::default() }), ); @@ -353,4 +343,4 @@ fn lexicon_doc_top_launchpadx_agent_thought() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/uk_ewancroft.rs b/crates/jacquard-api/src/uk_ewancroft.rs index 10f6efee..6925b291 100644 --- a/crates/jacquard-api/src/uk_ewancroft.rs +++ b/crates/jacquard-api/src/uk_ewancroft.rs @@ -4,4 +4,4 @@ // Any manual changes will be overwritten on the next regeneration. pub mod kofi; -pub mod now; \ No newline at end of file +pub mod now; diff --git a/crates/jacquard-api/src/uk_ewancroft/kofi.rs b/crates/jacquard-api/src/uk_ewancroft/kofi.rs index db0412f0..6137d191 100644 --- a/crates/jacquard-api/src/uk_ewancroft/kofi.rs +++ b/crates/jacquard-api/src/uk_ewancroft/kofi.rs @@ -3,4 +3,4 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. -pub mod supporter; \ No newline at end of file +pub mod supporter; diff --git a/crates/jacquard-api/src/uk_ewancroft/kofi/supporter.rs b/crates/jacquard-api/src/uk_ewancroft/kofi/supporter.rs index 42416b81..c99f1f0d 100644 --- a/crates/jacquard-api/src/uk_ewancroft/kofi/supporter.rs +++ b/crates/jacquard-api/src/uk_ewancroft/kofi/supporter.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// A single Ko-fi payment event. One record per event, rkey is a TID. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -109,7 +109,7 @@ impl LexiconSchema for Supporter { pub mod supporter_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -243,10 +243,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> Supporter { + pub fn build_with_data(self, extra_data: BTreeMap>) -> Supporter { Supporter { name: self._fields.0.unwrap(), tier: self._fields.1, @@ -257,10 +254,10 @@ where } fn lexicon_doc_uk_ewancroft_kofi_supporter() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("uk.ewancroft.kofi.supporter"), @@ -324,4 +321,4 @@ fn lexicon_doc_uk_ewancroft_kofi_supporter() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/uk_ewancroft/now.rs b/crates/jacquard-api/src/uk_ewancroft/now.rs index 1791e3bc..a539b802 100644 --- a/crates/jacquard-api/src/uk_ewancroft/now.rs +++ b/crates/jacquard-api/src/uk_ewancroft/now.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde( @@ -127,7 +127,7 @@ impl LexiconSchema for Now { pub mod now_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -254,10 +254,10 @@ where } fn lexicon_doc_uk_ewancroft_now() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("uk.ewancroft.now"), @@ -268,23 +268,19 @@ fn lexicon_doc_uk_ewancroft_now() -> LexiconDoc<'static> { LexUserType::Record(LexRecord { key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("text"), - SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("text"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("createdAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "The ISO 8601 date and time when the status was created.", - ), - ), + description: Some(CowStr::new_static( + "The ISO 8601 date and time when the status was created.", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -292,11 +288,9 @@ fn lexicon_doc_uk_ewancroft_now() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("text"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "The status text formatted as plain text.", - ), - ), + description: Some(CowStr::new_static( + "The status text formatted as plain text.", + )), min_length: Some(1usize), max_length: Some(64usize), ..Default::default() @@ -313,4 +307,4 @@ fn lexicon_doc_uk_ewancroft_now() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/uk_skyblur.rs b/crates/jacquard-api/src/uk_skyblur.rs index 4b0f41f0..3be34fda 100644 --- a/crates/jacquard-api/src/uk_skyblur.rs +++ b/crates/jacquard-api/src/uk_skyblur.rs @@ -4,4 +4,4 @@ // Any manual changes will be overwritten on the next regeneration. pub mod post; -pub mod preference; \ No newline at end of file +pub mod preference; diff --git a/crates/jacquard-api/src/uk_skyblur/post.rs b/crates/jacquard-api/src/uk_skyblur/post.rs index f02306e2..1fbd9c8b 100644 --- a/crates/jacquard-api/src/uk_skyblur/post.rs +++ b/crates/jacquard-api/src/uk_skyblur/post.rs @@ -11,13 +11,12 @@ pub mod encrypt; pub mod get_post; pub mod store; - #[allow(unused_imports)] use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -34,7 +33,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// Record containing a Skyblur post. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -193,7 +192,7 @@ impl LexiconSchema for Post { pub mod post_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -348,10 +347,7 @@ where St::Text: post_state::IsUnset, { /// Set the `text` field (required) - pub fn text( - mut self, - value: impl Into, - ) -> PostBuilder> { + pub fn text(mut self, value: impl Into) -> PostBuilder> { self._fields.3 = Option::Some(value.into()); PostBuilder { _state: PhantomData, @@ -367,10 +363,7 @@ where St::Uri: post_state::IsUnset, { /// Set the `uri` field (required) - pub fn uri( - mut self, - value: impl Into>, - ) -> PostBuilder> { + pub fn uri(mut self, value: impl Into>) -> PostBuilder> { self._fields.4 = Option::Some(value.into()); PostBuilder { _state: PhantomData, @@ -434,10 +427,10 @@ where } fn lexicon_doc_uk_skyblur_post() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("uk.skyblur.post"), @@ -531,4 +524,4 @@ fn lexicon_doc_uk_skyblur_post() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/uk_skyblur/post/decrypt_by_cid.rs b/crates/jacquard-api/src/uk_skyblur/post/decrypt_by_cid.rs index c34feb28..5ed4cb4f 100644 --- a/crates/jacquard-api/src/uk_skyblur/post/decrypt_by_cid.rs +++ b/crates/jacquard-api/src/uk_skyblur/post/decrypt_by_cid.rs @@ -10,15 +10,18 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; -use jacquard_common::types::string::{Did, Cid, UriValue}; +use jacquard_common::types::string::{Cid, Did, UriValue}; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DecryptByCid { pub cid: Cid, pub password: S, @@ -31,7 +34,10 @@ pub struct DecryptByCid { /// Returns the encrypted result. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DecryptByCidOutput { #[serde(skip_serializing_if = "Option::is_none")] pub additional: Option, @@ -53,9 +59,8 @@ impl jacquard_common::xrpc::XrpcResp for DecryptByCidResponse { impl jacquard_common::xrpc::XrpcRequest for DecryptByCid { const NSID: &'static str = "uk.skyblur.post.decryptByCid"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = DecryptByCidResponse; } @@ -63,16 +68,15 @@ impl jacquard_common::xrpc::XrpcRequest for DecryptByCid { pub struct DecryptByCidRequest; impl jacquard_common::xrpc::XrpcEndpoint for DecryptByCidRequest { const PATH: &'static str = "/xrpc/uk.skyblur.post.decryptByCid"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = DecryptByCid; type Response = DecryptByCidResponse; } pub mod decrypt_by_cid_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -147,7 +151,12 @@ pub mod decrypt_by_cid_state { /// Builder for constructing an instance of this type. pub struct DecryptByCidBuilder { _state: PhantomData St>, - _fields: (Option>, Option, Option>, Option>), + _fields: ( + Option>, + Option, + Option>, + Option>, + ), _type: PhantomData S>, } @@ -264,10 +273,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> DecryptByCid { + pub fn build_with_data(self, extra_data: BTreeMap>) -> DecryptByCid { DecryptByCid { cid: self._fields.0.unwrap(), password: self._fields.1.unwrap(), @@ -276,4 +282,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/uk_skyblur/post/delete_stored.rs b/crates/jacquard-api/src/uk_skyblur/post/delete_stored.rs index c58169ff..46bedab1 100644 --- a/crates/jacquard-api/src/uk_skyblur/post/delete_stored.rs +++ b/crates/jacquard-api/src/uk_skyblur/post/delete_stored.rs @@ -10,14 +10,17 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DeleteStored { ///AT URI of the post to delete. The URI must include the logged-in user's DID in the format at://did... pub uri: S, @@ -25,9 +28,11 @@ pub struct DeleteStored { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DeleteStoredOutput { #[serde(skip_serializing_if = "Option::is_none")] pub success: Option, @@ -46,9 +51,8 @@ impl jacquard_common::xrpc::XrpcResp for DeleteStoredResponse { impl jacquard_common::xrpc::XrpcRequest for DeleteStored { const NSID: &'static str = "uk.skyblur.post.deleteStored"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = DeleteStoredResponse; } @@ -56,9 +60,8 @@ impl jacquard_common::xrpc::XrpcRequest for DeleteStored { pub struct DeleteStoredRequest; impl jacquard_common::xrpc::XrpcEndpoint for DeleteStoredRequest { const PATH: &'static str = "/xrpc/uk.skyblur.post.deleteStored"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = DeleteStored; type Response = DeleteStoredResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/uk_skyblur/post/encrypt.rs b/crates/jacquard-api/src/uk_skyblur/post/encrypt.rs index d08d95de..976ca45a 100644 --- a/crates/jacquard-api/src/uk_skyblur/post/encrypt.rs +++ b/crates/jacquard-api/src/uk_skyblur/post/encrypt.rs @@ -10,14 +10,17 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Encrypt { pub body: S, pub password: S, @@ -28,7 +31,10 @@ pub struct Encrypt { /// Returns the encrypted result. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct EncryptOutput { pub body: S, #[serde(skip_serializing_if = "Option::is_none")] @@ -48,9 +54,8 @@ impl jacquard_common::xrpc::XrpcResp for EncryptResponse { impl jacquard_common::xrpc::XrpcRequest for Encrypt { const NSID: &'static str = "uk.skyblur.post.encrypt"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = EncryptResponse; } @@ -58,9 +63,8 @@ impl jacquard_common::xrpc::XrpcRequest for Encrypt { pub struct EncryptRequest; impl jacquard_common::xrpc::XrpcEndpoint for EncryptRequest { const PATH: &'static str = "/xrpc/uk.skyblur.post.encrypt"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = Encrypt; type Response = EncryptResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/uk_skyblur/post/get_post.rs b/crates/jacquard-api/src/uk_skyblur/post/get_post.rs index d4b849f4..025822b0 100644 --- a/crates/jacquard-api/src/uk_skyblur/post/get_post.rs +++ b/crates/jacquard-api/src/uk_skyblur/post/get_post.rs @@ -10,15 +10,18 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::{AtUri, Datetime}; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetPost { ///If the specified uri is password-protected, please provide the password. If no password is specified, the non-protected content will be returned. #[serde(skip_serializing_if = "Option::is_none")] @@ -29,9 +32,11 @@ pub struct GetPost { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetPostOutput { #[serde(skip_serializing_if = "Option::is_none")] pub additional: Option, @@ -65,9 +70,8 @@ impl jacquard_common::xrpc::XrpcResp for GetPostResponse { impl jacquard_common::xrpc::XrpcRequest for GetPost { const NSID: &'static str = "uk.skyblur.post.getPost"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = GetPostResponse; } @@ -75,16 +79,15 @@ impl jacquard_common::xrpc::XrpcRequest for GetPost { pub struct GetPostRequest; impl jacquard_common::xrpc::XrpcEndpoint for GetPostRequest { const PATH: &'static str = "/xrpc/uk.skyblur.post.getPost"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = GetPost; type Response = GetPostResponse; } pub mod get_post_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -192,4 +195,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/uk_skyblur/post/store.rs b/crates/jacquard-api/src/uk_skyblur/post/store.rs index 036133dd..df146c8e 100644 --- a/crates/jacquard-api/src/uk_skyblur/post/store.rs +++ b/crates/jacquard-api/src/uk_skyblur/post/store.rs @@ -10,15 +10,18 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::AtUri; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Store { #[serde(skip_serializing_if = "Option::is_none")] pub additional: Option, @@ -30,9 +33,11 @@ pub struct Store { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct StoreOutput { #[serde(skip_serializing_if = "Option::is_none")] pub message: Option, @@ -52,9 +57,8 @@ impl jacquard_common::xrpc::XrpcResp for StoreResponse { impl jacquard_common::xrpc::XrpcRequest for Store { const NSID: &'static str = "uk.skyblur.post.store"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = StoreResponse; } @@ -62,16 +66,15 @@ impl jacquard_common::xrpc::XrpcRequest for Store { pub struct StoreRequest; impl jacquard_common::xrpc::XrpcEndpoint for StoreRequest { const PATH: &'static str = "/xrpc/uk.skyblur.post.store"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = Store; type Response = StoreResponse; } pub mod store_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -171,10 +174,7 @@ where St::Text: store_state::IsUnset, { /// Set the `text` field (required) - pub fn text( - mut self, - value: impl Into, - ) -> StoreBuilder> { + pub fn text(mut self, value: impl Into) -> StoreBuilder> { self._fields.1 = Option::Some(value.into()); StoreBuilder { _state: PhantomData, @@ -190,10 +190,7 @@ where St::Uri: store_state::IsUnset, { /// Set the `uri` field (required) - pub fn uri( - mut self, - value: impl Into>, - ) -> StoreBuilder> { + pub fn uri(mut self, value: impl Into>) -> StoreBuilder> { self._fields.2 = Option::Some(value.into()); StoreBuilder { _state: PhantomData, @@ -249,4 +246,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/uk_skyblur/preference.rs b/crates/jacquard-api/src/uk_skyblur/preference.rs index c5bf1011..ee19ce3f 100644 --- a/crates/jacquard-api/src/uk_skyblur/preference.rs +++ b/crates/jacquard-api/src/uk_skyblur/preference.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::uk_skyblur::preference; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::uk_skyblur::preference; +use serde::{Deserialize, Serialize}; /// A declaration of a Skyblur account. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -54,9 +54,11 @@ pub struct PreferenceGetRecordOutput { pub value: Preference, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct MyPage { ///Define the description displayed on MyPage. #[serde(skip_serializing_if = "Option::is_none")] @@ -154,7 +156,7 @@ impl LexiconSchema for MyPage { pub mod preference_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -241,10 +243,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> Preference { + pub fn build_with_data(self, extra_data: BTreeMap>) -> Preference { Preference { my_page: self._fields.0.unwrap(), extra_data: Some(extra_data), @@ -253,10 +252,10 @@ where } fn lexicon_doc_uk_skyblur_preference() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("uk.skyblur.preference"), @@ -265,9 +264,7 @@ fn lexicon_doc_uk_skyblur_preference() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static("A declaration of a Skyblur account."), - ), + description: Some(CowStr::new_static("A declaration of a Skyblur account.")), key: Some(CowStr::new_static("literal:self")), record: LexRecordRecord::Object(LexObject { required: Some(vec![SmolStr::new_static("myPage")]), @@ -277,9 +274,7 @@ fn lexicon_doc_uk_skyblur_preference() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("myPage"), LexObjectProperty::Union(LexRefUnion { - refs: vec![ - CowStr::new_static("uk.skyblur.preference#myPage") - ], + refs: vec![CowStr::new_static("uk.skyblur.preference#myPage")], ..Default::default() }), ); @@ -300,11 +295,9 @@ fn lexicon_doc_uk_skyblur_preference() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("description"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Define the description displayed on MyPage.", - ), - ), + description: Some(CowStr::new_static( + "Define the description displayed on MyPage.", + )), max_length: Some(10000usize), max_graphemes: Some(100000usize), ..Default::default() @@ -329,7 +322,7 @@ fn lexicon_doc_uk_skyblur_preference() -> LexiconDoc<'static> { pub mod my_page_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -437,4 +430,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/us_polhem.rs b/crates/jacquard-api/src/us_polhem.rs index cefb4e14..0e613a43 100644 --- a/crates/jacquard-api/src/us_polhem.rs +++ b/crates/jacquard-api/src/us_polhem.rs @@ -3,4 +3,4 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. -pub mod blog; \ No newline at end of file +pub mod blog; diff --git a/crates/jacquard-api/src/us_polhem/blog.rs b/crates/jacquard-api/src/us_polhem/blog.rs index 49de91ff..036dd89d 100644 --- a/crates/jacquard-api/src/us_polhem/blog.rs +++ b/crates/jacquard-api/src/us_polhem/blog.rs @@ -9,7 +9,6 @@ pub mod content; pub mod post; pub mod tag; - #[allow(unused_imports)] use alloc::collections::BTreeMap; @@ -27,11 +26,14 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// width:height represents an aspect ratio. It may be approximate, and may not correspond to absolute dimensions in any given unit. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct AspectRatio { pub height: i64, pub width: i64, @@ -76,7 +78,7 @@ impl LexiconSchema for AspectRatio { pub mod aspect_ratio_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -196,10 +198,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> AspectRatio { + pub fn build_with_data(self, extra_data: BTreeMap>) -> AspectRatio { AspectRatio { height: self._fields.0.unwrap(), width: self._fields.1.unwrap(), @@ -209,10 +208,10 @@ where } fn lexicon_doc_us_polhem_blog_defs() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("us.polhem.blog.defs"), @@ -255,4 +254,4 @@ fn lexicon_doc_us_polhem_blog_defs() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/us_polhem/blog/content.rs b/crates/jacquard-api/src/us_polhem/blog/content.rs index 7fe469e5..8fc0fef2 100644 --- a/crates/jacquard-api/src/us_polhem/blog/content.rs +++ b/crates/jacquard-api/src/us_polhem/blog/content.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// Record describing a page content block. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -129,7 +129,7 @@ impl LexiconSchema for Content { pub mod content_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -267,10 +267,7 @@ where St::Slug: content_state::IsUnset, { /// Set the `slug` field (required) - pub fn slug( - mut self, - value: impl Into, - ) -> ContentBuilder> { + pub fn slug(mut self, value: impl Into) -> ContentBuilder> { self._fields.3 = Option::Some(value.into()); ContentBuilder { _state: PhantomData, @@ -310,10 +307,10 @@ where } fn lexicon_doc_us_polhem_blog_content() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("us.polhem.blog.content"), @@ -322,17 +319,16 @@ fn lexicon_doc_us_polhem_blog_content() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static("Record describing a page content block."), - ), + description: Some(CowStr::new_static( + "Record describing a page content block.", + )), key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("content"), SmolStr::new_static("slug"), - SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("content"), + SmolStr::new_static("slug"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -378,4 +374,4 @@ fn lexicon_doc_us_polhem_blog_content() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/us_polhem/blog/post.rs b/crates/jacquard-api/src/us_polhem/blog/post.rs index 12e78fdf..588c7dcc 100644 --- a/crates/jacquard-api/src/us_polhem/blog/post.rs +++ b/crates/jacquard-api/src/us_polhem/blog/post.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::app_bsky::embed::images::Image; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::app_bsky::embed::images::Image; +use serde::{Deserialize, Serialize}; /// Record describing a blog post. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -166,7 +166,7 @@ fn _default_post_visibility() -> ::core::option::Option { pub mod post_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -279,10 +279,7 @@ where St::Content: post_state::IsUnset, { /// Set the `content` field (required) - pub fn content( - mut self, - value: impl Into, - ) -> PostBuilder> { + pub fn content(mut self, value: impl Into) -> PostBuilder> { self._fields.0 = Option::Some(value.into()); PostBuilder { _state: PhantomData, @@ -356,10 +353,7 @@ where St::Slug: post_state::IsUnset, { /// Set the `slug` field (required) - pub fn slug( - mut self, - value: impl Into, - ) -> PostBuilder> { + pub fn slug(mut self, value: impl Into) -> PostBuilder> { self._fields.5 = Option::Some(value.into()); PostBuilder { _state: PhantomData, @@ -388,10 +382,7 @@ where St::Title: post_state::IsUnset, { /// Set the `title` field (required) - pub fn title( - mut self, - value: impl Into, - ) -> PostBuilder> { + pub fn title(mut self, value: impl Into) -> PostBuilder> { self._fields.7 = Option::Some(value.into()); PostBuilder { _state: PhantomData, @@ -455,10 +446,10 @@ where } fn lexicon_doc_us_polhem_blog_post() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("us.polhem.blog.post"), @@ -571,4 +562,4 @@ fn lexicon_doc_us_polhem_blog_post() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/us_polhem/blog/tag.rs b/crates/jacquard-api/src/us_polhem/blog/tag.rs index 81bc5708..a265d342 100644 --- a/crates/jacquard-api/src/us_polhem/blog/tag.rs +++ b/crates/jacquard-api/src/us_polhem/blog/tag.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// Record describing a blog tag. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -139,7 +139,7 @@ impl LexiconSchema for Tag { pub mod tag_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -337,10 +337,10 @@ where } fn lexicon_doc_us_polhem_blog_tag() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("us.polhem.blog.tag"), @@ -349,18 +349,15 @@ fn lexicon_doc_us_polhem_blog_tag() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static("Record describing a blog tag."), - ), + description: Some(CowStr::new_static("Record describing a blog tag.")), key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("name"), SmolStr::new_static("slug"), - SmolStr::new_static("description"), - SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("name"), + SmolStr::new_static("slug"), + SmolStr::new_static("description"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -403,4 +400,4 @@ fn lexicon_doc_us_polhem_blog_tag() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/win_tomo_x.rs b/crates/jacquard-api/src/win_tomo_x.rs index 4a47792b..8ab1dc68 100644 --- a/crates/jacquard-api/src/win_tomo_x.rs +++ b/crates/jacquard-api/src/win_tomo_x.rs @@ -3,4 +3,4 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. -pub mod pushat; \ No newline at end of file +pub mod pushat; diff --git a/crates/jacquard-api/src/win_tomo_x/pushat.rs b/crates/jacquard-api/src/win_tomo_x/pushat.rs index 292e3ba9..fcd22a37 100644 --- a/crates/jacquard-api/src/win_tomo_x/pushat.rs +++ b/crates/jacquard-api/src/win_tomo_x/pushat.rs @@ -8,13 +8,12 @@ pub mod allow; pub mod push_notify; - #[allow(unused_imports)] use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -25,14 +24,17 @@ use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::win_tomo_x::pushat; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::win_tomo_x::pushat; +use serde::{Deserialize, Serialize}; pub type DeviceList = Vec>; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct DeviceListItem { /// Defaults to `false`. #[serde(default = "_default_device_list_item_current")] @@ -43,9 +45,11 @@ pub struct DeviceListItem { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct NotifyBody { ///Body text of the notification. pub body: S, @@ -121,7 +125,7 @@ fn _default_device_list_item_current() -> bool { pub mod device_list_item_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -276,10 +280,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> DeviceListItem { + pub fn build_with_data(self, extra_data: BTreeMap>) -> DeviceListItem { DeviceListItem { current: self._fields.0.unwrap(), id: self._fields.1.unwrap(), @@ -290,10 +291,10 @@ where } fn lexicon_doc_win_tomo_x_pushat_defs() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("win.tomo-x.pushat.defs"), @@ -312,12 +313,11 @@ fn lexicon_doc_win_tomo_x_pushat_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("deviceListItem"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("name"), SmolStr::new_static("id"), - SmolStr::new_static("current") - ], - ), + required: Some(vec![ + SmolStr::new_static("name"), + SmolStr::new_static("id"), + SmolStr::new_static("current"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -407,4 +407,4 @@ fn lexicon_doc_win_tomo_x_pushat_defs() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/win_tomo_x/pushat/allow.rs b/crates/jacquard-api/src/win_tomo_x/pushat/allow.rs index 8a6c3edb..ddad78fe 100644 --- a/crates/jacquard-api/src/win_tomo_x/pushat/allow.rs +++ b/crates/jacquard-api/src/win_tomo_x/pushat/allow.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// allow service to push. key must be did #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -105,7 +105,7 @@ impl LexiconSchema for Allow { pub mod allow_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -216,10 +216,10 @@ where } fn lexicon_doc_win_tomo_x_pushat_allow() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("win.tomo-x.pushat.allow"), @@ -228,9 +228,7 @@ fn lexicon_doc_win_tomo_x_pushat_allow() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static("allow service to push. key must be did"), - ), + description: Some(CowStr::new_static("allow service to push. key must be did")), key: Some(CowStr::new_static("any")), record: LexRecordRecord::Object(LexObject { required: Some(vec![SmolStr::new_static("createdAt")]), @@ -261,4 +259,4 @@ fn lexicon_doc_win_tomo_x_pushat_allow() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/win_tomo_x/pushat/push_notify.rs b/crates/jacquard-api/src/win_tomo_x/pushat/push_notify.rs index b2dd8064..8a67a492 100644 --- a/crates/jacquard-api/src/win_tomo_x/pushat/push_notify.rs +++ b/crates/jacquard-api/src/win_tomo_x/pushat/push_notify.rs @@ -8,18 +8,21 @@ #[allow(unused_imports)] use alloc::collections::BTreeMap; +use crate::win_tomo_x::pushat::NotifyBody; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::Did; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; -use crate::win_tomo_x::pushat::NotifyBody; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct PushNotify { pub body: NotifyBody, ///The DID of the target user to whom the notification will be sent. @@ -28,26 +31,19 @@ pub struct PushNotify { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct PushNotifyOutput { #[serde(flatten, default, skip_serializing_if = "Option::is_none")] pub extra_data: Option>>, } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum PushNotifyError { #[serde(rename = "ServiceNotAllowedError")] @@ -56,7 +52,10 @@ pub enum PushNotifyError { DeviceNotFoundError(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for PushNotifyError { @@ -98,9 +97,8 @@ impl jacquard_common::xrpc::XrpcResp for PushNotifyResponse { impl jacquard_common::xrpc::XrpcRequest for PushNotify { const NSID: &'static str = "win.tomo-x.pushat.pushNotify"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = PushNotifyResponse; } @@ -108,16 +106,15 @@ impl jacquard_common::xrpc::XrpcRequest for PushNotify { pub struct PushNotifyRequest; impl jacquard_common::xrpc::XrpcEndpoint for PushNotifyRequest { const PATH: &'static str = "/xrpc/win.tomo-x.pushat.pushNotify"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = PushNotify; type Response = PushNotifyResponse; } pub mod push_notify_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -237,14 +234,11 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> PushNotify { + pub fn build_with_data(self, extra_data: BTreeMap>) -> PushNotify { PushNotify { body: self._fields.0.unwrap(), target: self._fields.1.unwrap(), extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/world_ptah.rs b/crates/jacquard-api/src/world_ptah.rs index 8aaa080c..116455fb 100644 --- a/crates/jacquard-api/src/world_ptah.rs +++ b/crates/jacquard-api/src/world_ptah.rs @@ -3,4 +3,4 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. -pub mod temp; \ No newline at end of file +pub mod temp; diff --git a/crates/jacquard-api/src/world_ptah/temp.rs b/crates/jacquard-api/src/world_ptah/temp.rs index 5a7495ae..1cd13338 100644 --- a/crates/jacquard-api/src/world_ptah/temp.rs +++ b/crates/jacquard-api/src/world_ptah/temp.rs @@ -17,7 +17,7 @@ pub mod world; use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// Record exists but is not recognized as part of any canonical timeline. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Hash)] @@ -86,4 +86,4 @@ impl core::fmt::Display for SourceTypePublicDomain { fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { write!(f, "sourceTypePublicDomain") } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/world_ptah/temp/action.rs b/crates/jacquard-api/src/world_ptah/temp/action.rs index 12a92432..be53f959 100644 --- a/crates/jacquard-api/src/world_ptah/temp/action.rs +++ b/crates/jacquard-api/src/world_ptah/temp/action.rs @@ -10,13 +10,13 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::collection::{Collection, RecordError}; -use jacquard_common::types::string::{Did, AtUri, Cid, Datetime}; +use jacquard_common::types::string::{AtUri, Cid, Datetime, Did}; use jacquard_common::types::uri::{RecordUri, UriError}; use jacquard_common::types::value::Data; use jacquard_common::xrpc::XrpcResp; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// An entry in a ship's log. Something happened. Someone did it. The Opening of the Mouth ceremony — Ptah opens the mouth and the statue breathes, speaks, acts. The action record is the breath. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -356,7 +356,7 @@ impl LexiconSchema for Action { pub mod action_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -638,10 +638,10 @@ where } fn lexicon_doc_world_ptah_temp_action() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("world.ptah.temp.action"), @@ -790,4 +790,4 @@ fn lexicon_doc_world_ptah_temp_action() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/world_ptah/temp/character.rs b/crates/jacquard-api/src/world_ptah/temp/character.rs index bd54af9b..7527c7c3 100644 --- a/crates/jacquard-api/src/world_ptah/temp/character.rs +++ b/crates/jacquard-api/src/world_ptah/temp/character.rs @@ -10,13 +10,13 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::collection::{Collection, RecordError}; -use jacquard_common::types::string::{Did, AtUri, Cid, Datetime}; +use jacquard_common::types::string::{AtUri, Cid, Datetime, Did}; use jacquard_common::types::uri::{RecordUri, UriError}; use jacquard_common::types::value::Data; use jacquard_common::xrpc::XrpcResp; @@ -24,14 +24,17 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::world_ptah::temp::character; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::world_ptah::temp::character; +use serde::{Deserialize, Serialize}; /// Flexible key-value properties for any kind of world. All fields optional — worlds define what matters. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct CharacterProperties { ///Notable abilities or powers. #[serde(skip_serializing_if = "Option::is_none")] @@ -108,30 +111,18 @@ pub enum CharacterCanonicalStatus { impl CharacterCanonicalStatus { pub fn as_str(&self) -> &str { match self { - Self::CanonicalStatusOfficial => { - "world.ptah.temp.defs#canonicalStatusOfficial" - } - Self::CanonicalStatusCommunity => { - "world.ptah.temp.defs#canonicalStatusCommunity" - } - Self::CanonicalStatusApocryphal => { - "world.ptah.temp.defs#canonicalStatusApocryphal" - } + Self::CanonicalStatusOfficial => "world.ptah.temp.defs#canonicalStatusOfficial", + Self::CanonicalStatusCommunity => "world.ptah.temp.defs#canonicalStatusCommunity", + Self::CanonicalStatusApocryphal => "world.ptah.temp.defs#canonicalStatusApocryphal", Self::Other(s) => s.as_ref(), } } /// Construct from a string-like value, matching known values. pub fn from_value(s: S) -> Self { match s.as_ref() { - "world.ptah.temp.defs#canonicalStatusOfficial" => { - Self::CanonicalStatusOfficial - } - "world.ptah.temp.defs#canonicalStatusCommunity" => { - Self::CanonicalStatusCommunity - } - "world.ptah.temp.defs#canonicalStatusApocryphal" => { - Self::CanonicalStatusApocryphal - } + "world.ptah.temp.defs#canonicalStatusOfficial" => Self::CanonicalStatusOfficial, + "world.ptah.temp.defs#canonicalStatusCommunity" => Self::CanonicalStatusCommunity, + "world.ptah.temp.defs#canonicalStatusApocryphal" => Self::CanonicalStatusApocryphal, _ => Self::Other(s), } } @@ -158,8 +149,7 @@ impl Serialize for CharacterCanonicalStatus { } } -impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> -for CharacterCanonicalStatus { +impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> for CharacterCanonicalStatus { fn deserialize(deserializer: D) -> Result where D: serde::Deserializer<'de>, @@ -192,9 +182,7 @@ where CharacterCanonicalStatus::CanonicalStatusApocryphal => { CharacterCanonicalStatus::CanonicalStatusApocryphal } - CharacterCanonicalStatus::Other(v) => { - CharacterCanonicalStatus::Other(v.into_static()) - } + CharacterCanonicalStatus::Other(v) => CharacterCanonicalStatus::Other(v.into_static()), } } } @@ -277,9 +265,7 @@ where CharacterControlType::Exclusive => CharacterControlType::Exclusive, CharacterControlType::Open => CharacterControlType::Open, CharacterControlType::Delegated => CharacterControlType::Delegated, - CharacterControlType::Other(v) => { - CharacterControlType::Other(v.into_static()) - } + CharacterControlType::Other(v) => CharacterControlType::Other(v.into_static()), } } } @@ -359,9 +345,7 @@ where type Output = CharacterOriginType; fn into_static(self) -> Self::Output { match self { - CharacterOriginType::SourceTypeOriginalIp => { - CharacterOriginType::SourceTypeOriginalIp - } + CharacterOriginType::SourceTypeOriginalIp => CharacterOriginType::SourceTypeOriginalIp, CharacterOriginType::SourceTypePublicDomain => { CharacterOriginType::SourceTypePublicDomain } @@ -624,10 +608,10 @@ impl LexiconSchema for Character { } fn lexicon_doc_world_ptah_temp_character() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("world.ptah.temp.character"), @@ -868,7 +852,7 @@ fn lexicon_doc_world_ptah_temp_character() -> LexiconDoc<'static> { pub mod character_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -973,18 +957,7 @@ impl CharacterBuilder { CharacterBuilder { _state: PhantomData, _fields: ( - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, + None, None, None, None, None, None, None, None, None, None, None, None, ), _type: PhantomData, } @@ -1014,10 +987,7 @@ impl CharacterBuilder { self } /// Set the `canonicalStatus` field to an Option value (optional) - pub fn maybe_canonical_status( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_canonical_status(mut self, value: Option>) -> Self { self._fields.1 = value; self } @@ -1025,10 +995,7 @@ impl CharacterBuilder { impl CharacterBuilder { /// Set the `controlType` field (optional) - pub fn control_type( - mut self, - value: impl Into>>, - ) -> Self { + pub fn control_type(mut self, value: impl Into>>) -> Self { self._fields.2 = value.into(); self } @@ -1111,10 +1078,7 @@ where impl CharacterBuilder { /// Set the `originType` field (optional) - pub fn origin_type( - mut self, - value: impl Into>>, - ) -> Self { + pub fn origin_type(mut self, value: impl Into>>) -> Self { self._fields.7 = value.into(); self } @@ -1135,10 +1099,7 @@ impl CharacterBuilder { self } /// Set the `properties` field to an Option value (optional) - pub fn maybe_properties( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_properties(mut self, value: Option>) -> Self { self._fields.8 = value; self } @@ -1216,10 +1177,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> Character { + pub fn build_with_data(self, extra_data: BTreeMap>) -> Character { Character { authorship_record: self._fields.0, canonical_status: self._fields.1, @@ -1236,4 +1194,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/world_ptah/temp/contribution.rs b/crates/jacquard-api/src/world_ptah/temp/contribution.rs index 7f54c77d..23a0ef46 100644 --- a/crates/jacquard-api/src/world_ptah/temp/contribution.rs +++ b/crates/jacquard-api/src/world_ptah/temp/contribution.rs @@ -10,13 +10,13 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::collection::{Collection, RecordError}; -use jacquard_common::types::string::{Did, AtUri, Cid, Datetime}; +use jacquard_common::types::string::{AtUri, Cid, Datetime, Did}; use jacquard_common::types::uri::{RecordUri, UriError}; use jacquard_common::types::value::Data; use jacquard_common::xrpc::XrpcResp; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// A deed of addition. Imhotep — the most famous architect in history, deified as the Son of Ptah. Every contributor to a world is an Imhotep. They build within the tradition of the master. Their work is attributed. The lineage is unbroken. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -78,30 +78,18 @@ pub enum ContributionCanonicalStatus { impl ContributionCanonicalStatus { pub fn as_str(&self) -> &str { match self { - Self::CanonicalStatusOfficial => { - "world.ptah.temp.defs#canonicalStatusOfficial" - } - Self::CanonicalStatusCommunity => { - "world.ptah.temp.defs#canonicalStatusCommunity" - } - Self::CanonicalStatusApocryphal => { - "world.ptah.temp.defs#canonicalStatusApocryphal" - } + Self::CanonicalStatusOfficial => "world.ptah.temp.defs#canonicalStatusOfficial", + Self::CanonicalStatusCommunity => "world.ptah.temp.defs#canonicalStatusCommunity", + Self::CanonicalStatusApocryphal => "world.ptah.temp.defs#canonicalStatusApocryphal", Self::Other(s) => s.as_ref(), } } /// Construct from a string-like value, matching known values. pub fn from_value(s: S) -> Self { match s.as_ref() { - "world.ptah.temp.defs#canonicalStatusOfficial" => { - Self::CanonicalStatusOfficial - } - "world.ptah.temp.defs#canonicalStatusCommunity" => { - Self::CanonicalStatusCommunity - } - "world.ptah.temp.defs#canonicalStatusApocryphal" => { - Self::CanonicalStatusApocryphal - } + "world.ptah.temp.defs#canonicalStatusOfficial" => Self::CanonicalStatusOfficial, + "world.ptah.temp.defs#canonicalStatusCommunity" => Self::CanonicalStatusCommunity, + "world.ptah.temp.defs#canonicalStatusApocryphal" => Self::CanonicalStatusApocryphal, _ => Self::Other(s), } } @@ -128,8 +116,7 @@ impl Serialize for ContributionCanonicalStatus { } } -impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> -for ContributionCanonicalStatus { +impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> for ContributionCanonicalStatus { fn deserialize(deserializer: D) -> Result where D: serde::Deserializer<'de>, @@ -229,8 +216,7 @@ impl Serialize for ContributionContributionType { } } -impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> -for ContributionContributionType { +impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> for ContributionContributionType { fn deserialize(deserializer: D) -> Result where D: serde::Deserializer<'de>, @@ -254,16 +240,12 @@ where type Output = ContributionContributionType; fn into_static(self) -> Self::Output { match self { - ContributionContributionType::Character => { - ContributionContributionType::Character - } + ContributionContributionType::Character => ContributionContributionType::Character, ContributionContributionType::Role => ContributionContributionType::Role, ContributionContributionType::Action => ContributionContributionType::Action, ContributionContributionType::Event => ContributionContributionType::Event, ContributionContributionType::Lore => ContributionContributionType::Lore, - ContributionContributionType::Location => { - ContributionContributionType::Location - } + ContributionContributionType::Location => ContributionContributionType::Location, ContributionContributionType::Other(v) => { ContributionContributionType::Other(v.into_static()) } @@ -322,8 +304,7 @@ impl Serialize for ContributionOriginatorApproval { } } -impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> -for ContributionOriginatorApproval { +impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> for ContributionOriginatorApproval { fn deserialize(deserializer: D) -> Result where D: serde::Deserializer<'de>, @@ -347,9 +328,7 @@ where type Output = ContributionOriginatorApproval; fn into_static(self) -> Self::Output { match self { - ContributionOriginatorApproval::Approved => { - ContributionOriginatorApproval::Approved - } + ContributionOriginatorApproval::Approved => ContributionOriginatorApproval::Approved, ContributionOriginatorApproval::PreApproved => { ContributionOriginatorApproval::PreApproved } @@ -446,7 +425,7 @@ impl LexiconSchema for Contribution { pub mod contribution_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -560,10 +539,7 @@ impl ContributionBuilder { self } /// Set the `canonicalStatus` field to an Option value (optional) - pub fn maybe_canonical_status( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_canonical_status(mut self, value: Option>) -> Self { self._fields.1 = value; self } @@ -713,10 +689,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> Contribution { + pub fn build_with_data(self, extra_data: BTreeMap>) -> Contribution { Contribution { attribution_chain: self._fields.0, canonical_status: self._fields.1, @@ -733,10 +706,10 @@ where } fn lexicon_doc_world_ptah_temp_contribution() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("world.ptah.temp.contribution"), @@ -873,4 +846,4 @@ fn lexicon_doc_world_ptah_temp_contribution() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/world_ptah/temp/declaration.rs b/crates/jacquard-api/src/world_ptah/temp/declaration.rs index 5e206b29..76b90a83 100644 --- a/crates/jacquard-api/src/world_ptah/temp/declaration.rs +++ b/crates/jacquard-api/src/world_ptah/temp/declaration.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// Declaration of participation in The Ptah Protocol. Create this record to signal that your account is active in the Ptah ecosystem. Delete it to deactivate. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -154,7 +154,7 @@ impl LexiconSchema for Declaration { pub mod declaration_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -269,10 +269,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> Declaration { + pub fn build_with_data(self, extra_data: BTreeMap>) -> Declaration { Declaration { created_at: self._fields.0.unwrap(), description: self._fields.1, @@ -283,10 +280,10 @@ where } fn lexicon_doc_world_ptah_temp_declaration() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("world.ptah.temp.declaration"), @@ -355,4 +352,4 @@ fn lexicon_doc_world_ptah_temp_declaration() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/world_ptah/temp/event.rs b/crates/jacquard-api/src/world_ptah/temp/event.rs index 20f60a3f..a4e41885 100644 --- a/crates/jacquard-api/src/world_ptah/temp/event.rs +++ b/crates/jacquard-api/src/world_ptah/temp/event.rs @@ -10,13 +10,13 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::collection::{Collection, RecordError}; -use jacquard_common::types::string::{Did, AtUri, Cid, Datetime}; +use jacquard_common::types::string::{AtUri, Cid, Datetime, Did}; use jacquard_common::types::uri::{RecordUri, UriError}; use jacquard_common::types::value::Data; use jacquard_common::xrpc::XrpcResp; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// A boxing match program combined with a history book entry. Before the fight it is a schedule. After the fight it is a permanent record. Ptah-Seker-Osiris — creation, shadow, rebirth. The event holds all three phases simultaneously. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -270,12 +270,8 @@ pub enum EventLoreStatus { impl EventLoreStatus { pub fn as_str(&self) -> &str { match self { - Self::CanonicalStatusOfficial => { - "world.ptah.temp.defs#canonicalStatusOfficial" - } - Self::CanonicalStatusCommunity => { - "world.ptah.temp.defs#canonicalStatusCommunity" - } + Self::CanonicalStatusOfficial => "world.ptah.temp.defs#canonicalStatusOfficial", + Self::CanonicalStatusCommunity => "world.ptah.temp.defs#canonicalStatusCommunity", Self::Pending => "pending", Self::Other(s) => s.as_ref(), } @@ -283,12 +279,8 @@ impl EventLoreStatus { /// Construct from a string-like value, matching known values. pub fn from_value(s: S) -> Self { match s.as_ref() { - "world.ptah.temp.defs#canonicalStatusOfficial" => { - Self::CanonicalStatusOfficial - } - "world.ptah.temp.defs#canonicalStatusCommunity" => { - Self::CanonicalStatusCommunity - } + "world.ptah.temp.defs#canonicalStatusOfficial" => Self::CanonicalStatusOfficial, + "world.ptah.temp.defs#canonicalStatusCommunity" => Self::CanonicalStatusCommunity, "pending" => Self::Pending, _ => Self::Other(s), } @@ -340,12 +332,8 @@ where type Output = EventLoreStatus; fn into_static(self) -> Self::Output { match self { - EventLoreStatus::CanonicalStatusOfficial => { - EventLoreStatus::CanonicalStatusOfficial - } - EventLoreStatus::CanonicalStatusCommunity => { - EventLoreStatus::CanonicalStatusCommunity - } + EventLoreStatus::CanonicalStatusOfficial => EventLoreStatus::CanonicalStatusOfficial, + EventLoreStatus::CanonicalStatusCommunity => EventLoreStatus::CanonicalStatusCommunity, EventLoreStatus::Pending => EventLoreStatus::Pending, EventLoreStatus::Other(v) => EventLoreStatus::Other(v.into_static()), } @@ -608,7 +596,7 @@ impl LexiconSchema for Event { pub mod event_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -715,20 +703,7 @@ impl EventBuilder { EventBuilder { _state: PhantomData, _fields: ( - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, + None, None, None, None, None, None, None, None, None, None, None, None, None, None, ), _type: PhantomData, } @@ -844,10 +819,7 @@ where St::Name: event_state::IsUnset, { /// Set the `name` field (required) - pub fn name( - mut self, - value: impl Into, - ) -> EventBuilder> { + pub fn name(mut self, value: impl Into) -> EventBuilder> { self._fields.7 = Option::Some(value.into()); EventBuilder { _state: PhantomData, @@ -992,10 +964,10 @@ where } fn lexicon_doc_world_ptah_temp_event() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("world.ptah.temp.event"), @@ -1196,4 +1168,4 @@ fn lexicon_doc_world_ptah_temp_event() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/world_ptah/temp/location.rs b/crates/jacquard-api/src/world_ptah/temp/location.rs index 289542bb..8c5fa3f0 100644 --- a/crates/jacquard-api/src/world_ptah/temp/location.rs +++ b/crates/jacquard-api/src/world_ptah/temp/location.rs @@ -10,13 +10,13 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::collection::{Collection, RecordError}; -use jacquard_common::types::string::{Did, AtUri, Cid, Datetime}; +use jacquard_common::types::string::{AtUri, Cid, Datetime, Did}; use jacquard_common::types::uri::{RecordUri, UriError}; use jacquard_common::types::value::Data; use jacquard_common::xrpc::XrpcResp; @@ -24,14 +24,17 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::world_ptah::temp::location; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::world_ptah::temp::location; +use serde::{Deserialize, Serialize}; /// Flexible properties for any kind of world geography. All fields optional — worlds define what matters. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct LocationProperties { #[serde(skip_serializing_if = "Option::is_none")] pub climate: Option, @@ -101,30 +104,18 @@ pub enum LocationCanonicalStatus { impl LocationCanonicalStatus { pub fn as_str(&self) -> &str { match self { - Self::CanonicalStatusOfficial => { - "world.ptah.temp.defs#canonicalStatusOfficial" - } - Self::CanonicalStatusCommunity => { - "world.ptah.temp.defs#canonicalStatusCommunity" - } - Self::CanonicalStatusApocryphal => { - "world.ptah.temp.defs#canonicalStatusApocryphal" - } + Self::CanonicalStatusOfficial => "world.ptah.temp.defs#canonicalStatusOfficial", + Self::CanonicalStatusCommunity => "world.ptah.temp.defs#canonicalStatusCommunity", + Self::CanonicalStatusApocryphal => "world.ptah.temp.defs#canonicalStatusApocryphal", Self::Other(s) => s.as_ref(), } } /// Construct from a string-like value, matching known values. pub fn from_value(s: S) -> Self { match s.as_ref() { - "world.ptah.temp.defs#canonicalStatusOfficial" => { - Self::CanonicalStatusOfficial - } - "world.ptah.temp.defs#canonicalStatusCommunity" => { - Self::CanonicalStatusCommunity - } - "world.ptah.temp.defs#canonicalStatusApocryphal" => { - Self::CanonicalStatusApocryphal - } + "world.ptah.temp.defs#canonicalStatusOfficial" => Self::CanonicalStatusOfficial, + "world.ptah.temp.defs#canonicalStatusCommunity" => Self::CanonicalStatusCommunity, + "world.ptah.temp.defs#canonicalStatusApocryphal" => Self::CanonicalStatusApocryphal, _ => Self::Other(s), } } @@ -184,9 +175,7 @@ where LocationCanonicalStatus::CanonicalStatusApocryphal => { LocationCanonicalStatus::CanonicalStatusApocryphal } - LocationCanonicalStatus::Other(v) => { - LocationCanonicalStatus::Other(v.into_static()) - } + LocationCanonicalStatus::Other(v) => LocationCanonicalStatus::Other(v.into_static()), } } } @@ -285,9 +274,7 @@ where LocationLocationType::Landmark => LocationLocationType::Landmark, LocationLocationType::Vessel => LocationLocationType::Vessel, LocationLocationType::AbstractSpace => LocationLocationType::AbstractSpace, - LocationLocationType::Other(v) => { - LocationLocationType::Other(v.into_static()) - } + LocationLocationType::Other(v) => LocationLocationType::Other(v.into_static()), } } } @@ -532,10 +519,10 @@ impl LexiconSchema for Location { } fn lexicon_doc_world_ptah_temp_location() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("world.ptah.temp.location"), @@ -743,7 +730,7 @@ fn lexicon_doc_world_ptah_temp_location() -> LexiconDoc<'static> { pub mod location_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -846,7 +833,9 @@ impl LocationBuilder { pub fn new() -> Self { LocationBuilder { _state: PhantomData, - _fields: (None, None, None, None, None, None, None, None, None, None, None), + _fields: ( + None, None, None, None, None, None, None, None, None, None, None, + ), _type: PhantomData, } } @@ -875,10 +864,7 @@ impl LocationBuilder { self } /// Set the `canonicalStatus` field to an Option value (optional) - pub fn maybe_canonical_status( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_canonical_status(mut self, value: Option>) -> Self { self._fields.1 = value; self } @@ -950,18 +936,12 @@ impl LocationBuilder { impl LocationBuilder { /// Set the `locationType` field (optional) - pub fn location_type( - mut self, - value: impl Into>>, - ) -> Self { + pub fn location_type(mut self, value: impl Into>>) -> Self { self._fields.6 = value.into(); self } /// Set the `locationType` field to an Option value (optional) - pub fn maybe_location_type( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_location_type(mut self, value: Option>) -> Self { self._fields.6 = value; self } @@ -973,10 +953,7 @@ where St::Name: location_state::IsUnset, { /// Set the `name` field (required) - pub fn name( - mut self, - value: impl Into, - ) -> LocationBuilder> { + pub fn name(mut self, value: impl Into) -> LocationBuilder> { self._fields.7 = Option::Some(value.into()); LocationBuilder { _state: PhantomData, @@ -1001,18 +978,12 @@ impl LocationBuilder { impl LocationBuilder { /// Set the `properties` field (optional) - pub fn properties( - mut self, - value: impl Into>>, - ) -> Self { + pub fn properties(mut self, value: impl Into>>) -> Self { self._fields.9 = value.into(); self } /// Set the `properties` field to an Option value (optional) - pub fn maybe_properties( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_properties(mut self, value: Option>) -> Self { self._fields.9 = value; self } @@ -1079,4 +1050,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/world_ptah/temp/lore.rs b/crates/jacquard-api/src/world_ptah/temp/lore.rs index 1ddcff8e..21b68383 100644 --- a/crates/jacquard-api/src/world_ptah/temp/lore.rs +++ b/crates/jacquard-api/src/world_ptah/temp/lore.rs @@ -10,13 +10,13 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::collection::{Collection, RecordError}; -use jacquard_common::types::string::{Did, AtUri, Cid, Datetime}; +use jacquard_common::types::string::{AtUri, Cid, Datetime, Did}; use jacquard_common::types::uri::{RecordUri, UriError}; use jacquard_common::types::value::Data; use jacquard_common::xrpc::XrpcResp; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// The Shabaka Stone of the world. It preserves what happened. It cannot be erased. It names who made it. It is the theological text of a world that anyone can read and nobody can alter. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -83,30 +83,18 @@ pub enum LoreCanonicalStatus { impl LoreCanonicalStatus { pub fn as_str(&self) -> &str { match self { - Self::CanonicalStatusOfficial => { - "world.ptah.temp.defs#canonicalStatusOfficial" - } - Self::CanonicalStatusCommunity => { - "world.ptah.temp.defs#canonicalStatusCommunity" - } - Self::CanonicalStatusApocryphal => { - "world.ptah.temp.defs#canonicalStatusApocryphal" - } + Self::CanonicalStatusOfficial => "world.ptah.temp.defs#canonicalStatusOfficial", + Self::CanonicalStatusCommunity => "world.ptah.temp.defs#canonicalStatusCommunity", + Self::CanonicalStatusApocryphal => "world.ptah.temp.defs#canonicalStatusApocryphal", Self::Other(s) => s.as_ref(), } } /// Construct from a string-like value, matching known values. pub fn from_value(s: S) -> Self { match s.as_ref() { - "world.ptah.temp.defs#canonicalStatusOfficial" => { - Self::CanonicalStatusOfficial - } - "world.ptah.temp.defs#canonicalStatusCommunity" => { - Self::CanonicalStatusCommunity - } - "world.ptah.temp.defs#canonicalStatusApocryphal" => { - Self::CanonicalStatusApocryphal - } + "world.ptah.temp.defs#canonicalStatusOfficial" => Self::CanonicalStatusOfficial, + "world.ptah.temp.defs#canonicalStatusCommunity" => Self::CanonicalStatusCommunity, + "world.ptah.temp.defs#canonicalStatusApocryphal" => Self::CanonicalStatusApocryphal, _ => Self::Other(s), } } @@ -245,9 +233,7 @@ where match self { LoreContributionType::Originator => LoreContributionType::Originator, LoreContributionType::Community => LoreContributionType::Community, - LoreContributionType::Other(v) => { - LoreContributionType::Other(v.into_static()) - } + LoreContributionType::Other(v) => LoreContributionType::Other(v.into_static()), } } } @@ -381,7 +367,7 @@ impl LexiconSchema for Lore { pub mod lore_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -484,7 +470,9 @@ impl LoreBuilder { pub fn new() -> Self { LoreBuilder { _state: PhantomData, - _fields: (None, None, None, None, None, None, None, None, None, None, None), + _fields: ( + None, None, None, None, None, None, None, None, None, None, None, + ), _type: PhantomData, } } @@ -505,18 +493,12 @@ impl LoreBuilder { impl LoreBuilder { /// Set the `canonicalStatus` field (optional) - pub fn canonical_status( - mut self, - value: impl Into>>, - ) -> Self { + pub fn canonical_status(mut self, value: impl Into>>) -> Self { self._fields.1 = value.into(); self } /// Set the `canonicalStatus` field to an Option value (optional) - pub fn maybe_canonical_status( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_canonical_status(mut self, value: Option>) -> Self { self._fields.1 = value; self } @@ -550,18 +532,12 @@ impl LoreBuilder { impl LoreBuilder { /// Set the `contributionType` field (optional) - pub fn contribution_type( - mut self, - value: impl Into>>, - ) -> Self { + pub fn contribution_type(mut self, value: impl Into>>) -> Self { self._fields.4 = value.into(); self } /// Set the `contributionType` field to an Option value (optional) - pub fn maybe_contribution_type( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_contribution_type(mut self, value: Option>) -> Self { self._fields.4 = value; self } @@ -637,10 +613,7 @@ where St::Title: lore_state::IsUnset, { /// Set the `title` field (required) - pub fn title( - mut self, - value: impl Into, - ) -> LoreBuilder> { + pub fn title(mut self, value: impl Into) -> LoreBuilder> { self._fields.9 = Option::Some(value.into()); LoreBuilder { _state: PhantomData, @@ -714,10 +687,10 @@ where } fn lexicon_doc_world_ptah_temp_lore() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("world.ptah.temp.lore"), @@ -886,4 +859,4 @@ fn lexicon_doc_world_ptah_temp_lore() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/world_ptah/temp/role.rs b/crates/jacquard-api/src/world_ptah/temp/role.rs index 19893616..86ae7f9a 100644 --- a/crates/jacquard-api/src/world_ptah/temp/role.rs +++ b/crates/jacquard-api/src/world_ptah/temp/role.rs @@ -10,13 +10,13 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::collection::{Collection, RecordError}; -use jacquard_common::types::string::{Did, AtUri, Cid, Datetime}; +use jacquard_common::types::string::{AtUri, Cid, Datetime, Did}; use jacquard_common::types::uri::{RecordUri, UriError}; use jacquard_common::types::value::Data; use jacquard_common::xrpc::XrpcResp; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// A stage role vs a performance of that role. The Opening of the Mouth was performed on a type of figure — the Role is the type. The Character instance is the specific statue that gets its mouth opened. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -124,8 +124,7 @@ impl Serialize for RoleCanonicalReferencePolicy { } } -impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> -for RoleCanonicalReferencePolicy { +impl<'de, S: Deserialize<'de> + BosStr> Deserialize<'de> for RoleCanonicalReferencePolicy { fn deserialize(deserializer: D) -> Result where D: serde::Deserializer<'de>, @@ -150,12 +149,8 @@ where fn into_static(self) -> Self::Output { match self { RoleCanonicalReferencePolicy::Fixed => RoleCanonicalReferencePolicy::Fixed, - RoleCanonicalReferencePolicy::Updatable => { - RoleCanonicalReferencePolicy::Updatable - } - RoleCanonicalReferencePolicy::Community => { - RoleCanonicalReferencePolicy::Community - } + RoleCanonicalReferencePolicy::Updatable => RoleCanonicalReferencePolicy::Updatable, + RoleCanonicalReferencePolicy::Community => RoleCanonicalReferencePolicy::Community, RoleCanonicalReferencePolicy::Other(v) => { RoleCanonicalReferencePolicy::Other(v.into_static()) } @@ -176,30 +171,18 @@ pub enum RoleCanonicalStatus { impl RoleCanonicalStatus { pub fn as_str(&self) -> &str { match self { - Self::CanonicalStatusOfficial => { - "world.ptah.temp.defs#canonicalStatusOfficial" - } - Self::CanonicalStatusCommunity => { - "world.ptah.temp.defs#canonicalStatusCommunity" - } - Self::CanonicalStatusApocryphal => { - "world.ptah.temp.defs#canonicalStatusApocryphal" - } + Self::CanonicalStatusOfficial => "world.ptah.temp.defs#canonicalStatusOfficial", + Self::CanonicalStatusCommunity => "world.ptah.temp.defs#canonicalStatusCommunity", + Self::CanonicalStatusApocryphal => "world.ptah.temp.defs#canonicalStatusApocryphal", Self::Other(s) => s.as_ref(), } } /// Construct from a string-like value, matching known values. pub fn from_value(s: S) -> Self { match s.as_ref() { - "world.ptah.temp.defs#canonicalStatusOfficial" => { - Self::CanonicalStatusOfficial - } - "world.ptah.temp.defs#canonicalStatusCommunity" => { - Self::CanonicalStatusCommunity - } - "world.ptah.temp.defs#canonicalStatusApocryphal" => { - Self::CanonicalStatusApocryphal - } + "world.ptah.temp.defs#canonicalStatusOfficial" => Self::CanonicalStatusOfficial, + "world.ptah.temp.defs#canonicalStatusCommunity" => Self::CanonicalStatusCommunity, + "world.ptah.temp.defs#canonicalStatusApocryphal" => Self::CanonicalStatusApocryphal, _ => Self::Other(s), } } @@ -420,9 +403,7 @@ where fn into_static(self) -> Self::Output { match self { RoleSourceType::SourceTypeOriginalIp => RoleSourceType::SourceTypeOriginalIp, - RoleSourceType::SourceTypePublicDomain => { - RoleSourceType::SourceTypePublicDomain - } + RoleSourceType::SourceTypePublicDomain => RoleSourceType::SourceTypePublicDomain, RoleSourceType::Other(v) => RoleSourceType::Other(v.into_static()), } } @@ -557,7 +538,7 @@ impl LexiconSchema for Role { pub mod role_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -662,18 +643,7 @@ impl RoleBuilder { RoleBuilder { _state: PhantomData, _fields: ( - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, + None, None, None, None, None, None, None, None, None, None, None, None, ), _type: PhantomData, } @@ -695,18 +665,12 @@ impl RoleBuilder { impl RoleBuilder { /// Set the `canonicalCharacterReference` field (optional) - pub fn canonical_character_reference( - mut self, - value: impl Into>>, - ) -> Self { + pub fn canonical_character_reference(mut self, value: impl Into>>) -> Self { self._fields.1 = value.into(); self } /// Set the `canonicalCharacterReference` field to an Option value (optional) - pub fn maybe_canonical_character_reference( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_canonical_character_reference(mut self, value: Option>) -> Self { self._fields.1 = value; self } @@ -733,18 +697,12 @@ impl RoleBuilder { impl RoleBuilder { /// Set the `canonicalStatus` field (optional) - pub fn canonical_status( - mut self, - value: impl Into>>, - ) -> Self { + pub fn canonical_status(mut self, value: impl Into>>) -> Self { self._fields.3 = value.into(); self } /// Set the `canonicalStatus` field to an Option value (optional) - pub fn maybe_canonical_status( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_canonical_status(mut self, value: Option>) -> Self { self._fields.3 = value; self } @@ -803,18 +761,12 @@ impl RoleBuilder { impl RoleBuilder { /// Set the `instancePolicy` field (optional) - pub fn instance_policy( - mut self, - value: impl Into>>, - ) -> Self { + pub fn instance_policy(mut self, value: impl Into>>) -> Self { self._fields.7 = value.into(); self } /// Set the `instancePolicy` field to an Option value (optional) - pub fn maybe_instance_policy( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_instance_policy(mut self, value: Option>) -> Self { self._fields.7 = value; self } @@ -826,10 +778,7 @@ where St::Name: role_state::IsUnset, { /// Set the `name` field (required) - pub fn name( - mut self, - value: impl Into, - ) -> RoleBuilder> { + pub fn name(mut self, value: impl Into) -> RoleBuilder> { self._fields.8 = Option::Some(value.into()); RoleBuilder { _state: PhantomData, @@ -931,10 +880,10 @@ where } fn lexicon_doc_world_ptah_temp_role() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("world.ptah.temp.role"), @@ -1109,4 +1058,4 @@ fn lexicon_doc_world_ptah_temp_role() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/world_ptah/temp/world.rs b/crates/jacquard-api/src/world_ptah/temp/world.rs index c214a35b..ce35321c 100644 --- a/crates/jacquard-api/src/world_ptah/temp/world.rs +++ b/crates/jacquard-api/src/world_ptah/temp/world.rs @@ -10,13 +10,13 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::collection::{Collection, RecordError}; -use jacquard_common::types::string::{Did, AtUri, Cid, Datetime}; +use jacquard_common::types::string::{AtUri, Cid, Datetime, Did}; use jacquard_common::types::uri::{RecordUri, UriError}; use jacquard_common::types::value::Data; use jacquard_common::xrpc::XrpcResp; @@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::world_ptah::temp::world; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::world_ptah::temp::world; +use serde::{Deserialize, Serialize}; /// The deed. Establishes that a world exists, who created it, and what its basic properties are. Ptah conceives the world in his heart — this record is that conception made permanent. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -79,30 +79,18 @@ pub enum WorldCanonicalStatus { impl WorldCanonicalStatus { pub fn as_str(&self) -> &str { match self { - Self::CanonicalStatusOfficial => { - "world.ptah.temp.defs#canonicalStatusOfficial" - } - Self::CanonicalStatusCommunity => { - "world.ptah.temp.defs#canonicalStatusCommunity" - } - Self::CanonicalStatusApocryphal => { - "world.ptah.temp.defs#canonicalStatusApocryphal" - } + Self::CanonicalStatusOfficial => "world.ptah.temp.defs#canonicalStatusOfficial", + Self::CanonicalStatusCommunity => "world.ptah.temp.defs#canonicalStatusCommunity", + Self::CanonicalStatusApocryphal => "world.ptah.temp.defs#canonicalStatusApocryphal", Self::Other(s) => s.as_ref(), } } /// Construct from a string-like value, matching known values. pub fn from_value(s: S) -> Self { match s.as_ref() { - "world.ptah.temp.defs#canonicalStatusOfficial" => { - Self::CanonicalStatusOfficial - } - "world.ptah.temp.defs#canonicalStatusCommunity" => { - Self::CanonicalStatusCommunity - } - "world.ptah.temp.defs#canonicalStatusApocryphal" => { - Self::CanonicalStatusApocryphal - } + "world.ptah.temp.defs#canonicalStatusOfficial" => Self::CanonicalStatusOfficial, + "world.ptah.temp.defs#canonicalStatusCommunity" => Self::CanonicalStatusCommunity, + "world.ptah.temp.defs#canonicalStatusApocryphal" => Self::CanonicalStatusApocryphal, _ => Self::Other(s), } } @@ -162,9 +150,7 @@ where WorldCanonicalStatus::CanonicalStatusApocryphal => { WorldCanonicalStatus::CanonicalStatusApocryphal } - WorldCanonicalStatus::Other(v) => { - WorldCanonicalStatus::Other(v.into_static()) - } + WorldCanonicalStatus::Other(v) => WorldCanonicalStatus::Other(v.into_static()), } } } @@ -331,12 +317,8 @@ where type Output = WorldSourceType; fn into_static(self) -> Self::Output { match self { - WorldSourceType::SourceTypeOriginalIp => { - WorldSourceType::SourceTypeOriginalIp - } - WorldSourceType::SourceTypePublicDomain => { - WorldSourceType::SourceTypePublicDomain - } + WorldSourceType::SourceTypeOriginalIp => WorldSourceType::SourceTypeOriginalIp, + WorldSourceType::SourceTypePublicDomain => WorldSourceType::SourceTypePublicDomain, WorldSourceType::SourceTypeCollaborativeCommons => { WorldSourceType::SourceTypeCollaborativeCommons } @@ -359,7 +341,10 @@ pub struct WorldGetRecordOutput { /// Visual and tonal metadata for rendering layers. The world has to feel like something before anything has happened in it yet. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct RenderingHints { ///Visual texture, materials, atmosphere. #[serde(skip_serializing_if = "Option::is_none")] @@ -598,7 +583,7 @@ impl LexiconSchema for RenderingHints { pub mod world_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -691,18 +676,12 @@ impl WorldBuilder { impl WorldBuilder { /// Set the `canonicalStatus` field (optional) - pub fn canonical_status( - mut self, - value: impl Into>>, - ) -> Self { + pub fn canonical_status(mut self, value: impl Into>>) -> Self { self._fields.0 = value.into(); self } /// Set the `canonicalStatus` field to an Option value (optional) - pub fn maybe_canonical_status( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_canonical_status(mut self, value: Option>) -> Self { self._fields.0 = value; self } @@ -761,18 +740,12 @@ impl WorldBuilder { impl WorldBuilder { /// Set the `governanceMode` field (optional) - pub fn governance_mode( - mut self, - value: impl Into>>, - ) -> Self { + pub fn governance_mode(mut self, value: impl Into>>) -> Self { self._fields.4 = value.into(); self } /// Set the `governanceMode` field to an Option value (optional) - pub fn maybe_governance_mode( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_governance_mode(mut self, value: Option>) -> Self { self._fields.4 = value; self } @@ -784,10 +757,7 @@ where St::Name: world_state::IsUnset, { /// Set the `name` field (required) - pub fn name( - mut self, - value: impl Into, - ) -> WorldBuilder> { + pub fn name(mut self, value: impl Into) -> WorldBuilder> { self._fields.5 = Option::Some(value.into()); WorldBuilder { _state: PhantomData, @@ -799,18 +769,12 @@ where impl WorldBuilder { /// Set the `renderingHints` field (optional) - pub fn rendering_hints( - mut self, - value: impl Into>>, - ) -> Self { + pub fn rendering_hints(mut self, value: impl Into>>) -> Self { self._fields.6 = value.into(); self } /// Set the `renderingHints` field to an Option value (optional) - pub fn maybe_rendering_hints( - mut self, - value: Option>, - ) -> Self { + pub fn maybe_rendering_hints(mut self, value: Option>) -> Self { self._fields.6 = value; self } @@ -882,10 +846,10 @@ where } fn lexicon_doc_world_ptah_temp_world() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("world.ptah.temp.world"), @@ -1081,4 +1045,4 @@ fn lexicon_doc_world_ptah_temp_world() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/xyz_atpoke.rs b/crates/jacquard-api/src/xyz_atpoke.rs index caf126c0..000bd1cd 100644 --- a/crates/jacquard-api/src/xyz_atpoke.rs +++ b/crates/jacquard-api/src/xyz_atpoke.rs @@ -4,4 +4,4 @@ // Any manual changes will be overwritten on the next regeneration. pub mod feed; -pub mod graph; \ No newline at end of file +pub mod graph; diff --git a/crates/jacquard-api/src/xyz_atpoke/feed.rs b/crates/jacquard-api/src/xyz_atpoke/feed.rs index 386da9ea..2d135931 100644 --- a/crates/jacquard-api/src/xyz_atpoke/feed.rs +++ b/crates/jacquard-api/src/xyz_atpoke/feed.rs @@ -3,4 +3,4 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. -pub mod poke; \ No newline at end of file +pub mod poke; diff --git a/crates/jacquard-api/src/xyz_atpoke/feed/poke.rs b/crates/jacquard-api/src/xyz_atpoke/feed/poke.rs index 3fca8e05..c8d955a9 100644 --- a/crates/jacquard-api/src/xyz_atpoke/feed/poke.rs +++ b/crates/jacquard-api/src/xyz_atpoke/feed/poke.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::com_atproto::repo::strong_ref::StrongRef; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::com_atproto::repo::strong_ref::StrongRef; +use serde::{Deserialize, Serialize}; /// A 'poke' of another record. Kind of like a like. Used to poke a poke (or any other record) #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -107,7 +107,7 @@ impl LexiconSchema for Poke { pub mod poke_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -252,10 +252,10 @@ where } fn lexicon_doc_xyz_atpoke_feed_poke() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("xyz.atpoke.feed.poke"), @@ -312,4 +312,4 @@ fn lexicon_doc_xyz_atpoke_feed_poke() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/xyz_atpoke/graph.rs b/crates/jacquard-api/src/xyz_atpoke/graph.rs index 386da9ea..2d135931 100644 --- a/crates/jacquard-api/src/xyz_atpoke/graph.rs +++ b/crates/jacquard-api/src/xyz_atpoke/graph.rs @@ -3,4 +3,4 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. -pub mod poke; \ No newline at end of file +pub mod poke; diff --git a/crates/jacquard-api/src/xyz_atpoke/graph/poke.rs b/crates/jacquard-api/src/xyz_atpoke/graph/poke.rs index 93b5b8f1..eb6c45da 100644 --- a/crates/jacquard-api/src/xyz_atpoke/graph/poke.rs +++ b/crates/jacquard-api/src/xyz_atpoke/graph/poke.rs @@ -10,13 +10,13 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::collection::{Collection, RecordError}; -use jacquard_common::types::string::{Did, AtUri, Cid, Datetime}; +use jacquard_common::types::string::{AtUri, Cid, Datetime, Did}; use jacquard_common::types::uri::{RecordUri, UriError}; use jacquard_common::types::value::Data; use jacquard_common::xrpc::XrpcResp; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// Record declaring you poked another did, there can be multiple pokes per did #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -104,7 +104,7 @@ impl LexiconSchema for Poke { pub mod poke_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -234,10 +234,10 @@ where } fn lexicon_doc_xyz_atpoke_graph_poke() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("xyz.atpoke.graph.poke"), @@ -287,4 +287,4 @@ fn lexicon_doc_xyz_atpoke_graph_poke() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/za_co.rs b/crates/jacquard-api/src/za_co.rs index 24ace2e6..18218447 100644 --- a/crates/jacquard-api/src/za_co.rs +++ b/crates/jacquard-api/src/za_co.rs @@ -3,4 +3,4 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. -pub mod ciaran; \ No newline at end of file +pub mod ciaran; diff --git a/crates/jacquard-api/src/za_co/ciaran.rs b/crates/jacquard-api/src/za_co/ciaran.rs index 29eec6bc..0d9888b8 100644 --- a/crates/jacquard-api/src/za_co/ciaran.rs +++ b/crates/jacquard-api/src/za_co/ciaran.rs @@ -3,4 +3,4 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. -pub mod cumulus; \ No newline at end of file +pub mod cumulus; diff --git a/crates/jacquard-api/src/za_co/ciaran/cumulus.rs b/crates/jacquard-api/src/za_co/ciaran/cumulus.rs index 25cd604a..bd96b8f2 100644 --- a/crates/jacquard-api/src/za_co/ciaran/cumulus.rs +++ b/crates/jacquard-api/src/za_co/ciaran/cumulus.rs @@ -5,4 +5,4 @@ pub mod bet; pub mod market; -pub mod resolution; \ No newline at end of file +pub mod resolution; diff --git a/crates/jacquard-api/src/za_co/ciaran/cumulus/bet.rs b/crates/jacquard-api/src/za_co/ciaran/cumulus/bet.rs index 9224fd3c..82064ced 100644 --- a/crates/jacquard-api/src/za_co/ciaran/cumulus/bet.rs +++ b/crates/jacquard-api/src/za_co/ciaran/cumulus/bet.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::com_atproto::repo::strong_ref::StrongRef; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::com_atproto::repo::strong_ref::StrongRef; +use serde::{Deserialize, Serialize}; /// The record containing a Bet placed on a Cumulus Market #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -129,7 +129,7 @@ impl LexiconSchema for Bet { pub mod bet_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -254,10 +254,7 @@ where St::Position: bet_state::IsUnset, { /// Set the `position` field (required) - pub fn position( - mut self, - value: impl Into, - ) -> BetBuilder> { + pub fn position(mut self, value: impl Into) -> BetBuilder> { self._fields.2 = Option::Some(value.into()); BetBuilder { _state: PhantomData, @@ -295,10 +292,10 @@ where } fn lexicon_doc_za_co_ciaran_cumulus_bet() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("za.co.ciaran.cumulus.bet"), @@ -307,20 +304,16 @@ fn lexicon_doc_za_co_ciaran_cumulus_bet() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static( - "The record containing a Bet placed on a Cumulus Market", - ), - ), + description: Some(CowStr::new_static( + "The record containing a Bet placed on a Cumulus Market", + )), key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("market"), - SmolStr::new_static("position"), - SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("market"), + SmolStr::new_static("position"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -357,4 +350,4 @@ fn lexicon_doc_za_co_ciaran_cumulus_bet() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/za_co/ciaran/cumulus/market.rs b/crates/jacquard-api/src/za_co/ciaran/cumulus/market.rs index 0dedf145..0727645b 100644 --- a/crates/jacquard-api/src/za_co/ciaran/cumulus/market.rs +++ b/crates/jacquard-api/src/za_co/ciaran/cumulus/market.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// The record containing a Cumulus Market #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -117,7 +117,7 @@ impl LexiconSchema for Market { pub mod market_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -321,10 +321,10 @@ where } fn lexicon_doc_za_co_ciaran_cumulus_market() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("za.co.ciaran.cumulus.market"), @@ -333,19 +333,15 @@ fn lexicon_doc_za_co_ciaran_cumulus_market() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static("The record containing a Cumulus Market"), - ), + description: Some(CowStr::new_static("The record containing a Cumulus Market")), key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("question"), - SmolStr::new_static("liquidity"), - SmolStr::new_static("closesAt"), - SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("question"), + SmolStr::new_static("liquidity"), + SmolStr::new_static("closesAt"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -387,4 +383,4 @@ fn lexicon_doc_za_co_ciaran_cumulus_market() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/za_co/ciaran/cumulus/resolution.rs b/crates/jacquard-api/src/za_co/ciaran/cumulus/resolution.rs index ad1e1c37..d7fe62db 100644 --- a/crates/jacquard-api/src/za_co/ciaran/cumulus/resolution.rs +++ b/crates/jacquard-api/src/za_co/ciaran/cumulus/resolution.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,10 +24,10 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::com_atproto::repo::strong_ref::StrongRef; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::com_atproto::repo::strong_ref::StrongRef; +use serde::{Deserialize, Serialize}; /// The record containing the Resolution for a Cumulus Market #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -129,7 +129,7 @@ impl LexiconSchema for Resolution { pub mod resolution_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -284,10 +284,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> Resolution { + pub fn build_with_data(self, extra_data: BTreeMap>) -> Resolution { Resolution { answer: self._fields.0.unwrap(), created_at: self._fields.1.unwrap(), @@ -298,10 +295,10 @@ where } fn lexicon_doc_za_co_ciaran_cumulus_resolution() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("za.co.ciaran.cumulus.resolution"), @@ -310,20 +307,16 @@ fn lexicon_doc_za_co_ciaran_cumulus_resolution() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static( - "The record containing the Resolution for a Cumulus Market", - ), - ), + description: Some(CowStr::new_static( + "The record containing the Resolution for a Cumulus Market", + )), key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("market"), - SmolStr::new_static("answer"), - SmolStr::new_static("createdAt") - ], - ), + required: Some(vec![ + SmolStr::new_static("market"), + SmolStr::new_static("answer"), + SmolStr::new_static("createdAt"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -360,4 +353,4 @@ fn lexicon_doc_za_co_ciaran_cumulus_resolution() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/zip_viruus.rs b/crates/jacquard-api/src/zip_viruus.rs index 4b56fd65..f3795cda 100644 --- a/crates/jacquard-api/src/zip_viruus.rs +++ b/crates/jacquard-api/src/zip_viruus.rs @@ -3,4 +3,4 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. -pub mod chat; \ No newline at end of file +pub mod chat; diff --git a/crates/jacquard-api/src/zip_viruus/chat.rs b/crates/jacquard-api/src/zip_viruus/chat.rs index dcd4df0d..6ba479e4 100644 --- a/crates/jacquard-api/src/zip_viruus/chat.rs +++ b/crates/jacquard-api/src/zip_viruus/chat.rs @@ -3,4 +3,4 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. -pub mod message; \ No newline at end of file +pub mod message; diff --git a/crates/jacquard-api/src/zip_viruus/chat/message.rs b/crates/jacquard-api/src/zip_viruus/chat/message.rs index c75feabb..c7c46cd0 100644 --- a/crates/jacquard-api/src/zip_viruus/chat/message.rs +++ b/crates/jacquard-api/src/zip_viruus/chat/message.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -26,7 +26,7 @@ use jacquard_lexicon::schema::LexiconSchema; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; /// A single chat message in a whoossh channel. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -143,7 +143,7 @@ impl LexiconSchema for Message { pub mod message_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -268,10 +268,7 @@ where St::Text: message_state::IsUnset, { /// Set the `text` field (required) - pub fn text( - mut self, - value: impl Into, - ) -> MessageBuilder> { + pub fn text(mut self, value: impl Into) -> MessageBuilder> { self._fields.2 = Option::Some(value.into()); MessageBuilder { _state: PhantomData, @@ -309,10 +306,10 @@ where } fn lexicon_doc_zip_viruus_chat_message() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("zip.viruus.chat.message"), @@ -321,27 +318,25 @@ fn lexicon_doc_zip_viruus_chat_message() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("main"), LexUserType::Record(LexRecord { - description: Some( - CowStr::new_static("A single chat message in a whoossh channel."), - ), + description: Some(CowStr::new_static( + "A single chat message in a whoossh channel.", + )), key: Some(CowStr::new_static("tid")), record: LexRecordRecord::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("text"), - SmolStr::new_static("createdAt"), - SmolStr::new_static("channel") - ], - ), + required: Some(vec![ + SmolStr::new_static("text"), + SmolStr::new_static("createdAt"), + SmolStr::new_static("channel"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("channel"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The channel the message was sent in."), - ), + description: Some(CowStr::new_static( + "The channel the message was sent in.", + )), max_length: Some(100usize), ..Default::default() }), @@ -349,11 +344,9 @@ fn lexicon_doc_zip_viruus_chat_message() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("createdAt"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Timestamp of when the message was sent.", - ), - ), + description: Some(CowStr::new_static( + "Timestamp of when the message was sent.", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -361,9 +354,7 @@ fn lexicon_doc_zip_viruus_chat_message() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("text"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The message content."), - ), + description: Some(CowStr::new_static("The message content.")), max_length: Some(500usize), max_graphemes: Some(500usize), ..Default::default() @@ -380,4 +371,4 @@ fn lexicon_doc_zip_viruus_chat_message() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/zone_stratos.rs b/crates/jacquard-api/src/zone_stratos.rs index 8d4720dc..2006d358 100644 --- a/crates/jacquard-api/src/zone_stratos.rs +++ b/crates/jacquard-api/src/zone_stratos.rs @@ -13,31 +13,33 @@ pub mod identity; pub mod repo; pub mod sync; - #[allow(unused_imports)] use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; use jacquard_common::deps::smol_str::SmolStr; -use jacquard_common::types::string::{Did, AtUri, Cid}; +use jacquard_common::types::string::{AtUri, Cid, Did}; use jacquard_common::types::value::Data; use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::zone_stratos; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::zone_stratos; +use serde::{Deserialize, Serialize}; /// Indicates this record requires hydration from an external service. The stub record on the PDS contains minimal data; full content is fetched from the service endpoint. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Source { ///DID of the hydration service, optionally with fragment identifying the service entry (e.g., 'did:plc:abc123#atproto_pns'). pub service: Did, @@ -131,7 +133,10 @@ where /// A strong reference to a record, including its content hash for verification. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct SubjectRef { ///CID of the full record content for integrity verification. pub cid: Cid, @@ -184,7 +189,7 @@ impl LexiconSchema for SubjectRef { pub mod source_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -354,10 +359,10 @@ where } fn lexicon_doc_zone_stratos_defs() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("zone.stratos.defs"), @@ -467,7 +472,7 @@ fn lexicon_doc_zone_stratos_defs() -> LexiconDoc<'static> { pub mod subject_ref_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -587,14 +592,11 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> SubjectRef { + pub fn build_with_data(self, extra_data: BTreeMap>) -> SubjectRef { SubjectRef { cid: self._fields.0.unwrap(), uri: self._fields.1.unwrap(), extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/zone_stratos/actor.rs b/crates/jacquard-api/src/zone_stratos/actor.rs index ba0dcbd9..cc916ca0 100644 --- a/crates/jacquard-api/src/zone_stratos/actor.rs +++ b/crates/jacquard-api/src/zone_stratos/actor.rs @@ -3,4 +3,4 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. -pub mod enrollment; \ No newline at end of file +pub mod enrollment; diff --git a/crates/jacquard-api/src/zone_stratos/actor/enrollment.rs b/crates/jacquard-api/src/zone_stratos/actor/enrollment.rs index 8057118f..a7058cb7 100644 --- a/crates/jacquard-api/src/zone_stratos/actor/enrollment.rs +++ b/crates/jacquard-api/src/zone_stratos/actor/enrollment.rs @@ -10,8 +10,8 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::bytes::Bytes; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -25,11 +25,11 @@ use jacquard_derive::{IntoStatic, lexicon}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::zone_stratos::actor::enrollment; +use crate::zone_stratos::boundary::Domain; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::zone_stratos::boundary::Domain; -use crate::zone_stratos::actor::enrollment; +use serde::{Deserialize, Serialize}; /// A record indicating the user is enrolled in a Stratos service. Published to the user's PDS during OAuth enrollment for endpoint discovery by AppViews. Multiple enrollment records are supported — one per Stratos service. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -69,7 +69,10 @@ pub struct EnrollmentGetRecordOutput { /// An attestation signed by the Stratos service key. The signed payload is DAG-CBOR encoded {boundaries, did, signingKey} with sorted keys. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ServiceAttestation { ///Raw signature bytes of the DAG-CBOR encoded attestation payload, signed by the service key. #[serde(with = "jacquard_common::serde_bytes_helper")] @@ -155,7 +158,7 @@ impl LexiconSchema for ServiceAttestation { pub mod enrollment_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -367,10 +370,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> Enrollment { + pub fn build_with_data(self, extra_data: BTreeMap>) -> Enrollment { Enrollment { attestation: self._fields.0.unwrap(), boundaries: self._fields.1, @@ -383,10 +383,10 @@ where } fn lexicon_doc_zone_stratos_actor_enrollment() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("zone.stratos.actor.enrollment"), @@ -524,7 +524,7 @@ fn lexicon_doc_zone_stratos_actor_enrollment() -> LexiconDoc<'static> { pub mod service_attestation_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -644,14 +644,11 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> ServiceAttestation { + pub fn build_with_data(self, extra_data: BTreeMap>) -> ServiceAttestation { ServiceAttestation { sig: self._fields.0.unwrap(), signing_key: self._fields.1.unwrap(), extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/zone_stratos/boundary.rs b/crates/jacquard-api/src/zone_stratos/boundary.rs index 6e6a3cde..9c6a58ce 100644 --- a/crates/jacquard-api/src/zone_stratos/boundary.rs +++ b/crates/jacquard-api/src/zone_stratos/boundary.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -20,14 +20,17 @@ use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::zone_stratos::boundary; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::zone_stratos::boundary; +use serde::{Deserialize, Serialize}; /// A specific domain to define exposure boundary. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Domain { ///Domain identifier for boundary. Must be a valid domain name. pub value: S, @@ -38,7 +41,10 @@ pub struct Domain { /// A collection of domains that define the exposure boundary for a record. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Domains { ///List of domains that can access this record. pub values: Vec>, @@ -99,10 +105,10 @@ impl LexiconSchema for Domains { } fn lexicon_doc_zone_stratos_boundary_defs() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("zone.stratos.boundary.defs"), @@ -111,11 +117,9 @@ fn lexicon_doc_zone_stratos_boundary_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("Domain"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "A specific domain to define exposure boundary.", - ), - ), + description: Some(CowStr::new_static( + "A specific domain to define exposure boundary.", + )), required: Some(vec![SmolStr::new_static("value")]), properties: { #[allow(unused_mut)] @@ -123,11 +127,9 @@ fn lexicon_doc_zone_stratos_boundary_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("value"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Domain identifier for boundary. Must be a valid domain name.", - ), - ), + description: Some(CowStr::new_static( + "Domain identifier for boundary. Must be a valid domain name.", + )), max_length: Some(253usize), ..Default::default() }), @@ -140,11 +142,9 @@ fn lexicon_doc_zone_stratos_boundary_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("Domains"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "A collection of domains that define the exposure boundary for a record.", - ), - ), + description: Some(CowStr::new_static( + "A collection of domains that define the exposure boundary for a record.", + )), required: Some(vec![SmolStr::new_static("values")]), properties: { #[allow(unused_mut)] @@ -152,11 +152,9 @@ fn lexicon_doc_zone_stratos_boundary_defs() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("values"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static( - "List of domains that can access this record.", - ), - ), + description: Some(CowStr::new_static( + "List of domains that can access this record.", + )), items: LexArrayItem::Ref(LexRef { r#ref: CowStr::new_static("#Domain"), ..Default::default() @@ -178,7 +176,7 @@ fn lexicon_doc_zone_stratos_boundary_defs() -> LexiconDoc<'static> { pub mod domains_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -271,4 +269,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/zone_stratos/enrollment.rs b/crates/jacquard-api/src/zone_stratos/enrollment.rs index cbaa2578..5d98b17f 100644 --- a/crates/jacquard-api/src/zone_stratos/enrollment.rs +++ b/crates/jacquard-api/src/zone_stratos/enrollment.rs @@ -3,4 +3,4 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. -pub mod status; \ No newline at end of file +pub mod status; diff --git a/crates/jacquard-api/src/zone_stratos/enrollment/status.rs b/crates/jacquard-api/src/zone_stratos/enrollment/status.rs index 32ba745d..d29bdee4 100644 --- a/crates/jacquard-api/src/zone_stratos/enrollment/status.rs +++ b/crates/jacquard-api/src/zone_stratos/enrollment/status.rs @@ -10,22 +10,27 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; -use jacquard_common::types::string::{Did, Datetime}; +use jacquard_common::types::string::{Datetime, Did}; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Status { pub did: Did, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct StatusOutput { ///Authoritative boundaries assigned. Only included when request is authenticated. #[serde(skip_serializing_if = "Option::is_none")] @@ -67,7 +72,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for StatusRequest { pub mod status_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -128,10 +133,7 @@ where St::Did: status_state::IsUnset, { /// Set the `did` field (required) - pub fn did( - mut self, - value: impl Into>, - ) -> StatusBuilder> { + pub fn did(mut self, value: impl Into>) -> StatusBuilder> { self._fields.0 = Option::Some(value.into()); StatusBuilder { _state: PhantomData, @@ -152,4 +154,4 @@ where did: self._fields.0.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/zone_stratos/feed.rs b/crates/jacquard-api/src/zone_stratos/feed.rs index 16034acd..a3934c62 100644 --- a/crates/jacquard-api/src/zone_stratos/feed.rs +++ b/crates/jacquard-api/src/zone_stratos/feed.rs @@ -3,4 +3,4 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. -pub mod post; \ No newline at end of file +pub mod post; diff --git a/crates/jacquard-api/src/zone_stratos/feed/post.rs b/crates/jacquard-api/src/zone_stratos/feed/post.rs index cf9eae54..993198c1 100644 --- a/crates/jacquard-api/src/zone_stratos/feed/post.rs +++ b/crates/jacquard-api/src/zone_stratos/feed/post.rs @@ -10,7 +10,7 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; @@ -24,9 +24,6 @@ use jacquard_derive::{IntoStatic, lexicon, open_union}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; -#[allow(unused_imports)] -use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; use crate::app_bsky::embed::external::ExternalRecord; use crate::app_bsky::embed::images::Images; use crate::app_bsky::embed::record::Record; @@ -38,6 +35,9 @@ use crate::com_atproto::repo::strong_ref::StrongRef; use crate::zone_stratos::Source; use crate::zone_stratos::boundary::Domains; use crate::zone_stratos::feed::post; +#[allow(unused_imports)] +use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; +use serde::{Deserialize, Serialize}; /// Record containing a private Stratos post with domain boundary restrictions. When stored on user's PDS as a stub, only 'source' and 'createdAt' are present. Full content is available from the hydration service. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] @@ -79,7 +79,6 @@ pub struct Post { pub extra_data: Option>>, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -110,7 +109,10 @@ pub struct PostGetRecordOutput { /// Reference to parent and root posts for replies. Must reference stratos posts only. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ReplyRef { pub parent: StrongRef, pub root: StrongRef, @@ -225,7 +227,7 @@ impl LexiconSchema for ReplyRef { pub mod post_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -467,10 +469,10 @@ where } fn lexicon_doc_zone_stratos_feed_post() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("zone.stratos.feed.post"), @@ -666,7 +668,7 @@ fn lexicon_doc_zone_stratos_feed_post() -> LexiconDoc<'static> { pub mod reply_ref_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -793,4 +795,4 @@ where extra_data: Some(extra_data), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/zone_stratos/identity.rs b/crates/jacquard-api/src/zone_stratos/identity.rs index 88d58159..1664291c 100644 --- a/crates/jacquard-api/src/zone_stratos/identity.rs +++ b/crates/jacquard-api/src/zone_stratos/identity.rs @@ -3,4 +3,4 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. -pub mod resolve_enrollments; \ No newline at end of file +pub mod resolve_enrollments; diff --git a/crates/jacquard-api/src/zone_stratos/identity/resolve_enrollments.rs b/crates/jacquard-api/src/zone_stratos/identity/resolve_enrollments.rs index 5751113b..15fb4354 100644 --- a/crates/jacquard-api/src/zone_stratos/identity/resolve_enrollments.rs +++ b/crates/jacquard-api/src/zone_stratos/identity/resolve_enrollments.rs @@ -10,22 +10,27 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::Did; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::IntoStatic; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ResolveEnrollments { pub did: Did, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ResolveEnrollmentsOutput { ///Boundary domains the user is enrolled in. Empty if not enrolled. pub boundaries: Vec, @@ -62,7 +67,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for ResolveEnrollmentsRequest { pub mod resolve_enrollments_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -147,4 +152,4 @@ where did: self._fields.0.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/zone_stratos/repo.rs b/crates/jacquard-api/src/zone_stratos/repo.rs index a5bfba9f..a1307cda 100644 --- a/crates/jacquard-api/src/zone_stratos/repo.rs +++ b/crates/jacquard-api/src/zone_stratos/repo.rs @@ -5,4 +5,4 @@ pub mod hydrate_record; pub mod hydrate_records; -pub mod import_repo; \ No newline at end of file +pub mod import_repo; diff --git a/crates/jacquard-api/src/zone_stratos/repo/hydrate_record.rs b/crates/jacquard-api/src/zone_stratos/repo/hydrate_record.rs index cf107a31..ac73dd1a 100644 --- a/crates/jacquard-api/src/zone_stratos/repo/hydrate_record.rs +++ b/crates/jacquard-api/src/zone_stratos/repo/hydrate_record.rs @@ -10,24 +10,29 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::{AtUri, Cid}; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct HydrateRecord { #[serde(skip_serializing_if = "Option::is_none")] pub cid: Option>, pub uri: AtUri, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct HydrateRecordOutput { pub cid: Cid, pub uri: AtUri, @@ -36,18 +41,9 @@ pub struct HydrateRecordOutput { pub extra_data: Option>>, } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum HydrateRecordError { /// The requested record does not exist @@ -58,7 +54,10 @@ pub enum HydrateRecordError { RecordBlocked(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for HydrateRecordError { @@ -115,7 +114,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for HydrateRecordRequest { pub mod hydrate_record_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -214,4 +213,4 @@ where uri: self._fields.1.unwrap(), } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/zone_stratos/repo/hydrate_records.rs b/crates/jacquard-api/src/zone_stratos/repo/hydrate_records.rs index 065c6417..77d4a9d1 100644 --- a/crates/jacquard-api/src/zone_stratos/repo/hydrate_records.rs +++ b/crates/jacquard-api/src/zone_stratos/repo/hydrate_records.rs @@ -21,13 +21,16 @@ use jacquard_derive::IntoStatic; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::zone_stratos::repo::hydrate_records; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::zone_stratos::repo::hydrate_records; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct HydrateRecords { ///Array of AT-URIs to hydrate (max 100) pub uris: Vec>, @@ -35,9 +38,11 @@ pub struct HydrateRecords { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct HydrateRecordsOutput { ///URIs blocked due to boundary restrictions pub blocked: Vec>, @@ -49,9 +54,11 @@ pub struct HydrateRecordsOutput { pub extra_data: Option>>, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct RecordView { pub cid: Cid, pub uri: AtUri, @@ -71,9 +78,8 @@ impl jacquard_common::xrpc::XrpcResp for HydrateRecordsResponse { impl jacquard_common::xrpc::XrpcRequest for HydrateRecords { const NSID: &'static str = "zone.stratos.repo.hydrateRecords"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Response = HydrateRecordsResponse; } @@ -81,9 +87,8 @@ impl jacquard_common::xrpc::XrpcRequest for HydrateRecords { pub struct HydrateRecordsRequest; impl jacquard_common::xrpc::XrpcEndpoint for HydrateRecordsRequest { const PATH: &'static str = "/xrpc/zone.stratos.repo.hydrateRecords"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/json", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/json"); type Request = HydrateRecords; type Response = HydrateRecordsResponse; } @@ -105,7 +110,7 @@ impl LexiconSchema for RecordView { pub mod hydrate_records_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -192,10 +197,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> HydrateRecords { + pub fn build_with_data(self, extra_data: BTreeMap>) -> HydrateRecords { HydrateRecords { uris: self._fields.0.unwrap(), extra_data: Some(extra_data), @@ -205,7 +207,7 @@ where pub mod record_view_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -360,10 +362,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> RecordView { + pub fn build_with_data(self, extra_data: BTreeMap>) -> RecordView { RecordView { cid: self._fields.0.unwrap(), uri: self._fields.1.unwrap(), @@ -374,10 +373,10 @@ where } fn lexicon_doc_zone_stratos_repo_hydrateRecords() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("zone.stratos.repo.hydrateRecords"), @@ -388,31 +387,29 @@ fn lexicon_doc_zone_stratos_repo_hydrateRecords() -> LexiconDoc<'static> { LexUserType::XrpcProcedure(LexXrpcProcedure { input: Some(LexXrpcBody { encoding: CowStr::new_static("application/json"), - schema: Some( - LexXrpcBodySchema::Object(LexObject { - required: Some(vec![SmolStr::new_static("uris")]), - properties: { - #[allow(unused_mut)] - let mut map = BTreeMap::new(); - map.insert( - SmolStr::new_static("uris"), - LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static("Array of AT-URIs to hydrate (max 100)"), - ), - items: LexArrayItem::String(LexString { - format: Some(LexStringFormat::AtUri), - ..Default::default() - }), - max_length: Some(100usize), + schema: Some(LexXrpcBodySchema::Object(LexObject { + required: Some(vec![SmolStr::new_static("uris")]), + properties: { + #[allow(unused_mut)] + let mut map = BTreeMap::new(); + map.insert( + SmolStr::new_static("uris"), + LexObjectProperty::Array(LexArray { + description: Some(CowStr::new_static( + "Array of AT-URIs to hydrate (max 100)", + )), + items: LexArrayItem::String(LexString { + format: Some(LexStringFormat::AtUri), ..Default::default() }), - ); - map - }, - ..Default::default() - }), - ), + max_length: Some(100usize), + ..Default::default() + }), + ); + map + }, + ..Default::default() + })), ..Default::default() }), ..Default::default() @@ -421,12 +418,11 @@ fn lexicon_doc_zone_stratos_repo_hydrateRecords() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("recordView"), LexUserType::Object(LexObject { - required: Some( - vec![ - SmolStr::new_static("uri"), SmolStr::new_static("cid"), - SmolStr::new_static("value") - ], - ), + required: Some(vec![ + SmolStr::new_static("uri"), + SmolStr::new_static("cid"), + SmolStr::new_static("value"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); @@ -459,4 +455,4 @@ fn lexicon_doc_zone_stratos_repo_hydrateRecords() -> LexiconDoc<'static> { }, ..Default::default() } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/zone_stratos/repo/import_repo.rs b/crates/jacquard-api/src/zone_stratos/repo/import_repo.rs index 1fe0f05e..062bc18b 100644 --- a/crates/jacquard-api/src/zone_stratos/repo/import_repo.rs +++ b/crates/jacquard-api/src/zone_stratos/repo/import_repo.rs @@ -10,12 +10,12 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::bytes::Bytes; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(rename_all = "camelCase")] @@ -23,9 +23,11 @@ pub struct ImportRepo { pub body: Bytes, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct ImportRepoOutput { ///Number of records successfully imported. pub imported: i64, @@ -33,18 +35,9 @@ pub struct ImportRepoOutput { pub extra_data: Option>>, } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum ImportRepoError { /// The CAR file is malformed, has missing blocks, or contains records with mismatched CIDs. @@ -55,7 +48,10 @@ pub enum ImportRepoError { RepoAlreadyExists(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for ImportRepoError { @@ -97,22 +93,16 @@ impl jacquard_common::xrpc::XrpcResp for ImportRepoResponse { impl jacquard_common::xrpc::XrpcRequest for ImportRepo { const NSID: &'static str = "zone.stratos.repo.importRepo"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/vnd.ipld.car", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/vnd.ipld.car"); type Response = ImportRepoResponse; - fn encode_body( - &self, - buffer: &mut Vec, - ) -> Result<(), jacquard_common::xrpc::EncodeError> + fn encode_body(&self, buffer: &mut Vec) -> Result<(), jacquard_common::xrpc::EncodeError> where Self: Serialize, { Ok(buffer.copy_from_slice(self.body.as_ref())) } - fn decode_body<'de>( - body: &'de [u8], - ) -> Result + fn decode_body<'de>(body: &'de [u8]) -> Result where Self: Deserialize<'de>, { @@ -126,9 +116,8 @@ impl jacquard_common::xrpc::XrpcRequest for ImportRepo { pub struct ImportRepoRequest; impl jacquard_common::xrpc::XrpcEndpoint for ImportRepoRequest { const PATH: &'static str = "/xrpc/zone.stratos.repo.importRepo"; - const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( - "application/vnd.ipld.car", - ); + const METHOD: jacquard_common::xrpc::XrpcMethod = + jacquard_common::xrpc::XrpcMethod::Procedure("application/vnd.ipld.car"); type Request = ImportRepo; type Response = ImportRepoResponse; -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/zone_stratos/sync.rs b/crates/jacquard-api/src/zone_stratos/sync.rs index 7700f577..0a517079 100644 --- a/crates/jacquard-api/src/zone_stratos/sync.rs +++ b/crates/jacquard-api/src/zone_stratos/sync.rs @@ -5,6 +5,5 @@ pub mod get_repo; - #[cfg(feature = "streaming")] -pub mod subscribe_records; \ No newline at end of file +pub mod subscribe_records; diff --git a/crates/jacquard-api/src/zone_stratos/sync/get_repo.rs b/crates/jacquard-api/src/zone_stratos/sync/get_repo.rs index f7b3d5e8..dc485cdf 100644 --- a/crates/jacquard-api/src/zone_stratos/sync/get_repo.rs +++ b/crates/jacquard-api/src/zone_stratos/sync/get_repo.rs @@ -10,41 +10,34 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; use jacquard_common::deps::bytes::Bytes; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::string::{Did, Tid}; use jacquard_common::types::value::Data; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; use jacquard_derive::{IntoStatic, open_union}; -use serde::{Serialize, Deserialize}; +use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct GetRepo { pub did: Did, #[serde(skip_serializing_if = "Option::is_none")] pub since: Option, } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(rename_all = "camelCase")] pub struct GetRepoOutput { pub body: Bytes, } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum GetRepoError { /// The requested repo does not exist or has no commits. @@ -52,7 +45,10 @@ pub enum GetRepoError { RepoNotFound(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for GetRepoError { @@ -121,7 +117,7 @@ impl jacquard_common::xrpc::XrpcEndpoint for GetRepoRequest { pub mod get_repo_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -220,4 +216,4 @@ where since: self._fields.1, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-api/src/zone_stratos/sync/subscribe_records.rs b/crates/jacquard-api/src/zone_stratos/sync/subscribe_records.rs index b444523f..567f1c3c 100644 --- a/crates/jacquard-api/src/zone_stratos/sync/subscribe_records.rs +++ b/crates/jacquard-api/src/zone_stratos/sync/subscribe_records.rs @@ -10,26 +10,29 @@ use alloc::collections::BTreeMap; #[allow(unused_imports)] use core::marker::PhantomData; -use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr}; +use jacquard_common::{BosStr, CowStr, DefaultStr, FromStaticStr}; #[allow(unused_imports)] use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation; use jacquard_common::deps::smol_str::SmolStr; use jacquard_common::types::cid::CidLink; -use jacquard_common::types::string::{Did, Tid, Datetime, UriValue}; +use jacquard_common::types::string::{Datetime, Did, Tid, UriValue}; use jacquard_common::types::value::Data; use jacquard_derive::{IntoStatic, open_union}; use jacquard_lexicon::lexicon::LexiconDoc; use jacquard_lexicon::schema::LexiconSchema; +use crate::zone_stratos::sync::subscribe_records; #[allow(unused_imports)] use jacquard_lexicon::validation::{ConstraintError, ValidationPath}; -use serde::{Serialize, Deserialize}; -use crate::zone_stratos::sync::subscribe_records; +use serde::{Deserialize, Serialize}; /// A commit event containing record operations. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Commit { ///The DID of the account. pub did: Did, @@ -48,7 +51,10 @@ pub struct Commit { /// An enrollment event indicating a user has enrolled or unenrolled from the service. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Enrollment { ///The enrollment action. pub action: EnrollmentAction, @@ -148,7 +154,10 @@ where /// An informational message about the subscription state. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct Info { ///Additional details about the info message. #[serde(skip_serializing_if = "Option::is_none")] @@ -234,9 +243,11 @@ where } } - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct SubscribeRecords { #[serde(skip_serializing_if = "Option::is_none")] pub cursor: Option, @@ -249,7 +260,6 @@ pub struct SubscribeRecords { pub sync_token: Option, } - #[open_union] #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)] #[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))] @@ -270,49 +280,30 @@ impl SubscribeRecordsMessage { where S: serde::Deserialize<'de>, { - let (header, body) = jacquard_common::xrpc::subscription::parse_event_header( - bytes, - )?; + let (header, body) = jacquard_common::xrpc::subscription::parse_event_header(bytes)?; match header.t.as_str() { "#commit" => { - let variant = jacquard_common::deps::codegen::serde_ipld_dagcbor::from_slice( - body, - )?; + let variant = jacquard_common::deps::codegen::serde_ipld_dagcbor::from_slice(body)?; Ok(Self::Commit(Box::new(variant))) } "#enrollment" => { - let variant = jacquard_common::deps::codegen::serde_ipld_dagcbor::from_slice( - body, - )?; + let variant = jacquard_common::deps::codegen::serde_ipld_dagcbor::from_slice(body)?; Ok(Self::Enrollment(Box::new(variant))) } "#info" => { - let variant = jacquard_common::deps::codegen::serde_ipld_dagcbor::from_slice( - body, - )?; + let variant = jacquard_common::deps::codegen::serde_ipld_dagcbor::from_slice(body)?; Ok(Self::Info(Box::new(variant))) } - unknown => { - Err( - jacquard_common::error::DecodeError::UnknownEventType(unknown.into()), - ) - } + unknown => Err(jacquard_common::error::DecodeError::UnknownEventType( + unknown.into(), + )), } } } - #[derive( - Serialize, - Deserialize, - Debug, - Clone, - PartialEq, - Eq, - thiserror::Error, - miette::Diagnostic + Serialize, Deserialize, Debug, Clone, PartialEq, Eq, thiserror::Error, miette::Diagnostic, )] - #[serde(tag = "error", content = "message")] pub enum SubscribeRecordsError { /// Cursor is in the future. @@ -323,7 +314,10 @@ pub enum SubscribeRecordsError { AuthRequired(Option), /// Catch-all for unknown error codes. #[serde(untagged)] - Other { error: SmolStr, message: Option }, + Other { + error: SmolStr, + message: Option, + }, } impl core::fmt::Display for SubscribeRecordsError { @@ -357,7 +351,10 @@ impl core::fmt::Display for SubscribeRecordsError { /// A single record operation within a commit. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)] -#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))] +#[serde( + rename_all = "camelCase", + bound(deserialize = "S: Deserialize<'de> + BosStr") +)] pub struct RecordOp { ///The type of operation. pub action: RecordOpAction, @@ -538,21 +535,24 @@ impl LexiconSchema for Info { pub struct SubscribeRecordsStream; impl jacquard_common::xrpc::SubscriptionResp for SubscribeRecordsStream { const NSID: &'static str = "zone.stratos.sync.subscribeRecords"; - const ENCODING: jacquard_common::xrpc::MessageEncoding = jacquard_common::xrpc::MessageEncoding::Json; + const ENCODING: jacquard_common::xrpc::MessageEncoding = + jacquard_common::xrpc::MessageEncoding::Json; type Message = SubscribeRecordsMessage; type Error = SubscribeRecordsError; } impl jacquard_common::xrpc::XrpcSubscription for SubscribeRecords { const NSID: &'static str = "zone.stratos.sync.subscribeRecords"; - const ENCODING: jacquard_common::xrpc::MessageEncoding = jacquard_common::xrpc::MessageEncoding::Json; + const ENCODING: jacquard_common::xrpc::MessageEncoding = + jacquard_common::xrpc::MessageEncoding::Json; type Stream = SubscribeRecordsStream; } pub struct SubscribeRecordsEndpoint; impl jacquard_common::xrpc::SubscriptionEndpoint for SubscribeRecordsEndpoint { const PATH: &'static str = "/xrpc/zone.stratos.sync.subscribeRecords"; - const ENCODING: jacquard_common::xrpc::MessageEncoding = jacquard_common::xrpc::MessageEncoding::Json; + const ENCODING: jacquard_common::xrpc::MessageEncoding = + jacquard_common::xrpc::MessageEncoding::Json; type Params = SubscribeRecords; type Stream = SubscribeRecordsStream; } @@ -596,7 +596,7 @@ impl LexiconSchema for RecordOp { pub mod commit_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -723,10 +723,7 @@ where St::Did: commit_state::IsUnset, { /// Set the `did` field (required) - pub fn did( - mut self, - value: impl Into>, - ) -> CommitBuilder> { + pub fn did(mut self, value: impl Into>) -> CommitBuilder> { self._fields.0 = Option::Some(value.into()); CommitBuilder { _state: PhantomData, @@ -761,10 +758,7 @@ where St::Rev: commit_state::IsUnset, { /// Set the `rev` field (required) - pub fn rev( - mut self, - value: impl Into, - ) -> CommitBuilder> { + pub fn rev(mut self, value: impl Into) -> CommitBuilder> { self._fields.2 = Option::Some(value.into()); CommitBuilder { _state: PhantomData, @@ -780,10 +774,7 @@ where St::Seq: commit_state::IsUnset, { /// Set the `seq` field (required) - pub fn seq( - mut self, - value: impl Into, - ) -> CommitBuilder> { + pub fn seq(mut self, value: impl Into) -> CommitBuilder> { self._fields.3 = Option::Some(value.into()); CommitBuilder { _state: PhantomData, @@ -846,10 +837,10 @@ where } fn lexicon_doc_zone_stratos_sync_subscribeRecords() -> LexiconDoc<'static> { + use alloc::collections::BTreeMap; #[allow(unused_imports)] use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType}; use jacquard_lexicon::lexicon::*; - use alloc::collections::BTreeMap; LexiconDoc { lexicon: Lexicon::Lexicon1, id: CowStr::new_static("zone.stratos.sync.subscribeRecords"), @@ -858,27 +849,23 @@ fn lexicon_doc_zone_stratos_sync_subscribeRecords() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("commit"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "A commit event containing record operations.", - ), - ), - required: Some( - vec![ - SmolStr::new_static("seq"), SmolStr::new_static("did"), - SmolStr::new_static("time"), SmolStr::new_static("rev"), - SmolStr::new_static("ops") - ], - ), + description: Some(CowStr::new_static( + "A commit event containing record operations.", + )), + required: Some(vec![ + SmolStr::new_static("seq"), + SmolStr::new_static("did"), + SmolStr::new_static("time"), + SmolStr::new_static("rev"), + SmolStr::new_static("ops"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("did"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The DID of the account."), - ), + description: Some(CowStr::new_static("The DID of the account.")), format: Some(LexStringFormat::Did), ..Default::default() }), @@ -886,11 +873,9 @@ fn lexicon_doc_zone_stratos_sync_subscribeRecords() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("ops"), LexObjectProperty::Array(LexArray { - description: Some( - CowStr::new_static( - "List of record operations in this commit.", - ), - ), + description: Some(CowStr::new_static( + "List of record operations in this commit.", + )), items: LexArrayItem::Ref(LexRef { r#ref: CowStr::new_static("#recordOp"), ..Default::default() @@ -915,11 +900,9 @@ fn lexicon_doc_zone_stratos_sync_subscribeRecords() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("time"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Timestamp of when the event was sequenced.", - ), - ), + description: Some(CowStr::new_static( + "Timestamp of when the event was sequenced.", + )), format: Some(LexStringFormat::Datetime), ..Default::default() }), @@ -1006,11 +989,9 @@ fn lexicon_doc_zone_stratos_sync_subscribeRecords() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("info"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static( - "An informational message about the subscription state.", - ), - ), + description: Some(CowStr::new_static( + "An informational message about the subscription state.", + )), required: Some(vec![SmolStr::new_static("name")]), properties: { #[allow(unused_mut)] @@ -1018,11 +999,9 @@ fn lexicon_doc_zone_stratos_sync_subscribeRecords() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("message"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static( - "Additional details about the info message.", - ), - ), + description: Some(CowStr::new_static( + "Additional details about the info message.", + )), max_length: Some(1024usize), ..Default::default() }), @@ -1030,9 +1009,7 @@ fn lexicon_doc_zone_stratos_sync_subscribeRecords() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("name"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The type of info message."), - ), + description: Some(CowStr::new_static("The type of info message.")), max_length: Some(128usize), ..Default::default() }), @@ -1102,21 +1079,20 @@ fn lexicon_doc_zone_stratos_sync_subscribeRecords() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("recordOp"), LexUserType::Object(LexObject { - description: Some( - CowStr::new_static("A single record operation within a commit."), - ), - required: Some( - vec![SmolStr::new_static("action"), SmolStr::new_static("path")], - ), + description: Some(CowStr::new_static( + "A single record operation within a commit.", + )), + required: Some(vec![ + SmolStr::new_static("action"), + SmolStr::new_static("path"), + ]), properties: { #[allow(unused_mut)] let mut map = BTreeMap::new(); map.insert( SmolStr::new_static("action"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The type of operation."), - ), + description: Some(CowStr::new_static("The type of operation.")), max_length: Some(32usize), ..Default::default() }), @@ -1130,9 +1106,9 @@ fn lexicon_doc_zone_stratos_sync_subscribeRecords() -> LexiconDoc<'static> { map.insert( SmolStr::new_static("path"), LexObjectProperty::String(LexString { - description: Some( - CowStr::new_static("The record path (collection/rkey)."), - ), + description: Some(CowStr::new_static( + "The record path (collection/rkey).", + )), max_length: Some(512usize), ..Default::default() }), @@ -1156,7 +1132,7 @@ fn lexicon_doc_zone_stratos_sync_subscribeRecords() -> LexiconDoc<'static> { pub mod enrollment_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -1345,10 +1321,7 @@ where } } /// Build the final struct with custom extra_data. - pub fn build_with_data( - self, - extra_data: BTreeMap>, - ) -> Enrollment { + pub fn build_with_data(self, extra_data: BTreeMap>) -> Enrollment { Enrollment { action: self._fields.0.unwrap(), boundaries: self._fields.1, @@ -1362,7 +1335,7 @@ where pub mod subscribe_records_state { - pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + pub use crate::builder_types::{IsSet, IsUnset, Set, Unset}; #[allow(unused)] use ::core::marker::PhantomData; mod sealed { @@ -1469,4 +1442,4 @@ where sync_token: self._fields.3, } } -} \ No newline at end of file +} diff --git a/crates/jacquard-common/src/types/scope_primitives.rs b/crates/jacquard-common/src/types/scope_primitives.rs index 88a44455..c96be5c5 100644 --- a/crates/jacquard-common/src/types/scope_primitives.rs +++ b/crates/jacquard-common/src/types/scope_primitives.rs @@ -28,9 +28,7 @@ pub enum AccountAction { } /// Repository action permissions for AT Protocol OAuth scopes. -#[derive( - Debug, Clone, Copy, PartialEq, Eq, Hash, PartialOrd, Ord, Serialize, Deserialize, -)] +#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, PartialOrd, Ord, Serialize, Deserialize)] #[serde(rename_all = "kebab-case")] pub enum RepoAction { /// Create records. diff --git a/crates/jacquard-lexgen/src/lib.rs b/crates/jacquard-lexgen/src/lib.rs index cd7a7dff..6087a39e 100644 --- a/crates/jacquard-lexgen/src/lib.rs +++ b/crates/jacquard-lexgen/src/lib.rs @@ -38,4 +38,3 @@ pub mod schema_discovery; pub mod schema_extraction; pub use fetch::{Config, Fetcher}; - diff --git a/crates/jacquard-lexicon/src/codegen/collect.rs b/crates/jacquard-lexicon/src/codegen/collect.rs index be413b90..d536a386 100644 --- a/crates/jacquard-lexicon/src/codegen/collect.rs +++ b/crates/jacquard-lexicon/src/codegen/collect.rs @@ -243,7 +243,6 @@ impl<'c> CodeGenerator<'c> { imports.external.insert(ExternalImport::LexiconAttr); imports.external.insert(ExternalImport::PhantomData); - // Records generate LexiconSchema trait impls with validation. imports.external.insert(ExternalImport::LexiconSchema); imports.external.insert(ExternalImport::LexiconDoc); @@ -669,7 +668,7 @@ impl<'c> CodeGenerator<'c> { imports.external.insert(ExternalImport::Serialize); imports.external.insert(ExternalImport::Deserialize); imports.external.insert(ExternalImport::IntoStatic); - imports.external.insert(ExternalImport::DefaultStr); + imports.external.insert(ExternalImport::DefaultStr); if union.closed != Some(true) { imports.external.insert(ExternalImport::OpenUnion); } @@ -692,7 +691,7 @@ impl<'c> CodeGenerator<'c> { imports.external.insert(ExternalImport::Serialize); imports.external.insert(ExternalImport::Deserialize); imports.external.insert(ExternalImport::IntoStatic); - imports.external.insert(ExternalImport::DefaultStr); + imports.external.insert(ExternalImport::DefaultStr); if union.closed != Some(true) { imports.external.insert(ExternalImport::OpenUnion); } diff --git a/crates/jacquard-lexicon/src/codegen/prettify.rs b/crates/jacquard-lexicon/src/codegen/prettify.rs index c45a136e..87af1671 100644 --- a/crates/jacquard-lexicon/src/codegen/prettify.rs +++ b/crates/jacquard-lexicon/src/codegen/prettify.rs @@ -1405,7 +1405,8 @@ mod tests { assert!(tokens_str.contains("Did")); assert!( tokens_str.contains("S"), - "Did should include type param S in Macro mode, got: {}", tokens_str + "Did should include type param S in Macro mode, got: {}", + tokens_str ); } diff --git a/crates/jacquard-lexicon/src/lexicon.rs b/crates/jacquard-lexicon/src/lexicon.rs index 05d73734..b8b60c48 100644 --- a/crates/jacquard-lexicon/src/lexicon.rs +++ b/crates/jacquard-lexicon/src/lexicon.rs @@ -3,9 +3,13 @@ // https://github.com/atrium-rs/atrium/blob/main/lexicon/atrium-lex/src/lib.rs use jacquard_common::{ - CowStr, deps::smol_str::SmolStr, into_static::IntoStatic, types::blob::MimeType, - types::did::Did, types::nsid::Nsid, - types::scope_primitives::{RepoAction, AccountAction}, + CowStr, + deps::smol_str::SmolStr, + into_static::IntoStatic, + types::blob::MimeType, + types::did::Did, + types::nsid::Nsid, + types::scope_primitives::{AccountAction, RepoAction}, }; use serde::{Deserialize, Serialize}; use serde_repr::{Deserialize_repr, Serialize_repr}; @@ -1187,7 +1191,10 @@ mod tests { let main_def = doc.defs.get("main").expect("main def exists"); match main_def { LexUserType::PermissionSet(pset) => { - assert_eq!(pset.title.as_ref().map(|s| s.as_ref()), Some("Full Bluesky Client Access")); + assert_eq!( + pset.title.as_ref().map(|s| s.as_ref()), + Some("Full Bluesky Client Access") + ); assert_eq!(pset.permissions.len(), 1); let perm = &pset.permissions[0]; @@ -1197,11 +1204,7 @@ mod tests { } => { assert_eq!(collection.len(), 1); assert_eq!(collection[0].as_ref(), "app.bsky.feed.post"); - assert_eq!( - action.as_ref().map(|a| a.len()), - Some(1), - "has action vec" - ); + assert_eq!(action.as_ref().map(|a| a.len()), Some(1), "has action vec"); if let Some(actions) = action { assert_eq!(actions[0], RepoAction::Create); } @@ -1215,8 +1218,8 @@ mod tests { #[test] fn test_permission_set_deserialize_full() { - let doc = serde_json::from_str::(PERMISSION_SET_FULL) - .expect("failed to deserialize"); + let doc = + serde_json::from_str::(PERMISSION_SET_FULL).expect("failed to deserialize"); let main_def = doc.defs.get("main").expect("main def"); match main_def { @@ -1231,11 +1234,7 @@ mod tests { resource: LexPermissionResource::Repo { collection, action }, } => { assert_eq!(collection.len(), 2); - assert_eq!( - action.as_ref().map(|a| a.len()), - Some(3), - "has 3 actions" - ); + assert_eq!(action.as_ref().map(|a| a.len()), Some(3), "has 3 actions"); } _ => panic!("entry 0 should be Repo"), } @@ -1243,7 +1242,10 @@ mod tests { // Entry 3: Rpc with inherit_aud match &pset.permissions[2] { LexPermission::Permission { - resource: LexPermissionResource::Rpc { lxm, inherit_aud, .. }, + resource: + LexPermissionResource::Rpc { + lxm, inherit_aud, .. + }, } => { assert_eq!(lxm.len(), 2); assert_eq!(*inherit_aud, Some(true)); @@ -1277,11 +1279,7 @@ mod tests { resource: LexPermissionResource::Account { attr, action }, } => { assert_eq!(attr.as_ref(), "email"); - assert_eq!( - action.as_ref().map(|a| a.len()), - Some(1), - "has 1 action" - ); + assert_eq!(action.as_ref().map(|a| a.len()), Some(1), "has 1 action"); if let Some(actions) = action { assert_eq!(actions[0], AccountAction::Read); } @@ -1295,8 +1293,8 @@ mod tests { #[test] fn test_permission_set_into_static() { - let doc = serde_json::from_str::(PERMISSION_SET_FULL) - .expect("failed to deserialize"); + let doc = + serde_json::from_str::(PERMISSION_SET_FULL).expect("failed to deserialize"); let main_def = doc .defs .get("main") @@ -1401,11 +1399,13 @@ mod tests { // Serialize to JSON value and back let serialized_str = serde_json::to_string(orig_pset).expect("serialize to string"); - let deserialized_pset = - serde_json::from_str::(serialized_str.as_str()) - .expect("roundtrip deserialize"); + let deserialized_pset = serde_json::from_str::(serialized_str.as_str()) + .expect("roundtrip deserialize"); - assert_eq!(orig_pset.permissions.len(), deserialized_pset.permissions.len()); + assert_eq!( + orig_pset.permissions.len(), + deserialized_pset.permissions.len() + ); } #[test] @@ -1462,8 +1462,8 @@ mod tests { #[test] fn test_permission_set_title_lang() { - let doc = serde_json::from_str::(PERMISSION_SET_FULL) - .expect("failed to deserialize"); + let doc = + serde_json::from_str::(PERMISSION_SET_FULL).expect("failed to deserialize"); let pset = match doc.defs.get("main").expect("main def") { LexUserType::PermissionSet(p) => p, _ => panic!("expected PermissionSet"), @@ -1475,10 +1475,7 @@ mod tests { .iter() .find(|(k, _)| k.as_ref() == "es") .expect("has es translation"); - assert_eq!( - es_title.1.as_ref(), - "Acceso completo al cliente de Bluesky" - ); + assert_eq!(es_title.1.as_ref(), "Acceso completo al cliente de Bluesky"); // Roundtrip and verify title:lang survives let serialized = serde_json::to_value(&pset).expect("serialize"); diff --git a/crates/jacquard-oauth/src/atproto.rs b/crates/jacquard-oauth/src/atproto.rs index e226c896..78f263d7 100644 --- a/crates/jacquard-oauth/src/atproto.rs +++ b/crates/jacquard-oauth/src/atproto.rs @@ -1,7 +1,10 @@ use std::str::FromStr; use crate::types::OAuthClientMetadata; -use crate::{keyset::Keyset, scopes::{Scope, Scopes}}; +use crate::{ + keyset::Keyset, + scopes::{Scope, Scopes}, +}; use jacquard_common::deps::fluent_uri::Uri; use jacquard_common::{BosStr, IntoStatic}; use serde::{Deserialize, Serialize}; @@ -345,9 +348,7 @@ where .collect(), ), response_types: vec![S::from_static("code")], - scope: Some( - S::from_str(metadata.scopes.to_normalized_string().as_str()).unwrap(), - ), + scope: Some(S::from_str(metadata.scopes.to_normalized_string().as_str()).unwrap()), dpop_bound_access_tokens: Some(true), jwks_uri, jwks, @@ -426,7 +427,10 @@ gbGGr0pN+oSing7cZ0169JaRHTNh+0LNQXrFobInX6cj95FzEdRyT4T3 Uri::parse("http://127.0.0.1/callback".to_string()).unwrap(), Uri::parse("http://[::1]/callback".to_string()).unwrap(), ]), - Some(Scopes::new(SmolStr::from("account:email atproto transition:generic")).unwrap()) + Some( + Scopes::new(SmolStr::from("account:email atproto transition:generic")) + .unwrap() + ) ), &None ) diff --git a/crates/jacquard-oauth/src/client.rs b/crates/jacquard-oauth/src/client.rs index 3e60216c..dfac770b 100644 --- a/crates/jacquard-oauth/src/client.rs +++ b/crates/jacquard-oauth/src/client.rs @@ -9,8 +9,16 @@ use crate::{ session::{ClientData, ClientSessionData, DpopClientData, SessionRegistry}, types::{AuthorizeOptions, CallbackParams}, }; +#[cfg(feature = "scope-check")] +use crate::{ + error::ScopeError, + resolver::resolve_permission_set, + scopes::{IncludeScope, RepoCollection, RpcLexicon, Scope}, +}; #[cfg(feature = "websocket")] use jacquard_common::CowStr; +#[cfg(feature = "scope-check")] +use jacquard_common::types::nsid::Nsid; use jacquard_common::{ AuthorizationToken, IntoStatic, bos::BosStr, @@ -23,6 +31,12 @@ use jacquard_common::{ build_http_request, process_response, }, }; +#[cfg(feature = "scope-check")] +use jacquard_identity::lexicon_resolver::LexiconSchemaResolver; + + +#[cfg(feature = "scope-check")] +use jacquard_common::deps::fluent_uri::pct_enc::{EStr, encoder::Query}; #[cfg(feature = "websocket")] use jacquard_common::websocket::{WebSocketClient, WebSocketConnection}; @@ -234,8 +248,35 @@ where /// Validates the `state` and optional `iss` parameters, exchanges the authorization code for /// tokens via the token endpoint, verifies the `sub` claim against the expected issuer, and /// persists the resulting session. On success returns an [`OAuthSession`] ready for API calls. + /// + /// When the `scope-check` feature is enabled, this method also eagerly resolves any `include:` + /// scopes by fetching the referenced permission sets. `T` must implement + /// `LexiconSchemaResolver` in that case. #[cfg_attr(feature = "tracing", tracing::instrument(level = "info", skip_all, fields(state = params.state.as_ref().map(|s| s.as_str()))))] + #[cfg(not(feature = "scope-check"))] pub async fn callback(&self, params: CallbackParams) -> Result> { + let client_data = self.callback_core(params).await?; + self.create_session(client_data).await + } + + /// Complete the OAuth authorization flow (scope-check variant). + /// + /// Same as `callback`, but eagerly resolves `include:` scopes into + /// concrete permissions via `LexiconSchemaResolver`. + #[cfg_attr(feature = "tracing", tracing::instrument(level = "info", skip_all, fields(state = params.state.as_ref().map(|s| s.as_str()))))] + #[cfg(feature = "scope-check")] + pub async fn callback(&self, params: CallbackParams) -> Result> + where + T: LexiconSchemaResolver, + { + let mut client_data = self.callback_core(params).await?; + client_data.resolved_scopes = + Some(resolve_include_scopes(self.client.as_ref(), &client_data.scopes).await?); + self.create_session(client_data).await + } + + /// Shared callback logic: validate state/iss, exchange code, build session data. + async fn callback_core(&self, params: CallbackParams) -> Result { let Some(state_key) = params.state else { return Err(CallbackError::MissingState.into()); }; @@ -296,7 +337,7 @@ where } else { Scopes::empty() }; - let mut client_data = ClientSessionData { + Ok(ClientSessionData { account_did: token_set.sub.clone(), session_id: auth_req_info.state, host_url: Uri::parse(token_set.aud.as_str())?.to_owned(), @@ -315,14 +356,7 @@ where token_set, #[cfg(feature = "scope-check")] resolved_scopes: None, - }; - - // TODO: Phase 5 Task 3 - eagerly resolve include scopes - // When scope-check is enabled, iterate the scopes, find any Include scopes, - // resolve them via resolve_permission_set(), and populate resolved_scopes. - // For now, this is left as None. - - self.create_session(client_data).await + }) } Err(e) => Err(e.into()), } @@ -361,6 +395,94 @@ where } } +/// Decode a percent-encoded audience string. +/// +/// The audience may contain percent-encoded characters like `%23` for `#`. +/// This function decodes those and returns the decoded string. +#[cfg(feature = "scope-check")] +fn decode_audience(aud: &str) -> Result { + // Use fluent_uri's percent-decoding to handle encoded characters. + // The audience is typically a DID, possibly with a fragment. + // EStr::new returns Option<&EStr>, so we match on that. + match EStr::::new(aud) { + Some(estr) => { + // estr.decode() returns a Decode struct + // The Decode type has a to_string() method that returns Result, Vec> + let decoded = estr.decode(); + match decoded.to_string() { + Ok(cow) => Ok(cow.into_owned()), + Err(bytes) => { + Err(crate::error::CallbackError::ScopeResolution { + detail: format!("percent-decoded audience contains invalid UTF-8: {:?}", bytes), + }.into()) + } + } + } + None => { + // If it's not a valid percent-encoded string, use it as-is. + // This handles cases where no encoding was applied. + Ok(aud.to_string()) + } + } +} + +/// Resolve all `include:` scopes in the given scope set into concrete permissions. +/// +/// Non-include scopes are passed through unchanged. Each `include:` scope is +/// resolved via `resolve_permission_set`, which fetches the permission set +/// lexicon and expands it into concrete `Scope` values. +#[cfg(feature = "scope-check")] +async fn resolve_include_scopes( + resolver: &R, + scopes: &Scopes, +) -> Result>> +where + R: OAuthResolver + LexiconSchemaResolver + Send + Sync, +{ + let mut resolved = Vec::new(); + for scope in scopes.iter() { + match scope { + Scope::Include(IncludeScope { nsid, audience }) => { + let audience_did = if let Some(aud_str) = audience { + let decoded = decode_audience(aud_str)?; + match Did::new_owned(&decoded) { + Ok(did) => Some(did), + Err(_) => { + return Err(crate::error::CallbackError::ScopeResolution { + detail: format!( + "invalid DID in include scope audience: {}", + decoded + ), + } + .into()); + } + } + } else { + None + }; + + let nsid_smolstr = match Nsid::::new_owned(nsid.as_str()) { + Ok(n) => n, + Err(_) => { + return Err(crate::error::CallbackError::ScopeResolution { + detail: format!("invalid NSID in include scope: {}", nsid), + } + .into()); + } + }; + + let expanded = + resolve_permission_set(resolver, &nsid_smolstr, audience_did.as_ref()).await?; + resolved.extend(expanded); + } + other => { + resolved.push(other.convert()); + } + } + } + Ok(resolved) +} + impl HttpClient for OAuthClient where S: ClientAuthStore + Send + Sync + 'static, @@ -734,6 +856,15 @@ where R: XrpcRequest + Send + Sync + serde::Serialize, ::Response: Send + Sync, { + // Pre-flight scope check: pure in-memory, no HTTP. + #[cfg(feature = "scope-check")] + { + self.check_scope::().await.map_err(|e| { + ClientError::invalid_request(format!("scope check failed: {:?}", e)) + .for_nsid(R::NSID) + })?; + } + let base_uri = self.base_uri().await; let original_token = self.access_token().await; opts.auth = Some(original_token.clone()); @@ -794,6 +925,92 @@ where } } +#[cfg(feature = "scope-check")] +impl OAuthSession +where + S: ClientAuthStore + Send + Sync + 'static, + T: OAuthResolver + Send + Sync + 'static, + W: Send + Sync, +{ + /// Check whether the session's resolved scopes grant access to + /// the XRPC method identified by `R::NSID`. + async fn check_scope(&self) -> core::result::Result<(), ScopeError> { + let data = self.data.read().await; + + // Use the resolved scopes from Phase 5's eager resolution. + // These are fully expanded — no include scopes remain. + let resolved = data.resolved_scopes.as_ref(); + + let is_permitted = match resolved { + Some(scopes) => { + let nsid = Nsid::::new_static(R::NSID).expect("valid NSID"); + + // Check if any granted scope covers this NSID. A request + // may be covered by rpc: scopes (method access) or repo: + // scopes (record operations). + // + // Note: `atproto` is the minimum base scope (auth only). + // It does NOT grant rpc/repo access. + // + // For rpc: scopes, we check only the lxm (method) match + // and ignore audience. At pre-flight time the client does + // not know the target audience — audience enforcement is + // the server's responsibility. A granted scope with a + // specific aud (e.g., did:web:api.bsky.app) still permits + // calling the method from the client's perspective. + let rpc_ok = scopes.iter().any(|s| match s { + Scope::Rpc(rpc) => { + rpc.lxm.iter().any(|l| match l { + RpcLexicon::All => true, + RpcLexicon::Nsid(granted_nsid) => { + granted_nsid.as_ref() == nsid.as_ref() + } + }) + } + _ => false, + }); + + // For repo: scopes, check if the NSID matches a granted + // collection. Any action suffices for pre-flight. + let repo_ok = scopes.iter().any(|s| match s { + Scope::Repo(repo) => match &repo.collection { + RepoCollection::All => true, + RepoCollection::Nsid(col) => col.as_ref() == nsid.as_ref(), + }, + _ => false, + }); + + rpc_ok || repo_ok + } + None => { + // No resolved scopes means resolution was skipped + // (e.g., no include scopes were present, or scope-check + // was enabled after session creation). Allow the request. + true + } + }; + + if !is_permitted { + let granted_summary = resolved + .map(|scopes| { + scopes + .iter() + .map(|s| s.to_string_normalized()) + .collect::>() + .join(", ") + }) + .unwrap_or_default(); + + return Err(ScopeError { + nsid: SmolStr::new_static(R::NSID), + granted: SmolStr::from(granted_summary), + }); + } + + Ok(()) + } +} + #[cfg(feature = "streaming")] impl jacquard_common::http_client::HttpClientExt for OAuthSession where @@ -1120,3 +1337,258 @@ where .await } } + +#[cfg(all(test, feature = "scope-check"))] +mod tests { + use super::*; + use crate::scopes::{RepoAction, RepoScope, RpcAudience, RpcLexicon, RpcScope}; + use std::collections::BTreeSet; + + /// Test that a scope granting access to an RPC method works correctly. + #[test] + fn test_scope_check_permits_matching_rpc() { + // AC7.1: Session with rpc:com.example.test grants access to com.example.test. + let mut rpc_scope_set = BTreeSet::new(); + rpc_scope_set.insert(RpcLexicon::Nsid( + Nsid::::new_static("com.example.test").unwrap(), + )); + let mut aud_set = BTreeSet::new(); + aud_set.insert(RpcAudience::All); + + let granted_scope = Scope::Rpc(RpcScope { + lxm: rpc_scope_set, + aud: aud_set, + }); + + // Target scope for a request to com.example.test. + let mut target_lxm = BTreeSet::new(); + target_lxm.insert(RpcLexicon::Nsid( + Nsid::::new_static("com.example.test").unwrap(), + )); + let mut target_aud = BTreeSet::new(); + target_aud.insert(RpcAudience::All); + + let target_scope = Scope::Rpc(RpcScope { + lxm: target_lxm, + aud: target_aud, + }); + + // The granted scope should permit the target scope. + assert!( + granted_scope.grants(&target_scope), + "rpc:com.example.test should grant access to com.example.test" + ); + } + + /// Test that rpc:* wildcard grants access to all RPC methods. + #[test] + fn test_scope_check_permits_rpc_wildcard() { + // AC7.1: Session with rpc:* (wildcard) grants access to any RPC method. + let mut rpc_scope_set: BTreeSet> = BTreeSet::new(); + rpc_scope_set.insert(RpcLexicon::All); + let mut aud_set: BTreeSet> = BTreeSet::new(); + aud_set.insert(RpcAudience::All); + + let wildcard_scope = Scope::Rpc(RpcScope { + lxm: rpc_scope_set, + aud: aud_set, + }); + + // Target scope for any request. + let mut target_lxm = BTreeSet::new(); + target_lxm.insert(RpcLexicon::Nsid( + Nsid::::new_static("com.example.test").unwrap(), + )); + let mut target_aud = BTreeSet::new(); + target_aud.insert(RpcAudience::All); + + let target_scope = Scope::Rpc(RpcScope { + lxm: target_lxm, + aud: target_aud, + }); + + // Wildcard should grant any target scope. + assert!( + wildcard_scope.grants(&target_scope), + "rpc:* should grant access to any RPC method" + ); + } + + /// Test that an unmatched scope denies access. + #[test] + fn test_scope_check_denies_ungranted() { + // AC7.4: Session with rpc:com.example.other denies access to com.example.test. + let mut rpc_scope_set = BTreeSet::new(); + rpc_scope_set.insert(RpcLexicon::Nsid( + Nsid::::new_static("com.example.other").unwrap(), + )); + let mut aud_set = BTreeSet::new(); + aud_set.insert(RpcAudience::All); + + let granted_scope = Scope::Rpc(RpcScope { + lxm: rpc_scope_set, + aud: aud_set, + }); + + // Target scope for a request to com.example.test. + let mut target_lxm = BTreeSet::new(); + target_lxm.insert(RpcLexicon::Nsid( + Nsid::::new_static("com.example.test").unwrap(), + )); + let mut target_aud = BTreeSet::new(); + target_aud.insert(RpcAudience::All); + + let target_scope = Scope::Rpc(RpcScope { + lxm: target_lxm, + aud: target_aud, + }); + + // rpc:com.example.other should NOT grant access to com.example.test. + assert!( + !granted_scope.grants(&target_scope), + "rpc:com.example.other should NOT grant access to com.example.test" + ); + } + + /// Test that a repo scope grants access to the specified collection. + #[test] + fn test_scope_check_permits_repo_scope() { + // AC7.1: Session with repo:com.example.test grants access to that collection. + let mut actions = BTreeSet::new(); + actions.insert(RepoAction::Create); + actions.insert(RepoAction::Update); + actions.insert(RepoAction::Delete); + + let granted_repo = Scope::Repo(RepoScope { + collection: RepoCollection::Nsid( + Nsid::::new_static("com.example.test").unwrap(), + ), + actions, + }); + + // Target scope for a request to com.example.test. + let mut target_actions = BTreeSet::new(); + target_actions.insert(RepoAction::Create); + target_actions.insert(RepoAction::Update); + target_actions.insert(RepoAction::Delete); + + let target_repo = Scope::Repo(RepoScope { + collection: RepoCollection::Nsid( + Nsid::::new_static("com.example.test").unwrap(), + ), + actions: target_actions, + }); + + // The repo scope should grant the target scope. + assert!( + granted_repo.grants(&target_repo), + "repo:com.example.test should grant repo access to com.example.test" + ); + } + + /// Test that ScopeError provides diagnostic information. + #[test] + fn test_scope_error_diagnostic_info() { + // AC7.4: ScopeError includes request NSID and granted scope summary. + let err = ScopeError { + nsid: SmolStr::from("com.example.test"), + granted: SmolStr::from("rpc:com.example.other"), + }; + + assert_eq!(err.nsid, "com.example.test"); + assert_eq!(err.granted, "rpc:com.example.other"); + let error_msg = err.to_string(); + assert!( + error_msg.contains("not permitted"), + "error message should indicate request is not permitted" + ); + } + + /// Test that multiple granted scopes are checked correctly. + #[test] + fn test_scope_check_multiple_scopes() { + // AC7.1: With multiple scopes, request matching one of them is permitted. + let mut other_lxm = BTreeSet::new(); + other_lxm.insert(RpcLexicon::Nsid( + Nsid::::new_static("com.example.other").unwrap(), + )); + let mut other_aud = BTreeSet::new(); + other_aud.insert(RpcAudience::All); + + let other_scope = Scope::Rpc(RpcScope { + lxm: other_lxm, + aud: other_aud, + }); + + let mut test_lxm = BTreeSet::new(); + test_lxm.insert(RpcLexicon::Nsid( + Nsid::::new_static("com.example.test").unwrap(), + )); + let mut test_aud = BTreeSet::new(); + test_aud.insert(RpcAudience::All); + + let test_scope = Scope::Rpc(RpcScope { + lxm: test_lxm, + aud: test_aud, + }); + + // Target scope for a request to com.example.test. + let mut target_lxm = BTreeSet::new(); + target_lxm.insert(RpcLexicon::Nsid( + Nsid::::new_static("com.example.test").unwrap(), + )); + let mut target_aud = BTreeSet::new(); + target_aud.insert(RpcAudience::All); + + let target_scope = Scope::Rpc(RpcScope { + lxm: target_lxm, + aud: target_aud, + }); + + // With multiple scopes, if one matches, the check passes. + let granted_scopes = vec![other_scope, test_scope]; + let is_permitted = granted_scopes.iter().any(|s| s.grants(&target_scope)); + assert!( + is_permitted, + "at least one granted scope should permit the target request" + ); + } + + /// Test that both RPC and repo scopes are checked when determining permissions. + #[test] + fn test_scope_check_rpc_and_repo_paths() { + // AC7.1: A request can be granted via either rpc: or repo: scopes. + + // Create a repo scope for the collection. + let mut repo_actions = BTreeSet::new(); + repo_actions.insert(RepoAction::Create); + repo_actions.insert(RepoAction::Update); + repo_actions.insert(RepoAction::Delete); + + let repo_scope = Scope::Repo(RepoScope { + collection: RepoCollection::Nsid( + Nsid::::new_static("com.example.test").unwrap(), + ), + actions: repo_actions, + }); + + // Target scope for a request to com.example.test (as repo operations). + let mut target_actions = BTreeSet::new(); + target_actions.insert(RepoAction::Create); + target_actions.insert(RepoAction::Update); + target_actions.insert(RepoAction::Delete); + + let target_repo = Scope::Repo(RepoScope { + collection: RepoCollection::Nsid( + Nsid::::new_static("com.example.test").unwrap(), + ), + actions: target_actions, + }); + + // The repo scope should satisfy the request. + assert!( + repo_scope.grants(&target_repo), + "repo scope should grant repo-based requests" + ); + } +} diff --git a/crates/jacquard-oauth/src/error.rs b/crates/jacquard-oauth/src/error.rs index a636668f..c55e1582 100644 --- a/crates/jacquard-oauth/src/error.rs +++ b/crates/jacquard-oauth/src/error.rs @@ -1,5 +1,7 @@ use jacquard_common::session::SessionStoreError; use miette::Diagnostic; +#[cfg(feature = "scope-check")] +use smol_str::SmolStr; use crate::request::RequestError; use crate::resolver::ResolverError; @@ -62,6 +64,12 @@ pub enum OAuthError { #[error(transparent)] #[diagnostic(code(jacquard_oauth::callback))] Callback(#[from] CallbackError), + + /// An error occurred checking request scope permissions. + #[cfg(feature = "scope-check")] + #[error(transparent)] + #[diagnostic(transparent)] + ScopeCheck(#[from] ScopeError), } /// Typed callback validation errors (redirect handling). @@ -94,6 +102,29 @@ pub enum CallbackError { #[error("timeout")] #[diagnostic(code(jacquard_oauth::callback::timeout))] Timeout, + /// An error occurred resolving permission sets during session creation. + #[cfg(feature = "scope-check")] + #[error("scope resolution failed: {detail}")] + #[diagnostic(code(jacquard_oauth::callback::scope_resolution))] + ScopeResolution { + /// Description of the resolution failure. + detail: String, + }, +} + +/// Error returned when a request's required scope is not covered by the session's granted scopes. +#[cfg(feature = "scope-check")] +#[derive(Debug, thiserror::Error, Diagnostic)] +#[error("request to `{nsid}` not permitted: no granted scope covers this endpoint")] +#[diagnostic( + code(jacquard_oauth::scope_check), + help("granted scopes: {granted}. The endpoint requires an `rpc:` scope covering `{nsid}`.") +)] +pub struct ScopeError { + /// The NSID of the XRPC method that was denied. + pub nsid: SmolStr, + /// Human-readable summary of the granted scopes for diagnostic output. + pub granted: SmolStr, } /// Convenience alias for `Result`. diff --git a/crates/jacquard-oauth/src/jose.rs b/crates/jacquard-oauth/src/jose.rs index 537c2900..85c6fbc8 100644 --- a/crates/jacquard-oauth/src/jose.rs +++ b/crates/jacquard-oauth/src/jose.rs @@ -18,4 +18,3 @@ pub enum Header { /// A JWS compact-serialization header. Jws(jws::Header), } - diff --git a/crates/jacquard-oauth/src/jose/jws.rs b/crates/jacquard-oauth/src/jose/jws.rs index 2918c89d..03e4f6fa 100644 --- a/crates/jacquard-oauth/src/jose/jws.rs +++ b/crates/jacquard-oauth/src/jose/jws.rs @@ -1,4 +1,7 @@ -use jacquard_common::{IntoStatic, bos::{BosStr, DefaultStr}}; +use jacquard_common::{ + IntoStatic, + bos::{BosStr, DefaultStr}, +}; use jose_jwa::Algorithm; use jose_jwk::Jwk; use serde::{Deserialize, Serialize}; diff --git a/crates/jacquard-oauth/src/loopback.rs b/crates/jacquard-oauth/src/loopback.rs index 73ed4d45..1ddf4116 100644 --- a/crates/jacquard-oauth/src/loopback.rs +++ b/crates/jacquard-oauth/src/loopback.rs @@ -162,6 +162,10 @@ pub fn one_shot_server(addr: SocketAddr) -> (SocketAddr, CallbackHandle) { /// /// Returns a session if the callback succeeds within the configured timeout /// and shuts down the server. +/// +/// When the `scope-check` feature is enabled, `T` must also implement `LexiconSchemaResolver` +/// for eager resolution of include scopes. +#[cfg(not(feature = "scope-check"))] pub async fn handle_localhost_callback( handle: CallbackHandle, flow_client: &super::client::OAuthClient, @@ -188,6 +192,46 @@ where } } +/// Handles the OAuth callback for the localhost loopback server. +/// +/// Returns a session if the callback succeeds within the configured timeout +/// and shuts down the server. +/// +/// When the `scope-check` feature is enabled, `T` must also implement `LexiconSchemaResolver` +/// for eager resolution of include scopes. +#[cfg(feature = "scope-check")] +pub async fn handle_localhost_callback( + handle: CallbackHandle, + flow_client: &super::client::OAuthClient, + cfg: &LoopbackConfig, +) -> crate::error::Result> +where + T: OAuthResolver + + DpopExt + + jacquard_identity::lexicon_resolver::LexiconSchemaResolver + + Send + + Sync + + 'static, + S: ClientAuthStore + Send + Sync + 'static, +{ + // Await callback or timeout + let mut callback_rx = handle.callback_rx; + let cb = tokio::time::timeout( + std::time::Duration::from_millis(cfg.timeout_ms), + callback_rx.recv(), + ) + .await; + // trigger shutdown + let _ = handle.server_stop.send(()); + if let Ok(Some(cb)) = cb { + // Handle callback and create a session + Ok(flow_client.callback(cb).await?) + } else { + Err(OAuthError::Callback(CallbackError::Timeout)) + } +} + +#[cfg(not(feature = "scope-check"))] impl OAuthClient where T: OAuthResolver + DpopExt + Send + Sync + 'static, @@ -272,3 +316,94 @@ where .into_static() } } + +#[cfg(feature = "scope-check")] +impl OAuthClient +where + T: OAuthResolver + + DpopExt + + jacquard_identity::lexicon_resolver::LexiconSchemaResolver + + Send + + Sync + + 'static, + S: ClientAuthStore + Send + Sync + 'static, +{ + /// Drive the full OAuth flow using a local loopback server. + /// + /// This uses localhost OAuth and an ephemeral in-process web server to + /// handle the OAuth callback redirect. It has a bunch of nice friendly + /// defaults to help you get started and will basically drive the *entire* + /// callback flow itself. + /// + /// Best used for development and for small CLI applications that don't + /// require long session lengths. For long-running unattended sessions, + /// app passwords (via CredentialSession in the jacquard crate) remain + /// the best option. For more complex OAuth, or if you want more control + /// over the process, use the other methods on OAuthClient. + /// + /// 'input' parameter is what you type in the login box (usually, your handle) + /// for it to look up your PDS and redirect to its authentication interface. + /// + /// If the `browser-open` feature is enabled, this will open a web browser + /// for you to authenticate with your PDS. It will also print the + /// callback url to the console for you to copy. + pub async fn login_with_local_server( + &self, + input: impl AsRef, + opts: AuthorizeOptions, + cfg: LoopbackConfig, + ) -> crate::error::Result> { + let port = match cfg.port { + LoopbackPort::Fixed(p) => p, + LoopbackPort::Ephemeral => 0, + }; + // TODO: fix this to it also accepts ipv6 and properly finds a free port + let bind_addr: SocketAddr = format!("0.0.0.0:{}", port) + .parse() + .expect("invalid loopback host/port"); + let (local_addr, handle) = one_shot_server(bind_addr); + println!("Listening on {}", local_addr); + + let client_data = self.build_localhost_client_data(&cfg, &opts, local_addr); + // Build client using store and resolver + let flow_client = OAuthClient::new_with_shared( + self.registry.store.clone(), + self.client.clone(), + client_data, + ); + + // Start auth and get authorization URL + let auth_url = flow_client.start_auth(input.as_ref(), opts).await?; + // Print URL for copy/paste + println!("To authenticate with your PDS, visit:\n{}\n", auth_url); + // Optionally open browser + if cfg.open_browser { + let _ = try_open_in_browser(&auth_url); + } + + handle_localhost_callback(handle, &flow_client, &cfg).await + } + + /// Builds a [`crate::session::ClientData`] for use with the local loopback server method of OAuth. + pub fn build_localhost_client_data( + &self, + cfg: &LoopbackConfig, + opts: &AuthorizeOptions, + local_addr: SocketAddr, + ) -> crate::session::ClientData { + let redirect_uri = format!("http://{}:{}/oauth/callback", cfg.host, local_addr.port(),); + let redirect = Uri::parse(redirect_uri).unwrap(); + + let scopes = if opts.scopes.is_empty() { + Some(self.registry.client_data.config.scopes.clone()) + } else { + Some(opts.scopes.clone()) + }; + + crate::session::ClientData { + keyset: self.registry.client_data.keyset.clone(), + config: AtprotoClientMetadata::new_localhost(Some(vec![redirect]), scopes), + } + .into_static() + } +} diff --git a/crates/jacquard-oauth/src/request.rs b/crates/jacquard-oauth/src/request.rs index 3a56e4d9..eca1a1bf 100644 --- a/crates/jacquard-oauth/src/request.rs +++ b/crates/jacquard-oauth/src/request.rs @@ -577,8 +577,7 @@ pub async fn par< .await?; let scopes = if let Some(scope) = &metadata.client_metadata.scope { - Scopes::new(SmolStr::from(scope.as_ref())) - .expect("Failed to parse scopes") + Scopes::new(SmolStr::from(scope.as_ref())).expect("Failed to parse scopes") } else { Scopes::empty() }; diff --git a/crates/jacquard-oauth/src/resolver.rs b/crates/jacquard-oauth/src/resolver.rs index 51998126..0974819d 100644 --- a/crates/jacquard-oauth/src/resolver.rs +++ b/crates/jacquard-oauth/src/resolver.rs @@ -837,7 +837,10 @@ where let schema = resolver.resolve_lexicon_schema(nsid).await?; // 2. Extract the "main" def from the LexiconDoc. - let main_def = schema.doc.defs.get("main") + let main_def = schema + .doc + .defs + .get("main") .ok_or_else(|| ResolverError::not_found())?; // 3. Downcast to LexPermissionSet. @@ -847,17 +850,19 @@ where }; // 4. Validate namespace constraints. - perm_set.validate(nsid.as_ref()) - .map_err(|e| match e { - PermissionSetError::EmptyPermissions => { - ResolverError::permission_set_conversion("permission set has empty permissions array") - } - PermissionSetError::NamespaceViolation { nsid: n, resource: r } => { - ResolverError::permission_set_namespace( - smol_str::format_smolstr!("{} references out-of-namespace resource: {}", n, r) - ) - } - })?; + perm_set.validate(nsid.as_ref()).map_err(|e| match e { + PermissionSetError::EmptyPermissions => { + ResolverError::permission_set_conversion("permission set has empty permissions array") + } + PermissionSetError::NamespaceViolation { + nsid: n, + resource: r, + } => ResolverError::permission_set_namespace(smol_str::format_smolstr!( + "{} references out-of-namespace resource: {}", + n, + r + )), + })?; // 5. Expand to concrete scopes, passing inherited audience for inheritAud. crate::scopes::expand_permission_set(perm_set, inherited_audience) @@ -1024,8 +1029,8 @@ mod tests { async fn test_expand_permission_set_exported() { // This is a simple integration test that verifies expand_permission_set is accessible use crate::scopes::expand_permission_set; - use jacquard_lexicon::lexicon::{LexPermission, LexPermissionResource, LexPermissionSet}; use jacquard_common::CowStr; + use jacquard_lexicon::lexicon::{LexPermission, LexPermissionResource, LexPermissionSet}; let mut perms = Vec::new(); perms.push(LexPermission::Permission { @@ -1044,6 +1049,9 @@ mod tests { let scopes = expand_permission_set(&perm_set, None).expect("should expand permission set"); assert_eq!(scopes.len(), 1); - assert!(matches!(scopes[0], crate::scopes::Scope::Identity(crate::scopes::IdentityScope::Handle))); + assert!(matches!( + scopes[0], + crate::scopes::Scope::Identity(crate::scopes::IdentityScope::Handle) + )); } } diff --git a/crates/jacquard-oauth/src/scopes.rs b/crates/jacquard-oauth/src/scopes.rs index fa3da7a6..ee77ad4c 100644 --- a/crates/jacquard-oauth/src/scopes.rs +++ b/crates/jacquard-oauth/src/scopes.rs @@ -25,11 +25,14 @@ use std::marker::PhantomData; use std::str::FromStr; use jacquard_common::bos::{BosStr, DefaultStr}; -use jacquard_common::deps::fluent_uri::pct_enc::{EStr, EString, encoder::{Query, Query as EncQuery}}; +use jacquard_common::deps::fluent_uri::pct_enc::{ + EStr, EString, + encoder::{Query, Query as EncQuery}, +}; use jacquard_common::types::did::Did; use jacquard_common::types::nsid::Nsid; use jacquard_common::types::string::AtStrError; -use jacquard_common::{Bos, BorrowOrShare, FromStaticStr, IntoStatic}; +use jacquard_common::{BorrowOrShare, Bos, FromStaticStr, IntoStatic}; use serde::de::{Error as DeError, Visitor}; use serde::{Deserialize, Serialize}; use smallvec::SmallVec; @@ -540,18 +543,6 @@ impl RepoActionFlags { pub(crate) const DELETE: u8 = 0b100; pub(crate) const ALL: u8 = 0b111; - pub(crate) fn from_actions(actions: &BTreeSet) -> Self { - let mut flags = 0u8; - for action in actions { - match action { - RepoAction::Create => flags |= Self::CREATE, - RepoAction::Update => flags |= Self::UPDATE, - RepoAction::Delete => flags |= Self::DELETE, - } - } - RepoActionFlags(flags) - } - pub(crate) fn contains(self, flag: u8) -> bool { self.0 & flag != 0 } @@ -783,7 +774,11 @@ impl + AsRef> Scopes { // Compute total length for pre-allocation. let total_len = normalized.iter().map(|s| s.len()).sum::() - + if normalized.len() > 1 { normalized.len() - 1 } else { 0 }; // Add length for space separators. + + if normalized.len() > 1 { + normalized.len() - 1 + } else { + 0 + }; // Add length for space separators. let mut result = String::with_capacity(total_len); for (i, s) in normalized.iter().enumerate() { @@ -873,8 +868,17 @@ where fn parse_scope_indices(token: &str, base: u16) -> Result { // Determine the prefix by checking for known prefixes. let prefixes = [ - "account", "identity", "blob", "repo", "rpc", "atproto", "transition", "include", - "openid", "profile", "email", + "account", + "identity", + "blob", + "repo", + "rpc", + "atproto", + "transition", + "include", + "openid", + "profile", + "email", ]; let mut found_prefix = None; @@ -896,8 +900,9 @@ fn parse_scope_indices(token: &str, base: u16) -> Result parse_account_indices(suffix), @@ -1110,7 +1115,10 @@ fn parse_repo_indices( } } - Ok(ScopeInnerIndices::Repo { collection, actions }) + Ok(ScopeInnerIndices::Repo { + collection, + actions, + }) } /// Parse RPC scope indices, storing byte ranges of lexicon and audience values. @@ -1257,15 +1265,17 @@ fn parse_include_indices( if has_encoding { // Validate and decode the percent-encoded value using fluent-uri. - let estr = EStr::::new(aud_value) - .ok_or_else(|| ParseError::InvalidResource( + let estr = EStr::::new(aud_value).ok_or_else(|| { + ParseError::InvalidResource( "include audience has invalid percent-encoding".to_string(), - ))?; + ) + })?; - let decoded = estr.decode().to_string() - .map_err(|_| ParseError::InvalidResource( + let decoded = estr.decode().to_string().map_err(|_| { + ParseError::InvalidResource( "include audience contains invalid UTF-8 sequence".to_string(), - ))?; + ) + })?; // Validate the DID portion (before any #). let did_part = decoded.split('#').next().unwrap_or(""); @@ -1353,11 +1363,10 @@ fn reduce_indices( // Deduplicate unit/account/identity/transition scopes. let mut seen = std::collections::HashSet::new(); - unit_or_account_or_identity_or_transition - .retain(|idx| { - let scope = unsafe { reconstruct_scope(buffer, idx) }; - seen.insert(scope.to_string_normalized()) - }); + unit_or_account_or_identity_or_transition.retain(|idx| { + let scope = unsafe { reconstruct_scope(buffer, idx) }; + seen.insert(scope.to_string_normalized()) + }); // Pairwise reduction for repo scopes. repo_indices = reduce_pairwise(buffer, repo_indices); @@ -1428,10 +1437,7 @@ fn reduce_pairwise(buffer: &str, indices: Vec) -> Vec( - buffer: &'a str, - indices: &ScopeIndices, -) -> Scope<&'a str> { +unsafe fn reconstruct_scope<'a>(buffer: &'a str, indices: &ScopeIndices) -> Scope<&'a str> { match &indices.inner { ScopeInnerIndices::Unit(kind) => match kind { ScopeKind::Atproto => Scope::Atproto, @@ -1440,12 +1446,10 @@ unsafe fn reconstruct_scope<'a>( ScopeKind::Email => Scope::Email, }, - ScopeInnerIndices::Account { resource, action } => { - Scope::Account(AccountScope { - resource: *resource, - action: *action, - }) - } + ScopeInnerIndices::Account { resource, action } => Scope::Account(AccountScope { + resource: *resource, + action: *action, + }), ScopeInnerIndices::Identity(scope) => Scope::Identity(scope.clone()), @@ -1472,7 +1476,10 @@ unsafe fn reconstruct_scope<'a>( Scope::Blob(BlobScope { accept: patterns }) } - ScopeInnerIndices::Repo { collection, actions } => { + ScopeInnerIndices::Repo { + collection, + actions, + } => { let collection = match collection { None => RepoCollection::All, Some((start, end)) => { @@ -1562,8 +1569,6 @@ impl Scope { } } - - /// Parse a scope from a string pub fn parse<'a>(s: &'a str) -> Result where @@ -2008,7 +2013,7 @@ impl Scope { } else { format_smolstr!("include:{}", scope.nsid) } - }, + } Scope::Atproto => "atproto".to_smolstr(), Scope::Transition(scope) => match scope { TransitionScope::Generic => "transition:generic".to_smolstr(), @@ -2296,7 +2301,11 @@ pub fn expand_permission_set( })); } } - LexPermissionResource::Rpc { lxm, aud, inherit_aud } => { + LexPermissionResource::Rpc { + lxm, + aud, + inherit_aud, + } => { // Build the audience set based on priority order let mut aud_set = BTreeSet::new(); if let Some(explicit_aud) = aud { @@ -2352,7 +2361,11 @@ pub fn expand_permission_set( let identity_scope = match attr.as_ref() { "handle" => IdentityScope::Handle, "*" => IdentityScope::All, - other => return Err(PermissionSetConversionError::UnknownIdentityAttr(other.to_string())), + other => { + return Err(PermissionSetConversionError::UnknownIdentityAttr( + other.to_string(), + )); + } }; scopes.push(Scope::Identity(identity_scope)); } @@ -2361,13 +2374,23 @@ pub fn expand_permission_set( "email" => AccountResource::Email, "repo" => AccountResource::Repo, "status" => AccountResource::Status, - other => return Err(PermissionSetConversionError::UnknownAccountAttr(other.to_string())), + other => { + return Err(PermissionSetConversionError::UnknownAccountAttr( + other.to_string(), + )); + } }; + // Take the highest privilege level. Manage subsumes Read. let act = action .as_ref() - .and_then(|a| a.first()) - .copied() + .map(|actions| { + if actions.contains(&AccountAction::Manage) { + AccountAction::Manage + } else { + AccountAction::Read + } + }) .unwrap_or(AccountAction::Read); scopes.push(Scope::Account(AccountScope { @@ -3005,7 +3028,8 @@ mod tests { #[test] fn test_scopes_new_multiple() { // Test AC3.1: Parse multiple scopes and create indices. - let scopes = Scopes::new(SmolStr::new_static("atproto rpc:* repo:app.bsky.feed.post")).unwrap(); + let scopes = + Scopes::new(SmolStr::new_static("atproto rpc:* repo:app.bsky.feed.post")).unwrap(); assert_eq!(scopes.len(), 3); } @@ -3146,7 +3170,10 @@ mod tests { let test_cases = vec![ ("include:app.bsky.authFull", 1), ("include:app.bsky.full?aud=did:web:api.example.com", 1), - ("include:app.bsky.full?aud=did:web:api.example.com%23svc_appview", 1), + ( + "include:app.bsky.full?aud=did:web:api.example.com%23svc_appview", + 1, + ), ]; for (input, expected_count) in test_cases { @@ -3207,7 +3234,10 @@ mod tests { #[test] fn test_scopes_reconstruction_account() { // Reconstruct account scopes from indices. - let scopes = Scopes::new(SmolStr::new_static("account:email account:repo?action=manage")).unwrap(); + let scopes = Scopes::new(SmolStr::new_static( + "account:email account:repo?action=manage", + )) + .unwrap(); assert_eq!(scopes.len(), 2); } @@ -3244,7 +3274,10 @@ mod tests { #[test] fn test_scopes_reconstruction_include() { // Reconstruct include scopes from indices. - let scopes = Scopes::new(SmolStr::new_static("include:app.bsky.authFull include:app.bsky.full?aud=did:web:api.example.com")).unwrap(); + let scopes = Scopes::new(SmolStr::new_static( + "include:app.bsky.authFull include:app.bsky.full?aud=did:web:api.example.com", + )) + .unwrap(); assert_eq!(scopes.len(), 2); } @@ -3256,7 +3289,8 @@ mod tests { fn test_scopes_iter() { // oauth-scopes-rework.AC3.2: `iter()` yields correctly typed `Scope<&str>` // views borrowing from the buffer. - let scopes = Scopes::new(SmolStr::new_static("atproto rpc:* repo:app.bsky.feed.post")).unwrap(); + let scopes = + Scopes::new(SmolStr::new_static("atproto rpc:* repo:app.bsky.feed.post")).unwrap(); let collected: Vec<_> = scopes.iter().collect(); @@ -3463,7 +3497,8 @@ mod tests { fn test_scopes_serialize_multiple_sorted() { // oauth-scopes-rework.AC3.6: Serialize produces sorted output // regardless of input order. - let scopes = Scopes::new(SmolStr::new_static("rpc:* atproto repo:app.bsky.feed.post")).unwrap(); + let scopes = + Scopes::new(SmolStr::new_static("rpc:* atproto repo:app.bsky.feed.post")).unwrap(); let json = serde_json::to_string(&scopes).unwrap(); // Should be sorted: atproto, repo:app.bsky.feed.post, rpc:* assert_eq!(json, "\"atproto repo:app.bsky.feed.post rpc:*\""); @@ -3539,7 +3574,10 @@ mod tests { let json = serde_json::to_string(&scopes).unwrap(); // Should be sorted - assert_eq!(json, "\"account:email atproto repo:app.bsky.feed.post rpc:*\""); + assert_eq!( + json, + "\"account:email atproto repo:app.bsky.feed.post rpc:*\"" + ); // Deserialize let deserialized: Scopes = serde_json::from_str(&json).unwrap(); @@ -3588,7 +3626,10 @@ mod tests { #[test] fn test_scopes_len() { // AC3.1: len() returns correct count after reduction. - let scopes = Scopes::new(SmolStr::new_static("atproto repo:* repo:app.bsky.feed.post")).unwrap(); + let scopes = Scopes::new(SmolStr::new_static( + "atproto repo:* repo:app.bsky.feed.post", + )) + .unwrap(); // repo:* should reduce the more specific one assert_eq!(scopes.len(), 2); // atproto + repo:* } @@ -3662,7 +3703,8 @@ mod tests { #[test] fn test_scopes_construction() { // AC3.1: Construct multi-scope string, verify len and individual scopes. - let scopes = Scopes::new(SmolStr::new_static("atproto rpc:* repo:app.bsky.feed.post")).unwrap(); + let scopes = + Scopes::new(SmolStr::new_static("atproto rpc:* repo:app.bsky.feed.post")).unwrap(); assert_eq!(scopes.len(), 3); // Verify individual scopes @@ -3699,7 +3741,6 @@ mod tests { assert!(matches!(collected[0], Scope::Atproto)); } - #[test] fn test_scopes_consecutive_spaces() { // Test handling of multiple spaces between scopes. @@ -3731,7 +3772,10 @@ mod tests { #[test] fn test_scopes_include_plain_audience() { // AC2.2: include scope with plain unencoded audience. - let scopes = Scopes::new(SmolStr::new_static("include:app.bsky.authFull?aud=did:web:api.example.com")).unwrap(); + let scopes = Scopes::new(SmolStr::new_static( + "include:app.bsky.authFull?aud=did:web:api.example.com", + )) + .unwrap(); assert_eq!(scopes.len(), 1); match scopes.get(0) { Some(Scope::Include(inc)) => { @@ -3849,7 +3893,7 @@ mod tests { #[cfg(feature = "scope-check")] #[test] fn test_expand_permission_set_repo() { - use jacquard_lexicon::lexicon::{LexPermissionSet, LexPermission, LexPermissionResource}; + use jacquard_lexicon::lexicon::{LexPermission, LexPermissionResource, LexPermissionSet}; // Create a simple permission set with a repo permission let mut perms = Vec::new(); @@ -3901,7 +3945,7 @@ mod tests { #[cfg(feature = "scope-check")] #[test] fn test_expand_permission_set_identity() { - use jacquard_lexicon::lexicon::{LexPermissionSet, LexPermission, LexPermissionResource}; + use jacquard_lexicon::lexicon::{LexPermission, LexPermissionResource, LexPermissionSet}; let mut perms = Vec::new(); perms.push(LexPermission::Permission { @@ -3927,7 +3971,7 @@ mod tests { #[cfg(feature = "scope-check")] #[test] fn test_expand_permission_set_account() { - use jacquard_lexicon::lexicon::{LexPermissionSet, LexPermission, LexPermissionResource}; + use jacquard_lexicon::lexicon::{LexPermission, LexPermissionResource, LexPermissionSet}; let mut perms = Vec::new(); perms.push(LexPermission::Permission { @@ -3957,10 +4001,42 @@ mod tests { ); } + #[cfg(feature = "scope-check")] + #[test] + fn test_expand_permission_set_account_highest_privilege() { + // Regression test: when both Read and Manage are in the action list, + // the highest privilege (Manage) must be selected, not the first. + use jacquard_lexicon::lexicon::{LexPermission, LexPermissionResource, LexPermissionSet}; + + let perm_set = LexPermissionSet { + title: None, + title_lang: None, + detail: None, + detail_lang: None, + permissions: vec![LexPermission::Permission { + resource: LexPermissionResource::Account { + attr: CowStr::Borrowed("email"), + action: Some(vec![AccountAction::Read, AccountAction::Manage]), + }, + }], + }; + + let scopes = expand_permission_set(&perm_set, None).unwrap(); + assert_eq!(scopes.len(), 1); + assert_eq!( + scopes[0], + Scope::Account(AccountScope { + resource: AccountResource::Email, + action: AccountAction::Manage, + }), + "should select Manage (highest privilege), not Read (first in list)" + ); + } + #[cfg(feature = "scope-check")] #[test] fn test_expand_permission_set_rpc_with_inherit_aud() { - use jacquard_lexicon::lexicon::{LexPermissionSet, LexPermission, LexPermissionResource}; + use jacquard_lexicon::lexicon::{LexPermission, LexPermissionResource, LexPermissionSet}; let mut perms = Vec::new(); perms.push(LexPermission::Permission { @@ -3986,7 +4062,9 @@ mod tests { if let Scope::Rpc(rpc_scope) = &scopes[0] { assert_eq!(rpc_scope.lxm.len(), 1); assert_eq!(rpc_scope.aud.len(), 1); - assert!(matches!(rpc_scope.aud.iter().next(), Some(RpcAudience::Did(d)) if d.as_ref() == "did:web:example.com")); + assert!( + matches!(rpc_scope.aud.iter().next(), Some(RpcAudience::Did(d)) if d.as_ref() == "did:web:example.com") + ); } else { panic!("Expected Rpc scope"); } @@ -3995,7 +4073,7 @@ mod tests { #[cfg(feature = "scope-check")] #[test] fn test_expand_permission_set_rpc_explicit_aud() { - use jacquard_lexicon::lexicon::{LexPermissionSet, LexPermission, LexPermissionResource}; + use jacquard_lexicon::lexicon::{LexPermission, LexPermissionResource, LexPermissionSet}; let mut perms = Vec::new(); perms.push(LexPermission::Permission { @@ -4019,7 +4097,9 @@ mod tests { if let Scope::Rpc(rpc_scope) = &scopes[0] { assert_eq!(rpc_scope.aud.len(), 1); - assert!(matches!(rpc_scope.aud.iter().next(), Some(RpcAudience::Did(d)) if d.as_ref() == "did:web:custom.com")); + assert!( + matches!(rpc_scope.aud.iter().next(), Some(RpcAudience::Did(d)) if d.as_ref() == "did:web:custom.com") + ); } else { panic!("Expected Rpc scope"); } @@ -4028,7 +4108,7 @@ mod tests { #[cfg(feature = "scope-check")] #[test] fn test_expand_permission_set_unknown_identity_attr() { - use jacquard_lexicon::lexicon::{LexPermissionSet, LexPermission, LexPermissionResource}; + use jacquard_lexicon::lexicon::{LexPermission, LexPermissionResource, LexPermissionSet}; let mut perms = Vec::new(); perms.push(LexPermission::Permission { @@ -4046,13 +4126,16 @@ mod tests { }; let result = expand_permission_set(&perm_set, None); - assert!(matches!(result, Err(PermissionSetConversionError::UnknownIdentityAttr(_)))); + assert!(matches!( + result, + Err(PermissionSetConversionError::UnknownIdentityAttr(_)) + )); } #[cfg(feature = "scope-check")] #[test] fn test_expand_permission_set_unknown_account_attr() { - use jacquard_lexicon::lexicon::{LexPermissionSet, LexPermission, LexPermissionResource}; + use jacquard_lexicon::lexicon::{LexPermission, LexPermissionResource, LexPermissionSet}; let mut perms = Vec::new(); perms.push(LexPermission::Permission { @@ -4071,14 +4154,17 @@ mod tests { }; let result = expand_permission_set(&perm_set, None); - assert!(matches!(result, Err(PermissionSetConversionError::UnknownAccountAttr(_)))); + assert!(matches!( + result, + Err(PermissionSetConversionError::UnknownAccountAttr(_)) + )); } #[cfg(feature = "scope-check")] #[test] fn test_expand_permission_set_blob() { - use jacquard_lexicon::lexicon::{LexPermissionSet, LexPermission, LexPermissionResource}; use jacquard_common::types::blob::MimeType; + use jacquard_lexicon::lexicon::{LexPermission, LexPermissionResource, LexPermissionSet}; // Test exact type let mut perms = Vec::new(); diff --git a/crates/jacquard/src/client/vec_update.rs b/crates/jacquard/src/client/vec_update.rs index 557d6423..b3383f7a 100644 --- a/crates/jacquard/src/client/vec_update.rs +++ b/crates/jacquard/src/client/vec_update.rs @@ -54,7 +54,9 @@ pub trait VecUpdate { /// Extract the vec from the get response output (always owned/DefaultStr-backed). fn extract_vec( - output: <::Response as XrpcResp>::Output, + output: <::Response as XrpcResp>::Output< + jacquard_common::DefaultStr, + >, ) -> Vec; /// Build the put request from the modified vec diff --git a/crates/jacquard/src/moderation/decision.rs b/crates/jacquard/src/moderation/decision.rs index 1e746a85..81e1bb3a 100644 --- a/crates/jacquard/src/moderation/decision.rs +++ b/crates/jacquard/src/moderation/decision.rs @@ -140,8 +140,7 @@ fn apply_label( decision.no_override = true; decision.causes.push(LabelCause { label: LabelValue::from_value(SmolStr::new(label_val)), - source: Did::new_owned(label.src.as_ref()) - .expect("label.src must be a valid DID"), + source: Did::new_owned(label.src.as_ref()).expect("label.src must be a valid DID"), target: determine_target(label), }); return; @@ -154,8 +153,7 @@ fn apply_label( decision.filter = true; decision.causes.push(LabelCause { label: LabelValue::from_value(SmolStr::new(label_val)), - source: Did::new_owned(label.src.as_ref()) - .expect("label.src must be a valid DID"), + source: Did::new_owned(label.src.as_ref()).expect("label.src must be a valid DID"), target: determine_target(label), }); } @@ -372,13 +370,11 @@ pub trait ModerationIterExt<'a, S: BosStr, T: Labeled + 'a>: defs: &'a LabelerDefs, accepted_labelers: &'a [Did], ) -> impl Iterator { - self.filter(move |item| { - !moderate::(*item, prefs, defs, accepted_labelers).filter - }) + self.filter(move |item| !moderate::(*item, prefs, defs, accepted_labelers).filter) } } -impl<'a, S: BosStr, T: Labeled + 'a, I: Iterator> - ModerationIterExt<'a, S, T> for I +impl<'a, S: BosStr, T: Labeled + 'a, I: Iterator> ModerationIterExt<'a, S, T> + for I { } diff --git a/crates/jacquard/src/moderation/moderatable.rs b/crates/jacquard/src/moderation/moderatable.rs index 4249ebd2..ab67e3b5 100644 --- a/crates/jacquard/src/moderation/moderatable.rs +++ b/crates/jacquard/src/moderation/moderatable.rs @@ -71,8 +71,8 @@ pub trait ModeratableIterExt<'a, S: BosStr, T: Moderateable + 'a>: } } -impl<'a, S: BosStr, T: Moderateable + 'a, I: Iterator> - ModeratableIterExt<'a, S, T> for I +impl<'a, S: BosStr, T: Moderateable + 'a, I: Iterator> ModeratableIterExt<'a, S, T> + for I { } diff --git a/crates/jacquard/tests/oauth_auto_refresh.rs b/crates/jacquard/tests/oauth_auto_refresh.rs index 5b309ab6..52922f38 100644 --- a/crates/jacquard/tests/oauth_auto_refresh.rs +++ b/crates/jacquard/tests/oauth_auto_refresh.rs @@ -211,7 +211,10 @@ async fn oauth_xrpc_invalid_token_triggers_refresh_and_retries() { let client_data = ClientData { keyset: None, - config: AtprotoClientMetadata::new_localhost(None, Some(Scopes::new(SmolStr::new_static("atproto")).unwrap())), + config: AtprotoClientMetadata::new_localhost( + None, + Some(Scopes::new(SmolStr::new_static("atproto")).unwrap()), + ), }; use jacquard::IntoStatic; let session_data = ClientSessionData { @@ -344,7 +347,10 @@ async fn oauth_xrpc_invalid_token_body_triggers_refresh_and_retries() { let client_data = ClientData { keyset: None, - config: AtprotoClientMetadata::new_localhost(None, Some(Scopes::new(SmolStr::new_static("atproto")).unwrap())), + config: AtprotoClientMetadata::new_localhost( + None, + Some(Scopes::new(SmolStr::new_static("atproto")).unwrap()), + ), }; use jacquard::IntoStatic; let session_data = ClientSessionData { diff --git a/crates/jacquard/tests/oauth_flow.rs b/crates/jacquard/tests/oauth_flow.rs index 955ba2e2..389b1e11 100644 --- a/crates/jacquard/tests/oauth_flow.rs +++ b/crates/jacquard/tests/oauth_flow.rs @@ -3,9 +3,9 @@ use std::sync::Arc; use bytes::Bytes; use http::{Response as HttpResponse, StatusCode}; -use jacquard::BosStr; use jacquard::client::Agent; use jacquard::xrpc::XrpcClient; +use jacquard::{BosStr, IntoStatic}; use jacquard_common::http_client::HttpClient; use jacquard_oauth::atproto::AtprotoClientMetadata; use jacquard_oauth::authstore::ClientAuthStore; @@ -150,6 +150,28 @@ impl OAuthResolver for MockClient { impl jacquard_oauth::dpop::DpopExt for MockClient {} +#[cfg(feature = "scope-check")] +impl jacquard_identity::lexicon_resolver::LexiconSchemaResolver for MockClient { + async fn resolve_lexicon_schema( + &self, + nsid: &jacquard::types::nsid::Nsid, + ) -> Result< + jacquard_identity::lexicon_resolver::ResolvedLexiconSchema<'static>, + jacquard_identity::lexicon_resolver::LexiconResolutionError, + > { + // Return an error for this mock - tests that need include scope resolution + // should provide their own mock or use real resolver + Err( + jacquard_identity::lexicon_resolver::LexiconResolutionError::new( + jacquard_identity::lexicon_resolver::LexiconResolutionErrorKind::FetchFailed { + nsid: nsid.clone().into_static(), + }, + None, + ), + ) + } +} + #[tokio::test(flavor = "multi_thread")] async fn oauth_end_to_end_mock_flow() { let client = Arc::new(MockClient::default()); @@ -183,6 +205,7 @@ async fn oauth_end_to_end_mock_flow() { "sub": "did:plc:alice", "iss": "https://issuer", "aud": "https://pds", + "scope": "atproto rpc:*", "expires_in": 3600 })) .unwrap(), @@ -215,7 +238,10 @@ async fn oauth_end_to_end_mock_flow() { let client_data: ClientData<_> = ClientData { keyset: None, - config: AtprotoClientMetadata::new_localhost(None, Some(Scopes::new(SmolStr::new_static("atproto")).unwrap())), + config: AtprotoClientMetadata::new_localhost( + None, + Some(Scopes::new(SmolStr::new_static("atproto rpc:*")).unwrap()), + ), }; let client_arc = client.clone(); let oauth = OAuthClient::new_from_resolver(store, (*client_arc).clone(), client_data); @@ -225,7 +251,10 @@ async fn oauth_end_to_end_mock_flow() { let mut metadata = jacquard_oauth::request::OAuthMetadata { server_metadata, client_metadata: jacquard_oauth::atproto::atproto_client_metadata( - &AtprotoClientMetadata::new_localhost(None, Some(Scopes::new(SmolStr::new_static("atproto")).unwrap())), + &AtprotoClientMetadata::new_localhost( + None, + Some(Scopes::new(SmolStr::new_static("atproto rpc:*")).unwrap()), + ), &None, ) .unwrap(), diff --git a/crates/jacquard/tests/scope_check.rs b/crates/jacquard/tests/scope_check.rs new file mode 100644 index 00000000..c1ef6258 --- /dev/null +++ b/crates/jacquard/tests/scope_check.rs @@ -0,0 +1,618 @@ +#![cfg(all(test, feature = "scope-check"))] + +use std::collections::VecDeque; +use std::sync::Arc; + +use bytes::Bytes; +use http::{Response as HttpResponse, StatusCode}; +use jacquard::client::Agent; +use jacquard::deps::fluent_uri::Uri; +use jacquard::types::did::Did; +use jacquard::types::string::Nsid; +use jacquard::xrpc::XrpcClient; +use jacquard::{BosStr, IntoStatic}; +use jacquard_common::http_client::HttpClient; +use jacquard_oauth::atproto::AtprotoClientMetadata; +use jacquard_oauth::client::OAuthSession; +use jacquard_oauth::resolver::OAuthResolver; +use jacquard_oauth::scopes::{RepoAction, RepoCollection, RepoScope, RpcAudience, RpcLexicon, RpcScope, Scope, Scopes}; +use jacquard_oauth::session::SessionRegistry; +use jacquard_oauth::session::{ClientData, ClientSessionData, DpopClientData}; +use jacquard_oauth::types::{OAuthAuthorizationServerMetadata, OAuthTokenType, TokenSet}; +use smol_str::SmolStr; +use std::collections::BTreeSet; +use tokio::sync::Mutex; + +#[derive(Clone, Default)] +struct MockClient { + queue: Arc>>>>, + log: Arc>>>>, +} + +impl MockClient { + async fn push(&self, resp: http::Response>) { + self.queue.lock().await.push_back(resp); + } +} + +impl HttpClient for MockClient { + type Error = std::convert::Infallible; + fn send_http( + &self, + request: http::Request>, + ) -> impl core::future::Future< + Output = core::result::Result>, Self::Error>, + > + Send { + let log = self.log.clone(); + let queue = self.queue.clone(); + async move { + log.lock().await.push(request); + Ok(queue.lock().await.pop_front().expect("no queued response")) + } + } +} + +impl jacquard::identity::resolver::IdentityResolver for MockClient { + fn options(&self) -> &jacquard::identity::resolver::ResolverOptions { + use std::sync::LazyLock; + static OPTS: LazyLock = + LazyLock::new(jacquard::identity::resolver::ResolverOptions::default); + &OPTS + } + async fn resolve_handle( + &self, + _handle: &jacquard::types::string::Handle, + ) -> std::result::Result { + Ok(Did::new_static("did:plc:alice").unwrap()) + } + async fn resolve_did_doc( + &self, + _did: &Did, + ) -> std::result::Result< + jacquard::identity::resolver::DidDocResponse, + jacquard::identity::resolver::IdentityError, + > { + let doc = serde_json::json!({ + "id": "did:plc:alice", + "service": [{ + "id": "#pds", + "type": "AtprotoPersonalDataServer", + "serviceEndpoint": "https://pds" + }] + }); + Ok(jacquard::identity::resolver::DidDocResponse { + buffer: Bytes::from(serde_json::to_vec(&doc).unwrap()), + status: StatusCode::OK, + requested: None, + }) + } +} + +impl OAuthResolver for MockClient { + async fn get_authorization_server_metadata( + &self, + issuer: &str, + ) -> Result { + let mut md = OAuthAuthorizationServerMetadata::default(); + md.issuer = SmolStr::from(issuer); + md.token_endpoint = SmolStr::from(format!("{}/token", issuer)); + md.authorization_endpoint = SmolStr::from(format!("{}/authorize", issuer)); + md.require_pushed_authorization_requests = Some(true); + md.pushed_authorization_request_endpoint = Some(SmolStr::from(format!("{}/par", issuer))); + md.token_endpoint_auth_methods_supported = Some(vec![SmolStr::from("none")]); + md.dpop_signing_alg_values_supported = Some(vec![SmolStr::from("ES256")]); + Ok(md) + } + + async fn get_resource_server_metadata( + &self, + _pds: &str, + ) -> Result { + let mut md = OAuthAuthorizationServerMetadata::default(); + md.issuer = SmolStr::from("https://issuer"); + md.token_endpoint = SmolStr::from("https://issuer/token"); + md.authorization_endpoint = SmolStr::from("https://issuer/authorize"); + md.require_pushed_authorization_requests = Some(true); + md.pushed_authorization_request_endpoint = Some(SmolStr::from("https://issuer/par")); + md.token_endpoint_auth_methods_supported = Some(vec![SmolStr::from("none")]); + md.dpop_signing_alg_values_supported = Some(vec![SmolStr::from("ES256")]); + Ok(md) + } + + async fn verify_issuer( + &self, + _server_metadata: &OAuthAuthorizationServerMetadata, + _sub: &Did, + ) -> Result, jacquard_oauth::resolver::ResolverError> + { + Ok(jacquard::deps::fluent_uri::Uri::parse("https://pds") + .unwrap() + .to_owned()) + } +} + +impl jacquard_oauth::dpop::DpopExt for MockClient {} + +fn get_session_ok() -> http::Response> { + HttpResponse::builder() + .status(StatusCode::OK) + .header(http::header::CONTENT_TYPE, "application/json") + .body( + serde_json::to_vec(&serde_json::json!({ + "did":"did:plc:alice", + "handle":"alice.bsky.social", + "active":true + })) + .unwrap(), + ) + .unwrap() +} + +fn create_session_data(resolved_scopes: Option>>) -> ClientSessionData { + ClientSessionData { + account_did: Did::new_static("did:plc:alice").unwrap(), + session_id: SmolStr::from("state"), + host_url: Uri::parse("https://pds").expect("valid uri").to_owned(), + authserver_url: SmolStr::new_static("https://issuer"), + authserver_token_endpoint: SmolStr::from("https://issuer/token"), + authserver_revocation_endpoint: None, + scopes: Scopes::new(SmolStr::new_static("atproto")).unwrap(), + dpop_data: DpopClientData { + dpop_key: jacquard_oauth::utils::generate_key(&[SmolStr::from("ES256")]).unwrap(), + dpop_authserver_nonce: SmolStr::from(""), + dpop_host_nonce: SmolStr::from(""), + }, + token_set: TokenSet { + iss: SmolStr::from("https://issuer"), + sub: Did::new_static("did:plc:alice").unwrap(), + aud: SmolStr::from("https://pds"), + scope: None, + refresh_token: Some(SmolStr::from("rt1")), + access_token: SmolStr::from("atk1"), + token_type: OAuthTokenType::DPoP, + expires_at: None, + }, + #[cfg(feature = "scope-check")] + resolved_scopes, + } +} + +#[tokio::test(flavor = "multi_thread")] +async fn test_scope_check_permits_matching_rpc() { + let client = Arc::new(MockClient::default()); + + // Queue a successful response for getSession + client.push(get_session_ok()).await; + + let mut path = std::env::temp_dir(); + path.push(format!( + "jacquard-scope-test-matching-{}.json", + std::process::id() + )); + std::fs::write(&path, "{}").unwrap(); + let store = jacquard::client::FileAuthStore::new(&path); + + let client_data = ClientData { + keyset: None, + config: AtprotoClientMetadata::new_localhost( + None, + Some(Scopes::new(SmolStr::new_static("atproto")).unwrap()), + ), + }; + + // Create resolved_scopes with rpc:com.atproto.server.getSession + let mut rpc_lexicon = BTreeSet::new(); + rpc_lexicon.insert(RpcLexicon::Nsid( + Nsid::::new_static("com.atproto.server.getSession").unwrap(), + )); + let mut aud = BTreeSet::new(); + aud.insert(RpcAudience::All); + let resolved_scopes = Some(vec![Scope::Rpc(RpcScope { + lxm: rpc_lexicon, + aud, + })]); + + let session_data = create_session_data(resolved_scopes).into_static(); + let client_arc = client.clone(); + let registry = Arc::new(SessionRegistry::new(store, client_arc.clone(), client_data)); + registry.set(session_data.clone()).await.unwrap(); + let session = OAuthSession::new(registry, client_arc, session_data); + + let agent: Agent<_> = Agent::from(session); + let resp = agent + .send(jacquard::api::com_atproto::server::get_session::GetSession) + .await + .expect("xrpc send should succeed with matching scope"); + assert_eq!(resp.status(), StatusCode::OK); + + // Verify HTTP request was made + let log = client.log.lock().await; + assert_eq!(log.len(), 1, "expected 1 HTTP call"); + + let _ = std::fs::remove_file(&path); +} + +#[tokio::test(flavor = "multi_thread")] +async fn test_scope_check_denies_ungranted() { + let client = Arc::new(MockClient::default()); + + let mut path = std::env::temp_dir(); + path.push(format!( + "jacquard-scope-test-deny-{}.json", + std::process::id() + )); + std::fs::write(&path, "{}").unwrap(); + let store = jacquard::client::FileAuthStore::new(&path); + + let client_data = ClientData { + keyset: None, + config: AtprotoClientMetadata::new_localhost( + None, + Some(Scopes::new(SmolStr::new_static("atproto")).unwrap()), + ), + }; + + // Create resolved_scopes with a different rpc scope + let mut rpc_lexicon = BTreeSet::new(); + rpc_lexicon.insert(RpcLexicon::Nsid( + Nsid::::new_static("com.example.other").unwrap(), + )); + let mut aud = BTreeSet::new(); + aud.insert(RpcAudience::All); + let resolved_scopes = Some(vec![Scope::Rpc(RpcScope { + lxm: rpc_lexicon, + aud, + })]); + + let session_data = create_session_data(resolved_scopes).into_static(); + let client_arc = client.clone(); + let registry = Arc::new(SessionRegistry::new(store, client_arc.clone(), client_data)); + registry.set(session_data.clone()).await.unwrap(); + let session = OAuthSession::new(registry, client_arc, session_data); + + let agent: Agent<_> = Agent::from(session); + let resp = agent + .send(jacquard::api::com_atproto::server::get_session::GetSession) + .await; + + // Should error because scope doesn't grant access. + let err = match resp { + Err(e) => e, + Ok(_) => panic!("xrpc send should fail without matching scope"), + }; + let err_msg = format!("{}", err); + + // Verify the error contains the denied NSID so the developer knows what failed. + assert!( + err_msg.contains("com.atproto.server.getSession"), + "error should mention the denied NSID, got: {err_msg}" + ); + + // Verify the error contains the granted scopes so the developer can diagnose. + assert!( + err_msg.contains("com.example.other"), + "error should mention the granted scopes for diagnostics, got: {err_msg}" + ); + + // Verify NO HTTP request was made (proof that AC7.3 works — scope check + // short-circuits before the HTTP layer). + let log = client.log.lock().await; + assert_eq!( + log.len(), + 0, + "no HTTP request should be made when scope check fails" + ); + + let _ = std::fs::remove_file(&path); +} + +#[tokio::test(flavor = "multi_thread")] +async fn test_scope_check_no_resolved_scopes_permits() { + let client = Arc::new(MockClient::default()); + + // Queue a successful response for getSession + client.push(get_session_ok()).await; + + let mut path = std::env::temp_dir(); + path.push(format!( + "jacquard-scope-test-none-{}.json", + std::process::id() + )); + std::fs::write(&path, "{}").unwrap(); + let store = jacquard::client::FileAuthStore::new(&path); + + let client_data = ClientData { + keyset: None, + config: AtprotoClientMetadata::new_localhost( + None, + Some(Scopes::new(SmolStr::new_static("atproto")).unwrap()), + ), + }; + + // Create session with None resolved_scopes (no resolution was done) + let session_data = create_session_data(None).into_static(); + let client_arc = client.clone(); + let registry = Arc::new(SessionRegistry::new(store, client_arc.clone(), client_data)); + registry.set(session_data.clone()).await.unwrap(); + let session = OAuthSession::new(registry, client_arc, session_data); + + let agent: Agent<_> = Agent::from(session); + let resp = agent + .send(jacquard::api::com_atproto::server::get_session::GetSession) + .await + .expect("xrpc send should succeed when resolved_scopes is None"); + assert_eq!(resp.status(), StatusCode::OK); + + // Verify HTTP request was made + let log = client.log.lock().await; + assert_eq!(log.len(), 1, "expected 1 HTTP call"); + + let _ = std::fs::remove_file(&path); +} + +#[tokio::test(flavor = "multi_thread")] +async fn test_scope_check_wildcard_rpc_permits() { + let client = Arc::new(MockClient::default()); + + // Queue a successful response for getSession + client.push(get_session_ok()).await; + + let mut path = std::env::temp_dir(); + path.push(format!( + "jacquard-scope-test-wildcard-{}.json", + std::process::id() + )); + std::fs::write(&path, "{}").unwrap(); + let store = jacquard::client::FileAuthStore::new(&path); + + let client_data = ClientData { + keyset: None, + config: AtprotoClientMetadata::new_localhost( + None, + Some(Scopes::new(SmolStr::new_static("atproto")).unwrap()), + ), + }; + + // Create resolved_scopes with wildcard rpc scope + let mut rpc_lexicon = BTreeSet::new(); + rpc_lexicon.insert(RpcLexicon::All); + let mut aud = BTreeSet::new(); + aud.insert(RpcAudience::All); + let resolved_scopes = Some(vec![Scope::Rpc(RpcScope { + lxm: rpc_lexicon, + aud, + })]); + + let session_data = create_session_data(resolved_scopes).into_static(); + let client_arc = client.clone(); + let registry = Arc::new(SessionRegistry::new(store, client_arc.clone(), client_data)); + registry.set(session_data.clone()).await.unwrap(); + let session = OAuthSession::new(registry, client_arc, session_data); + + let agent: Agent<_> = Agent::from(session); + let resp = agent + .send(jacquard::api::com_atproto::server::get_session::GetSession) + .await + .expect("xrpc send should succeed with wildcard scope"); + assert_eq!(resp.status(), StatusCode::OK); + + // Verify HTTP request was made + let log = client.log.lock().await; + assert_eq!(log.len(), 1, "expected 1 HTTP call"); + + let _ = std::fs::remove_file(&path); +} + +/// Build the resolved scope set that would result from expanding +/// `include:app.bsky.authCreatePosts` — real permission set from +/// the AT Protocol spec. +/// +/// Grants: +/// - rpc: app.bsky.video.{uploadVideo,getJobStatus,getUploadLimits} +/// - repo: app.bsky.feed.{post,postgate,threadgate} (create only) +fn resolved_scopes_auth_create_posts() -> Vec> { + let video_rpcs = [ + "app.bsky.video.uploadVideo", + "app.bsky.video.getJobStatus", + "app.bsky.video.getUploadLimits", + ]; + let collections = [ + "app.bsky.feed.post", + "app.bsky.feed.postgate", + "app.bsky.feed.threadgate", + ]; + + let mut scopes = Vec::new(); + + // RPC scopes for video endpoints. + let mut lxm = BTreeSet::new(); + for nsid in &video_rpcs { + lxm.insert(RpcLexicon::Nsid( + Nsid::::new_static(nsid).unwrap(), + )); + } + let mut aud = BTreeSet::new(); + aud.insert(RpcAudience::All); + scopes.push(Scope::Rpc(RpcScope { lxm, aud })); + + // Repo scopes for post creation (create-only). + for col in &collections { + let mut actions = BTreeSet::new(); + actions.insert(RepoAction::Create); + scopes.push(Scope::Repo(RepoScope { + collection: RepoCollection::Nsid(Nsid::::new_static(col).unwrap()), + actions, + })); + } + + scopes +} + +#[tokio::test(flavor = "multi_thread")] +async fn test_realistic_scopes_video_rpc_permitted() { + // Scenario: session has resolved app.bsky.authCreatePosts permissions. + // Calling app.bsky.video.getUploadLimits should succeed. + let client = Arc::new(MockClient::default()); + client + .push( + HttpResponse::builder() + .status(StatusCode::OK) + .header(http::header::CONTENT_TYPE, "application/json") + .body( + serde_json::to_vec(&serde_json::json!({"key": "value"})) + .unwrap(), + ) + .unwrap(), + ) + .await; + + let mut path = std::env::temp_dir(); + path.push(format!( + "jacquard-scope-realistic-rpc-{}.json", + std::process::id(), + )); + std::fs::write(&path, "{}").unwrap(); + let store = jacquard::client::FileAuthStore::new(&path); + + let client_data = ClientData { + keyset: None, + config: AtprotoClientMetadata::new_localhost( + None, + Some(Scopes::new(SmolStr::new_static("atproto")).unwrap()), + ), + }; + + let session_data = + create_session_data(Some(resolved_scopes_auth_create_posts())).into_static(); + let client_arc = client.clone(); + let registry = Arc::new(SessionRegistry::new(store, client_arc.clone(), client_data)); + registry.set(session_data.clone()).await.unwrap(); + let session = OAuthSession::new(registry, client_arc, session_data); + + let agent: Agent<_> = Agent::from(session); + let resp = agent + .send(jacquard::api::app_bsky::video::get_upload_limits::GetUploadLimits) + .await + .expect("video RPC should be permitted by authCreatePosts scope"); + assert_eq!(resp.status(), StatusCode::OK); + + let log = client.log.lock().await; + assert_eq!(log.len(), 1, "expected 1 HTTP call"); + let _ = std::fs::remove_file(&path); +} + +#[tokio::test(flavor = "multi_thread")] +async fn test_realistic_scopes_ungated_rpc_denied() { + // Scenario: session has only authCreatePosts permissions. + // Calling getSession (not in the permission set) should be DENIED. + let client = Arc::new(MockClient::default()); + + let mut path = std::env::temp_dir(); + path.push(format!( + "jacquard-scope-realistic-deny-{}.json", + std::process::id(), + )); + std::fs::write(&path, "{}").unwrap(); + let store = jacquard::client::FileAuthStore::new(&path); + + let client_data = ClientData { + keyset: None, + config: AtprotoClientMetadata::new_localhost( + None, + Some(Scopes::new(SmolStr::new_static("atproto")).unwrap()), + ), + }; + + let session_data = + create_session_data(Some(resolved_scopes_auth_create_posts())).into_static(); + let client_arc = client.clone(); + let registry = Arc::new(SessionRegistry::new(store, client_arc.clone(), client_data)); + registry.set(session_data.clone()).await.unwrap(); + let session = OAuthSession::new(registry, client_arc, session_data); + + let agent: Agent<_> = Agent::from(session); + let err = match agent + .send(jacquard::api::com_atproto::server::get_session::GetSession) + .await + { + Err(e) => e, + Ok(_) => panic!("getSession should be denied — not in authCreatePosts permission set"), + }; + + let err_msg = format!("{}", err); + assert!( + err_msg.contains("com.atproto.server.getSession"), + "error should identify the denied NSID, got: {err_msg}" + ); + + // No HTTP call made — scope check short-circuited. + let log = client.log.lock().await; + assert_eq!(log.len(), 0, "no HTTP request when scope check fails"); + let _ = std::fs::remove_file(&path); +} + +#[tokio::test(flavor = "multi_thread")] +async fn test_realistic_scopes_audience_specific_rpc_permitted() { + // Critical regression test: granted scopes with a SPECIFIC audience + // (e.g., did:web:api.bsky.app) must still permit the request. + // The client doesn't know the target audience at pre-flight time — + // audience enforcement is the server's responsibility. + let client = Arc::new(MockClient::default()); + client + .push( + HttpResponse::builder() + .status(StatusCode::OK) + .header(http::header::CONTENT_TYPE, "application/json") + .body( + serde_json::to_vec(&serde_json::json!({"key": "value"})) + .unwrap(), + ) + .unwrap(), + ) + .await; + + let mut path = std::env::temp_dir(); + path.push(format!( + "jacquard-scope-aud-specific-{}.json", + std::process::id(), + )); + std::fs::write(&path, "{}").unwrap(); + let store = jacquard::client::FileAuthStore::new(&path); + + let client_data = ClientData { + keyset: None, + config: AtprotoClientMetadata::new_localhost( + None, + Some(Scopes::new(SmolStr::new_static("atproto")).unwrap()), + ), + }; + + // Granted scope has a SPECIFIC audience — this is the normal case + // for inter-service auth in permission sets (e.g., "aud": "did:web:api.bsky.app"). + let mut lxm = BTreeSet::new(); + lxm.insert(RpcLexicon::Nsid( + Nsid::::new_static("app.bsky.video.getUploadLimits").unwrap(), + )); + let mut aud = BTreeSet::new(); + aud.insert(RpcAudience::Did( + Did::::new_static("did:web:api.bsky.app").unwrap(), + )); + let resolved_scopes = Some(vec![Scope::Rpc(RpcScope { lxm, aud })]); + + let session_data = create_session_data(resolved_scopes).into_static(); + let client_arc = client.clone(); + let registry = Arc::new(SessionRegistry::new(store, client_arc.clone(), client_data)); + registry.set(session_data.clone()).await.unwrap(); + let session = OAuthSession::new(registry, client_arc, session_data); + + let agent: Agent<_> = Agent::from(session); + let resp = agent + .send(jacquard::api::app_bsky::video::get_upload_limits::GetUploadLimits) + .await + .expect("RPC with audience-specific scope should still be permitted at pre-flight"); + assert_eq!(resp.status(), StatusCode::OK); + + let log = client.log.lock().await; + assert_eq!(log.len(), 1, "expected 1 HTTP call"); + let _ = std::fs::remove_file(&path); +}